import{i as r,N as n,c as s,o as i,d as a,a2 as p}from"./vue.esm-bundler-DZdE0M9V.js";import{u as c}from"./useElementPlusComponents-B_fOPHjO.js";import{u as m}from"./useElementor-CLTCC9L5.js";import{S as u}from"./ServerSidePreview-B6MQKAUU.js";import{t as l}from"./Translator-Bios5QX5.js";import"./index-D0R5Hqh1.js";import"./index-I6zcAgit.js";import"./index-Db9JpFxU.js";import"./dayjs.min-2rai63wT.js";import"./Arr-MwYQQ3qa.js";/* empty css                                                                          */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./add-query-args-COp5A_Oq.js";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(()=>{m()}),(g,k)=>(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});c(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)})});
