@gem-sdk/components 19.1.0-staging.13 → 19.1.0-staging.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/button/components/Button.js +1 -1
- package/dist/cjs/helpers.js +1 -1
- package/dist/cjs/hero-banner/common/helpers.js +1 -1
- package/dist/cjs/image/common/attrs.js +1 -1
- package/dist/cjs/image/components/Image.js +1 -1
- package/dist/cjs/image/types.js +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/esm/button/components/Button.js +1 -1
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/hero-banner/common/helpers.js +1 -1
- package/dist/esm/image/common/attrs.js +1 -1
- package/dist/esm/image/components/Image.js +1 -1
- package/dist/esm/image/types.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +25 -33
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),a=require("../../helpers.js"),r=require("../common/attrs.js"),l=require("../common/styles.js"),n=require("../common/classes.js"),o=require("./ButtonIcon.js"),u=require("./ButtonLabel.js"),c=require("./ButtonLoadingIndicator.js"),i=require("../common/helpers.js");exports.default=g=>{let{children:d,advanced:y,className:j,nodePrice:m,customAttrs:p,styles:C={},setting:f={},builderProps:x,builderAttrs:B,wrapClassName:I="",onClick:h}=g,{iconSvg:q,btnLink:S,htmlType:b,loading:L,disabled:k,shouldClearSpace:v,enableBtnLink:T}=f,{enableTextStyle:N=!0}=C,M=t.useEditorMode(),_=t.usePageType(),{customCss:H,wrapStyle:W,restStyle:A,dataState:D,dataIdAttr:E,isShowIcon:P,isScrollToElement:O,getArialLabel:w,getLabelToDisplay:z,checkIsShowLabel:F,checkIsEditableLabel:G}=i.getData(g),{HTMLTag:J,urlData:K,shouldRenderLink:Q}=i.getInsertLinkData({enableBtnLink:T,htmlType:b,setting:S,defaultTag:"button",pageType:_}),R=s.createStyle({...l.getButtonStyles(C,f.enableHoverEffect)}),U=s.createStyle({...l.getTypoStyles(C)}),V=s.createStyle({...l.getTypoStyles(C),...l.getButtonIconStyles(C,f)}),X=s.createStyle({...l.getButtonWrapperStyles(A,C)}),Y=s.createClass({...n.getButtonClasses({styles:C,className:j,shouldRenderLink:Q,uid:x?.uid,advanced:y})}),Z=s.createClass({...n.getButtonIconClasses(z(),v,N)}),$=s.createClass({...n.getButtonLabelClasses(C,G({mode:M}))}),ee=s.createClass({...n.getButtonWrapperClasses(I,j,y?.cssClass)}),et=s.createClass({...n.getButtonContentWrapperClasses(f)}),es=s.createClass({...n.getButtonContainerClasses()}),ea=s.createAttr({...r.getButtonAttributes({disabled:k,dataState:D,dataId:E,arialLabel:w()})});return e.jsx("div",{style:W,className:es,children:e.jsxs("div",{...B,style:X,className:ee,children:[e.jsx("style",{type:"text/css",dangerouslySetInnerHTML:{__html:H}}),s.If(O,e.jsx("a",{className:"gp-trigger-button-link gp-hidden",href:K.href,target:K.target})),e.jsxs(J,{...ea,...p,..."button"!==J&&{setting:K},style:R,className:Y,onClick:e=>{h?.(e),a.handleClickLink(S,M)},children:[s.If(L,e.jsx(c.default,{})),e.jsxs("div",{className:et,children:[s.If(P,e.jsx(o.default,{iconSvg:q??"",styles:V,classes:Z})),s.If(N&&F(),e.jsx(u.default,{label:z(),styles:U,classes:$}))]}),s.If(!!m,m??"")]}),d]})})};
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),a=require("../../helpers.js"),r=require("../common/attrs.js"),l=require("../common/styles.js"),n=require("../common/classes.js"),o=require("./ButtonIcon.js"),u=require("./ButtonLabel.js"),c=require("./ButtonLoadingIndicator.js"),i=require("../common/helpers.js");exports.default=g=>{let{children:d,advanced:y,className:j,nodePrice:m,customAttrs:p,styles:C={},setting:f={},builderProps:x,builderAttrs:B,wrapClassName:I="",onClick:h}=g,{iconSvg:q,btnLink:S,htmlType:b,loading:L,disabled:k,shouldClearSpace:v,enableBtnLink:T}=f,{enableTextStyle:N=!0}=C,M=t.useEditorMode(),_=t.usePageType(),{customCss:H,wrapStyle:W,restStyle:A,dataState:D,dataIdAttr:E,isShowIcon:P,isScrollToElement:O,getArialLabel:w,getLabelToDisplay:z,checkIsShowLabel:F,checkIsEditableLabel:G}=i.getData(g),{HTMLTag:J,urlData:K,shouldRenderLink:Q}=i.getInsertLinkData({enableBtnLink:T,htmlType:b,setting:S,defaultTag:"button",pageType:_}),R=s.createStyle({...l.getButtonStyles(C,f.enableHoverEffect)}),U=s.createStyle({...l.getTypoStyles(C)}),V=s.createStyle({...l.getTypoStyles(C),...l.getButtonIconStyles(C,f)}),X=s.createStyle({...l.getButtonWrapperStyles(A,C)}),Y=s.createClass({...n.getButtonClasses({styles:C,className:j,shouldRenderLink:Q,uid:x?.uid,advanced:y})}),Z=s.createClass({...n.getButtonIconClasses(z(),v,N)}),$=s.createClass({...n.getButtonLabelClasses(C,G({mode:M}))}),ee=s.createClass({...n.getButtonWrapperClasses(I,j,y?.cssClass)}),et=s.createClass({...n.getButtonContentWrapperClasses(f)}),es=s.createClass({...n.getButtonContainerClasses()}),ea=s.createAttr({...r.getButtonAttributes({disabled:k,dataState:D,dataId:E,arialLabel:w()})});return e.jsx("div",{style:W,className:es,children:e.jsxs("div",{...B,style:X,className:ee,children:[e.jsx("style",{type:"text/css",dangerouslySetInnerHTML:{__html:H}}),s.If(O,e.jsx("a",{className:"gp-trigger-button-link gp-hidden",href:K.href,target:K.target})),e.jsxs(J,{...ea,...p,..."button"!==J&&{setting:K},style:R,className:Y,onClick:e=>{h?.(e),T&&!Q&&a.handleClickLink(S,M)},children:[s.If(L,e.jsx(c.default,{})),e.jsxs("div",{className:et,children:[s.If(P,e.jsx(o.default,{iconSvg:q??"",styles:V,classes:Z})),s.If(N&&F(),e.jsx(u.default,{label:z(),styles:U,classes:$}))]}),s.If(!!m,m??"")]}),d]})})};
|
package/dist/cjs/helpers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@gem-sdk/core"),t=require("./link/components/Link.js"),r=require("./hero-banner/settings/configs/translate.js");const i=new RegExp(/^\/?(?:collections|pages|products|blogs|checkout|cart|policies)\/?/i),n=(e,t)=>{let r=new RegExp(/^https?:\/\//i);return e&&!r.test(t)&&i.test(t)},
|
|
1
|
+
"use strict";var e=require("@gem-sdk/core"),t=require("./link/components/Link.js"),r=require("./hero-banner/settings/configs/translate.js");const i=new RegExp(/^\/?(?:collections|pages|products|blogs|checkout|cart|policies)\/?/i),n=new RegExp(/^(?:https?:\/\/)?[\w.-]+\.[a-z]{2,}/i),o=(e,t)=>{let r=new RegExp(/^https?:\/\//i);return e&&!r.test(t)&&i.test(t)},l=e=>{let t=e.replace(/\s/g,"").match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i)?.map(Number).filter(e=>!isNaN(e))??[0,0,0,1];return 0===t[t.length-1]},s=e=>{let t=!1,r=e.slice(e.startsWith("#")?1:0);3===r.length?r=[...r].map(e=>e+e).join(""):8===r.length&&(t=!0);let i=parseInt(r,16),n=t?255&i:void 0;return 0===n||!!n},a=(e,t)=>`g${e}_${t}`,p=({id:e,index:t,suffix:r})=>e?"number"==typeof t&&t>=0?`${e}_${t}`:r?`${e}_${r}`:e:"",c=({val:t,uid:r,settingId:i,isLiquid:n,pageContext:o,isCapitalize:l,defaultVal:s="",isReplaceLocationOrigin:p,isReplaceMaxSize:c,isReplaceInventoryQuantity:u})=>{let g;let f=new RegExp(/\{\{.*?\}\}|\{%.*?%\}/).test(t?.toString()??""),d=o?.mode===e.SectionMode.GLOBAL,h=o?.schema??"",x=o?.isTranslateWithLocale?1e3:5e3;if(!i||!t?.toString().trim()||t.toString().length>x||f||o?.isPreviewing)return t??s;let m=`section.settings.${g=d?e.getThemeSectionTranslateKey({uid:r,settingId:i,schema:h,value:t?.toString()??s??""}):a(r,i)}`;return(o?.isTranslateWithLocale&&(m=`'sections.${o.sectionName}.${g}_html' | t`),p&&(m+=" | replace: '$locationOrigin', locationOrigin"),c&&(m+=" | replace: '$max_size', '10MB'"),u&&(m+=" | replace: '<$quantity$>', inventory_quantity | replace: '<$quantity$>', inventory_quantity"),l&&(m=`${m} | downcase`),n)?m:d?e.replaceOuterTagContent(t?.toString()??s??"",void 0,`{{ ${m} }}`):`{{ ${m} }}`},u=e=>e?e.match(/^https?:\/\//i)?e:`http://${e}`:"";function g(e){if(e.startsWith("mailto:")){let[t,r]=e.split("?");if(r){let i=r.replace(/\+/g,"%20");e=`${t}?${i}`}}return e}const f=(e,r,i)=>{let l=r?.link!==void 0&&""!==r.link,s=r?.link??"",a="/"===s,p=l&&n.test(s);p&&(s=u(s)),l&&s.toLowerCase().startsWith("mailto:")&&s.includes("+")&&(s=g(s));let c=p||o(l,s)||!!(["#","mailto:","tel:"].find(e=>s.startsWith(e))||["product.url"].find(e=>s.includes(e)))||a||d(r?.type);(o(l,s)||a)&&(s=r?.isTranslate?"$locationOrigin"+s:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+s);let f=c?r?.isLiquid?"a":t.default:e,h={href:s,target:r?.target,...r?.noFollow&&{rel:"nofollow"}},x=c?h:l?{...h,type:i}:{type:i};return{Wrap:f,urlData:x,shouldRenderLink:c}},d=e=>"go-to-sales-page"===e,h=e=>e?.type==="scroll-to"&&e?.link==="#scroll-to-top",x=e=>e?.type==="open-popup"&&e?.link?.startsWith("#el-"),m=e=>e?.type==="open-page"&&!!e?.link&&!e.link.startsWith("#"),$=/^\s*(javascript|data|vbscript):/i,k=e=>{let t=e.replace(/^[/\\]+/,"/");return/^https?:\/\//i.test(t)||t.startsWith("/")?t:n.test(t)?u(t):`/${t}`},y=e=>{let t=e?.link??"";if($.test(t))return;let r=e?.target||"_self";window.open(k(t),r,"_blank"===r?"noopener":void 0)};exports.REGEX_BARE_DOMAIN=n,exports.REGEX_PAGE_TYPE=i,exports.checkIsOpenPage=m,exports.checkIsOpenPopup=x,exports.checkIsScrollToTop=h,exports.convertUnitToNumber=(e,t)=>{if(!e)return t;if("number"==typeof e)return e;let r="string"==typeof e?e.replaceAll("px","").replaceAll("%","").replaceAll("rem","").replaceAll("em",""):t;return isNaN(Number(r))?t:Number(r)},exports.createSettingId=p,exports.createTranslateKey=a,exports.extractProductID=e=>e.replace("gid://shopify/Product/",""),exports.filterPageContext=e=>{if(!e)return;let{schema:t,mode:r,...i}=e;return i},exports.filterTruthyObject=function(e){return Object.fromEntries(Object.entries(e||{}).filter(([,e])=>!!e))},exports.filterTruthyStyles=function(e){return Object.fromEntries(Object.entries(e||{}).filter(([,e])=>!!e))},exports.getAllHrefFromString=e=>{let t;if(!e)return[];let r=/href="([^"]*)"/g,i=[];for(;null!==(t=r.exec(e));)t[1]&&i.push(t[1]);return i},exports.getBackgroundTranslated=({background:t,enableTranslate:r,uid:i,pageContext:n,isTranslateVideo:o=!0})=>{if(!t)return{};if(!r||!i||n?.isPreviewing)return t;let l=e.cloneDeep(t);for(let e in l){let t=l[e];if(t){if(t.image?.src){let r=c({val:t.image.src,uid:i,settingId:p({id:"background",suffix:`${e}_image_src`}),pageContext:n});t.image.src=String(r)}if(o){if("youtube"===t.videoType&&t.video){let r=c({val:t.video,uid:i,settingId:p({id:"background",suffix:`${e}_video`}),pageContext:n});t.video=String(r)}if("html5"===t.videoType&&t.videoHtml5){let r=c({val:t.videoHtml5,uid:i,settingId:p({id:"background",suffix:`${e}_videoHtml5`}),pageContext:n});t.videoHtml5=String(r)}}}}return l},exports.getDisplayStyle=(t,r)=>{let i={};return e.DEVICES.forEach(e=>{i={...i,[`--d${"desktop"===e?"":`-${e}`}`]:`${t(e)?"none":r}`}}),i},exports.getDynamicSourceLocales=c,exports.getInsertLinkData=f,exports.getLinkArticle=(e,t)=>"scroll-to"==e?t?.link:"{{article.url}}",exports.getLinkData=({setting:e,htmlType:r,defaultWrap:i,isLiquid:n=!1,enableImageLink:l=!1})=>{let s=e?.link??"",a="/"===s,p=e?.link!==void 0&&""!==e.link,c=new RegExp(/^https?:\/\//i),u=p&&c.test(s);p&&s.toLowerCase().startsWith("mailto:")&&s.includes("+")&&(s=g(s));let f=l&&(u||o(p,s)||!!["product.url"].find(e=>s.includes(e))||!!["#","mailto:","tel:"].find(e=>s.startsWith(e))&&(!!n||!(h(e)||x(e)))||a||d(e?.type)),m=s;n&&(o(p,s)||a)&&(m=e?.isTranslate?"$locationOrigin"+s:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+s);let $=f?n?"a":t.default:i,k={href:m,target:e?.target,...e?.noFollow&&{rel:"nofollow"}},y=f?k:p?{...k,type:r}:{type:r};return{Wrapper:$,urlData:y,shouldRenderLink:f}},exports.getSeoTranslated=({valueTranslate:e,uid:t,settingId:i,pageContext:n})=>{if(!t||!r.HeroBanner?.[i]?.id)return e;let o=c({val:e,settingId:p({id:r.HeroBanner?.[i]?.id}),uid:t,pageContext:n});return null!=o?String(o):e},exports.getSettingPreloadData=(e,t)=>`{% if section.settings.section_preload == "false" %}${e} ${t?`{% else %}${t}`:""}{% endif %}`,exports.getStaticLocale=(e,t)=>`{{ 'gempages.${e}.${t}' | t }}`,exports.handleClickLink=(t,r)=>{if("edit"!==r){if(h(t)){window.scrollTo({top:0,behavior:"smooth"});return}if(m(t)){y(t);return}if(x(t)){let r=t?.link?.replace("#el-","#");e.globalEvent.dispatch("onOpenDialog",{popupUId:r});return}t?.link?.startsWith("#")&&e.globalEvent.dispatch("onOpenDialog",{popupUId:t?.link})}},exports.isEmptyObject=function(e){return 0===Object.keys(e).length&&"object"==typeof e},exports.isHexTransparent=s,exports.isLinkedToSalesPage=d,exports.isShopifyDomain=o,exports.isTransparentColor=e=>!!e&&(e.startsWith("#")?s(e):e.startsWith("rgb")?l(e):"transparent"==e),exports.isTransparentRGBA=l,exports.normalizeMailto=g,exports.replaceAllHrefFromString=(e,t)=>{let r;if(!e)return"";let i=/href="([^"]*)"/g,n=0;for(;null!==(r=i.exec(e));)r[1]&&(e=e.replace(r[1],t[n]??""),n++);return e},exports.replaceLinkData=(e,t)=>{if(e&&/<a\s[^>]*>.*?<\/a>/.test(e)){let r;let i=/<a\s+(?:[^>]*?\s+)?href=["']([^"']*)["'](?:\s+[^>]*?)?(?:target=["']([^"']*)["'])?.*?>.*?<\/a>/gi,n=e.toString();for(;null!==(r=i.exec(n));){let e=r[1],{urlData:i}=f("",{link:e,isTranslate:t});n=n.replace(r[0],r[0].replace(/(href=['"])([^'"]*)(['"])/i,`$1${i.href}$3`))}return n}return e},exports.youtubeShortsRegex=/^(?:https?:\/\/)?(?:www\.)?youtube\.com\/shorts\/([^"&?/\s]{11})$/i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@gem-sdk/core"),t=require("../../image/common/helpers.js"),o=require("../../constant.js"),r=require("./const.js");const l=(t,o,r)=>{let l={};return e.DEVICES.map(i=>{let s=e.getResponsiveValueByScreen(t,i),a=e.getResponsiveValueByScreen(o,i),n=e.getResponsiveValueByScreen(r,i);l={...l,[i]:1>=(s?.cols?.length||1)?a:n}}),l},i=e=>{if(!e)return{};let t={desktop:e?.desktop?.image,tablet:e?.tablet?.image,mobile:e?.mobile?.image};return t},s=e=>{let o=i(e);return{desktop:t.createBlurDataURL(o?.desktop?.width??0,o?.desktop?.height??0),tablet:t.createBlurDataURL(o?.tablet?.width??o?.desktop?.width??0,o?.tablet?.height??o?.desktop?.width??0),mobile:t.createBlurDataURL(o?.mobile?.width??o?.tablet?.width??o?.desktop?.width??0,o?.mobile?.height??o?.tablet?.height??o?.desktop?.width??0)}},a=(o,r,l,a)=>{if(!o)return"";let n=i(o),p=e.getResponsiveValueByScreen(o,r),b=l?`url(${s(o)[r]})`:`url(${t.getImageSrc(e.getResponsiveValueByScreen(n,r),r,a)})`,g=p?.color?`, ${p.color}`:"";return p?.color?.includes(e.GRADIENT_BGR_KEY)&&p?.type==="image"?`${b}${g}`:p?.color?.includes(e.GRADIENT_BGR_KEY)&&p?.type!=="image"?`${p.color}`:p?.type==="image"?b:"url()"},n=(e,t)=>{switch(e){case"desktop":if(t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"tablet":if(t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.tablet&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"mobile":if(t?.mobile?.type==="video")return{device:"mobile",data:t.mobile};if(!t?.mobile&&t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.mobile&&!t?.tablet?.type&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop}}},p=(e,t)=>{if(!e)return t;let o=e?.shapeVideo;return"custom"===o?e?.shapeValue||t:void 0!==o?o:e?.shapeValue??t},b=({shapeByDevice:e,fallbackRatio:t,device:o,currentResult:r})=>{let l=p(e,t);return l?{...r,[o]:l}:r},g=e=>{let t={};for(let o in e)"top"===e[o]?t[o]="start":"bottom"===e[o]?t[o]="end":t[o]="center";return t},c=(e,t)=>{if(!e)return;if(!t)return e.shapeValue;let o=e.shapeVideo;return"custom"===o?e.shapeValue:o},u=(t,o)=>{let r=!1,l=e.DEVICES.reduce((l,i)=>{let s=e.getResponsiveValueByScreen(t,i),a=e.getResponsiveValueByScreen(o,i),n=c(s,a?.type==="video");return n&&(l[i]=n,r=!0),l},{});return{aspectRatio:r?l:void 0}},d=(t,o,r)=>e.DEVICES.reduce((l,i)=>{let s=e.getValueByDevice(t,i),a=s?.type==="video"?s?.videoType:void 0,n=e.getValueByDevice(o,i),p=r?.[i];return p&&"youtube"===a&&"cover"!==n&&(l[i]=p),l},{}),m=({enableParallax:e=!1,attachment:t="scroll"})=>!!e||"fixed"===t,y=(t,o)=>{let r={};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=i?.type==="image"&&o,a=m({enableParallax:s,attachment:t[l]?.attachment});r={...r,[l]:s?"150%":a?"100vh":"100%"}}),e.makeStyleResponsive("h",r)},h=(t,o)=>{let r={};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=i?.type==="image"&&o,a=m({enableParallax:s,attachment:t[l]?.attachment});r={...r,[l]:a?"100vw":"100%"}}),e.makeStyleResponsive("w",r)},f=t=>{let o={};return["desktop","mobile","tablet"].forEach(e=>{o={...o,[e]:t[e]?.attachment==="fixed"?"0px":""}}),e.makeStyleResponsive("top",o)},I=(e,t=0,o=0)=>{let r=t,l=t;if(t>o?r=o:l=o,e>=999){let t=e-r;return t>0?t:0}let i=e-l;return i>0?i:0},v=({device:e,settingLayoutRes:t,contentPosition1ColRes:o})=>{let r=t[e]?.cols??[],l=r.length<=1,i=o[e];if(l&&i)return["space-between","top","center","bottom"].includes(i)?i:void 0},k=e=>{let t=e.desktop,o=e.tablet?e.tablet:t,r=e.mobile?e.mobile:o;return{desktop:t,tablet:o,mobile:r}},S=(t,o)=>{if(!t||!o)return 16/9;let r=e.getResponsiveValueByScreen(t,o),l=r?.videoCustomRatio;if(l?.width&&l?.height){let e=Number(l.width),t=Number(l.height);if(e>0&&t>0)return e/t}return 16/9},x=e=>{switch(e){case"top":default:return{top:"0%",transform:`translate(-50%, 0%) scale(${r.VIDEO_IFRAME_SCALE})`};case"bottom":return{top:"100%",transform:`translate(-50%, -100%) scale(${r.VIDEO_IFRAME_SCALE})`};case"center":return{top:"50%",transform:`translate(-50%, -50%) scale(${r.VIDEO_IFRAME_SCALE})`}}};exports.collectAspectRatioByDevice=u,exports.collectYoutubeAspectRatio=d,exports.debounce=function(e,t){let o;return function(...r){clearTimeout(o),o=setTimeout(()=>e.apply(this,r),t)}},exports.fallbackImg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8ZGVmcz4KICAgICAgPGxpbmVhckdyYWRpZW50IGlkPSJnLTE5MjAtOTAwIj4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjIwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjUwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjcwJSIgLz4KICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxyZWN0IHdpZHRoPSIxOTIwIiBoZWlnaHQ9IjkwMCIgZmlsbD0icmdiYSg1MSwgNTEsIDUxLCAwKSIgLz4KICAgIDxyZWN0IGlkPSJyIiB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIGZpbGw9InVybCgjZy0xOTIwLTkwMCkiIC8+CiAgICA8YW5pbWF0ZSB4bGluazpocmVmPSIjciIgYXR0cmlidXRlTmFtZT0ieCIgZnJvbT0iLTE5MjAiIHRvPSIxOTIwIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgIC8+CiAgPC9zdmc+",exports.formatHoverScale=e=>e?String(e).includes("%")?`${e}`:`${e}%`:"100%",exports.getAspectRatio=(e,t)=>{let{aspectRatio:o}=u(e,t);return o},exports.getAttachmentDevice=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let r=e?.[o]?.attachment;t={...t,[o]:"fixed"===r?"fixed":"absolute"}}),t},exports.getBackgroundImageHeroBanner=(t,o=!1,r=!1)=>{if(!t)return;let l={};return e.DEVICES.forEach(e=>{l={...l,[e]:a(t,e,o,r)}}),e.makeStyleResponsive("bgi",l)},exports.getBannerLink=e=>{let t=e?.link;return t?.type==="go-to-sales-page"?{type:"go-to-sales-page",link:o.HREF_TO_SALES_PAGE,target:"_self"}:t},exports.getBgImage=i,exports.getClassAlignBanner=e=>({"!gp-self-start":"left"===e.desktop,"!gp-self-center":"center"===e.desktop,"!gp-self-end":"right"===e.desktop,"tablet:!gp-self-start":"left"===e.tablet,"tablet:!gp-self-center":"center"===e.tablet,"tablet:!gp-self-end":"right"===e.tablet,"mobile:!gp-self-start":"left"===e.mobile,"mobile:!gp-self-center":"center"===e.mobile,"mobile:!gp-self-end":"right"===e.mobile}),exports.getClassContentPosition=e=>{let t={center:"center",top:"start",bottom:"end","space-between":"between"},o=e.desktop||"center",r=e.tablet||o,l=e.mobile||r;return{[`gp-justify-${t[o]}`]:!0,[`tablet:gp-justify-${t[r]}`]:!0,[`mobile:gp-justify-${t[l]}`]:!0}},exports.getClassForContentByFitContent=(t,o)=>{let r={desktop:!1,tablet:!1,mobile:!1};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=!!n(l,o),a=i?.shape,p=i?.height;r={...r,[l]:"original"===a&&"fit-content"!==p&&!s}}),e.cls(r.desktop?"!gp-absolute":"",r.tablet?"tablet:!gp-absolute":"tablet:!gp-relative",r.mobile?"mobile:!gp-absolute":"mobile:!gp-relative")},exports.getClassForStretchContent=t=>{let o={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(r=>{let l=e.getResponsiveValueByScreen(t,r);o={...o,[r]:l}}),e.cls("space-between"===o.desktop?"[&>*>*]:!gp-justify-between":"","space-between"===o.tablet?"tablet:[&>*>*]:!gp-justify-between ":`tablet:[&>*>*]:!gp-justify-${t?.tablet}`,"space-between"===o.mobile?"mobile:[&>*>*]:!gp-justify-between ":`mobile:[&>*>*]:!gp-justify-${t?.mobile}`)},exports.getClassSpaceBetween=(t,o)=>{let r=k(t),l=k(o),i={desktop:v({device:"desktop",settingLayoutRes:r,contentPosition1ColRes:l}),tablet:v({device:"tablet",settingLayoutRes:r,contentPosition1ColRes:l}),mobile:v({device:"mobile",settingLayoutRes:r,contentPosition1ColRes:l})},s={"space-between":{desktop:"!gp-h-full !gp-content-stretch [&>*]:!gp-justify-between [&>*:nth-child(3)]:gp-absolute [&>*:nth-child(3)]:gp-hidden",tablet:"tablet:!gp-h-full tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-between tablet:[&>*:nth-child(3)]:gp-absolute tablet:[&>*:nth-child(3)]:gp-hidden",mobile:"mobile:!gp-h-full mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-between mobile:[&>*:nth-child(3)]:gp-absolute mobile:[&>*:nth-child(3)]:gp-hidden"},top:{desktop:"!gp-content-stretch [&>*]:!gp-justify-start",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-start",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-start"},center:{desktop:"!gp-content-stretch [&>*]:!gp-justify-center",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-center",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-center"},bottom:{desktop:"!gp-content-stretch [&>*]:!gp-justify-end",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-end",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-end"}},a={};return e.DEVICES.forEach(e=>{let t=i[e],o=s?.[t]?.[e];a[o]=!0}),a},exports.getClassSpaceBetweenLeftRight=e=>{let t=k(e),o=t?.desktop?.type=="left-distributed"||t?.desktop?.type=="right-distributed",r=t?.tablet?.type=="left-distributed"||t?.tablet?.type=="right-distributed",l=t?.mobile?.type=="left-distributed"||t?.mobile?.type=="right-distributed";return{"gp-h-full tablet:gp-h-auto mobile:gp-h-auto [&>*]:!gp-justify-between":o,"tablet:!gp-h-full tablet:[&>*]:!gp-justify-between mobile:gp-h-auto":r,"mobile:!gp-h-full mobile:[&>*]:!gp-justify-between":l,"mobile:!gp-h-auto":!l}},exports.getClipPath=(e,t)=>{if(!t)return`${r.DEFAULT_CLIP_PATH}`;let[o,l,i,s]=(e??"0 0 0 0").split(" ").map(e=>parseInt(e??"0")||0),{btlr:a,btrr:n,bbrr:p,bblr:b}=t,g=I(parseInt(a??"0")||0,o,s),c=I(parseInt(n??"0")||0,o,l),u=I(parseInt(p??"0")||0,l,i),d=I(parseInt(b??"0")||0,i,s);return[g,c,u,d].every(e=>0===e)?`${r.DEFAULT_CLIP_PATH}`:`inset(0 0 0 round ${g}px ${c}px ${u}px ${d}px)`},exports.getContainerRatio=e=>{if(!e)return 0;let{width:t,height:o}=e.getBoundingClientRect();return t&&o?t/o:0},exports.getContentPosition=l,exports.getDataVideoHeroBannerResponsive=n,exports.getDisplayStyleByFitContent=(t,o)=>{let r={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=!!n(l,o),a=i?.shape,p=i?.height;r={...r,[l]:"original"!==a||"fit-content"===p||s?"none":"block"}}),e.makeStyleResponsive("d",r)},exports.getEnableBgImageByDevice=(t,o)=>{if(!e.getResponsiveValueByScreen(i(o),t))return!1;if(!o?.[t]){if("mobile"===t)return o?.tablet?.type==="image"||o?.desktop?.type==="image"&&!o?.tablet;if("tablet"===t)return o?.desktop?.type==="image"}return o?.[t]?.type==="image"},exports.getOpacityHover=e=>{let{overlayOpacity:t}=e??{},o="number"!=typeof t?.hover||isNaN(t?.hover)?"string"==typeof t?.hover?`${parseInt(t?.hover)}%`:"":`${t?.hover}%`,r="number"!=typeof t?.normal||isNaN(t?.normal)?"string"==typeof t?.normal?`${parseInt(t?.normal)}%`:"0%":`${t?.normal}%`;return o||r},exports.getPercentageVisible=(e,t)=>{let{top:o,height:r}=e,l=-r;return o<l?0:o>t?100:Math.min(Math.max((o-l)/(t-l)*100,0),100)},exports.getResponsiveSetting=k,exports.getStyleAspectRatioHeroBannerCustom=(t,o)=>{let r=e.getAspectRatioGlobalSize(o);return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(o,l),s=!!n(l,t);s&&(r=b({shapeByDevice:i,fallbackRatio:"auto",device:l,currentResult:r}))}),e.makeStyleResponsive("aspect",r)},exports.getStyleHeroBannerBg=(e,t)=>{let o=y(e,t),r=h(e,t),l=f(e);return{...o,...r,...l}},exports.getVideoAspectRatio=S,exports.getVisibilityStyle=e=>e?Object.keys(e).filter(e=>["--d","--d-tablet","--d-mobile"].includes(e)).reduce((t,o)=>({...t,[o]:e?.[o]!=="none"?"flex":e?.[o]}),{}):{},exports.getWidth=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let r=e?.[o];r&&(t={...t,[o]:"default"===r?"var(--g-ct-w, 1200px)":r})}),t},exports.getYoutubeAspectRatio=(e,t,o)=>{let r=d(e,t,o);return Object.keys(r).length?r:void 0},exports.horizontalAlign=(e,t,o)=>g(l(e,t,o)),exports.imagePlaceholder=s,exports.isScaleImage=m,exports.mapContentPositionToHorizontal=g,exports.opacityEnabledData=e=>{let{overlayColor:t,overlayOpacity:o}=e??{},r=!t?.normal||o?.normal=="0%"||!o?.normal;return{disableOpacity:r}},exports.resetVideoIframeStyle=e=>{e&&(e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("transform"),e.style.removeProperty("position"))},exports.resetVideoWrapperStyle=e=>{e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("width"),e.style.removeProperty("height")},exports.scrollToContentBanner=e=>e?.target?.closest("div.gp-hero-banner-row")?.scrollTo(0,0),exports.setVideoIframeAlign=(e,t)=>{if(!e)return;let o=x(t);e.style.top=o.top,e.style.transform=o.transform},exports.setVideoWrapperStyle=e=>{Object.assign(e.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"})},exports.showVideoType=t=>e.DEVICES.some(o=>{let r=e.getValueByDevice(t,o);return r?.type!=="color"&&r?.type!=="image"&&!!r&&(r?.videoType==="html5"&&r?.videoHtml5||r?.videoType==="youtube"&&r?.video)}),exports.updateVideoIframeSize=({iframeEl:t,containerRatio:o,videoObjectFit:l,background:i,currentDevice:s,isYoutubeVideoMigrated:a})=>{let n,p;let b=S(i,s),g=e.getResponsiveValueByScreen(i,s);if(!t||!o)return;let c=g?.videoAlign||"top",u=x(c);if("contain"===l){Object.assign(t.style,{position:"absolute",top:"50%",left:"50%",width:"100%",height:"100%",maxWidth:"none",transform:`translate(-50%, -50%) scale(${r.VIDEO_IFRAME_SCALE})`});return}o>=b?(n=100,p=o/b*100):(p=100,n=b/o*100),Object.assign(t.style,{position:"absolute",top:u.top,left:"50%",width:a?"500%":`${n}%`,height:a?"100%":`${p}%`,maxWidth:"none",transform:u.transform})};
|
|
1
|
+
"use strict";var e=require("@gem-sdk/core"),t=require("../../image/common/helpers.js"),o=require("../../image/types.js"),r=require("../../constant.js"),l=require("./const.js");const i=(t,o,r)=>{let l={};return e.DEVICES.map(i=>{let s=e.getResponsiveValueByScreen(t,i),a=e.getResponsiveValueByScreen(o,i),n=e.getResponsiveValueByScreen(r,i);l={...l,[i]:1>=(s?.cols?.length||1)?a:n}}),l},s=e=>{if(!e)return{};let t={desktop:e?.desktop?.image,tablet:e?.tablet?.image,mobile:e?.mobile?.image};return t},a=e=>{let o=s(e);return{desktop:t.createBlurDataURL(o?.desktop?.width??0,o?.desktop?.height??0),tablet:t.createBlurDataURL(o?.tablet?.width??o?.desktop?.width??0,o?.tablet?.height??o?.desktop?.width??0),mobile:t.createBlurDataURL(o?.mobile?.width??o?.tablet?.width??o?.desktop?.width??0,o?.mobile?.height??o?.tablet?.height??o?.desktop?.width??0)}},n=(o,r,l,i)=>{if(!o)return"";let n=s(o),p=e.getResponsiveValueByScreen(o,r),b=l?`url(${a(o)[r]})`:`url(${t.getImageSrc(e.getResponsiveValueByScreen(n,r),r,i)})`,g=p?.color?`, ${p.color}`:"";return p?.color?.includes(e.GRADIENT_BGR_KEY)&&p?.type==="image"?`${b}${g}`:p?.color?.includes(e.GRADIENT_BGR_KEY)&&p?.type!=="image"?`${p.color}`:p?.type==="image"?b:"url()"},p=(e,t)=>{switch(e){case"desktop":if(t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"tablet":if(t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.tablet&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"mobile":if(t?.mobile?.type==="video")return{device:"mobile",data:t.mobile};if(!t?.mobile&&t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.mobile&&!t?.tablet?.type&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop}}},b=(e,t)=>{if(!e)return t;let o=e?.shapeVideo;return"custom"===o?e?.shapeValue||t:void 0!==o?o:e?.shapeValue??t},g=({shapeByDevice:e,fallbackRatio:t,device:o,currentResult:r})=>{let l=b(e,t);return l?{...r,[o]:l}:r},c=e=>{let t={};for(let o in e)"top"===e[o]?t[o]="start":"bottom"===e[o]?t[o]="end":t[o]="center";return t},u=(e,t)=>{if(!e)return;if(!t)return e.shapeValue;let o=e.shapeVideo;return"custom"===o?e.shapeValue:o},d=(t,o)=>{let r=!1,l=e.DEVICES.reduce((l,i)=>{let s=e.getResponsiveValueByScreen(t,i),a=e.getResponsiveValueByScreen(o,i),n=u(s,a?.type==="video");return n&&(l[i]=n,r=!0),l},{});return{aspectRatio:r?l:void 0}},m=(t,o,r)=>e.DEVICES.reduce((l,i)=>{let s=e.getValueByDevice(t,i),a=s?.type==="video"?s?.videoType:void 0,n=e.getValueByDevice(o,i),p=r?.[i];return p&&"youtube"===a&&"cover"!==n&&(l[i]=p),l},{}),y=({enableParallax:e=!1,attachment:t="scroll"})=>!!e||"fixed"===t,h=(t,o)=>{let r={};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=i?.type==="image"&&o,a=y({enableParallax:s,attachment:t[l]?.attachment});r={...r,[l]:s?"150%":a?"100vh":"100%"}}),e.makeStyleResponsive("h",r)},f=(t,o)=>{let r={};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=i?.type==="image"&&o,a=y({enableParallax:s,attachment:t[l]?.attachment});r={...r,[l]:a?"100vw":"100%"}}),e.makeStyleResponsive("w",r)},I=t=>{let o={};return["desktop","mobile","tablet"].forEach(e=>{o={...o,[e]:t[e]?.attachment==="fixed"?"0px":""}}),e.makeStyleResponsive("top",o)},v=(e,t=0,o=0)=>{let r=t,l=t;if(t>o?r=o:l=o,e>=999){let t=e-r;return t>0?t:0}let i=e-l;return i>0?i:0},k=({device:e,settingLayoutRes:t,contentPosition1ColRes:o})=>{let r=t[e]?.cols??[],l=r.length<=1,i=o[e];if(l&&i)return["space-between","top","center","bottom"].includes(i)?i:void 0},S=e=>{let t=e.desktop,o=e.tablet?e.tablet:t,r=e.mobile?e.mobile:o;return{desktop:t,tablet:o,mobile:r}},x=(t,o)=>{if(!t||!o)return 16/9;let r=e.getResponsiveValueByScreen(t,o),l=r?.videoCustomRatio;if(l?.width&&l?.height){let e=Number(l.width),t=Number(l.height);if(e>0&&t>0)return e/t}return 16/9},C=e=>{switch(e){case"top":default:return{top:"0%",transform:`translate(-50%, 0%) scale(${l.VIDEO_IFRAME_SCALE})`};case"bottom":return{top:"100%",transform:`translate(-50%, -100%) scale(${l.VIDEO_IFRAME_SCALE})`};case"center":return{top:"50%",transform:`translate(-50%, -50%) scale(${l.VIDEO_IFRAME_SCALE})`}}};exports.collectAspectRatioByDevice=d,exports.collectYoutubeAspectRatio=m,exports.debounce=function(e,t){let o;return function(...r){clearTimeout(o),o=setTimeout(()=>e.apply(this,r),t)}},exports.fallbackImg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8ZGVmcz4KICAgICAgPGxpbmVhckdyYWRpZW50IGlkPSJnLTE5MjAtOTAwIj4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjIwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjUwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjcwJSIgLz4KICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxyZWN0IHdpZHRoPSIxOTIwIiBoZWlnaHQ9IjkwMCIgZmlsbD0icmdiYSg1MSwgNTEsIDUxLCAwKSIgLz4KICAgIDxyZWN0IGlkPSJyIiB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIGZpbGw9InVybCgjZy0xOTIwLTkwMCkiIC8+CiAgICA8YW5pbWF0ZSB4bGluazpocmVmPSIjciIgYXR0cmlidXRlTmFtZT0ieCIgZnJvbT0iLTE5MjAiIHRvPSIxOTIwIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgIC8+CiAgPC9zdmc+",exports.formatHoverScale=e=>e?String(e).includes("%")?`${e}`:`${e}%`:"100%",exports.getAspectRatio=(e,t)=>{let{aspectRatio:o}=d(e,t);return o},exports.getAttachmentDevice=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let r=e?.[o]?.attachment;t={...t,[o]:"fixed"===r?"fixed":"absolute"}}),t},exports.getBackgroundImageHeroBanner=(t,o=!1,r=!1)=>{if(!t)return;let l={};return e.DEVICES.forEach(e=>{l={...l,[e]:n(t,e,o,r)}}),e.makeStyleResponsive("bgi",l)},exports.getBannerLink=e=>{let t=e?.link;return t?.type===o.LINK_ACTION.GO_TO_SALES_PAGE?{type:o.LINK_ACTION.GO_TO_SALES_PAGE,link:r.HREF_TO_SALES_PAGE,target:"_self"}:t},exports.getBgImage=s,exports.getClassAlignBanner=e=>({"!gp-self-start":"left"===e.desktop,"!gp-self-center":"center"===e.desktop,"!gp-self-end":"right"===e.desktop,"tablet:!gp-self-start":"left"===e.tablet,"tablet:!gp-self-center":"center"===e.tablet,"tablet:!gp-self-end":"right"===e.tablet,"mobile:!gp-self-start":"left"===e.mobile,"mobile:!gp-self-center":"center"===e.mobile,"mobile:!gp-self-end":"right"===e.mobile}),exports.getClassContentPosition=e=>{let t={center:"center",top:"start",bottom:"end","space-between":"between"},o=e.desktop||"center",r=e.tablet||o,l=e.mobile||r;return{[`gp-justify-${t[o]}`]:!0,[`tablet:gp-justify-${t[r]}`]:!0,[`mobile:gp-justify-${t[l]}`]:!0}},exports.getClassForContentByFitContent=(t,o)=>{let r={desktop:!1,tablet:!1,mobile:!1};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=!!p(l,o),a=i?.shape,n=i?.height;r={...r,[l]:"original"===a&&"fit-content"!==n&&!s}}),e.cls(r.desktop?"!gp-absolute":"",r.tablet?"tablet:!gp-absolute":"tablet:!gp-relative",r.mobile?"mobile:!gp-absolute":"mobile:!gp-relative")},exports.getClassForStretchContent=t=>{let o={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(r=>{let l=e.getResponsiveValueByScreen(t,r);o={...o,[r]:l}}),e.cls("space-between"===o.desktop?"[&>*>*]:!gp-justify-between":"","space-between"===o.tablet?"tablet:[&>*>*]:!gp-justify-between ":`tablet:[&>*>*]:!gp-justify-${t?.tablet}`,"space-between"===o.mobile?"mobile:[&>*>*]:!gp-justify-between ":`mobile:[&>*>*]:!gp-justify-${t?.mobile}`)},exports.getClassSpaceBetween=(t,o)=>{let r=S(t),l=S(o),i={desktop:k({device:"desktop",settingLayoutRes:r,contentPosition1ColRes:l}),tablet:k({device:"tablet",settingLayoutRes:r,contentPosition1ColRes:l}),mobile:k({device:"mobile",settingLayoutRes:r,contentPosition1ColRes:l})},s={"space-between":{desktop:"!gp-h-full !gp-content-stretch [&>*]:!gp-justify-between [&>*:nth-child(3)]:gp-absolute [&>*:nth-child(3)]:gp-hidden",tablet:"tablet:!gp-h-full tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-between tablet:[&>*:nth-child(3)]:gp-absolute tablet:[&>*:nth-child(3)]:gp-hidden",mobile:"mobile:!gp-h-full mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-between mobile:[&>*:nth-child(3)]:gp-absolute mobile:[&>*:nth-child(3)]:gp-hidden"},top:{desktop:"!gp-content-stretch [&>*]:!gp-justify-start",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-start",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-start"},center:{desktop:"!gp-content-stretch [&>*]:!gp-justify-center",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-center",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-center"},bottom:{desktop:"!gp-content-stretch [&>*]:!gp-justify-end",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-end",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-end"}},a={};return e.DEVICES.forEach(e=>{let t=i[e],o=s?.[t]?.[e];a[o]=!0}),a},exports.getClassSpaceBetweenLeftRight=e=>{let t=S(e),o=t?.desktop?.type=="left-distributed"||t?.desktop?.type=="right-distributed",r=t?.tablet?.type=="left-distributed"||t?.tablet?.type=="right-distributed",l=t?.mobile?.type=="left-distributed"||t?.mobile?.type=="right-distributed";return{"gp-h-full tablet:gp-h-auto mobile:gp-h-auto [&>*]:!gp-justify-between":o,"tablet:!gp-h-full tablet:[&>*]:!gp-justify-between mobile:gp-h-auto":r,"mobile:!gp-h-full mobile:[&>*]:!gp-justify-between":l,"mobile:!gp-h-auto":!l}},exports.getClipPath=(e,t)=>{if(!t)return`${l.DEFAULT_CLIP_PATH}`;let[o,r,i,s]=(e??"0 0 0 0").split(" ").map(e=>parseInt(e??"0")||0),{btlr:a,btrr:n,bbrr:p,bblr:b}=t,g=v(parseInt(a??"0")||0,o,s),c=v(parseInt(n??"0")||0,o,r),u=v(parseInt(p??"0")||0,r,i),d=v(parseInt(b??"0")||0,i,s);return[g,c,u,d].every(e=>0===e)?`${l.DEFAULT_CLIP_PATH}`:`inset(0 0 0 round ${g}px ${c}px ${u}px ${d}px)`},exports.getContainerRatio=e=>{if(!e)return 0;let{width:t,height:o}=e.getBoundingClientRect();return t&&o?t/o:0},exports.getContentPosition=i,exports.getDataVideoHeroBannerResponsive=p,exports.getDisplayStyleByFitContent=(t,o)=>{let r={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(t,l),s=!!p(l,o),a=i?.shape,n=i?.height;r={...r,[l]:"original"!==a||"fit-content"===n||s?"none":"block"}}),e.makeStyleResponsive("d",r)},exports.getEnableBgImageByDevice=(t,o)=>{if(!e.getResponsiveValueByScreen(s(o),t))return!1;if(!o?.[t]){if("mobile"===t)return o?.tablet?.type==="image"||o?.desktop?.type==="image"&&!o?.tablet;if("tablet"===t)return o?.desktop?.type==="image"}return o?.[t]?.type==="image"},exports.getOpacityHover=e=>{let{overlayOpacity:t}=e??{},o="number"!=typeof t?.hover||isNaN(t?.hover)?"string"==typeof t?.hover?`${parseInt(t?.hover)}%`:"":`${t?.hover}%`,r="number"!=typeof t?.normal||isNaN(t?.normal)?"string"==typeof t?.normal?`${parseInt(t?.normal)}%`:"0%":`${t?.normal}%`;return o||r},exports.getPercentageVisible=(e,t)=>{let{top:o,height:r}=e,l=-r;return o<l?0:o>t?100:Math.min(Math.max((o-l)/(t-l)*100,0),100)},exports.getResponsiveSetting=S,exports.getStyleAspectRatioHeroBannerCustom=(t,o)=>{let r=e.getAspectRatioGlobalSize(o);return["desktop","mobile","tablet"].forEach(l=>{let i=e.getResponsiveValueByScreen(o,l),s=!!p(l,t);s&&(r=g({shapeByDevice:i,fallbackRatio:"auto",device:l,currentResult:r}))}),e.makeStyleResponsive("aspect",r)},exports.getStyleHeroBannerBg=(e,t)=>{let o=h(e,t),r=f(e,t),l=I(e);return{...o,...r,...l}},exports.getVideoAspectRatio=x,exports.getVisibilityStyle=e=>e?Object.keys(e).filter(e=>["--d","--d-tablet","--d-mobile"].includes(e)).reduce((t,o)=>({...t,[o]:e?.[o]!=="none"?"flex":e?.[o]}),{}):{},exports.getWidth=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let r=e?.[o];r&&(t={...t,[o]:"default"===r?"var(--g-ct-w, 1200px)":r})}),t},exports.getYoutubeAspectRatio=(e,t,o)=>{let r=m(e,t,o);return Object.keys(r).length?r:void 0},exports.horizontalAlign=(e,t,o)=>c(i(e,t,o)),exports.imagePlaceholder=a,exports.isScaleImage=y,exports.mapContentPositionToHorizontal=c,exports.opacityEnabledData=e=>{let{overlayColor:t,overlayOpacity:o}=e??{},r=!t?.normal||o?.normal=="0%"||!o?.normal;return{disableOpacity:r}},exports.resetVideoIframeStyle=e=>{e&&(e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("transform"),e.style.removeProperty("position"))},exports.resetVideoWrapperStyle=e=>{e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("width"),e.style.removeProperty("height")},exports.scrollToContentBanner=e=>e?.target?.closest("div.gp-hero-banner-row")?.scrollTo(0,0),exports.setVideoIframeAlign=(e,t)=>{if(!e)return;let o=C(t);e.style.top=o.top,e.style.transform=o.transform},exports.setVideoWrapperStyle=e=>{Object.assign(e.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"})},exports.showVideoType=t=>e.DEVICES.some(o=>{let r=e.getValueByDevice(t,o);return r?.type!=="color"&&r?.type!=="image"&&!!r&&(r?.videoType==="html5"&&r?.videoHtml5||r?.videoType==="youtube"&&r?.video)}),exports.updateVideoIframeSize=({iframeEl:t,containerRatio:o,videoObjectFit:r,background:i,currentDevice:s,isYoutubeVideoMigrated:a})=>{let n,p;let b=x(i,s),g=e.getResponsiveValueByScreen(i,s);if(!t||!o)return;let c=g?.videoAlign||"top",u=C(c);if("contain"===r){Object.assign(t.style,{position:"absolute",top:"50%",left:"50%",width:"100%",height:"100%",maxWidth:"none",transform:`translate(-50%, -50%) scale(${l.VIDEO_IFRAME_SCALE})`});return}o>=b?(n=100,p=o/b*100):(p=100,n=b/o*100),Object.assign(t.style,{position:"absolute",top:u.top,left:"50%",width:a?"500%":`${n}%`,height:a?"100%":`${p}%`,maxWidth:"none",transform:u.transform})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../constant.js"),t=require("./helpers.js"),r=require("@gem-sdk/system"),a=require("
|
|
1
|
+
"use strict";var e=require("../../constant.js"),t=require("./helpers.js"),r=require("@gem-sdk/system"),a=require("../constants.js");exports.getAdaptiveImageAttrs=({styles:e,setting:r,isLiquid:s})=>{let{alt:i,srcSet:l,priority:g,qualityPercent:o,qualityType:c,title:p}=r??{},u=t.getAspectRatio({styles:e,setting:r}),n=l?.desktop?.backupFileKey?t.getNewBackupFileKey(l?.desktop?.backupFileKey??"",l?.desktop?.src??""):"",A=s?t.getImageSrc({src:l?.desktop?.src,backupFileKey:n,backupFilePath:l?.desktop?.backupFilePath,storage:l?.desktop?.storage}):l?.desktop?.src??"",E=g?{}:{"base-src":A??"","quality-type":t.safeStringify(c),"quality-percent":t.safeStringify(o)};return{pictureClass:"gp-contents",...i&&{alt:i},...p&&{title:p},...l&&{srcSet:l},...g&&a.PRIORITY_LOAD_ATTRS,...E,...e?.objectFit&&{layout:e.objectFit},aspectRatio:u}},exports.getContainerAttrs=(e,t)=>({...e,...t&&{"data-id":t}}),exports.getImageLiquidAttrs=({pageContext:e})=>({...e&&{pageContext:e}}),exports.getLinkWrapperAttrs=({urlData:t,imageLink:r,title:a,isLiquid:s=!1})=>{let i=s?{...t,...r?.noFollow&&{rel:"nofollow"},title:a}:{setting:t,title:a};return r?.type!=="go-to-sales-page"?r?.link?i:{}:s?{href:e.HREF_TO_SALES_PAGE,target:"_self"}:{setting:{href:e.HREF_TO_SALES_PAGE,target:"_self"}}},exports.getNextImageAttrs=({styles:e,setting:r})=>{let{objectFit:a}=e??{},{vw:s,alt:i,title:l,quality:g,priority:o,isNotLazyload:c,qualityType:p,qualityPercent:u}=r??{},n=t.getAspectRatio({styles:e,setting:r});return{...r?.image,...s&&{vw:s},...i&&{alt:i},...l&&{title:l},...g&&{quality:g},...o&&{priority:o},isNotLazyload:c,setting:{aspectRatio:n,layout:a,qualityType:p,qualityPercent:u}}},exports.getNextImageLiquidAttrs=e=>{let{srcset:a,setting:s,storage:i,baseSrc:l,priority:g,customAttrs:o,width:c=2237,height:p=1678,isNotLazyload:u,backupFileKey:n,backupFilePath:A,srcIsLiquidCode:E,pageContext:_,alt:y=t.NEXT_IMAGE_CONFIG.DEFAULT_ALT,title:I,src:F=t.NEXT_IMAGE_CONFIG.DEFAULT_SRC,sizes:d=t.NEXT_IMAGE_CONFIG.DEFAULT_SIZES}=e,L=!u&&(_?.enableLazyLoadImage??!0)&&!g;return r.createAttr({...o,...(()=>{let{qualityPercent:e,qualityType:r}=s??{},a=!g&&r&&e?{"quality-type":t.safeStringify(r),"quality-percent":t.safeStringify(e)}:{"quality-type":"","quality-percent":""};return{...y&&{alt:y},...I&&{title:I},width:c,height:p,draggable:"false",...a}})(),...(()=>{let e=n?t.getNewBackupFileKey(n??"",F):"",r=E?l:t.getImageSrc({src:F,backupFileKey:e,backupFilePath:A,storage:i}),s=E?F:t.getSrcSet(e??"",i??"THEME",F),o={sizes:"100vw",src:t.createBlurDataURL(c,p),...r&&!g?{"base-src":r}:{},...r?{"data-src":r}:{},...s?{"data-srcset":s}:{}},u={sizes:d,src:r??"",isNotLazyload:"true",srcset:a??"",...r&&!g?{"base-src":r}:{},...g?{loading:"eager",fetchpriority:"high"}:{loading:"lazy"}};return{"data-sizes":"auto",...L?o:u}})()})},exports.getNextImageReactAttrs=e=>{let{width:a=t.NEXT_IMAGE_CONFIG.DEFAULT_WIDTH_PROPS,height:s=t.NEXT_IMAGE_CONFIG.DEFAULT_HEIGHT_PROPS,quality:i,priority:l,isNotLazyload:g,pageContext:o,base64:c=t.IMAGE_PLACEHOLDER,alt:p=t.NEXT_IMAGE_CONFIG.DEFAULT_ALT,title:u,src:n=t.NEXT_IMAGE_CONFIG.DEFAULT_SRC}=e,A=!g&&(o?.enableLazyLoadImage??!0)&&!l,E=r.createAttr((()=>{let e={loading:"lazy",placeholder:"blur",...c&&{blurDataURL:c}};return{...A?e:{loading:"eager",fetchpriority:"high"}}})());return{src:n,alt:p,title:u,width:a,height:s,quality:i,...E}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),r=require("./AdaptiveImage.js"),a=require("./NextImage.js"),l=require("../common/styles.js"),i=require("../common/classes.js"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("@gem-sdk/core"),s=require("@gem-sdk/system"),r=require("./AdaptiveImage.js"),a=require("./NextImage.js"),l=require("../common/styles.js"),i=require("../common/classes.js"),n=require("../common/attrs.js"),c=require("../../helpers.js");exports.default=({style:o,styles:d,setting:u,children:g,advanced:m,className:y,builderAttrs:p,builderProps:C,onLoad:j,onClick:k})=>{let{imageLink:x,isAdaptive:q,enableImageLink:v}=u??{},I=t.useEditorMode(),{Wrapper:f,urlData:A,shouldRenderLink:N}=c.getLinkData({defaultWrap:"div",setting:x,enableImageLink:v}),S=v&&!N?()=>c.handleClickLink(x,I):void 0,h=S&&{onClick:S,role:"link",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),S())}},W=s.createStyleReact(l.getWrapperStyles(d)),L=s.createStyle(l.getImageStyles(d,C)),D=s.createStyle(l.getContainerStyles(o,d)),b=s.createClass(i.getWrapperClasses()),E=s.createClass(i.getImageClasses(y,d)),M=s.createClass(i.getContainerClasses(C?.uid,m?.cssClass,d?.shape)),_=s.createAttr(n.getContainerAttrs(p,C?.uid)),w=n.getLinkWrapperAttrs({urlData:A,imageLink:x,title:u?.title}),K=n.getAdaptiveImageAttrs({styles:d,setting:u}),O=n.getNextImageAttrs({styles:d,setting:u});return e.jsxs("div",{role:"presentation",..._,style:D,className:M,onClick:k,children:[e.jsx(f,{...w,...h,style:W,className:b,children:s.If(q,e.jsx(r.default,{...K,style:L,className:E}),e.jsx(a.default,{...O,style:L,className:E,onLoad:j}))}),g]})};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.LINK_ACTION={GO_TO_SALES_PAGE:"go-to-sales-page"};
|
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./accordion/index.js"),t=require("./article/index.js"),r=require("./hero-banner/index.js"),o=require("./breadcrumb/index.js"),s=require("./button/index.js"),i=require("./carousel-v3/index.js"),n=require("./carousel/index.js"),u=require("./cart/index.js"),p=require("./code/index.js"),a=require("./collection/index.js"),c=require("./countdown-timer/index.js"),d=require("./coupon/index.js"),l=require("./dialog/index.js"),m=require("./estimate-delivery/index.js"),x=require("./grid/index.js"),q=require("./form/index.js"),f=require("./header/index.js"),h=require("./heading/index.js"),j=require("./icon/index.js"),g=require("./icon-list/index.js"),P=require("./icon-list-hoz/index.js"),S=require("./icon-list-v2/index.js"),y=require("./image/index.js"),T=require("./image-comparison/index.js"),I=require("./image-detection/index.js"),C=require("./input/index.js"),A=require("./line/index.js"),B=require("./link/index.js"),L=require("./marquee/index.js"),R=require("./menu/index.js"),b=require("./modal/index.js"),E=require("./notification/hooks/useNotification.js"),D=require("./notification/components/Notice.js"),k=require("./pagination/index.js"),w=require("./post-purchase/advanced-list/index.js"),v=require("./post-purchase/button/index.js"),_=require("./post-purchase/callout-banner/index.js"),N=require("./post-purchase/countdown-timer/index.js"),O=require("./post-purchase/image/index.js"),F=require("./post-purchase/line/index.js"),M=require("./post-purchase/link/index.js"),G=require("./post-purchase/text/index.js"),H=require("./post-purchase/product/index.js"),U=require("./post-purchase/buyer-consent/index.js"),V=require("./product/index.js"),K=require("./radio/index.js"),z=require("./select/index.js"),Q=require("./tab/index.js"),W=require("./text/index.js"),Y=require("./textarea/index.js"),X=require("./video/index.js"),J=require("./third-party/index.js"),Z=require("./third-party-instant/index.js"),$=require("./stock-counter/index.js"),ee=require("./third-party-slot/index.js"),et=require("./shop-pay-installment/index.js"),er=require("./sticky/index.js"),eo=require("./next.js"),es=require("./headless.js"),ei=require("./index.liquid.js"),en=require("./builder.js"),eu=require("./setting.js"),ep=require("./postPurchaseSetting.js");require("react/jsx-runtime"),require("react"),require("@gem-sdk/core");var ea=require("./common/const.js"),ec=require("./helpers.js"),ed=require("./translate.js"),el=require("./constant.js"),em=require("./accordion/components/Accordion.js"),ex=require("./accordion/components/AccordionItem.js"),eq=require("./third-party/components/AftershipEmailMarketingsms.js"),ef=require("./third-party/components/AirProductReviewsAppUgc.js"),eh=require("./third-party/components/AliReviews.js"),ej=require("./third-party/components/AlsoBoughtCbb.js"),eg=require("./third-party/components/AovBundlesVolumeDiscounts.js"),eP=require("./third-party/components/AovFreeGiftBuyXGetYBogo.js"),eS=require("./third-party/components/AppointmentBookingCowlendar.js"),ey=require("./third-party/components/AppstleBundlesDiscounts.js"),eT=require("./third-party/components/AppstleLoyaltyRewardProgram.js"),eI=require("./third-party/components/AppstleSubscriptions.js"),eC=require("./article/components/ArticleAuthor.js"),eA=require("./article/components/ArticleCategory.js"),eB=require("./article/components/ArticleContent.js"),eL=require("./article/components/ArticleDate.js"),eR=require("./article/components/ArticleExcerpt.js"),eb=require("./article/components/ArticleImage.js"),eE=require("./article/components/ArticleList.js"),eD=require("./article/components/ArticlePagination.js"),ek=require("./article/components/ArticleReadMore.js"),ew=require("./article/components/ArticleTag.js"),ev=require("./article/components/ArticleTitle.js"),e_=require("./header/components/kind/basic/index.js"),eN=require("./third-party/components/BestBuyFulfillment.js"),eO=require("./third-party/components/BfSizeChartSizeGuide.js"),eF=require("./third-party/components/BirdChime.js"),eM=require("./third-party/components/BloyRewardsProgramLoyalty.js"),eG=require("./third-party/components/Bogos.js"),eH=require("./third-party/components/BoldProductOptions.js"),eU=require("./third-party/components/BoldSubscriptions.js"),eV=require("./third-party/components/BonLoyaltyRewardsReferrals.js"),eK=require("./third-party/components/BonySubscriptionsApp.js"),ez=require("./third-party/components/BoostAISearchDiscovery.js"),eQ=require("./breadcrumb/components/Breadcrumb.js"),eW=require("./third-party/components/Bundler.js"),eY=require("./button/components/Button.js"),eX=require("./code/components/CSSCode.js"),eJ=require("./carousel/components/root/Carousel.js"),eZ=require("./carousel/components/item/CarouselItem.js"),e$=require("./carousel-v3/components/item/CarouselItem.js"),e2=require("./carousel-v3/components/root/Carousel.js"),e3=require("./cart/components/Cart.js"),e1=require("./cart/components/CartCheckout.js"),e0=require("./cart/components/CartDiscount.js"),e4=require("./cart/components/CartLineAttribute.js"),e5=require("./cart/components/CartLineImage.js"),e6=require("./cart/components/CartLinePrice.js"),e7=require("./cart/components/CartLineVariant.js"),e8=require("./cart/components/CartList.js"),e9=require("./cart/components/CartOrderNote.js"),te=require("./cart/components/CartTotalItem.js"),tt=require("./cart/components/CartTotalPrice.js"),tr=require("./cart/components/CheckoutNow.js"),to=require("./third-party/components/CleanSizeCharts.js"),ts=require("./grid/components/col/Col.js"),ti=require("./collection/components/collection-banner/CollectionBanner.js"),tn=require("./collection/components/collection-description/CollectionDescription.js"),tu=require("./collection/components/collection-paginator/CollectionPaginator.js"),tp=require("./collection/components/collection-title/CollectionTitle.js"),ta=require("./collection/components/collection-toolbar/CollectionToolbar.js"),tc=require("./form/components/contact/Contact.js"),td=require("./countdown-timer/components/Countdown.js"),tl=require("./coupon/components/Coupon.js"),tm=require("./cart/components/CouponList.js"),tx=require("./third-party/components/CrossSellCartUpsell.js"),tq=require("./third-party/components/CustomProductOptionsVariant.js"),tf=require("./third-party/components/DealeasyVolumeDiscounts.js"),th=require("./header/components/kind/basic/DesktopMenu.js"),tj=require("./dialog/components/Dialog.js"),tg=require("./cart/components/DiscountInput.js"),tP=require("./third-party/components/DiscountyBulkDiscountSales.js"),tS=require("./product/components/dynamic-checkout/DynamicCheckout.js"),ty=require("./third-party/components/EasifyProductOptions.js"),tT=require("./third-party/components/EasyBundleBuilderSkailama.js"),tI=require("./third-party/components/EasySellCOD.js"),tC=require("./third-party/components/EcoboostifyShoppableReelUgc.js"),tA=require("./third-party/components/EcomsendBackInStockAlert.js"),tB=require("./third-party/components/EssentPreorderBackInStock.js"),tL=require("./third-party/components/EssentialAnnouncementBar.js"),tR=require("./third-party/components/EssentialCountdownTimerBar.js"),tb=require("./estimate-delivery/components/EstimateDate.js"),tE=require("./third-party/components/EstimatedDeliveryDatePlus.js"),tD=require("./third-party/components/FastBundleBundlesDiscounts.js"),tk=require("./third-party/components/FeraReviews.js"),tw=require("./product/components/file-upload/UploadFile.js"),tv=require("./third-party/components/FirePush.js"),t_=require("./third-party/components/FlyBundlesUpsellsFbt.js"),tN=require("./third-party/components/FordeerProductLabels.js"),tO=require("./form/components/form-checkbox/FormCheckbox.js"),tF=require("./form/components/form-dropdown/FormDropdown.js"),tM=require("./form/components/form-email/FormEmail.js"),tG=require("./form/components/textarea/TextArea.js"),tH=require("./third-party/components/FrequentlyBoughtTogether.js"),tU=require("./third-party/components/GloColorSwatchvariantImage.js"),tV=require("./third-party/components/GloboProductOptionsVariant.js"),tK=require("./third-party/components/GoogleReviewsByReputon.js"),tz=require("./third-party/components/Growave.js"),tQ=require("./third-party/components/GrowthSuiteDiscountCodes.js"),tW=require("./header/components/Header.js"),tY=require("./heading/components/Heading.js"),tX=require("./hero-banner/components/HeroBanner.js"),tJ=require("./third-party/components/HextomCountdownTimerBar.js"),tZ=require("./third-party/components/HextomFreeShippingBar.js"),t$=require("./third-party/components/HulkFormBuilder.js"),t2=require("./third-party/components/HulkProductOptions.js"),t3=require("./icon/components/Icon.js"),t1=require("./icon-list/components/IconList.js"),t0=require("./icon-list-hoz/components/IconListHoz.js"),t4=require("./icon-list/components/IconListItem.js"),t5=require("./icon-list-hoz/components/IconListHozItem.js"),t6=require("./icon-list-v2/components/IconList.js"),t7=require("./image/components/Image.js"),t8=require("./image-comparison/components/ImageComparison.js"),t9=require("./image-detection/components/ImageDetection.js"),re=require("./third-party/components/InfiniteOptions.js"),rt=require("./input/components/Input.js"),rr=require("./third-party/components/Instafeed.js"),ro=require("./third-party-instant/components/InstantJudgemeReviews.js"),rs=require("./third-party-instant/components/InstantKlaviyo.js"),ri=require("./third-party-instant/components/InstantLooxReviews.js"),rn=require("./third-party-instant/components/InstantYotpoLoyalty.js"),ru=require("./third-party/components/InstasellShoppableInstagram.js"),rp=require("./third-party/components/JudgemeReviews.js"),ra=require("./third-party/components/JunipProductReviewsUgc.js"),rc=require("./third-party/components/KachingBundles.js"),rd=require("./third-party/components/KachingSubscriptionsApp.js"),rl=require("./third-party/components/KingProductOptions.js"),rm=require("./third-party/components/KiteFreeGiftDiscount.js"),rx=require("./third-party/components/KlarnaMessaging.js"),rq=require("./third-party/components/Klaviyo.js"),rf=require("./third-party/components/KoalaBundleQuantityDiscount.js"),rh=require("./third-party/components/LaiProductReviews.js"),rj=require("./line/components/Line.js"),rg=require("./link/components/Link.js"),rP=require("./third-party/components/LoloyalLoyaltyReferrals.js"),rS=require("./third-party/components/LoopSubscriptions.js"),ry=require("./third-party/components/LooxReviews.js"),rT=require("./marquee/components/Marquee.js"),rI=require("./third-party/components/MaxbundleProductBundles.js"),rC=require("./third-party/components/MbcBundleVolumeDiscount.js"),rA=require("./menu/components/Menu.js"),rB=require("./header/components/kind/basic/MobileMenu.js"),rL=require("./modal/components/Modal.js"),rR=require("./header/components/kind/modern/index.js"),rb=require("./third-party/components/MyappgurusProductReviews.js"),rE=require("./form/components/newsletter/Newsletter.js"),rD=require("./third-party/components/NotifyBackInStockPreOrder.js"),rk=require("./third-party/components/OkendoReviewsLoyalty.js"),rw=require("./third-party/components/Omnisend.js"),rv=require("./third-party/components/Opinew.js"),r_=require("./pagination/components/Pagination.js"),rN=require("./third-party/components/ParcelPanel.js"),rO=require("./third-party/components/PickyStory.js"),rF=require("./post-purchase/product/components/AcceptButton.js"),rM=require("./post-purchase/advanced-list/components/AdvancedListPostPurchase.js"),rG=require("./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js"),rH=require("./post-purchase/button/components/Button.js"),rU=require("./post-purchase/buyer-consent/components/BuyerConsent.js"),rV=require("./post-purchase/callout-banner/components/CalloutBox.js"),rK=require("./post-purchase/callout-banner/components/CalloutText.js"),rz=require("./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js"),rQ=require("./post-purchase/image/components/Image.js"),rW=require("./post-purchase/line/components/PostPurchaseLine.js"),rY=require("./post-purchase/link/components/PostPurchaseLink.js"),rX=require("./post-purchase/product/components/ProductDescription.js"),rJ=require("./post-purchase/product/components/ProductDiscountTag.js"),rZ=require("./post-purchase/product/components/product-image/index.js"),r$=require("./post-purchase/product/components/product-offer/components/ProductOffer.js"),r2=require("./post-purchase/product/components/ProductPrice.js"),r3=require("./post-purchase/product/components/ProductPriceBreakdown.js"),r1=require("./post-purchase/product/components/ProductQuantity.js"),r0=require("./post-purchase/product/components/product-subscription/ProductSubscription.js"),r4=require("./post-purchase/product/components/ProductTitle.js"),r5=require("./post-purchase/product/components/product-variant/components/ProductVariant.js"),r6=require("./post-purchase/text/components/Text.js"),r7=require("./third-party/components/PowerfulContactFormBuilder.js"),r8=require("./third-party/components/PreorderNowPreOrderPq.js"),r9=require("./third-party/components/PreorderNowWodPresale.js"),oe=require("./product/components/product-wrap/Product.js"),ot=require("./product/components/product-badge/ProductBadge.js"),or=require("./product/components/product-bundle/ProductBundleDiscount.js"),oo=require("./product/components/product-bundle/ProductBundleDiscountItem.js"),os=require("./product/components/product-button/ProductButton.js"),oi=require("./product/components/product-description/ProductDescription.js"),on=require("./product/components/ProductImages.js"),ou=require("./product/components/product-images-v2/ProductImageV2.js"),op=require("./product/components/product-images-v3/ProductImageV3.js"),oa=require("./product/components/product-list/ProductList.js"),oc=require("./product/components/product-list-v3/ProductList.js"),od=require("./third-party/components/ProductOptionsCustomizer.js"),ol=require("./third-party/components/ProductOptionsVariantOption.js"),om=require("./product/components/product-price/ProductPrice.js"),ox=require("./product/components/product-properties/ProductProperties.js"),oq=require("./product/components/product-quantity/ProductQuantity.js"),of=require("./product/components/product-quick-view/QuickView.js"),oh=require("./third-party/components/ProductReviews.js"),oj=require("./product/components/product-sku/Sku.js"),og=require("./product/components/product-discount-tag/ProductDiscountTag.js"),oP=require("./product/components/product-title/ProductTitle.js"),oS=require("./product/components/product-variants/ProductVariants.js"),oy=require("./product/components/product-vendor/Vendor.js"),oT=require("./product/components/product-view-more/ProductViewMore.js"),oI=require("./third-party/components/PumperBundlesVolumeDiscount.js"),oC=require("./third-party/components/PushOwl.js"),oA=require("./third-party/components/QikifyUpsell.js"),oB=require("./radio/components/Radio.js"),oL=require("./third-party/components/RapiBundleQuantityBreaks.js"),oR=require("./third-party/components/RechargeSubscriptions.js"),ob=require("./third-party/components/RecurpaySubscriptionApp.js"),oE=require("./third-party/components/Releasit.js"),oD=require("./third-party/components/RequestQuoteHidePrice.js"),ok=require("./third-party/components/ReviewxpoProductReviewsApp.js"),ow=require("./third-party/components/Rivyo.js"),ov=require("./grid/components/root/Root.js"),o_=require("./grid/components/row/Row.js"),oN=require("./third-party/components/Ryviu.js"),oO=require("./third-party/components/SealSubscriptions.js"),oF=require("./grid/components/section/Section.js"),oM=require("./third-party/components/SegunoEmailMarketing.js"),oG=require("./select/components/Select.js"),oH=require("./third-party/components/Selleasy.js"),oU=require("./third-party/components/SeoantTrustBadgesIcon.js"),oV=require("./cart/components/shop-pay-button/ShopPayButton.js"),oK=require("./shop-pay-installment/components/ShopPayInstallments.js"),oz=require("./third-party/components/ShopifyForms.js"),oQ=require("./third-party/components/ShopifySubscriptions.js"),oW=require("./third-party/components/SimpleBundlesKits.js"),oY=require("./third-party/components/SkioSubscriptionsYcS20.js"),oX=require("./third-party/components/SmartSearchBarAndFilters.js"),oJ=require("./third-party/components/SproutPlantTreesGrowSales.js"),oZ=require("./third-party/components/Stamped.js"),o$=require("./third-party/components/StellarDeliveryDatePickup.js"),o2=require("./sticky/components/Sticky.js"),o3=require("./stock-counter/components/StockCounter.js"),o1=require("./third-party/components/SubifySubscriptionsApp.js"),o0=require("./form/components/submit-button/SubmitButton.js"),o4=require("./tab/components/TabItem.js"),o5=require("./tab/components/Tabs.js"),o6=require("./third-party/components/TagembedSocialPostReview.js"),o7=require("./third-party/components/TagshopShoppableVideosUgc.js"),o8=require("./third-party/components/TeeinblueProductPersonalizer.js"),o9=require("./text/components/Text.js"),se=require("./form/components/textfield/TextField.js"),st=require("./form/components/textinput/TextInput.js"),sr=require("./textarea/components/Textarea.js"),so=require("./third-party-slot/components/ThirdPartySlot.js"),ss=require("./third-party/components/TrustBadgesBear.js"),si=require("./third-party/components/TrustMe.js"),sn=require("./third-party/components/TrustedsiteTrustBadges.js"),su=require("./third-party/components/Trustoo.js"),sp=require("./third-party/components/TrustreviewsProductReviews.js"),sa=require("./third-party/components/TrustshopProductReviews.js"),sc=require("./third-party/components/UltimateSalesBoost.js"),sd=require("./third-party/components/UnlimitedBundlesDiscounts.js"),sl=require("./third-party/components/UppromoteAffiliateMarketing.js"),sm=require("./video/components/Video.js"),sx=require("./third-party/components/Vitals.js"),sq=require("./third-party/components/WcWishlistBackInStock.js"),sf=require("./third-party/components/WhatmoreShoppableVideosreel.js"),sh=require("./third-party/components/WideBundle.js"),sj=require("./third-party/components/Wiser.js"),sg=require("./third-party/components/WishlistKing.js"),sP=require("./third-party/components/WishlistPlus.js"),sS=require("./third-party/components/YotpoLoyalty.js"),sy=require("./third-party/components/YotpoReviews.js"),sT=require("./stock-counter/common/helpers.js"),sI=require("./marquee/components/MarqueeItem.js"),sC=require("./modal/components/confirm.js"),sA=require("./post-purchase/product/settings/presets-config/product-presets/product-1-col.js"),sB=require("./post-purchase/product/settings/presets-config/product-presets/product-2-col.js"),sL=require("./post-purchase/product/settings/presets-config/product-presets/product-default.js");exports.accordionSetting=e.accordionSetting,exports.articleListSetting=t.articleListSetting,exports.bannerSetting=r.bannerSetting,exports.breadcrumbSetting=o.breadcrumbSetting,exports.buttonSetting=s.buttonSetting,exports.carouselSettingV3=i.carouselSettingV3,exports.carouselSetting=n.carouselSetting,exports.cartSetting=u.cartSetting,exports.codeSetting=p.codeSetting,exports.collectionSetting=a.collectionSetting,exports.countdownSetting=c.countdownSetting,exports.couponSetting=d.couponSetting,exports.dialogSetting=l.dialogSetting,exports.estimateDeliverySetting=m.estimateDeliverySetting,exports.gridSetting=x.gridSetting,exports.contactFormSetting=q.contactFormSetting,exports.headerSetting=f.headerSetting,exports.headingSetting=h.headingSetting,exports.iconSetting=j.iconSetting,exports.iconListSetting=g.iconListSetting,exports.iconListHozSetting=P.iconListHozSetting,exports.iconListSettingV2=S.iconListSettingV2,exports.imageSetting=y.imageSetting,exports.imageComparisonSetting=T.imageComparisonSetting,exports.imageDetectionSetting=I.imageDetectionSetting,exports.inputSetting=C.inputSetting,exports.lineSetting=A.lineSetting,exports.linkSetting=B.linkSetting,exports.marqueeSetting=L.marqueeSetting,exports.menuSetting=R.menuSetting,exports.modalSetting=b.modalSetting,exports.useNotification=E.default,exports.Notice=D.default,exports.paginationSetting=k.paginationSetting,exports.postPurchaseAdvancedListSetting=w.postPurchaseAdvancedListSetting,exports.postPurchaseButtonSetting=v.postPurchaseButtonSetting,exports.postPurchaseCalloutBoxSetting=_.postPurchaseCalloutBoxSetting,exports.postPurchaseCountdownTimerSetting=N.postPurchaseCountdownTimerSetting,exports.postPurchaseImageSetting=O.postPurchaseImageSetting,exports.postPurchaseLineSetting=F.postPurchaseLineSetting,exports.postPurchaseLinkSetting=M.postPurchaseLinkSetting,exports.PostPurchaseHeading=G.PostPurchaseHeading,exports.postPurchaseTextSetting=G.postPurchaseTextSetting,exports.postPurchaseProductSetting=H.postPurchaseProductSetting,exports.postPurchaseBuyerConsentSetting=U.postPurchaseBuyerConsentSetting,exports.productSetting=V.productSetting,exports.radioSetting=K.radioSetting,exports.selectSetting=z.selectSetting,exports.tabSetting=Q.tabSetting,exports.textSetting=W.textSetting,exports.textareaSetting=Y.textareaSetting,exports.videoSetting=X.videoSetting,exports.thirdPartySetting=J.thirdPartySetting,exports.thirdPartyInstantSetting=Z.thirdPartyInstantSetting,exports.stockCounterSetting=$.stockCounterSetting,exports.thirdPartySlotSetting=ee.thirdPartySlotSetting,exports.shopPayInstallmentSetting=et.shopPayInstallmentSetting,exports.stickySetting=er.stickySetting,exports.nextComponent=eo.default,exports.headlessComponents=es.default,exports.liquidComponents=ei,exports.builderComponent=en.default,exports.componentSettings=eu.default,exports.postPurchaseSettings=ep.default,exports.ELEMENT_Z_INDEX=ea.ELEMENT_Z_INDEX,exports.REGEX_PAGE_TYPE=ec.REGEX_PAGE_TYPE,exports.checkIsOpenPopup=ec.checkIsOpenPopup,exports.checkIsScrollToTop=ec.checkIsScrollToTop,exports.convertUnitToNumber=ec.convertUnitToNumber,exports.createSettingId=ec.createSettingId,exports.createTranslateKey=ec.createTranslateKey,exports.extractProductID=ec.extractProductID,exports.filterPageContext=ec.filterPageContext,exports.filterTruthyObject=ec.filterTruthyObject,exports.filterTruthyStyles=ec.filterTruthyStyles,exports.getAllHrefFromString=ec.getAllHrefFromString,exports.getBackgroundTranslated=ec.getBackgroundTranslated,exports.getDisplayStyle=ec.getDisplayStyle,exports.getDynamicSourceLocales=ec.getDynamicSourceLocales,exports.getInsertLinkData=ec.getInsertLinkData,exports.getLinkArticle=ec.getLinkArticle,exports.getLinkData=ec.getLinkData,exports.getSeoTranslated=ec.getSeoTranslated,exports.getSettingPreloadData=ec.getSettingPreloadData,exports.getStaticLocale=ec.getStaticLocale,exports.handleClickLink=ec.handleClickLink,exports.isEmptyObject=ec.isEmptyObject,exports.isHexTransparent=ec.isHexTransparent,exports.isLinkedToSalesPage=ec.isLinkedToSalesPage,exports.isShopifyDomain=ec.isShopifyDomain,exports.isTransparentColor=ec.isTransparentColor,exports.isTransparentRGBA=ec.isTransparentRGBA,exports.normalizeMailto=ec.normalizeMailto,exports.replaceAllHrefFromString=ec.replaceAllHrefFromString,exports.replaceLinkData=ec.replaceLinkData,exports.youtubeShortsRegex=ec.youtubeShortsRegex,exports.translateComponents=ed,exports.TAGS_WITH_REPLACE_LINK_DATA=el.TAGS_WITH_REPLACE_LINK_DATA,exports.Accordion=em.default,exports.AccordionItem=ex.default,exports.AftershipEmailMarketingsms=eq.default,exports.AirProductReviewsAppUgc=ef.default,exports.AliReviews=eh.default,exports.AlsoBoughtCbb=ej.default,exports.AovBundlesVolumeDiscounts=eg.default,exports.AovFreeGiftBuyXGetYBogo=eP.default,exports.AppointmentBookingCowlendar=eS.default,exports.AppstleBundlesDiscounts=ey.default,exports.AppstleLoyaltyRewardProgram=eT.default,exports.AppstleSubscriptions=eI.default,exports.ArticleAuthor=eC.default,exports.ArticleCategory=eA.default,exports.ArticleContent=eB.default,exports.ArticleDate=eL.default,exports.ArticleExcerpt=eR.default,exports.ArticleImage=eb.default,exports.ArticleList=eE.default,exports.ArticlePagination=eD.default,exports.ArticleReadMore=ek.default,exports.ArticleTag=ew.default,exports.ArticleTitle=ev.default,exports.BasicHeader=e_.default,exports.BestBuyFulfillment=eN.default,exports.BfSizeChartSizeGuide=eO.default,exports.BirdChime=eF.default,exports.BloyRewardsProgramLoyalty=eM.default,exports.Bogos=eG.default,exports.BoldProductOptions=eH.default,exports.BoldSubscriptions=eU.default,exports.BonLoyaltyRewardsReferrals=eV.default,exports.BonySubscriptionsApp=eK.default,exports.BoostAISearchDiscovery=ez.default,exports.Breadcrumb=eQ.default,exports.Bundler=eW.default,exports.Button=eY.default,exports.CSSCode=eX.default,exports.Carousel=eJ.default,exports.CarouselItem=eZ.default,exports.CarouselItemV3=e$.default,exports.CarouselV3=e2.default,exports.Cart=e3.default,exports.CartCheckout=e1.default,exports.CartDiscount=e0.default,exports.CartLineAttribute=e4.default,exports.CartLineImage=e5.default,exports.CartLinePrice=e6.default,exports.CartLineVariant=e7.default,exports.CartList=e8.default,exports.CartOrderNote=e9.default,exports.CartTotalItem=te.default,exports.CartTotalPrice=tt.default,exports.CheckoutNow=tr.default,exports.CleanSizeCharts=to.default,exports.Col=ts.default,exports.CollectionBanner=ti.default,exports.CollectionDescription=tn.default,exports.CollectionPaginator=tu.default,exports.CollectionTitle=tp.default,exports.CollectionToolbar=ta.default,exports.ContactForm=tc.default,exports.Countdown=td.default,exports.Coupon=tl.default,exports.CouponList=tm.default,exports.CrossSellCartUpsell=tx.default,exports.CustomProductOptionsVariant=tq.default,exports.DealeasyVolumeDiscounts=tf.default,exports.DesktopMenu=th.default,exports.Dialog=tj.default,exports.DiscountInput=tg.default,exports.DiscountyBulkDiscountSales=tP.default,exports.DynamicCheckout=tS.default,exports.EasifyProductOptions=ty.default,exports.EasyBundleBuilderSkailama=tT.default,exports.EasySellCOD=tI.default,exports.EcoboostifyShoppableReelUgc=tC.default,exports.EcomsendBackInStockAlert=tA.default,exports.EssentPreorderBackInStock=tB.default,exports.EssentialAnnouncementBar=tL.default,exports.EssentialCountdownTimerBar=tR.default,exports.EstimateDate=tb.default,exports.EstimatedDeliveryDatePlus=tE.default,exports.FastBundleBundlesDiscounts=tD.default,exports.FeraReviews=tk.default,exports.FileUpload=tw.default,exports.FirePush=tv.default,exports.FlyBundlesUpsellsFbt=t_.default,exports.FordeerProductLabels=tN.default,exports.FormCheckbox=tO.default,exports.FormDropdown=tF.default,exports.FormEmail=tM.default,exports.FormTextarea=tG.default,exports.FrequentlyBoughtTogether=tH.default,exports.GloColorSwatchvariantImage=tU.default,exports.GloboProductOptionsVariant=tV.default,exports.GoogleReviewsByReputon=tK.default,exports.Growave=tz.default,exports.GrowthSuiteDiscountCodes=tQ.default,exports.Header=tW.default,exports.Heading=tY.default,exports.HeroBanner=tX.default,exports.HextomCountdownTimerBar=tJ.default,exports.HextomFreeShippingBar=tZ.default,exports.HulkFormBuilder=t$.default,exports.HulkProductOptions=t2.default,exports.Icon=t3.default,exports.IconList=t1.default,exports.IconListHoz=t0.default,exports.IconListItem=t4.default,exports.IconListItemHoz=t5.default,exports.IconListV2=t6.default,exports.Image=t7.default,exports.ImageComparison=t8.default,exports.ImageDetection=t9.default,exports.InfiniteOptions=re.default,exports.Input=rt.default,exports.Instafeed=rr.default,exports.InstantJudgemeReviews=ro.default,exports.InstantKlaviyo=rs.default,exports.InstantLooxReviews=ri.default,exports.InstantYotpoLoyalty=rn.default,exports.InstasellShoppableInstagram=ru.default,exports.JudgemeReviews=rp.default,exports.JunipProductReviewsUgc=ra.default,exports.KachingBundles=rc.default,exports.KachingSubscriptionsApp=rd.default,exports.KingProductOptions=rl.default,exports.KiteFreeGiftDiscount=rm.default,exports.KlarnaMessaging=rx.default,exports.Klaviyo=rq.default,exports.KoalaBundleQuantityDiscount=rf.default,exports.LaiProductReviews=rh.default,exports.Line=rj.default,exports.Link=rg.default,exports.LoloyalLoyaltyReferrals=rP.default,exports.LoopSubscriptions=rS.default,exports.LooxReviews=ry.default,exports.Marquee=rT.default,exports.MaxbundleProductBundles=rI.default,exports.MbcBundleVolumeDiscount=rC.default,exports.Menu=rA.default,exports.MobileMenu=rB.default,exports.Modal=rL.default,exports.ModernHeader=rR.default,exports.MyappgurusProductReviews=rb.default,exports.Newsletter=rE.default,exports.NotifyBackInStockPreOrder=rD.default,exports.OkendoReviewsLoyalty=rk.default,exports.Omnisend=rw.default,exports.Opinew=rv.default,exports.Pagination=r_.default,exports.ParcelPanel=rN.default,exports.PickyStory=rO.default,exports.PostPurchaseAcceptButton=rF.default,exports.PostPurchaseAdvancedList=rM.default,exports.PostPurchaseAdvancedListItem=rG.default,exports.PostPurchaseButton=rH.default,exports.PostPurchaseBuyerConsent=rU.default,exports.PostPurchaseCalloutBox=rV.default,exports.PostPurchaseCalloutText=rK.default,exports.PostPurchaseCountdownTimer=rz.default,exports.PostPurchaseImage=rQ.default,exports.PostPurchaseLine=rW.default,exports.PostPurchaseLink=rY.default,exports.PostPurchaseProductDescription=rX.default,exports.PostPurchaseProductDiscountTag=rJ.default,exports.PostPurchaseProductImages=rZ.default,exports.PostPurchaseProductOffer=r$.default,exports.PostPurchaseProductPrice=r2.default,exports.PostPurchaseProductPriceBreakdown=r3.default,exports.PostPurchaseProductQuantity=r1.default,exports.PostPurchaseProductSubscription=r0.default,exports.PostPurchaseProductTitle=r4.default,exports.PostPurchaseProductVariants=r5.default,exports.PostPurchaseText=r6.default,exports.PowerfulContactFormBuilder=r7.default,exports.PreorderNowPreOrderPq=r8.default,exports.PreorderNowWodPresale=r9.default,exports.Product=oe.default,exports.ProductBadge=ot.default,exports.ProductBundleDiscount=or.default,exports.ProductBundleDiscountItem=oo.default,exports.ProductButton=os.default,exports.ProductDescription=oi.default,exports.ProductImages=on.default,exports.ProductImagesV2=ou.default,exports.ProductImagesV3=op.default,exports.ProductList=oa.default,exports.ProductListV3=oc.default,exports.ProductOptionsCustomizer=od.default,exports.ProductOptionsVariantOption=ol.default,exports.ProductPrice=om.default,exports.ProductPropertyInput=ox.default,exports.ProductQuantity=oq.default,exports.ProductQuickView=of.default,exports.ProductReviews=oh.default,exports.ProductSku=oj.default,exports.ProductTag=og.default,exports.ProductTitle=oP.default,exports.ProductVariants=oS.default,exports.ProductVendor=oy.default,exports.ProductViewMore=oT.default,exports.PumperBundlesVolumeDiscount=oI.default,exports.PushOwl=oC.default,exports.QikifyUpsell=oA.default,exports.Radio=oB.default,exports.RapiBundleQuantityBreaks=oL.default,exports.RechargeSubscriptions=oR.default,exports.RecurpaySubscriptionApp=ob.default,exports.Releasit=oE.default,exports.RequestQuoteHidePrice=oD.default,exports.ReviewxpoProductReviewsApp=ok.default,exports.Rivyo=ow.default,exports.Root=ov.default,exports.Row=o_.default,exports.Ryviu=oN.default,exports.SealSubscriptions=oO.default,exports.Section=oF.default,exports.SegunoEmailMarketing=oM.default,exports.Select=oG.default,exports.Selleasy=oH.default,exports.SeoantTrustBadgesIcon=oU.default,exports.ShopPayButton=oV.default,exports.ShopPayInstallments=oK.default,exports.ShopifyForms=oz.default,exports.ShopifySubscriptions=oQ.default,exports.SimpleBundlesKits=oW.default,exports.SkioSubscriptionsYcS20=oY.default,exports.SmartSearchBarAndFilters=oX.default,exports.SproutPlantTreesGrowSales=oJ.default,exports.Stamped=oZ.default,exports.StellarDeliveryDatePickup=o$.default,exports.Sticky=o2.default,exports.StockCounter=o3.default,exports.SubifySubscriptionsApp=o1.default,exports.SubmitButton=o0.default,exports.TabItem=o4.default,exports.Tabs=o5.default,exports.TagembedSocialPostReview=o6.default,exports.TagshopShoppableVideosUgc=o7.default,exports.TeeinblueProductPersonalizer=o8.default,exports.Text=o9.default,exports.TextField=se.default,exports.TextInput=st.default,exports.Textarea=sr.default,exports.ThirdPartySlot=so.default,exports.TrustBadgesBear=ss.default,exports.TrustMe=si.default,exports.TrustedsiteTrustBadges=sn.default,exports.Trustoo=su.default,exports.TrustreviewsProductReviews=sp.default,exports.TrustshopProductReviews=sa.default,exports.UltimateSalesBoost=sc.default,exports.UnlimitedBundlesDiscounts=sd.default,exports.UppromoteAffiliateMarketing=sl.default,exports.Video=sm.default,exports.Vitals=sx.default,exports.WcWishlistBackInStock=sq.default,exports.WhatmoreShoppableVideosreel=sf.default,exports.WideBundle=sh.default,exports.Wiser=sj.default,exports.WishlistKing=sg.default,exports.WishlistPlus=sP.default,exports.YotpoLoyalty=sS.default,exports.YotpoReviews=sy.default,exports.CONTINUE_SELLING_WHEN_OUT_OF_STOCK=sT.CONTINUE_SELLING_WHEN_OUT_OF_STOCK,exports.DEFAULT_FONT_SIZE=sT.DEFAULT_FONT_SIZE,exports.DEFAULT_HIGHLIGHT_TAG=sT.DEFAULT_HIGHLIGHT_TAG,exports.DEFAULT_PROGRESS_BAR_HEIGHT=sT.DEFAULT_PROGRESS_BAR_HEIGHT,exports.DEFAULT_QUANTITY_TEMPLATE=sT.DEFAULT_QUANTITY_TEMPLATE,exports.DEFAULT_RANGE_STEP=sT.DEFAULT_RANGE_STEP,exports.DEFAULT_REMAINING_PERCENT=sT.DEFAULT_REMAINING_PERCENT,exports.DEFAULT_REMAINING_QUANTITY=sT.DEFAULT_REMAINING_QUANTITY,exports.DEFAULT_SCARCITY_THRESHOLD=sT.DEFAULT_SCARCITY_THRESHOLD,exports.MAX_PROGRESS_BAR_HEIGHT=sT.MAX_PROGRESS_BAR_HEIGHT,exports.MAX_REMAINING_PERCENT=sT.MAX_REMAINING_PERCENT,exports.MIN_PROGRESS_BAR_HEIGHT=sT.MIN_PROGRESS_BAR_HEIGHT,exports.MIN_REMAINING_PERCENT=sT.MIN_REMAINING_PERCENT,exports.MIN_REMAINING_QUANTITY=sT.MIN_REMAINING_QUANTITY,exports.NO_PRODUCT_LEFT=sT.NO_PRODUCT_LEFT,exports.OUT_OF_STOCK=sT.OUT_OF_STOCK,exports.QUANTITY_SOURCE=sT.QUANTITY_SOURCE,exports.convertSizeToWidth=sT.convertSizeToWidth,exports.getInlineCss=sT.getInlineCss,exports.getLiquidInitData=sT.getLiquidInitData,exports.getLiquidTextContent=sT.getLiquidTextContent,exports.getTextDisplayData=sT.getTextDisplayData,exports.transformHighlighTag=sT.transformHighlighTag,exports.transformNumberTag=sT.transformNumberTag,exports.MarqueeItem=sI.default,exports.openConfirm=sC.openConfirm,exports.postPurchaseProduct1Col=sA.postPurchaseProduct1Col,exports.postPurchaseProduct2Col=sB.postPurchaseProduct2Col,exports.postPurchaseProductDefault=sL.postPurchaseProductDefault;
|
|
1
|
+
"use strict";var e=require("./accordion/index.js"),t=require("./article/index.js"),r=require("./hero-banner/index.js"),o=require("./breadcrumb/index.js"),s=require("./button/index.js"),i=require("./carousel-v3/index.js"),n=require("./carousel/index.js"),u=require("./cart/index.js"),p=require("./code/index.js"),a=require("./collection/index.js"),c=require("./countdown-timer/index.js"),d=require("./coupon/index.js"),l=require("./dialog/index.js"),m=require("./estimate-delivery/index.js"),x=require("./grid/index.js"),q=require("./form/index.js"),f=require("./header/index.js"),h=require("./heading/index.js"),j=require("./icon/index.js"),g=require("./icon-list/index.js"),P=require("./icon-list-hoz/index.js"),S=require("./icon-list-v2/index.js"),y=require("./image/index.js"),T=require("./image-comparison/index.js"),I=require("./image-detection/index.js"),C=require("./input/index.js"),A=require("./line/index.js"),B=require("./link/index.js"),L=require("./marquee/index.js"),R=require("./menu/index.js"),E=require("./modal/index.js"),b=require("./notification/hooks/useNotification.js"),D=require("./notification/components/Notice.js"),k=require("./pagination/index.js"),w=require("./post-purchase/advanced-list/index.js"),v=require("./post-purchase/button/index.js"),_=require("./post-purchase/callout-banner/index.js"),N=require("./post-purchase/countdown-timer/index.js"),O=require("./post-purchase/image/index.js"),F=require("./post-purchase/line/index.js"),M=require("./post-purchase/link/index.js"),G=require("./post-purchase/text/index.js"),H=require("./post-purchase/product/index.js"),U=require("./post-purchase/buyer-consent/index.js"),V=require("./product/index.js"),K=require("./radio/index.js"),z=require("./select/index.js"),Q=require("./tab/index.js"),W=require("./text/index.js"),Y=require("./textarea/index.js"),X=require("./video/index.js"),J=require("./third-party/index.js"),Z=require("./third-party-instant/index.js"),$=require("./stock-counter/index.js"),ee=require("./third-party-slot/index.js"),et=require("./shop-pay-installment/index.js"),er=require("./sticky/index.js"),eo=require("./next.js"),es=require("./headless.js"),ei=require("./index.liquid.js"),en=require("./builder.js"),eu=require("./setting.js"),ep=require("./postPurchaseSetting.js");require("react/jsx-runtime"),require("react"),require("@gem-sdk/core");var ea=require("./common/const.js"),ec=require("./helpers.js"),ed=require("./translate.js"),el=require("./constant.js"),em=require("./accordion/components/Accordion.js"),ex=require("./accordion/components/AccordionItem.js"),eq=require("./third-party/components/AftershipEmailMarketingsms.js"),ef=require("./third-party/components/AirProductReviewsAppUgc.js"),eh=require("./third-party/components/AliReviews.js"),ej=require("./third-party/components/AlsoBoughtCbb.js"),eg=require("./third-party/components/AovBundlesVolumeDiscounts.js"),eP=require("./third-party/components/AovFreeGiftBuyXGetYBogo.js"),eS=require("./third-party/components/AppointmentBookingCowlendar.js"),ey=require("./third-party/components/AppstleBundlesDiscounts.js"),eT=require("./third-party/components/AppstleLoyaltyRewardProgram.js"),eI=require("./third-party/components/AppstleSubscriptions.js"),eC=require("./article/components/ArticleAuthor.js"),eA=require("./article/components/ArticleCategory.js"),eB=require("./article/components/ArticleContent.js"),eL=require("./article/components/ArticleDate.js"),eR=require("./article/components/ArticleExcerpt.js"),eE=require("./article/components/ArticleImage.js"),eb=require("./article/components/ArticleList.js"),eD=require("./article/components/ArticlePagination.js"),ek=require("./article/components/ArticleReadMore.js"),ew=require("./article/components/ArticleTag.js"),ev=require("./article/components/ArticleTitle.js"),e_=require("./header/components/kind/basic/index.js"),eN=require("./third-party/components/BestBuyFulfillment.js"),eO=require("./third-party/components/BfSizeChartSizeGuide.js"),eF=require("./third-party/components/BirdChime.js"),eM=require("./third-party/components/BloyRewardsProgramLoyalty.js"),eG=require("./third-party/components/Bogos.js"),eH=require("./third-party/components/BoldProductOptions.js"),eU=require("./third-party/components/BoldSubscriptions.js"),eV=require("./third-party/components/BonLoyaltyRewardsReferrals.js"),eK=require("./third-party/components/BonySubscriptionsApp.js"),ez=require("./third-party/components/BoostAISearchDiscovery.js"),eQ=require("./breadcrumb/components/Breadcrumb.js"),eW=require("./third-party/components/Bundler.js"),eY=require("./button/components/Button.js"),eX=require("./code/components/CSSCode.js"),eJ=require("./carousel/components/root/Carousel.js"),eZ=require("./carousel/components/item/CarouselItem.js"),e$=require("./carousel-v3/components/item/CarouselItem.js"),e2=require("./carousel-v3/components/root/Carousel.js"),e3=require("./cart/components/Cart.js"),e1=require("./cart/components/CartCheckout.js"),e0=require("./cart/components/CartDiscount.js"),e4=require("./cart/components/CartLineAttribute.js"),e5=require("./cart/components/CartLineImage.js"),e6=require("./cart/components/CartLinePrice.js"),e7=require("./cart/components/CartLineVariant.js"),e8=require("./cart/components/CartList.js"),e9=require("./cart/components/CartOrderNote.js"),te=require("./cart/components/CartTotalItem.js"),tt=require("./cart/components/CartTotalPrice.js"),tr=require("./cart/components/CheckoutNow.js"),to=require("./third-party/components/CleanSizeCharts.js"),ts=require("./grid/components/col/Col.js"),ti=require("./collection/components/collection-banner/CollectionBanner.js"),tn=require("./collection/components/collection-description/CollectionDescription.js"),tu=require("./collection/components/collection-paginator/CollectionPaginator.js"),tp=require("./collection/components/collection-title/CollectionTitle.js"),ta=require("./collection/components/collection-toolbar/CollectionToolbar.js"),tc=require("./form/components/contact/Contact.js"),td=require("./countdown-timer/components/Countdown.js"),tl=require("./coupon/components/Coupon.js"),tm=require("./cart/components/CouponList.js"),tx=require("./third-party/components/CrossSellCartUpsell.js"),tq=require("./third-party/components/CustomProductOptionsVariant.js"),tf=require("./third-party/components/DealeasyVolumeDiscounts.js"),th=require("./header/components/kind/basic/DesktopMenu.js"),tj=require("./dialog/components/Dialog.js"),tg=require("./cart/components/DiscountInput.js"),tP=require("./third-party/components/DiscountyBulkDiscountSales.js"),tS=require("./product/components/dynamic-checkout/DynamicCheckout.js"),ty=require("./third-party/components/EasifyProductOptions.js"),tT=require("./third-party/components/EasyBundleBuilderSkailama.js"),tI=require("./third-party/components/EasySellCOD.js"),tC=require("./third-party/components/EcoboostifyShoppableReelUgc.js"),tA=require("./third-party/components/EcomsendBackInStockAlert.js"),tB=require("./third-party/components/EssentPreorderBackInStock.js"),tL=require("./third-party/components/EssentialAnnouncementBar.js"),tR=require("./third-party/components/EssentialCountdownTimerBar.js"),tE=require("./estimate-delivery/components/EstimateDate.js"),tb=require("./third-party/components/EstimatedDeliveryDatePlus.js"),tD=require("./third-party/components/FastBundleBundlesDiscounts.js"),tk=require("./third-party/components/FeraReviews.js"),tw=require("./product/components/file-upload/UploadFile.js"),tv=require("./third-party/components/FirePush.js"),t_=require("./third-party/components/FlyBundlesUpsellsFbt.js"),tN=require("./third-party/components/FordeerProductLabels.js"),tO=require("./form/components/form-checkbox/FormCheckbox.js"),tF=require("./form/components/form-dropdown/FormDropdown.js"),tM=require("./form/components/form-email/FormEmail.js"),tG=require("./form/components/textarea/TextArea.js"),tH=require("./third-party/components/FrequentlyBoughtTogether.js"),tU=require("./third-party/components/GloColorSwatchvariantImage.js"),tV=require("./third-party/components/GloboProductOptionsVariant.js"),tK=require("./third-party/components/GoogleReviewsByReputon.js"),tz=require("./third-party/components/Growave.js"),tQ=require("./third-party/components/GrowthSuiteDiscountCodes.js"),tW=require("./header/components/Header.js"),tY=require("./heading/components/Heading.js"),tX=require("./hero-banner/components/HeroBanner.js"),tJ=require("./third-party/components/HextomCountdownTimerBar.js"),tZ=require("./third-party/components/HextomFreeShippingBar.js"),t$=require("./third-party/components/HulkFormBuilder.js"),t2=require("./third-party/components/HulkProductOptions.js"),t3=require("./icon/components/Icon.js"),t1=require("./icon-list/components/IconList.js"),t0=require("./icon-list-hoz/components/IconListHoz.js"),t4=require("./icon-list/components/IconListItem.js"),t5=require("./icon-list-hoz/components/IconListHozItem.js"),t6=require("./icon-list-v2/components/IconList.js"),t7=require("./image/components/Image.js"),t8=require("./image-comparison/components/ImageComparison.js"),t9=require("./image-detection/components/ImageDetection.js"),re=require("./third-party/components/InfiniteOptions.js"),rt=require("./input/components/Input.js"),rr=require("./third-party/components/Instafeed.js"),ro=require("./third-party-instant/components/InstantJudgemeReviews.js"),rs=require("./third-party-instant/components/InstantKlaviyo.js"),ri=require("./third-party-instant/components/InstantLooxReviews.js"),rn=require("./third-party-instant/components/InstantYotpoLoyalty.js"),ru=require("./third-party/components/InstasellShoppableInstagram.js"),rp=require("./third-party/components/JudgemeReviews.js"),ra=require("./third-party/components/JunipProductReviewsUgc.js"),rc=require("./third-party/components/KachingBundles.js"),rd=require("./third-party/components/KachingSubscriptionsApp.js"),rl=require("./third-party/components/KingProductOptions.js"),rm=require("./third-party/components/KiteFreeGiftDiscount.js"),rx=require("./third-party/components/KlarnaMessaging.js"),rq=require("./third-party/components/Klaviyo.js"),rf=require("./third-party/components/KoalaBundleQuantityDiscount.js"),rh=require("./third-party/components/LaiProductReviews.js"),rj=require("./line/components/Line.js"),rg=require("./link/components/Link.js"),rP=require("./third-party/components/LoloyalLoyaltyReferrals.js"),rS=require("./third-party/components/LoopSubscriptions.js"),ry=require("./third-party/components/LooxReviews.js"),rT=require("./marquee/components/Marquee.js"),rI=require("./third-party/components/MaxbundleProductBundles.js"),rC=require("./third-party/components/MbcBundleVolumeDiscount.js"),rA=require("./menu/components/Menu.js"),rB=require("./header/components/kind/basic/MobileMenu.js"),rL=require("./modal/components/Modal.js"),rR=require("./header/components/kind/modern/index.js"),rE=require("./third-party/components/MyappgurusProductReviews.js"),rb=require("./form/components/newsletter/Newsletter.js"),rD=require("./third-party/components/NotifyBackInStockPreOrder.js"),rk=require("./third-party/components/OkendoReviewsLoyalty.js"),rw=require("./third-party/components/Omnisend.js"),rv=require("./third-party/components/Opinew.js"),r_=require("./pagination/components/Pagination.js"),rN=require("./third-party/components/ParcelPanel.js"),rO=require("./third-party/components/PickyStory.js"),rF=require("./post-purchase/product/components/AcceptButton.js"),rM=require("./post-purchase/advanced-list/components/AdvancedListPostPurchase.js"),rG=require("./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js"),rH=require("./post-purchase/button/components/Button.js"),rU=require("./post-purchase/buyer-consent/components/BuyerConsent.js"),rV=require("./post-purchase/callout-banner/components/CalloutBox.js"),rK=require("./post-purchase/callout-banner/components/CalloutText.js"),rz=require("./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js"),rQ=require("./post-purchase/image/components/Image.js"),rW=require("./post-purchase/line/components/PostPurchaseLine.js"),rY=require("./post-purchase/link/components/PostPurchaseLink.js"),rX=require("./post-purchase/product/components/ProductDescription.js"),rJ=require("./post-purchase/product/components/ProductDiscountTag.js"),rZ=require("./post-purchase/product/components/product-image/index.js"),r$=require("./post-purchase/product/components/product-offer/components/ProductOffer.js"),r2=require("./post-purchase/product/components/ProductPrice.js"),r3=require("./post-purchase/product/components/ProductPriceBreakdown.js"),r1=require("./post-purchase/product/components/ProductQuantity.js"),r0=require("./post-purchase/product/components/product-subscription/ProductSubscription.js"),r4=require("./post-purchase/product/components/ProductTitle.js"),r5=require("./post-purchase/product/components/product-variant/components/ProductVariant.js"),r6=require("./post-purchase/text/components/Text.js"),r7=require("./third-party/components/PowerfulContactFormBuilder.js"),r8=require("./third-party/components/PreorderNowPreOrderPq.js"),r9=require("./third-party/components/PreorderNowWodPresale.js"),oe=require("./product/components/product-wrap/Product.js"),ot=require("./product/components/product-badge/ProductBadge.js"),or=require("./product/components/product-bundle/ProductBundleDiscount.js"),oo=require("./product/components/product-bundle/ProductBundleDiscountItem.js"),os=require("./product/components/product-button/ProductButton.js"),oi=require("./product/components/product-description/ProductDescription.js"),on=require("./product/components/ProductImages.js"),ou=require("./product/components/product-images-v2/ProductImageV2.js"),op=require("./product/components/product-images-v3/ProductImageV3.js"),oa=require("./product/components/product-list/ProductList.js"),oc=require("./product/components/product-list-v3/ProductList.js"),od=require("./third-party/components/ProductOptionsCustomizer.js"),ol=require("./third-party/components/ProductOptionsVariantOption.js"),om=require("./product/components/product-price/ProductPrice.js"),ox=require("./product/components/product-properties/ProductProperties.js"),oq=require("./product/components/product-quantity/ProductQuantity.js"),of=require("./product/components/product-quick-view/QuickView.js"),oh=require("./third-party/components/ProductReviews.js"),oj=require("./product/components/product-sku/Sku.js"),og=require("./product/components/product-discount-tag/ProductDiscountTag.js"),oP=require("./product/components/product-title/ProductTitle.js"),oS=require("./product/components/product-variants/ProductVariants.js"),oy=require("./product/components/product-vendor/Vendor.js"),oT=require("./product/components/product-view-more/ProductViewMore.js"),oI=require("./third-party/components/PumperBundlesVolumeDiscount.js"),oC=require("./third-party/components/PushOwl.js"),oA=require("./third-party/components/QikifyUpsell.js"),oB=require("./radio/components/Radio.js"),oL=require("./third-party/components/RapiBundleQuantityBreaks.js"),oR=require("./third-party/components/RechargeSubscriptions.js"),oE=require("./third-party/components/RecurpaySubscriptionApp.js"),ob=require("./third-party/components/Releasit.js"),oD=require("./third-party/components/RequestQuoteHidePrice.js"),ok=require("./third-party/components/ReviewxpoProductReviewsApp.js"),ow=require("./third-party/components/Rivyo.js"),ov=require("./grid/components/root/Root.js"),o_=require("./grid/components/row/Row.js"),oN=require("./third-party/components/Ryviu.js"),oO=require("./third-party/components/SealSubscriptions.js"),oF=require("./grid/components/section/Section.js"),oM=require("./third-party/components/SegunoEmailMarketing.js"),oG=require("./select/components/Select.js"),oH=require("./third-party/components/Selleasy.js"),oU=require("./third-party/components/SeoantTrustBadgesIcon.js"),oV=require("./cart/components/shop-pay-button/ShopPayButton.js"),oK=require("./shop-pay-installment/components/ShopPayInstallments.js"),oz=require("./third-party/components/ShopifyForms.js"),oQ=require("./third-party/components/ShopifySubscriptions.js"),oW=require("./third-party/components/SimpleBundlesKits.js"),oY=require("./third-party/components/SkioSubscriptionsYcS20.js"),oX=require("./third-party/components/SmartSearchBarAndFilters.js"),oJ=require("./third-party/components/SproutPlantTreesGrowSales.js"),oZ=require("./third-party/components/Stamped.js"),o$=require("./third-party/components/StellarDeliveryDatePickup.js"),o2=require("./sticky/components/Sticky.js"),o3=require("./stock-counter/components/StockCounter.js"),o1=require("./third-party/components/SubifySubscriptionsApp.js"),o0=require("./form/components/submit-button/SubmitButton.js"),o4=require("./tab/components/TabItem.js"),o5=require("./tab/components/Tabs.js"),o6=require("./third-party/components/TagembedSocialPostReview.js"),o7=require("./third-party/components/TagshopShoppableVideosUgc.js"),o8=require("./third-party/components/TeeinblueProductPersonalizer.js"),o9=require("./text/components/Text.js"),se=require("./form/components/textfield/TextField.js"),st=require("./form/components/textinput/TextInput.js"),sr=require("./textarea/components/Textarea.js"),so=require("./third-party-slot/components/ThirdPartySlot.js"),ss=require("./third-party/components/TrustBadgesBear.js"),si=require("./third-party/components/TrustMe.js"),sn=require("./third-party/components/TrustedsiteTrustBadges.js"),su=require("./third-party/components/Trustoo.js"),sp=require("./third-party/components/TrustreviewsProductReviews.js"),sa=require("./third-party/components/TrustshopProductReviews.js"),sc=require("./third-party/components/UltimateSalesBoost.js"),sd=require("./third-party/components/UnlimitedBundlesDiscounts.js"),sl=require("./third-party/components/UppromoteAffiliateMarketing.js"),sm=require("./video/components/Video.js"),sx=require("./third-party/components/Vitals.js"),sq=require("./third-party/components/WcWishlistBackInStock.js"),sf=require("./third-party/components/WhatmoreShoppableVideosreel.js"),sh=require("./third-party/components/WideBundle.js"),sj=require("./third-party/components/Wiser.js"),sg=require("./third-party/components/WishlistKing.js"),sP=require("./third-party/components/WishlistPlus.js"),sS=require("./third-party/components/YotpoLoyalty.js"),sy=require("./third-party/components/YotpoReviews.js"),sT=require("./stock-counter/common/helpers.js"),sI=require("./marquee/components/MarqueeItem.js"),sC=require("./modal/components/confirm.js"),sA=require("./post-purchase/product/settings/presets-config/product-presets/product-1-col.js"),sB=require("./post-purchase/product/settings/presets-config/product-presets/product-2-col.js"),sL=require("./post-purchase/product/settings/presets-config/product-presets/product-default.js");exports.accordionSetting=e.accordionSetting,exports.articleListSetting=t.articleListSetting,exports.bannerSetting=r.bannerSetting,exports.breadcrumbSetting=o.breadcrumbSetting,exports.buttonSetting=s.buttonSetting,exports.carouselSettingV3=i.carouselSettingV3,exports.carouselSetting=n.carouselSetting,exports.cartSetting=u.cartSetting,exports.codeSetting=p.codeSetting,exports.collectionSetting=a.collectionSetting,exports.countdownSetting=c.countdownSetting,exports.couponSetting=d.couponSetting,exports.dialogSetting=l.dialogSetting,exports.estimateDeliverySetting=m.estimateDeliverySetting,exports.gridSetting=x.gridSetting,exports.contactFormSetting=q.contactFormSetting,exports.headerSetting=f.headerSetting,exports.headingSetting=h.headingSetting,exports.iconSetting=j.iconSetting,exports.iconListSetting=g.iconListSetting,exports.iconListHozSetting=P.iconListHozSetting,exports.iconListSettingV2=S.iconListSettingV2,exports.imageSetting=y.imageSetting,exports.imageComparisonSetting=T.imageComparisonSetting,exports.imageDetectionSetting=I.imageDetectionSetting,exports.inputSetting=C.inputSetting,exports.lineSetting=A.lineSetting,exports.linkSetting=B.linkSetting,exports.marqueeSetting=L.marqueeSetting,exports.menuSetting=R.menuSetting,exports.modalSetting=E.modalSetting,exports.useNotification=b.default,exports.Notice=D.default,exports.paginationSetting=k.paginationSetting,exports.postPurchaseAdvancedListSetting=w.postPurchaseAdvancedListSetting,exports.postPurchaseButtonSetting=v.postPurchaseButtonSetting,exports.postPurchaseCalloutBoxSetting=_.postPurchaseCalloutBoxSetting,exports.postPurchaseCountdownTimerSetting=N.postPurchaseCountdownTimerSetting,exports.postPurchaseImageSetting=O.postPurchaseImageSetting,exports.postPurchaseLineSetting=F.postPurchaseLineSetting,exports.postPurchaseLinkSetting=M.postPurchaseLinkSetting,exports.PostPurchaseHeading=G.PostPurchaseHeading,exports.postPurchaseTextSetting=G.postPurchaseTextSetting,exports.postPurchaseProductSetting=H.postPurchaseProductSetting,exports.postPurchaseBuyerConsentSetting=U.postPurchaseBuyerConsentSetting,exports.productSetting=V.productSetting,exports.radioSetting=K.radioSetting,exports.selectSetting=z.selectSetting,exports.tabSetting=Q.tabSetting,exports.textSetting=W.textSetting,exports.textareaSetting=Y.textareaSetting,exports.videoSetting=X.videoSetting,exports.thirdPartySetting=J.thirdPartySetting,exports.thirdPartyInstantSetting=Z.thirdPartyInstantSetting,exports.stockCounterSetting=$.stockCounterSetting,exports.thirdPartySlotSetting=ee.thirdPartySlotSetting,exports.shopPayInstallmentSetting=et.shopPayInstallmentSetting,exports.stickySetting=er.stickySetting,exports.nextComponent=eo.default,exports.headlessComponents=es.default,exports.liquidComponents=ei,exports.builderComponent=en.default,exports.componentSettings=eu.default,exports.postPurchaseSettings=ep.default,exports.ELEMENT_Z_INDEX=ea.ELEMENT_Z_INDEX,exports.REGEX_BARE_DOMAIN=ec.REGEX_BARE_DOMAIN,exports.REGEX_PAGE_TYPE=ec.REGEX_PAGE_TYPE,exports.checkIsOpenPage=ec.checkIsOpenPage,exports.checkIsOpenPopup=ec.checkIsOpenPopup,exports.checkIsScrollToTop=ec.checkIsScrollToTop,exports.convertUnitToNumber=ec.convertUnitToNumber,exports.createSettingId=ec.createSettingId,exports.createTranslateKey=ec.createTranslateKey,exports.extractProductID=ec.extractProductID,exports.filterPageContext=ec.filterPageContext,exports.filterTruthyObject=ec.filterTruthyObject,exports.filterTruthyStyles=ec.filterTruthyStyles,exports.getAllHrefFromString=ec.getAllHrefFromString,exports.getBackgroundTranslated=ec.getBackgroundTranslated,exports.getDisplayStyle=ec.getDisplayStyle,exports.getDynamicSourceLocales=ec.getDynamicSourceLocales,exports.getInsertLinkData=ec.getInsertLinkData,exports.getLinkArticle=ec.getLinkArticle,exports.getLinkData=ec.getLinkData,exports.getSeoTranslated=ec.getSeoTranslated,exports.getSettingPreloadData=ec.getSettingPreloadData,exports.getStaticLocale=ec.getStaticLocale,exports.handleClickLink=ec.handleClickLink,exports.isEmptyObject=ec.isEmptyObject,exports.isHexTransparent=ec.isHexTransparent,exports.isLinkedToSalesPage=ec.isLinkedToSalesPage,exports.isShopifyDomain=ec.isShopifyDomain,exports.isTransparentColor=ec.isTransparentColor,exports.isTransparentRGBA=ec.isTransparentRGBA,exports.normalizeMailto=ec.normalizeMailto,exports.replaceAllHrefFromString=ec.replaceAllHrefFromString,exports.replaceLinkData=ec.replaceLinkData,exports.youtubeShortsRegex=ec.youtubeShortsRegex,exports.translateComponents=ed,exports.TAGS_WITH_REPLACE_LINK_DATA=el.TAGS_WITH_REPLACE_LINK_DATA,exports.Accordion=em.default,exports.AccordionItem=ex.default,exports.AftershipEmailMarketingsms=eq.default,exports.AirProductReviewsAppUgc=ef.default,exports.AliReviews=eh.default,exports.AlsoBoughtCbb=ej.default,exports.AovBundlesVolumeDiscounts=eg.default,exports.AovFreeGiftBuyXGetYBogo=eP.default,exports.AppointmentBookingCowlendar=eS.default,exports.AppstleBundlesDiscounts=ey.default,exports.AppstleLoyaltyRewardProgram=eT.default,exports.AppstleSubscriptions=eI.default,exports.ArticleAuthor=eC.default,exports.ArticleCategory=eA.default,exports.ArticleContent=eB.default,exports.ArticleDate=eL.default,exports.ArticleExcerpt=eR.default,exports.ArticleImage=eE.default,exports.ArticleList=eb.default,exports.ArticlePagination=eD.default,exports.ArticleReadMore=ek.default,exports.ArticleTag=ew.default,exports.ArticleTitle=ev.default,exports.BasicHeader=e_.default,exports.BestBuyFulfillment=eN.default,exports.BfSizeChartSizeGuide=eO.default,exports.BirdChime=eF.default,exports.BloyRewardsProgramLoyalty=eM.default,exports.Bogos=eG.default,exports.BoldProductOptions=eH.default,exports.BoldSubscriptions=eU.default,exports.BonLoyaltyRewardsReferrals=eV.default,exports.BonySubscriptionsApp=eK.default,exports.BoostAISearchDiscovery=ez.default,exports.Breadcrumb=eQ.default,exports.Bundler=eW.default,exports.Button=eY.default,exports.CSSCode=eX.default,exports.Carousel=eJ.default,exports.CarouselItem=eZ.default,exports.CarouselItemV3=e$.default,exports.CarouselV3=e2.default,exports.Cart=e3.default,exports.CartCheckout=e1.default,exports.CartDiscount=e0.default,exports.CartLineAttribute=e4.default,exports.CartLineImage=e5.default,exports.CartLinePrice=e6.default,exports.CartLineVariant=e7.default,exports.CartList=e8.default,exports.CartOrderNote=e9.default,exports.CartTotalItem=te.default,exports.CartTotalPrice=tt.default,exports.CheckoutNow=tr.default,exports.CleanSizeCharts=to.default,exports.Col=ts.default,exports.CollectionBanner=ti.default,exports.CollectionDescription=tn.default,exports.CollectionPaginator=tu.default,exports.CollectionTitle=tp.default,exports.CollectionToolbar=ta.default,exports.ContactForm=tc.default,exports.Countdown=td.default,exports.Coupon=tl.default,exports.CouponList=tm.default,exports.CrossSellCartUpsell=tx.default,exports.CustomProductOptionsVariant=tq.default,exports.DealeasyVolumeDiscounts=tf.default,exports.DesktopMenu=th.default,exports.Dialog=tj.default,exports.DiscountInput=tg.default,exports.DiscountyBulkDiscountSales=tP.default,exports.DynamicCheckout=tS.default,exports.EasifyProductOptions=ty.default,exports.EasyBundleBuilderSkailama=tT.default,exports.EasySellCOD=tI.default,exports.EcoboostifyShoppableReelUgc=tC.default,exports.EcomsendBackInStockAlert=tA.default,exports.EssentPreorderBackInStock=tB.default,exports.EssentialAnnouncementBar=tL.default,exports.EssentialCountdownTimerBar=tR.default,exports.EstimateDate=tE.default,exports.EstimatedDeliveryDatePlus=tb.default,exports.FastBundleBundlesDiscounts=tD.default,exports.FeraReviews=tk.default,exports.FileUpload=tw.default,exports.FirePush=tv.default,exports.FlyBundlesUpsellsFbt=t_.default,exports.FordeerProductLabels=tN.default,exports.FormCheckbox=tO.default,exports.FormDropdown=tF.default,exports.FormEmail=tM.default,exports.FormTextarea=tG.default,exports.FrequentlyBoughtTogether=tH.default,exports.GloColorSwatchvariantImage=tU.default,exports.GloboProductOptionsVariant=tV.default,exports.GoogleReviewsByReputon=tK.default,exports.Growave=tz.default,exports.GrowthSuiteDiscountCodes=tQ.default,exports.Header=tW.default,exports.Heading=tY.default,exports.HeroBanner=tX.default,exports.HextomCountdownTimerBar=tJ.default,exports.HextomFreeShippingBar=tZ.default,exports.HulkFormBuilder=t$.default,exports.HulkProductOptions=t2.default,exports.Icon=t3.default,exports.IconList=t1.default,exports.IconListHoz=t0.default,exports.IconListItem=t4.default,exports.IconListItemHoz=t5.default,exports.IconListV2=t6.default,exports.Image=t7.default,exports.ImageComparison=t8.default,exports.ImageDetection=t9.default,exports.InfiniteOptions=re.default,exports.Input=rt.default,exports.Instafeed=rr.default,exports.InstantJudgemeReviews=ro.default,exports.InstantKlaviyo=rs.default,exports.InstantLooxReviews=ri.default,exports.InstantYotpoLoyalty=rn.default,exports.InstasellShoppableInstagram=ru.default,exports.JudgemeReviews=rp.default,exports.JunipProductReviewsUgc=ra.default,exports.KachingBundles=rc.default,exports.KachingSubscriptionsApp=rd.default,exports.KingProductOptions=rl.default,exports.KiteFreeGiftDiscount=rm.default,exports.KlarnaMessaging=rx.default,exports.Klaviyo=rq.default,exports.KoalaBundleQuantityDiscount=rf.default,exports.LaiProductReviews=rh.default,exports.Line=rj.default,exports.Link=rg.default,exports.LoloyalLoyaltyReferrals=rP.default,exports.LoopSubscriptions=rS.default,exports.LooxReviews=ry.default,exports.Marquee=rT.default,exports.MaxbundleProductBundles=rI.default,exports.MbcBundleVolumeDiscount=rC.default,exports.Menu=rA.default,exports.MobileMenu=rB.default,exports.Modal=rL.default,exports.ModernHeader=rR.default,exports.MyappgurusProductReviews=rE.default,exports.Newsletter=rb.default,exports.NotifyBackInStockPreOrder=rD.default,exports.OkendoReviewsLoyalty=rk.default,exports.Omnisend=rw.default,exports.Opinew=rv.default,exports.Pagination=r_.default,exports.ParcelPanel=rN.default,exports.PickyStory=rO.default,exports.PostPurchaseAcceptButton=rF.default,exports.PostPurchaseAdvancedList=rM.default,exports.PostPurchaseAdvancedListItem=rG.default,exports.PostPurchaseButton=rH.default,exports.PostPurchaseBuyerConsent=rU.default,exports.PostPurchaseCalloutBox=rV.default,exports.PostPurchaseCalloutText=rK.default,exports.PostPurchaseCountdownTimer=rz.default,exports.PostPurchaseImage=rQ.default,exports.PostPurchaseLine=rW.default,exports.PostPurchaseLink=rY.default,exports.PostPurchaseProductDescription=rX.default,exports.PostPurchaseProductDiscountTag=rJ.default,exports.PostPurchaseProductImages=rZ.default,exports.PostPurchaseProductOffer=r$.default,exports.PostPurchaseProductPrice=r2.default,exports.PostPurchaseProductPriceBreakdown=r3.default,exports.PostPurchaseProductQuantity=r1.default,exports.PostPurchaseProductSubscription=r0.default,exports.PostPurchaseProductTitle=r4.default,exports.PostPurchaseProductVariants=r5.default,exports.PostPurchaseText=r6.default,exports.PowerfulContactFormBuilder=r7.default,exports.PreorderNowPreOrderPq=r8.default,exports.PreorderNowWodPresale=r9.default,exports.Product=oe.default,exports.ProductBadge=ot.default,exports.ProductBundleDiscount=or.default,exports.ProductBundleDiscountItem=oo.default,exports.ProductButton=os.default,exports.ProductDescription=oi.default,exports.ProductImages=on.default,exports.ProductImagesV2=ou.default,exports.ProductImagesV3=op.default,exports.ProductList=oa.default,exports.ProductListV3=oc.default,exports.ProductOptionsCustomizer=od.default,exports.ProductOptionsVariantOption=ol.default,exports.ProductPrice=om.default,exports.ProductPropertyInput=ox.default,exports.ProductQuantity=oq.default,exports.ProductQuickView=of.default,exports.ProductReviews=oh.default,exports.ProductSku=oj.default,exports.ProductTag=og.default,exports.ProductTitle=oP.default,exports.ProductVariants=oS.default,exports.ProductVendor=oy.default,exports.ProductViewMore=oT.default,exports.PumperBundlesVolumeDiscount=oI.default,exports.PushOwl=oC.default,exports.QikifyUpsell=oA.default,exports.Radio=oB.default,exports.RapiBundleQuantityBreaks=oL.default,exports.RechargeSubscriptions=oR.default,exports.RecurpaySubscriptionApp=oE.default,exports.Releasit=ob.default,exports.RequestQuoteHidePrice=oD.default,exports.ReviewxpoProductReviewsApp=ok.default,exports.Rivyo=ow.default,exports.Root=ov.default,exports.Row=o_.default,exports.Ryviu=oN.default,exports.SealSubscriptions=oO.default,exports.Section=oF.default,exports.SegunoEmailMarketing=oM.default,exports.Select=oG.default,exports.Selleasy=oH.default,exports.SeoantTrustBadgesIcon=oU.default,exports.ShopPayButton=oV.default,exports.ShopPayInstallments=oK.default,exports.ShopifyForms=oz.default,exports.ShopifySubscriptions=oQ.default,exports.SimpleBundlesKits=oW.default,exports.SkioSubscriptionsYcS20=oY.default,exports.SmartSearchBarAndFilters=oX.default,exports.SproutPlantTreesGrowSales=oJ.default,exports.Stamped=oZ.default,exports.StellarDeliveryDatePickup=o$.default,exports.Sticky=o2.default,exports.StockCounter=o3.default,exports.SubifySubscriptionsApp=o1.default,exports.SubmitButton=o0.default,exports.TabItem=o4.default,exports.Tabs=o5.default,exports.TagembedSocialPostReview=o6.default,exports.TagshopShoppableVideosUgc=o7.default,exports.TeeinblueProductPersonalizer=o8.default,exports.Text=o9.default,exports.TextField=se.default,exports.TextInput=st.default,exports.Textarea=sr.default,exports.ThirdPartySlot=so.default,exports.TrustBadgesBear=ss.default,exports.TrustMe=si.default,exports.TrustedsiteTrustBadges=sn.default,exports.Trustoo=su.default,exports.TrustreviewsProductReviews=sp.default,exports.TrustshopProductReviews=sa.default,exports.UltimateSalesBoost=sc.default,exports.UnlimitedBundlesDiscounts=sd.default,exports.UppromoteAffiliateMarketing=sl.default,exports.Video=sm.default,exports.Vitals=sx.default,exports.WcWishlistBackInStock=sq.default,exports.WhatmoreShoppableVideosreel=sf.default,exports.WideBundle=sh.default,exports.Wiser=sj.default,exports.WishlistKing=sg.default,exports.WishlistPlus=sP.default,exports.YotpoLoyalty=sS.default,exports.YotpoReviews=sy.default,exports.CONTINUE_SELLING_WHEN_OUT_OF_STOCK=sT.CONTINUE_SELLING_WHEN_OUT_OF_STOCK,exports.DEFAULT_FONT_SIZE=sT.DEFAULT_FONT_SIZE,exports.DEFAULT_HIGHLIGHT_TAG=sT.DEFAULT_HIGHLIGHT_TAG,exports.DEFAULT_PROGRESS_BAR_HEIGHT=sT.DEFAULT_PROGRESS_BAR_HEIGHT,exports.DEFAULT_QUANTITY_TEMPLATE=sT.DEFAULT_QUANTITY_TEMPLATE,exports.DEFAULT_RANGE_STEP=sT.DEFAULT_RANGE_STEP,exports.DEFAULT_REMAINING_PERCENT=sT.DEFAULT_REMAINING_PERCENT,exports.DEFAULT_REMAINING_QUANTITY=sT.DEFAULT_REMAINING_QUANTITY,exports.DEFAULT_SCARCITY_THRESHOLD=sT.DEFAULT_SCARCITY_THRESHOLD,exports.MAX_PROGRESS_BAR_HEIGHT=sT.MAX_PROGRESS_BAR_HEIGHT,exports.MAX_REMAINING_PERCENT=sT.MAX_REMAINING_PERCENT,exports.MIN_PROGRESS_BAR_HEIGHT=sT.MIN_PROGRESS_BAR_HEIGHT,exports.MIN_REMAINING_PERCENT=sT.MIN_REMAINING_PERCENT,exports.MIN_REMAINING_QUANTITY=sT.MIN_REMAINING_QUANTITY,exports.NO_PRODUCT_LEFT=sT.NO_PRODUCT_LEFT,exports.OUT_OF_STOCK=sT.OUT_OF_STOCK,exports.QUANTITY_SOURCE=sT.QUANTITY_SOURCE,exports.convertSizeToWidth=sT.convertSizeToWidth,exports.getInlineCss=sT.getInlineCss,exports.getLiquidInitData=sT.getLiquidInitData,exports.getLiquidTextContent=sT.getLiquidTextContent,exports.getTextDisplayData=sT.getTextDisplayData,exports.transformHighlighTag=sT.transformHighlighTag,exports.transformNumberTag=sT.transformNumberTag,exports.MarqueeItem=sI.default,exports.openConfirm=sC.openConfirm,exports.postPurchaseProduct1Col=sA.postPurchaseProduct1Col,exports.postPurchaseProduct2Col=sB.postPurchaseProduct2Col,exports.postPurchaseProductDefault=sL.postPurchaseProductDefault;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{useEditorMode as s,usePageType as o}from"@gem-sdk/core";import{createStyle as r,createClass as m,createAttr as l,If as a}from"@gem-sdk/system";import{handleClickLink as i}from"../../helpers.js";import{getButtonAttributes as n}from"../common/attrs.js";import{getButtonStyles as c,getTypoStyles as d,getButtonIconStyles as f,getButtonWrapperStyles as p}from"../common/styles.js";import{getButtonClasses as g,getButtonIconClasses as u,getButtonLabelClasses as h,getButtonWrapperClasses as y,getButtonContentWrapperClasses as j,getButtonContainerClasses as b}from"../common/classes.js";import v from"./ButtonIcon.js";import L from"./ButtonLabel.js";import N from"./ButtonLoadingIndicator.js";import{getData as k,getInsertLinkData as B}from"../common/helpers.js";let I=I=>{let{children:T,advanced:x,className:H,nodePrice:C,customAttrs:M,styles:S={},setting:_={},builderProps:E,builderAttrs:q,wrapClassName:w="",onClick:z}=I,{iconSvg:A,btnLink:D,htmlType:F,loading:G,disabled:J,shouldClearSpace:K,enableBtnLink:O}=_,{enableTextStyle:P=!0}=S,Q=s(),R=o(),{customCss:U,wrapStyle:V,restStyle:W,dataState:X,dataIdAttr:Y,isShowIcon:Z,isScrollToElement:$,getArialLabel:tt,getLabelToDisplay:te,checkIsShowLabel:ts,checkIsEditableLabel:to}=k(I),{HTMLTag:tr,urlData:tm,shouldRenderLink:tl}=B({enableBtnLink:O,htmlType:F,setting:D,defaultTag:"button",pageType:R}),ta=r({...c(S,_.enableHoverEffect)}),ti=r({...d(S)}),tn=r({...d(S),...f(S,_)}),tc=r({...p(W,S)}),td=m({...g({styles:S,className:H,shouldRenderLink:tl,uid:E?.uid,advanced:x})}),tf=m({...u(te(),K,P)}),tp=m({...h(S,to({mode:Q}))}),tg=m({...y(w,H,x?.cssClass)}),tu=m({...j(_)}),th=m({...b()}),ty=l({...n({disabled:J,dataState:X,dataId:Y,arialLabel:tt()})});return t("div",{style:V,className:th,children:e("div",{...q,style:tc,className:tg,children:[t("style",{type:"text/css",dangerouslySetInnerHTML:{__html:U}}),a($,t("a",{className:"gp-trigger-button-link gp-hidden",href:tm.href,target:tm.target})),e(tr,{...ty,...M,..."button"!==tr&&{setting:tm},style:ta,className:td,onClick:t=>{z?.(t),i(D,Q)},children:[a(G,t(N,{})),e("div",{className:tu,children:[a(Z,t(v,{iconSvg:A??"",styles:tn,classes:tf})),a(P&&ts(),t(L,{label:te(),styles:ti,classes:tp}))]}),a(!!C,C??"")]}),T]})})};export{I as default};
|
|
2
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";import{useEditorMode as s,usePageType as o}from"@gem-sdk/core";import{createStyle as r,createClass as m,createAttr as l,If as a}from"@gem-sdk/system";import{handleClickLink as i}from"../../helpers.js";import{getButtonAttributes as n}from"../common/attrs.js";import{getButtonStyles as c,getTypoStyles as d,getButtonIconStyles as f,getButtonWrapperStyles as p}from"../common/styles.js";import{getButtonClasses as g,getButtonIconClasses as u,getButtonLabelClasses as h,getButtonWrapperClasses as y,getButtonContentWrapperClasses as j,getButtonContainerClasses as b}from"../common/classes.js";import v from"./ButtonIcon.js";import L from"./ButtonLabel.js";import N from"./ButtonLoadingIndicator.js";import{getData as k,getInsertLinkData as B}from"../common/helpers.js";let I=I=>{let{children:T,advanced:x,className:H,nodePrice:C,customAttrs:M,styles:S={},setting:_={},builderProps:E,builderAttrs:q,wrapClassName:w="",onClick:z}=I,{iconSvg:A,btnLink:D,htmlType:F,loading:G,disabled:J,shouldClearSpace:K,enableBtnLink:O}=_,{enableTextStyle:P=!0}=S,Q=s(),R=o(),{customCss:U,wrapStyle:V,restStyle:W,dataState:X,dataIdAttr:Y,isShowIcon:Z,isScrollToElement:$,getArialLabel:tt,getLabelToDisplay:te,checkIsShowLabel:ts,checkIsEditableLabel:to}=k(I),{HTMLTag:tr,urlData:tm,shouldRenderLink:tl}=B({enableBtnLink:O,htmlType:F,setting:D,defaultTag:"button",pageType:R}),ta=r({...c(S,_.enableHoverEffect)}),ti=r({...d(S)}),tn=r({...d(S),...f(S,_)}),tc=r({...p(W,S)}),td=m({...g({styles:S,className:H,shouldRenderLink:tl,uid:E?.uid,advanced:x})}),tf=m({...u(te(),K,P)}),tp=m({...h(S,to({mode:Q}))}),tg=m({...y(w,H,x?.cssClass)}),tu=m({...j(_)}),th=m({...b()}),ty=l({...n({disabled:J,dataState:X,dataId:Y,arialLabel:tt()})});return t("div",{style:V,className:th,children:e("div",{...q,style:tc,className:tg,children:[t("style",{type:"text/css",dangerouslySetInnerHTML:{__html:U}}),a($,t("a",{className:"gp-trigger-button-link gp-hidden",href:tm.href,target:tm.target})),e(tr,{...ty,...M,..."button"!==tr&&{setting:tm},style:ta,className:td,onClick:t=>{z?.(t),O&&!tl&&i(D,Q)},children:[a(G,t(N,{})),e("div",{className:tu,children:[a(Z,t(v,{iconSvg:A??"",styles:tn,classes:tf})),a(P&&ts(),t(L,{label:te(),styles:ti,classes:tp}))]}),a(!!C,C??"")]}),T]})})};export{I as default};
|
package/dist/esm/helpers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{globalEvent as t,getThemeSectionTranslateKey as e,replaceOuterTagContent as r,SectionMode as i,cloneDeep as
|
|
1
|
+
import{globalEvent as t,getThemeSectionTranslateKey as e,replaceOuterTagContent as r,SectionMode as i,cloneDeep as n,DEVICES as l}from"@gem-sdk/core";import o from"./link/components/Link.js";import{HeroBanner as s}from"./hero-banner/settings/configs/translate.js";let a=new RegExp(/^\/?(?:collections|pages|products|blogs|checkout|cart|policies)\/?/i),c=new RegExp(/^(?:https?:\/\/)?[\w.-]+\.[a-z]{2,}/i),p=(t,e)=>{let r=new RegExp(/^https?:\/\//i);return t&&!r.test(e)&&a.test(e)},u=(t,e)=>"scroll-to"==t?e?.link:"{{article.url}}",g=t=>!!t&&(t.startsWith("#")?d(t):t.startsWith("rgb")?f(t):"transparent"==t),f=t=>{let e=t.replace(/\s/g,"").match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i)?.map(Number).filter(t=>!isNaN(t))??[0,0,0,1];return 0===e[e.length-1]},d=t=>{let e=!1,r=t.slice(t.startsWith("#")?1:0);3===r.length?r=[...r].map(t=>t+t).join(""):8===r.length&&(e=!0);let i=parseInt(r,16),n=e?255&i:void 0;return 0===n||!!n},h=/^(?:https?:\/\/)?(?:www\.)?youtube\.com\/shorts\/([^"&?/\s]{11})$/i,m=(t,e)=>`g${t}_${e}`,$=({id:t,index:e,suffix:r})=>t?"number"==typeof e&&e>=0?`${t}_${e}`:r?`${t}_${r}`:t:"",k=({val:t,uid:n,settingId:l,isLiquid:o,pageContext:s,isCapitalize:a,defaultVal:c="",isReplaceLocationOrigin:p,isReplaceMaxSize:u,isReplaceInventoryQuantity:g})=>{let f;let d=new RegExp(/\{\{.*?\}\}|\{%.*?%\}/).test(t?.toString()??""),h=s?.mode===i.GLOBAL,$=s?.schema??"",k=s?.isTranslateWithLocale?1e3:5e3;if(!l||!t?.toString().trim()||t.toString().length>k||d||s?.isPreviewing)return t??c;let y=`section.settings.${f=h?e({uid:n,settingId:l,schema:$,value:t?.toString()??c??""}):m(n,l)}`;return(s?.isTranslateWithLocale&&(y=`'sections.${s.sectionName}.${f}_html' | t`),p&&(y+=" | replace: '$locationOrigin', locationOrigin"),u&&(y+=" | replace: '$max_size', '10MB'"),g&&(y+=" | replace: '<$quantity$>', inventory_quantity | replace: '<$quantity$>', inventory_quantity"),a&&(y=`${y} | downcase`),o)?y:h?r(t?.toString()??c??"",void 0,`{{ ${y} }}`):`{{ ${y} }}`},y=(t,e)=>`{{ 'gempages.${t}.${e}' | t }}`,v=(t,e)=>`{% if section.settings.section_preload == "false" %}${t} ${e?`{% else %}${e}`:""}{% endif %}`,b=t=>t?t.match(/^https?:\/\//i)?t:`http://${t}`:"";function S(t){if(t.startsWith("mailto:")){let[e,r]=t.split("?");if(r){let i=r.replace(/\+/g,"%20");t=`${e}?${i}`}}return t}let w=(t,e,r)=>{let i=e?.link!==void 0&&""!==e.link,n=e?.link??"",l="/"===n,s=i&&c.test(n);s&&(n=b(n)),i&&n.toLowerCase().startsWith("mailto:")&&n.includes("+")&&(n=S(n));let a=s||p(i,n)||!!(["#","mailto:","tel:"].find(t=>n.startsWith(t))||["product.url"].find(t=>n.includes(t)))||l||T(e?.type);(p(i,n)||l)&&(n=e?.isTranslate?"$locationOrigin"+n:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+n);let u=a?e?.isLiquid?"a":o:t,g={href:n,target:e?.target,...e?.noFollow&&{rel:"nofollow"}},f=a?g:i?{...g,type:r}:{type:r};return{Wrap:u,urlData:f,shouldRenderLink:a}},T=t=>"go-to-sales-page"===t,_=t=>t?.type==="scroll-to"&&t?.link==="#scroll-to-top",x=t=>t?.type==="open-popup"&&t?.link?.startsWith("#el-"),O=t=>t?.type==="open-page"&&!!t?.link&&!t.link.startsWith("#"),E=({setting:t,htmlType:e,defaultWrap:r,isLiquid:i=!1,enableImageLink:n=!1})=>{let l=t?.link??"",s="/"===l,a=t?.link!==void 0&&""!==t.link,c=new RegExp(/^https?:\/\//i),u=a&&c.test(l);a&&l.toLowerCase().startsWith("mailto:")&&l.includes("+")&&(l=S(l));let g=n&&(u||p(a,l)||!!["product.url"].find(t=>l.includes(t))||!!["#","mailto:","tel:"].find(t=>l.startsWith(t))&&(!!i||!(_(t)||x(t)))||s||T(t?.type)),f=l;i&&(p(a,l)||s)&&(f=t?.isTranslate?"$locationOrigin"+l:"{{ request.origin }}{{ routes.root_url | split: '/' | join: '/' }}"+l);let d={href:f,target:t?.target,...t?.noFollow&&{rel:"nofollow"}},h=g?d:a?{...d,type:e}:{type:e};return{Wrapper:g?i?"a":o:r,urlData:h,shouldRenderLink:g}},L=(t,e)=>{if(t&&/<a\s[^>]*>.*?<\/a>/.test(t)){let r;let i=/<a\s+(?:[^>]*?\s+)?href=["']([^"']*)["'](?:\s+[^>]*?)?(?:target=["']([^"']*)["'])?.*?>.*?<\/a>/gi,n=t.toString();for(;null!==(r=i.exec(n));){let t=r[1],{urlData:i}=w("",{link:t,isTranslate:e});n=n.replace(r[0],r[0].replace(/(href=['"])([^'"]*)(['"])/i,`$1${i.href}$3`))}return n}return t};function W(t){return Object.fromEntries(Object.entries(t||{}).filter(([,t])=>!!t))}function j(t){return Object.fromEntries(Object.entries(t||{}).filter(([,t])=>!!t))}let I=(t,e)=>{let r={};return l.forEach(i=>{r={...r,[`--d${"desktop"===i?"":`-${i}`}`]:`${t(i)?"none":e}`}}),r},A=(t,e)=>{if(!t)return e;if("number"==typeof t)return t;let r="string"==typeof t?t.replaceAll("px","").replaceAll("%","").replaceAll("rem","").replaceAll("em",""):e;return isNaN(Number(r))?e:Number(r)},D=t=>{let e;if(!t)return[];let r=/href="([^"]*)"/g,i=[];for(;null!==(e=r.exec(t));)e[1]&&i.push(e[1]);return i},P=(t,e)=>{let r;if(!t)return"";let i=/href="([^"]*)"/g,n=0;for(;null!==(r=i.exec(t));)r[1]&&(t=t.replace(r[1],e[n]??""),n++);return t};function N(t){return 0===Object.keys(t).length&&"object"==typeof t}let R=/^\s*(javascript|data|vbscript):/i,q=t=>{let e=t.replace(/^[/\\]+/,"/");return/^https?:\/\//i.test(e)||e.startsWith("/")?e:c.test(e)?b(e):`/${e}`},H=t=>{let e=t?.link??"";if(R.test(e))return;let r=t?.target||"_self";window.open(q(e),r,"_blank"===r?"noopener":void 0)},B=(e,r)=>{if("edit"!==r){if(_(e)){window.scrollTo({top:0,behavior:"smooth"});return}if(O(e)){H(e);return}if(x(e)){let r=e?.link?.replace("#el-","#");t.dispatch("onOpenDialog",{popupUId:r});return}e?.link?.startsWith("#")&&t.dispatch("onOpenDialog",{popupUId:e?.link})}},C=({valueTranslate:t,uid:e,settingId:r,pageContext:i})=>{if(!e||!s?.[r]?.id)return t;let n=k({val:t,settingId:$({id:s?.[r]?.id}),uid:e,pageContext:i});return null!=n?String(n):t},G=({background:t,enableTranslate:e,uid:r,pageContext:i,isTranslateVideo:l=!0})=>{if(!t)return{};if(!e||!r||i?.isPreviewing)return t;let o=n(t);for(let t in o){let e=o[t];if(e){if(e.image?.src){let n=k({val:e.image.src,uid:r,settingId:$({id:"background",suffix:`${t}_image_src`}),pageContext:i});e.image.src=String(n)}if(l){if("youtube"===e.videoType&&e.video){let n=k({val:e.video,uid:r,settingId:$({id:"background",suffix:`${t}_video`}),pageContext:i});e.video=String(n)}if("html5"===e.videoType&&e.videoHtml5){let n=k({val:e.videoHtml5,uid:r,settingId:$({id:"background",suffix:`${t}_videoHtml5`}),pageContext:i});e.videoHtml5=String(n)}}}}return o},F=t=>t.replace("gid://shopify/Product/",""),z=t=>{if(!t)return;let{schema:e,mode:r,...i}=t;return i};export{c as REGEX_BARE_DOMAIN,a as REGEX_PAGE_TYPE,O as checkIsOpenPage,x as checkIsOpenPopup,_ as checkIsScrollToTop,A as convertUnitToNumber,$ as createSettingId,m as createTranslateKey,F as extractProductID,z as filterPageContext,j as filterTruthyObject,W as filterTruthyStyles,D as getAllHrefFromString,G as getBackgroundTranslated,I as getDisplayStyle,k as getDynamicSourceLocales,w as getInsertLinkData,u as getLinkArticle,E as getLinkData,C as getSeoTranslated,v as getSettingPreloadData,y as getStaticLocale,B as handleClickLink,N as isEmptyObject,d as isHexTransparent,T as isLinkedToSalesPage,p as isShopifyDomain,g as isTransparentColor,f as isTransparentRGBA,S as normalizeMailto,P as replaceAllHrefFromString,L as replaceLinkData,h as youtubeShortsRegex};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{DEVICES as e,makeStyleResponsive as t,getValueByDevice as o,getAspectRatioGlobalSize as l,getResponsiveValueByScreen as i,cls as r,GRADIENT_BGR_KEY as a}from"@gem-sdk/core";import{getImageSrc as n,createBlurDataURL as s}from"../../image/common/helpers.js";import{HREF_TO_SALES_PAGE as p}from"../../constant.js";import{DEFAULT_CLIP_PATH as b,VIDEO_IFRAME_SCALE as g}from"./const.js";let d=(t,o,l)=>{let r={};return e.map(e=>{let a=i(t,e),n=i(o,e),s=i(l,e);r={...r,[e]:1>=(a?.cols?.length||1)?n:s}}),r},c=(e,t)=>{if(!i(m(t),e))return!1;if(!t?.[e]){if("mobile"===e)return t?.tablet?.type==="image"||t?.desktop?.type==="image"&&!t?.tablet;if("tablet"===e)return t?.desktop?.type==="image"}return t?.[e]?.type==="image"},m=e=>{if(!e)return{};let t={desktop:e?.desktop?.image,tablet:e?.tablet?.image,mobile:e?.mobile?.image};return t},u=e=>{let t=m(e);return{desktop:s(t?.desktop?.width??0,t?.desktop?.height??0),tablet:s(t?.tablet?.width??t?.desktop?.width??0,t?.tablet?.height??t?.desktop?.width??0),mobile:s(t?.mobile?.width??t?.tablet?.width??t?.desktop?.width??0,t?.mobile?.height??t?.tablet?.height??t?.desktop?.width??0)}},h=(e,t,o,l)=>{if(!e)return"";let r=m(e),s=i(e,t),p=o?`url(${u(e)[t]})`:`url(${n(i(r,t),t,l)})`,b=s?.color?`, ${s.color}`:"";return s?.color?.includes(a)&&s?.type==="image"?`${p}${b}`:s?.color?.includes(a)&&s?.type!=="image"?`${s.color}`:s?.type==="image"?p:"url()"},y=(o,l=!1,i=!1)=>{if(!o)return;let r={};return e.forEach(e=>{r={...r,[e]:h(o,e,l,i)}}),t("bgi",r)},f=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let l=e?.[o]?.attachment;t={...t,[o]:"fixed"===l?"fixed":"absolute"}}),t},I=(e,t,o)=>S(d(e,t,o)),v=e=>e?.target?.closest("div.gp-hero-banner-row")?.scrollTo(0,0),k=(e,t)=>{switch(e){case"desktop":if(t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"tablet":if(t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.tablet&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"mobile":if(t?.mobile?.type==="video")return{device:"mobile",data:t.mobile};if(!t?.mobile&&t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.mobile&&!t?.tablet?.type&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop}}},w=e=>e?Object.keys(e).filter(e=>["--d","--d-tablet","--d-mobile"].includes(e)).reduce((t,o)=>({...t,[o]:e?.[o]!=="none"?"flex":e?.[o]}),{}):{},C=(e,t)=>{if(!e)return t;let o=e?.shapeVideo;return"custom"===o?e?.shapeValue||t:void 0!==o?o:e?.shapeValue??t},A=({shapeByDevice:e,fallbackRatio:t,device:o,currentResult:l})=>{let i=C(e,t);return i?{...l,[o]:i}:l},j=(e,o)=>{let r=l(o);return["desktop","mobile","tablet"].forEach(t=>{let l=i(o,t),a=!!k(t,e);a&&(r=A({shapeByDevice:l,fallbackRatio:"auto",device:t,currentResult:r}))}),t("aspect",r)},S=e=>{let t={};for(let o in e)"top"===e[o]?t[o]="start":"bottom"===e[o]?t[o]="end":t[o]="center";return t},Z=(e,o)=>{let l={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(t=>{let r=i(e,t),a=!!k(t,o),n=r?.shape,s=r?.height;l={...l,[t]:"original"!==n||"fit-content"===s||a?"none":"block"}}),t("d",l)},B=(e,t)=>{if(!e)return;if(!t)return e.shapeValue;let o=e.shapeVideo;return"custom"===o?e.shapeValue:o},P=(t,o)=>{let l=!1,r=e.reduce((e,r)=>{let a=i(t,r),n=i(o,r),s=B(a,n?.type==="video");return s&&(e[r]=s,l=!0),e},{});return{aspectRatio:l?r:void 0}},x=(t,l,i)=>e.reduce((e,r)=>{let a=o(t,r),n=a?.type==="video"?a?.videoType:void 0,s=o(l,r),p=i?.[r];return p&&"youtube"===n&&"cover"!==s&&(e[r]=p),e},{}),$=(e,t)=>{let{aspectRatio:o}=P(e,t);return o},D=(e,t,o)=>{let l=x(e,t,o);return Object.keys(l).length?l:void 0},R=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let l=e?.[o];l&&(t={...t,[o]:"default"===l?"var(--g-ct-w, 1200px)":l})}),t},T=(e,t)=>{let{top:o,height:l}=e,i=-l;return o<i?0:o>t?100:Math.min(Math.max((o-i)/(t-i)*100,0),100)},V=({enableParallax:e=!1,attachment:t="scroll"})=>!!e||"fixed"===t,z=(e,o)=>{let l={};return["desktop","mobile","tablet"].forEach(t=>{let r=i(e,t),a=r?.type==="image"&&o,n=V({enableParallax:a,attachment:e[t]?.attachment});l={...l,[t]:a?"150%":n?"100vh":"100%"}}),t("h",l)},M=(e,o)=>{let l={};return["desktop","mobile","tablet"].forEach(t=>{let r=i(e,t),a=r?.type==="image"&&o,n=V({enableParallax:a,attachment:e[t]?.attachment});l={...l,[t]:n?"100vw":"100%"}}),t("w",l)},W=e=>{let o={};return["desktop","mobile","tablet"].forEach(t=>{o={...o,[t]:e[t]?.attachment==="fixed"?"0px":""}}),t("top",o)},E=(e,t)=>{let o=z(e,t),l=M(e,t),i=W(e);return{...o,...l,...i}},G=(e,t=0,o=0)=>{let l=t,i=t;if(t>o?l=o:i=o,e>=999){let t=e-l;return t>0?t:0}let r=e-i;return r>0?r:0},L=(e,t)=>{if(!t)return`${b}`;let[o,l,i,r]=(e??"0 0 0 0").split(" ").map(e=>parseInt(e??"0")||0),{btlr:a,btrr:n,bbrr:s,bblr:p}=t,g=G(parseInt(a??"0")||0,o,r),d=G(parseInt(n??"0")||0,o,l),c=G(parseInt(s??"0")||0,l,i),m=G(parseInt(p??"0")||0,i,r);return[g,d,c,m].every(e=>0===e)?`${b}`:`inset(0 0 0 round ${g}px ${d}px ${c}px ${m}px)`},H=e=>({"!gp-self-start":"left"===e.desktop,"!gp-self-center":"center"===e.desktop,"!gp-self-end":"right"===e.desktop,"tablet:!gp-self-start":"left"===e.tablet,"tablet:!gp-self-center":"center"===e.tablet,"tablet:!gp-self-end":"right"===e.tablet,"mobile:!gp-self-start":"left"===e.mobile,"mobile:!gp-self-center":"center"===e.mobile,"mobile:!gp-self-end":"right"===e.mobile}),N=({device:e,settingLayoutRes:t,contentPosition1ColRes:o})=>{let l=t[e]?.cols??[],i=l.length<=1,r=o[e];if(i&&r)return["space-between","top","center","bottom"].includes(r)?r:void 0},J=(t,o)=>{let l=Y(t),i=Y(o),r={desktop:N({device:"desktop",settingLayoutRes:l,contentPosition1ColRes:i}),tablet:N({device:"tablet",settingLayoutRes:l,contentPosition1ColRes:i}),mobile:N({device:"mobile",settingLayoutRes:l,contentPosition1ColRes:i})},a={"space-between":{desktop:"!gp-h-full !gp-content-stretch [&>*]:!gp-justify-between [&>*:nth-child(3)]:gp-absolute [&>*:nth-child(3)]:gp-hidden",tablet:"tablet:!gp-h-full tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-between tablet:[&>*:nth-child(3)]:gp-absolute tablet:[&>*:nth-child(3)]:gp-hidden",mobile:"mobile:!gp-h-full mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-between mobile:[&>*:nth-child(3)]:gp-absolute mobile:[&>*:nth-child(3)]:gp-hidden"},top:{desktop:"!gp-content-stretch [&>*]:!gp-justify-start",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-start",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-start"},center:{desktop:"!gp-content-stretch [&>*]:!gp-justify-center",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-center",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-center"},bottom:{desktop:"!gp-content-stretch [&>*]:!gp-justify-end",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-end",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-end"}},n={};return e.forEach(e=>{let t=r[e],o=a?.[t]?.[e];n[o]=!0}),n},K=e=>{let t=Y(e),o=t?.desktop?.type=="left-distributed"||t?.desktop?.type=="right-distributed",l=t?.tablet?.type=="left-distributed"||t?.tablet?.type=="right-distributed",i=t?.mobile?.type=="left-distributed"||t?.mobile?.type=="right-distributed";return{"gp-h-full tablet:gp-h-auto mobile:gp-h-auto [&>*]:!gp-justify-between":o,"tablet:!gp-h-full tablet:[&>*]:!gp-justify-between mobile:gp-h-auto":l,"mobile:!gp-h-full mobile:[&>*]:!gp-justify-between":i,"mobile:!gp-h-auto":!i}},O=e=>{let t={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(o=>{let l=i(e,o);t={...t,[o]:l}}),r("space-between"===t.desktop?"[&>*>*]:!gp-justify-between":"","space-between"===t.tablet?"tablet:[&>*>*]:!gp-justify-between ":`tablet:[&>*>*]:!gp-justify-${e?.tablet}`,"space-between"===t.mobile?"mobile:[&>*>*]:!gp-justify-between ":`mobile:[&>*>*]:!gp-justify-${e?.mobile}`)},X=(e,t)=>{let o={desktop:!1,tablet:!1,mobile:!1};return["desktop","mobile","tablet"].forEach(l=>{let r=i(e,l),a=!!k(l,t),n=r?.shape,s=r?.height;o={...o,[l]:"original"===n&&"fit-content"!==s&&!a}}),r(o.desktop?"!gp-absolute":"",o.tablet?"tablet:!gp-absolute":"tablet:!gp-relative",o.mobile?"mobile:!gp-absolute":"mobile:!gp-relative")},F=e=>{let t={center:"center",top:"start",bottom:"end","space-between":"between"},o=e.desktop||"center",l=e.tablet||o,i=e.mobile||l;return{[`gp-justify-${t[o]}`]:!0,[`tablet:gp-justify-${t[l]}`]:!0,[`mobile:gp-justify-${t[i]}`]:!0}},Y=e=>{let t=e.desktop,o=e.tablet?e.tablet:t,l=e.mobile?e.mobile:o;return{desktop:t,tablet:o,mobile:l}},U=t=>e.some(e=>{let l=o(t,e);return l?.type!=="color"&&l?.type!=="image"&&!!l&&(l?.videoType==="html5"&&l?.videoHtml5||l?.videoType==="youtube"&&l?.video)});function Q(e,t){let o;return function(...l){clearTimeout(o),o=setTimeout(()=>e.apply(this,l),t)}}let _="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8ZGVmcz4KICAgICAgPGxpbmVhckdyYWRpZW50IGlkPSJnLTE5MjAtOTAwIj4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjIwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjUwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjcwJSIgLz4KICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxyZWN0IHdpZHRoPSIxOTIwIiBoZWlnaHQ9IjkwMCIgZmlsbD0icmdiYSg1MSwgNTEsIDUxLCAwKSIgLz4KICAgIDxyZWN0IGlkPSJyIiB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIGZpbGw9InVybCgjZy0xOTIwLTkwMCkiIC8+CiAgICA8YW5pbWF0ZSB4bGluazpocmVmPSIjciIgYXR0cmlidXRlTmFtZT0ieCIgZnJvbT0iLTE5MjAiIHRvPSIxOTIwIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgIC8+CiAgPC9zdmc+",q=e=>{let t=e?.link;return t?.type==="go-to-sales-page"?{type:"go-to-sales-page",link:p,target:"_self"}:t},ee=e=>e?String(e).includes("%")?`${e}`:`${e}%`:"100%",et=e=>{let{overlayColor:t,overlayOpacity:o}=e??{},l=!t?.normal||o?.normal=="0%"||!o?.normal;return{disableOpacity:l}},eo=e=>{let{overlayOpacity:t}=e??{},o="number"!=typeof t?.hover||isNaN(t?.hover)?"string"==typeof t?.hover?`${parseInt(t?.hover)}%`:"":`${t?.hover}%`,l="number"!=typeof t?.normal||isNaN(t?.normal)?"string"==typeof t?.normal?`${parseInt(t?.normal)}%`:"0%":`${t?.normal}%`;return o||l},el=(e,t)=>{if(!e||!t)return 16/9;let o=i(e,t),l=o?.videoCustomRatio;if(l?.width&&l?.height){let e=Number(l.width),t=Number(l.height);if(e>0&&t>0)return e/t}return 16/9},ei=e=>{e&&(e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("transform"),e.style.removeProperty("position"))},er=e=>{Object.assign(e.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"})},ea=e=>{e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("width"),e.style.removeProperty("height")},en=e=>{if(!e)return 0;let{width:t,height:o}=e.getBoundingClientRect();return t&&o?t/o:0},es=e=>{switch(e){case"top":default:return{top:"0%",transform:`translate(-50%, 0%) scale(${g})`};case"bottom":return{top:"100%",transform:`translate(-50%, -100%) scale(${g})`};case"center":return{top:"50%",transform:`translate(-50%, -50%) scale(${g})`}}},ep=(e,t)=>{if(!e)return;let o=es(t);e.style.top=o.top,e.style.transform=o.transform},eb=({iframeEl:e,containerRatio:t,videoObjectFit:o,background:l,currentDevice:r,isYoutubeVideoMigrated:a})=>{let n,s;let p=el(l,r),b=i(l,r);if(!e||!t)return;let d=b?.videoAlign||"top",c=es(d);if("contain"===o){Object.assign(e.style,{position:"absolute",top:"50%",left:"50%",width:"100%",height:"100%",maxWidth:"none",transform:`translate(-50%, -50%) scale(${g})`});return}t>=p?(n=100,s=t/p*100):(s=100,n=p/t*100),Object.assign(e.style,{position:"absolute",top:c.top,left:"50%",width:a?"500%":`${n}%`,height:a?"100%":`${s}%`,maxWidth:"none",transform:c.transform})};export{P as collectAspectRatioByDevice,x as collectYoutubeAspectRatio,Q as debounce,_ as fallbackImg,ee as formatHoverScale,$ as getAspectRatio,f as getAttachmentDevice,y as getBackgroundImageHeroBanner,q as getBannerLink,m as getBgImage,H as getClassAlignBanner,F as getClassContentPosition,X as getClassForContentByFitContent,O as getClassForStretchContent,J as getClassSpaceBetween,K as getClassSpaceBetweenLeftRight,L as getClipPath,en as getContainerRatio,d as getContentPosition,k as getDataVideoHeroBannerResponsive,Z as getDisplayStyleByFitContent,c as getEnableBgImageByDevice,eo as getOpacityHover,T as getPercentageVisible,Y as getResponsiveSetting,j as getStyleAspectRatioHeroBannerCustom,E as getStyleHeroBannerBg,el as getVideoAspectRatio,w as getVisibilityStyle,R as getWidth,D as getYoutubeAspectRatio,I as horizontalAlign,u as imagePlaceholder,V as isScaleImage,S as mapContentPositionToHorizontal,et as opacityEnabledData,ei as resetVideoIframeStyle,ea as resetVideoWrapperStyle,v as scrollToContentBanner,ep as setVideoIframeAlign,er as setVideoWrapperStyle,U as showVideoType,eb as updateVideoIframeSize};
|
|
1
|
+
import{DEVICES as e,makeStyleResponsive as t,getValueByDevice as o,getAspectRatioGlobalSize as l,getResponsiveValueByScreen as i,cls as r,GRADIENT_BGR_KEY as a}from"@gem-sdk/core";import{getImageSrc as n,createBlurDataURL as s}from"../../image/common/helpers.js";import{LINK_ACTION as p}from"../../image/types.js";import{HREF_TO_SALES_PAGE as b}from"../../constant.js";import{DEFAULT_CLIP_PATH as g,VIDEO_IFRAME_SCALE as d}from"./const.js";let c=(t,o,l)=>{let r={};return e.map(e=>{let a=i(t,e),n=i(o,e),s=i(l,e);r={...r,[e]:1>=(a?.cols?.length||1)?n:s}}),r},m=(e,t)=>{if(!i(u(t),e))return!1;if(!t?.[e]){if("mobile"===e)return t?.tablet?.type==="image"||t?.desktop?.type==="image"&&!t?.tablet;if("tablet"===e)return t?.desktop?.type==="image"}return t?.[e]?.type==="image"},u=e=>{if(!e)return{};let t={desktop:e?.desktop?.image,tablet:e?.tablet?.image,mobile:e?.mobile?.image};return t},h=e=>{let t=u(e);return{desktop:s(t?.desktop?.width??0,t?.desktop?.height??0),tablet:s(t?.tablet?.width??t?.desktop?.width??0,t?.tablet?.height??t?.desktop?.width??0),mobile:s(t?.mobile?.width??t?.tablet?.width??t?.desktop?.width??0,t?.mobile?.height??t?.tablet?.height??t?.desktop?.width??0)}},y=(e,t,o,l)=>{if(!e)return"";let r=u(e),s=i(e,t),p=o?`url(${h(e)[t]})`:`url(${n(i(r,t),t,l)})`,b=s?.color?`, ${s.color}`:"";return s?.color?.includes(a)&&s?.type==="image"?`${p}${b}`:s?.color?.includes(a)&&s?.type!=="image"?`${s.color}`:s?.type==="image"?p:"url()"},f=(o,l=!1,i=!1)=>{if(!o)return;let r={};return e.forEach(e=>{r={...r,[e]:y(o,e,l,i)}}),t("bgi",r)},I=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let l=e?.[o]?.attachment;t={...t,[o]:"fixed"===l?"fixed":"absolute"}}),t},v=(e,t,o)=>P(c(e,t,o)),k=e=>e?.target?.closest("div.gp-hero-banner-row")?.scrollTo(0,0),w=(e,t)=>{switch(e){case"desktop":if(t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"tablet":if(t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.tablet&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop};break;case"mobile":if(t?.mobile?.type==="video")return{device:"mobile",data:t.mobile};if(!t?.mobile&&t?.tablet?.type==="video")return{device:"tablet",data:t.tablet};if(!t?.mobile&&!t?.tablet?.type&&t?.desktop?.type==="video")return{device:"desktop",data:t.desktop}}},C=e=>e?Object.keys(e).filter(e=>["--d","--d-tablet","--d-mobile"].includes(e)).reduce((t,o)=>({...t,[o]:e?.[o]!=="none"?"flex":e?.[o]}),{}):{},A=(e,t)=>{if(!e)return t;let o=e?.shapeVideo;return"custom"===o?e?.shapeValue||t:void 0!==o?o:e?.shapeValue??t},j=({shapeByDevice:e,fallbackRatio:t,device:o,currentResult:l})=>{let i=A(e,t);return i?{...l,[o]:i}:l},S=(e,o)=>{let r=l(o);return["desktop","mobile","tablet"].forEach(t=>{let l=i(o,t),a=!!w(t,e);a&&(r=j({shapeByDevice:l,fallbackRatio:"auto",device:t,currentResult:r}))}),t("aspect",r)},P=e=>{let t={};for(let o in e)"top"===e[o]?t[o]="start":"bottom"===e[o]?t[o]="end":t[o]="center";return t},Z=(e,o)=>{let l={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(t=>{let r=i(e,t),a=!!w(t,o),n=r?.shape,s=r?.height;l={...l,[t]:"original"!==n||"fit-content"===s||a?"none":"block"}}),t("d",l)},B=(e,t)=>{if(!e)return;if(!t)return e.shapeValue;let o=e.shapeVideo;return"custom"===o?e.shapeValue:o},x=(t,o)=>{let l=!1,r=e.reduce((e,r)=>{let a=i(t,r),n=i(o,r),s=B(a,n?.type==="video");return s&&(e[r]=s,l=!0),e},{});return{aspectRatio:l?r:void 0}},$=(t,l,i)=>e.reduce((e,r)=>{let a=o(t,r),n=a?.type==="video"?a?.videoType:void 0,s=o(l,r),p=i?.[r];return p&&"youtube"===n&&"cover"!==s&&(e[r]=p),e},{}),T=(e,t)=>{let{aspectRatio:o}=x(e,t);return o},D=(e,t,o)=>{let l=$(e,t,o);return Object.keys(l).length?l:void 0},R=e=>{let t={};return["desktop","mobile","tablet"].forEach(o=>{let l=e?.[o];l&&(t={...t,[o]:"default"===l?"var(--g-ct-w, 1200px)":l})}),t},V=(e,t)=>{let{top:o,height:l}=e,i=-l;return o<i?0:o>t?100:Math.min(Math.max((o-i)/(t-i)*100,0),100)},E=({enableParallax:e=!1,attachment:t="scroll"})=>!!e||"fixed"===t,G=(e,o)=>{let l={};return["desktop","mobile","tablet"].forEach(t=>{let r=i(e,t),a=r?.type==="image"&&o,n=E({enableParallax:a,attachment:e[t]?.attachment});l={...l,[t]:a?"150%":n?"100vh":"100%"}}),t("h",l)},z=(e,o)=>{let l={};return["desktop","mobile","tablet"].forEach(t=>{let r=i(e,t),a=r?.type==="image"&&o,n=E({enableParallax:a,attachment:e[t]?.attachment});l={...l,[t]:n?"100vw":"100%"}}),t("w",l)},M=e=>{let o={};return["desktop","mobile","tablet"].forEach(t=>{o={...o,[t]:e[t]?.attachment==="fixed"?"0px":""}}),t("top",o)},W=(e,t)=>{let o=G(e,t),l=z(e,t),i=M(e);return{...o,...l,...i}},L=(e,t=0,o=0)=>{let l=t,i=t;if(t>o?l=o:i=o,e>=999){let t=e-l;return t>0?t:0}let r=e-i;return r>0?r:0},H=(e,t)=>{if(!t)return`${g}`;let[o,l,i,r]=(e??"0 0 0 0").split(" ").map(e=>parseInt(e??"0")||0),{btlr:a,btrr:n,bbrr:s,bblr:p}=t,b=L(parseInt(a??"0")||0,o,r),d=L(parseInt(n??"0")||0,o,l),c=L(parseInt(s??"0")||0,l,i),m=L(parseInt(p??"0")||0,i,r);return[b,d,c,m].every(e=>0===e)?`${g}`:`inset(0 0 0 round ${b}px ${d}px ${c}px ${m}px)`},N=e=>({"!gp-self-start":"left"===e.desktop,"!gp-self-center":"center"===e.desktop,"!gp-self-end":"right"===e.desktop,"tablet:!gp-self-start":"left"===e.tablet,"tablet:!gp-self-center":"center"===e.tablet,"tablet:!gp-self-end":"right"===e.tablet,"mobile:!gp-self-start":"left"===e.mobile,"mobile:!gp-self-center":"center"===e.mobile,"mobile:!gp-self-end":"right"===e.mobile}),O=({device:e,settingLayoutRes:t,contentPosition1ColRes:o})=>{let l=t[e]?.cols??[],i=l.length<=1,r=o[e];if(i&&r)return["space-between","top","center","bottom"].includes(r)?r:void 0},J=(t,o)=>{let l=_(t),i=_(o),r={desktop:O({device:"desktop",settingLayoutRes:l,contentPosition1ColRes:i}),tablet:O({device:"tablet",settingLayoutRes:l,contentPosition1ColRes:i}),mobile:O({device:"mobile",settingLayoutRes:l,contentPosition1ColRes:i})},a={"space-between":{desktop:"!gp-h-full !gp-content-stretch [&>*]:!gp-justify-between [&>*:nth-child(3)]:gp-absolute [&>*:nth-child(3)]:gp-hidden",tablet:"tablet:!gp-h-full tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-between tablet:[&>*:nth-child(3)]:gp-absolute tablet:[&>*:nth-child(3)]:gp-hidden",mobile:"mobile:!gp-h-full mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-between mobile:[&>*:nth-child(3)]:gp-absolute mobile:[&>*:nth-child(3)]:gp-hidden"},top:{desktop:"!gp-content-stretch [&>*]:!gp-justify-start",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-start",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-start"},center:{desktop:"!gp-content-stretch [&>*]:!gp-justify-center",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-center",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-center"},bottom:{desktop:"!gp-content-stretch [&>*]:!gp-justify-end",tablet:"tablet:!gp-content-stretch tablet:[&>*]:!gp-justify-end",mobile:"mobile:!gp-content-stretch mobile:[&>*]:!gp-justify-end"}},n={};return e.forEach(e=>{let t=r[e],o=a?.[t]?.[e];n[o]=!0}),n},K=e=>{let t=_(e),o=t?.desktop?.type=="left-distributed"||t?.desktop?.type=="right-distributed",l=t?.tablet?.type=="left-distributed"||t?.tablet?.type=="right-distributed",i=t?.mobile?.type=="left-distributed"||t?.mobile?.type=="right-distributed";return{"gp-h-full tablet:gp-h-auto mobile:gp-h-auto [&>*]:!gp-justify-between":o,"tablet:!gp-h-full tablet:[&>*]:!gp-justify-between mobile:gp-h-auto":l,"mobile:!gp-h-full mobile:[&>*]:!gp-justify-between":i,"mobile:!gp-h-auto":!i}},X=e=>{let t={desktop:"none",tablet:"none",mobile:"none"};return["desktop","mobile","tablet"].forEach(o=>{let l=i(e,o);t={...t,[o]:l}}),r("space-between"===t.desktop?"[&>*>*]:!gp-justify-between":"","space-between"===t.tablet?"tablet:[&>*>*]:!gp-justify-between ":`tablet:[&>*>*]:!gp-justify-${e?.tablet}`,"space-between"===t.mobile?"mobile:[&>*>*]:!gp-justify-between ":`mobile:[&>*>*]:!gp-justify-${e?.mobile}`)},F=(e,t)=>{let o={desktop:!1,tablet:!1,mobile:!1};return["desktop","mobile","tablet"].forEach(l=>{let r=i(e,l),a=!!w(l,t),n=r?.shape,s=r?.height;o={...o,[l]:"original"===n&&"fit-content"!==s&&!a}}),r(o.desktop?"!gp-absolute":"",o.tablet?"tablet:!gp-absolute":"tablet:!gp-relative",o.mobile?"mobile:!gp-absolute":"mobile:!gp-relative")},Y=e=>{let t={center:"center",top:"start",bottom:"end","space-between":"between"},o=e.desktop||"center",l=e.tablet||o,i=e.mobile||l;return{[`gp-justify-${t[o]}`]:!0,[`tablet:gp-justify-${t[l]}`]:!0,[`mobile:gp-justify-${t[i]}`]:!0}},_=e=>{let t=e.desktop,o=e.tablet?e.tablet:t,l=e.mobile?e.mobile:o;return{desktop:t,tablet:o,mobile:l}},U=t=>e.some(e=>{let l=o(t,e);return l?.type!=="color"&&l?.type!=="image"&&!!l&&(l?.videoType==="html5"&&l?.videoHtml5||l?.videoType==="youtube"&&l?.video)});function Q(e,t){let o;return function(...l){clearTimeout(o),o=setTimeout(()=>e.apply(this,l),t)}}let q="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8ZGVmcz4KICAgICAgPGxpbmVhckdyYWRpZW50IGlkPSJnLTE5MjAtOTAwIj4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjIwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjUwJSIgLz4KICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSJyZ2JhKDUxLCA1MSwgNTEsIDApIiBvZmZzZXQ9IjcwJSIgLz4KICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxyZWN0IHdpZHRoPSIxOTIwIiBoZWlnaHQ9IjkwMCIgZmlsbD0icmdiYSg1MSwgNTEsIDUxLCAwKSIgLz4KICAgIDxyZWN0IGlkPSJyIiB3aWR0aD0iMTkyMCIgaGVpZ2h0PSI5MDAiIGZpbGw9InVybCgjZy0xOTIwLTkwMCkiIC8+CiAgICA8YW5pbWF0ZSB4bGluazpocmVmPSIjciIgYXR0cmlidXRlTmFtZT0ieCIgZnJvbT0iLTE5MjAiIHRvPSIxOTIwIiBkdXI9IjFzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgIC8+CiAgPC9zdmc+",ee=e=>{let t=e?.link;return t?.type===p.GO_TO_SALES_PAGE?{type:p.GO_TO_SALES_PAGE,link:b,target:"_self"}:t},et=e=>e?String(e).includes("%")?`${e}`:`${e}%`:"100%",eo=e=>{let{overlayColor:t,overlayOpacity:o}=e??{},l=!t?.normal||o?.normal=="0%"||!o?.normal;return{disableOpacity:l}},el=e=>{let{overlayOpacity:t}=e??{},o="number"!=typeof t?.hover||isNaN(t?.hover)?"string"==typeof t?.hover?`${parseInt(t?.hover)}%`:"":`${t?.hover}%`,l="number"!=typeof t?.normal||isNaN(t?.normal)?"string"==typeof t?.normal?`${parseInt(t?.normal)}%`:"0%":`${t?.normal}%`;return o||l},ei=(e,t)=>{if(!e||!t)return 16/9;let o=i(e,t),l=o?.videoCustomRatio;if(l?.width&&l?.height){let e=Number(l.width),t=Number(l.height);if(e>0&&t>0)return e/t}return 16/9},er=e=>{e&&(e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("transform"),e.style.removeProperty("position"))},ea=e=>{Object.assign(e.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"})},en=e=>{e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("left"),e.style.removeProperty("width"),e.style.removeProperty("height")},es=e=>{if(!e)return 0;let{width:t,height:o}=e.getBoundingClientRect();return t&&o?t/o:0},ep=e=>{switch(e){case"top":default:return{top:"0%",transform:`translate(-50%, 0%) scale(${d})`};case"bottom":return{top:"100%",transform:`translate(-50%, -100%) scale(${d})`};case"center":return{top:"50%",transform:`translate(-50%, -50%) scale(${d})`}}},eb=(e,t)=>{if(!e)return;let o=ep(t);e.style.top=o.top,e.style.transform=o.transform},eg=({iframeEl:e,containerRatio:t,videoObjectFit:o,background:l,currentDevice:r,isYoutubeVideoMigrated:a})=>{let n,s;let p=ei(l,r),b=i(l,r);if(!e||!t)return;let g=b?.videoAlign||"top",c=ep(g);if("contain"===o){Object.assign(e.style,{position:"absolute",top:"50%",left:"50%",width:"100%",height:"100%",maxWidth:"none",transform:`translate(-50%, -50%) scale(${d})`});return}t>=p?(n=100,s=t/p*100):(s=100,n=p/t*100),Object.assign(e.style,{position:"absolute",top:c.top,left:"50%",width:a?"500%":`${n}%`,height:a?"100%":`${s}%`,maxWidth:"none",transform:c.transform})};export{x as collectAspectRatioByDevice,$ as collectYoutubeAspectRatio,Q as debounce,q as fallbackImg,et as formatHoverScale,T as getAspectRatio,I as getAttachmentDevice,f as getBackgroundImageHeroBanner,ee as getBannerLink,u as getBgImage,N as getClassAlignBanner,Y as getClassContentPosition,F as getClassForContentByFitContent,X as getClassForStretchContent,J as getClassSpaceBetween,K as getClassSpaceBetweenLeftRight,H as getClipPath,es as getContainerRatio,c as getContentPosition,w as getDataVideoHeroBannerResponsive,Z as getDisplayStyleByFitContent,m as getEnableBgImageByDevice,el as getOpacityHover,V as getPercentageVisible,_ as getResponsiveSetting,S as getStyleAspectRatioHeroBannerCustom,W as getStyleHeroBannerBg,ei as getVideoAspectRatio,C as getVisibilityStyle,R as getWidth,D as getYoutubeAspectRatio,v as horizontalAlign,h as imagePlaceholder,E as isScaleImage,P as mapContentPositionToHorizontal,eo as opacityEnabledData,er as resetVideoIframeStyle,en as resetVideoWrapperStyle,k as scrollToContentBanner,eb as setVideoIframeAlign,ea as setVideoWrapperStyle,U as showVideoType,eg as updateVideoIframeSize};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{HREF_TO_SALES_PAGE as e}from"../../constant.js";import{getAspectRatio as t,getNewBackupFileKey as
|
|
1
|
+
import{HREF_TO_SALES_PAGE as e}from"../../constant.js";import{getAspectRatio as t,getNewBackupFileKey as a,getImageSrc as r,safeStringify as s,IMAGE_PLACEHOLDER as l,NEXT_IMAGE_CONFIG as i,getSrcSet as o,createBlurDataURL as g}from"./helpers.js";import{createAttr as p}from"@gem-sdk/system";import{PRIORITY_LOAD_ATTRS as n}from"../constants.js";let c=(e,t)=>({...e,...t&&{"data-id":t}}),u=({urlData:t,imageLink:a,title:r,isLiquid:s=!1})=>{let l=s?{...t,...a?.noFollow&&{rel:"nofollow"},title:r}:{setting:t,title:r};return a?.type!=="go-to-sales-page"?a?.link?l:{}:s?{href:e,target:"_self"}:{setting:{href:e,target:"_self"}}},d=({pageContext:e})=>({...e&&{pageContext:e}}),y=({styles:e,setting:l,isLiquid:i})=>{let{alt:o,srcSet:g,priority:p,qualityPercent:c,qualityType:u,title:d}=l??{},y=t({styles:e,setting:l}),m=g?.desktop?.backupFileKey?a(g?.desktop?.backupFileKey??"",g?.desktop?.src??""):"",L=i?r({src:g?.desktop?.src,backupFileKey:m,backupFilePath:g?.desktop?.backupFilePath,storage:g?.desktop?.storage}):g?.desktop?.src??"",A=p?{}:{"base-src":L??"","quality-type":s(u),"quality-percent":s(c)};return{pictureClass:"gp-contents",...o&&{alt:o},...d&&{title:d},...g&&{srcSet:g},...p&&n,...A,...e?.objectFit&&{layout:e.objectFit},aspectRatio:y}},m=({styles:e,setting:a})=>{let{objectFit:r}=e??{},{vw:s,alt:l,title:i,quality:o,priority:g,isNotLazyload:p,qualityType:n,qualityPercent:c}=a??{},u=t({styles:e,setting:a});return{...a?.image,...s&&{vw:s},...l&&{alt:l},...i&&{title:i},...o&&{quality:o},...g&&{priority:g},isNotLazyload:p,setting:{aspectRatio:u,layout:r,qualityType:n,qualityPercent:c}}},L=e=>{let{srcset:t,setting:l,storage:n,baseSrc:c,priority:u,customAttrs:d,width:y=2237,height:m=1678,isNotLazyload:L,backupFileKey:A,backupFilePath:b,srcIsLiquidCode:k,pageContext:F,alt:f=i.DEFAULT_ALT,title:h,src:T=i.DEFAULT_SRC,sizes:E=i.DEFAULT_SIZES}=e,_=!L&&(F?.enableLazyLoadImage??!0)&&!u;return p({...d,...(()=>{let{qualityPercent:e,qualityType:t}=l??{},a=!u&&t&&e?{"quality-type":s(t),"quality-percent":s(e)}:{"quality-type":"","quality-percent":""};return{...f&&{alt:f},...h&&{title:h},width:y,height:m,draggable:"false",...a}})(),...(()=>{let e=A?a(A??"",T):"",s=k?c:r({src:T,backupFileKey:e,backupFilePath:b,storage:n}),l=k?T:o(e??"",n??"THEME",T),i={sizes:"100vw",src:g(y,m),...s&&!u?{"base-src":s}:{},...s?{"data-src":s}:{},...l?{"data-srcset":l}:{}},p={sizes:E,src:s??"",isNotLazyload:"true",srcset:t??"",...s&&!u?{"base-src":s}:{},...u?{loading:"eager",fetchpriority:"high"}:{loading:"lazy"}};return{"data-sizes":"auto",..._?i:p}})()})},A=e=>{let{width:t=i.DEFAULT_WIDTH_PROPS,height:a=i.DEFAULT_HEIGHT_PROPS,quality:r,priority:s,isNotLazyload:o,pageContext:g,base64:n=l,alt:c=i.DEFAULT_ALT,title:u,src:d=i.DEFAULT_SRC}=e,y=!o&&(g?.enableLazyLoadImage??!0)&&!s,m=p((()=>{let e={loading:"lazy",placeholder:"blur",...n&&{blurDataURL:n}};return{...y?e:{loading:"eager",fetchpriority:"high"}}})());return{src:d,alt:c,title:u,width:t,height:a,quality:r,...m}};export{y as getAdaptiveImageAttrs,c as getContainerAttrs,d as getImageLiquidAttrs,u as getLinkWrapperAttrs,m as getNextImageAttrs,L as getNextImageLiquidAttrs,A as getNextImageReactAttrs};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,jsx as
|
|
2
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEditorMode as s}from"@gem-sdk/core";import{createStyleReact as o,createStyle as r,createClass as m,createAttr as a,If as l}from"@gem-sdk/system";import i from"./AdaptiveImage.js";import n from"./NextImage.js";import{getWrapperStyles as p,getImageStyles as c,getContainerStyles as d}from"../common/styles.js";import{getWrapperClasses as f,getImageClasses as y,getContainerClasses as j}from"../common/classes.js";import{getContainerAttrs as k,getAdaptiveImageAttrs as u,getNextImageAttrs as g,getLinkWrapperAttrs as v}from"../common/attrs.js";import{getLinkData as N,handleClickLink as h}from"../../helpers.js";let x=({style:x,styles:I,setting:C,children:D,advanced:W,className:b,builderAttrs:w,builderProps:A,onLoad:E,onClick:K})=>{let{imageLink:L,isAdaptive:q,enableImageLink:z}=C??{},B=s(),{Wrapper:F,urlData:G,shouldRenderLink:H}=N({defaultWrap:"div",setting:L,enableImageLink:z}),J=z&&!H?()=>h(L,B):void 0,M=J&&{onClick:J,role:"link",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),J())}},O=o(p(I)),P=r(c(I,A)),Q=r(d(x,I)),R=m(f()),S=m(y(b,I)),T=m(j(A?.uid,W?.cssClass,I?.shape)),U=a(k(w,A?.uid)),V=v({urlData:G,imageLink:L,title:C?.title}),X=u({styles:I,setting:C}),Y=g({styles:I,setting:C});return e("div",{role:"presentation",...U,style:Q,className:T,onClick:K,children:[t(F,{...V,...M,style:O,className:R,children:l(q,t(i,{...X,style:P,className:S}),t(n,{...Y,style:P,className:S,onLoad:E}))}),D]})};export{x as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e={GO_TO_SALES_PAGE:"go-to-sales-page"};export{e as LINK_ACTION};
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{accordionSetting}from"./accordion/index.js";export{articleListSetting}from"./article/index.js";export{bannerSetting}from"./hero-banner/index.js";export{breadcrumbSetting}from"./breadcrumb/index.js";export{buttonSetting}from"./button/index.js";export{carouselSettingV3}from"./carousel-v3/index.js";export{carouselSetting}from"./carousel/index.js";export{cartSetting}from"./cart/index.js";export{codeSetting}from"./code/index.js";export{collectionSetting}from"./collection/index.js";export{countdownSetting}from"./countdown-timer/index.js";export{couponSetting}from"./coupon/index.js";export{dialogSetting}from"./dialog/index.js";export{estimateDeliverySetting}from"./estimate-delivery/index.js";export{gridSetting}from"./grid/index.js";export{contactFormSetting}from"./form/index.js";export{headerSetting}from"./header/index.js";export{headingSetting}from"./heading/index.js";export{iconSetting}from"./icon/index.js";export{iconListSetting}from"./icon-list/index.js";export{iconListHozSetting}from"./icon-list-hoz/index.js";export{iconListSettingV2}from"./icon-list-v2/index.js";export{imageSetting}from"./image/index.js";export{imageComparisonSetting}from"./image-comparison/index.js";export{imageDetectionSetting}from"./image-detection/index.js";export{inputSetting}from"./input/index.js";export{lineSetting}from"./line/index.js";export{linkSetting}from"./link/index.js";export{marqueeSetting}from"./marquee/index.js";export{menuSetting}from"./menu/index.js";export{modalSetting}from"./modal/index.js";export{default as useNotification}from"./notification/hooks/useNotification.js";export{default as Notice}from"./notification/components/Notice.js";export{paginationSetting}from"./pagination/index.js";export{postPurchaseAdvancedListSetting}from"./post-purchase/advanced-list/index.js";export{postPurchaseButtonSetting}from"./post-purchase/button/index.js";export{postPurchaseCalloutBoxSetting}from"./post-purchase/callout-banner/index.js";export{postPurchaseCountdownTimerSetting}from"./post-purchase/countdown-timer/index.js";export{postPurchaseImageSetting}from"./post-purchase/image/index.js";export{postPurchaseLineSetting}from"./post-purchase/line/index.js";export{postPurchaseLinkSetting}from"./post-purchase/link/index.js";export{PostPurchaseHeading,postPurchaseTextSetting}from"./post-purchase/text/index.js";export{postPurchaseProductSetting}from"./post-purchase/product/index.js";export{postPurchaseBuyerConsentSetting}from"./post-purchase/buyer-consent/index.js";export{productSetting}from"./product/index.js";export{radioSetting}from"./radio/index.js";export{selectSetting}from"./select/index.js";export{tabSetting}from"./tab/index.js";export{textSetting}from"./text/index.js";export{textareaSetting}from"./textarea/index.js";export{videoSetting}from"./video/index.js";export{thirdPartySetting}from"./third-party/index.js";export{thirdPartyInstantSetting}from"./third-party-instant/index.js";export{stockCounterSetting}from"./stock-counter/index.js";export{thirdPartySlotSetting}from"./third-party-slot/index.js";export{shopPayInstallmentSetting}from"./shop-pay-installment/index.js";export{stickySetting}from"./sticky/index.js";export{default as nextComponent}from"./next.js";export{default as headlessComponents}from"./headless.js";import*as t from"./index.liquid.js";export{default as builderComponent}from"./builder.js";export{default as componentSettings}from"./setting.js";export{default as postPurchaseSettings}from"./postPurchaseSetting.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";export{ELEMENT_Z_INDEX}from"./common/const.js";export{REGEX_PAGE_TYPE,checkIsOpenPopup,checkIsScrollToTop,convertUnitToNumber,createSettingId,createTranslateKey,extractProductID,filterPageContext,filterTruthyObject,filterTruthyStyles,getAllHrefFromString,getBackgroundTranslated,getDisplayStyle,getDynamicSourceLocales,getInsertLinkData,getLinkArticle,getLinkData,getSeoTranslated,getSettingPreloadData,getStaticLocale,handleClickLink,isEmptyObject,isHexTransparent,isLinkedToSalesPage,isShopifyDomain,isTransparentColor,isTransparentRGBA,normalizeMailto,replaceAllHrefFromString,replaceLinkData,youtubeShortsRegex}from"./helpers.js";import*as o from"./translate.js";export{TAGS_WITH_REPLACE_LINK_DATA}from"./constant.js";export{default as Accordion}from"./accordion/components/Accordion.js";export{default as AccordionItem}from"./accordion/components/AccordionItem.js";export{default as AftershipEmailMarketingsms}from"./third-party/components/AftershipEmailMarketingsms.js";export{default as AirProductReviewsAppUgc}from"./third-party/components/AirProductReviewsAppUgc.js";export{default as AliReviews}from"./third-party/components/AliReviews.js";export{default as AlsoBoughtCbb}from"./third-party/components/AlsoBoughtCbb.js";export{default as AovBundlesVolumeDiscounts}from"./third-party/components/AovBundlesVolumeDiscounts.js";export{default as AovFreeGiftBuyXGetYBogo}from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";export{default as AppointmentBookingCowlendar}from"./third-party/components/AppointmentBookingCowlendar.js";export{default as AppstleBundlesDiscounts}from"./third-party/components/AppstleBundlesDiscounts.js";export{default as AppstleLoyaltyRewardProgram}from"./third-party/components/AppstleLoyaltyRewardProgram.js";export{default as AppstleSubscriptions}from"./third-party/components/AppstleSubscriptions.js";export{default as ArticleAuthor}from"./article/components/ArticleAuthor.js";export{default as ArticleCategory}from"./article/components/ArticleCategory.js";export{default as ArticleContent}from"./article/components/ArticleContent.js";export{default as ArticleDate}from"./article/components/ArticleDate.js";export{default as ArticleExcerpt}from"./article/components/ArticleExcerpt.js";export{default as ArticleImage}from"./article/components/ArticleImage.js";export{default as ArticleList}from"./article/components/ArticleList.js";export{default as ArticlePagination}from"./article/components/ArticlePagination.js";export{default as ArticleReadMore}from"./article/components/ArticleReadMore.js";export{default as ArticleTag}from"./article/components/ArticleTag.js";export{default as ArticleTitle}from"./article/components/ArticleTitle.js";export{default as BasicHeader}from"./header/components/kind/basic/index.js";export{default as BestBuyFulfillment}from"./third-party/components/BestBuyFulfillment.js";export{default as BfSizeChartSizeGuide}from"./third-party/components/BfSizeChartSizeGuide.js";export{default as BirdChime}from"./third-party/components/BirdChime.js";export{default as BloyRewardsProgramLoyalty}from"./third-party/components/BloyRewardsProgramLoyalty.js";export{default as Bogos}from"./third-party/components/Bogos.js";export{default as BoldProductOptions}from"./third-party/components/BoldProductOptions.js";export{default as BoldSubscriptions}from"./third-party/components/BoldSubscriptions.js";export{default as BonLoyaltyRewardsReferrals}from"./third-party/components/BonLoyaltyRewardsReferrals.js";export{default as BonySubscriptionsApp}from"./third-party/components/BonySubscriptionsApp.js";export{default as BoostAISearchDiscovery}from"./third-party/components/BoostAISearchDiscovery.js";export{default as Breadcrumb}from"./breadcrumb/components/Breadcrumb.js";export{default as Bundler}from"./third-party/components/Bundler.js";export{default as Button}from"./button/components/Button.js";export{default as CSSCode}from"./code/components/CSSCode.js";export{default as Carousel}from"./carousel/components/root/Carousel.js";export{default as CarouselItem}from"./carousel/components/item/CarouselItem.js";export{default as CarouselItemV3}from"./carousel-v3/components/item/CarouselItem.js";export{default as CarouselV3}from"./carousel-v3/components/root/Carousel.js";export{default as Cart}from"./cart/components/Cart.js";export{default as CartCheckout}from"./cart/components/CartCheckout.js";export{default as CartDiscount}from"./cart/components/CartDiscount.js";export{default as CartLineAttribute}from"./cart/components/CartLineAttribute.js";export{default as CartLineImage}from"./cart/components/CartLineImage.js";export{default as CartLinePrice}from"./cart/components/CartLinePrice.js";export{default as CartLineVariant}from"./cart/components/CartLineVariant.js";export{default as CartList}from"./cart/components/CartList.js";export{default as CartOrderNote}from"./cart/components/CartOrderNote.js";export{default as CartTotalItem}from"./cart/components/CartTotalItem.js";export{default as CartTotalPrice}from"./cart/components/CartTotalPrice.js";export{default as CheckoutNow}from"./cart/components/CheckoutNow.js";export{default as CleanSizeCharts}from"./third-party/components/CleanSizeCharts.js";export{default as Col}from"./grid/components/col/Col.js";export{default as CollectionBanner}from"./collection/components/collection-banner/CollectionBanner.js";export{default as CollectionDescription}from"./collection/components/collection-description/CollectionDescription.js";export{default as CollectionPaginator}from"./collection/components/collection-paginator/CollectionPaginator.js";export{default as CollectionTitle}from"./collection/components/collection-title/CollectionTitle.js";export{default as CollectionToolbar}from"./collection/components/collection-toolbar/CollectionToolbar.js";export{default as ContactForm}from"./form/components/contact/Contact.js";export{default as Countdown}from"./countdown-timer/components/Countdown.js";export{default as Coupon}from"./coupon/components/Coupon.js";export{default as CouponList}from"./cart/components/CouponList.js";export{default as CrossSellCartUpsell}from"./third-party/components/CrossSellCartUpsell.js";export{default as CustomProductOptionsVariant}from"./third-party/components/CustomProductOptionsVariant.js";export{default as DealeasyVolumeDiscounts}from"./third-party/components/DealeasyVolumeDiscounts.js";export{default as DesktopMenu}from"./header/components/kind/basic/DesktopMenu.js";export{default as Dialog}from"./dialog/components/Dialog.js";export{default as DiscountInput}from"./cart/components/DiscountInput.js";export{default as DiscountyBulkDiscountSales}from"./third-party/components/DiscountyBulkDiscountSales.js";export{default as DynamicCheckout}from"./product/components/dynamic-checkout/DynamicCheckout.js";export{default as EasifyProductOptions}from"./third-party/components/EasifyProductOptions.js";export{default as EasyBundleBuilderSkailama}from"./third-party/components/EasyBundleBuilderSkailama.js";export{default as EasySellCOD}from"./third-party/components/EasySellCOD.js";export{default as EcoboostifyShoppableReelUgc}from"./third-party/components/EcoboostifyShoppableReelUgc.js";export{default as EcomsendBackInStockAlert}from"./third-party/components/EcomsendBackInStockAlert.js";export{default as EssentPreorderBackInStock}from"./third-party/components/EssentPreorderBackInStock.js";export{default as EssentialAnnouncementBar}from"./third-party/components/EssentialAnnouncementBar.js";export{default as EssentialCountdownTimerBar}from"./third-party/components/EssentialCountdownTimerBar.js";export{default as EstimateDate}from"./estimate-delivery/components/EstimateDate.js";export{default as EstimatedDeliveryDatePlus}from"./third-party/components/EstimatedDeliveryDatePlus.js";export{default as FastBundleBundlesDiscounts}from"./third-party/components/FastBundleBundlesDiscounts.js";export{default as FeraReviews}from"./third-party/components/FeraReviews.js";export{default as FileUpload}from"./product/components/file-upload/UploadFile.js";export{default as FirePush}from"./third-party/components/FirePush.js";export{default as FlyBundlesUpsellsFbt}from"./third-party/components/FlyBundlesUpsellsFbt.js";export{default as FordeerProductLabels}from"./third-party/components/FordeerProductLabels.js";export{default as FormCheckbox}from"./form/components/form-checkbox/FormCheckbox.js";export{default as FormDropdown}from"./form/components/form-dropdown/FormDropdown.js";export{default as FormEmail}from"./form/components/form-email/FormEmail.js";export{default as FormTextarea}from"./form/components/textarea/TextArea.js";export{default as FrequentlyBoughtTogether}from"./third-party/components/FrequentlyBoughtTogether.js";export{default as GloColorSwatchvariantImage}from"./third-party/components/GloColorSwatchvariantImage.js";export{default as GloboProductOptionsVariant}from"./third-party/components/GloboProductOptionsVariant.js";export{default as GoogleReviewsByReputon}from"./third-party/components/GoogleReviewsByReputon.js";export{default as Growave}from"./third-party/components/Growave.js";export{default as GrowthSuiteDiscountCodes}from"./third-party/components/GrowthSuiteDiscountCodes.js";export{default as Header}from"./header/components/Header.js";export{default as Heading}from"./heading/components/Heading.js";export{default as HeroBanner}from"./hero-banner/components/HeroBanner.js";export{default as HextomCountdownTimerBar}from"./third-party/components/HextomCountdownTimerBar.js";export{default as HextomFreeShippingBar}from"./third-party/components/HextomFreeShippingBar.js";export{default as HulkFormBuilder}from"./third-party/components/HulkFormBuilder.js";export{default as HulkProductOptions}from"./third-party/components/HulkProductOptions.js";export{default as Icon}from"./icon/components/Icon.js";export{default as IconList}from"./icon-list/components/IconList.js";export{default as IconListHoz}from"./icon-list-hoz/components/IconListHoz.js";export{default as IconListItem}from"./icon-list/components/IconListItem.js";export{default as IconListItemHoz}from"./icon-list-hoz/components/IconListHozItem.js";export{default as IconListV2}from"./icon-list-v2/components/IconList.js";export{default as Image}from"./image/components/Image.js";export{default as ImageComparison}from"./image-comparison/components/ImageComparison.js";export{default as ImageDetection}from"./image-detection/components/ImageDetection.js";export{default as InfiniteOptions}from"./third-party/components/InfiniteOptions.js";export{default as Input}from"./input/components/Input.js";export{default as Instafeed}from"./third-party/components/Instafeed.js";export{default as InstantJudgemeReviews}from"./third-party-instant/components/InstantJudgemeReviews.js";export{default as InstantKlaviyo}from"./third-party-instant/components/InstantKlaviyo.js";export{default as InstantLooxReviews}from"./third-party-instant/components/InstantLooxReviews.js";export{default as InstantYotpoLoyalty}from"./third-party-instant/components/InstantYotpoLoyalty.js";export{default as InstasellShoppableInstagram}from"./third-party/components/InstasellShoppableInstagram.js";export{default as JudgemeReviews}from"./third-party/components/JudgemeReviews.js";export{default as JunipProductReviewsUgc}from"./third-party/components/JunipProductReviewsUgc.js";export{default as KachingBundles}from"./third-party/components/KachingBundles.js";export{default as KachingSubscriptionsApp}from"./third-party/components/KachingSubscriptionsApp.js";export{default as KingProductOptions}from"./third-party/components/KingProductOptions.js";export{default as KiteFreeGiftDiscount}from"./third-party/components/KiteFreeGiftDiscount.js";export{default as KlarnaMessaging}from"./third-party/components/KlarnaMessaging.js";export{default as Klaviyo}from"./third-party/components/Klaviyo.js";export{default as KoalaBundleQuantityDiscount}from"./third-party/components/KoalaBundleQuantityDiscount.js";export{default as LaiProductReviews}from"./third-party/components/LaiProductReviews.js";export{default as Line}from"./line/components/Line.js";export{default as Link}from"./link/components/Link.js";export{default as LoloyalLoyaltyReferrals}from"./third-party/components/LoloyalLoyaltyReferrals.js";export{default as LoopSubscriptions}from"./third-party/components/LoopSubscriptions.js";export{default as LooxReviews}from"./third-party/components/LooxReviews.js";export{default as Marquee}from"./marquee/components/Marquee.js";export{default as MaxbundleProductBundles}from"./third-party/components/MaxbundleProductBundles.js";export{default as MbcBundleVolumeDiscount}from"./third-party/components/MbcBundleVolumeDiscount.js";export{default as Menu}from"./menu/components/Menu.js";export{default as MobileMenu}from"./header/components/kind/basic/MobileMenu.js";export{default as Modal}from"./modal/components/Modal.js";export{default as ModernHeader}from"./header/components/kind/modern/index.js";export{default as MyappgurusProductReviews}from"./third-party/components/MyappgurusProductReviews.js";export{default as Newsletter}from"./form/components/newsletter/Newsletter.js";export{default as NotifyBackInStockPreOrder}from"./third-party/components/NotifyBackInStockPreOrder.js";export{default as OkendoReviewsLoyalty}from"./third-party/components/OkendoReviewsLoyalty.js";export{default as Omnisend}from"./third-party/components/Omnisend.js";export{default as Opinew}from"./third-party/components/Opinew.js";export{default as Pagination}from"./pagination/components/Pagination.js";export{default as ParcelPanel}from"./third-party/components/ParcelPanel.js";export{default as PickyStory}from"./third-party/components/PickyStory.js";export{default as PostPurchaseAcceptButton}from"./post-purchase/product/components/AcceptButton.js";export{default as PostPurchaseAdvancedList}from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";export{default as PostPurchaseAdvancedListItem}from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";export{default as PostPurchaseButton}from"./post-purchase/button/components/Button.js";export{default as PostPurchaseBuyerConsent}from"./post-purchase/buyer-consent/components/BuyerConsent.js";export{default as PostPurchaseCalloutBox}from"./post-purchase/callout-banner/components/CalloutBox.js";export{default as PostPurchaseCalloutText}from"./post-purchase/callout-banner/components/CalloutText.js";export{default as PostPurchaseCountdownTimer}from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";export{default as PostPurchaseImage}from"./post-purchase/image/components/Image.js";export{default as PostPurchaseLine}from"./post-purchase/line/components/PostPurchaseLine.js";export{default as PostPurchaseLink}from"./post-purchase/link/components/PostPurchaseLink.js";export{default as PostPurchaseProductDescription}from"./post-purchase/product/components/ProductDescription.js";export{default as PostPurchaseProductDiscountTag}from"./post-purchase/product/components/ProductDiscountTag.js";export{default as PostPurchaseProductImages}from"./post-purchase/product/components/product-image/index.js";export{default as PostPurchaseProductOffer}from"./post-purchase/product/components/product-offer/components/ProductOffer.js";export{default as PostPurchaseProductPrice}from"./post-purchase/product/components/ProductPrice.js";export{default as PostPurchaseProductPriceBreakdown}from"./post-purchase/product/components/ProductPriceBreakdown.js";export{default as PostPurchaseProductQuantity}from"./post-purchase/product/components/ProductQuantity.js";export{default as PostPurchaseProductSubscription}from"./post-purchase/product/components/product-subscription/ProductSubscription.js";export{default as PostPurchaseProductTitle}from"./post-purchase/product/components/ProductTitle.js";export{default as PostPurchaseProductVariants}from"./post-purchase/product/components/product-variant/components/ProductVariant.js";export{default as PostPurchaseText}from"./post-purchase/text/components/Text.js";export{default as PowerfulContactFormBuilder}from"./third-party/components/PowerfulContactFormBuilder.js";export{default as PreorderNowPreOrderPq}from"./third-party/components/PreorderNowPreOrderPq.js";export{default as PreorderNowWodPresale}from"./third-party/components/PreorderNowWodPresale.js";export{default as Product}from"./product/components/product-wrap/Product.js";export{default as ProductBadge}from"./product/components/product-badge/ProductBadge.js";export{default as ProductBundleDiscount}from"./product/components/product-bundle/ProductBundleDiscount.js";export{default as ProductBundleDiscountItem}from"./product/components/product-bundle/ProductBundleDiscountItem.js";export{default as ProductButton}from"./product/components/product-button/ProductButton.js";export{default as ProductDescription}from"./product/components/product-description/ProductDescription.js";export{default as ProductImages}from"./product/components/ProductImages.js";export{default as ProductImagesV2}from"./product/components/product-images-v2/ProductImageV2.js";export{default as ProductImagesV3}from"./product/components/product-images-v3/ProductImageV3.js";export{default as ProductList}from"./product/components/product-list/ProductList.js";export{default as ProductListV3}from"./product/components/product-list-v3/ProductList.js";export{default as ProductOptionsCustomizer}from"./third-party/components/ProductOptionsCustomizer.js";export{default as ProductOptionsVariantOption}from"./third-party/components/ProductOptionsVariantOption.js";export{default as ProductPrice}from"./product/components/product-price/ProductPrice.js";export{default as ProductPropertyInput}from"./product/components/product-properties/ProductProperties.js";export{default as ProductQuantity}from"./product/components/product-quantity/ProductQuantity.js";export{default as ProductQuickView}from"./product/components/product-quick-view/QuickView.js";export{default as ProductReviews}from"./third-party/components/ProductReviews.js";export{default as ProductSku}from"./product/components/product-sku/Sku.js";export{default as ProductTag}from"./product/components/product-discount-tag/ProductDiscountTag.js";export{default as ProductTitle}from"./product/components/product-title/ProductTitle.js";export{default as ProductVariants}from"./product/components/product-variants/ProductVariants.js";export{default as ProductVendor}from"./product/components/product-vendor/Vendor.js";export{default as ProductViewMore}from"./product/components/product-view-more/ProductViewMore.js";export{default as PumperBundlesVolumeDiscount}from"./third-party/components/PumperBundlesVolumeDiscount.js";export{default as PushOwl}from"./third-party/components/PushOwl.js";export{default as QikifyUpsell}from"./third-party/components/QikifyUpsell.js";export{default as Radio}from"./radio/components/Radio.js";export{default as RapiBundleQuantityBreaks}from"./third-party/components/RapiBundleQuantityBreaks.js";export{default as RechargeSubscriptions}from"./third-party/components/RechargeSubscriptions.js";export{default as RecurpaySubscriptionApp}from"./third-party/components/RecurpaySubscriptionApp.js";export{default as Releasit}from"./third-party/components/Releasit.js";export{default as RequestQuoteHidePrice}from"./third-party/components/RequestQuoteHidePrice.js";export{default as ReviewxpoProductReviewsApp}from"./third-party/components/ReviewxpoProductReviewsApp.js";export{default as Rivyo}from"./third-party/components/Rivyo.js";export{default as Root}from"./grid/components/root/Root.js";export{default as Row}from"./grid/components/row/Row.js";export{default as Ryviu}from"./third-party/components/Ryviu.js";export{default as SealSubscriptions}from"./third-party/components/SealSubscriptions.js";export{default as Section}from"./grid/components/section/Section.js";export{default as SegunoEmailMarketing}from"./third-party/components/SegunoEmailMarketing.js";export{default as Select}from"./select/components/Select.js";export{default as Selleasy}from"./third-party/components/Selleasy.js";export{default as SeoantTrustBadgesIcon}from"./third-party/components/SeoantTrustBadgesIcon.js";export{default as ShopPayButton}from"./cart/components/shop-pay-button/ShopPayButton.js";export{default as ShopPayInstallments}from"./shop-pay-installment/components/ShopPayInstallments.js";export{default as ShopifyForms}from"./third-party/components/ShopifyForms.js";export{default as ShopifySubscriptions}from"./third-party/components/ShopifySubscriptions.js";export{default as SimpleBundlesKits}from"./third-party/components/SimpleBundlesKits.js";export{default as SkioSubscriptionsYcS20}from"./third-party/components/SkioSubscriptionsYcS20.js";export{default as SmartSearchBarAndFilters}from"./third-party/components/SmartSearchBarAndFilters.js";export{default as SproutPlantTreesGrowSales}from"./third-party/components/SproutPlantTreesGrowSales.js";export{default as Stamped}from"./third-party/components/Stamped.js";export{default as StellarDeliveryDatePickup}from"./third-party/components/StellarDeliveryDatePickup.js";export{default as Sticky}from"./sticky/components/Sticky.js";export{default as StockCounter}from"./stock-counter/components/StockCounter.js";export{default as SubifySubscriptionsApp}from"./third-party/components/SubifySubscriptionsApp.js";export{default as SubmitButton}from"./form/components/submit-button/SubmitButton.js";export{default as TabItem}from"./tab/components/TabItem.js";export{default as Tabs}from"./tab/components/Tabs.js";export{default as TagembedSocialPostReview}from"./third-party/components/TagembedSocialPostReview.js";export{default as TagshopShoppableVideosUgc}from"./third-party/components/TagshopShoppableVideosUgc.js";export{default as TeeinblueProductPersonalizer}from"./third-party/components/TeeinblueProductPersonalizer.js";export{default as Text}from"./text/components/Text.js";export{default as TextField}from"./form/components/textfield/TextField.js";export{default as TextInput}from"./form/components/textinput/TextInput.js";export{default as Textarea}from"./textarea/components/Textarea.js";export{default as ThirdPartySlot}from"./third-party-slot/components/ThirdPartySlot.js";export{default as TrustBadgesBear}from"./third-party/components/TrustBadgesBear.js";export{default as TrustMe}from"./third-party/components/TrustMe.js";export{default as TrustedsiteTrustBadges}from"./third-party/components/TrustedsiteTrustBadges.js";export{default as Trustoo}from"./third-party/components/Trustoo.js";export{default as TrustreviewsProductReviews}from"./third-party/components/TrustreviewsProductReviews.js";export{default as TrustshopProductReviews}from"./third-party/components/TrustshopProductReviews.js";export{default as UltimateSalesBoost}from"./third-party/components/UltimateSalesBoost.js";export{default as UnlimitedBundlesDiscounts}from"./third-party/components/UnlimitedBundlesDiscounts.js";export{default as UppromoteAffiliateMarketing}from"./third-party/components/UppromoteAffiliateMarketing.js";export{default as Video}from"./video/components/Video.js";export{default as Vitals}from"./third-party/components/Vitals.js";export{default as WcWishlistBackInStock}from"./third-party/components/WcWishlistBackInStock.js";export{default as WhatmoreShoppableVideosreel}from"./third-party/components/WhatmoreShoppableVideosreel.js";export{default as WideBundle}from"./third-party/components/WideBundle.js";export{default as Wiser}from"./third-party/components/Wiser.js";export{default as WishlistKing}from"./third-party/components/WishlistKing.js";export{default as WishlistPlus}from"./third-party/components/WishlistPlus.js";export{default as YotpoLoyalty}from"./third-party/components/YotpoLoyalty.js";export{default as YotpoReviews}from"./third-party/components/YotpoReviews.js";export{CONTINUE_SELLING_WHEN_OUT_OF_STOCK,DEFAULT_FONT_SIZE,DEFAULT_HIGHLIGHT_TAG,DEFAULT_PROGRESS_BAR_HEIGHT,DEFAULT_QUANTITY_TEMPLATE,DEFAULT_RANGE_STEP,DEFAULT_REMAINING_PERCENT,DEFAULT_REMAINING_QUANTITY,DEFAULT_SCARCITY_THRESHOLD,MAX_PROGRESS_BAR_HEIGHT,MAX_REMAINING_PERCENT,MIN_PROGRESS_BAR_HEIGHT,MIN_REMAINING_PERCENT,MIN_REMAINING_QUANTITY,NO_PRODUCT_LEFT,OUT_OF_STOCK,QUANTITY_SOURCE,convertSizeToWidth,getInlineCss,getLiquidInitData,getLiquidTextContent,getTextDisplayData,transformHighlighTag,transformNumberTag}from"./stock-counter/common/helpers.js";export{default as MarqueeItem}from"./marquee/components/MarqueeItem.js";export{openConfirm}from"./modal/components/confirm.js";export{postPurchaseProduct1Col}from"./post-purchase/product/settings/presets-config/product-presets/product-1-col.js";export{postPurchaseProduct2Col}from"./post-purchase/product/settings/presets-config/product-presets/product-2-col.js";export{postPurchaseProductDefault}from"./post-purchase/product/settings/presets-config/product-presets/product-default.js";export{t as liquidComponents,o as translateComponents};
|
|
1
|
+
export{accordionSetting}from"./accordion/index.js";export{articleListSetting}from"./article/index.js";export{bannerSetting}from"./hero-banner/index.js";export{breadcrumbSetting}from"./breadcrumb/index.js";export{buttonSetting}from"./button/index.js";export{carouselSettingV3}from"./carousel-v3/index.js";export{carouselSetting}from"./carousel/index.js";export{cartSetting}from"./cart/index.js";export{codeSetting}from"./code/index.js";export{collectionSetting}from"./collection/index.js";export{countdownSetting}from"./countdown-timer/index.js";export{couponSetting}from"./coupon/index.js";export{dialogSetting}from"./dialog/index.js";export{estimateDeliverySetting}from"./estimate-delivery/index.js";export{gridSetting}from"./grid/index.js";export{contactFormSetting}from"./form/index.js";export{headerSetting}from"./header/index.js";export{headingSetting}from"./heading/index.js";export{iconSetting}from"./icon/index.js";export{iconListSetting}from"./icon-list/index.js";export{iconListHozSetting}from"./icon-list-hoz/index.js";export{iconListSettingV2}from"./icon-list-v2/index.js";export{imageSetting}from"./image/index.js";export{imageComparisonSetting}from"./image-comparison/index.js";export{imageDetectionSetting}from"./image-detection/index.js";export{inputSetting}from"./input/index.js";export{lineSetting}from"./line/index.js";export{linkSetting}from"./link/index.js";export{marqueeSetting}from"./marquee/index.js";export{menuSetting}from"./menu/index.js";export{modalSetting}from"./modal/index.js";export{default as useNotification}from"./notification/hooks/useNotification.js";export{default as Notice}from"./notification/components/Notice.js";export{paginationSetting}from"./pagination/index.js";export{postPurchaseAdvancedListSetting}from"./post-purchase/advanced-list/index.js";export{postPurchaseButtonSetting}from"./post-purchase/button/index.js";export{postPurchaseCalloutBoxSetting}from"./post-purchase/callout-banner/index.js";export{postPurchaseCountdownTimerSetting}from"./post-purchase/countdown-timer/index.js";export{postPurchaseImageSetting}from"./post-purchase/image/index.js";export{postPurchaseLineSetting}from"./post-purchase/line/index.js";export{postPurchaseLinkSetting}from"./post-purchase/link/index.js";export{PostPurchaseHeading,postPurchaseTextSetting}from"./post-purchase/text/index.js";export{postPurchaseProductSetting}from"./post-purchase/product/index.js";export{postPurchaseBuyerConsentSetting}from"./post-purchase/buyer-consent/index.js";export{productSetting}from"./product/index.js";export{radioSetting}from"./radio/index.js";export{selectSetting}from"./select/index.js";export{tabSetting}from"./tab/index.js";export{textSetting}from"./text/index.js";export{textareaSetting}from"./textarea/index.js";export{videoSetting}from"./video/index.js";export{thirdPartySetting}from"./third-party/index.js";export{thirdPartyInstantSetting}from"./third-party-instant/index.js";export{stockCounterSetting}from"./stock-counter/index.js";export{thirdPartySlotSetting}from"./third-party-slot/index.js";export{shopPayInstallmentSetting}from"./shop-pay-installment/index.js";export{stickySetting}from"./sticky/index.js";export{default as nextComponent}from"./next.js";export{default as headlessComponents}from"./headless.js";import*as t from"./index.liquid.js";export{default as builderComponent}from"./builder.js";export{default as componentSettings}from"./setting.js";export{default as postPurchaseSettings}from"./postPurchaseSetting.js";import"react/jsx-runtime";import"react";import"@gem-sdk/core";export{ELEMENT_Z_INDEX}from"./common/const.js";export{REGEX_BARE_DOMAIN,REGEX_PAGE_TYPE,checkIsOpenPage,checkIsOpenPopup,checkIsScrollToTop,convertUnitToNumber,createSettingId,createTranslateKey,extractProductID,filterPageContext,filterTruthyObject,filterTruthyStyles,getAllHrefFromString,getBackgroundTranslated,getDisplayStyle,getDynamicSourceLocales,getInsertLinkData,getLinkArticle,getLinkData,getSeoTranslated,getSettingPreloadData,getStaticLocale,handleClickLink,isEmptyObject,isHexTransparent,isLinkedToSalesPage,isShopifyDomain,isTransparentColor,isTransparentRGBA,normalizeMailto,replaceAllHrefFromString,replaceLinkData,youtubeShortsRegex}from"./helpers.js";import*as o from"./translate.js";export{TAGS_WITH_REPLACE_LINK_DATA}from"./constant.js";export{default as Accordion}from"./accordion/components/Accordion.js";export{default as AccordionItem}from"./accordion/components/AccordionItem.js";export{default as AftershipEmailMarketingsms}from"./third-party/components/AftershipEmailMarketingsms.js";export{default as AirProductReviewsAppUgc}from"./third-party/components/AirProductReviewsAppUgc.js";export{default as AliReviews}from"./third-party/components/AliReviews.js";export{default as AlsoBoughtCbb}from"./third-party/components/AlsoBoughtCbb.js";export{default as AovBundlesVolumeDiscounts}from"./third-party/components/AovBundlesVolumeDiscounts.js";export{default as AovFreeGiftBuyXGetYBogo}from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";export{default as AppointmentBookingCowlendar}from"./third-party/components/AppointmentBookingCowlendar.js";export{default as AppstleBundlesDiscounts}from"./third-party/components/AppstleBundlesDiscounts.js";export{default as AppstleLoyaltyRewardProgram}from"./third-party/components/AppstleLoyaltyRewardProgram.js";export{default as AppstleSubscriptions}from"./third-party/components/AppstleSubscriptions.js";export{default as ArticleAuthor}from"./article/components/ArticleAuthor.js";export{default as ArticleCategory}from"./article/components/ArticleCategory.js";export{default as ArticleContent}from"./article/components/ArticleContent.js";export{default as ArticleDate}from"./article/components/ArticleDate.js";export{default as ArticleExcerpt}from"./article/components/ArticleExcerpt.js";export{default as ArticleImage}from"./article/components/ArticleImage.js";export{default as ArticleList}from"./article/components/ArticleList.js";export{default as ArticlePagination}from"./article/components/ArticlePagination.js";export{default as ArticleReadMore}from"./article/components/ArticleReadMore.js";export{default as ArticleTag}from"./article/components/ArticleTag.js";export{default as ArticleTitle}from"./article/components/ArticleTitle.js";export{default as BasicHeader}from"./header/components/kind/basic/index.js";export{default as BestBuyFulfillment}from"./third-party/components/BestBuyFulfillment.js";export{default as BfSizeChartSizeGuide}from"./third-party/components/BfSizeChartSizeGuide.js";export{default as BirdChime}from"./third-party/components/BirdChime.js";export{default as BloyRewardsProgramLoyalty}from"./third-party/components/BloyRewardsProgramLoyalty.js";export{default as Bogos}from"./third-party/components/Bogos.js";export{default as BoldProductOptions}from"./third-party/components/BoldProductOptions.js";export{default as BoldSubscriptions}from"./third-party/components/BoldSubscriptions.js";export{default as BonLoyaltyRewardsReferrals}from"./third-party/components/BonLoyaltyRewardsReferrals.js";export{default as BonySubscriptionsApp}from"./third-party/components/BonySubscriptionsApp.js";export{default as BoostAISearchDiscovery}from"./third-party/components/BoostAISearchDiscovery.js";export{default as Breadcrumb}from"./breadcrumb/components/Breadcrumb.js";export{default as Bundler}from"./third-party/components/Bundler.js";export{default as Button}from"./button/components/Button.js";export{default as CSSCode}from"./code/components/CSSCode.js";export{default as Carousel}from"./carousel/components/root/Carousel.js";export{default as CarouselItem}from"./carousel/components/item/CarouselItem.js";export{default as CarouselItemV3}from"./carousel-v3/components/item/CarouselItem.js";export{default as CarouselV3}from"./carousel-v3/components/root/Carousel.js";export{default as Cart}from"./cart/components/Cart.js";export{default as CartCheckout}from"./cart/components/CartCheckout.js";export{default as CartDiscount}from"./cart/components/CartDiscount.js";export{default as CartLineAttribute}from"./cart/components/CartLineAttribute.js";export{default as CartLineImage}from"./cart/components/CartLineImage.js";export{default as CartLinePrice}from"./cart/components/CartLinePrice.js";export{default as CartLineVariant}from"./cart/components/CartLineVariant.js";export{default as CartList}from"./cart/components/CartList.js";export{default as CartOrderNote}from"./cart/components/CartOrderNote.js";export{default as CartTotalItem}from"./cart/components/CartTotalItem.js";export{default as CartTotalPrice}from"./cart/components/CartTotalPrice.js";export{default as CheckoutNow}from"./cart/components/CheckoutNow.js";export{default as CleanSizeCharts}from"./third-party/components/CleanSizeCharts.js";export{default as Col}from"./grid/components/col/Col.js";export{default as CollectionBanner}from"./collection/components/collection-banner/CollectionBanner.js";export{default as CollectionDescription}from"./collection/components/collection-description/CollectionDescription.js";export{default as CollectionPaginator}from"./collection/components/collection-paginator/CollectionPaginator.js";export{default as CollectionTitle}from"./collection/components/collection-title/CollectionTitle.js";export{default as CollectionToolbar}from"./collection/components/collection-toolbar/CollectionToolbar.js";export{default as ContactForm}from"./form/components/contact/Contact.js";export{default as Countdown}from"./countdown-timer/components/Countdown.js";export{default as Coupon}from"./coupon/components/Coupon.js";export{default as CouponList}from"./cart/components/CouponList.js";export{default as CrossSellCartUpsell}from"./third-party/components/CrossSellCartUpsell.js";export{default as CustomProductOptionsVariant}from"./third-party/components/CustomProductOptionsVariant.js";export{default as DealeasyVolumeDiscounts}from"./third-party/components/DealeasyVolumeDiscounts.js";export{default as DesktopMenu}from"./header/components/kind/basic/DesktopMenu.js";export{default as Dialog}from"./dialog/components/Dialog.js";export{default as DiscountInput}from"./cart/components/DiscountInput.js";export{default as DiscountyBulkDiscountSales}from"./third-party/components/DiscountyBulkDiscountSales.js";export{default as DynamicCheckout}from"./product/components/dynamic-checkout/DynamicCheckout.js";export{default as EasifyProductOptions}from"./third-party/components/EasifyProductOptions.js";export{default as EasyBundleBuilderSkailama}from"./third-party/components/EasyBundleBuilderSkailama.js";export{default as EasySellCOD}from"./third-party/components/EasySellCOD.js";export{default as EcoboostifyShoppableReelUgc}from"./third-party/components/EcoboostifyShoppableReelUgc.js";export{default as EcomsendBackInStockAlert}from"./third-party/components/EcomsendBackInStockAlert.js";export{default as EssentPreorderBackInStock}from"./third-party/components/EssentPreorderBackInStock.js";export{default as EssentialAnnouncementBar}from"./third-party/components/EssentialAnnouncementBar.js";export{default as EssentialCountdownTimerBar}from"./third-party/components/EssentialCountdownTimerBar.js";export{default as EstimateDate}from"./estimate-delivery/components/EstimateDate.js";export{default as EstimatedDeliveryDatePlus}from"./third-party/components/EstimatedDeliveryDatePlus.js";export{default as FastBundleBundlesDiscounts}from"./third-party/components/FastBundleBundlesDiscounts.js";export{default as FeraReviews}from"./third-party/components/FeraReviews.js";export{default as FileUpload}from"./product/components/file-upload/UploadFile.js";export{default as FirePush}from"./third-party/components/FirePush.js";export{default as FlyBundlesUpsellsFbt}from"./third-party/components/FlyBundlesUpsellsFbt.js";export{default as FordeerProductLabels}from"./third-party/components/FordeerProductLabels.js";export{default as FormCheckbox}from"./form/components/form-checkbox/FormCheckbox.js";export{default as FormDropdown}from"./form/components/form-dropdown/FormDropdown.js";export{default as FormEmail}from"./form/components/form-email/FormEmail.js";export{default as FormTextarea}from"./form/components/textarea/TextArea.js";export{default as FrequentlyBoughtTogether}from"./third-party/components/FrequentlyBoughtTogether.js";export{default as GloColorSwatchvariantImage}from"./third-party/components/GloColorSwatchvariantImage.js";export{default as GloboProductOptionsVariant}from"./third-party/components/GloboProductOptionsVariant.js";export{default as GoogleReviewsByReputon}from"./third-party/components/GoogleReviewsByReputon.js";export{default as Growave}from"./third-party/components/Growave.js";export{default as GrowthSuiteDiscountCodes}from"./third-party/components/GrowthSuiteDiscountCodes.js";export{default as Header}from"./header/components/Header.js";export{default as Heading}from"./heading/components/Heading.js";export{default as HeroBanner}from"./hero-banner/components/HeroBanner.js";export{default as HextomCountdownTimerBar}from"./third-party/components/HextomCountdownTimerBar.js";export{default as HextomFreeShippingBar}from"./third-party/components/HextomFreeShippingBar.js";export{default as HulkFormBuilder}from"./third-party/components/HulkFormBuilder.js";export{default as HulkProductOptions}from"./third-party/components/HulkProductOptions.js";export{default as Icon}from"./icon/components/Icon.js";export{default as IconList}from"./icon-list/components/IconList.js";export{default as IconListHoz}from"./icon-list-hoz/components/IconListHoz.js";export{default as IconListItem}from"./icon-list/components/IconListItem.js";export{default as IconListItemHoz}from"./icon-list-hoz/components/IconListHozItem.js";export{default as IconListV2}from"./icon-list-v2/components/IconList.js";export{default as Image}from"./image/components/Image.js";export{default as ImageComparison}from"./image-comparison/components/ImageComparison.js";export{default as ImageDetection}from"./image-detection/components/ImageDetection.js";export{default as InfiniteOptions}from"./third-party/components/InfiniteOptions.js";export{default as Input}from"./input/components/Input.js";export{default as Instafeed}from"./third-party/components/Instafeed.js";export{default as InstantJudgemeReviews}from"./third-party-instant/components/InstantJudgemeReviews.js";export{default as InstantKlaviyo}from"./third-party-instant/components/InstantKlaviyo.js";export{default as InstantLooxReviews}from"./third-party-instant/components/InstantLooxReviews.js";export{default as InstantYotpoLoyalty}from"./third-party-instant/components/InstantYotpoLoyalty.js";export{default as InstasellShoppableInstagram}from"./third-party/components/InstasellShoppableInstagram.js";export{default as JudgemeReviews}from"./third-party/components/JudgemeReviews.js";export{default as JunipProductReviewsUgc}from"./third-party/components/JunipProductReviewsUgc.js";export{default as KachingBundles}from"./third-party/components/KachingBundles.js";export{default as KachingSubscriptionsApp}from"./third-party/components/KachingSubscriptionsApp.js";export{default as KingProductOptions}from"./third-party/components/KingProductOptions.js";export{default as KiteFreeGiftDiscount}from"./third-party/components/KiteFreeGiftDiscount.js";export{default as KlarnaMessaging}from"./third-party/components/KlarnaMessaging.js";export{default as Klaviyo}from"./third-party/components/Klaviyo.js";export{default as KoalaBundleQuantityDiscount}from"./third-party/components/KoalaBundleQuantityDiscount.js";export{default as LaiProductReviews}from"./third-party/components/LaiProductReviews.js";export{default as Line}from"./line/components/Line.js";export{default as Link}from"./link/components/Link.js";export{default as LoloyalLoyaltyReferrals}from"./third-party/components/LoloyalLoyaltyReferrals.js";export{default as LoopSubscriptions}from"./third-party/components/LoopSubscriptions.js";export{default as LooxReviews}from"./third-party/components/LooxReviews.js";export{default as Marquee}from"./marquee/components/Marquee.js";export{default as MaxbundleProductBundles}from"./third-party/components/MaxbundleProductBundles.js";export{default as MbcBundleVolumeDiscount}from"./third-party/components/MbcBundleVolumeDiscount.js";export{default as Menu}from"./menu/components/Menu.js";export{default as MobileMenu}from"./header/components/kind/basic/MobileMenu.js";export{default as Modal}from"./modal/components/Modal.js";export{default as ModernHeader}from"./header/components/kind/modern/index.js";export{default as MyappgurusProductReviews}from"./third-party/components/MyappgurusProductReviews.js";export{default as Newsletter}from"./form/components/newsletter/Newsletter.js";export{default as NotifyBackInStockPreOrder}from"./third-party/components/NotifyBackInStockPreOrder.js";export{default as OkendoReviewsLoyalty}from"./third-party/components/OkendoReviewsLoyalty.js";export{default as Omnisend}from"./third-party/components/Omnisend.js";export{default as Opinew}from"./third-party/components/Opinew.js";export{default as Pagination}from"./pagination/components/Pagination.js";export{default as ParcelPanel}from"./third-party/components/ParcelPanel.js";export{default as PickyStory}from"./third-party/components/PickyStory.js";export{default as PostPurchaseAcceptButton}from"./post-purchase/product/components/AcceptButton.js";export{default as PostPurchaseAdvancedList}from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";export{default as PostPurchaseAdvancedListItem}from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";export{default as PostPurchaseButton}from"./post-purchase/button/components/Button.js";export{default as PostPurchaseBuyerConsent}from"./post-purchase/buyer-consent/components/BuyerConsent.js";export{default as PostPurchaseCalloutBox}from"./post-purchase/callout-banner/components/CalloutBox.js";export{default as PostPurchaseCalloutText}from"./post-purchase/callout-banner/components/CalloutText.js";export{default as PostPurchaseCountdownTimer}from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";export{default as PostPurchaseImage}from"./post-purchase/image/components/Image.js";export{default as PostPurchaseLine}from"./post-purchase/line/components/PostPurchaseLine.js";export{default as PostPurchaseLink}from"./post-purchase/link/components/PostPurchaseLink.js";export{default as PostPurchaseProductDescription}from"./post-purchase/product/components/ProductDescription.js";export{default as PostPurchaseProductDiscountTag}from"./post-purchase/product/components/ProductDiscountTag.js";export{default as PostPurchaseProductImages}from"./post-purchase/product/components/product-image/index.js";export{default as PostPurchaseProductOffer}from"./post-purchase/product/components/product-offer/components/ProductOffer.js";export{default as PostPurchaseProductPrice}from"./post-purchase/product/components/ProductPrice.js";export{default as PostPurchaseProductPriceBreakdown}from"./post-purchase/product/components/ProductPriceBreakdown.js";export{default as PostPurchaseProductQuantity}from"./post-purchase/product/components/ProductQuantity.js";export{default as PostPurchaseProductSubscription}from"./post-purchase/product/components/product-subscription/ProductSubscription.js";export{default as PostPurchaseProductTitle}from"./post-purchase/product/components/ProductTitle.js";export{default as PostPurchaseProductVariants}from"./post-purchase/product/components/product-variant/components/ProductVariant.js";export{default as PostPurchaseText}from"./post-purchase/text/components/Text.js";export{default as PowerfulContactFormBuilder}from"./third-party/components/PowerfulContactFormBuilder.js";export{default as PreorderNowPreOrderPq}from"./third-party/components/PreorderNowPreOrderPq.js";export{default as PreorderNowWodPresale}from"./third-party/components/PreorderNowWodPresale.js";export{default as Product}from"./product/components/product-wrap/Product.js";export{default as ProductBadge}from"./product/components/product-badge/ProductBadge.js";export{default as ProductBundleDiscount}from"./product/components/product-bundle/ProductBundleDiscount.js";export{default as ProductBundleDiscountItem}from"./product/components/product-bundle/ProductBundleDiscountItem.js";export{default as ProductButton}from"./product/components/product-button/ProductButton.js";export{default as ProductDescription}from"./product/components/product-description/ProductDescription.js";export{default as ProductImages}from"./product/components/ProductImages.js";export{default as ProductImagesV2}from"./product/components/product-images-v2/ProductImageV2.js";export{default as ProductImagesV3}from"./product/components/product-images-v3/ProductImageV3.js";export{default as ProductList}from"./product/components/product-list/ProductList.js";export{default as ProductListV3}from"./product/components/product-list-v3/ProductList.js";export{default as ProductOptionsCustomizer}from"./third-party/components/ProductOptionsCustomizer.js";export{default as ProductOptionsVariantOption}from"./third-party/components/ProductOptionsVariantOption.js";export{default as ProductPrice}from"./product/components/product-price/ProductPrice.js";export{default as ProductPropertyInput}from"./product/components/product-properties/ProductProperties.js";export{default as ProductQuantity}from"./product/components/product-quantity/ProductQuantity.js";export{default as ProductQuickView}from"./product/components/product-quick-view/QuickView.js";export{default as ProductReviews}from"./third-party/components/ProductReviews.js";export{default as ProductSku}from"./product/components/product-sku/Sku.js";export{default as ProductTag}from"./product/components/product-discount-tag/ProductDiscountTag.js";export{default as ProductTitle}from"./product/components/product-title/ProductTitle.js";export{default as ProductVariants}from"./product/components/product-variants/ProductVariants.js";export{default as ProductVendor}from"./product/components/product-vendor/Vendor.js";export{default as ProductViewMore}from"./product/components/product-view-more/ProductViewMore.js";export{default as PumperBundlesVolumeDiscount}from"./third-party/components/PumperBundlesVolumeDiscount.js";export{default as PushOwl}from"./third-party/components/PushOwl.js";export{default as QikifyUpsell}from"./third-party/components/QikifyUpsell.js";export{default as Radio}from"./radio/components/Radio.js";export{default as RapiBundleQuantityBreaks}from"./third-party/components/RapiBundleQuantityBreaks.js";export{default as RechargeSubscriptions}from"./third-party/components/RechargeSubscriptions.js";export{default as RecurpaySubscriptionApp}from"./third-party/components/RecurpaySubscriptionApp.js";export{default as Releasit}from"./third-party/components/Releasit.js";export{default as RequestQuoteHidePrice}from"./third-party/components/RequestQuoteHidePrice.js";export{default as ReviewxpoProductReviewsApp}from"./third-party/components/ReviewxpoProductReviewsApp.js";export{default as Rivyo}from"./third-party/components/Rivyo.js";export{default as Root}from"./grid/components/root/Root.js";export{default as Row}from"./grid/components/row/Row.js";export{default as Ryviu}from"./third-party/components/Ryviu.js";export{default as SealSubscriptions}from"./third-party/components/SealSubscriptions.js";export{default as Section}from"./grid/components/section/Section.js";export{default as SegunoEmailMarketing}from"./third-party/components/SegunoEmailMarketing.js";export{default as Select}from"./select/components/Select.js";export{default as Selleasy}from"./third-party/components/Selleasy.js";export{default as SeoantTrustBadgesIcon}from"./third-party/components/SeoantTrustBadgesIcon.js";export{default as ShopPayButton}from"./cart/components/shop-pay-button/ShopPayButton.js";export{default as ShopPayInstallments}from"./shop-pay-installment/components/ShopPayInstallments.js";export{default as ShopifyForms}from"./third-party/components/ShopifyForms.js";export{default as ShopifySubscriptions}from"./third-party/components/ShopifySubscriptions.js";export{default as SimpleBundlesKits}from"./third-party/components/SimpleBundlesKits.js";export{default as SkioSubscriptionsYcS20}from"./third-party/components/SkioSubscriptionsYcS20.js";export{default as SmartSearchBarAndFilters}from"./third-party/components/SmartSearchBarAndFilters.js";export{default as SproutPlantTreesGrowSales}from"./third-party/components/SproutPlantTreesGrowSales.js";export{default as Stamped}from"./third-party/components/Stamped.js";export{default as StellarDeliveryDatePickup}from"./third-party/components/StellarDeliveryDatePickup.js";export{default as Sticky}from"./sticky/components/Sticky.js";export{default as StockCounter}from"./stock-counter/components/StockCounter.js";export{default as SubifySubscriptionsApp}from"./third-party/components/SubifySubscriptionsApp.js";export{default as SubmitButton}from"./form/components/submit-button/SubmitButton.js";export{default as TabItem}from"./tab/components/TabItem.js";export{default as Tabs}from"./tab/components/Tabs.js";export{default as TagembedSocialPostReview}from"./third-party/components/TagembedSocialPostReview.js";export{default as TagshopShoppableVideosUgc}from"./third-party/components/TagshopShoppableVideosUgc.js";export{default as TeeinblueProductPersonalizer}from"./third-party/components/TeeinblueProductPersonalizer.js";export{default as Text}from"./text/components/Text.js";export{default as TextField}from"./form/components/textfield/TextField.js";export{default as TextInput}from"./form/components/textinput/TextInput.js";export{default as Textarea}from"./textarea/components/Textarea.js";export{default as ThirdPartySlot}from"./third-party-slot/components/ThirdPartySlot.js";export{default as TrustBadgesBear}from"./third-party/components/TrustBadgesBear.js";export{default as TrustMe}from"./third-party/components/TrustMe.js";export{default as TrustedsiteTrustBadges}from"./third-party/components/TrustedsiteTrustBadges.js";export{default as Trustoo}from"./third-party/components/Trustoo.js";export{default as TrustreviewsProductReviews}from"./third-party/components/TrustreviewsProductReviews.js";export{default as TrustshopProductReviews}from"./third-party/components/TrustshopProductReviews.js";export{default as UltimateSalesBoost}from"./third-party/components/UltimateSalesBoost.js";export{default as UnlimitedBundlesDiscounts}from"./third-party/components/UnlimitedBundlesDiscounts.js";export{default as UppromoteAffiliateMarketing}from"./third-party/components/UppromoteAffiliateMarketing.js";export{default as Video}from"./video/components/Video.js";export{default as Vitals}from"./third-party/components/Vitals.js";export{default as WcWishlistBackInStock}from"./third-party/components/WcWishlistBackInStock.js";export{default as WhatmoreShoppableVideosreel}from"./third-party/components/WhatmoreShoppableVideosreel.js";export{default as WideBundle}from"./third-party/components/WideBundle.js";export{default as Wiser}from"./third-party/components/Wiser.js";export{default as WishlistKing}from"./third-party/components/WishlistKing.js";export{default as WishlistPlus}from"./third-party/components/WishlistPlus.js";export{default as YotpoLoyalty}from"./third-party/components/YotpoLoyalty.js";export{default as YotpoReviews}from"./third-party/components/YotpoReviews.js";export{CONTINUE_SELLING_WHEN_OUT_OF_STOCK,DEFAULT_FONT_SIZE,DEFAULT_HIGHLIGHT_TAG,DEFAULT_PROGRESS_BAR_HEIGHT,DEFAULT_QUANTITY_TEMPLATE,DEFAULT_RANGE_STEP,DEFAULT_REMAINING_PERCENT,DEFAULT_REMAINING_QUANTITY,DEFAULT_SCARCITY_THRESHOLD,MAX_PROGRESS_BAR_HEIGHT,MAX_REMAINING_PERCENT,MIN_PROGRESS_BAR_HEIGHT,MIN_REMAINING_PERCENT,MIN_REMAINING_QUANTITY,NO_PRODUCT_LEFT,OUT_OF_STOCK,QUANTITY_SOURCE,convertSizeToWidth,getInlineCss,getLiquidInitData,getLiquidTextContent,getTextDisplayData,transformHighlighTag,transformNumberTag}from"./stock-counter/common/helpers.js";export{default as MarqueeItem}from"./marquee/components/MarqueeItem.js";export{openConfirm}from"./modal/components/confirm.js";export{postPurchaseProduct1Col}from"./post-purchase/product/settings/presets-config/product-presets/product-1-col.js";export{postPurchaseProduct2Col}from"./post-purchase/product/settings/presets-config/product-presets/product-2-col.js";export{postPurchaseProductDefault}from"./post-purchase/product/settings/presets-config/product-presets/product-default.js";export{t as liquidComponents,o as translateComponents};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -187,10 +187,21 @@ type ImageStyleProps$1 = {
|
|
|
187
187
|
hasActiveShadow?: boolean;
|
|
188
188
|
shadow?: ShadowProps;
|
|
189
189
|
} & Pick<SharedProps, 'layout' | 'aspectRatio' | 'objectFit'>;
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
declare const LINK_ACTION: {
|
|
191
|
+
readonly STAY_ON_PAGE: "stay-on-page";
|
|
192
|
+
readonly OPEN_PAGE: "open-page";
|
|
193
|
+
readonly OPEN_POPUP: "open-popup";
|
|
194
|
+
readonly SCROLL_TO: "scroll-to";
|
|
195
|
+
readonly SCROLL_TO_LIST: "scrollToList";
|
|
196
|
+
readonly GO_TO_SALES_PAGE: "go-to-sales-page";
|
|
197
|
+
};
|
|
198
|
+
type LinkAction = (typeof LINK_ACTION)[keyof typeof LINK_ACTION];
|
|
199
|
+
type LinkSetting = {
|
|
200
|
+
type?: LinkAction;
|
|
192
201
|
link?: string;
|
|
193
202
|
target?: string;
|
|
203
|
+
};
|
|
204
|
+
type ImageLink = LinkSetting & {
|
|
194
205
|
noFollow?: boolean;
|
|
195
206
|
isTranslate?: boolean;
|
|
196
207
|
};
|
|
@@ -245,10 +256,9 @@ type ButtonSettingProps = {
|
|
|
245
256
|
iconAlign?: 'left' | 'right';
|
|
246
257
|
htmlType?: React.ButtonHTMLAttributes<HTMLButtonElement>['type'] | 'link';
|
|
247
258
|
enableBtnLink?: boolean;
|
|
248
|
-
btnLink?: {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
target?: string;
|
|
259
|
+
btnLink?: LinkSetting & {
|
|
260
|
+
selectedTab?: string;
|
|
261
|
+
title?: string;
|
|
252
262
|
noFollow?: boolean;
|
|
253
263
|
};
|
|
254
264
|
options?: {
|
|
@@ -650,11 +660,7 @@ declare const articleListSetting: {
|
|
|
650
660
|
|
|
651
661
|
type ObjectFit$1 = 'cover' | 'contain';
|
|
652
662
|
type HeroBannerSettingProps = {
|
|
653
|
-
link?:
|
|
654
|
-
link?: string;
|
|
655
|
-
target?: string;
|
|
656
|
-
type?: string;
|
|
657
|
-
};
|
|
663
|
+
link?: LinkSetting;
|
|
658
664
|
preload?: boolean;
|
|
659
665
|
order?: ObjectDevices<number>;
|
|
660
666
|
enableParallax?: boolean;
|
|
@@ -1405,11 +1411,7 @@ type CountdownSettingProps = {
|
|
|
1405
1411
|
autoHideWhenTimeout?: boolean;
|
|
1406
1412
|
loopAfterFinish?: boolean;
|
|
1407
1413
|
timeZone?: string | number;
|
|
1408
|
-
redirectUrl?:
|
|
1409
|
-
type?: string;
|
|
1410
|
-
link?: string;
|
|
1411
|
-
target?: string;
|
|
1412
|
-
};
|
|
1414
|
+
redirectUrl?: LinkSetting;
|
|
1413
1415
|
};
|
|
1414
1416
|
type CountdownStyleProps = {
|
|
1415
1417
|
textAlign?: ObjectDevices<AlignProp>;
|
|
@@ -1718,11 +1720,7 @@ type FormEmailProps = BasePropsWrap<FormEmailSettingProps, FormEmailStyleProps,
|
|
|
1718
1720
|
};
|
|
1719
1721
|
type NewsLetterSettingProps = {
|
|
1720
1722
|
afterSubmitAction?: 'stay-on-page' | 'open-url';
|
|
1721
|
-
callbackURL?:
|
|
1722
|
-
type?: string;
|
|
1723
|
-
link?: string;
|
|
1724
|
-
target?: string;
|
|
1725
|
-
};
|
|
1723
|
+
callbackURL?: LinkSetting;
|
|
1726
1724
|
successMessage?: string;
|
|
1727
1725
|
errorMessage?: string;
|
|
1728
1726
|
successColor?: ColorValueType;
|
|
@@ -1989,10 +1987,7 @@ declare const headingSetting: {
|
|
|
1989
1987
|
type IconSettingProps = {
|
|
1990
1988
|
iconSvg?: string;
|
|
1991
1989
|
iconLinkEnable?: boolean;
|
|
1992
|
-
iconLink?: {
|
|
1993
|
-
type?: string;
|
|
1994
|
-
link?: string;
|
|
1995
|
-
target?: string;
|
|
1990
|
+
iconLink?: LinkSetting & {
|
|
1996
1991
|
title?: string;
|
|
1997
1992
|
noFollow?: boolean;
|
|
1998
1993
|
};
|
|
@@ -8255,6 +8250,7 @@ type DynamicSource = {
|
|
|
8255
8250
|
isReplaceInventoryQuantity?: boolean;
|
|
8256
8251
|
};
|
|
8257
8252
|
declare const REGEX_PAGE_TYPE: RegExp;
|
|
8253
|
+
declare const REGEX_BARE_DOMAIN: RegExp;
|
|
8258
8254
|
declare const isShopifyDomain: (isHyperlink: boolean, urlHref: string) => boolean;
|
|
8259
8255
|
declare const getLinkArticle: (linkArticle?: string, customURL?: {
|
|
8260
8256
|
link?: string;
|
|
@@ -8266,7 +8262,7 @@ declare const isTransparentRGBA: (rgbStr: string) => boolean;
|
|
|
8266
8262
|
declare const isHexTransparent: (hex: string) => boolean;
|
|
8267
8263
|
declare const youtubeShortsRegex: RegExp;
|
|
8268
8264
|
declare const createTranslateKey: (uid?: string, settingId?: string) => string;
|
|
8269
|
-
declare const createSettingId: ({ id, index, suffix
|
|
8265
|
+
declare const createSettingId: ({ id, index, suffix }: {
|
|
8270
8266
|
id?: string;
|
|
8271
8267
|
index?: number;
|
|
8272
8268
|
suffix?: string;
|
|
@@ -8275,12 +8271,7 @@ declare const getDynamicSourceLocales: ({ val, uid, settingId, isLiquid, pageCon
|
|
|
8275
8271
|
declare const getStaticLocale: (tag: string, key: string) => string;
|
|
8276
8272
|
declare const getSettingPreloadData: (disabledValue: string, enabledValue?: string) => string;
|
|
8277
8273
|
declare function normalizeMailto(urlHref: string): string;
|
|
8278
|
-
declare const getInsertLinkData: (defaultWrap: string, setting?: {
|
|
8279
|
-
link?: string;
|
|
8280
|
-
target?: string;
|
|
8281
|
-
isTranslate?: boolean;
|
|
8282
|
-
type?: string;
|
|
8283
|
-
noFollow?: boolean;
|
|
8274
|
+
declare const getInsertLinkData: (defaultWrap: string, setting?: ImageLink & {
|
|
8284
8275
|
isLiquid?: boolean;
|
|
8285
8276
|
}, htmlType?: React.ButtonHTMLAttributes<HTMLButtonElement>["type"] | "link") => {
|
|
8286
8277
|
Wrap: string | React.FC<LinkProps>;
|
|
@@ -8290,6 +8281,7 @@ declare const getInsertLinkData: (defaultWrap: string, setting?: {
|
|
|
8290
8281
|
declare const isLinkedToSalesPage: (type?: string) => type is "go-to-sales-page";
|
|
8291
8282
|
declare const checkIsScrollToTop: (setting?: ImageLink) => boolean;
|
|
8292
8283
|
declare const checkIsOpenPopup: (setting?: ImageLink) => boolean | undefined;
|
|
8284
|
+
declare const checkIsOpenPage: (setting?: ImageLink) => boolean;
|
|
8293
8285
|
declare const getLinkData: ({ setting, htmlType, defaultWrap, isLiquid, enableImageLink, }: {
|
|
8294
8286
|
isLiquid?: boolean;
|
|
8295
8287
|
defaultWrap: string;
|
|
@@ -8508,5 +8500,5 @@ declare namespace translate {
|
|
|
8508
8500
|
|
|
8509
8501
|
declare const TAGS_WITH_REPLACE_LINK_DATA: string[];
|
|
8510
8502
|
|
|
8511
|
-
export { Accordion$2 as Accordion, AccordionItem$1 as AccordionItem, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AliReviews$1 as AliReviews, AlsoBoughtCbb$1 as AlsoBoughtCbb, AovBundlesVolumeDiscounts$1 as AovBundlesVolumeDiscounts, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleLoyaltyRewardProgram$1 as AppstleLoyaltyRewardProgram, AppstleSubscriptions$1 as AppstleSubscriptions, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$2 as ArticlePagination, ArticleReadMore$2 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BirdChime$1 as BirdChime, BloyRewardsProgramLoyalty$1 as BloyRewardsProgramLoyalty, Bogos$1 as Bogos, BoldProductOptions$1 as BoldProductOptions, BoldSubscriptions$1 as BoldSubscriptions, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonySubscriptionsApp$1 as BonySubscriptionsApp, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, Button$3 as Button, CONTINUE_SELLING_WHEN_OUT_OF_STOCK, CSSCode$2 as CSSCode, Carousel$2 as Carousel, CarouselItem$2 as CarouselItem, CarouselItem$3 as CarouselItemV3, Carousel$3 as CarouselV3, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, CollectionBanner$1 as CollectionBanner, CollectionDescription$2 as CollectionDescription, CollectionPaginator$2 as CollectionPaginator, CollectionTitle$1 as CollectionTitle, CollectionToolbar$2 as CollectionToolbar, ContactForm$2 as ContactForm, Countdown$2 as Countdown, Coupon$2 as Coupon, CouponList, CrossSellCartUpsell$1 as CrossSellCartUpsell, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, DEFAULT_FONT_SIZE, DEFAULT_HIGHLIGHT_TAG, DEFAULT_PROGRESS_BAR_HEIGHT, DEFAULT_QUANTITY_TEMPLATE, DEFAULT_RANGE_STEP, DEFAULT_REMAINING_PERCENT, DEFAULT_REMAINING_QUANTITY, DEFAULT_SCARCITY_THRESHOLD, DealeasyVolumeDiscounts$1 as DealeasyVolumeDiscounts, DesktopMenu, Dialog$2 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DynamicCheckout$1 as DynamicCheckout, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasySell as EasySellCOD, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EssentPreorderBackInStock$1 as EssentPreorderBackInStock, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EstimateDate$2 as EstimateDate, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FeraReviews$1 as FeraReviews, FileUpload$2 as FileUpload, FirePush$1 as FirePush, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FordeerProductLabels$1 as FordeerProductLabels, FormCheckbox$1 as FormCheckbox, FormDropdown$2 as FormDropdown, FormEmail$2 as FormEmail, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, Growave$1 as Growave, GrowthSuiteDiscountCodes$1 as GrowthSuiteDiscountCodes, Header, Heading$2 as Heading, HeroBanner$2 as HeroBanner, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomFreeShippingBar$1 as HextomFreeShippingBar, HulkFormBuilder$1 as HulkFormBuilder, HulkProductOptions$1 as HulkProductOptions, Icon$1 as Icon, IconList$2 as IconList, IconListHoz$1 as IconListHoz, IconListItem$1 as IconListItem, IconListHozItem as IconListItemHoz, IconListV2$2 as IconListV2, Image$2 as Image, ImageComparison$2 as ImageComparison, ImageDetection, InfiniteOptions$1 as InfiniteOptions, Input, Instafeed$1 as Instafeed, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, JudgemeReviews$1 as JudgemeReviews, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, KachingBundles$1 as KachingBundles, KachingSubscriptionsApp$1 as KachingSubscriptionsApp, KingProductOptions$1 as KingProductOptions, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KlarnaMessaging$1 as KlarnaMessaging, Klaviyo$1 as Klaviyo, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, LaiProductReviews$1 as LaiProductReviews, Line$2 as Line, Link$1 as Link, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoopSubscriptions$1 as LoopSubscriptions, LooxReviews$1 as LooxReviews, MAX_PROGRESS_BAR_HEIGHT, MAX_REMAINING_PERCENT, MIN_PROGRESS_BAR_HEIGHT, MIN_REMAINING_PERCENT, MIN_REMAINING_QUANTITY, Marquee$1 as Marquee, _default$5 as MarqueeItem, MaxbundleProductBundles$1 as MaxbundleProductBundles, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, Menu, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, NO_PRODUCT_LEFT, Newsletter$2 as Newsletter, Notify as Notice, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, OUT_OF_STOCK, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, Omnisend$1 as Omnisend, Opinew$1 as Opinew, Pagination, ParcelPanel$1 as ParcelPanel, PickyStory$1 as PickyStory, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, Button$2 as PostPurchaseButton, BuyerConsent as PostPurchaseBuyerConsent, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, Line$1 as PostPurchaseLine, Link as PostPurchaseLink, PostPurchaseProductDescription, PostPurchaseProductDiscountTag, PostPurchaseProductImages, PostPurchaseProductOffer, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductQuantity, ProductSubscription as PostPurchaseProductSubscription, PostPurchaseProductTitle, PostPurchaseProductVariants, Text$3 as PostPurchaseText, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowWodPresale$1 as PreorderNowWodPresale, Product$1 as Product, ProductBadge$2 as ProductBadge, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$2 as ProductButton, ProductDescription$2 as ProductDescription, ProductImages$4 as ProductImages, ProductImagesV2, ProductImagesV3, ProductList$2 as ProductList, ProductList$3 as ProductListV3, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductPrice$1 as ProductPrice, ProductProperties$2 as ProductPropertyInput, ProductQuantity$1 as ProductQuantity, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductSku$1 as ProductSku, ProductTag$2 as ProductTag, ProductTitle$1 as ProductTitle, ProductVariants$1 as ProductVariants, ProductVendor$1 as ProductVendor, ProductViewMore$2 as ProductViewMore, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PushOwl$1 as PushOwl, QUANTITY_SOURCE, QikifyUpsell$1 as QikifyUpsell, REGEX_PAGE_TYPE, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RechargeSubscriptions$1 as RechargeSubscriptions, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, Releasit$1 as Releasit, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, Rivyo$1 as Rivyo, Root$1 as Root, Row$2 as Row, Ryviu$1 as Ryviu, SealSubscriptions$1 as SealSubscriptions, Section$2 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, Select, Selleasy$1 as Selleasy, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, ShopPayButton$1 as ShopPayButton, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifySubscriptions$1 as ShopifySubscriptions, SimpleBundlesKits$1 as SimpleBundlesKits, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, Stamped$1 as Stamped, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, Sticky$2 as Sticky, StockCounter$2 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubmitButton$2 as SubmitButton, TAGS_WITH_REPLACE_LINK_DATA, TabItem$1 as TabItem, Tabs$2 as Tabs, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, Text$2 as Text, TextField$2 as TextField, TextInput$2 as TextInput, TextArea as Textarea, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustMe$1 as TrustMe, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, Trustoo$1 as Trustoo, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustshopProductReviews$1 as TrustshopProductReviews, UltimateSalesBoost$1 as UltimateSalesBoost, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UppromoteAffiliateMarketing$1 as UppromoteAffiliateMarketing, Video$2 as Video, Vitals$1 as Vitals, WcWishlistBackInStock$1 as WcWishlistBackInStock, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WideBundle$1 as WideBundle, Wiser$1 as Wiser, WishlistKing$1 as WishlistKing, WishlistPlus$1 as WishlistPlus, YotpoLoyalty, YotpoReviews$1 as YotpoReviews, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, carouselSettingV3, cartSetting, checkIsOpenPopup, checkIsScrollToTop, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, createSettingId, createTranslateKey, dialogSetting, estimateDeliverySetting, extractProductID, filterPageContext, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getBackgroundTranslated, getDisplayStyle, getDynamicSourceLocales, getInlineCss, getInsertLinkData, getLinkArticle, getLinkData, getLiquidInitData, getLiquidTextContent, getSeoTranslated, getSettingPreloadData, getStaticLocale, getTextDisplayData, gridSetting, handleClickLink, headerSetting, headingSetting, _default$3 as headlessComponents, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isEmptyObject, isHexTransparent, isLinkedToSalesPage, isShopifyDomain, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$4 as nextComponent, normalizeMailto, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseBuyerConsentSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, translate as translateComponents, useNotification, videoSetting, youtubeShortsRegex };
|
|
8503
|
+
export { Accordion$2 as Accordion, AccordionItem$1 as AccordionItem, AftershipEmailMarketingsms$1 as AftershipEmailMarketingsms, AirProductReviewsAppUgc$1 as AirProductReviewsAppUgc, AliReviews$1 as AliReviews, AlsoBoughtCbb$1 as AlsoBoughtCbb, AovBundlesVolumeDiscounts$1 as AovBundlesVolumeDiscounts, AovFreeGiftBuyXGetYBogo$1 as AovFreeGiftBuyXGetYBogo, AppointmentBookingCowlendar$1 as AppointmentBookingCowlendar, AppstleBundlesDiscounts$1 as AppstleBundlesDiscounts, AppstleLoyaltyRewardProgram$1 as AppstleLoyaltyRewardProgram, AppstleSubscriptions$1 as AppstleSubscriptions, ArticleAuthor$1 as ArticleAuthor, ArticleCategory$1 as ArticleCategory, ArticleContent$1 as ArticleContent, ArticleDate$1 as ArticleDate, ArticleExcerpt$1 as ArticleExcerpt, ArticleImage$1 as ArticleImage, ArticleList$1 as ArticleList, ArticlePagination$2 as ArticlePagination, ArticleReadMore$2 as ArticleReadMore, ArticleTag$1 as ArticleTag, ArticleTitle$1 as ArticleTitle, BasicHeader, BestBuyFulfillment$1 as BestBuyFulfillment, BfSizeChartSizeGuide$1 as BfSizeChartSizeGuide, BirdChime$1 as BirdChime, BloyRewardsProgramLoyalty$1 as BloyRewardsProgramLoyalty, Bogos$1 as Bogos, BoldProductOptions$1 as BoldProductOptions, BoldSubscriptions$1 as BoldSubscriptions, BonLoyaltyRewardsReferrals$1 as BonLoyaltyRewardsReferrals, BonySubscriptionsApp$1 as BonySubscriptionsApp, BoostAISearchDiscovery$1 as BoostAISearchDiscovery, Breadcrumb$1 as Breadcrumb, Breadcrumb$1 as BreadcrumbProps, Bundler$1 as Bundler, Button$3 as Button, CONTINUE_SELLING_WHEN_OUT_OF_STOCK, CSSCode$2 as CSSCode, Carousel$2 as Carousel, CarouselItem$2 as CarouselItem, CarouselItem$3 as CarouselItemV3, Carousel$3 as CarouselV3, Cart, CartCheckout, CartDiscount, CartLineAttribute, CartLineImage, CartLinePrice, CartLineVariant, CartList, CartOrderNote, CartTotalItem, CartTotalPrice, CheckoutNow, CleanSizeCharts$1 as CleanSizeCharts, Column$1 as Col, CollectionBanner$1 as CollectionBanner, CollectionDescription$2 as CollectionDescription, CollectionPaginator$2 as CollectionPaginator, CollectionTitle$1 as CollectionTitle, CollectionToolbar$2 as CollectionToolbar, ContactForm$2 as ContactForm, Countdown$2 as Countdown, Coupon$2 as Coupon, CouponList, CrossSellCartUpsell$1 as CrossSellCartUpsell, CustomProductOptionsVariant$1 as CustomProductOptionsVariant, DEFAULT_FONT_SIZE, DEFAULT_HIGHLIGHT_TAG, DEFAULT_PROGRESS_BAR_HEIGHT, DEFAULT_QUANTITY_TEMPLATE, DEFAULT_RANGE_STEP, DEFAULT_REMAINING_PERCENT, DEFAULT_REMAINING_QUANTITY, DEFAULT_SCARCITY_THRESHOLD, DealeasyVolumeDiscounts$1 as DealeasyVolumeDiscounts, DesktopMenu, Dialog$2 as Dialog, DiscountInput, DiscountyBulkDiscountSales$1 as DiscountyBulkDiscountSales, DynamicCheckout$1 as DynamicCheckout, ELEMENT_Z_INDEX, EasifyProductOptions$1 as EasifyProductOptions, EasyBundleBuilderSkailama$1 as EasyBundleBuilderSkailama, EasySell as EasySellCOD, EcoboostifyShoppableReelUgc$1 as EcoboostifyShoppableReelUgc, EcomsendBackInStockAlert$1 as EcomsendBackInStockAlert, EssentPreorderBackInStock$1 as EssentPreorderBackInStock, EssentialAnnouncementBar$1 as EssentialAnnouncementBar, EssentialCountdownTimerBar$1 as EssentialCountdownTimerBar, EstimateDate$2 as EstimateDate, EstimatedDeliveryDatePlus$1 as EstimatedDeliveryDatePlus, FastBundleBundlesDiscounts$1 as FastBundleBundlesDiscounts, FeraReviews$1 as FeraReviews, FileUpload$2 as FileUpload, FirePush$1 as FirePush, FlyBundlesUpsellsFbt$1 as FlyBundlesUpsellsFbt, FordeerProductLabels$1 as FordeerProductLabels, FormCheckbox$1 as FormCheckbox, FormDropdown$2 as FormDropdown, FormEmail$2 as FormEmail, FormTextArea as FormTextarea, FrequentlyBoughtTogether$1 as FrequentlyBoughtTogether, GloColorSwatchvariantImage$1 as GloColorSwatchvariantImage, GloboProductOptionsVariant$1 as GloboProductOptionsVariant, GoogleReviewsByReputon$1 as GoogleReviewsByReputon, Growave$1 as Growave, GrowthSuiteDiscountCodes$1 as GrowthSuiteDiscountCodes, Header, Heading$2 as Heading, HeroBanner$2 as HeroBanner, HextomCountdownTimerBar$1 as HextomCountdownTimerBar, HextomFreeShippingBar$1 as HextomFreeShippingBar, HulkFormBuilder$1 as HulkFormBuilder, HulkProductOptions$1 as HulkProductOptions, Icon$1 as Icon, IconList$2 as IconList, IconListHoz$1 as IconListHoz, IconListItem$1 as IconListItem, IconListHozItem as IconListItemHoz, IconListV2$2 as IconListV2, Image$2 as Image, ImageComparison$2 as ImageComparison, ImageDetection, InfiniteOptions$1 as InfiniteOptions, Input, Instafeed$1 as Instafeed, InstantJudgemeReviews, InstantKlaviyo, InstantLooxReviews, InstantYotpoLoyalty, InstasellShoppableInstagram$1 as InstasellShoppableInstagram, JudgemeReviews$1 as JudgemeReviews, JunipProductReviewsUgc$1 as JunipProductReviewsUgc, KachingBundles$1 as KachingBundles, KachingSubscriptionsApp$1 as KachingSubscriptionsApp, KingProductOptions$1 as KingProductOptions, KiteFreeGiftDiscount$1 as KiteFreeGiftDiscount, KlarnaMessaging$1 as KlarnaMessaging, Klaviyo$1 as Klaviyo, KoalaBundleQuantityDiscount$1 as KoalaBundleQuantityDiscount, LaiProductReviews$1 as LaiProductReviews, Line$2 as Line, Link$1 as Link, LoloyalLoyaltyReferrals$1 as LoloyalLoyaltyReferrals, LoopSubscriptions$1 as LoopSubscriptions, LooxReviews$1 as LooxReviews, MAX_PROGRESS_BAR_HEIGHT, MAX_REMAINING_PERCENT, MIN_PROGRESS_BAR_HEIGHT, MIN_REMAINING_PERCENT, MIN_REMAINING_QUANTITY, Marquee$1 as Marquee, _default$5 as MarqueeItem, MaxbundleProductBundles$1 as MaxbundleProductBundles, MbcBundleVolumeDiscount$1 as MbcBundleVolumeDiscount, Menu, MobileMenu, Modal, ModernHeader, MyappgurusProductReviews$1 as MyappgurusProductReviews, NO_PRODUCT_LEFT, Newsletter$2 as Newsletter, Notify as Notice, NotifyBackInStockPreOrder$1 as NotifyBackInStockPreOrder, OUT_OF_STOCK, OkendoReviewsLoyalty$1 as OkendoReviewsLoyalty, Omnisend$1 as Omnisend, Opinew$1 as Opinew, Pagination, ParcelPanel$1 as ParcelPanel, PickyStory$1 as PickyStory, PostPurchaseAcceptButton, PostPurchaseAdvancedList, PostPurchaseAdvancedListItem, Button$2 as PostPurchaseButton, BuyerConsent as PostPurchaseBuyerConsent, CalloutBox as PostPurchaseCalloutBox, CalloutText as PostPurchaseCalloutText, PostPurchaseCountdownTimer, PostPurchaseHeading, PostPurchaseImage, Line$1 as PostPurchaseLine, Link as PostPurchaseLink, PostPurchaseProductDescription, PostPurchaseProductDiscountTag, PostPurchaseProductImages, PostPurchaseProductOffer, PostPurchaseProductPrice, PostPurchaseProductPriceBreakdown, PostPurchaseProductQuantity, ProductSubscription as PostPurchaseProductSubscription, PostPurchaseProductTitle, PostPurchaseProductVariants, Text$3 as PostPurchaseText, PowerfulContactFormBuilder$1 as PowerfulContactFormBuilder, PreorderNowPreOrderPq$1 as PreorderNowPreOrderPq, PreorderNowWodPresale$1 as PreorderNowWodPresale, Product$1 as Product, ProductBadge$2 as ProductBadge, ProductBundleDiscount$1 as ProductBundleDiscount, ProductBundleDiscountItem$1 as ProductBundleDiscountItem, ProductButton$2 as ProductButton, ProductDescription$2 as ProductDescription, ProductImages$4 as ProductImages, ProductImagesV2, ProductImagesV3, ProductList$2 as ProductList, ProductList$3 as ProductListV3, ProductOptionsCustomizer$1 as ProductOptionsCustomizer, ProductOptionsVariantOption$1 as ProductOptionsVariantOption, ProductPrice$1 as ProductPrice, ProductProperties$2 as ProductPropertyInput, ProductQuantity$1 as ProductQuantity, QuickView as ProductQuickView, ProductReviews$1 as ProductReviews, ProductSku$1 as ProductSku, ProductTag$2 as ProductTag, ProductTitle$1 as ProductTitle, ProductVariants$1 as ProductVariants, ProductVendor$1 as ProductVendor, ProductViewMore$2 as ProductViewMore, PumperBundlesVolumeDiscount$1 as PumperBundlesVolumeDiscount, PushOwl$1 as PushOwl, QUANTITY_SOURCE, QikifyUpsell$1 as QikifyUpsell, REGEX_BARE_DOMAIN, REGEX_PAGE_TYPE, Radio, RapiBundleQuantityBreaks$1 as RapiBundleQuantityBreaks, RechargeSubscriptions$1 as RechargeSubscriptions, RecurpaySubscriptionApp$1 as RecurpaySubscriptionApp, Releasit$1 as Releasit, RequestQuoteHidePrice$1 as RequestQuoteHidePrice, ReviewxpoProductReviewsApp$1 as ReviewxpoProductReviewsApp, Rivyo$1 as Rivyo, Root$1 as Root, Row$2 as Row, Ryviu$1 as Ryviu, SealSubscriptions$1 as SealSubscriptions, Section$2 as Section, SegunoEmailMarketing$1 as SegunoEmailMarketing, Select, Selleasy$1 as Selleasy, SeoantTrustBadgesIcon$1 as SeoantTrustBadgesIcon, ShopPayButton$1 as ShopPayButton, ShopPayInstallments$1 as ShopPayInstallments, ShopifyForms$1 as ShopifyForms, ShopifySubscriptions$1 as ShopifySubscriptions, SimpleBundlesKits$1 as SimpleBundlesKits, SkioSubscriptionsYcS20$1 as SkioSubscriptionsYcS20, SmartSearchBarAndFilters$1 as SmartSearchBarAndFilters, SproutPlantTreesGrowSales$1 as SproutPlantTreesGrowSales, Stamped$1 as Stamped, StellarDeliveryDatePickup$1 as StellarDeliveryDatePickup, Sticky$2 as Sticky, StockCounter$2 as StockCounter, SubifySubscriptionsApp$1 as SubifySubscriptionsApp, SubmitButton$2 as SubmitButton, TAGS_WITH_REPLACE_LINK_DATA, TabItem$1 as TabItem, Tabs$2 as Tabs, TagembedSocialPostReview$1 as TagembedSocialPostReview, TagshopShoppableVideosUgc$1 as TagshopShoppableVideosUgc, TeeinblueProductPersonalizer$1 as TeeinblueProductPersonalizer, Text$2 as Text, TextField$2 as TextField, TextInput$2 as TextInput, TextArea as Textarea, ThirdPartySlot$1 as ThirdPartySlot, TrustBadgesBear$1 as TrustBadgesBear, TrustMe$1 as TrustMe, TrustedsiteTrustBadges$1 as TrustedsiteTrustBadges, Trustoo$1 as Trustoo, TrustreviewsProductReviews$1 as TrustreviewsProductReviews, TrustshopProductReviews$1 as TrustshopProductReviews, UltimateSalesBoost$1 as UltimateSalesBoost, UnlimitedBundlesDiscounts$1 as UnlimitedBundlesDiscounts, UppromoteAffiliateMarketing$1 as UppromoteAffiliateMarketing, Video$2 as Video, Vitals$1 as Vitals, WcWishlistBackInStock$1 as WcWishlistBackInStock, WhatmoreShoppableVideosreel$1 as WhatmoreShoppableVideosreel, WideBundle$1 as WideBundle, Wiser$1 as Wiser, WishlistKing$1 as WishlistKing, WishlistPlus$1 as WishlistPlus, YotpoLoyalty, YotpoReviews$1 as YotpoReviews, accordionSetting, articleListSetting, bannerSetting, breadcrumbSetting, _default$2 as builderComponent, buttonSetting, carouselSetting, carouselSettingV3, cartSetting, checkIsOpenPage, checkIsOpenPopup, checkIsScrollToTop, codeSetting, collectionSetting, _default$1 as componentSettings, contactFormSetting, convertSizeToWidth, convertUnitToNumber, countdownSetting, couponSetting, createSettingId, createTranslateKey, dialogSetting, estimateDeliverySetting, extractProductID, filterPageContext, filterTruthyObject, filterTruthyStyles, getAllHrefFromString, getBackgroundTranslated, getDisplayStyle, getDynamicSourceLocales, getInlineCss, getInsertLinkData, getLinkArticle, getLinkData, getLiquidInitData, getLiquidTextContent, getSeoTranslated, getSettingPreloadData, getStaticLocale, getTextDisplayData, gridSetting, handleClickLink, headerSetting, headingSetting, _default$3 as headlessComponents, iconListHozSetting, iconListSetting, iconListSettingV2, iconSetting, imageComparisonSetting, imageDetectionSetting, imageSetting, inputSetting, isEmptyObject, isHexTransparent, isLinkedToSalesPage, isShopifyDomain, isTransparentColor, isTransparentRGBA, lineSetting, linkSetting, index_liquid as liquidComponents, marqueeSetting, menuSetting, modalSetting, _default$4 as nextComponent, normalizeMailto, openConfirm, paginationSetting, postPurchaseAdvancedListSetting, postPurchaseButtonSetting, postPurchaseBuyerConsentSetting, postPurchaseCalloutBoxSetting, postPurchaseCountdownTimerSetting, postPurchaseImageSetting, postPurchaseLineSetting, postPurchaseLinkSetting, postPurchaseProduct1Col, postPurchaseProduct2Col, postPurchaseProductDefault, postPurchaseProductSetting, _default as postPurchaseSettings, postPurchaseTextSetting, productSetting, radioSetting, replaceAllHrefFromString, replaceLinkData, selectSetting, shopPayInstallmentSetting, stickySetting, stockCounterSetting, tabSetting, textSetting, textareaSetting, thirdPartyInstantSetting, thirdPartySetting, thirdPartySlotSetting, transformHighlighTag, transformNumberTag, translate as translateComponents, useNotification, videoSetting, youtubeShortsRegex };
|
|
8512
8504
|
export type { AccordionItemProps, AccordionProps, AftershipEmailMarketingsmsProps, AirProductReviewsAppUgcProps, AliReviewsProps, AlsoBoughtCbbProps, AovBundlesVolumeDiscountsProps, AovFreeGiftBuyXGetYBogoProps, AppointmentBookingCowlendarProps, AppstleBundlesDiscountsProps, AppstleLoyaltyRewardProgramProps, AppstleSubscriptionsProps, BestBuyFulfillmentProps, BfSizeChartSizeGuideProps, BirdChimeProps, BloyRewardsProgramLoyaltyProps, BogosProps, BoldProductOptionsProps, BoldSubscriptionsProps, BonLoyaltyRewardsReferralsProps, BonySubscriptionsAppProps, BoostAISearchDiscoveryProps, BundlerProps, ButtonProps, CSSCodeProps, CalloutBoxProps, CalloutTextProps, CarouselItemProps, CarouselItemProps$1 as CarouselItemPropsV3, CarouselProps, CarouselProps$1 as CarouselPropsV3, CarouselSettingProps, CarouselSettingProps$1 as CarouselSettingPropsV3, CarouselStyleProps, CarouselStyleProps$1 as CarouselStylePropsV3, CartProps, CleanSizeChartsProps, ColProps, CollectionBannerProps, CollectionDescriptionProps, CollectionPaginatorProps, CollectionTitleProps, CollectionToolbarProps, CountdownProps, CouponProps, CrossSellCartUpsellProps, CustomProductOptionsVariantProps, DataVideoType, DealeasyVolumeDiscountsProps, DiscountyBulkDiscountSalesProps, DynamicCheckoutProps, EasifyProductOptionsProps, EasyBundleBuilderSkailamaProps, EasySellCODProps, EcoboostifyShoppableReelUgcProps, EcomsendBackInStockAlertProps, EssentPreorderBackInStockProps, EssentialAnnouncementBarProps, EssentialCountdownTimerBarProps, EstimateDateProps, EstimatedDeliveryDatePlusProps, FastBundleBundlesDiscountsProps, FeraReviewsProps, FileUploadProps, FirePushProps, FlyBundlesUpsellsFbtProps, FordeerProductLabelsProps, FormCheckboxProps, FormDropdownProps, FormEmailProps, FrequentlyBoughtTogetherProps, GloColorSwatchvariantImageProps, GloboProductOptionsVariantProps, GoogleReviewsByReputonProps, GrowaveProps, GrowthSuiteDiscountCodesProps, HeaderProps, HeadingProps, HeroBannerProps, HextomCountdownTimerBarProps, HextomFreeShippingBarProps, HulkFormBuilderProps, HulkProductOptionsProps, IconListHozProps, IconListItemProps$1 as IconListItemProps, IconListProps$1 as IconListProps, IconProps, ImageComparisonItem, ImageDetectionProps, ImageProps, ImgProps, InfiniteOptionsProps, InputProps, InstafeedProps, InstasellShoppableInstagramProps, JudgemeReviewsProps, JunipProductReviewsUgcProps, KachingBundlesProps, KachingSubscriptionsAppProps, KingProductOptionsProps, KiteFreeGiftDiscountProps, KlarnaMessagingProps, KlaviyoProps, KoalaBundleQuantityDiscountProps, LaiProductReviewsProps, LineProps, LinkProps, LoloyalLoyaltyReferralsProps, LoopSubscriptionsProps, LooxReviewsProps, MarqueeItemProps, MarqueeProps, MaxbundleProductBundlesProps, MbcBundleVolumeDiscountProps, MenuProps, MyappgurusProductReviewsProps, NewsletterProps, NotificationAPI, NotificationConfig, NotifyBackInStockPreOrderProps, ObjectFit$2 as ObjectFit, OkendoReviewsLoyaltyProps, OmnisendProps, OpinewProps, PaginationProps, ParcelPanelProps, PickyStoryProps, PostPurchaseAdvancedListProps, PostPurchaseButtonProps, PostPurchaseBuyerConsentProps, PostPurchaseCountdownTimerProps, PostPurchaseImageProps, PostPurchaseLineProps, PostPurchaseLinkProps, PostPurchaseProductDescriptionProps, PostPurchaseProductDiscountTagProps, PostPurchaseProductImagesProps, PostPurchaseProductOfferProps$1 as PostPurchaseProductOfferProps, PostPurchaseProductPriceBreakdownProps, PostPurchaseProductPriceProps, PostPurchaseProductQuantityProps, PostPurchaseProductSubscriptionProps, PostPurchaseProductTitleProps, PostPurchaseProductVariantsProps, PostPurchaseTextProps, PowerfulContactFormBuilderProps, PreorderNowPreOrderPqProps, PreorderNowWodPresaleProps, ProductBadgeProps, ProductBundleDiscountProps, ProductBundleItemDiscountProps, ProductButtonProps, ProductDescriptionProps, ProductImagesProps, ProductListProps, ProductListProps$1 as ProductListPropsV3, ProductOptionsCustomizerProps, ProductOptionsVariantOptionProps, ProductPriceProps, ProductPropertiesProps, ProductProps, ProductQuantityProps, ProductReviewsProps, ProductTagProps, ProductTitleProps, ProductVariantsProps, ProductViewMoreProps, PumperBundlesVolumeDiscountProps, PushOwlProps, QikifyUpsellProps, RapiBundleQuantityBreaksProps, RechargeSubscriptionsProps, RecurpaySubscriptionAppProps, ReleasitProps, RequestQuoteHidePriceProps, ReviewxpoProductReviewsAppProps, RivyoProps, RootProps$2 as RootProps, RowProps, RyviuProps, SealSubscriptionsProps, SegunoEmailMarketingProps, SelleasyProps, SeoantTrustBadgesIconProps, ShopPayButtonProps, ShopifyFormsProps, ShopifySubscriptionsProps, SimpleBundlesKitsProps, SkioSubscriptionsYcS20Props, SkuProps, SmartSearchBarAndFiltersProps, SproutPlantTreesGrowSalesProps, StampedProps, StellarDeliveryDatePickupProps, SubifySubscriptionsAppProps, SubmitButtonProps, TabItemProps, TabsProps, TagembedSocialPostReviewProps, TagshopShoppableVideosUgcProps, TeeinblueProductPersonalizerProps, TextAreaProps, TextFieldProps, TextInputProps, TextProps, TextareaProps, TrustBadgesBearProps, TrustMeProps, TrustedsiteTrustBadgesProps, TrustooProps, TrustreviewsProductReviewsProps, TrustshopProductReviewsProps, UltimateSalesBoostProps, UnlimitedBundlesDiscountsProps, UppromoteAffiliateMarketingProps, VendorProps, VitalsProps, WcWishlistBackInStockProps, WhatmoreShoppableVideosreelProps, WideBundleProps, WiserProps, WishlistKingProps, WishlistPlusProps, YotpoLoyaltyProps, YotpoReviewsProps };
|