Server IP : 192.158.238.246 / Your IP : 18.217.93.250 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/faq-item/ |
Upload File : |
(()=>{"use strict";var e,t,i={790:e=>{e.exports=window.ReactJSXRuntime},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,r),o.exports}r.m=i,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,i)=>(r.f[i](e,t),t)),[])),r.u=e=>e+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="gutenkit-blocks-addon:",r.l=(i,n,o,a)=>{if(e[i])e[i].push(n);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",t+o),s.src=i),e[i]=[n];var g=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var r=e[i];if(delete e[i],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((e=>e(n))),t)return t(n)},p=setTimeout(g.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=g.bind(null,s.onerror),s.onload=g.bind(null,s.onload),l&&document.head.appendChild(s)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var n=i.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=i[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../../"})(),(()=>{var e={1781:0};r.f.j=(t,i)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else{var o=new Promise(((i,r)=>n=e[t]=[i,r]));i.push(n[2]=o);var a=r.p+r.u(t),s=new Error;r.l(a,(i=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,i)=>{var n,o,a=i[0],s=i[1],l=i[2],c=0;if(a.some((t=>0!==e[t]))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);l&&l(r)}for(t&&t(i);c<a.length;c++)o=a[c],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0},i=self.webpackChunkgutenkit_blocks_addon=self.webpackChunkgutenkit_blocks_addon||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();const o=window.wp.blocks;var a=r(7723);const s=window.wp.blockEditor;var l=r(6087),c=r(790);const d=(0,l.lazy)((()=>r.e(6935).then(r.bind(r,6935)))),u=JSON.parse('{"UU":"gutenkit/faq-item"}'),{faq:g}=window.gutenkit.editorIcon;(0,o.registerBlockType)(u.UU,{edit:function({attributes:e,setAttributes:t,clientId:i,advancedControl:n,isSelected:r}){const{GkitStyle:o,GkitSuspense:l}=window.gutenkit.components,{useBlockStyles:u,useDeviceList:g}=window.gutenkit.helpers,p=g();let k=(0,s.useBlockProps)({className:"gkit-faq"});return u(e,t,"blocksCSS",((e,t)=>{const{parseCSS:i,backgroundGenerator:n,getColor:r}=window.gutenkit.helpers;return i([[],e=>[]],t)})(0,p)),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o,{blocksCSS:e?.blocksCSS}),r&&(0,c.jsx)(l,{children:(0,c.jsx)(d,{attributes:e,setAttributes:t,advancedControl:n})}),(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("div",{...k,children:(0,c.jsxs)("div",{className:"gkit-faq-item",children:[(0,c.jsx)("div",{className:"gkit-faq-item-header",children:e?.gkitFaqTitle&&(0,c.jsx)(s.RichText,{identifier:"title",tagName:"h2",value:e?.gkitFaqTitle,onChange:e=>t({gkitFaqTitle:e}),placeholder:(0,a.__)("Title","gutenkit-blocks-addon"),className:"gkit-faq-item-title"})}),e?.gkitFaqContent&&(0,c.jsx)(s.RichText,{identifier:"content",tagName:"div",value:e?.gkitFaqContent,onChange:e=>t({gkitFaqContent:e}),placeholder:(0,a.__)("Content","gutenkit-blocks-addon"),className:"gkit-faq-item-body"})]})})})]})},icon:{src:g},save:function({attributes:e}){const t=s.useBlockProps.save({className:"gkit-faq"});return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)("div",{...t,children:(0,c.jsxs)("div",{className:"gkit-faq-item",children:[(0,c.jsx)("div",{className:"gkit-faq-item-header",children:e?.gkitFaqTitle&&(0,c.jsx)(s.RichText.Content,{identifier:"title",tagName:"h2",value:e?.gkitFaqTitle,placeholder:(0,a.__)("Title","gutenkit-blocks-addon"),className:"gkit-faq-item-title"})}),e?.gkitFaqContent&&(0,c.jsx)(s.RichText.Content,{identifier:"content",tagName:"div",value:e?.gkitFaqContent,placeholder:(0,a.__)("Title","gutenkit-blocks-addon"),className:"gkit-faq-item-body"})]})})})}})})();