| 1 |
(()=>{"use strict";var t={n:e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return t.d(i,{a:i}),i},d:(e,i)=>{for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window.jQuery;var i=t.n(e);const n=window.wp.i18n,r="gutenify",a=window?.[`_${r}_vars`]?window[`_${r}_vars`]:{},{is_pro_activated:o,pro_account_url:s,pro_license_status:l,title:c,prefix:d,slug:u,authorWebSite:p,authorDemoWebSite:g,authorWebSiteProPage:_,defaultTheme:f,authorWebSiteSupport:h,plugin_directory_url:m,brand_color:w,plugin_main_version:b,documentationsURL:v,pro_title:y,active_blocks:S,plugin_main_camel_case_name:W,is_block_theme:$,is_woocommerce_activated:x,wp_version:k}=a,M=(a?.siteUrl?a.siteUrl:a.site_url,(0,n.sprintf)("Want to enjoy all feature of blocks? Checkout %1$s%2$s%3$s.",'<a href="'+_+'" target="_blank">',y,"</a>"),{pluginMainSlug:"gutenify",pluginMainCamelCaseName:W,pluginMainFunctionPrefix:"gutenify"}),{pluginMainSlug:P}=M;i()((function(t){const e=()=>{const e=t("body");t(`.${P}-container-stretch`).each((function(){const i=t(this),n="full-stretched-padded"===i.data("stretch-type")?"":0,r=t(this).children();r.css({"margin-left":0,"margin-right":0,"padding-left":n,"padding-right":n});const a=i.offset().left-e.offset().left,o=e.outerWidth()-a-i.parent().outerWidth();r.css({"margin-left":-a+"px","margin-right":-o+"px","padding-left":a+"px","padding-right":o+"px"}),i.hasClass(`${P}-container-full-width-stretch`)&&r.css({"padding-left":0,"padding-right":0}),t(this).trigger("containerStretched")}))};t(window).on("resize load",(()=>{e()}))}))})(); |