import{d as e,r as t,X as s,o as i,c as n,a,y as o,K as l,t as p,n as c,e as r,g as E,b as m,F as d,k as g,u as f,l as x,aj as u,A as B,i as h,h as A,ai as b,z as _,p as y,j as F}from"./vendor-63c60e35.js";import{_ as w}from"./index-8800b505.js";import{_ as v}from"./ComModal-e4e25979.js";const D=["src"],C=["src"],k={class:"item-article_title my-[8px] leading-[34px] text-[24px] font-medium md:text-[50px] md:leading-[70px] md:my-[20px] sm:text-[36px] sm:leading-[50px] sm:my-[12px]"},I={class:"item-article_content leading-[22px] text-[14px] sm:text-[20px] sm:leading-[28px]"},T=w(e({__name:"plugin-showing-box-item",props:{isReverse:{type:Boolean,required:!0},context:{type:null,required:!0}},setup(e){const r=t(null),E=t(!0);return s((()=>{var e;try{null==(e=r.value)||e.play()}catch(t){E.value=!1}})),(t,s)=>(i(),n("div",{class:c(["item mx-0 lg:gap-[40px] lg:mx-[40px] md:flex md:items-center md:gap-[40px] md:mx-[40px] sm:mb-[80px] sm:mx-[40px] <sm:mx-[20px]"]),style:l({flexDirection:e.isReverse?"row-reverse":"row"})},[E.value?(i(),n("video",{key:0,ref_key:"videoRef",ref:r,muted:"",loop:"",class:"item-bg lg:max-w-[813px] <sm:object-cover"},[a("source",{src:e.context.url,type:"video/mp4"},null,8,D)],512)):(i(),n("img",{key:1,src:e.context.gifUrl,class:"item-bg lg:max-w-[813px] <sm:object-cover"},null,8,C)),a("div",{class:"item-article md:w-[400px]",style:l({marginLeft:e.isReverse?"60px":"0"})},[o(t.$slots,"default",{},(()=>[a("div",{class:"item-article_desc leading-[22px] text-[16px] font-medium md:text-[26px] md:leading-[26px]",style:l({color:e.context.color})},p(e.context.desc),5),a("div",k,p(e.context.title),1),a("div",I,p(e.context.content),1)]),!0)],4)],4))}}),[["__scopeId","data-v-81f39a1a"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/views/plugin-page/plugin-showing-box-item.vue"]]),O=["https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.1%E4%B8%AD%E6%96%87%E6%8B%96%E6%8B%BD%E4%BF%9D%E5%AD%98.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.2%E4%B8%AD%E6%96%87%E5%8F%B3%E9%94%AE%E4%BF%9D%E5%AD%98.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.3%E4%B8%AD%E6%96%87%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.4%E4%B8%AD%E6%96%87%E5%8F%AF%E8%A7%86%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.5%E4%B8%AD%E6%96%87%E6%89%8B%E6%9C%BA%E5%86%85%E5%AE%B9%E4%B8%8A%E4%BC%A0.gif"],N=["https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.1%E8%8B%B1%E6%96%87%E6%8B%96%E6%8B%BD%E4%BF%9D%E5%AD%98.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.2%E8%8B%B1%E6%96%87%E5%8F%B3%E9%94%AE%E4%BF%9D%E5%AD%98.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.3%E8%8B%B1%E6%96%87%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.4%E8%8B%B1%E6%96%87%E5%8F%AF%E8%A7%86%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.gif","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-gif/NO.5%E8%8B%B1%E6%96%87%E6%89%8B%E6%9C%BA%E5%86%85%E5%AE%B9%E4%B8%8A%E4%BC%A0.gif"],S=["https://r.fabrie.com/assets/plugin-gif/NO.1%E8%8B%B1%E6%96%87%E6%8B%96%E6%8B%BD%E4%BF%9D%E5%AD%98.gif","https://r.fabrie.com/assets/plugin-gif/NO.2%E8%8B%B1%E6%96%87%E5%8F%B3%E9%94%AE%E4%BF%9D%E5%AD%98.gif","https://r.fabrie.com/assets/plugin-gif/NO.3%E8%8B%B1%E6%96%87%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.gif","https://r.fabrie.com/assets/plugin-gif/NO.4%E8%8B%B1%E6%96%87%E5%8F%AF%E8%A7%86%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.gif"],P=["https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.1%E4%B8%AD%E6%96%87%E6%8B%96%E6%8B%BD%E4%BF%9D%E5%AD%98.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.2%E4%B8%AD%E6%96%87%E5%8F%B3%E9%94%AE%E4%BF%9D%E5%AD%98.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.3%E4%B8%AD%E6%96%87%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.4%E4%B8%AD%E6%96%87%E5%8F%AF%E8%A7%86%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.5%E4%B8%AD%E6%96%87%E6%89%8B%E6%9C%BA%E5%86%85%E5%AE%B9%E4%B8%8A%E4%BC%A0.mp4"],V=["https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.1%E8%8B%B1%E6%96%87%E6%8B%96%E6%8B%BD%E4%BF%9D%E5%AD%98.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.2%E8%8B%B1%E6%96%87%E5%8F%B3%E9%94%AE%E4%BF%9D%E5%AD%98.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.3%E8%8B%B1%E6%96%87%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.4%E8%8B%B1%E6%96%87%E5%8F%AF%E8%A7%86%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.mp4","https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/plugin-mp4/NO.5%E8%8B%B1%E6%96%87%E6%89%8B%E6%9C%BA%E5%86%85%E5%AE%B9%E4%B8%8A%E4%BC%A0.mp4"],j=["https://r.fabrie.com/assets/plugin-mp4/NO.1%E8%8B%B1%E6%96%87%E6%8B%96%E6%8B%BD%E4%BF%9D%E5%AD%98.mp4","https://r.fabrie.com/assets/plugin-mp4/NO.2%E8%8B%B1%E6%96%87%E5%8F%B3%E9%94%AE%E4%BF%9D%E5%AD%98.mp4","https://r.fabrie.com/assets/plugin-mp4/NO.3%E8%8B%B1%E6%96%87%E9%80%89%E6%8B%A9%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.mp4","https://r.fabrie.com/assets/plugin-mp4/NO.4%E8%8B%B1%E6%96%87%E5%8F%AF%E8%A7%86%E5%8C%BA%E5%9F%9F%E6%88%AA%E5%9B%BE.mp4"],R={class:"showing mt-[40px] md:mt-[80px] sm:mt-[80px]"},L={class:"flex flex-row justify-between items-center md:flex-col md:gap-[20px] sm:gap-[40px] <sm:gap-[20px] <sm:flex-col"},W={class:"flex flex-col flex-start gap-[20px] self-start md:self-auto <sm:gap-[20px]"},U={class:"text-[#14AE5C] leading-[22px] text-[16px] font-medium md:text-[26px] md:leading-[26px]"},q={class:"hidden lg:inline leading-[34px] text-[24px] font-medium md:text-[50px] md:leading-[70px] sm:text-[36px] sm:leading-[50px]"},M={class:"text-[#8D8D8D] leading-[22px] text-[14px] sm:text-[20px] sm:leading-[28px]"},H=a("img",{class:"w-[80px] h-[80px] sm:w-[120px] sm:h-[120px] md:w-[140px] md:h-[140px] lg:w-[180px] lg:h-[180px]",src:"https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/mini-program/miniprogram-qrcode.png"},null,-1),Y=w(e({__name:"plugin-showing-box",setup(e){const{t:t}=r(),s=E({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}),o=[{title:t("content.clipper.content.quickCollect.title"),desc:t("content.clipper.content.quickCollect.content"),content:t("content.clipper.content.quickCollect.description"),color:"#FB7350"},{title:t("content.clipper.content.rightClick.title"),desc:t("content.clipper.content.rightClick.content"),content:t("content.clipper.content.rightClick.description"),color:"#FB7350"},{title:t("content.clipper.content.screenShotContent.title"),desc:t("content.clipper.content.screenShotContent.content"),content:t("content.clipper.content.screenShotContent.description"),color:"#B780FF"},{title:t("content.clipper.content.screenShotPage.title"),desc:t("content.clipper.content.screenShotPage.content"),content:t("content.clipper.content.screenShotPage.description"),color:"#B780FF"},{title:t("content.clipper.content.qrCode.title"),desc:t("content.clipper.content.qrCode.content"),content:t("content.clipper.content.qrCode.description"),color:"#14AE5C"}],l=m((()=>{let e,t;switch(s.VITE_SITE){case"cn":default:t=O,e=P;break;case"cn/en":t=N,e=V;break;case"com":t=S,e=j}return e.forEach(((e,t)=>{o[t].url=e})),t.forEach(((e,t)=>{o[t].gifUrl=e})),o}));return(e,t)=>(i(),n("div",R,[(i(!0),n(d,null,g(f(l),((e,t)=>(i(),n(d,{key:t},[e.url?(i(),x(T,{key:0,context:e,"is-reverse":!(1!==Math.floor(t%2))},u({_:2},[t===f(l).length-1?{name:"default",fn:B((()=>[a("div",L,[a("div",W,[a("p",U,p(e.desc),1),a("p",q,p(e.title),1),a("p",M,p(e.content),1)]),H])])),key:"0"}:void 0]),1032,["context","is-reverse"])):h("v-if",!0)],64)))),128))]))}}),[["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/views/plugin-page/plugin-showing-box.vue"]]),K=e=>(y("data-v-b9f774a1"),e=e(),F(),e),G={class:"download grid mx-[20px] mt-[40px] gap-y-[20px] md:gap-x-[98px] sm:gap-x-[20px] sm:mt-[80px] sm:inline-grid sm:grid-cols-3"},z=["onClick"],J={class:"flex px-[20px] py-[8px] w-[148px] sm:justify-center sm:flex-col sm:items-center sm:w-full sm:mt-[28px] sm:border-b sm:border-#F2F2F2 sm:p-0 sm:w-auto xs:flex-row"},X=["src","alt"],Z={class:"download-container_desc w-[64px] h-[25px] leading-[25px] flex justify-center items-center sm:mb-[16px] sm:w-auto"},$=["onClick"],Q={key:0,class:"text-[14px] leading-[24px] my-[32px] text-[#6B6865]"},ee=K((()=>a("b",{class:"font-semibold text-[#000]"},"需要访问国外网站",-1))),te=K((()=>a("b",{class:"font-semibold text-[#000]"},"「下载离线包」",-1))),se=K((()=>a("b",{class:"font-semibold text-[#000]"},"Chrome 插件安装页",-1))),ie={key:1,class:"text-[14px] leading-[24px] my-[32px] text-[#6B6865]"},ne=K((()=>a("b",{class:"font-semibold text-[#000]"},"Chrome extension installation page",-1))),ae={class:"flex justify-end"},oe=w(e({__name:"plugin-download",setup(e){const{t:s}=r(),o=[{name:"Edge",url:"https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/edge.svg",link:"https://microsoftedge.microsoft.com/addons/detail/fabrie%E9%87%87%E9%9B%86%E5%8A%A9%E6%89%8B/mofalaoljhnjjmmjflknjbkjjnnbfckh"},{name:"Safari",url:"https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/safari.svg",link:"https://apps.apple.com/cn/app/fabrie%E9%87%87%E9%9B%86%E5%8A%A9%E6%89%8B/id1622954173"},{name:"Chrome",url:"https://fabrie-prod.oss-cn-shanghai.aliyuncs.com/assets/image/chrome.svg",link:"https://chrome.google.com/webstore/detail/fabrie-web-clipper/joioghagfpnpmdfdjijibfbfeolkddlf"}],l=E({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}),c=m((()=>"cn/en"===l.VITE_SITE)),x=t(!1),u=()=>{x.value=!1},h=(e,t)=>{"Chrome"!==t||"com"===l.VITE_SITE?window.open(e,"_blank"):x.value=!0},y=()=>{const e=o.find((e=>"Chrome"===e.name));window.open(null==e?void 0:e.link,"_blank")},F=()=>{window.location.href="https://r.fabrie.cn/Fabrie%20Web%20Clipper.crx"};return(e,t)=>{const l=v;return i(),n(d,null,[a("div",G,[(i(),n(d,null,g(o,(e=>a("div",{key:e.name,class:"download-container bg-[#fff] flex flex-row md:h-[230px] md:w-[200px] sm:flex-col sm:justify-between sm:items-center sm:h-[211px] sm:w-[160px] <sm:cursor-pointer <sm:hover:bg-[#f2f2f2]",onClick:b((t=>{return s=e.link,i=e.name,void(document.body.clientWidth<600&&h(s,i));var s,i}),["stop"])},[a("div",J,[a("img",{src:e.url,class:"w-[28px] h-[28px] mr-[16px] md:mb-[20px] md:w-[80px] md:h-[80px] sm:mb-16px sm:w-[60px] sm:h-[60px] sm:mr-0",alt:e.name},null,8,X),a("div",Z,p(e.name),1)]),a("div",{class:"hidden download-container_button flex-1 justify-center cursor-pointer items-center w-full sm:flex",onClick:b((t=>h(e.link,e.name)),["stop"])},p(f(s)("content.clipper.download")),9,$)],8,z))),64))]),A(l,{visible:x.value,title:f(s)("content.clipper.downloadDialogTitle"),width:"450",onClose:u},{footer:B((()=>[a("div",ae,[a("button",{class:"plugin-download-button button-continue",onClick:y},p(f(s)("content.clipper.continue")),1),a("button",{class:"plugin-download-button button-offline",onClick:F},p(f(s)("content.clipper.offline")),1)])])),default:B((()=>[f(c)?(i(),n("div",ie,[_(" Please make sure you can access Chrome Web Store, otherwise please download and manually install the CRX file. After downloading, drag the installation package to the "),ne,_(" for installation. ")])):(i(),n("div",Q,[_(" 安装chrome插件"),ee,_("。若您无法访问,请点击"),te,_(",下载完成后将安装包拖拽到 "),se,_("即可安装。 ")]))])),_:1},8,["visible","title"])],64)}}}),[["__scopeId","data-v-b9f774a1"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/views/plugin-page/plugin-download.vue"]]),le={class:"title flex flex-col items-center"},pe={class:"title-title whitespace-nowrap"},ce={class:"title-desc mt-[20px] px-[40px]"},re=w(e({__name:"plugin-title",setup(e){const{t:t}=r();return(e,s)=>(i(),n("div",le,[a("p",pe,p(f(t)("content.clipper.fabrieTitle")),1),a("p",ce,p(f(t)("content.clipper.description")),1)]))}}),[["__scopeId","data-v-6ab8b717"],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/views/plugin-page/plugin-title.vue"]]),Ee={class:"plugin flex flex-col justify-center items-center"};const me=w({name:"PluginPage",components:{PluginTitle:re,PluginDownload:oe,PluginShowingBox:Y}},[["render",function(e,t,s,a,o,l){const p=re,c=oe,r=Y;return i(),n("div",Ee,[A(p),A(c),A(r)])}],["__file","/home/kebuxi/layout/frontend/deploy/fabrie-site/src/views/plugin-page/index.vue"]]);export{me as default};