PageSourceSearch

https://logogenerator.design/_nuxt/DoCcUTpW.js

js logogenerator.design collected 2026-10-04 21:54:35 UTC 63,594 bytes, 1 lines download raw bytes

1import{i as e,c as t,N as o,r as n,a1 as a,a2 as i,a3 as r,a4 as l,w as s,a5 as u,a6 as c,o as d,a7 as p,a8 as f,e as v,Y as m,a9 as h,aa as g,G as b,ab as y,ac as w,ad as k,ae as x,af as C,ag as S,v as _,ah as P,ai as j,Z as A,x as z,aj as L,I as M,n as O,ak as E,al as F,am as B,_ as T,D as $,l as R,p as I,E as D,F as N,H as W,a0 as V,k as q,m as H,an as J,y as Z,q as Y,ao as G,J as U,d as K,ap as X,aq as Q,ar as ee,V as te,K as oe,as as ne,at as ae,au as ie,P as re,av as le,aw as se,ax as ue,ay as ce,az as de,aA as pe,aB as fe,aC as ve,aD as me,aE as he,aF as ge,aG as be,aH as ye,aI as we,aJ as ke,aK as xe,aL as Ce,aM as Se,aN as _e,W as Pe}from"./Dk7rWAOk.js";import{_ as je}from"./Dnd6QfTC.js";import{_ as Ae}from"./BCo6x5W8.js";const ze={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},Le={locale:"zh-CN",empty:{description:"暂无数据"},drawer:{okText:"确定",cancelText:"取消"},popconfirm:{okText:"确定",cancelText:"取消"},modal:{okText:"确定",cancelText:"取消"},pagination:{goto:"前往",page:"页",countPerPage:"条/页",total:"共 {0} 条"},table:{okText:"确定",resetText:"重置"},upload:{start:"开始",cancel:"取消",delete:"删除",retry:"点击重试",buttonText:"点击上传",preview:"预览",drag:"点击或拖拽文件到此处上传",dragHover:"释放文件并开始上传",error:"上传失败"},calendar:ze,datePicker:{view:ze.view,month:ze.month,week:ze.week,placeholder:{date:"请选择日期",week:"请选择周",month:"请选择月份",year:"请选择年份",quarter:"请选择季度",time:"请选择时间"},rangePlaceholder:{date:["开始日期","结束日期"],week:["开始周","结束周"],month:["开始月份","结束月份"],year:["开始年份","结束年份"],quarter:["开始季度","结束季度"],time:["开始时间","结束时间"]},selectTime:"选择时间",today:"今天",now:"此刻",ok:"确定"},image:{loading:"加载中"},imagePreview:{fullScreen:"全屏",rotateRight:"向右旋转",rotateLeft:"向左旋转",zoomIn:"放大",zoomOut:"缩小",originalSize:"原始尺寸"},typography:{copied:"已复制",copy:"复制",expand:"展开",collapse:"折叠",edit:"编辑"},form:{validateMessages:{required:"#{field} 是必填项",type:{string:"#{field} 不是合法的文本类型",number:"#{field} 不是合法的数字类型",boolean:"#{field} 不是合法的布尔类型",array:"#{field} 不是合法的数组类型",object:"#{field} 不是合法的对象类型",url:"#{field} 不是合法的 url 地址",email:"#{field} 不是合法的邮箱地址",ip:"#{field} 不是合法的 IP 地址"},number:{min:"`#{value}` 小于最小值 `#{min}`",max:"`#{value}` 大于最大值 `#{max}`",equal:"`#{value}` 不等于 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 范围内",positive:"`#{value}` 不是正数",negative:"`#{value}` 不是负数"},array:{length:"`#{field}` 个数不等于 #{length}",minLength:"`#{field}` 个数最少为 #{minLength}",maxLength:"`#{field}` 个数最多为 #{maxLength}",includes:"#{field} 不包含 #{includes}",deepEqual:"#{field} 不等于 #{deepEqual}",empty:"`#{field}` 不是空数组"},string:{minLength:"字符数最少为 #{minLength}",maxLength:"字符数最多为 #{maxLength}",length:"字符数必须是 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 必须全大写",lowercase:"`#{value}` 必须全小写"},object:{deepEqual:"`#{field}` 不等于期望值",hasKeys:"`#{field}` 不包含必须字段",empty:"`#{field}` 不是对象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}
vendor: 5,607 bytes, line 1
1},colorPicker:{history:"最近使用颜色",preset:"系统预设颜色",empty:"暂无"}},Me=n("zh-CN"),Oe=o({"zh-CN":Le});var Ee=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,n){return e[0]===t&&(o=n,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),n=this.__entries__[o];return n&&n[1]},t.prototype.set=function(t,o){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,n=e(o,t);~n&&o.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,n=this.__entries__;o<n.length;o++){var a=n[o];e.call(t,a[1],a[0])}},t}()}(),Fe="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Be="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Te="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Be):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var $e=["top","right","bottom","left","width","height","size","weight"],Re="undefined"!=typeof MutationObserver,Ie=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,n=!1,a=0;function i(){o&&(o=!1,e()),n&&l()}function r(){Te(i)}function l(){var e=Date.now();if(o){if(e-a<2)return;n=!0}else o=!0,n=!1,setTimeout(r,t);a=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){Fe&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Re?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Fe&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;$e.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),De=function(e,t){for(var o=0,n=Object.keys(t);o<n.length;o++){var a=n[o];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},Ne=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Be},We=Ye(0,0,0,0);function Ve(e){return parseFloat(e)||0}function qe(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+Ve(e["border-"+o+"-width"])}),0)}function He(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return We;var n=Ne(e).getComputedStyle(e),a=function(e){for(var t={},o=0,n=["top","right","bottom","left"];o<n.length;o++){var a=n[o],i=e["padding-"+a];t[a]=Ve(i)}return t}(n),i=a.left+a.right,r=a.top+a.bottom,l=Ve(n.width),s=Ve(n.height);if("border-box"===n.boxSizing&&(Math.round(l+i)!==t&&(l-=qe(n,"left","right")+i),Math.round(s+r)!==o&&(s-=qe(n,"top","bottom")+r)),!function(e){return e===Ne(e).document.documentElement}(e)){var u=Math.round(l+i)-t,c=Math.round(s+r)-o;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return Ye(a.left,a.top,l,s)}var Je="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Ne(e).SVGGraphicsElement}:function(e){return e instanceof Ne(e).SVGElement&&"function"==typeof e.getBBox};function Ze(e){return Fe?Je(e)?function(e){var t=e.getBBox();return Ye(0,0,t.width,t.height)}(e):He(e):We}function Ye(e,t,o,n){return{x:e,y:t,width:o,height:n}}var Ge=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ye(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Ze(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Ue=function(e,t){var o,n,a,i,r,l,s,u=(n=(o=t).x,a=o.y,i=o.width,r=o.height,l="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(l.prototype),De(s,{x:n,y:a,width:i,height:r,top:a,right:n+i,bottom:r+a,left
1:n}),s);De(this,{target:e,contentRect:u})},Ke=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new Ee,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Ne(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Ge(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Ne(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new Ue(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Xe="undefined"!=typeof WeakMap?new WeakMap:new Ee,Qe=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=Ie.getInstance(),n=new Ke(t,o,this);Xe.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){Qe.prototype[e]=function(){var t;return(t=Xe.get(this))[e].apply(t,arguments)}}));var et=void 0!==Be.ResizeObserver?Be.ResizeObserver:Qe;const tt="undefined"==typeof window?global:window,ot=tt.requestAnimationFrame,nt=tt.cancelAnimationFrame;function at(e){let t=0;const o=(...o)=>{t&&nt(t),t=ot((()=>{e(...o),t=0}))};return o.cancel=()=>{nt(t),t=0},o}function it(e,o){const{value:a}=r(o),[i,u]=function(e){const t=n(e);return[t,e=>{t.value=e}]}(l(a.value)?e:a.value);s(a,(e=>{l(e)&&u(void 0)}));return[t((()=>l(a.value)?i.value:a.value)),u,i]}const rt=(e,t)=>{var o,n;const a=e.getBoundingClientRect();return{top:a.top,bottom:a.bottom,left:a.left,right:a.right,scrollTop:a.top-t.top,scrollBottom:a.bottom-t.top,scrollLeft:a.left-t.left,scrollRight:a.right-t.left,width:null!=(o=e.offsetWidth)?o:e.clientWidth,height:null!=(n=e.offsetHeight)?n:e.clientHeight}},lt=(e,t)=>{switch(t){case"top":switch(e){case"bottom":return"top";case"bl":return"tl";case"br":return"tr";default:return e}case"bottom":switch(e){case"top":return"bottom";case"tl":return"bl";case"tr":return"br";default:return e}case"left":switch(e){case"right":return"left";case"rt":return"lt";case"rb":return"lb";default:return e}case"right":switch(e){case"left":return"right";case"lt":return"rt";case"lb":return"rb";default:return e}default:return e}},st=(e,t,{containerRect:o,triggerRect:n,popupRect:a,offset:i,translate:r})=>{const l=(e=>{switch(e){case"top":case"tl":case"tr":default:return"top";case"bottom":case"bl":case"br":return"bottom";case"left":case"lt":case"lb":return"left";case"right":case"rt":case"rb":return"right"}})(e),s=(()=>{const{height:e,width:t}=c();return{width:Math.min(t,window.innerWidth),height:Math.min(e,window.innerHeight)}}
1)(),u=o.top+t.top,d=s.height-(o.top+t.top+a.height),p=o.left+t.left,f=s.width-(o.left+t.left+a.width);let v=e;if("top"===l&&u<0)if(n.top>a.height)t.top=-o.top;else{const l=ut("bottom",n,a,{offset:i,translate:r});s.height-(o.top+l.top+a.height)>0&&(v=lt(e,"bottom"),t.top=l.top)}if("bottom"===l&&d<0)if(s.height-n.bottom>a.height)t.top=-o.top+(s.height-a.height);else{const l=ut("top",n,a,{offset:i,translate:r});o.top+l.top>0&&(v=lt(e,"top"),t.top=l.top)}if("left"===l&&p<0)if(n.left>a.width)t.left=-o.left;else{const l=ut("right",n,a,{offset:i,translate:r});s.width-(o.left+l.left+a.width)>0&&(v=lt(e,"right"),t.left=l.left)}if("right"===l&&f<0)if(s.width-n.right>a.width)t.left=-o.left+(s.width-a.width);else{const l=ut("left",n,a,{offset:i,translate:r});o.left+l.left>0&&(v=lt(e,"left"),t.left=l.left)}return"top"!==l&&"bottom"!==l||(p<0?t.left=-o.left:f<0&&(t.left=-o.left+(s.width-a.width))),"left"!==l&&"right"!==l||(u<0?t.top=-o.top:d<0&&(t.top=-o.top+(s.height-a.height))),{popupPosition:t,position:v}},ut=(e,t,o,{offset:n=0,translate:a=[0,0]}={})=>{var i;const r=null!=(i=u(a)?a:a[e])?i:[0,0];switch(e){case"top":return{left:t.scrollLeft+Math.round(t.width/2)-Math.round(o.width/2)+r[0],top:t.scrollTop-o.height-n+r[1]};case"tl":return{left:t.scrollLeft+r[0],top:t.scrollTop-o.height-n+r[1]};case"tr":return{left:t.scrollRight-o.width+r[0],top:t.scrollTop-o.height-n+r[1]};case"bottom":return{left:t.scrollLeft+Math.round(t.width/2)-Math.round(o.width/2)+r[0],top:t.scrollBottom+n+r[1]};case"bl":return{left:t.scrollLeft+r[0],top:t.scrollBottom+n+r[1]};case"br":return{left:t.scrollRight-o.width+r[0],top:t.scrollBottom+n+r[1]};case"left":return{left:t.scrollLeft-o.width-n+r[0],top:t.scrollTop+Math.round(t.height/2)-Math.round(o.height/2)+r[1]};case"lt":return{left:t.scrollLeft-o.width-n+r[0],top:t.scrollTop+r[1]};case"lb":return{left:t.scrollLeft-o.width-n+r[0],top:t.scrollBottom-o.height+r[1]};case"right":return{left:t.scrollRight+n+r[0],top:t.scrollTop+Math.round(t.height/2)-Math.round(o.height/2)+r[1]};case"rt":return{left:t.scrollRight+n+r[0],top:t.scrollTop+r[1]};case"rb":return{left:t.scrollRight+n+r[0],top:t.scrollBottom-o.height+r[1]};default:return{left:0,top:0}}},ct=e=>{let t="0";["top","bottom"].includes(e)?t="50%":["left","lt","lb","tr","br"].includes(e)&&(t="100%");let o="0";return["left","right"].includes(e)?o="50%":["top","tl","tr","lb","rb"].includes(e)&&(o="100%"),`${t} ${o}`},dt=e=>e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth,pt=e=>{var t;const o=[];let n=e;for(;n&&n!==document.documentElement;)dt(n)&&o.push(n),n=null!=(t=n.parentElement)?t:void 0;return o},ft=()=>{const e={},t=n(),o=()=>{const o=f(e.value);o!==t.value&&(t.value=o)};return d((()=>o())),p((()=>o())),{children:e,firstElement:t}};var vt=v({name:"ResizeObserver",props:{watchOnUpdated:Boolean},emits:["resize"],setup(e,{emit:t,slots:o}){const{children:n,firstElement:a}=ft();let i;const r=()=>{i&&(i.disconnect(),i=null)};return s(a,(e=>{i&&r(),e&&(e=>{e&&(i=new et((e=>{const o=e[0];t("resize",o)})),i.observe(e))})(e)})),m((()=>{i&&r()})),()=>{var e;return n.value=null==(e=o.default)?void 0:e.call(o),n.value}}});const mt=Symbol("ArcoTrigger");var ht=v({name:"ClientOnly",setup(e,{slots:t}){const o=n(!1);return d((()=>o.value=!0)),()=>{var e;return o.value?null==(e=t.default)?void 0:e.call(t):null}}});const gt=["onClick","onMouseenter","onMouseleave","onFocusin","onFocusout","onContextmenu"];var bt=v({name:"Trigger",inheritAttrs:!1,props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},trigger:{type:[String,Array],default:"hover"},position:{type:String,default:"bottom"},disabled:{type:Boolean,default:!1},popupOffset:{type:Number,default:0},popupTranslate:{type:[Array,Object]},showArrow:{type:Boolean,default:!1},alignPoint:{type:Boolean,default:!1},popupHoverStay:{type:Boolean,default:!0},blurToClose:{type:Boolean,default:!0},clickToClose:{type:Boolean,default:!0},clickOutsideToClose:{type:Boolean,default:!0},unmountOnClose:{type:Boolean,default:!0},contentClass:{type:[String,Array,Object]},contentStyle:{type:Object},arrowClass:{type:[String,Array,Object]},arrowStyle:{type:Object},popupStyle:{type:Object},animationName:{type:String,default:"fade-in"},duration:{type:[Number,Object]},mouseEnterDelay:{type:Number,default:100},mouseLeaveDelay:{type:Number,default:100},focusDelay:{type:Number,default:0},autoFitPopupWidth:{type:Boolean,default:!1},autoFitPopupMinWidth:{type:Boolean,default:!1},autoFixPosition:{type:Boolean,default:!0},popupContainer:{type:[String,Object]},updateAtScroll:{type:Boolean,default:!1},autoFitTransformOrigin:{type:Boolean,default:!1},hideEmpty:{type:Boolean,default:!1},openedClass:{type:[String,Array,Object]},autoFitPosition:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},preventFocus:{type:Boolean,default:!1},scrollToClose:{type:Boolean,default:!1},scrollToCloseDistance:{type:Number,default:0}},emits:{"update:popupVisible":e=>!0,popupVisibleChange:e=>!0,show:()=>!0,hide:()=>!0,resize:()=>!0},setup(a,{emit:l,slots:u,attrs:c}){const{popupContainer:f}=r(a),v=b("trigger"),F=t((()=>((e,t)=>{const o={...e};for(const n of t)n in o&&delete o[n];return o}
1)(c,gt))),B=e(i,void 0),T=t((()=>[].concat(a.trigger))),$=new Set,R=e(mt,void 0),{children:I,firstElement:D}=ft(),N=n(),W=n(a.defaultPopupVisible),V=n(a.position),q=n({}),H=n({}),J=n({}),Z=n(),Y=n({top:0,left:0});let G=null,U=null;const K=t((()=>{var e;return null!=(e=a.popupVisible)?e:W.value})),{teleportContainer:X,containerRef:Q}=(({popupContainer:e,visible:t,defaultContainer:o="body",documentContainer:a})=>{const i=n(e.value),r=n(),l=()=>{const t=g(e.value),n=t?e.value:o,a=null!=t?t:document.documentElement;n!==i.value&&(i.value=n),a!==r.value&&(r.value=a)};return d((()=>l())),s(t,(t=>{i.value!==e.value&&t&&l()})),{teleportContainer:i,containerRef:r}})({popupContainer:f,visible:K,documentContainer:!0}),{zIndex:ee}=y("popup",{visible:K});let te=0,oe=!1,ne=!1;const ae=e=>{if(a.alignPoint){const{pageX:t,pageY:o}=e;Y.value={top:o,left:t}}},ie=()=>{if(!D.value||!N.value||!Q.value)return;const e=Q.value.getBoundingClientRect(),t=a.alignPoint?{top:Y.value.top,bottom:Y.value.top,left:Y.value.left,right:Y.value.left,scrollTop:Y.value.top,scrollBottom:Y.value.top,scrollLeft:Y.value.left,scrollRight:Y.value.left,width:0,height:0}:rt(D.value,e),o=()=>rt(N.value,e),n=o(),{style:i,position:r}=((e,t,o,n,{offset:a=0,translate:i=[0,0],customStyle:r={},autoFitPosition:l=!1}={})=>{let s=e,u=ut(e,o,n,{offset:a,translate:i});if(l){const r=st(e,u,{containerRect:t,popupRect:n,triggerRect:o,offset:a,translate:i});u=r.popupPosition,s=r.position}return{style:{left:`${u.left}px`,top:`${u.top}px`,...r},position:s}})(a.position,e,t,n,{offset:a.popupOffset,translate:a.popupTranslate,customStyle:a.popupStyle,autoFitPosition:a.autoFitPosition});a.autoFitTransformOrigin&&(H.value={transformOrigin:ct(r)}),a.autoFitPopupMinWidth?i.minWidth=`${t.width}px`:a.autoFitPopupWidth&&(i.width=`${t.width}px`),V.value!==r&&(V.value=r),q.value=i,a.showArrow&&O((()=>{J.value=((e,t,o,{customStyle:n={}})=>{if(["top","tl","tr","bottom","bl","br"].includes(e)){let a=Math.abs(t.scrollLeft+t.width/2-o.scrollLeft);return a>o.width-8&&(a=t.width>o.width?o.width/2:o.width-8),["top","tl","tr"].includes(e)?{left:`${a}px`,bottom:"0",transform:"translate(-50%,50%) rotate(45deg)",...n}:{left:`${a}px`,top:"0",transform:"translate(-50%,-50%) rotate(45deg)",...n}}let a=Math.abs(t.scrollTop+t.height/2-o.scrollTop);return a>o.height-8&&(a=t.height>o.height?o.height/2:o.height-8),["left","lt","lb"].includes(e)?{top:`${a}px`,right:"0",transform:"translate(50%,-50%) rotate(45deg)",...n}:{top:`${a}px`,left:"0",transform:"translate(-50%,-50%) rotate(45deg)",...n}})(r,t,o(),{customStyle:a.arrowStyle})}))},re=(e,t)=>{if(e===K.value&&0===te)return;const o=()=>{W.value=e,l("update:popupVisible",e),l("popupVisibleChange",e),e&&O((()=>{ie()}))};e||(G=null,U=null),t?(te&&(window.clearTimeout(te),te=0),e!==K.value&&(te=window.setTimeout(o,t))):o()},le=e=>{var t;null==(t=c.onClick)||t.call(c,e),a.disabled||K.value&&!a.clickToClose||(T.value.includes("click")?(ae(e),re(!K.value)):T.value.includes("contextMenu")&&K.value&&re(!1))},se=e=>{var t;null==(t=c.onMouseenter)||t.call(c,e),!a.disabled&&T.value.includes("hover")&&(ae(e),re(!0,a.mouseEnterDelay))},ue=e=>{null==R||R.onMouseenter(e),se(e)},ce=e=>{var t;null==(t=c.onMouseleave)||t.call(c,e),!a.disabled&&T.value.includes("hover")&&re(!1,a.mouseLeaveDelay)},de=e=>{null==R||R.onMouseleave(e),ce(e)},pe=e=>{var t;null==(t=c.onFocusin)||t.call(c,e),!a.disabled&&T.value.includes("focus")&&re(!0,a.focusDelay)},fe=e=>{var t;null==(t=c.onFocusout)||t.call(c,e),!a.disabled&&T.value.includes("focus")&&a.blurToClose&&re(!1)},ve=e=>{var t;null==(t=c.onContextmenu)||t.call(c,e),a.disabled||!T.value.includes("contextMenu")||K.value&&!a.clickToClose||(ae(e),re(!K.value),e.preventDefault())};w(mt,o({onMouseenter:ue,onMouseleave:de,addChildRef:e=>{$.add(e),null==R||R.addChildRef(e)},removeChildRef:e=>{$.delete(e),null==R||R.removeChildRef(e)}}));const me=()=>{E(document.documentElement,"mousedown",be),oe=!1},he=function(e,t){const o=n(e[t]);return p((()=>{const n=e[t];o.value!==n&&(o.value=n)})),o}(u,"content"),ge=t((()=>{var e;return a.hideEmpty&&k(null==(e=he.value)?void 0:e.call(he))})),be=e=>{var t,o,n;if(!(null==(t=D.value)?void 0:t.contains(e.target))&&!(null==(o=N.value)?void 0:o.contains(e.target))){for(const t of $)if(null==(n=t.value)?void 0:n.contains(e.target))return;
1me(),re(!1)}},ye=(e,t)=>{const[o,n]=e,{scrollTop:i,scrollLeft:r}=t;return Math.abs(i-o)>=a.scrollToCloseDistance||Math.abs(r-n)>=a.scrollToCloseDistance},we=at((e=>{if(K.value)if(a.scrollToClose||(null==B?void 0:B.scrollToClose)){const t=e.target;G||(G=[t.scrollTop,t.scrollLeft]),ye(G,t)?re(!1):ie()}else ie()})),ke=()=>{E(window,"scroll",xe),ne=!1},xe=at((e=>{const t=e.target.documentElement;U||(U=[t.scrollTop,t.scrollLeft]),ye(U,t)&&(re(!1),ke())})),Ce=()=>{K.value&&ie()},Se=()=>{Ce(),l("resize")},_e=e=>{a.preventFocus&&e.preventDefault()};null==R||R.addChildRef(N);const Pe=t((()=>K.value?a.openedClass:void 0));let je;s(K,(e=>{if(a.clickOutsideToClose&&(!e&&oe?me():e&&!oe&&(x(document.documentElement,"mousedown",be),oe=!0)),(a.scrollToClose||(null==B?void 0:B.scrollToClose))&&(x(window,"scroll",xe),ne=!0),a.updateAtScroll||(null==B?void 0:B.updateAtScroll))if(e){je=pt(D.value);for(const e of je)e.addEventListener("scroll",we)}else if(je){for(const e of je)e.removeEventListener("scroll",we);je=void 0}e&&(Le.value=!0)})),s((()=>[a.autoFitPopupWidth,a.autoFitPopupMinWidth]),(()=>{K.value&&ie()}));const{createResizeObserver:Ae,destroyResizeObserver:ze}=(({elementRef:e,onResize:t})=>{let o;return{createResizeObserver:()=>{e.value&&(o=new et((e=>{const o=e[0];h(t)&&t(o)})),o.observe(e.value))},destroyResizeObserver:()=>{o&&(o.disconnect(),o=null)}}})({elementRef:Q,onResize:Ce});d((()=>{if(Ae(),K.value&&(ie(),a.clickOutsideToClose&&!oe&&(x(document.documentElement,"mousedown",be),oe=!0),a.updateAtScroll||(null==B?void 0:B.updateAtScroll))){je=pt(D.value);for(const e of je)e.addEventListener("scroll",we)}})),p((()=>{K.value&&ie()})),C((()=>{re(!1)})),m((()=>{if(null==R||R.removeChildRef(N),ze(),oe&&me(),ne&&ke(),je){for(const e of je)e.removeEventListener("scroll",we);je=void 0}}));const Le=n(K.value),Me=n(!1),Oe=()=>{Me.value=!0},Ee=()=>{Me.value=!1,K.value&&l("show")},Fe=()=>{Me.value=!1,K.value||(Le.value=!1,l("hide"))};return()=>{var e,t;return I.value=null!=(t=null==(e=u.default)?void 0:e.call(u))?t:[],S(I.value,{class:Pe.value,onClick:le,onMouseenter:se,onMouseleave:ce,onFocusin:pe,onFocusout:fe,onContextmenu:ve}),_(M,null,[a.autoFixPosition?_(vt,{onResize:Se},{default:()=>[I.value]}):I.value,_(ht,null,{default:()=>[_(P,{to:X.value,disabled:!a.renderToBody},{default:()=>[(!a.unmountOnClose||K.value||Le.value)&&!ge.value&&_(vt,{onResize:Ce},{default:()=>[_("div",j({ref:N,class:[`${v}-popup`,`${v}-position-${V.value}`],style:{...q.value,zIndex:ee.value,pointerEvents:Me.value?"none":"auto"},"trigger-placement":V.value,onMouseenter:ue,onMouseleave:de,onMousedown:_e},F.value),[_(A,{name:a.animationName,duration:a.duration,appear:!0,onBeforeEnter:Oe,onAfterEnter:Ee,onBeforeLeave:Oe,onAfterLeave:Fe},{default:()=>{var e;return[z(_("div",{class:`${v}-popup-wrapper`,style:H.value},[_("div",{class:[`${v}-content`,a.contentClass],style:a.contentStyle},[null==(e=u.content)?void 0:e.call(u)]),a.showArrow&&_("div",{ref:Z,class:[`${v}-arrow`,a.arrowClass],style:J.value},null)]),[[L,K.value]])]}})])]})]})]})])}}});const yt=Object.assign(bt,{install:(e,t)=>{F(e,t);const o=B(t);e.component(o+bt.name,bt)}}),wt="Escape",kt=" ",xt="ArrowUp",Ct="ArrowDown",St="ArrowLeft",_t="ArrowRight",Pt=v({name:"IconRight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-right`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),jt=["stroke-width","stroke-linecap","stroke-linejoin"];var At=T(Pt,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"m16 39.513 15.556-15.557L16 8.4"},null,-1)]),14,jt)}]]);
1const zt=Object.assign(At,{install:(e,t)=>{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+At.name,At)}}),Lt=v({name:"IconLeft",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-left`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),Mt=["stroke-width","stroke-linecap","stroke-linejoin"];var Ot=T(Lt,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"M32 8.4 16.444 23.956 32 39.513"},null,-1)]),14,Mt)}]]);const Et=Object.assign(Ot,{install:(e,t)=>{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+Ot.name,Ot)}});var Ft=v({name:"RenderFunction",props:{renderFunc:{type:Function,required:!0}},render(){return this.renderFunc(this.$attrs)}});var Bt=T(v({name:"Tooltip",components:{Trigger:yt},props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},content:String,position:{type:String,default:"top"},mini:{type:Boolean,default:!1},backgroundColor:{type:String},contentClass:{type:[String,Array,Object]},contentStyle:{type:Object},arrowClass:{type:[String,Array,Object]},arrowStyle:{type:Object},popupContainer:{type:[String,Object]}},emits:{"update:popupVisible":e=>!0,popupVisibleChange:e=>!0},setup(e,{emit:o}){const a=b("tooltip"),i=n(e.defaultPopupVisible),r=t((()=>{var t;return null!=(t=e.popupVisible)?t:i.value})),l=t((()=>[`${a}-content`,e.contentClass,{[`${a}-mini`]:e.mini}])),s=t((()=>{if(e.backgroundColor||e.contentStyle)return{backgroundColor:e.backgroundColor,...e.contentStyle}})),u=t((()=>[`${a}-popup-arrow`,e.arrowClass])),c=t((()=>{if(e.backgroundColor||e.arrowStyle)return{backgroundColor:e.backgroundColor,...e.arrowStyle}}));return{prefixCls:a,computedPopupVisible:r,contentCls:l,computedContentStyle:s,arrowCls:u,computedArrowStyle:c,handlePopupVisibleChange:e=>{i.value=e,o("update:popupVisible",e),o("popupVisibleChange",e)}}}}),[["render",function(e,t,o,n,a,i){const r=V("Trigger");return R(),q(r,{class:N(e.prefixCls),trigger:"hover",position:e.position,"popup-visible":e.computedPopupVisible,"popup-offset":10,"show-arrow":"","content-class":e.contentCls,"content-style":e.computedContentStyle,"arrow-class":e.arrowCls,"arrow-style":e.computedArrowStyle,"popup-container":e.popupContainer,"animation-name":"zoom-in-fade-out","auto-fit-transform-origin":"",role:"tooltip",onPopupVisibleChange:e.handlePopupVisibleChange},{content:H((()=>[J(e.$slots,"content",{},(()=>[Z(Y(e.content),1)]))])),default:H((()=>[J(e.$slots,"default")])),_:3},8,["class","position","popup-visible","content-class","content-style","arrow-class","arrow-style","popup-container","onPopupVisibleChange"])}]]);const Tt=Object.assign(Bt,{install:(e,t)=>{F(e,t);const o=B(t);e.component(o+Bt.name,Bt)}});var $t=T(v({name:"ImagePreviewArrow",components:{IconLeft:Et,IconRight:zt},props:{onPrev:{type:Function},onNext:{type:Function}},setup:()=>({prefixCls:b("image-preview-arrow")})}),[["render",function(e,t,o,n,a,i){const r=V("icon-left"),l=V("icon-right");return R(),$("div",{class:N(e.prefixCls)},[I("div",{class:N([`${e.prefixCls}-left`,{[`${e.prefixCls}-disabled`]:!e.onPrev}]),onClick:t[0]||(t[0]=t=>{t.preventDefault(),e.onPrev&&e.onPrev()})},[_(r)],2),I("div",{class:N([`${e.prefixCls}-right`,{[`${e.prefixCls}-disabled`]:!e.onNext}]),onClick:t[1]||(t[1]=t=>{t.preventDefault(),e.onNext&&e.onNext()})}
1,[_(l)],2)],2)}]]);var Rt=v({name:"ImagePreviewAction",components:{Tooltip:Tt},inheritAttrs:!1,props:{name:{type:String},disabled:{type:Boolean}},setup(e,{slots:t,attrs:o}){const n=b("image-preview-toolbar-action");return()=>{var a;const{name:i,disabled:r}=e,l=null==(a=t.default)?void 0:a.call(t);if(!l||!l.length)return null;const s=_("div",j({class:[`${n}`,{[`${n}-disabled`]:r}],onMousedown:e=>{e.preventDefault()}},o),[_("span",{class:`${n}-content`},[l])]);return i?_(Tt,{class:`${n}-tooltip`,content:i},"function"==typeof(u=s)||"[object Object]"===Object.prototype.toString.call(u)&&!G(u)?s:{default:()=>[s]}):s;var u}}});var It=T(v({name:"ImagePreviewToolbar",components:{RenderFunction:Ft,PreviewAction:Rt},props:{actions:{type:Array,default:()=>[]},actionsLayout:{type:Array,default:()=>[]}},setup(e){const{actions:o,actionsLayout:n}=r(e);return{prefixCls:b("image-preview-toolbar"),resultActions:t((()=>{const e=new Set(n.value);return o.value.filter((t=>e.has(t.key))).sort(((e,t)=>n.value.indexOf(e.key)>n.value.indexOf(t.key)?1:-1))}))}}}),[["render",function(e,t,o,n,a,i){const r=V("RenderFunction"),l=V("PreviewAction");return R(),$("div",{class:N(e.prefixCls)},[(R(!0),$(M,null,U(e.resultActions,(e=>(R(),q(l,{key:e.key,name:e.name,disabled:e.disabled,onClick:e.onClick},{default:H((()=>[_(r,{"render-func":e.content},null,8,["render-func"])])),_:2},1032,["name","disabled","onClick"])))),128)),J(e.$slots,"default")],2)}]]);function Dt(e){const{wrapperEl:t,imageEl:o,scale:a}=r(e),i=n([0,0]),l=n(!1);let u=0,c=0,d=[0,0];const p=()=>{if(!t.value||!o.value)return;const e=t.value.getBoundingClientRect(),n=o.value.getBoundingClientRect(),[r,l]=function(e,t,o,n,a){let i=o,r=n;return o&&(e.width>t.width?i=0:(t.left>e.left&&(i-=Math.abs(e.left-t.left)/a),t.right<e.right&&(i+=Math.abs(e.right-t.right)/a))),n&&(e.height>t.height?r=0:(t.top>e.top&&(r-=Math.abs(e.top-t.top)/a),t.bottom<e.bottom&&(r+=Math.abs(e.bottom-t.bottom)/a))),[i,r]}(e,n,i.value[0],i.value[1],a.value);r===i.value[0]&&l===i.value[1]||(i.value=[r,l])},f=e=>{e.preventDefault&&e.preventDefault();const t=d[0]+(e.pageX-u)/a.value,o=d[1]+(e.pageY-c)/a.value;i.value=[t,o]},v=e=>{e.preventDefault&&e.preventDefault(),l.value=!1,p(),h()},m=e=>{e.target===e.currentTarget&&(e.preventDefault&&e.preventDefault(),l.value=!0,u=e.pageX,c=e.pageY,d=[...i.value],x(window,"mousemove",f,!1),x(window,"mouseup",v,!1))};function h(){E(window,"mousemove",f,!1),E(window,"mouseup",v,!1)}return K((e=>{o.value&&x(o.value,"mousedown",m),e((()=>{o.value&&E(o.value,"mousedown",m),h()}))})),s([a],(()=>{O((()=>p()))})),{translate:i,moving:l,resetTranslate(){i.value=[0,0]}}}const Nt=v({name:"IconZoomOut",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-zoom-out`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),Wt=["stroke-width","stroke-linecap","stroke-linejoin"];var Vt=T(Nt,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15"},null,-1)]),14,Wt)}]]);const qt=Object.assign(Vt,{install:(e,t)=>{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+Vt.name,Vt)}}),Ht=v({name:"IconZoomIn",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-zoom-in`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),Jt=["stroke-width","stroke-linecap","stroke-linejoin"];var Zt=T(Ht,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15"},null,-1)]),14,Jt)}]]);const Yt=Object.assign(Zt,{install:(e,t)=>
1{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+Zt.name,Zt)}}),Gt=v({name:"IconFullscreen",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-fullscreen`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),Ut=["stroke-width","stroke-linecap","stroke-linejoin"];var Kt=T(Gt,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8"},null,-1)]),14,Ut)}]]);const Xt=Object.assign(Kt,{install:(e,t)=>{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+Kt.name,Kt)}}),Qt=v({name:"IconRotateLeft",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-rotate-left`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),eo=["stroke-width","stroke-linecap","stroke-linejoin"];var to=T(Qt,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z"},null,-1)]),14,eo)}]]);const oo=Object.assign(to,{install:(e,t)=>{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+to.name,to)}}),no=v({name:"IconRotateRight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-rotate-right`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),ao=["stroke-width","stroke-linecap","stroke-linejoin"];var io=T(no,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z"},null,-1)]),14,ao)}]]);const ro=Object.assign(io,{install:(e,t)=>{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+io.name,io)}}),lo=v({name:"IconOriginalSize",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:o}){const n=b("icon");return{cls:t((()=>[n,`${n}-original-size`,{[`${n}-spin`]:e.spin}])),innerStyle:t((()=>{const t={};return e.size&&(t.fontSize=W(e.size)?`${e.size}px`:e.size),e.rotate&&(t.transform=`rotate(${e.rotate}deg)`),t})),onClick:e=>{o("click",e)}}}}),so=["stroke-width","stroke-linecap","stroke-linejoin"];var uo=T(lo,[["render",function(e,t,o,n,a,i){return R(),$("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:N(e.cls),style:D(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},t[1]||(t[1]=[I("path",{d:"m5.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32"},null,-1),I("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",fill:"currentColor",stroke:"none"},null,-1),I("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z"},null,-1)]),14,so)}]]);const co=Object.assign(uo,{install:(e,t)=>
1{var o;const n=null!=(o=null==t?void 0:t.iconPrefix)?o:"";e.component(n+uo.name,uo)}});function po(e){const{container:t,hidden:o}=r(e);let n=!1,a={};const i=()=>{if(t.value&&"hidden"!==t.value.style.overflow){const o=t.value.style;n=!0;const i="BODY"===(e=t.value).tagName?window.innerWidth-(document.body.clientWidth||document.documentElement.clientWidth):e.offsetWidth-e.clientWidth;i&&(a.width=o.width,t.value.style.width=`calc(${t.value.style.width||"100%"} - ${i}px)`),a.overflow=o.overflow,t.value.style.overflow="hidden"}var e},l=()=>{if(t.value&&n){const e=a;Object.keys(e).forEach((o=>{t.value.style[o]=e[o]}))}n=!1,a={}};return K((e=>{o.value?i():l(),e((()=>{l()}))})),[l,i]}const fo=[25,33,50,67,75,80,90,100,110,125,150,175,200,250,300,400,500].map((e=>+(e/100).toFixed(2))),vo=fo[0],mo=fo[fo.length-1];function ho(e=1,t="zoomIn"){let o=fo.indexOf(e);return-1===o&&(o=function(e){let t=fo.length-1;for(let o=0;o<fo.length;o++){const n=fo[o];if(e===n){t=o;break}if(e<n){const a=fo[o-1];t=void 0===a||Math.abs(a-e)<=Math.abs(n-e)?o-1:o;break}}return t}(e)),"zoomIn"===t?o===fo.length-1?e:fo[o+1]:0===o?e:fo[o-1]}var go=v({name:"ImagePreview",components:{PreviewArrow:$t,PreviewToolbar:It,IconLoading:ee,IconClose:Q},props:{renderToBody:{type:Boolean,default:!0},src:{type:String},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},actionsLayout:{type:Array,default:()=>["fullScreen","rotateRight","rotateLeft","zoomIn","zoomOut","originalSize"]},popupContainer:{type:[Object,String]},inGroup:{type:Boolean,default:!1},groupArrowProps:{type:Object,default:()=>({})},escToClose:{type:Boolean,default:!0},wheelZoom:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},defaultScale:{type:Number,default:1},zoomRate:{type:Number,default:1.1}},emits:["close","update:visible"],setup(l,{emit:u}){const{t:c}=(()=>{const o=e(i,void 0),n=t((()=>{var e;return null!=(e=null==o?void 0:o.locale)?e:Oe[Me.value]})),r=t((()=>n.value.locale));return{i18nMessage:n,locale:r,t:(e,...t)=>{const o=e.split(".");let i=n.value;for(const n of o){if(!i[n])return e;i=i[n]}return a(i)&&t.length>0?i.replace(/{(\d+)}/g,((e,o)=>{var n;return null!=(n=t[o])?n:e})):i}}})(),{src:d,popupContainer:p,visible:f,defaultVisible:v,maskClosable:h,actionsLayout:g,defaultScale:w,zoomRate:k}=r(l),C=n(),S=n(),_=b("image-preview"),[P,j]=it(v.value,o({value:f})),A=t((()=>[_,{[`${_}-hide`]:!P.value}])),z=function(e,o){const{popupContainer:n}=r(o);return t((()=>(a(n.value)?X(n.value):n.value)||e))}(document.body,o({popupContainer:p})),L=t((()=>z.value===document.body)),{zIndex:M}=y("dialog",{visible:P}),F=t((()=>({...L.value?{zIndex:M.value,position:"fixed"}:{zIndex:"inherit",position:"absolute"}}))),{isLoading:B,isLoaded:T,setLoadStatus:$}=function(){const e=n("beforeLoad"),o=t((()=>"beforeLoad"===e.value)),a=t((()=>"loading"===e.value)),i=t((()=>"error"===e.value)),r=t((()=>"loaded"===e.value));return{status:e,isBeforeLoad:o,isLoading:a,isError:i,isLoaded:r,setLoadStatus:t=>{e.value=t}}}(),R=n(0),I=n(w.value),{translate:D,moving:N,resetTranslate:W}=Dt(o({wrapperEl:C,imageEl:S,visible:P,scale:I})),V=n(!1);let q=null;po(o({container:z,hidden:P}));const H=e=>g.value.includes(e),J=e=>{switch(e.stopPropagation(),e.preventDefault(),e.key){case wt:l.escToClose&&U();break;case St:l.groupArrowProps.onPrev&&l.groupArrowProps.onPrev();break;case _t:l.groupArrowProps.onNext&&l.groupArrowProps.onNext();break;case xt:H("zoomIn")&&ee("zoomIn");break;case Ct:H("zoomOut")&&ee("zoomOut");break;case kt:H("originalSize")&&K(1)}},Z=at((e=>{if(e.preventDefault(),e.stopPropagation(),!l.wheelZoom)return;const t=(e.deltaY||e.deltaX)>0?"zoomOut":"zoomIn",o=function(e,t=1.1,o="zoomIn"){const n="zoomIn"===o?t:1/t,a=Number.parseFloat((e*n).toFixed(3));return Math.min(mo,Math.max(vo,a))}(I.value,k.value,t);K(o)}));let Y=!1;const G=()=>{Y&&(Y=!1,E(z.value,"keydown",J))};function U(){P.value&&(u("close"),u("update:visible",!1),j(!1))}function K(e){I.value!==e&&(I.value=e,!V.value&&(V.value=!0),q&&clearTimeout(q),q=setTimeout((()=>{V.value=!1}),1e3))}
1function Q(e){const t="clockwise"===e?(R.value+90)%360:0===R.value?270:R.value-90;R.value=t}function ee(e){K(ho(I.value,e))}return s([d,P],(()=>{P.value?(R.value=0,I.value=w.value,W(),$("loading"),O((()=>{var e;null==(e=null==C?void 0:C.value)||e.focus()})),l.keyboard&&!Y&&(Y=!0,x(z.value,"keydown",J))):G()})),m((()=>{G()})),{prefixCls:_,classNames:A,container:z,wrapperStyles:F,scale:I,translate:D,rotate:R,moving:N,mergedVisible:P,isLoading:B,isLoaded:T,scaleValueVisible:V,refWrapper:C,refImage:S,onWheel:Z,onMaskClick:function(e){var t;null==(t=null==C?void 0:C.value)||t.focus(),h.value&&e.target===e.currentTarget&&U()},onCloseClick:U,onImgLoad(){$("loaded")},onImgError(){$("error")},actions:t((()=>[{key:"fullScreen",name:c("imagePreview.fullScreen"),content:()=>te(Xt),onClick:()=>function(){const e=C.value.getBoundingClientRect(),t=S.value.getBoundingClientRect(),o=e.height/(t.height/I.value),n=e.width/(t.width/I.value);K(Math.max(o,n))}()},{key:"rotateRight",name:c("imagePreview.rotateRight"),content:()=>te(ro),onClick:()=>Q("clockwise")},{key:"rotateLeft",name:c("imagePreview.rotateLeft"),content:()=>te(oo),onClick:()=>Q("counterclockwise")},{key:"zoomIn",name:c("imagePreview.zoomIn"),content:()=>te(Yt),onClick:()=>ee("zoomIn"),disabled:I.value===mo},{key:"zoomOut",name:c("imagePreview.zoomOut"),content:()=>te(qt),onClick:()=>ee("zoomOut"),disabled:I.value===vo},{key:"originalSize",name:c("imagePreview.originalSize"),content:()=>te(co),onClick:()=>K(1)}]))}}});const bo=["src"];var yo=T(go,[["render",function(e,t,o,n,a,i){const r=V("IconLoading"),l=V("PreviewToolbar"),s=V("IconClose"),u=V("PreviewArrow");return R(),q(P,{to:e.container,disabled:!e.renderToBody},[I("div",{class:N(e.classNames),style:D(e.wrapperStyles)},[_(A,{name:"image-fade",onBeforeEnter:t[0]||(t[0]=e=>e.parentElement&&(e.parentElement.style.display="block")),onAfterLeave:t[1]||(t[1]=e=>e.parentElement&&(e.parentElement.style.display="")),persisted:""},{default:H((()=>[z(I("div",{class:N(`${e.prefixCls}-mask`)},null,2),[[L,e.mergedVisible]])])),_:1}),e.mergedVisible?(R(),$("div",{key:0,ref:"refWrapper",tabindex:"0",class:N(`${e.prefixCls}-wrapper`),onClick:t[6]||(t[6]=(...t)=>e.onMaskClick&&e.onMaskClick(...t)),onWheel:t[7]||(t[7]=ae(((...t)=>e.onWheel&&e.onWheel(...t)),["prevent","stop"]))},[oe(" img "),I("div",{class:N(`${e.prefixCls}-img-container`),style:D({transform:`scale(${e.scale}, ${e.scale})`}),onClick:t[4]||(t[4]=(...t)=>e.onMaskClick&&e.onMaskClick(...t))},[(R(),$("img",{ref:"refImage",key:e.src,src:e.src,class:N([`${e.prefixCls}-img`,{[`${e.prefixCls}-img-moving`]:e.moving}]),style:D({transform:`translate(${e.translate[0]}px, ${e.translate[1]}px) rotate(${e.rotate}deg)`}),onLoad:t[2]||(t[2]=(...t)=>e.onImgLoad&&e.onImgLoad(...t)),onError:t[3]||(t[3]=(...t)=>e.onImgError&&e.onImgError(...t))},null,46,bo))],6),oe(" loading "),e.isLoading?(R(),$("div",{key:0,class:N(`${e.prefixCls}-loading`)},[_(r)],2)):oe("v-if",!0),oe(" scale value "),_(A,{name:"image-fade"},{default:H((()=>[e.scaleValueVisible?(R(),$("div",{key:0,class:N(`${e.prefixCls}-scale-value`)},Y((100*e.scale).toFixed(0))+"% ",3)):oe("v-if",!0)])),_:1}),oe(" toolbar "),e.isLoaded&&e.actionsLayout.length?(R(),q(l,{key:1,actions:e.actions,"actions-layout":e.actionsLayout},{default:H((()=>[J(e.$slots,"actions")])),_:3},8,["actions","actions-layout"])):oe("v-if",!0),oe(" close btn "),e.closable?(R(),$("div",{key:2,class:N(`${e.prefixCls}-close-btn`),onClick:t[5]||(t[5]=(...t)=>e.onCloseClick&&e.onCloseClick(...t))},[_(s)],2)):oe("v-if",!0),oe(" group arrow "),e.inGroup?(R(),q(u,ne(j({key:3},e.groupArrowProps)),null,16)):oe("v-if",!0)],34)):oe("v-if",!0)],6)],8,["to","disabled"])}]]);const wo=()=>ie().$device,ko=[{label:"index.styles.cursive",value:"cursive",prompt:["cursiveing"],id:1},{label:"index.styles.gothic",value:"gothic",prompt:["Gothic"],id:2},{label:"index.styles.handwriting",value:"handwriting",prompt:["Handwriting","handwritten, light brush"],id:3},{label:"index.styles.sans-serif",value:"sans-serif",prompt:["Sans-serif","geometric sans-serif"],id:4},{label:"index.styles.serif",value:"serif",prompt:["Serif","modern serif"],id:5},{label:"index.styles.bold",value:"bold",prompt:["bold"],id:6},{label:"index.styles.brush",value:"brush",prompt:["ink brush fonts","brush script","brush"],id:7}
1,{label:"index.styles.rounded",value:"rounded",prompt:["Rounded Cute Style","Bubble Cute Style","Kawaii Style"],id:8},{label:"index.styles.thin",value:"thin",prompt:["thin style","slim sans-serif typeface","thin fountain pen cursive"],id:9}],xo=[{label:"index.complexity.minimalistic",value:"minimalistic",id:1,prompt:["ultra-minimal logo concept, monochrome palette, clean font","minimalist"]},{label:"index.complexity.moderate",value:"moderate",id:2,prompt:["moderate, focused on calligraphic style, artistic elegance","moderate complexity, balanced, some decorative detail","moderate"]},{label:"index.complexity.complex",value:"complex",id:3,prompt:["complex","complex but logical patterns"]}],Co=[{id:1,name:"index.colors.blue",value:"blue",bgClass:"linear-gradient(270deg, #0076E5 1%, #39CFF9 100%) bg-[linear-gradient(270deg,#0076E5_1%,#39CFF9_100%)]",description:"index.colorDesc.blue"},{id:2,name:"index.colors.purple",value:"purple",bgClass:"linear-gradient(270deg, #8245DE 0%, #D279FF 97%) bg-[linear-gradient(270deg,#8245DE_0%,#D279FF_97%)]",description:"index.colorDesc.purple"},{id:3,name:"index.colors.pink",value:"pink",bgClass:"linear-gradient(270deg, #EB2E63 0%, #FF79C9 99%) bg-[linear-gradient(270deg,#EB2E63_0%,#FF79C9_99%)]",description:"index.colorDesc.pink"},{id:4,name:"index.colors.yellow",value:"yellow",bgClass:"linear-gradient(270deg, #FFA319 0%, #F7D35D 100%) bg-[linear-gradient(270deg,#FFA319_0%,#F7D35D_100%)]",description:"index.colorDesc.yellow"},{id:5,name:"index.colors.orange",value:"orange",bgClass:"linear-gradient(270deg, #E85F28 0%, #FF8F26 100%) bg-[linear-gradient(270deg,#E85F28_0%,#FF8F26_100%)]",description:"index.colorDesc.orange"},{id:6,name:"index.colors.red",value:"red",bgClass:"linear-gradient(270deg, #D40505 0%, #FF5555 100%) bg-[linear-gradient(270deg,#D40505_0%,#FF5555_100%)]",description:"index.colorDesc.red"},{id:7,name:"index.colors.green",value:"green",bgClass:"bg-[linear-gradient(270deg,#89CD00_0%,#BEF05B_100%)]",description:"index.colorDesc.green"},{id:8,name:"index.colors.cyan",value:"cyan",bgClass:"bg-[linear-gradient(270deg,#00C5BF_1%,#36E4DE_100%)]",description:"index.colorDesc.cyan"},{id:9,name:"index.colors.gray",value:"gray",bgClass:"bg-[linear-gradient(270deg,#606060_0%,#A2A2A2_100%)]",description:"index.colorDesc.gray"}],So=["light background","white background","off-white","beige"],_o=["","Hand-Drawn","vintage/retro","geometric shapes"],Po=["","from top to bottom","icon on the left side","the brand name is embedded within and above the icon"],jo=[{label:"index.aiSuggestedPrompt.1",value:"A [object] with two parallel lines."},{label:"index.aiSuggestedPrompt.2",value:"A [object] inside a circle."},{label:"index.aiSuggestedPrompt.3",value:"Two [object] shapes side by side."},{label:"index.aiSuggestedPrompt.4",value:"A [object] overlapping a square."},{label:"index.aiSuggestedPrompt.5",value:"A [object] and a triangle below."},{label:"index.aiSuggestedPrompt.6",value:"A [object] centered above a line."},{label:"index.aiSuggestedPrompt.7",value:"A [object] with a dot on top."},{label:"index.aiSuggestedPrompt.8",value:"A [object] enclosed in a hexagon."},{label:"index.aiSuggestedPrompt.9",value:"A [object] and a star beside it."},{label:"index.aiSuggestedPrompt.10",value:"A [object] intersecting a [object]."},{label:"index.aiSuggestedPrompt.11",value:"A [object] with a small [object] attached."},{label:"index.aiSuggestedPrompt.12",value:"A [object] placed inside a bracket."},{label:"index.aiSuggestedPrompt.13",value:"A [object] and an arrow pointing right."},{label:"index.aiSuggestedPrompt.14",value:"A [object] framed by two curves."},{label:"index.aiSuggestedPrompt.15",value:"A [object] with a horizontal bar."},{label:"index.aiSuggestedPrompt.16",value:"A [object] and three dots below."},{label:"index.aiSuggestedPrompt.17",value:"A [object] inside a semicircle."},{label:"index.aiSuggestedPrompt.18",value:"A [object] touching a vertical line."},{label:"index.aiSuggestedPrompt.19",value:"A [object] and a thin underline."},{label:"index.aiSuggestedPrompt.20",value:"A [object] between two parallel lines."},{label:"index.aiSuggestedPrompt.21",value:"A [object] with a small [object] attached."},{label:"index.aiSuggestedPrompt.22",value:"A [object] inside a rounded frame."},{label:"index.aiSuggestedPrompt.23",value:"A [object] and a chevron below."},{label:"index.aiSuggestedPrompt.24",value:"A [object] overlapping a ring."},{label:"index.aiSuggestedPrompt.25",value:"A [object] with a diagonal line."},{label:"index.aiSuggestedPrompt.26",value:"A [object] and a tiny circle above."},{label:"index.aiSuggestedPrompt.27",value:"A [object] inside a shield shape."},{label:"index.aiSuggestedPrompt.28",value:"A [object] placed on a base line."},{label:"index.aiSuggestedPrompt.29",value:"A [object] and two triangles beside it."},{label:"index.aiSuggestedPrompt.30",value:"A [object] intersecting a circle."},{label:"index.aiSuggestedPrompt.31",value:"A [object] with a short line attached."},{label:"index.aiSuggestedPrompt.32",value:"A [object] inside a corner frame."},{label:"index.aiSuggestedPrompt.33",value:"A [object] and a cross 
1symbol."},{label:"index.aiSuggestedPrompt.34",value:"A [object] centered in a [object]."},{label:"index.aiSuggestedPrompt.35",value:"A [object] with a small arc below."},{label:"index.aiSuggestedPrompt.36",value:"A [object] and a vertical bar."},{label:"index.aiSuggestedPrompt.37",value:"A [object] inside a diamond."},{label:"index.aiSuggestedPrompt.38",value:"A [object] touching a horizontal line."},{label:"index.aiSuggestedPrompt.39",value:"A [object] and a plus sign."},{label:"index.aiSuggestedPrompt.40",value:"A [object] between two curves."},{label:"index.aiSuggestedPrompt.41",value:"A [object] with a tiny [object] above."},{label:"index.aiSuggestedPrompt.42",value:"A [object] inside a polygon."},{label:"index.aiSuggestedPrompt.43",value:"A [object] and a wave line below."},{label:"index.aiSuggestedPrompt.44",value:"A [object] overlapping a triangle."},{label:"index.aiSuggestedPrompt.45",value:"A [object] with a right angle line."},{label:"index.aiSuggestedPrompt.46",value:"A [object] and a small rectangle."},{label:"index.aiSuggestedPrompt.47",value:"A [object] inside a trapezoid."},{label:"index.aiSuggestedPrompt.48",value:"A [object] placed on a curve."},{label:"index.aiSuggestedPrompt.49",value:"A [object] and two parallel dots."},{label:"index.aiSuggestedPrompt.50",value:"A [object] intersecting a bar."}],Ao=["","Wordmark style ","Lettermark style ","Pictorial Mark style ","Abstract Mark style "],zo={class:"flex justify-between items-center lg:w-[934px]"},Lo={class:"flex-auto flex flex-col"},Mo={class:"flex justify-between text-[26px] font-[800] leading-[60px] text-[#41444A]"},Oo={class:"text-[#6B7280] text-[14px] font-normal leading-[28px]"},Eo={class:"flex items-center h-full mt-3 md:mt-0 flex-none"},Fo=v({__name:"StepSection",props:{title:{default:""},description:{default:""},showButton:{type:Boolean,default:!1},type:{default:"primary"},buttonLabel:{default:""},buttonIcon:{default:""},buttonIconPosition:{default:"left"},labelExtraClass:{default:""}},emits:["buttonClick"],setup:e=>(e,t)=>{const o=je;return R(),$("div",zo,[I("div",Lo,[I("div",Mo,[J(e.$slots,"title",{},(()=>[Z(Y(e.title),1)]))]),I("p",Oo,[J(e.$slots,"description",{},(()=>[Z(Y(e.description),1)]))])]),I("div",Eo,[J(e.$slots,"action",{},(()=>[e.showButton?(R(),q(o,{key:0,label:e.buttonLabel,icon:e.buttonIcon,iconPosition:e.buttonIconPosition,onClick:t[0]||(t[0]=t=>e.$emit("buttonClick")),class:"w-[140px] h-[60px]",type:e.type,labelExtraClass:e.labelExtraClass},null,8,["label","icon","iconPosition","type","labelExtraClass"])):oe("",!0)]))])])}}),Bo={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"};const To=Ae({},[["render",function(e,t){return R(),$("svg",Bo,t[0]||(t[0]=[I("defs",null,[I("clipPath",{id:"master_svg0_78_01579"},[I("rect",{x:"0",y:"0",width:"16",height:"16",rx:"0"})])],-1),I("g",{"clip-path":"url(#master_svg0_78_01579)"},[I("g",null,[I("g"),I("g",null,[I("path",{d:"M8.66667,9.333334123535156C8.66667,9.333334123535156,7.33333,9.333334123535156,7.33333,9.333334123535156C6.23973,9.332934123535157,5.1668199999999995,9.631394123535156,4.230589999999999,10.196594123535156C3.2943499999999997,10.761794123535156,2.530401,11.572134123535156,2.0213343,12.539964123535157C2.00702533,12.360364123535156,1.999908478,12.180164123535157,2.000000888412,11.999964123535156C2.000000888412,8.317994123535156,4.9846699999999995,5.333334123535156,8.66667,5.333334123535156C8.66667,5.333334123535156,8.66667,1.6666641235351562,8.66667,1.6666641235351562C8.66667,1.6666641235351562,15.6667,7.333334123535156,15.6667,7.333334123535156C15.6667,7.333334123535156,8.66667,12.999964123535156,8.66667,12.999964123535156C8.66667,12.999964123535156,8.66667,9.333334123535156,8.66667,9.333334123535156C8.66667,9.333334123535156,8.66667,9.333334123535156,8.66667,9.333334123535156ZM7.33333,7.999994123535156C7.33333,7.999994123535156,10,7.999994123535156,10,7.999994123535156C10,7.999994123535156,10,10.205334123535156,10,10.205334123535156C10,10.205334123535156,13.5473,7.333334123535156,13.5473,7.333334123535156C13.5473,7.333334123535156,10,4.461334123535156,10,4.461334123535156C10,4.461334123535156,10,6.666664123535156,10,6.666664123535156C10,6.666664123535156,8.66667,6.666664123535156,8.66667,6.666664123535156C7.90017,6.665804123535156,7.14253,6.830544123535156,6.44559,7.149614123535156C5.74866,7.468674123535156,5.1288800000000005,7.934544123535156,4.62867,8.515334123535157C5.4895499999999995,8.174144123535157,6.40731,7.999274123535156,7.33333,7.999994123535156C7.33333,7.999994123535156,7.33333,7.999994123535156,7.33333,7.999994123535156Z",fill:"currentColor","fill-opacity":"1"})])])],-1)]))}]]),$o=(e,t="image/png")=>{const o=atob(e.split(",")[1]),n=new ArrayBuffer(o.length),a=new Uint8Array(n);for(let i=0;i<o.length;
1i++)a[i]=o.charCodeAt(i);return new Blob([n],{type:t})},Ro=()=>({downloadImage:async(e,t="image.png")=>{if(e)try{if(/DingTalk/.test(navigator.userAgent)){const{default:t}=await re((async()=>{const{default:e}=await import("./DQF7iTUc.js").then((e=>e.i));return{default:e}}),[],import.meta.url);return void t.biz.util.openLink({url:e})}const o=await fetch(e);if(!o.ok)throw new Error("Download failed");const n=await o.blob(),a=URL.createObjectURL(n);{const e=document.createElement("a");e.href=a,e.download=t,document.body.appendChild(e),e.click(),document.body.removeChild(e)}URL.revokeObjectURL(a)}catch(o){throw o}}}),Io={"tinyfam/stable-diffusion-rf":{buildParams:(e,t)=>({content:e,width:t.size[0],height:t.size[1]}),apiJobFn:_e,apiImageFn:Se},"black-forest-labs/flux-kontext-pro":{buildParams:(e,t,o)=>({prompt:e,aspect_ratio:t.ratio,seed:o?.seed??void 0,input_image:o?.input_image??void 0}),apiJobFn:Ce,apiImageFn:de},"google/imagen-4":{buildParams:(e,t)=>({prompt:e,aspect_ratio:t.ratio}),apiJobFn:xe,apiImageFn:ue},"openai/dall-e-3":{buildParams:(e,t)=>({prompt:e,aspect_ratio:t.ratio}),apiJobFn:ke,apiImageFn:we},"ideogram-v3-turbo":{buildParams:(e,t)=>({prompt:e,aspect_ratio:t.ratio}),apiJobFn:ye,apiImageFn:be},"midjourney-allcraft":{buildParams:(e,t)=>({prompt:e,width:t.size[0],height:t.size[1]}),apiJobFn:ge,apiImageFn:he},"signature-model":{buildParams:(e,t,o)=>({description:e,text:o,aspect_ratio:t.ratio,style:"Bold"}),apiJobFn:me,apiImageFn:ve},"recraft-ai/recraft-v3":{buildParams:(e,t)=>({prompt:e,width:t.size[0],height:t.size[1]}),apiJobFn:fe,apiImageFn:le},"black-forest-labs/flux-kontext-pro-v2":{buildParams:(e,t)=>({prompt:e,aspect_ratio:t.ratio}),apiJobFn:pe,apiImageFn:de},"google/imagen-4-v2":{buildParams:(e,t)=>({prompt:e,aspect_ratio:t.ratio}),apiJobFn:ce,apiImageFn:ue},"recraft-ai/recraft-v3-v2":{buildParams:(e,t)=>({prompt:e,width:t.size[0],height:t.size[1]}),apiJobFn:se,apiImageFn:le}},Do={class:"container mx-auto py-14 md:py-28"},No={class:"grid grid-cols-1 md:grid-cols-4 md:gap-5 gap-10 px-[20px] md:px-0"},Wo={class:"absolute -top-6 left-1/2 transform -translate-x-1/2"},Vo={class:"text-[18px] font-[500] text-[#111827] mt-8 mb-5"},qo={class:"text-[#6B7280] font-normal leading-6"},Ho=v({__name:"WhoIsThisFor",props:{features:{}},setup:e=>(e,t)=>(R(),$("div",Do,[I("div",No,[(R(!0),$(M,null,U(e.features,((e,t)=>(R(),$("div",{key:t,class:N(["rounded-lg p-6 text-center relative",e.bg])},[I("div",Wo,[I("div",{class:N(["text-white p-3 rounded-[6px] shadow-[0px_10px_15px_-3px_rgba(0,0,0,0.1),0px_4px_6px_-2px_rgba(0,0,0,0.05)]",e.iconBg])},[(R(),q(Pe(e.icon),{class:"h-6 w-6"}))],2)]),I("h2",Vo,Y(e.title),1),I("p",qo,Y(e.description),1)],2)))),128))])]))});export{jo as A,So as B,xo as C,Ao as D,ko as F,yo as I,Po as L,Io as M,_o as S,Fo as _,Co as a,To as b,Ro as c,$o as d,Ho as e,wo as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.