Server IP : 192.158.238.246 / Your IP : 52.15.220.116 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/jenniferflocom/www/wp-content/plugins/gutenkit-blocks-addon/build/blocks/team/ |
Upload File : |
(()=>{var e,o,r,t={2212:(e,o,r)=>{"use strict";const t=window.wp.blocks;r(7723);const i=window.wp.blockEditor;var a=r(6087),l=r(6942),s=r.n(l);const n=e=>{const{current:o}=e,r=o.querySelector(".gkit-team-modal"),t=o.querySelector(".gkit-team-modal-content");r.classList.add("open"),t.classList.add("open")},c=(e,o=!0,r=!1)=>{const t=e.querySelector(".profile-title"),i=e.querySelector(".gkit-team-modal"),a=e.querySelector(".gkit-team-modal-content"),l=e.querySelector(".gkit-team-modal-close"),s=e.querySelector(".gkit-team-img img"),n=e.querySelector(".hover-area"),c=e=>{"Escape"!==e.key&&"Esc"!==e.key||(i.classList.remove("open"),a.classList.remove("open"))},d=()=>{i.classList.add("open"),a.classList.add("open"),document.addEventListener("keydown",c)},p=()=>{i.classList.remove("open"),a.classList.remove("open"),document.removeEventListener("keydown",c)};o?(t&&t.classList.add("cursor-enable"),l&&l.classList.add("cursor-enable"),document.addEventListener("keydown",c),n||(s&&s?.classList.add("cursor-enable"),!r&&s&&s?.addEventListener("click",(function(e){e.preventDefault(),d()}))),!r&&t&&t.addEventListener("click",(function(e){e.preventDefault(),d()})),l&&l.addEventListener("click",(function(e){e.preventDefault(),p()}))):(t&&t.classList.remove("cursor-enable"),s&&s.classList.remove("cursor-enable"),l&&l.classList.remove("cursor-enable"),t&&t.removeEventListener("click",d,!0),s&&s.removeEventListener("click",d,!0),l&&l.removeEventListener("click",p,!0),document.removeEventListener("keydown",c,!0))};var d=r(790);const p=({items:e,isEdit:o})=>{const{linkGenerator:r}=window.gutenkit.helpers,{GkitIcon:t}=window.gutenkit.components,i=e.map(((e,o)=>{let i={...r(e.link),title:e.label};return(0,d.jsx)("li",{className:`gkit-team-social-list-item-${o}`,children:(0,d.jsx)("a",{...i,children:(0,d.jsx)(t,{icon:e.icon})})},o)}));return(0,d.jsx)("ul",{className:"gkit-team-social-list",children:i})},m=({attributes:e,isEdit:o,teamRef:r})=>{const{style:t,name:i,designation:a,description:l,socialProfiles:s,showDescription:c,showSocialProfiles:m,enablePopup:g}=e;let u={};return o&&g&&(u.onClick=()=>n(r)),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"profile-body",children:[i&&(0,d.jsx)("h2",{className:"profile-title",...u,children:i}),a&&(0,d.jsx)("p",{className:"profile-designation",children:a}),c&&l&&(0,d.jsx)("p",{className:"profile-content",children:l}),"hover_info"===t&&m&&(0,d.jsx)("div",{className:"profile-footer",children:(0,d.jsx)(p,{items:s})})]}),m&&"hover_info"!==t&&(0,d.jsx)("div",{className:"profile-footer",children:(0,d.jsx)(p,{items:s,isEdit:o})})]})},g=({attributes:e,isEdit:o})=>{const{closeIcon:r,image:t,memberDescription:i,name:a,designation:l,memberPhone:s,memberEmail:n,socialProfiles:c}=e,{GkitImage:m,GkitIcon:g}=window.gutenkit.components;return(0,d.jsx)("div",{className:"gkit-team-modal",children:(0,d.jsxs)("div",{className:"gkit-team-modal-content",children:[(0,d.jsx)(g,{icon:r,className:"gkit-team-modal-close",tagName:"button"}),(0,d.jsxs)("div",{className:"gkit-team-modal-body",children:[(0,d.jsx)("div",{className:"gkit-team-modal-img",children:(0,d.jsx)(m,{image:t})}),(0,d.jsxs)("div",{className:"gkit-team-modal-info has-img",children:[a&&(0,d.jsx)("h2",{className:"gkit-team-modal-title",children:a}),l&&(0,d.jsx)("p",{className:"gkit-team-modal-position",children:l}),i&&(0,d.jsx)("div",{className:"gkit-team-modal-description",children:i}),(s||n)&&(0,d.jsxs)("ul",{className:"gkit-team-modal-list",children:[s&&(0,d.jsxs)("li",{children:[(0,d.jsx)("strong",{children:"Phone:"}),(0,d.jsx)("a",{href:`tel:${s}`,children:s})]}),n&&(0,d.jsxs)("li",{children:[(0,d.jsx)("strong",{children:"Email:"}),(0,d.jsx)("a",{href:`mailto:${n}`,children:n})]})]}),(0,d.jsx)(p,{items:c,isEdit:o})]})]})]})})},u=({attributes:e,isEdit:o,teamRef:r})=>{const{style:t,image:i,enablePopup:a}=e,{GkitImage:l}=window.gutenkit.components,c=["default","centered_style","centered_style_details","long_height_details","long_height_details_hover","hover_info"],p=["overlay","overlay_details","long_height_hover","overlay_circle","overlay_circle_hover"],u={className:s()("gkit-team",{"profile-square-v":"centered_style"===t},{"profile-square-v square-v5 no_gutters":"centered_style_details"===t},{"profile-square-v square-v6 no_gutters":"long_height_details"===t},{"profile-square-v square-v6 square-v6-v2 no_gutters":"long_height_details_hover"===t},{"image-card-v2":"overlay_details"===t},{"image-card-v3 small-gutters":"long_height_hover"===t},{"style-circle gkit-team-img-fit":"overlay_circle"===t},{"image-card-v2 style-circle":"overlay_circle_hover"===t},{[`profile-square-v square-v4 gkit-team-style-${t}`]:"hover_info"===t})},f={className:s()({"profile-card":c.includes(t)},{[`gkit-team-style-${t}`]:"hover_info"!==t},{"profile-image-card gkit-team-img":p.includes(t)})},v={className:s()("profile-header","gkit-team-img",{"gkit-img-overlay gkit-team-img-block":"default"===t})};let h={};o&&a&&(h.onClick=()=>n(r));const b=c.includes(t)?(0,d.jsx)("div",{...v,children:(0,d.jsx)(l,{image:i,...h,className:"gkit-profile-img"})}):(0,d.jsx)(l,{image:i,...h,className:"gkit-profile-img"}),k=p.includes(t)?(0,d.jsx)("div",{className:"hover-area",children:(0,d.jsx)(m,{attributes:e,isEdit:o,teamRef:r})}):(0,d.jsx)(m,{attributes:e,isEdit:o,teamRef:r});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{...u,children:(0,d.jsxs)("div",{...f,children:[b,k]})}),(0,d.jsx)(g,{attributes:e,isEdit:o})]})},f=window.wp.compose,v=(0,a.lazy)((()=>r.e(756).then(r.bind(r,756)))),h=JSON.parse('{"UU":"gutenkit/team"}'),{team:b}=window.gutenkit.editorIcon;(0,t.registerBlockType)(h.UU,{edit:function({attributes:e,setAttributes:o,advancedControl:r,isSelected:t}){const{GkitStyle:l,GkitSuspense:n}=window.gutenkit.components,{useDeviceType:p,useBlockStyles:m,useDeviceList:g}=window.gutenkit.helpers,h=g(),b=(0,a.useRef)(null),k=(0,i.useBlockProps)({className:s()({[`gkit-animation-${e?.hoverAnimation?.effect?.value}`]:e?.hoverAnimationSwitch}),ref:(0,f.useMergeRefs)([b])}),y=p();return(0,a.useEffect)((()=>{const o=b.current;e.enablePopup?c(o,!0,!0):c(o,!1,!0)}),[e.enablePopup,e.style]),m(e,o,"blocksCSS",((e,o)=>{const{parseCSS:r,backgroundGenerator:t,getBoxValue:i,getBorderValue:a,getTypographyValue:l,getSliderValue:s,getBoxShadowValue:n,getColor:c}=window.gutenkit.helpers,d=`.${e?.blockClass}.wp-block-gutenkit-team`;return r([[{selector:`${d} .profile-card, ${d} .profile-image-card`,background:t(e?.background).background,"box-shadow":n(e.boxShadow),...a(e?.border),...i(e?.borderRadius,"border-radius")},{selector:`${d} .profile-card:hover, ${d} .profile-image-card:hover, ${d} .profile-card::before, ${d} .profile-image-card::before, ${d} div .profile-card .profile-body::before, ${d} .image-card-v3 .profile-image-card:after`,background:t(e?.backgroundHover).background},{selector:`${d} .profile-card:hover, ${d} .profile-image-card:hover`,"box-shadow":n(e.boxShadowHover),...a(e?.borderHover)},{selector:`${d} .profile-square-v.square-v6 .profile-card:hover`,"box-shadow":n(e.boxShadowHover)},{selector:`${d} .profile-square-v.square-v4 .profile-card .profile-body::before`,background:t(e?.backgroundHoverOverlay).background},{selector:`${d} .gkit-team :is(.profile-header > img, .profile-image-card img, .profile-image-card, .profile-header),\n ${d} .image-card-v2.style-circle .profile-image-card > img`,...i(e?.imageBorderRadius,"border-radius")},{selector:`${d} .profile-card .profile-header`,"box-shadow":n(e.imageShadow),...a(e?.imageBorder)},{selector:`${d} .profile-body .profile-title`,color:c(e.nameColor)},{selector:`${d} .profile-body .profile-title:hover, \n ${d} .profile-card .profile-title:hover, \n ${d} .profile-square-v .profile-card .profile-title:hover`,color:c(e.nameHoverColor)},{selector:`${d} .profile-body .profile-designation`,color:c(e.designationColor)},{selector:`${d} .profile-card:hover .profile-body .profile-designation, \n ${d} .gkit-team:hover .profile-body .profile-designation, \n ${d} profile-square-v .profile-card:hover .profile-designation`,color:c(e.designationHoverColor)},{selector:`${d} .profile-body .profile-content`,color:c(e.descriptionColor)},{selector:`${d} .gkit-team:hover .profile-body .profile-content,\n ${d} .profile-card:hover .profile-body .profile-content, \n ${d} .profile-image-card:hover .profile-body .profile-content`,color:c(e.descriptionHoverColor)},{selector:`${d} .gkit-team-social-list > li > a`,"box-shadow":n(e.iconboxShadow),...a(e?.iconBorder),...i(e?.iconBorderRadius,"border-radius")},{selector:`${d} .gkit-team-modal-content`,background:t(e?.popupBackground).background},{selector:`${d} .gkit-team-modal-title`,color:c(e.popupNameColor)},{selector:`${d} .gkit-team-modal-position`,color:c(e.popupDesignationColor)},{selector:`${d} .gkit-team-modal-description`,color:c(e.popupDescriptionColor)},{selector:`${d} .gkit-team-modal-list`,color:c(e.popupPhoneColor)},{selector:`${d} .gkit-team-modal-list a:hover`,color:c(e.popupPhoneHoverColor)},{selector:`${d} .gkit-team-modal-close`,fill:c(e.popupIconColor),"background-color":c(e.popupIconBackgroundColor),...a(e?.popupIconBorder),...i(e?.popupIconBorderRadius,"border-radius")},{selector:`${d} .gkit-team-modal-close:hover`,fill:c(e.popupIconHoverColor),"background-color":c(e.popupIconBackgroundHoverColor)},...(e=>{const o=e.map(((e,o)=>[{selector:`${d} .gkit-team-social-list .gkit-team-social-list-item-${o} > a`,fill:c(e.color),"border-color":e.borderColor,"background-color":e.backgroundColor},{selector:`${d} .gkit-team-social-list-item-${o} > a:hover`,fill:c(e.hoverColor),"border-color":e.hoverBorderColor,"background-color":e.hoverBackgroundColor}]));let r=[];return o.forEach((e=>{r=[...r,...e]})),r})(e?.socialProfiles)],o=>[{selector:`${d} .gkit-team`,"text-align":e[`contentAlignment${o}`]},{selector:`${d} .profile-card, ${d} .profile-image-card`,...i(e[`padding${o}`],"padding")},{selector:`${d} .profile-body, ${d} .profile-square-v .profile-card .profile-body`,...i(e[`contentPadding${o}`],"padding")},{selector:`${d} .profile-footer, ${d} .profile-square-v .profile-card .profile-footer`,...i(e[`teamFooterPadding${o}`],"padding")},{selector:`${d} .gkit-team :is(.profile-header, .profile-image-card, .profile-header > img, .profile-image-card > img)`,height:s(e[`imageSize${o}`]),width:s(e[`imageSize${o}`])},{selector:`${d} .profile-card .profile-header`,...i(e[`imageMargin${o}`],"margin")},{selector:`${d} .profile-body .profile-title`,...l(e.nameTypography,o),"margin-bottom":s(e[`nameMargin${o}`])},{selector:`${d} .profile-body .profile-designation`,...l(e.designationTypography,o),...i(e[`designationMargin${o}`],"margin")},{selector:`${d} .profile-body .profile-content`,...l(e.descriptionTypography,o),"margin-bottom":s(e[`descriptionMargin${o}`])},{selector:`${d} .gkit-team-social-list > li > a`,"font-size":s(e[`iconSize${o}`]),...i(e[`iconMargin${o}`],"margin"),...i(!1===e?.showSocialProfilesHeight&&e[`teamSocialIconPadding${o}`],"padding"),height:s(e[`iconHeight${o}`]),width:s(e[`iconWidth${o}`])},{selector:`${d} .gkit-team-modal-title`,...l(e.popupNameTypography,o),"margin-bottom":s(e[`popupNameMargin${o}`])},{selector:`${d} .gkit-team-modal-position`,...l(e.popupDesignationTypography,o),"margin-bottom":s(e[`popupDesignationMargin${o}`])},{selector:`${d} .gkit-team-modal-description`,...l(e.popupDescriptionTypography,o),"margin-bottom":s(e[`popupDescriptionMargin${o}`])},{selector:`${d} .gkit-team-modal-close`,"font-size":s(e[`popupIconSize${o}`]),...i(e[`popupIconPadding${o}`],"padding")},{selector:`${d} .gkit-team-modal-list`,...l(e.popupPhoneTypography,o)},{selector:`${d} .image-card-v3 .profile-image-card:after`,height:s(e[`longHeightOverlay${o}`])}]],o)})(e,h)),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(l,{blocksCSS:e?.blocksCSS}),t&&(0,d.jsx)(n,{children:(0,d.jsx)(v,{attributes:e,setAttributes:o,device:y,advancedControl:r})}),(0,d.jsx)("div",{...k,"data-team-popup":e.enablePopup,children:(0,d.jsx)(u,{attributes:e,isEdit:!0,teamRef:b})})]})},icon:{src:b},save:function({attributes:e}){const o=i.useBlockProps.save({className:s()({[`gkit-animation-${e?.hoverAnimation?.effect?.value}`]:e?.hoverAnimationSwitch})});return(0,d.jsx)("div",{...o,"data-team-popup":e.enablePopup,children:(0,d.jsx)(u,{attributes:e,isEdit:!1,teamRef:null})})}})},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6427:e=>{"use strict";e.exports=window.wp.components},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},6942:(e,o)=>{var r;!function(){"use strict";var t={}.hasOwnProperty;function i(){for(var e="",o=0;o<arguments.length;o++){var r=arguments[o];r&&(e=l(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var o="";for(var r in e)t.call(e,r)&&e[r]&&(o=l(o,r));return o}function l(e,o){return o?e?e+" "+o:e+o:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(o,[]))||(e.exports=r)}()}},i={};function a(e){var o=i[e];if(void 0!==o)return o.exports;var r=i[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,e=[],a.O=(o,r,t,i)=>{if(!r){var l=1/0;for(d=0;d<e.length;d++){r=e[d][0],t=e[d][1],i=e[d][2];for(var s=!0,n=0;n<r.length;n++)(!1&i||l>=i)&&Object.keys(a.O).every((e=>a.O[e](r[n])))?r.splice(n--,1):(s=!1,i<l&&(l=i));if(s){e.splice(d--,1);var c=t();void 0!==c&&(o=c)}}return o}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[r,t,i]},a.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return a.d(o,{a:o}),o},a.d=(e,o)=>{for(var r in o)a.o(o,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((o,r)=>(a.f[r](e,o),o)),[])),a.u=e=>e+".js",a.miniCssF=e=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),o={},r="gutenkit-blocks-addon:",a.l=(e,t,i,l)=>{if(o[e])o[e].push(t);else{var s,n;if(void 0!==i)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var p=c[d];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==r+i){s=p;break}}s||(n=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+i),s.src=e),o[e]=[t];var m=(r,t)=>{s.onerror=s.onload=null,clearTimeout(g);var i=o[e];if(delete o[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(t))),r)return r(t)},g=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),n&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var o=a.g.document;if(!e&&o&&(o.currentScript&&"SCRIPT"===o.currentScript.tagName.toUpperCase()&&(e=o.currentScript.src),!e)){var r=o.getElementsByTagName("script");if(r.length)for(var t=r.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=r[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e+"../../"})(),(()=>{var e={8326:0,5354:0};a.f.j=(o,r)=>{var t=a.o(e,o)?e[o]:void 0;if(0!==t)if(t)r.push(t[2]);else if(5354!=o){var i=new Promise(((r,i)=>t=e[o]=[r,i]));r.push(t[2]=i);var l=a.p+a.u(o),s=new Error;a.l(l,(r=>{if(a.o(e,o)&&(0!==(t=e[o])&&(e[o]=void 0),t)){var i=r&&("load"===r.type?"missing":r.type),l=r&&r.target&&r.target.src;s.message="Loading chunk "+o+" failed.\n("+i+": "+l+")",s.name="ChunkLoadError",s.type=i,s.request=l,t[1](s)}}),"chunk-"+o,o)}else e[o]=0},a.O.j=o=>0===e[o];var o=(o,r)=>{var t,i,l=r[0],s=r[1],n=r[2],c=0;if(l.some((o=>0!==e[o]))){for(t in s)a.o(s,t)&&(a.m[t]=s[t]);if(n)var d=n(a)}for(o&&o(r);c<l.length;c++)i=l[c],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return a.O(d)},r=self.webpackChunkgutenkit_blocks_addon=self.webpackChunkgutenkit_blocks_addon||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})();var l=a.O(void 0,[5354],(()=>a(2212)));l=a.O(l)})();