BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5293"],{76072:function(t,e,r){r.d(e,{J:()=>a});let n=[],o=new WeakMap;function l(){n.forEach(t=>t(...o.get(t))),n=[]}function a(t,...e){o.set(t,e),n.includes(t)||1===n.push(t)&&requestAnimationFrame(l)}},74557:function(t,e,r){let n,o;r.d(e,{Z:()=>d});var l,a,i=r(58786);function d(t){if(o)return;let e=!1;(0,i.bv)(()=>{o||null==n||n.then(()=>{e||t()})}),(0,i.Jd)(()=>{e=!0})}n=r(86223).j?null==(a=null==(l=document)?void 0:l.fonts)?void 0:a.ready:void 0,o=!1,void 0!==n?n.then(()=>{o=!0}):o=!0},1257:function(t,e,r){r.d(e,{Z:()=>d});var n=r(58786),o=r(76072),l=r(82518),a=r(97355),i=r(22288);let d=(0,n.aZ)({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(t){var e;(0,n.JJ)("VBinder",null==(e=(0,n.FN)())?void 0:e.proxy);let r=(0,n.f3)("VBinder",null),a=(0,n.iH)(null),d=[],u=()=>{let t=a.value;for(;null!==(t=(0,i.rP)(t));)d.push(t);for(let t of d)(0,l.on)("scroll",t,p,!0)},f=()=>{for(let t of d)(0,l.S)("scroll",t,p,!0);d=[]},s=new Set,p=()=>{(0,o.J)(h)},h=()=>{s.forEach(t=>t())},c=new Set,m=()=>{c.forEach(t=>t())};return(0,n.Jd)(()=>{(0,l.S)("resize",window,m),f()}),{targetRef:a,setTargetRef:e=>{a.value=e,r&&t.syncTargetWithParent&&r.setTargetRef(e)},addScrollListener:t=>{0===s.size&&u(),s.has(t)||s.add(t)},removeScrollListener:t=>{s.has(t)&&s.delete(t),0===s.size&&f()},addResizeListener:t=>{0===c.size&&(0,l.on)("resize",window,m),c.has(t)||c.add(t)},removeResizeListener:t=>{c.has(t)&&c.delete(t),0===c.size&&(0,l.S)("resize",window,m)}}},render(){return(0,a.z9)("binder",this.$slots)}})},67553:function(t,e,r){r.d(e,{Z:()=>x});var n=r(58786),o=r(71465),l=r(61691),a=r(74557),i=r(23967),d=r(64148),u=r(77427),f=r(60794);let s={top:"bottom",bottom:"top",left:"right",right:"left"},p={start:"end",center:"center",end:"start"},h={top:"height",bottom:"height",left:"width",right:"width"},c={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},m={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},v={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},g={top:!0,bottom:!1,left:!0,right:!1},b={top:"end",bottom:"start",left:"end",right:"start"};var w=r(22288);let $=(0,u.c)([(0,u.c)(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),(0,u.c)(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[(0,u.c)("> *",{pointerEvents:"all"})])]),x=(0,n.aZ)({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(t){let e=(0,n.f3)("VBinder"),r=(0,l.Z)(()=>void 0!==t.enabled?t.enabled:t.show),o=(0,n.iH)(null),f=(0,n.iH)(null),x=()=>{let{syncTrigger:r}=t;r.includes("scroll")&&e.addScrollListener(Z),r.includes("resize")&&e.addResizeListener(Z)},y=()=>{e.removeScrollListener(Z),e.removeResizeListener(Z)};(0,n.bv)(()=>{r.value&&(Z(),x())});let M=(0,d.O)();$.mount({id:"vueuc/binder",head:!0,anchorMetaName:u.A,ssr:M}),(0,n.Jd)(()=>{y()}),(0,a.Z)(()=>{r.value&&Z()});let Z=()=>{if(!r.value)return;let n=o.value;if(null===n)return;let l=e.targetRef,{x:a,y:i,overlap:d}=t,u=void 0!==a&&void 0!==i?(0,w.Tt)(a,i):(0,w.Dz)(l);n.style.setProperty("--v-target-width",`${Math.round(u.width)}px`),n.style.setProperty("--v-target-height",`${Math.round(u.height)}px`);let{width:$,minWidth:x,placement:y,internalShift:M,flip:Z}=t;n.setAttribute("v-placement",y),d?n.setAttribute("v-overlap",""):n.removeAttribute("v-overlap");let{style:z}=n;"target"===$?z.width=`${u.width}px`:void 0!==$?z.width=$:z.width="","target"===x?z.minWidth=`${u.width}px`:void 0!==x?z.minWidth=x:z.minWidth="";let S=(0,w.Dz)(n),B=(0,w.Dz)(f.value),{left:T,top:Y,placement:E}=function(t,e,r,n,o,l){if(!o||l)return{placement:t,top:0,left:0};let[a,i]=t.split("-"),d=null!=i?i:"center",u={top:0,left:0},f=(t,o,l)=>{let a=0,i=0,d=r[t]-e[o]-e[t];return d>0&&n&&(l?i=g[o]?d:-d:a=g[o]?d:-d),{left:a,top:i}},c="left"===a||"right"===a;if("center"!==d){let n=v[t],o=s[n],l=h[n];if(r[l]>e[l]){if(e[n]+e[l]<r[l]){let t=(r[l]-e[l])/2;e[n]<t||e[o]<t?e[n]<e[o]?(d=p[i],u=f(l,o,c)):u=f(l,n,c):d="center"}}else r[l]<e[l]&&e[o]<0&&e[n]>e[o]&&(d=p[i])}else{let t="bottom"===a||"top"===a?"left":"top",n=s[t],o=h[t],l=(r[o]-e[o])/2;(e[t]<l||e[n]<l)&&(e[t]>e[n]?(d=b[t],u=f(o,t,c)):(d=b[n],u=f(o,n,c)))}let m=a;return e[a]<r[h[a]]&&e[a]<e[s[a]]&&(m=s[a]),{placement:"center"!==d?`${m}-${d}`:m,left:u.left,top:u.top}}(y,u,S,M,Z,d),P=d?m[E]:c[E],{left:R,top:X,transform:C}=function(t,e,r,n,o,l){if(l)switch(t){case"bottom-start":case"left-end":return{top:`${Math.round(r.top-e.top+r.height)}px`,left:`${Math.round(r.left-e.left)}px`,transform:"translateY(-100%)"};case"bottom-end":case"right-end":return{top:`${Math.round(r.top-e.top+r.height)}px`,left:`${Math.round(r.left-e.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":case"left-start":return{top:`${Math.round(r.top-e.top)}px`,left:`${Math.round(r.left-e.left)}px`,transform:""};case"top-end":case"right-start":return{top:`${Math.round(r.top-e.top)}px`,left:`${Math.round(r.left-e.left+r.width)}px`,transform:"translateX(-100%)"};case"top":return{top:`${Math.round(r.top-e.top)}px`,left:`${Math.round(r.left-e.left+r.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(r.top-e.top+r.height/2)}px`,left:`${Math.round(r.left-e.left+r.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(r.top-e.top+r.height/2)}px`,left:`${Math.round(r.left-e.left)}px`,transform:"translateY(-50%)"};default:return{top:`${Math.round(r.top-e.top+r.height)}px`,left:`${Math.round(r.left-e.left+r.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(t){case"bottom-start":return{top:`${Math.round(r.top-e.top+r.height+n)}px`,left:`${Math.round(r.left-e.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(r.top-e.top+r.height+n)}px`,left:`${Math.round(r.left-e.left+r.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(r.top-e.top+n)}px`,left:`${Math.round(r.left-e.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(r.top-e.top+n)}px`,left:`${Math.round(r.left-e.left+r.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(r.top-e.top+n)}px`,left:`${Math.round(r.left-e.left+r.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(r.top-e.top+r.height+n)}px`,left:`${Math.round(r.left-e.left+r.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-e.top+n)}px`,left:`${Math.round(r.left-e.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(r.top-e.top+r.height+n)}px`,left:`${Math.round(r.left-e.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(r.top-e.top+n)}px`,left:`${Math.round(r.left-e.left+r.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(r.top-e.top+r.height/2+n)}px`,left:`${Math.round(r.left-e.left+r.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(r.top-e.top+r.height/2+n)}px`,left:`${Math.round(r.left-e.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};default:return{top:`${Math.round(r.top-e.top+r.height+n)}px`,left:`${Math.round(r.left-e.left+r.width/2+o)}px`,transform:"translateX(-50%)"}}}(E,B,u,Y,T,d);n.setAttribute("v-placement",E),n.style.setProperty("--v-offset-left",`${Math.round(T)}px`),n.style.setProperty("--v-offset-top",`${Math.round(Y)}px`),n.style.transform=`translateX(${R}) translateY(${X}) ${C}`,n.style.setProperty("--v-transform-origin",P),n.style.transformOrigin=P};(0,n.YP)(r,t=>{t?(x(),z()):y()});let z=()=>{(0,n.Y3)().then(Z).catch(t=>console.error(t))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(e=>{(0,n.YP)((0,n.Vh)(t,e),Z)}),["teleportDisabled"].forEach(e=>{(0,n.YP)((0,n.Vh)(t,e),z)}),(0,n.YP)((0,n.Vh)(t,"syncTrigger"),t=>{t.includes("resize")?e.addResizeListener(Z):e.removeResizeListener(Z),t.includes("scroll")?e.addScrollListener(Z):e.removeScrollListener(Z)});let S=(0,i.Z)();return{VBinder:e,mergedEnabled:r,offsetContainerRef:f,followerRef:o,mergedTo:(0,l.Z)(()=>{let{to:e}=t;if(void 0!==e)return e;S.value}),syncPosition:Z}},render(){return(0,n.h)(f.Z,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var t,e;let r=(0,n.h)("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[(0,n.h)("div",{class:"v-binder-follower-content",ref:"followerRef"},null==(e=(t=this.$slots).default)?void 0:e.call(t))]);return this.zindexable?(0,n.wy)(r,[[o.Z,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}})},53242:function(t,e,r){r.d(e,{Z:()=>l});var n=r(58786),o=r(97355);let l=(0,n.aZ)({name:"Target",setup(){let{setTargetRef:t,syncTarget:e}=(0,n.f3)("VBinder");return{syncTarget:e,setTargetDirective:{mounted:t,updated:t}}},render(){let{syncTarget:t,setTargetDirective:e}=this;return t?(0,n.wy)((0,o.Nb)("follower",this.$slots),[[e]]):(0,o.Nb)("follower",this.$slots)}})},22288:function(t,e,r){r.d(e,{Dz:()=>a,Tt:()=>l,rP:()=>function t(e){if(null===e)return null;let r=9===e.nodeType?null:e.parentNode;if(null===r)return null;if(9===r.nodeType)return document;if(1===r.nodeType){let{overflow:t,overflowX:e,overflowY:n}=getComputedStyle(r);if(/(auto|scroll|overlay)/.test(t+n+e))return r}return t(r)}});let n=null;function o(){if(null===n&&null===(n=document.getElementById("v-binder-view-measurer"))){(n=document.createElement("div")).id="v-binder-view-measurer";let{style:t}=n;t.position="fixed",t.left="0",t.right="0",t.top="0",t.bottom="0",t.pointerEvents="none",t.visibility="hidden",document.body.appendChild(n)}return n.getBoundingClientRect()}function l(t,e){let r=o();return{top:e,left:t,height:0,width:0,right:r.width-t,bottom:r.height-e}}function a(t){let e=t.getBoundingClientRect(),r=o();return{left:e.left-r.left,top:e.top-r.top,bottom:r.height+r.top-e.bottom,right:r.width+r.left-e.right,width:e.width,height:e.height}}},77427:function(t,e,r){r.d(e,{A:()=>o,c:()=>n});let{c:n}=(0,r(80673).j)(),o="vueuc-style"},80954:function(t,e,r){r.d(e,{Z:()=>l});var n=r(34542),o=r(32452);let l=function(t,e){e=(0,n.Z)(e,t);for(var r=0,l=e.length;null!=t&&r<l;)t=t[(0,o.Z)(e[r++])];return r&&r==l?t:void 0}},34542:function(t,e,r){r.d(e,{Z:()=>h});var n,o,l=r(3073),a=r(90483),i=r(37408);function d(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],l=r.cache;if(l.has(o))return l.get(o);var a=t.apply(this,n);return r.cache=l.set(o,a)||l,a};return r.cache=new(d.Cache||i.Z),r}d.Cache=i.Z;var u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,s=(o=(n=d(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(u,function(t,r,n,o){e.push(n?o.replace(f,"$1"):r||t)}),e},function(t){return 500===o.size&&o.clear(),t})).cache,n),p=r(88521);let h=function(t,e){return(0,l.Z)(t)?t:(0,a.Z)(t,e)?[t]:s((0,p.Z)(t))}},90483:function(t,e,r){r.d(e,{Z:()=>i});var n=r(3073),o=r(56721),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let i=function(t,e){if((0,n.Z)(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||(0,o.Z)(t))||a.test(t)||!l.test(t)||null!=e&&t in Object(e)}},32452:function(t,e,r){r.d(e,{Z:()=>l});var n=r(56721),o=1/0;let l=function(t){if("string"==typeof t||(0,n.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},94904:function(t,e,r){r.d(e,{Z:()=>o});var n=r(80954);let o=function(t,e,r){var o=null==t?void 0:(0,n.Z)(t,e);return void 0===o?r:o}},5914:function(t,e,r){r.d(e,{G:()=>l,M:()=>o});var n=r(19050);let o=(0,n.U)("n-internal-select-menu"),l=(0,n.U)("n-internal-select-menu-body")},61730:function(t,e,r){r.d(e,{n:()=>s});var n=r(82518),o=r(61691),l=r(58786),a=r(5914),i=r(83549),d=r(62383),u=r(8608);let f="__disabled__";function s(t){let e=(0,l.f3)(d.ZJ,null),r=(0,l.f3)(i.H,null),s=(0,l.f3)(u.c,null),p=(0,l.f3)(a.G,null),h=(0,l.iH)();if("undefined"!=typeof document){h.value=document.fullscreenElement;let t=()=>{h.value=document.fullscreenElement};(0,l.bv)(()=>{(0,n.on)("fullscreenchange",document,t)}),(0,l.Jd)(()=>{(0,n.S)("fullscreenchange",document,t)})}return(0,o.Z)(()=>{var n;let{to:o}=t;return void 0!==o?!1===o?f:!0===o?h.value||"body":o:(null==e?void 0:e.value)?null!=(n=e.value.$el)?n:e.value:(null==r?void 0:r.value)?r.value:(null==s?void 0:s.value)?s.value:(null==p?void 0:p.value)?p.value:null!=o?o:h.value||"body"})}s.tdkey=f,s.propTo={type:[String,Object,Boolean],default:void 0}}}]);