%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/plugins/kata-plus/includes/styler/build/ |
Upload File : |
(()=>{"use strict";var e,t,r,i={994:(e,t,r)=>{var i=r(5338),o=r(8440),n=r(5578),a=r(1110);class s{constructor(e,t){this.GroupID=e,this.liveViewIframe=t,void 0===n.GeneratedStyles[e]&&(n.GeneratedStyles[e]={})}getPropertyData(e){if(!this.data||void 0===this.data[e])return{style:"",important:!1};let t=this.data[e].value||this.data[e].object_value||"",r=this.data[e].important||!1,i=this.data[e].unit||!1;return{style:t+(t.length>0?i:""),important:t.length>0&&r,unit:t.length>0&&i}}async updateLiveView(){const e=[],t=this.GroupID;Object.keys(n.GeneratedStyles[this.GroupID]).forEach(r=>{const i=n.GeneratedStyles[t][r];i&&e.push((0,a.h)(i,this))});const r=(await Promise.all(e)).join("");let i=this.liveViewIframe.find("style#styler-"+this.GroupID);i.length||(this.liveViewIframe.find("body").append('<style type="text/css" id="styler-'+this.GroupID+'"></style>'),i=this.liveViewIframe.find("style#styler-"+this.GroupID)),i.html(""),i.html(r)}}var l=null;new class{constructor(){var e=this;jQuery(window).on("load",function(){e.eventListener(),e.commandsListener(),e.hooks(),e.handleChangeDevice()})}getName(){return"gutenberg-styler"}getSelectedBlockID(){return wp.data.select("core/block-editor").getSelectedBlockClientId()}hooks(){var e=this;wp.hooks.addAction("StylerNeedsDestroy","GutenbergStyler",function(){e.destroy()}),wp.hooks.addAction("StylerNeedsGutenbergBlockUpdate","GutenbergStyler",function(e,t,r){var i=wp.data.select("core/block-editor").getBlockAttributes(t).styler;const o=i.match(/.wrapper-(.*?) /);i=JSON.parse(i),Object.keys(i).map(e=>{var t=i[e];"string"!=typeof t.data&&(t.data=JSON.stringify(t.data)),t.cid=Math.random().toString().substring(2,14).toString(),t.data=JSON.parse(t.data.replaceAll(o[0].trim(),r)),i[e]=t}),i=JSON.stringify(i),wp.data.dispatch("core/block-editor").updateBlockAttributes(t,{styler:i})}),setInterval(()=>{e.getSelectedBlockID()||e.destroy()},1e3),setInterval(()=>{jQuery(".tmp-styler-gutenberg-dialog-btn").length||e.destroy()},1e3),wp.hooks.addAction("StylerNeedsUpdateLive","GutenbergStyler",function(e,t){var r=jQuery(document);jQuery('iframe[name="editor-canvas"]').length&&(r=jQuery(jQuery('iframe[name="editor-canvas"]')[0].contentWindow.document)),new s("gutenberg",r).updateLiveView()})}handleChangeDevice(){const e=".components-menu-group:first button";jQuery(document).on("click",e,function(){if(!styler.settings)return;const t=jQuery(this);jQuery(e).each(function(e,r){t.is(r)&&(0===e?styler.settings.setSetting("ActiveDevice","desktop"):1===e?styler.settings.setSetting("ActiveDevice","tablet"):2===e&&styler.settings.setSetting("ActiveDevice","mobile"))})})}commandsListener(){var e=this;jQuery(window).on("styler:init",function(){styler.commands.on("run",function(t,r,i){if(void 0!==t.getName&&t.getName()===e.getName())switch(r){case"destroy":t.destroy();break;case"breakpoint:changed":var o="";switch(i){case"tablet":o="Tablet";break;case"mobile":o="Mobile";break;case"desktop":o="Desktop";break;default:o=""}if(o)styler.doDestroy=!1,wp.data.dispatch("core/edit-post").__experimentalSetPreviewDeviceType(o);else{var n="1024px";"laptop"===i?(n="100%",wp.data.dispatch("core/edit-post").__experimentalSetPreviewDeviceType("Desktop")):"mobileLandscape"===i?wp.data.dispatch("core/edit-post").__experimentalSetPreviewDeviceType("Mobile"):"tabletlandscape"===i&&wp.data.dispatch("core/edit-post").__experimentalSetPreviewDeviceType("Tablet"),setTimeout(()=>{jQuery(".edit-post-visual-editor__content-area > div").attr("style","height: "+n+"; width: "+styler.breakpoints[i].size+"px; margin: 36px auto; display: flex; flex-flow: column; background: white; border-radius: 2px; border: 1px solid rgb(221, 221, 221); overflow-y: auto;")},700),setTimeout(()=>{jQuery(".edit-post-visual-editor__content-area > div").attr("style","height: "+n+"; width: "+styler.breakpoints[i].size+"px; margin: 36px auto; display: flex; flex-flow: column; background: white; border-radius: 2px; border: 1px solid rgb(221, 221, 221); overflow-y: auto;")},1500)}}})})}save(e){return!1}destroy(){l&&l.unmount()}eventListener(){var e=this;jQuery(document).on("click",".gutenberg-styler-control-field .tmp-styler-gutenberg-dialog-btn",function(t){var r=t.target,n=jQuery(this),a=n.data("title"),s=n.data("active-device"),d=n.data("selector").replace(/{{WRAPPER}}/g,"").replace(/"/g,"'"),c=n.data("hover-selector").replace(/{{WRAPPER}}/g,"").replace(/"/g,"'"),u=n.data("is-svg"),p=n.data("is-input"),y="",g=Math.floor(window.performance&&window.performance.now&&window.performance.timeOrigin?window.performance.now()+window.performance.timeOrigin:Date.now()).toString();if(jQuery(document).on("mousedown",function(){jQuery(n).length||(e.destroy(),this.off())}),n.find('input[data-setting="cid"]').val().trim())g=n.find('input[data-setting="cid"]').val();else{n.find('input[data-setting="cid"]').val(g).trigger("input"),((e,t)=>{const r=Object.getOwnPropertyDescriptor(e,"value").set,i=Object.getPrototypeOf(e),o=Object.getOwnPropertyDescriptor(i,"value").set;r&&r!==o?o.call(e,t):r.call(e,t)})(n.find('input[data-setting="cid"]').get(0),g);var f=new Event("input",{bubbles:!0});n.find('input[data-setting="cid"]').get(0).dispatchEvent(f)}n.data("wrapper")&&(y=n.data("wrapper")),jQuery(document),jQuery('iframe[name="editor-canvas"]').length&&jQuery(jQuery('iframe[name="editor-canvas"]')[0].contentWindow.document);const v=document.getElementById("tmp-styler-wrap");l&&l.unmount();const h=(0,i.H)(v);l=h,h.render(React.createElement(o.W,{key:g,visibility:!0,dataInput:r.querySelector('input[data-setting="stdata"]'),GroupID:n.data("id"),ID:g,selector:d.trim(),isSVG:u,isInput:p,hoverSelector:c,wrapper:y,BTN:n,SecondTitle:a,Component:e,isGutenberg:!0,ActiveDevice:s}))}),jQuery(document).on("click",".editor-post-publish-button",function(){e.save()})}}},1609:e=>{e.exports=window.React},5578:e=>{e.exports=styler},5795:e=>{e.exports=window.ReactDOM},6427:e=>{e.exports=window.wp.components},7723:e=>{e.exports=window.wp.i18n}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return i[e](r,r.exports,n),r.exports}n.m=i,e=[],n.O=(t,r,i,o)=>{if(!r){var a=1/0;for(c=0;c<e.length;c++){for(var[r,i,o]=e[c],s=!0,l=0;l<r.length;l++)(!1&o||a>=o)&&Object.keys(n.O).every(e=>n.O[e](r[l]))?r.splice(l--,1):(s=!1,o<a&&(a=o));if(s){e.splice(c--,1);var d=i();void 0!==d&&(t=d)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,i,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,i){if(1&i&&(e=this(e)),8&i)return e;if("object"==typeof e&&e){if(4&i&&e.__esModule)return e;if(16&i&&"function"==typeof e.then)return e}var o=Object.create(null);n.r(o);var a={};t=t||[null,r({}),r([]),r(r)];for(var s=2&i&&e;("object"==typeof s||"function"==typeof s)&&!~t.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach(t=>a[t]=()=>e[t]);return a.default=()=>e,n.d(o,a),o},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.e=()=>Promise.resolve(),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),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={32:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var i,o,[a,s,l]=r,d=0;if(a.some(t=>0!==e[t])){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)var c=l(n)}for(t&&t(r);d<a.length;d++)o=a[d],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},r=globalThis.webpackChunkstyler=globalThis.webpackChunkstyler||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0;var a=n.O(void 0,[368],()=>n(994));a=n.O(a)})();