import{h as r,O as n,e as s,o as i,a,a2 as p}from"./chunks/vue.esm-bundler.js?ver=1.3.17";import{u as m}from"./chunks/useElementPlusComponents.js?ver=1.3.17";import{u as c}from"./chunks/useElementor.js?ver=1.3.17";import{S as u}from"./chunks/ServerSidePreview.js?ver=1.3.17";import{t as l}from"./chunks/Translator.js?ver=1.3.17";import"./chunks/index.js?ver=1.3.17";import"./chunks/index2.js?ver=1.3.17";import"./chunks/index3.js?ver=1.3.17";import"./chunks/dayjs.min.js?ver=1.3.17";import"./chunks/Arr.js?ver=1.3.17";import"./chunks/ServerSidePreview.vue_vue_type_style_index_0_scoped_e73ce754_lang.js?ver=1.3.17";import"./chunks/_plugin-vue_export-helper.js?ver=1.3.17";import"./chunks/add-query-args.js?ver=1.3.17";const f={class:"fct-customer-profile-block-editor"},d={__name:"App",props:{settings:{type:String,default:""}},setup(t){const o=r(JSON.parse(t.settings));return n(()=>{c()}),(g,h)=>(i(),s("div",f,[a(u,{block:"fluent-cart/customer-profile",attributes:o.value},null,8,["attributes"])]))}},_=t=>{const e=t.dataset.settings,o=p(d,{settings:e});m(o),o.mixin({methods:{$t:l}}).mount(t)};jQuery(document).ready(function(){elementor.hooks.addAction("panel/open_editor/widget/fluent_cart_customer_profile",function(t,e,o){e.get("settings")})});jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/fluent_cart_customer_profile.default",function(t){const e=jQuery(t[0]).find("[data-fluent-cart-customer-profile-app]")[0];_(e)})});
