| Server IP : / Your IP : 216.73.216.44 Web Server : nginx/1.31.3 System : Linux dcde39c899c5 6.12.95+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.95-1 (2026-07-04) x86_64 User : www-data ( 1000) PHP Version : 8.4.15 Disable Function : phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/lemmony/assets/js/ |
Upload File : |
(()=>{var e={184:(e,t)=>{var a;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var i=l.apply(null,a);i&&e.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var r in a)n.call(a,r)&&a[r]&&e.push(r)}}}return e.join(" ")}e.exports?(l.default=l,e.exports=l):void 0===(a=function(){return l}.apply(t,[]))||(e.exports=a)}()}},t={};function a(n){var l=t[n];if(void 0!==l)return l.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.element;var t=a(184),n=a.n(t);const l=window.wp.blockEditor,o=window.wp.components,{__}=wp.i18n,{addFilter:i}=wp.hooks,{Fragment:r}=wp.element,{createHigherOrderComponent:m}=wp.compose;let s=[];const u=m((t=>a=>{if(s.includes(a.name))return(0,e.createElement)(t,a);const{attributes:n,setAttributes:i,isSelected:m,clientId:u}=a,{animationStyle:d,animationSpeed:c,animationDelay:y}=n;if(void 0!==d&&d){var p=document.querySelector(`.wp-block[data-block="${u}"]`);if(!p&&document.querySelector("iframe.edit-site-visual-editor__editor-canvas")){const e=document.querySelector("iframe.edit-site-visual-editor__editor-canvas");p=(e.contentDocument||e.contentWindow.document).querySelector(`.wp-block[data-block="${u}"]`)}p&&(p.classList.add("lemmony-animation"),p.style.setProperty("--lemmony-animation-name",d),void 0!==c&&c&&(p.style.animationDuration="var(--lemmony-speed-"+c+")"),void 0!==y&&y&&(p.style.animationDelay="var(--lemmony-delay-"+y+")"))}return(0,e.createElement)(r,null,(0,e.createElement)(t,a),m&&(0,e.createElement)(l.InspectorControls,{key:"animations"},(0,e.createElement)(o.PanelBody,{title:__("Lemmony Animations"),initialOpen:!1},(0,e.createElement)(o.SelectControl,{label:"Style",value:d,options:[{label:"None",value:""},{label:"Fade In",value:"lemmonyFadeIn"},{label:"Fade In Up",value:"lemmonyFadeInUp"},{label:"Fade In Down",value:"lemmonyFadeInDown"},{label:"Fade In Left",value:"lemmonyFadeInLeft"},{label:"Fade In Right",value:"lemmonyFadeInRight"}],onChange:e=>i({animationStyle:e}),__nextHasNoMarginBottom:!0}),d&&(0,e.createElement)(o.SelectControl,{label:"Speed",value:c,options:[{label:"Extra Slow",value:"xslow"},{label:"Slow",value:"slow"},{label:"Normal",value:""},{label:"Fast",value:"fast"},{label:"Extra Fast",value:"xfast"}],onChange:e=>i({animationSpeed:e}),__nextHasNoMarginBottom:!0}),d&&(0,e.createElement)(o.SelectControl,{label:"Delay",value:y,options:[{label:"None",value:""},{label:"Extra Small",value:"xsmall"},{label:"Small",value:"small"},{label:"Medium",value:"medium"},{label:"Large",value:"large"},{label:"Extra Large",value:"xlarge"}],onChange:e=>i({animationDelay:e}),__nextHasNoMarginBottom:!0}))))}),"addControls");i("blocks.registerBlockType","lemmomy/add-attributes",(function(e){return e.save.length||s.includes(e.name)||s.push(e.name),void 0===e.attributes||s.includes(e.name)?e:{...e,attributes:{...e.attributes,animationStyle:{type:"string"},animationSpeed:{type:"string"},animationDelay:{type:"string"}}}})),i("editor.BlockEdit","lemmomy/add-controls",u),i("blocks.getSaveContent.extraProps","lemmomy/save-controls",(function(e,t,a){if(s.includes(e.name))return e;const{animationStyle:l,animationSpeed:o,animationDelay:i}=a;return void 0!==l&&l&&(e.className=n()(e?.className,"lemmony-animation"),e.style={...e?.style,"--lemmony-animation-name":l},void 0!==o&&o&&(e.style={...e?.style,animationDuration:"var(--lemmony-speed-"+o+")"}),void 0!==i&&i&&(e.style={...e?.style,animationDelay:"var(--lemmony-delay-"+i+")"})),e}))})()})();