Server IP : 192.158.238.246 / Your IP : 18.218.241.211 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/icon/ |
Upload File : |
(()=>{var e,t,r,o={3830:(e,t,r)=>{"use strict";const o=window.wp.blocks;r(7723);const i=window.wp.blockEditor;var n=r(6087),s=(r(6942),r(790));const c=({attributes:e})=>{const{GkitIcon:t}=window.gutenkit.components,{linkGenerator:r}=window.gutenkit.helpers,{iconWebsiteLink:o,iconEnableLink:i}=e,n=o?.url&&i?"a":"div",c=o?.url&&i?r(o):{};return(0,s.jsx)("div",{className:"gkit-icon-wrapper",children:(0,s.jsx)(t,{icon:e?.icon,tagName:n,className:"gkit-icons",...c})})},a=(0,n.lazy)((()=>r.e(6524).then(r.bind(r,6524)))),l=JSON.parse('{"UU":"gutenkit/icon"}'),{icon:u}=window.gutenkit.editorIcon;(0,o.registerBlockType)(l.UU,{edit:function({attributes:e,setAttributes:t,clientId:r,advancedControl:o,isSelected:n}){const{GkitStyle:l,GkitIcon:u,GkitSuspense:d}=window.gutenkit.components,{useDeviceType:p,useBlockStyles:g,useDeviceList:v}=window.gutenkit.helpers,f=v(),k=p(),w=(0,i.useBlockProps)();return g(e,t,"blocksCSS",((e,t)=>{const r=window.gutenkit.helpers,{parseCSS:o,backgroundGenerator:i,getBoxShadowValue:n,getBoxValue:s,getBorderValue:c,getTypographyValue:a,getSliderValue:l,getColor:u}=r,d=e.blockClass;return o([[{selector:`.${d} .gkit-icon-wrapper .gkit-icons`,background:u(e.iconBgColor),...c(e?.iconBorder),"box-shadow":n(e?.iconBoxShadow)},{selector:`.${d} .gkit-icon-wrapper .gkit-icons svg`,fill:u(e?.iconColor)},{selector:`.${d} .gkit-icon-wrapper .gkit-icons svg`,transform:`rotate(${l(e?.iconRoate)})`},{selector:`.${d} .gkit-icon-wrapper .gkit-icons:hover`,fill:u(e?.iconHoverColor),background:u(e.iconHoverBgColor),...c(e?.iconHoverBorder),"box-shadow":n(e?.iconHoverBoxShadow)},{selector:`.${d} .gkit-icon-wrapper .gkit-icons:hover svg`,fill:u(e?.iconHoverColor)}],t=>[{selector:`.${d} .gkit-icon-wrapper`,"justify-content":e?.[`iconAlign${t}`]},{selector:`.${d} .gkit-icon-wrapper .gkit-icons`,"font-size":l(e?.[`iconSize${t}`]),"line-height":l(e?.[`iconSize${t}`]),...s(e?.[`iconBorderRadius${t}`],"border-radius"),...s(e?.[`iconPadding${t}`],"padding"),...s(e?.[`iconMargin${t}`],"margin")},{selector:`.${d} .gkit-icon-wrapper .gkit-icons:hover`,...s(e?.[`iconHoverBorderRadius${t}`],"border-radius")}]],t)})(e,f)),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l,{blocksCSS:e?.blocksCSS}),n&&(0,s.jsx)(d,{children:(0,s.jsx)(a,{attributes:e,setAttributes:t,device:k,advancedControl:o})}),(0,s.jsx)("div",{...w,children:(0,s.jsx)(c,{attributes:e})})]})},icon:{src:u},save:function({attributes:e,clientId:t}){const r=i.useBlockProps.save();return(0,s.jsx)("div",{...r,children:(0,s.jsx)(c,{attributes:e})})}})},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},5573:e=>{"use strict";e.exports=window.wp.primitives},6942:(e,t)=>{var r;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=s(e,n(r)))}return e}function n(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 t="";for(var r in e)o.call(e,r)&&e[r]&&(t=s(t,r));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.m=o,e=[],n.O=(t,r,o,i)=>{if(!r){var s=1/0;for(u=0;u<e.length;u++){r=e[u][0],o=e[u][1],i=e[u][2];for(var c=!0,a=0;a<r.length;a++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](r[a])))?r.splice(a--,1):(c=!1,i<s&&(s=i));if(c){e.splice(u--,1);var l=o();void 0!==l&&(t=l)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>e+".js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="gutenkit-blocks-addon:",n.l=(e,o,i,s)=>{if(t[e])t[e].push(o);else{var c,a;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==r+i){c=d;break}}c||(a=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",r+i),c.src=e),t[e]=[o];var p=(r,o)=>{c.onerror=c.onload=null,clearTimeout(g);var i=t[e];if(delete t[e],c.parentNode&&c.parentNode.removeChild(c),i&&i.forEach((e=>e(o))),r)return r(o)},g=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),a&&document.head.appendChild(c)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../../"})(),(()=>{var e={6022:0,3690:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(3690!=t){var i=new Promise(((r,i)=>o=e[t]=[r,i]));r.push(o[2]=i);var s=n.p+n.u(t),c=new Error;n.l(s,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",c.name="ChunkLoadError",c.type=i,c.request=s,o[1](c)}}),"chunk-"+t,t)}else e[t]=0},n.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,s=r[0],c=r[1],a=r[2],l=0;if(s.some((t=>0!==e[t]))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(a)var u=a(n)}for(t&&t(r);l<s.length;l++)i=s[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(u)},r=self.webpackChunkgutenkit_blocks_addon=self.webpackChunkgutenkit_blocks_addon||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s=n.O(void 0,[3690],(()=>n(3830)));s=n.O(s)})();