import{a as e,_ as t,i as o,u as r,b as i}from"./index-8800b505.js";import{_ as n,a as c,P as a,g as l,T as p,b as s,c as d,d as u,q as m,e as x,f,h as g}from"./qrCodeUrl-82451b9a.js";import{d as b,e as v,r as y,b as h,ac as F,o as k,c as w,a as T,t as C,u as _,F as E,k as B,l as P,z as A,h as I,n as S,K as q,p as D,j as V,i as L,w as R,G as N,g as O,y as j,X as M,f as U,a1 as W,ae as H,A as Y}from"./vendor-63c60e35.js";import{g as $}from"./price-9838795c.js";import"./ComModal-e4e25979.js";const z={class:"font-medium mx-auto text-center text-[28px] leading-[40px] sm:text-[48px] sm:leading-[68px]"},G={class:"font-500 text-center text-[18px] leading-[56px] hidden md:w-[280px] md:block lg:w-[320px]"},K={class:"flex flex-1 sm:flex-0 sm:w-[664px] lg:w-[780px]"},J={class:"font-medium text-center text-[18px] leading-[56px] w-1/3 sm:w-1/4"},Z={class:"font-medium text-center text-[18px] leading-[56px] w-1/3 sm:w-1/4"},X={class:"font-medium text-center text-[18px] leading-[56px] w-1/3 sm:w-1/4"},Q={class:"font-medium text-center text-[18px] leading-[56px] w-1/4 hidden sm:block"},ee={class:"mask-area text-center"},te=(e=>(D("data-v-b198a634"),e=e(),V(),e))((()=>T("div",{class:"mt-[30px]"},null,-1))),oe=t(b({__name:"PriceTableCom",setup(t,{expose:o}){const{t:r}=v(),i=y(!1),c=h((()=>({group:[{title:r("content.price.compare.group1.title"),titleColor:"#FFE4BF",textColor:"#846539",themeColor:"#FFA629",list:[{itemTitle:r("content.price.compare.group1.members"),status:[r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.only")]},{itemTitle:r("content.price.compare.group1.storage.content1"),status:[r("content.price.compare.group1.storage.free"),r("content.price.compare.group1.storage.basic"),r("content.price.compare.group1.storage.professional"),r("content.price.compare.group1.storage.local")]},{itemTitle:r("content.price.compare.group1.project"),status:["1",r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.unlimited")]},{itemTitle:r("content.price.compare.group1.doc"),status:["3",r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.unlimited")]},{itemTitle:r("content.price.compare.group1.objects"),status:[r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.unlimited")]},{itemTitle:r("content.price.compare.group1.database"),status:[r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.unlimited"),r("content.price.compare.coming")]}]},{title:r("content.price.compare.group7.title"),titleColor:"#B9E7CE",textColor:"#32684B",themeColor:"#FFA629",list:[{itemTitle:r("content.price.compare.group7.imagine"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group7.mindmap"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group7.browser"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group7.template"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group7.database"),status:[!0,!0,!0,r("content.price.compare.group7.noSupport")]},{itemTitle:r("content.price.compare.group7.table"),status:[!0,!0,!0,r("content.price.compare.group7.noSupport")]}]},{title:r("content.price.compare.group2.title"),titleColor:"#D1DBFB",textColor:"#4F5A80",themeColor:"#14AE5C",list:[{itemTitle:r("content.price.compare.group2.list.title12"),status:[!0,!0,!0,!1]},{itemTitle:r("content.price.compare.group2.list.title2"),hover:r("content.price.compare.group2.visitor_edit.hover"),status:[!1,!1,!0,!1]},{itemTitle:r("content.price.compare.group2.list.title3"),hover:r("content.price.compare.group2.private.hover"),status:[!1,!1,!0,!1]},{itemTitle:r("content.price.compare.group2.list.title41"),hover:r("content.price.compare.group2.list.title4H"),coming:!1,status:[!1,!1,!0,!1]},{itemTitle:r("content.price.compare.group2.list.title6"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.list.title7"),status:[!1,!0,!0,!1]},{itemTitle:r("content.price.compare.group2.list.title91"),hover:r("content.price.card.collaborate.text.sync.hover"),status:[r("content.price.compare.group2.list.1database"),r("content.price.compare.group2.list.unlimited"),r("content.price.compare.group2.list.unlimited"),r("content.price.compare.group2.list.unlimited")]},{itemTitle:r("content.price.compare.group2.list.title13"),status:[r("content.price.compare.group2.list.sd"),r("content.price.compare.group2.list.hd"),r("content.price.compare.group2.list.hd"),r("content.price.compare.group2.list.hd")]}]},{title:r("content.price.compare.group8.title"),titleColor:"rgba(183, 128, 255, 0.40)",textColor:"#4F5A80",themeColor:"#6786F3",list:[{itemTitle:r("content.price.compare.group3.list.title1"),hover:r("content.price.compare.group3.list.content1"),status:[r("content.price.compare.group2.ai.freeteampoints"),r("content.price.compare.group2.ai.basicteampoints"),r("content.price.compare.group2.ai.unlimited"),r("content.price.compare.group2.ai.basicteampoints")]},{itemTitle:r("content.price.compare.group2.ai.function1"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.ai.function2"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.ai.function3"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.ai.function4"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.ai.function5"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.ai.function6"),status:[!0,!0,!0,!0]},{itemTitle:r("content.price.compare.group2.ai.function7"),status:[!0,!0,!0,!0]}]},{title:r("content.price.compare.group4.title"),titleColor:"#FFF0BF",textColor:"#847339",themeColor:"#FFCD29",list:[{itemTitle:r("content.price.compare.group4.historyauto.title"),status:[r("content.price.compare.group4.time.short"),r("content.price.compare.group4.time.middle"),r("content.price.compare.group4.time.long"),r("content.price.compare.group4.time.coming")],coming:!1},{itemTitle:r("content.price.compare.group4.historymanual.title"),status:[!1,r("content.price.compare.group4.time.middle"),r("content.price.compare.group4.historymanual.collaborate"),r("content.price.compare.group4.time.coming")]},{itemTitle:r("content.price.compare.group4.recycleBin.title"),status:[r("content.price.compare.group4.recycleBin.free"),r("content.price.compare.group4.recycleBin.collaborate"),r("content.price.compare.group4.recycleBin.enterprise"),r("content.price.compare.group4.recycleBin.enterprise")]},{itemTitle:r("content.price.compare.group4.dataLocal.title"),status:[r("content.price.compare.group4.dataLocal.local"),r("content.price.compare.group4.dataLocal.local"),r("content.price.compare.group4.dataLocal.local"),!0]},{itemTitle:r("content.price.compare.group4.IM.title"),status:[!1,!1,r("content.price.compare.group4.IM.coming"),!1]}]},{title:r("content.price.compare.group5.title"),titleColor:"#FFD7E3",textColor:"#846539",themeColor:"#FFA629",list:[{itemTitle:r("content.price.compare.group5.community"),status:[!0,!0,!0,!0]}]}]}))),a=y(null),{top:l}=F(a);function p(){var e;i.value&&(null==(e=document.getElementById("table-header"))||e.scrollIntoView()),i.value=!i.value}return o({tableHeaderTop:l}),(t,o)=>{const l=n,s=e;return k(),w("div",{style:q([{"background-color":"linear-gradient(180deg, rgba(246, 245, 243, 0) 0%, #f6f5f3 63%)"},{height:i.value?"auto":"780px",overflow:i.value?"visible":"hidden"}]),class:"product-info-container bg-[#F6F5F3] pt-[60px] pb-[146px] relative"},[T("div",z,C(_(r)("content.price.compare.title")),1),T("div",{id:"table-header",ref_key:"tableHeader",ref:a,class:"bg-[#F6F5F3] border-[#DFDFDE] flex border-b-1 h-[56px] mt-[40px] md:w-[944px] md:mx-auto lg:w-[1100px] table-header"},[T("div",G,C(_(r)("content.price.compare.feature.title")),1),T("div",K,[T("div",J,C(_(r)("content.price.card.free.title")),1),T("div",Z,C(_(r)("content.price.card.basic.title")),1),T("div",X,C(_(r)("content.price.card.professional.title")),1),T("div",Q,C(_(r)("content.price.card.local.title")),1)])],512),(k(!0),w(E,null,B(_(c).group,((e,t)=>(k(),P(l,{key:e.title,title:e.title,group:t,"title-color":e.titleColor,"text-color":e.textColor,list:e.list,"theme-color":e.themeColor},null,8,["title","group","title-color","text-color","list","theme-color"])))),128)),T("div",ee,[T("button",{class:"btn cursor-pointer text-center",onClick:p},[A(C(i.value?_(r)("content.price.compare.coll"):_(r)("content.price.compare.showMore"))+" ",1),I(s,{name:"up",class:S(["ml-[2px]",!i.value&&"more-btn-icon"])},null,8,["class"])])]),te],4)}}}),[["__scopeId","data-v-b198a634"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/components/Price/PriceTableCom.vue"]]),re={class:"flex mt-[12px] mb-[5px] items-center",style:{color:"var(--price-amount-color, #6b6865)"}},ie={class:"font-medium mx-[4px] ml-[8px] text-[40px] leading-[50px] flex flex-col justify-center",style:{"align-items":"flex-start"}},ne={key:3,class:"ml-[4px] flex flex-col text-[12px] leading-[17px]",style:{color:"var(--price-amount-color, #6b6865)"}},ce={key:4,class:"slogan-img"},ae={key:0,src:"https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/cards/20240204-205845.png",alt:""},le={key:1,src:"https://r.fabrie.cn/website_images/zhichangmengxinjihua.png",alt:""},pe={key:0,style:{color:"var(--price-amount-color, #6b6865)"}},se={key:1,style:{color:"var(--price-amount-color, #6b6865)"},class:"h-[21px]"},de=t(b({__name:"PriceAmountCom",props:{amount:{type:Number,required:!1},originAmount:{type:Number,required:!1},showPrefix:{type:Boolean,required:!1},textPrice:{type:String,required:!1},support:{type:String,required:!1},monthAmount:{type:Number,required:!1},description:{type:String,required:!1},productType:{type:String,required:!1},type:{type:Number,required:!1},showSlogan:{type:Boolean,required:!1},showTopSlogan:{type:Boolean,required:!1}},setup(e){const{t:t}=v();return(r,i)=>(k(),w(E,null,[T("div",re,[e.showPrefix?(k(),w("div",{key:0,class:S([["basic"===e.productType&&"text-[#B780FF]"],"font-semibold pt-[16px] text-[14px] leading-[20px]"])},C(_(o)?"$":"¥"),3)):L("v-if",!0),void 0!==e.textPrice?(k(),w("div",{key:1,class:S([["basic"===e.productType&&"text-[#B780FF]"],"font-[700] text-[22px] leading-[50px]"])},C(e.textPrice),3)):L("v-if",!0),void 0!==e.amount?(k(),w("div",{key:2,class:S([["basic"===e.productType&&"text-[#B780FF]"],"font-bold ml-[4px] text-[40px] flex leading-[50px]"])},[A(C(e.amount)+" ",1),T("div",ie,[R(T("span",{class:S([["basic"===e.productType?"text-[#56524F]":"text-[#fff]"],"text-[14px] leading-[18px]"])},C(_(t)("content.price.card.basic.per")),3),[[N,"basic"===e.productType||"professional"===e.productType]]),R(T("span",{class:S([["basic"===e.productType?"text-[#56524F]":"text-[#fff]"],"text-[14px] leading-[18px]"])},C(_(t)("content.price.card.basic.bill")),3),[[N,"basic"===e.productType||"professional"===e.productType]])])],2)):L("v-if",!0),void 0!==e.monthAmount?(k(),w("div",ne,[T("span",null,C(_(t)("content.price.card.saleUnit")),1),T("span",null,C(_(t)("content.price.card.yearpay")),1)])):L("v-if",!0),e.showSlogan?(k(),w("div",ce,["permanent"===e.productType?(k(),w("img",ae)):L("v-if",!0),"basic"===e.productType?(k(),w("img",le)):L("v-if",!0)])):L("v-if",!0)]),e.monthAmount?(k(),w("div",pe,C(`${_(t)("content.price.card.monthpay")}: ¥ ${e.monthAmount}`),1)):L("v-if",!0),e.description?(k(),w("div",se,C(e.description),1)):L("v-if",!0)],64))}}),[["__scopeId","data-v-a692c13f"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/components/Price/PriceAmountCom.vue"]]),ue={class:"mt-[68px]"},me={class:"border-1 overflow-hidden rounded-[8px] mb-[20px] w-[264px] h-[614px] relative snap-start flex flex-col",style:{"border-color":"var(--card-border-color, #dfdfde)","background-color":"var(--card-background-color, white)"}},xe={class:"px-[16px] py-[20px]"},fe={style:{color:"var(--card-title-color, #2c2722)"},class:"flex items-center font-semibold text-[16px] leading-[22px]"},ge={key:0,style:{color:"var(--card-title-color, #6b6865)","border-color":"var(--card-title-color, #6b6865)"},class:"inline-block text-[12px] font-400 border-1 leading-[18px] ml-[8px] px-[4px] rounded-4px"},be={class:"content pt-[20px] pb-[16px] px-[16px] flex-1 flex flex-col",style:{"background-color":"var(--prefix-background-color, #fff7f5)"}},ve={key:0,class:"rounded-[4px] mb-[12px] text-[#969391] text-[12px] leading-[1.5]"},ye={key:1,class:"rounded-[4px] text-[#ABA9A7] text-[14px] leading-[20px]"},he={key:2,class:"ai-desc"},Fe={class:"first"},ke={key:0,class:"second"},we={class:"text-[14px] text-[#ABA9A7] leading-[20px]"},Te={key:1},Ce={key:0,style:{color:"var(--prefix-text-color, #c0bebd)"},class:"text-[#000] mr-9px text-[20px]"},_e={class:"flex-1 overflow-visible text-[#2C2722] first-content"},Ee={key:0,class:"text-[#B780FF]"},Be={key:3,class:"text-center"},Pe=t(b({__name:"PlanCardCom",props:{productType:{type:String,required:!0},title:{type:String,required:!0},subtitle:{type:String,required:!0},features:{type:String,required:!0},description:{type:String,required:!1},contain:{type:String,required:!0},amount:{type:Number,required:!1},originAmount:{type:Number,required:!1},monthAmount:{type:Number,required:!1},support:{type:String,required:!1},showNote:{type:Boolean,required:!1},showPrefix:{type:Boolean,required:!1},textPrice:{type:String,required:!1},showTrial:{type:Boolean,required:!1},showDownload:{type:Boolean,required:!1},cardList:{type:Array,required:!0},tab:{type:Number,required:!1},isAi:{type:Boolean,required:!1},type:{type:Number,required:!0},showSlogan:{type:Boolean,required:!1},showTopSlogan:{type:Boolean,required:!1}},emits:["select","handleSubscriptionClick"],setup(t,{emit:o}){const{t:r}=v(),i=Array.from({length:10},((e,t)=>({label:`${t+1}`,key:t+1})));O({options:[...i,{label:"15",key:15},{label:"20",key:20},{label:"30",key:30},{label:"50",key:50}],seats:3,discountAmount:{10:200,15:400,20:800,30:1800,50:4500}}),y(null);const n=y({0:"不支持AI订阅,仅可购买加油包",1:"+AI ¥59 连续包月 不限用量",2:"+AI ¥59/人 连续包月 不限用量",3:"按需定制AI,支持私有企业模型"}),a=y({0:"免费永久保存您的内容",1:"可选年订阅¥216+¥599,更优惠",2:"可选年订阅¥360+¥599,更优惠",3:""});return(i,l)=>{const p=de,s=e,d=c;return k(),w("div",ue,[T("div",me,[T("div",xe,[T("h1",fe,[A(C(t.title)+" ",1),t.support?(k(),w("div",ge,C(t.support),1)):L("v-if",!0)]),I(p,{amount:t.amount,"text-price":t.textPrice,"origin-amount":t.originAmount,"show-prefix":t.showPrefix,description:t.description,"month-amount":t.monthAmount,"product-type":t.productType},null,8,["amount","text-price","origin-amount","show-prefix","description","month-amount","product-type"])]),T("div",be,[t.subtitle?(k(),w("p",ve,C(t.subtitle),1)):L("v-if",!0),t.features?(k(),w("p",ye,C(t.features),1)):L("v-if",!0),t.isAi?(k(),w("div",he,[T("div",Fe,[I(s,{name:"ai-logo",class:"text-[8px] text-[#6B6865]"}),A(C(n.value[t.type]),1)]),a.value[t.type]?(k(),w("div",ke,C(a.value[t.type]),1)):L("v-if",!0)])):L("v-if",!0),T("p",we,C(t.contain),1),T("ul",null,[(k(!0),w(E,null,B(t.cardList,((e,o)=>(k(),w("li",{key:e.id,class:"flex"},[e.hover?(k(),P(d,{key:0,title:e.content,content:e.hover,coming:e.coming},null,8,["title","content","coming"])):(k(),w("div",Te,[o!==t.cardList.length-1||"basic"!==t.productType&&"free"!==t.productType?(k(),P(s,{key:1,name:"check",style:{color:"var(--prefix-text-color, #c0bebd)"},class:"text-[#000] mr-6px text-[14px] mt-[3px]"})):(k(),w("span",Ce,"×")),T("div",_e,[A(C(e.content),1),e.color?(k(),w("span",Ee,C(e.color),1)):L("v-if",!0)])]))])))),128))]),L(' <div v-if="showTrial" class="text-center">\n          <span\n            class="text-[#FB7350] font-semibold cursor-pointer font-[16px] text-center underline card-additional-action"\n            @click="emit(\'handleSubscriptionClick\', \'trial\')"\n            >{{ t(\'content.price.card.collaborate.trial\') }}</span\n          >\n        </div>\n        <div v-if="showDownload" class="text-center">\n          <span\n            class="text-[#b780ff] font-semibold cursor-pointer font-[16px] text-center underline card-additional-action"\n            @click="emit(\'handleSubscriptionClick\', \'trial\')"\n            >{{ t(\'content.price.card.collaborate.download\') }}</span\n          >\n        </div> '),"permanent"===t.productType?(k(),w("div",Be,[T("span",{class:"text-[#C599FF] font-semibold cursor-pointer font-[16px] text-center underline card-additional-action",onClick:l[0]||(l[0]=e=>o("handleSubscriptionClick","permanent-trial"))},C(_(r)("content.price.card.collaborate.trial1")),1)])):L("v-if",!0),T("div",null,[j(i.$slots,"default",{},void 0,!0)])])])])}}}),[["__scopeId","data-v-bf602139"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/components/Price/PlanCardCom.vue"]]),Ae=["href"],Ie={key:0},Se={key:1},qe={class:"flex mx-auto bg-[#B780FF] rounded-[6px] h-[11px] mb-[20px] px-[4px] w-[100px] gap-[6px] items-center justify-center tabs",style:{"box-shadow":"0px 2px 0px rgba(255, 118, 118, 0.25)"}},De=["onClick"],Ve={class:"stilcky-content"},Le={class:"whitespace-nowrap h-[70px] flex justify-center items-center md:w-[944px] md:mx-auto lg:w-[1100px] px-[20px]"},Re={class:"title mr-[8px] color-[#2C2722] text-[30px] font-[500] hidden md:w-[280px] md:block lg:w-[320px]"},Ne={class:"flex flex-1 gap-[16px] items-center"},Oe={class:"border-[#EAE9E9] bg-[#fff] flex-1 border-1 rounded-[8px] cursor-pointer h-[40px] text-center text-[#6B6865] text-[16px] leading-[40px] block hover:bg-[#F6F5F3]"},je=t(b({__name:"PricePlanCardsCom",props:{productType:{type:String,required:!1,default:"free"},showAIPayment:{type:Boolean,required:!0}},emits:["changeData","tabChange"],setup(e,{expose:t,emit:o}){const n=r(),c=O(a),f=y(990),g=O({VITE_BASE:"/",VITE_APP_DESCRIPTION:"A powerful digital whiteboard \\n that runs both locally with secure file storage on device and collaboratively online with all the latest AI tools.",VITE_APP_KEYWORDS:"Fabrie",VITE_APP_TITLE:"Fabrie - Online collaboration platform for designers",VITE_API_BASEURL:"/api",VITE_APP_API_BASE_URL:"http://47.102.185.210:11000/",VITE_SENSORS:"https://kebuxi.datasink.sensorsdata.cn/sa?token=4df9a9cefe5494f7&project=production",VITE_LANG:"en",VITE_SITE:"com",VITE_SEGMENT_WRITE_KEY:"W0HnFjYlIkdW7JVfMzchniUb7H2ZerVH",BASE_URL:"/",MODE:"prod-com",DEV:!0,PROD:!1}),b=y(0),F=y(null);t({tab:b});const A=y(null),D=[{x:"a",y:0},{x:"b",y:1},{x:"c",y:2},{x:"d",y:3}],V=y(0);let R=null;const N=i.sm,j=h((()=>N.value?40:20)),z=h((()=>N.value?28:12)),G=e=>{R&&clearTimeout(R);const t=e.target.clientWidth;R=window.setTimeout((()=>{const e=window.innerWidth/2-132;if(null===A.value)return;const o=A.value;[].slice.call(null==o?void 0:o.children).some((function(o,r){const{left:i}=o.getBoundingClientRect(),{right:n}=o.getBoundingClientRect();return(Math.abs(i-j.value)<10||Math.abs(i-e)<10||Math.abs(n+j.value-t)<10)&&(V.value=r,!0)}))}),100)},K=O({priceConfig:{yearPayDiscount:.4,enterpriseSeatCountNeed:20,payPlanPrice:{free:{price:0},individual:{monthly:{price:30,originPrice:45},annual:{price:18,originPrice:27,wholeYearPrice:216,wholeYearOriginPrice:324}},permanent:{monthly:{price:128,originPrice:268},annual:{price:128,originPrice:268}},collaborate:{monthly:{price:50,originPrice:540},annual:{price:300,originPrice:36,wholeYearPrice:288,wholeYearOriginPrice:432}}}}}),J=h((()=>{var e;return 100*(null!=(e=K.priceConfig.yearPayDiscount)?e:0)}));M((async()=>{F.value&&(F.value.scrollLeft=528+j.value+2*z.value-(window.innerWidth/2-132),f.value=F.value.clientHeight+F.value.offsetTop+80),(async()=>{const e=await $();200===e.status&&(K.priceConfig=e.data,o("changeData",e.data))})()}));const{t:Z}=v(),X=h((()=>[Z("content.price.card.free.text.credit"),Z("content.price.card.free.text.storage"),Z("content.price.card.free.text.doc"),Z("content.price.card.free.text.member"),Z("content.price.card.free.text.databases"),Z("content.price.card.free.text.history"),Z("content.price.card.free.text.pdf")].map((e=>({id:l(5),content:"string"==typeof e?e:e[0],hover:"string"==typeof e?void 0:e[1],coming:"string"==typeof e?void 0:e[2]}))))),Q=h((()=>[Z("content.price.card.basic.text.credit"),Z("content.price.card.basic.text.storage"),Z("content.price.card.basic.text.doc"),Z("content.price.card.basic.text.syncable"),Z("content.price.card.basic.text.templates"),Z("content.price.card.basic.text.pdf"),Z("content.price.card.basic.text.editors")].map((e=>({id:l(5),content:"string"==typeof e?e:e[0],hover:"string"==typeof e?void 0:e[1],coming:"string"==typeof e?void 0:e[2]}))))),ee=h((()=>[Z("content.price.card.professional.text.credit"),Z("content.price.card.professional.text.storage"),Z("content.price.card.professional.text.private"),Z("content.price.card.professional.text.syncable"),Z("content.price.card.professional.text.editors")].map((e=>({id:l(5),content:"string"==typeof e?e:e[0],coming:"string"==typeof e?void 0:e[2],hover:void 0,color:"string"==typeof e?void 0:e[1]}))))),te=h((()=>[Z("content.price.card.local.text.credit"),Z("content.price.card.local.text.storage"),Z("content.price.card.local.text.restrictions")].map((e=>({id:l(5),content:"string"==typeof e?e:e[0],hover:"string"==typeof e?void 0:e[1],coming:"string"==typeof e?void 0:e[2]})))));h((()=>[Z("content.price.card.personal.text.multiorg"),Z("content.price.card.personal.text.storage"),[Z("content.price.card.personal.text.sso"),Z("content.price.card.collaborate.text.sync.hover")],Z("content.price.card.personal.text.support"),Z("content.price.card.personal.text.export")].map((e=>({id:l(5),content:"string"==typeof e?e:e[0],hover:"string"==typeof e?void 0:e[1],coming:"string"==typeof e?void 0:e[2]})))));const oe=U();"development"!==g.MODE&&"dev-en"!==g.MODE||(oe.value.origin="http://localhost:2077");const re=y(null),ie=y(null),ne=y(null),ce=y(1);W();const ae=e=>{var t;n.isLogin?"free"===e?window.location.href=`${oe.value.origin}/dashboard/recent`:null==(t=re.value)||t.init(e):window.location.href=`${oe.value.origin}/login`};y();const le=async()=>{var e,t;const{data:o,status:r,msg:i}=await m();200===r&&o?null==(e=ie.value)||e.init():null==(t=ne.value)||t.init(!1)};H("(hover: none)");const pe=e=>{ce.value=e};y(!1);const se=()=>{o("tabChange",b.value)};return(t,o)=>{var r,i,n,a,l,m,v,y,h,R,N,O,M,U,W,H,$,de;const ue=d,me=Pe,xe=u;return k(),w(E,null,[e.showAIPayment?(k(),P(ue,{key:0,tab:b.value,"onUpdate:tab":[o[0]||(o[0]=e=>b.value=e),se],"year-pay-discount":_(J)},null,8,["tab","year-pay-discount"])):L("v-if",!0),T("div",{ref_key:"cardContainer",ref:F,class:"flex w-full card-container overflow-x-auto snap snap-x snap-mandatory snap-pl-[calc(50vw_-_132px)] lg:snap-none mt-[20px]",onScroll:G},[T("div",{ref_key:"cardBody",ref:A,class:"px-[20px] gap-[12px] inline-flex overflow-visible sm:px-[40px] sm:gap-[28px] md:mx-auto lg:px-0 lg:mx-auto"},[I(me,{"product-type":c.FREE,"card-list":_(X),title:_(Z)("content.price.card.free.title"),subtitle:_(Z)("content.price.card.free.description"),description:_(Z)("content.price.card.free.slogan"),features:_(Z)("content.price.card.free.features"),amount:null!=(i=null==(r=K.priceConfig.payPlanPrice)?void 0:r.free.price)?i:0,"show-prefix":!0,style:{"--price-amount-color":"#6b6865","--prefix-background-color":"#FBFAF8","--prefix-text-color":"#C0BEBD"},type:0,"is-ai":1===b.value},{default:Y((()=>[e.productType===c.FREE?(k(),w("div",{key:0,class:"border-[#EAE9E9] border-1 rounded-[8px] bg-[#fff] cursor-pointer h-[40px] text-center text-[#6B6865] text-[16px] leading-[40px] block hover:bg-[#F6F5F3]",onClick:o[1]||(o[1]=e=>ae("free"))},C(_(Z)("content.payment.freeuse")),1)):L("v-if",!0)])),_:1},8,["product-type","card-list","title","subtitle","description","features","amount","is-ai"]),I(me,{"product-type":c.BASIC,"card-list":_(Q),title:_(Z)("content.price.card.basic.title"),contain:"",description:_(Z)("content.price.card.basic.slogan"),subtitle:_(Z)("content.price.card.basic.description"),"show-prefix":!0,"show-trial":!0,"show-slogan":!0,features:_(Z)("content.price.card.basic.features"),amount:null!=(m=null==(l=null==(a=null==(n=K.priceConfig.payPlanPrice)?void 0:n.collaborate)?void 0:a.monthly)?void 0:l.price)?m:0,"origin-amount":null!=(R=null==(h=null==(y=null==(v=K.priceConfig.payPlanPrice)?void 0:v.collaborate)?void 0:y.monthly)?void 0:h.originPrice)?R:0,tab:b.value,"show-note":!0,style:{"--price-amount-color":"#6b6865","--prefix-background-color":"#FBFAF8","--prefix-text-color":"#C0BEBD"},type:2,"is-ai":1===b.value,onHandleSubscriptionClick:ae,onSelect:pe},{default:Y((()=>["collaborate"===e.productType?(k(),w("a",{key:0,href:`${_(oe).origin}/dashboard/recent`,class:"font-medium bg-[#] border-1 border-[#DBBFFF] rounded-[8px] mt-[24px] text-center text-[#B780FF] text-[18px] leading-[40px] block hover:bg-[#ead9ff]",onClick:o[2]||(o[2]=e=>ae("free"))},C(_(Z)("content.price.card.free.choose")),9,Ae)):(k(),w(E,{key:1},[L("CNY theme #aa2300 '--card-border-color': '#FDB9A7',"),L(" 团队版订阅按钮 "),T("div",{class:"cursor-pointer font-medium bg-[#fff] border-1 border-[#DBBFFF] rounded-[8px] mt-[12px] text-center text-[#B780FF] text-[16px] leading-[40px] block hover:bg-[#ead9ff]",onClick:o[3]||(o[3]=e=>ae("Basic"))},C(_(Z)("content.price.card.basic.choose")),1)],2112))])),_:1},8,["product-type","card-list","title","description","subtitle","features","amount","origin-amount","tab","is-ai"]),I(me,{"product-type":c.PROFESSIONAL,"card-list":_(ee),title:_(Z)("content.price.card.professional.title"),description:_(Z)("content.price.card.professional.slogan"),contain:"",subtitle:_(Z)("content.price.card.professional.contain"),"show-prefix":!0,"show-slogan":!0,"show-top-slogan":!0,features:_(Z)("content.price.card.professional.features"),amount:null!=(U=null==(M=null==(O=null==(N=K.priceConfig.payPlanPrice)?void 0:N.collaborate_unlimit)?void 0:O.monthly)?void 0:M.price)?U:0,"origin-amount":null!=(de=null==($=null==(H=null==(W=K.priceConfig.payPlanPrice)?void 0:W.collaborate_unlimit)?void 0:H.monthly)?void 0:$.originPrice)?de:0,style:q({"--price-amount-color":"#fff","--subtitle-background-color":"rgba(255, 236, 231, 0.4)","--prefix-background-color":"#FBFAF8","--prefix-text-color":"#B780FF","--card-border-color":"#DBBFFF","--card-background-color":"#B780FF","--card-title-color":"#fff"}),type:1,"is-ai":1===b.value,onHandleSubscriptionClick:ae},{default:Y((()=>[T("div",{class:"font-bold bg-[#B780FF] border-1 border-[##B780FF] rounded-[8px] mt-[12px] text-center text-[#fff] text-[16px] leading-[40px] block cursor-pointer hover:bg-[#9A6BD8]",onClick:o[4]||(o[4]=e=>ae("Professional"))},C(_(Z)("content.price.card.professional.subscribe")),1)])),_:1},8,["product-type","card-list","title","description","subtitle","features","amount","origin-amount","style","is-ai"]),I(me,{"product-type":c.LOCAL,"card-list":_(te),subtitle:_(Z)("content.price.card.local.description"),title:_(Z)("content.price.card.local.title"),"text-price":0===b.value?_(Z)("content.price.card.local.des"):void 0,description:_(Z)("content.price.card.local.support"),features:_(Z)("content.price.card.local.features"),style:{"--price-amount-color":"#6B6865","--card-border-color":"#DFDFDE","--subtitle-background-color":"#F7F0FF","--prefix-background-color":"#FBFAF8","--prefix-text-color":"#6B6865"},"is-ai":1===b.value,type:3,amount:1===b.value?20:void 0},{default:Y((()=>["com"!==g.VITE_SITE?(k(),w("div",Ie,[T("div",{class:"cursor-pointer font-medium bg-[#fff] border-[#DBBFFF] border-1 border-[#EF6D4C] rounded-[8px] text-center text-[#B780FF] text-[16px] leading-[40px] block hover:bg-[#ead9ff]",onClick:le},C(_(Z)("content.price.card.local.choose")),1)])):(k(),w("div",Se,[T("div",{class:"cursor-pointer font-medium bg-[#fff] border-[#DBBFFF] border-1 border-[#EF6D4C] rounded-[8px] text-center text-[#B780FF] text-[16px] leading-[40px] block hover:bg-[#ead9ff]",onClick:le},C(_(Z)("content.price.card.local.choose")),1)]))])),_:1},8,["product-type","card-list","subtitle","title","text-price","description","features","is-ai","amount"])],512)],544),T("div",qe,[(k(),w(E,null,B(D,(e=>T("div",{key:e.x,class:"cursor-pointer flex h-full w-1/4 items-center",onClick:t=>(e=>{var t,o;if(null!==F.value)switch(e){case 0:F.value.scrollLeft=0;break;case 1:F.value.scrollLeft=264+j.value+z.value-(window.innerWidth/2-132);break;case 2:F.value.scrollLeft=528+j.value+2*z.value-(window.innerWidth/2-132);break;case 3:F.value.scrollLeft=1056+2*j.value+3*z.value-(null!=(o=null==(t=F.value)?void 0:t.clientWidth)?o:0)}})(e.y)},[T("div",{class:S(["rounded-[10px] w-full",{"h-[3px] bg-white":V.value===e.y,"h-[1px] bg-white/60":V.value!==e.y}])},null,2)],8,De))),64))]),I(p,{ref_key:"teamModalRef",ref:re,seats:ce.value,"is-ai":1===b.value},null,8,["seats","is-ai"]),I(s,{ref_key:"enterpriseApplyModalRef",ref:ne,"pay-tab":b.value,seats:ce.value},null,8,["pay-tab","seats"]),I(xe,{top:94,height:f.value},{default:Y((()=>[T("div",Ve,[T("div",Le,[T("div",Re,C(_(Z)("content.payment.choose")),1),T("div",Ne,[T("div",Oe,C(_(Z)("content.payment.freeuse")),1),T("div",{class:"font-medium border-1 flex-1 border-[#FDB9A7] rounded-[8px] text-center text-[#FB7350] text-[16px] leading-[40px] block cursor-pointer hover:bg-[#FFF1EE]",onClick:o[5]||(o[5]=e=>ae("Basic"))},C(_(Z)("content.price.card.basic.choose")),1),T("div",{class:"cursor-pointer w-[189px] flex-1 font-medium bg-[#FB7350] border-1 border-[#EF6D4C] rounded-[8px] h-[40px] text-center text-white text-[16px] leading-[40px] block hover:bg-[#E76949]",onClick:o[6]||(o[6]=e=>ae("Professional"))},C(_(Z)("content.price.card.collaborate.choose")),1)])])])])),_:1},8,["height"]),I(x,{ref_key:"entTrialDoneDialogRef",ref:ie},null,512)],64)}}}),[["__scopeId","data-v-9e8f2c72"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/components/Price/PricePlanCardsCom.vue"]]),Me={class:"price-top"},Ue={class:"font-medium mx-auto pt-[40px] mb-[12px] text-center text-[40px] leading-[56px] whitespace-pre-line md:text-[60px] md:leading-[84px] lg:pt-[60px]"},We={class:"hidden lg:block text-[#000]"},He={class:"lg:hidden text-[#000]"},Ye={class:"price-block"},$e=t(b({name:"PricePage",setup(e){const t=y(!1),{t:o,locale:r}=v();O({VITE_BASE:"/",VITE_APP_DESCRIPTION:"A powerful digital whiteboard \\n that runs both locally with secure file storage on device and collaboratively online with all the latest AI tools.",VITE_APP_KEYWORDS:"Fabrie",VITE_APP_TITLE:"Fabrie - Online collaboration platform for designers",VITE_API_BASEURL:"/api",VITE_APP_API_BASE_URL:"http://47.102.185.210:11000/",VITE_SENSORS:"https://kebuxi.datasink.sensorsdata.cn/sa?token=4df9a9cefe5494f7&project=production",VITE_LANG:"en",VITE_SITE:"com",VITE_SEGMENT_WRITE_KEY:"W0HnFjYlIkdW7JVfMzchniUb7H2ZerVH",BASE_URL:"/",MODE:"prod-com",DEV:!0,PROD:!1});const i=O({promotion:{}}),n=e=>{var t;i.promotion=null!=(t=null==e?void 0:e.promotion)?t:{}};h((()=>0!==Object.keys(null==i?void 0:i.promotion).length&&"zh-CN"===r.value)),H("(hover: none)");const c=y();M((async()=>{const e=f(),{saveChannelCodeInfo:t,getUserUrCodeUrl:o}=e;await t(),await o("价格页"),c.value=e.userUrCodeUrl||"https://fabrie-prod.oss-accelerate.aliyuncs.com/qrcode-wx/300%2A300.png"}));const a=y(!1),l=e=>{1===e&&(a.value=!0)};return(e,r)=>{const i=g,c=je,a=oe;return k(),w(E,null,[T("div",Me,[T("h1",Ue,[T("span",We,C(_(o)("content.price.title.pc")),1),T("span",He,C(_(o)("content.price.title.mobile")),1)]),I(i),T("div",Ye,[I(c,{"show-a-i-payment":t.value,onChangeData:n,onTabChange:l},null,8,["show-a-i-payment"])])]),L(' <ai-table v-if="isAi"></ai-table> '),I(a),L(" <n-message-provider>\n    <introduction-document></introduction-document>\n  </n-message-provider> "),L(" <h1 class=\"font-medium mt-[120px] text-center text-[28px] leading-[40px] sm:text-[48px] sm:leading-[68px]\">\n    {{ t('content.price.faq.title') }}\n  </h1>\n  <div class=\"mx-auto mt-[8px] mb-[60px] w-[268px] sm:w-auto sm:flex sm:justify-center sm:items-center sm:mt-[4px]\">\n    <div v-if=\"!(configEnv.VITE_SITE === 'com')\" class=\"text-[14px] text-[#969391] leading-[20px]\">\n      {{ t('content.price.faq.subtitle') }}\n      {{ t('content.price.faq.subtitle1') }}\n      {{ t('content.price.faq.subtitle2') }}\n    </div>\n    <div v-else>\n      {{ t('content.price.faq.subtitle') }}\n      <a href=\"mailto: community@fabrie.com\" class=\"text-[#2889E3]\">{{ t('content.price.faq.subtitle1') }}</a\n      >{{ t('content.price.faq.subtitle2') }}\n    </div>\n  </div>\n  <div class=\"mb-[100px]\"><price-question></price-question></div> ")],64)}}}),[["__scopeId","data-v-4029f068"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/views/pricing/main.vue"]]);export{$e as default};