@gem-sdk/core 3.1.17 → 4.0.10
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),react=require("react"),composeAdvanceStyle=require("../helpers/compose-advance-style.js"),useInteraction=require("../hooks/useInteraction.js"),constant=require("./constant.js"),RenderCustomCode=require("./RenderCustomCode.js"),ComponentToolbarPreview=require("./ComponentToolbarPreview.js");require("zustand");var cls=require("../helpers/cls.js");require("swr"),require("../helpers/convert.js"),require("@gem-sdk/adapter-shopify"),require("swr/mutation");var shop=require("../hooks/shop.js");require("swr/infinite"),require("vanilla-lazyload"),require("../hooks/useCartUI.js"),require("../hooks/useStickyStore.js");var ComponentAnimation=require("./ComponentAnimation.js");const ComponentWrapperPreview=({children:e,...t})=>{react.useEffect(()=>{let e=new CustomEvent("editor:component:render",{bubbles:!0,detail:{componentUid:t.uid}});window.dispatchEvent(e)},[t.uid]);let{getAnimationByUid:n}=useInteraction.useInteraction(),o=n(t.uid);o&&(t.advanced={...t.advanced,animation:{desktop:o,tablet:o,mobile:o}});let a=shop.usePageType();if("section"===t.type)return null;let i={};if("Section"===t.tag&&t.isThemeSection&&(i["data-theme-section"]=!0),"Section"===t.tag&&t.isShopifySection&&(i["data-shopify-section"]=!0,i["data-toolbar-wrap"]=!0),t.editorConfigs){let e=t.editorConfigs;e.placeholder?.notAppendBeforeAfter&&(i["data-placeholder-not-append-before-after"]=!0),e.placeholder?.notAppendLeftRight&&(i["data-placeholder-not-append-left-right"]=!0),e.toolbar?.parent&&(i["data-toolbar-parent"]=!0),e.component?.noDelete&&(i["data-component-no-delete"]=!0),e.component?.noDuplicate&&(i["data-component-no-duplicate"]=!0),e.component?.noDragDrop&&(i["data-component-no-drag-drop"]=!0),e.component?.noSetting&&(i["data-component-no-setting"]=!0),e.component?.isThirdParty&&(i["data-component-is-third-party"]=!0),e.toolbar?.hide&&(i["data-toolbar-hide"]=!0),e.slots?.children&&(i["data-slots-children"]=!0),e.toolbar?.hide||(i["data-toolbar-wrap"]=!0)}t?.editorConfigs?.toolbar?.hide||(i["data-toolbar-wrap"]=!0);let s=e=>"GP_FUNNEL_PAGE"===a&&["ProductList","Header"].includes(e),r=composeAdvanceStyle.composeAdvanceStyle(t.advanced,t.tag,a),d=t.advanced,
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),react=require("react"),composeAdvanceStyle=require("../helpers/compose-advance-style.js"),useInteraction=require("../hooks/useInteraction.js"),constant=require("./constant.js"),RenderCustomCode=require("./RenderCustomCode.js"),ComponentToolbarPreview=require("./ComponentToolbarPreview.js");require("zustand");var cls=require("../helpers/cls.js");require("swr"),require("../helpers/convert.js"),require("@gem-sdk/adapter-shopify"),require("swr/mutation");var shop=require("../hooks/shop.js");require("swr/infinite"),require("vanilla-lazyload"),require("../hooks/useCartUI.js"),require("../hooks/useStickyStore.js");var ComponentAnimation=require("./ComponentAnimation.js");const ComponentWrapperPreview=({children:e,...t})=>{react.useEffect(()=>{let e=new CustomEvent("editor:component:render",{bubbles:!0,detail:{componentUid:t.uid}});window.dispatchEvent(e)},[t.uid]);let{getAnimationByUid:n}=useInteraction.useInteraction(),o=n(t.uid);o&&(t.advanced={...t.advanced,animation:{desktop:o,tablet:o,mobile:o}});let a=shop.usePageType();if("section"===t.type)return null;let i={};if("Section"===t.tag&&t.isThemeSection&&(i["data-theme-section"]=!0),"Section"===t.tag&&t.isShopifySection&&(i["data-shopify-section"]=!0,i["data-toolbar-wrap"]=!0),t.editorConfigs){let e=t.editorConfigs;e.placeholder?.notAppendBeforeAfter&&(i["data-placeholder-not-append-before-after"]=!0),e.placeholder?.notAppendLeftRight&&(i["data-placeholder-not-append-left-right"]=!0),e.toolbar?.parent&&(i["data-toolbar-parent"]=!0),e.component?.noDelete&&(i["data-component-no-delete"]=!0),e.component?.noDuplicate&&(i["data-component-no-duplicate"]=!0),e.component?.noDragDrop&&(i["data-component-no-drag-drop"]=!0),e.component?.noSetting&&(i["data-component-no-setting"]=!0),e.component?.isThirdParty&&(i["data-component-is-third-party"]=!0),e.toolbar?.hide&&(i["data-toolbar-hide"]=!0),e.slots?.children&&(i["data-slots-children"]=!0),e.toolbar?.hide||(i["data-toolbar-wrap"]=!0)}t?.editorConfigs?.toolbar?.hide||(i["data-toolbar-wrap"]=!0);let s=e=>"GP_FUNNEL_PAGE"===a&&["ProductList","Header"].includes(e),r=composeAdvanceStyle.composeAdvanceStyle(t.advanced,t.tag,a),d=t.advanced,l={...i,"data-uid":t.uid,"data-component-type":"component","data-component-tag":t.tag,"data-component-label":t.label,"data-not-droppable":s(t.tag)?"true":"false"},p=({name:e,visibility:t})=>jsxRuntime.jsxs("div",{className:cls.cls("gp-flex gp-items-center gp-justify-center gp-gap-[8px] gp-bg-[#F4F4F4] gp-p-[16px] gp-border gp-border-[#D6D6D6]",{"gp-opacity-60":!t}),children:[jsxRuntime.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M19.1475 5.16194C19.1416 5.1148 19.1197 5.0713 19.0857 5.03911C19.0516 5.00692 19.0076 4.9881 18.9614 4.98597C18.8835 4.98597 17.3469 4.95397 17.3469 4.95397C17.3469 4.95397 16.0588 3.67419 15.9342 3.5311C15.8104 3.40312 15.5619 3.43512 15.4684 3.46711L14.8166 3.67508C14.7361 3.40491 14.6323 3.14259 14.5067 2.89121C14.0566 1.99536 13.3727 1.51544 12.5659 1.51544C12.5044 1.51544 12.4577 1.51544 12.3954 1.53144C12.3642 1.49945 12.3486 1.46745 12.3175 1.45145C11.9608 1.06752 11.5107 0.875552 10.967 0.891549C9.92824 0.923543 8.88772 1.70741 8.03419 3.08318C7.44467 4.05901 6.99453 5.27392 6.8543 6.21776C5.65969 6.6017 4.82087 6.87365 4.79057 6.87365C4.18461 7.06562 4.16903 7.08161 4.09199 7.67351C4.06082 8.12144 2.47754 20.7415 2.47754 20.7415L15.7636 23.1091L21.522 21.6374C21.5064 21.6374 19.1631 5.27392 19.1475 5.16194ZM14.1492 3.89904C13.8062 4.00572 13.4648 4.11772 13.1251 4.23498C13.1251 3.69108 13.0472 2.92321 12.8143 2.28331C13.6064 2.41129 13.9942 3.33914 14.1492 3.89904ZM12.4265 4.44206C11.7279 4.66602 10.9679 4.90598 10.207 5.14594C10.4243 4.29808 10.8277 3.46623 11.3245 2.90632C11.533 2.66965 11.7863 2.47913 12.069 2.34641C12.3806 2.9712 12.4421 3.85105 12.4265 4.44206ZM10.9982 1.61143C11.2466 1.61143 11.4483 1.65942 11.6197 1.7874C11.3127 1.95192 11.0387 2.17444 10.8121 2.44329C10.1455 3.17916 9.63305 4.31408 9.43135 5.4179C8.79423 5.62586 8.17356 5.81783 7.61521 5.9938C7.98744 4.25009 9.39933 1.65942 10.9982 1.61143Z",fill:"#95BF47"}),jsxRuntime.jsx("path",{d:"M18.9647 4.94709C18.8851 4.94709 17.3155 4.91503 17.3155 4.91503C17.3155 4.91503 15.9981 3.63242 15.8716 3.48812C15.8261 3.43951 15.7635 3.41074 15.6973 3.40796V23.1094L21.5828 21.6344L19.1709 5.12345C19.1399 5.01122 19.0444 4.94709 18.9647 4.94709Z",fill:"#5E8E3E"}),jsxRuntime.jsx("path",{d:"M13.0575 8.51577L12.3029 10.8908C12.3029 10.8908 11.4602 10.5663 10.4599 10.6253C8.98595 10.6991 8.98595 11.4809 8.98595 11.6727C9.07404 12.7348 12.39 12.9709 12.5828 15.4631C12.7238 17.4251 11.3545 18.7675 9.35396 18.8708C6.96778 18.9733 5.65137 17.7939 5.65137 17.7939L6.16032 15.9794C6.16032 15.9794 7.49435 16.8203 8.5465 16.7613C9.23162 16.7318 9.4949 16.245 9.45967 15.9204C9.35396 14.5337 6.65165 14.6223 6.47645 12.3365C6.33551 10.4188 7.82712 8.48626 11.1265 8.30924C12.4076 8.23548 13.0575 8.51577 13.0575 8.51577Z",fill:"white"})]}),jsxRuntime.jsx("span",{className:"gp-text-[#212121] gp-text-[14px] gp-leading-[24px] gp-font-medium",children:e})]});return constant.disableWrap.includes(t.tag)&&react.isValidElement(e)?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(ComponentAnimation.default,{...t}),jsxRuntime.jsx(RenderCustomCode.default,{uid:t.uid,advanced:d}),jsxRuntime.jsxs(e.type,{className:d?.cssClass,...e.props,style:r,builderAttrs:l,advanced:d,children:[t.isShopifySection?jsxRuntime.jsx(p,{name:t.name??"",visibility:!!t.isShopifyVisibility}):e.props.children,jsxRuntime.jsx(ComponentToolbarPreview.default,{...t})]})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(ComponentAnimation.default,{...t}),jsxRuntime.jsx(RenderCustomCode.default,{uid:t.uid,advanced:d}),jsxRuntime.jsxs("div",{style:constant.excludeApplyStyle.includes(t.tag)?{"--mb":r?.["--mb"],"--mb-tablet":r?.["--mb-tablet"],"--mb-mobile":r?.["--mb-mobile"]}:r,className:`${t.uid} ${t.advanced?.cssClass?t.advanced?.cssClass:""}`,...l,children:[!constant.excludeApplyStyle.includes(t.tag)&&e,react.isValidElement(e)&&constant.excludeApplyStyle.includes(t.tag)&&jsxRuntime.jsx(e.type,{...e.props,style:r,advanced:d}),jsxRuntime.jsx(ComponentToolbarPreview.default,{...t})]})]})};var ComponentWrapperPreview$1=react.memo(ComponentWrapperPreview);exports.default=ComponentWrapperPreview$1;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{memo as a,useEffect as n,isValidElement as i}from"react";import{composeAdvanceStyle as r}from"../helpers/compose-advance-style.js";import{useInteraction as p}from"../hooks/useInteraction.js";import{disableWrap as d,excludeApplyStyle as s}from"./constant.js";import l from"./RenderCustomCode.js";import m from"./ComponentToolbarPreview.js";import"zustand";import{cls as c}from"../helpers/cls.js";import"swr";import"../helpers/convert.js";import"@gem-sdk/adapter-shopify";import"swr/mutation";import{usePageType as C}from"../hooks/shop.js";import"swr/infinite";import"vanilla-lazyload";import"../hooks/useCartUI.js";import"../hooks/useStickyStore.js";import h from"./ComponentAnimation.js";let ComponentWrapperPreview=({children:a,...g})=>{n(()=>{let e=new CustomEvent("editor:component:render",{bubbles:!0,detail:{componentUid:g.uid}});window.dispatchEvent(e)},[g.uid]);let{getAnimationByUid:f}=p(),b=f(g.uid);b&&(g.advanced={...g.advanced,animation:{desktop:b,tablet:b,mobile:b}});let u=C();if("section"===g.type)return null;let v={};if("Section"===g.tag&&g.isThemeSection&&(v["data-theme-section"]=!0),"Section"===g.tag&&g.isShopifySection&&(v["data-shopify-section"]=!0,v["data-toolbar-wrap"]=!0),g.editorConfigs){let e=g.editorConfigs;e.placeholder?.notAppendBeforeAfter&&(v["data-placeholder-not-append-before-after"]=!0),e.placeholder?.notAppendLeftRight&&(v["data-placeholder-not-append-left-right"]=!0),e.toolbar?.parent&&(v["data-toolbar-parent"]=!0),e.component?.noDelete&&(v["data-component-no-delete"]=!0),e.component?.noDuplicate&&(v["data-component-no-duplicate"]=!0),e.component?.noDragDrop&&(v["data-component-no-drag-drop"]=!0),e.component?.noSetting&&(v["data-component-no-setting"]=!0),e.component?.isThirdParty&&(v["data-component-is-third-party"]=!0),e.toolbar?.hide&&(v["data-toolbar-hide"]=!0),e.slots?.children&&(v["data-slots-children"]=!0),e.toolbar?.hide||(v["data-toolbar-wrap"]=!0)}g?.editorConfigs?.toolbar?.hide||(v["data-toolbar-wrap"]=!0);let w=e=>"GP_FUNNEL_PAGE"===u&&["ProductList","Header"].includes(e),y=r(g.advanced,g.tag,u),j=g.advanced,x={...v,"data-uid":g.uid,"data-component-type":"component","data-component-tag":g.tag,"data-component-label":g.label,"data-not-droppable":w(g.tag)},S=({name:t,visibility:a})=>e("div",{className:c("gp-flex gp-items-center gp-justify-center gp-gap-[8px] gp-bg-[#F4F4F4] gp-p-[16px] gp-border gp-border-[#D6D6D6]",{"gp-opacity-60":!a}),children:[e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o("path",{d:"M19.1475 5.16194C19.1416 5.1148 19.1197 5.0713 19.0857 5.03911C19.0516 5.00692 19.0076 4.9881 18.9614 4.98597C18.8835 4.98597 17.3469 4.95397 17.3469 4.95397C17.3469 4.95397 16.0588 3.67419 15.9342 3.5311C15.8104 3.40312 15.5619 3.43512 15.4684 3.46711L14.8166 3.67508C14.7361 3.40491 14.6323 3.14259 14.5067 2.89121C14.0566 1.99536 13.3727 1.51544 12.5659 1.51544C12.5044 1.51544 12.4577 1.51544 12.3954 1.53144C12.3642 1.49945 12.3486 1.46745 12.3175 1.45145C11.9608 1.06752 11.5107 0.875552 10.967 0.891549C9.92824 0.923543 8.88772 1.70741 8.03419 3.08318C7.44467 4.05901 6.99453 5.27392 6.8543 6.21776C5.65969 6.6017 4.82087 6.87365 4.79057 6.87365C4.18461 7.06562 4.16903 7.08161 4.09199 7.67351C4.06082 8.12144 2.47754 20.7415 2.47754 20.7415L15.7636 23.1091L21.522 21.6374C21.5064 21.6374 19.1631 5.27392 19.1475 5.16194ZM14.1492 3.89904C13.8062 4.00572 13.4648 4.11772 13.1251 4.23498C13.1251 3.69108 13.0472 2.92321 12.8143 2.28331C13.6064 2.41129 13.9942 3.33914 14.1492 3.89904ZM12.4265 4.44206C11.7279 4.66602 10.9679 4.90598 10.207 5.14594C10.4243 4.29808 10.8277 3.46623 11.3245 2.90632C11.533 2.66965 11.7863 2.47913 12.069 2.34641C12.3806 2.9712 12.4421 3.85105 12.4265 4.44206ZM10.9982 1.61143C11.2466 1.61143 11.4483 1.65942 11.6197 1.7874C11.3127 1.95192 11.0387 2.17444 10.8121 2.44329C10.1455 3.17916 9.63305 4.31408 9.43135 5.4179C8.79423 5.62586 8.17356 5.81783 7.61521 5.9938C7.98744 4.25009 9.39933 1.65942 10.9982 1.61143Z",fill:"#95BF47"}),o("path",{d:"M18.9647 4.94709C18.8851 4.94709 17.3155 4.91503 17.3155 4.91503C17.3155 4.91503 15.9981 3.63242 15.8716 3.48812C15.8261 3.43951 15.7635 3.41074 15.6973 3.40796V23.1094L21.5828 21.6344L19.1709 5.12345C19.1399 5.01122 19.0444 4.94709 18.9647 4.94709Z",fill:"#5E8E3E"}),o("path",{d:"M13.0575 8.51577L12.3029 10.8908C12.3029 10.8908 11.4602 10.5663 10.4599 10.6253C8.98595 10.6991 8.98595 11.4809 8.98595 11.6727C9.07404 12.7348 12.39 12.9709 12.5828 15.4631C12.7238 17.4251 11.3545 18.7675 9.35396 18.8708C6.96778 18.9733 5.65137 17.7939 5.65137 17.7939L6.16032 15.9794C6.16032 15.9794 7.49435 16.8203 8.5465 16.7613C9.23162 16.7318 9.4949 16.245 9.45967 15.9204C9.35396 14.5337 6.65165 14.6223 6.47645 12.3365C6.33551 10.4188 7.82712 8.48626 11.1265 8.30924C12.4076 8.23548 13.0575 8.51577 13.0575 8.51577Z",fill:"white"})]}),o("span",{className:"gp-text-[#212121] gp-text-[14px] gp-leading-[24px] gp-font-medium",children:t})]});return d.includes(g.tag)&&i(a)?e(t,{children:[o(h,{...g}),o(l,{uid:g.uid,advanced:j}),e(a.type,{className:j?.cssClass,...a.props,style:y,builderAttrs:x,advanced:j,children:[g.isShopifySection?o(S,{name:g.name??"",visibility:!!g.isShopifyVisibility}):a.props.children,o(m,{...g})]})]}):e(t,{children:[o(h,{...g}),o(l,{uid:g.uid,advanced:j}),e("div",{style:s.includes(g.tag)?{"--mb":y?.["--mb"],"--mb-tablet":y?.["--mb-tablet"],"--mb-mobile":y?.["--mb-mobile"]}:y,className:`${g.uid} ${g.advanced?.cssClass?g.advanced?.cssClass:""}`,...x,children:[!s.includes(g.tag)&&a,i(a)&&s.includes(g.tag)&&o(a.type,{...a.props,style:y,advanced:j}),o(m,{...g})]})]})};var ComponentWrapperPreview$1=a(ComponentWrapperPreview);export{ComponentWrapperPreview$1 as default};
|
|
2
|
+
import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{memo as a,useEffect as n,isValidElement as i}from"react";import{composeAdvanceStyle as r}from"../helpers/compose-advance-style.js";import{useInteraction as p}from"../hooks/useInteraction.js";import{disableWrap as d,excludeApplyStyle as s}from"./constant.js";import l from"./RenderCustomCode.js";import m from"./ComponentToolbarPreview.js";import"zustand";import{cls as c}from"../helpers/cls.js";import"swr";import"../helpers/convert.js";import"@gem-sdk/adapter-shopify";import"swr/mutation";import{usePageType as C}from"../hooks/shop.js";import"swr/infinite";import"vanilla-lazyload";import"../hooks/useCartUI.js";import"../hooks/useStickyStore.js";import h from"./ComponentAnimation.js";let ComponentWrapperPreview=({children:a,...g})=>{n(()=>{let e=new CustomEvent("editor:component:render",{bubbles:!0,detail:{componentUid:g.uid}});window.dispatchEvent(e)},[g.uid]);let{getAnimationByUid:f}=p(),b=f(g.uid);b&&(g.advanced={...g.advanced,animation:{desktop:b,tablet:b,mobile:b}});let u=C();if("section"===g.type)return null;let v={};if("Section"===g.tag&&g.isThemeSection&&(v["data-theme-section"]=!0),"Section"===g.tag&&g.isShopifySection&&(v["data-shopify-section"]=!0,v["data-toolbar-wrap"]=!0),g.editorConfigs){let e=g.editorConfigs;e.placeholder?.notAppendBeforeAfter&&(v["data-placeholder-not-append-before-after"]=!0),e.placeholder?.notAppendLeftRight&&(v["data-placeholder-not-append-left-right"]=!0),e.toolbar?.parent&&(v["data-toolbar-parent"]=!0),e.component?.noDelete&&(v["data-component-no-delete"]=!0),e.component?.noDuplicate&&(v["data-component-no-duplicate"]=!0),e.component?.noDragDrop&&(v["data-component-no-drag-drop"]=!0),e.component?.noSetting&&(v["data-component-no-setting"]=!0),e.component?.isThirdParty&&(v["data-component-is-third-party"]=!0),e.toolbar?.hide&&(v["data-toolbar-hide"]=!0),e.slots?.children&&(v["data-slots-children"]=!0),e.toolbar?.hide||(v["data-toolbar-wrap"]=!0)}g?.editorConfigs?.toolbar?.hide||(v["data-toolbar-wrap"]=!0);let w=e=>"GP_FUNNEL_PAGE"===u&&["ProductList","Header"].includes(e),y=r(g.advanced,g.tag,u),j=g.advanced,x={...v,"data-uid":g.uid,"data-component-type":"component","data-component-tag":g.tag,"data-component-label":g.label,"data-not-droppable":w(g.tag)?"true":"false"},S=({name:t,visibility:a})=>e("div",{className:c("gp-flex gp-items-center gp-justify-center gp-gap-[8px] gp-bg-[#F4F4F4] gp-p-[16px] gp-border gp-border-[#D6D6D6]",{"gp-opacity-60":!a}),children:[e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o("path",{d:"M19.1475 5.16194C19.1416 5.1148 19.1197 5.0713 19.0857 5.03911C19.0516 5.00692 19.0076 4.9881 18.9614 4.98597C18.8835 4.98597 17.3469 4.95397 17.3469 4.95397C17.3469 4.95397 16.0588 3.67419 15.9342 3.5311C15.8104 3.40312 15.5619 3.43512 15.4684 3.46711L14.8166 3.67508C14.7361 3.40491 14.6323 3.14259 14.5067 2.89121C14.0566 1.99536 13.3727 1.51544 12.5659 1.51544C12.5044 1.51544 12.4577 1.51544 12.3954 1.53144C12.3642 1.49945 12.3486 1.46745 12.3175 1.45145C11.9608 1.06752 11.5107 0.875552 10.967 0.891549C9.92824 0.923543 8.88772 1.70741 8.03419 3.08318C7.44467 4.05901 6.99453 5.27392 6.8543 6.21776C5.65969 6.6017 4.82087 6.87365 4.79057 6.87365C4.18461 7.06562 4.16903 7.08161 4.09199 7.67351C4.06082 8.12144 2.47754 20.7415 2.47754 20.7415L15.7636 23.1091L21.522 21.6374C21.5064 21.6374 19.1631 5.27392 19.1475 5.16194ZM14.1492 3.89904C13.8062 4.00572 13.4648 4.11772 13.1251 4.23498C13.1251 3.69108 13.0472 2.92321 12.8143 2.28331C13.6064 2.41129 13.9942 3.33914 14.1492 3.89904ZM12.4265 4.44206C11.7279 4.66602 10.9679 4.90598 10.207 5.14594C10.4243 4.29808 10.8277 3.46623 11.3245 2.90632C11.533 2.66965 11.7863 2.47913 12.069 2.34641C12.3806 2.9712 12.4421 3.85105 12.4265 4.44206ZM10.9982 1.61143C11.2466 1.61143 11.4483 1.65942 11.6197 1.7874C11.3127 1.95192 11.0387 2.17444 10.8121 2.44329C10.1455 3.17916 9.63305 4.31408 9.43135 5.4179C8.79423 5.62586 8.17356 5.81783 7.61521 5.9938C7.98744 4.25009 9.39933 1.65942 10.9982 1.61143Z",fill:"#95BF47"}),o("path",{d:"M18.9647 4.94709C18.8851 4.94709 17.3155 4.91503 17.3155 4.91503C17.3155 4.91503 15.9981 3.63242 15.8716 3.48812C15.8261 3.43951 15.7635 3.41074 15.6973 3.40796V23.1094L21.5828 21.6344L19.1709 5.12345C19.1399 5.01122 19.0444 4.94709 18.9647 4.94709Z",fill:"#5E8E3E"}),o("path",{d:"M13.0575 8.51577L12.3029 10.8908C12.3029 10.8908 11.4602 10.5663 10.4599 10.6253C8.98595 10.6991 8.98595 11.4809 8.98595 11.6727C9.07404 12.7348 12.39 12.9709 12.5828 15.4631C12.7238 17.4251 11.3545 18.7675 9.35396 18.8708C6.96778 18.9733 5.65137 17.7939 5.65137 17.7939L6.16032 15.9794C6.16032 15.9794 7.49435 16.8203 8.5465 16.7613C9.23162 16.7318 9.4949 16.245 9.45967 15.9204C9.35396 14.5337 6.65165 14.6223 6.47645 12.3365C6.33551 10.4188 7.82712 8.48626 11.1265 8.30924C12.4076 8.23548 13.0575 8.51577 13.0575 8.51577Z",fill:"white"})]}),o("span",{className:"gp-text-[#212121] gp-text-[14px] gp-leading-[24px] gp-font-medium",children:t})]});return d.includes(g.tag)&&i(a)?e(t,{children:[o(h,{...g}),o(l,{uid:g.uid,advanced:j}),e(a.type,{className:j?.cssClass,...a.props,style:y,builderAttrs:x,advanced:j,children:[g.isShopifySection?o(S,{name:g.name??"",visibility:!!g.isShopifyVisibility}):a.props.children,o(m,{...g})]})]}):e(t,{children:[o(h,{...g}),o(l,{uid:g.uid,advanced:j}),e("div",{style:s.includes(g.tag)?{"--mb":y?.["--mb"],"--mb-tablet":y?.["--mb-tablet"],"--mb-mobile":y?.["--mb-mobile"]}:y,className:`${g.uid} ${g.advanced?.cssClass?g.advanced?.cssClass:""}`,...x,children:[!s.includes(g.tag)&&a,i(a)&&s.includes(g.tag)&&o(a.type,{...a.props,style:y,advanced:j}),o(m,{...g})]})]})};var ComponentWrapperPreview$1=a(ComponentWrapperPreview);export{ComponentWrapperPreview$1 as default};
|