![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/public_html/wp-content/themes/dt-the7/inc/admin/assets/js/elementor/ |
!function(e){"use strict";elementor.on("document:loaded",(function(){var e=function(){const t={section:{legacyControlsMapping:(e,t)=>({...this.responsive("custom_height_inner","min_height")}),normalizeMapping:(e,t,n)=>({...this.responsive("padding",(({deviceKey:e,deviceValue:t,settings:n})=>{let i={unit:"px",top:0,right:0,bottom:0,left:0,isLinked:!0};return t&&(i={unit:"px",top:""===t.top?0:t.top,right:""===t.right?0:t.right,bottom:""===t.bottom?0:t.bottom,left:""===t.left?0:t.left,isLinked:!0}),[[e,i]]})),flex_align_items:e.column_position?e.flex_align_items:"center"})},column:{legacyControlsMapping:(e,t)=>({...this.responsive("the7_auto_width",(({deviceValue:e,breakpoint:t,settings:n})=>{var i=[];switch(e){case"maximize":i.push([this.getDeviceKey("_flex_size",t),"custom"]),i.push([this.getDeviceKey("_flex_grow",t),1]),i.push([this.getDeviceKey("_flex_shrink",t),1]);break;case"fit-content":i.push([this.getDeviceKey("width",t),{size:"fit-content",unit:"custom"}]),i.push([this.getDeviceKey("_flex_size",t),"none"]);break;case"minimize":const e=this.getDeviceKey("the7_target_width",t);if(n[e]){const o=this.getDeviceKey("width",t);i.push([o,n[e]]),i.push([this.getDeviceKey("_flex_size",t),"none"])}else i.push([this.getDeviceKey("width",t),{size:"fit-content",unit:"custom"}]),i.push([this.getDeviceKey("_flex_size",t),"none"])}return i}))}),normalizeMapping:(e,t,n)=>({...this.responsive("padding",(({deviceKey:e,deviceValue:t,settings:n})=>{let i={unit:"px",top:0,right:0,bottom:0,left:0,isLinked:!0};return t&&(i={unit:"px",top:""===t.top?0:t.top,right:""===t.right?0:t.right,bottom:""===t.bottom?0:t.bottom,left:""===t.left?0:t.left,isLinked:!1}),[[e,i]]}))})}};var n=function(e,n){const i=t[e.elType];if(!i)return{};const{legacyControlsMapping:o}=i;return"function"==typeof o?o(e,n):o},i=function(e,n,i){const o=t[n.elType];if(!o)return{};const{normalizeMapping:s}=o;return"function"==typeof s?s(e,n,i):s};e.prototype.responsive=function(e,t){const n=["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)];return Object.fromEntries(n.map((n=>{const i=this.getDeviceKey(e,n);if("string"==typeof t){const e=this.getDeviceKey(t,n);return[i,({settings:t})=>[[e,t[i]]]]}return[i,({settings:o,value:s})=>t({key:e,deviceKey:i,value:s,deviceValue:o[i],settings:o,breakpoint:n})]})))},e.prototype.getDeviceKey=function(e,t){return[e,t].filter((e=>!!e)).join("_")},e.prototype.normalizeSettings=function(e,t,n){const o=i(t,e,n);if(void 0===o)return t;let s=[];return Object.entries(o).forEach((([e,n])=>{"string"!=typeof n?"function"!=typeof n||(s=s.concat(n({key:e,settings:t}))):s.push([e,n])})),{...t,...Object.fromEntries(s)}},e.prototype.migrate=function(e,t,i){const o=n(t,i);if(void 0===o)return e;let s=[];return Object.entries({...e}).forEach((([t,n])=>{const i=o[t];null!==i&&("string"!=typeof i?"function"!=typeof i?s.push([t,n]):s=s.concat(i({key:t,value:n,settings:e})):s.push([i,n]))})),Object.fromEntries(s)},e.prototype.canConvertToContainer=function(e){return Object.keys(t).includes(e)}},t=null;$e.commands.on("run:before",(function(n,i,o){if("container-converter/convert"===i){t=null;const n=o.container.type;(new e).canConvertToContainer(n)&&(t=n)}if(null!==t&&"document/elements/create"===i){const n=new e;if(n.canConvertToContainer(t)){let e,i=o.container.model.toJSON();const s=o.model,r=Object.assign({},s);r.elType=t,e=n.migrate(r.settings,r,i),e=n.normalizeSettings(r,e,i),s.settings=e}t=null}}))}))}(jQuery);