mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
2 lines
27 KiB
JavaScript
2 lines
27 KiB
JavaScript
"use strict";(self["webpackChunkjandl"]=self["webpackChunkjandl"]||[]).push([[8613],{652:function(e,t,n){n.d(t,{V:function(){return y}});var o=n(3396),a=n(3289),l=n(8694),r=n(5221),i=n(4960),s=n(9694),c=n(4231),u=n(9374),v=n(1138),d=n(3766),f=n(320),m=n(9888);const p=(0,d.U)({start:Boolean,end:Boolean,icon:i.lE,image:String,...(0,s.f)(),...(0,c.I)(),...(0,u.Z)(),...(0,v.Q)(),...(0,r.bk)({variant:"flat"})},"v-avatar"),y=(0,f.a)({name:"VAvatar",props:p(),setup(e,t){let{slots:n}=t;const{colorClasses:i,colorStyles:v,variantClasses:d}=(0,r.c1)(e),{densityClasses:f}=(0,s.t)(e),{roundedClasses:p}=(0,c.b)(e),{sizeClasses:y,sizeStyles:g}=(0,u.t)(e);return(0,m.L)((()=>{var t;return(0,o.Wm)(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},i.value,f.value,p.value,y.value,d.value],style:[v.value,g.value]},{default:()=>[e.image?(0,o.Wm)(l.f,{key:"image",src:e.image,alt:""},null):e.icon?(0,o.Wm)(a.t,{key:"icon",icon:e.icon},null):null==(t=n.default)?void 0:t.call(n),(0,r.Ux)(!1,"v-avatar")]})})),{}}})},8694:function(e,t,n){n.d(t,{f:function(){return p}});var o=n(3396),a=n(4544),l=n(320),r=n(9888);function i(e){return{aspectStyles:(0,o.Fl)((()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0}))}}const s=(0,l.a)({name:"VResponsive",props:{aspectRatio:[String,Number],contentClass:String,...(0,a.x)()},setup(e,t){let{slots:n}=t;const{aspectStyles:l}=i(e),{dimensionStyles:s}=(0,a.$)(e);return(0,r.L)((()=>{var t;return(0,o.Wm)("div",{class:"v-responsive",style:s.value},[(0,o.Wm)("div",{class:"v-responsive__sizer",style:l.value},null),null==(t=n.additional)?void 0:t.call(n),n.default&&(0,o.Wm)("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])})),{}}});var c=n(7052),u=n(4906),v=n(4870),d=n(3862),f=n(2385),m=n(131);const p=(0,l.a)({name:"VImg",directives:{intersect:c.Z},props:{aspectRatio:[String,Number],alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,width:[String,Number],...(0,u.X)()},emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:a}=t;const l=(0,v.iH)(""),i=(0,v.iH)(),c=(0,v.iH)(e.eager?"loading":"idle"),p=(0,v.iH)(),y=(0,v.iH)(),g=(0,o.Fl)((()=>e.src&&"object"===typeof e.src?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)})),h=(0,o.Fl)((()=>g.value.aspect||p.value/y.value||0));function b(t){if((!e.eager||!t)&&(!f.cu||t||e.eager)){if(c.value="loading",g.value.lazySrc){const e=new Image;e.src=g.value.lazySrc,k(e,null)}g.value.src&&(0,o.Y3)((()=>{var e,t;if(n("loadstart",(null==(e=i.value)?void 0:e.currentSrc)||g.value.src),null!=(t=i.value)&&t.complete){if(i.value.naturalWidth||x(),"error"===c.value)return;h.value||k(i.value,null),w()}else h.value||k(i.value),E()}))}}function w(){var e;E(),c.value="loaded",n("load",(null==(e=i.value)?void 0:e.currentSrc)||g.value.src)}function x(){var e;c.value="error",n("error",(null==(e=i.value)?void 0:e.currentSrc)||g.value.src)}function E(){const e=i.value;e&&(l.value=e.currentSrc||e.src)}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;const n=()=>{const{naturalHeight:o,naturalWidth:a}=e;o||a?(p.value=a,y.value=o):e.complete||"loading"!==c.value||null==t?(e.currentSrc.endsWith(".svg")||e.currentSrc.startsWith("data:image/svg+xml"))&&(p.value=1,y.value=1):setTimeout(n,t)};n()}(0,o.YP)((()=>e.src),(()=>{b("idle"!==c.value)})),(0,o.wF)((()=>b()));const S=(0,o.Fl)((()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover}))),O=()=>{var t;if(!g.value.src||"idle"===c.value)return null;const n=(0,o.Wm)("img",{class:["v-img__img",S.value],src:g.value.src,srcset:g.value.srcset,alt:"",sizes:e.sizes,ref:i,onLoad:w,onError:x},null),l=null==(t=a.sources)?void 0:t.call(a);return(0,o.Wm)(u.J,{transition:e.transition,appear:!0},{default:()=>[(0,o.wy)(l?(0,o.Wm)("picture",{class:"v-img__picture"},[l,n]):n,[[d.F8,"loaded"===c.value]])]})},W=()=>(0,o.Wm)(u.J,{transition:e.transition},{default:()=>[g.value.lazySrc&&"loaded"!==c.value&&(0,o.Wm)("img",{class:["v-img__img","v-img__img--preload",S.value],src:g.value.lazySrc,alt:""},null)]}),F=()=>a.placeholder?(0,o.Wm)(u.J,{transition:e.transition,appear:!0},{default:()=>[("loading"===c.value||"error"===c.value&&!a.error)&&(0,o.Wm)("div",{class:"v-img__placeholder"},[a.placeholder()])]}):null,C=()=>a.error?(0,o.Wm)(u.J,{transition:e.transition,appear:!0},{default:()=>["error"===c.value&&(0,o.Wm)("div",{class:"v-img__error"},[a.error()])]}):null,B=()=>e.gradient?(0,o.Wm)("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,P=(0,v.iH)(!1);{const e=(0,o.YP)(h,(t=>{t&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{P.value=!0}))})),e())}))}return(0,r.L)((()=>(0,o.wy)((0,o.Wm)(s,{class:["v-img",{"v-img--booting":!P.value}],style:{width:(0,m.kb)("auto"===e.width?p.value:e.width)},aspectRatio:h.value,"aria-label":e.alt,role:e.alt?"img":void 0},{additional:()=>(0,o.Wm)(o.HY,null,[(0,o.Wm)(O,null,null),(0,o.Wm)(W,null,null),(0,o.Wm)(B,null,null),(0,o.Wm)(F,null,null),(0,o.Wm)(C,null,null)]),default:a.default}),[[(0,o.Q2)("intersect"),{handler:b,options:e.options},null,{once:!0}]]))),{currentSrc:l,image:i,state:c,naturalWidth:p,naturalHeight:y}}})},4360:function(e,t,n){n.d(t,{N:function(){return o}});const o=Symbol.for("vuetify:v-menu")},3354:function(e,t,n){n.d(t,{yc:function(){return we},Fe:function(){return xe},BU:function(){return be}});var o=n(3396),a=n(3862),l=n(3766),r=n(2385);const i=(0,l.U)({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function s(e,t){const n={},o=o=>()=>{if(!r.BR)return Promise.resolve(!0);const a="openDelay"===o;return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise((l=>{const r=parseInt(e[o]??0,10);n[o]=window.setTimeout((()=>{null==t||t(a),l(a)}),r)}))};return{runCloseDelay:o("closeDelay"),runOpenDelay:o("openDelay")}}var c=n(4360),u=n(131),v=n(7514),d=n(4870);const f=(0,l.U)({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...i()},"v-overlay-activator");function m(e,t){let{isActive:n,isTop:a}=t;const l=(0,d.iH)();let i=!1,f=!1,m=!0;const y=(0,o.Fl)((()=>e.openOnFocus||null==e.openOnFocus&&e.openOnHover)),g=(0,o.Fl)((()=>e.openOnClick||null==e.openOnClick&&!e.openOnHover&&!y.value)),{runOpenDelay:h,runCloseDelay:b}=s(e,(t=>{t!==(e.openOnHover&&i||y.value&&f)||e.openOnHover&&n.value&&!a.value||(n.value!==t&&(m=!0),n.value=t)})),w={click:e=>{e.stopPropagation(),l.value=e.currentTarget||e.target,n.value=!n.value},mouseenter:e=>{i=!0,l.value=e.currentTarget||e.target,h()},mouseleave:e=>{i=!1,b()},focus:e=>{r.Z1&&!e.target.matches(":focus-visible")||(f=!0,e.stopPropagation(),l.value=e.currentTarget||e.target,h())},blur:e=>{f=!1,e.stopPropagation(),b()}},x=(0,o.Fl)((()=>{const t={};return g.value&&(t.click=w.click),e.openOnHover&&(t.mouseenter=w.mouseenter,t.mouseleave=w.mouseleave),y.value&&(t.focus=w.focus,t.blur=w.blur),t})),E=(0,o.Fl)((()=>{const t={};if(e.openOnHover&&(t.mouseenter=()=>{i=!0,h()},t.mouseleave=()=>{i=!1,b()}),e.closeOnContentClick){const e=(0,o.f3)(c.N,null);t.click=()=>{n.value=!1,null==e||e.closeParents()}}return t})),k=(0,o.Fl)((()=>{const t={};return e.openOnHover&&(t.mouseenter=()=>{m&&(i=!0,m=!1,h())},t.mouseleave=()=>{i=!1,b()}),t}));(0,o.YP)(a,(t=>{!t||(!e.openOnHover||i||y.value&&f)&&(!y.value||f||e.openOnHover&&i)||(n.value=!1)}));const S=(0,d.iH)();(0,o.m0)((()=>{S.value&&(0,o.Y3)((()=>{const e=S.value;l.value=(0,u.rU)(e)?e.$el:e}))}));const O=(0,v.FN)("useActivator");let W;return(0,o.YP)((()=>!!e.activator),(t=>{t&&r.BR?(W=(0,d.B)(),W.run((()=>{p(e,O,{activatorEl:l,activatorEvents:x})}))):W&&W.stop()}),{flush:"post",immediate:!0}),(0,d.EB)((()=>{var e;null==(e=W)||e.stop()})),{activatorEl:l,activatorRef:S,activatorEvents:x,contentEvents:E,scrimEvents:k}}function p(e,t,n){let{activatorEl:a,activatorEvents:l}=n;function r(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps;t&&(Object.entries(l.value).forEach((e=>{let[n,o]=e;t.addEventListener(n,o)})),Object.keys(n).forEach((e=>{null==n[e]?t.removeAttribute(e):t.setAttribute(e,n[e])})))}function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps;t&&(Object.entries(l.value).forEach((e=>{let[n,o]=e;t.removeEventListener(n,o)})),Object.keys(n).forEach((e=>{t.removeAttribute(e)})))}function s(){var n;let o,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.activator;if(l)if("parent"===l){var r,i;let e=null==t||null==(r=t.proxy)||null==(i=r.$el)?void 0:i.parentNode;while(e.hasAttribute("data-no-activator"))e=e.parentNode;o=e}else o="string"===typeof l?document.querySelector(l):"$el"in l?l.$el:l;return a.value=(null==(n=o)?void 0:n.nodeType)===Node.ELEMENT_NODE?o:null,a.value}(0,o.YP)((()=>e.activator),((e,t)=>{if(t&&e!==t){const e=s(t);e&&i(e)}e&&(0,o.Y3)((()=>r()))}),{immediate:!0}),(0,o.YP)((()=>e.activatorProps),(()=>{r()})),(0,d.EB)((()=>{i()}))}var y=n(4544);const g=(0,l.U)({eager:Boolean},"lazy");function h(e,t){const n=(0,d.iH)(!1),a=(0,o.Fl)((()=>n.value||e.eager||t.value));function l(){e.eager||(n.value=!1)}return(0,o.YP)(t,(()=>n.value=!0)),{isBooted:n,hasContent:a,onAfterLeave:l}}n(7658);var b=n(3122);function w(e){while(e){if("fixed"===window.getComputedStyle(e).position)return!0;e=e.offsetParent}return!1}var x=n(2879);function E(e){while(e){if(S(e))return e;e=e.parentElement}return document.scrollingElement}function k(e,t){const n=[];if(t&&e&&!t.contains(e))return n;while(e){if(S(e)&&n.push(e),e===t)break;e=e.parentElement}return n}function S(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return"scroll"===t.overflowY||"auto"===t.overflowY&&e.scrollHeight>e.clientHeight}var O=n(6033),W=n(6309);function F(e,t){return{x:e.x+t.x,y:e.y+t.y}}function C(e,t){return{x:e.x-t.x,y:e.y-t.y}}function B(e,t){if("top"===e.side||"bottom"===e.side){const{side:n,align:o}=e,a="left"===o?0:"center"===o?t.width/2:"right"===o?t.width:o,l="top"===n?0:"bottom"===n?t.height:n;return F({x:a,y:l},t)}if("left"===e.side||"right"===e.side){const{side:n,align:o}=e,a="left"===n?0:"right"===n?t.width:n,l="top"===o?0:"center"===o?t.height/2:"bottom"===o?t.height:o;return F({x:a,y:l},t)}return F({x:t.width/2,y:t.height/2},t)}const P={static:A,connected:R},L=(0,l.U)({locationStrategy:{type:[String,Function],default:"static",validator:e=>"function"===typeof e||e in P},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"v-overlay-location-strategies");function _(e,t){const n=(0,d.iH)({}),a=(0,d.iH)();let l;function i(e){var t;null==(t=a.value)||t.call(a,e)}return(0,o.m0)((async()=>{var i;null==(i=l)||i.stop(),a.value=void 0,r.BR&&t.isActive.value&&e.locationStrategy&&(l=(0,d.B)(),await(0,o.Y3)(),l.run((()=>{var o,l;"function"===typeof e.locationStrategy?a.value=null==(o=e.locationStrategy(t,e,n))?void 0:o.updateLocation:a.value=null==(l=P[e.locationStrategy](t,e,n))?void 0:l.updateLocation})))})),r.BR&&window.addEventListener("resize",i,{passive:!0}),(0,d.EB)((()=>{var e;r.BR&&window.removeEventListener("resize",i),a.value=void 0,null==(e=l)||e.stop()})),{contentStyles:n,updateLocation:a}}function A(){}function H(e){const t=(0,b.G)(e);return t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function R(e,t,n){const a=w(e.activatorEl.value);a&&Object.assign(n.value,{position:"fixed"});const{preferredAnchor:l,preferredOrigin:r}=(0,u.S3)((()=>{const n=(0,x.wW)(t.location,e.isRtl.value),o="overlap"===t.origin?n:"auto"===t.origin?(0,x.tb)(n):(0,x.wW)(t.origin,e.isRtl.value);return n.side===o.side&&n.align===(0,x.aw)(o).align?{preferredAnchor:(0,x.Oe)(n),preferredOrigin:(0,x.Oe)(o)}:{preferredAnchor:n,preferredOrigin:o}})),[i,s,c,v]=["minWidth","minHeight","maxWidth","maxHeight"].map((e=>(0,o.Fl)((()=>{const n=parseFloat(t[e]);return isNaN(n)?1/0:n})))),f=(0,o.Fl)((()=>{if(Array.isArray(t.offset))return t.offset;if("string"===typeof t.offset){const e=t.offset.split(" ").map(parseFloat);return e.length<2&&e.push(0),e}return"number"===typeof t.offset?[t.offset,0]:[0,0]}));let m=!1;const p=new ResizeObserver((()=>{m&&y()}));function y(){if(m=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>m=!0))})),!e.activatorEl.value||!e.contentEl.value)return;const t=e.activatorEl.value.getBoundingClientRect(),o=H(e.contentEl.value),a=k(e.contentEl.value),d=12;a.length||(a.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(o.x+=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),o.y+=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const p=a.reduce(((e,t)=>{const n=t.getBoundingClientRect(),o=new W.x({x:t===document.documentElement?0:n.x,y:t===document.documentElement?0:n.y,width:t.clientWidth,height:t.clientHeight});return e?new W.x({x:Math.max(e.left,o.left),y:Math.max(e.top,o.top),width:Math.min(e.right,o.right)-Math.max(e.left,o.left),height:Math.min(e.bottom,o.bottom)-Math.max(e.top,o.top)}):o}),void 0);p.x+=d,p.y+=d,p.width-=2*d,p.height-=2*d;let y={anchor:l.value,origin:r.value};function g(e){const n=new W.x(o),a=B(e.anchor,t),l=B(e.origin,n);let{x:r,y:i}=C(a,l);switch(e.anchor.side){case"top":i-=f.value[0];break;case"bottom":i+=f.value[0];break;case"left":r-=f.value[0];break;case"right":r+=f.value[0];break}switch(e.anchor.align){case"top":i-=f.value[1];break;case"bottom":i+=f.value[1];break;case"left":r-=f.value[1];break;case"right":r+=f.value[1];break}n.x+=r,n.y+=i,n.width=Math.min(n.width,c.value),n.height=Math.min(n.height,v.value);const s=(0,W.p)(n,p);return{overflows:s,x:r,y:i}}let h=0,b=0;const w={x:0,y:0},E={x:!1,y:!1};let S=-1;while(1){if(S++>10){(0,O.N6)("Infinite loop detected in connectedLocationStrategy");break}const{x:e,y:t,overflows:n}=g(y);h+=e,b+=t,o.x+=e,o.y+=t;{const e=(0,x.dd)(y.anchor),t=n.x.before||n.x.after,o=n.y.before||n.y.after;let a=!1;if(["x","y"].forEach((l=>{if("x"===l&&t&&!E.x||"y"===l&&o&&!E.y){const t={anchor:{...y.anchor},origin:{...y.origin}},o="x"===l?"y"===e?x.aw:x.tb:"y"===e?x.tb:x.aw;t.anchor=o(t.anchor),t.origin=o(t.origin);const{overflows:r}=g(t);(r[l].before<=n[l].before&&r[l].after<=n[l].after||r[l].before+r[l].after<(n[l].before+n[l].after)/2)&&(y=t,a=E[l]=!0)}})),a)continue}n.x.before&&(h+=n.x.before,o.x+=n.x.before),n.x.after&&(h-=n.x.after,o.x-=n.x.after),n.y.before&&(b+=n.y.before,o.y+=n.y.before),n.y.after&&(b-=n.y.after,o.y-=n.y.after);{const e=(0,W.p)(o,p);w.x=p.width-e.x.before-e.x.after,w.y=p.height-e.y.before-e.y.after,h+=e.x.before,o.x+=e.x.before,b+=e.y.before,o.y+=e.y.before}break}const F=(0,x.dd)(y.anchor);Object.assign(n.value,{"--v-overlay-anchor-origin":`${y.anchor.side} ${y.anchor.align}`,transformOrigin:`${y.origin.side} ${y.origin.align}`,top:(0,u.kb)(N(b)),left:(0,u.kb)(N(h)),minWidth:(0,u.kb)("y"===F?Math.min(i.value,t.width):i.value),maxWidth:(0,u.kb)(T((0,u.uZ)(w.x,i.value===1/0?0:i.value,c.value))),maxHeight:(0,u.kb)(T((0,u.uZ)(w.y,s.value===1/0?0:s.value,v.value)))})}return(0,o.YP)([e.activatorEl,e.contentEl],((e,t)=>{let[n,o]=e,[a,l]=t;a&&p.unobserve(a),n&&p.observe(n),l&&p.unobserve(l),o&&p.observe(o)}),{immediate:!0}),(0,d.EB)((()=>{p.disconnect()})),(0,o.YP)((()=>[l.value,r.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight]),(()=>y()),{immediate:!a}),a&&(0,o.Y3)((()=>y())),requestAnimationFrame((()=>{n.value.maxHeight&&y()})),{updateLocation:y}}function N(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function T(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let j=!0;const z=[];function $(e){!j||z.length?(z.push(e),M()):(j=!1,e(),M())}let Y=-1;function M(){cancelAnimationFrame(Y),Y=requestAnimationFrame((()=>{const e=z.shift();e&&e(),z.length?M():j=!0}))}const V={none:null,close:I,block:U,reposition:G},D=(0,l.U)({scrollStrategy:{type:[String,Function],default:"block",validator:e=>"function"===typeof e||e in V}},"v-overlay-scroll-strategies");function q(e,t){if(!r.BR)return;let n;(0,o.m0)((async()=>{var a;null==(a=n)||a.stop(),t.isActive.value&&e.scrollStrategy&&(n=(0,d.B)(),await(0,o.Y3)(),n.run((()=>{var n;"function"===typeof e.scrollStrategy?e.scrollStrategy(t,e):null==(n=V[e.scrollStrategy])||n.call(V,t,e)})))})),(0,d.EB)((()=>{var e;null==(e=n)||e.stop()}))}function I(e){function t(t){e.isActive.value=!1}J(e.activatorEl.value??e.contentEl.value,t)}function U(e,t){var n;const o=null==(n=e.root.value)?void 0:n.offsetParent,a=[...new Set([...k(e.activatorEl.value,t.contained?o:void 0),...k(e.contentEl.value,t.contained?o:void 0)])].filter((e=>!e.classList.contains("v-overlay-scroll-blocked"))),l=window.innerWidth-document.documentElement.offsetWidth,r=(e=>S(e)&&e)(o||document.documentElement);r&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach(((e,t)=>{e.style.setProperty("--v-body-scroll-x",(0,u.kb)(-e.scrollLeft)),e.style.setProperty("--v-body-scroll-y",(0,u.kb)(-e.scrollTop)),e.style.setProperty("--v-scrollbar-offset",(0,u.kb)(l)),e.classList.add("v-overlay-scroll-blocked")})),(0,d.EB)((()=>{a.forEach(((e,t)=>{const n=parseFloat(e.style.getPropertyValue("--v-body-scroll-x")),o=parseFloat(e.style.getPropertyValue("--v-body-scroll-y"));e.style.removeProperty("--v-body-scroll-x"),e.style.removeProperty("--v-body-scroll-y"),e.style.removeProperty("--v-scrollbar-offset"),e.classList.remove("v-overlay-scroll-blocked"),e.scrollLeft=-n,e.scrollTop=-o})),r&&e.root.value.classList.remove("v-overlay--scroll-blocked")}))}function G(e){let t=!1,n=-1;function o(n){$((()=>{var o,a;const l=performance.now();null==(o=(a=e.updateLocation).value)||o.call(a,n);const r=performance.now()-l;t=r/(1e3/60)>2}))}J(e.activatorEl.value??e.contentEl.value,(e=>{t?(cancelAnimationFrame(n),n=requestAnimationFrame((()=>{n=requestAnimationFrame((()=>{o(e)}))}))):o(e)}))}function J(e,t){const n=[document,...k(e)];n.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),(0,d.EB)((()=>{n.forEach((e=>{e.removeEventListener("scroll",t)}))}))}var Z=n(7041),Q=n(4906),X=n(6183),K=n(2370),ee=n(8717);function te(){var e,t,n;if(!r.BR)return(0,d.iH)(!1);const a=(0,v.FN)("useHydration"),l=null==a||null==(e=a.root)||null==(t=e.appContext)||null==(n=t.app)?void 0:n._container,i=(0,d.iH)(!(null==l||!l.__vue_app__));return i.value||(0,o.bv)((()=>i.value=!0)),i}var ne=n(1629),oe=n(4770);const ae=Symbol.for("vuetify:stack"),le=(0,d.qj)([]);function re(e,t){const n=(0,v.FN)("useStack"),a=(0,o.f3)(ae,void 0),l=(0,d.qj)({activeChildren:new Set});(0,o.JJ)(ae,l);const r=(0,d.iH)(+t.value);(0,oe.U)(e,(()=>{var e;const o=null==(e=le.at(-1))?void 0:e[1];r.value=o?o+10:+t.value,le.push([n.uid,r.value]),null==a||a.activeChildren.add(n.uid),(0,d.EB)((()=>{const e=le.findIndex((e=>e[0]===n.uid));le.splice(e,1),null==a||a.activeChildren.delete(n.uid)}))}));const i=(0,d.iH)(!0);(0,o.m0)((()=>{var e;const t=(null==(e=le.at(-1))?void 0:e[0])===n.uid;setTimeout((()=>i.value=t))}));const s=(0,o.Fl)((()=>!l.activeChildren.size));return{globalTop:(0,d.OT)(i),localTop:s,stackStyles:(0,o.Fl)((()=>({zIndex:r.value})))}}function ie(e){const t=(0,o.Fl)((()=>{const t=e.value;if(!0===t||!r.BR)return;const n=!1===t?document.body:"string"===typeof t?document.querySelector(t):t;if(null!=n){if(!ie.cache.has(n)){const e=document.createElement("div");e.className="v-overlay-container",n.appendChild(e),ie.cache.set(n,e)}return ie.cache.get(n)}(0,o.ZK)(`Unable to locate target ${t}`)}));return{teleportTarget:t}}function se(e){if("function"!==typeof e.getRootNode){while(e.parentNode)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}function ce(){return!0}function ue(e,t,n){if(!e||!1===ve(e,n))return!1;const o=se(t);if("undefined"!==typeof ShadowRoot&&o instanceof ShadowRoot&&o.host===e.target)return!1;const a=("object"===typeof n.value&&n.value.include||(()=>[]))();return a.push(t),!a.some((t=>null==t?void 0:t.contains(e.target)))}function ve(e,t){const n="object"===typeof t.value&&t.value.closeConditional||ce;return n(e)}function de(e,t,n){const o="function"===typeof n.value?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&ue(e,t,n)&&setTimeout((()=>{ve(e,n)&&o&&o(e)}),0)}function fe(e,t){const n=se(e);t(document),"undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&t(n)}ie.cache=new WeakMap;const me={mounted(e,t){const n=n=>de(n,e,t),o=n=>{e._clickOutside.lastMousedownWasOutside=ue(n,e,t)};fe(e,(e=>{e.addEventListener("click",n,!0),e.addEventListener("mousedown",o,!0)})),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!0}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:o}},unmounted(e,t){e._clickOutside&&(fe(e,(n=>{var o;if(!n||null==(o=e._clickOutside)||!o[t.instance.$.uid])return;const{onClick:a,onMousedown:l}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",a,!0),n.removeEventListener("mousedown",l,!0)})),delete e._clickOutside[t.instance.$.uid])}};var pe=n(320),ye=n(8587),ge=n(9888);function he(e){const{modelValue:t,color:n,...l}=e;return(0,o.Wm)(a.uT,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&(0,o.Wm)("div",(0,o.dG)({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},l),null)]})}const be=(0,l.U)({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[String,Boolean],default:!0},zIndex:{type:[Number,String],default:2e3},...f(),...(0,y.x)(),...g(),...L(),...D(),...(0,Z.x$)(),...(0,Q.X)()},"v-overlay"),we=(0,pe.e)()({name:"VOverlay",directives:{ClickOutside:me},inheritAttrs:!1,props:be(),emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:l,emit:i}=t;const s=(0,ee.z)(e,"modelValue"),c=(0,o.Fl)({get:()=>s.value,set:t=>{t&&e.disabled||(s.value=t)}}),{teleportTarget:v}=ie((0,o.Fl)((()=>e.attach||e.contained))),{themeClasses:f}=(0,Z.ER)(e),{rtlClasses:p,isRtl:g}=(0,ne.Vw)(),{hasContent:w,onAfterLeave:x}=h(e,c),k=(0,K.Y5)((0,o.Fl)((()=>"string"===typeof e.scrim?e.scrim:null))),{globalTop:S,localTop:O,stackStyles:W}=re(c,(0,d.Vh)(e,"zIndex")),{activatorEl:F,activatorRef:C,activatorEvents:B,contentEvents:P,scrimEvents:L}=m(e,{isActive:c,isTop:O}),{dimensionStyles:A}=(0,y.$)(e),H=te();(0,o.YP)((()=>e.disabled),(e=>{e&&(c.value=!1)}));const R=(0,d.iH)(),N=(0,d.iH)(),{contentStyles:T,updateLocation:j}=_(e,{isRtl:g,contentEl:N,activatorEl:F,isActive:c});function z(t){i("click:outside",t),e.persistent?D():c.value=!1}function $(){return c.value&&S.value}function Y(t){"Escape"===t.key&&S.value&&(e.persistent?D():c.value=!1)}q(e,{root:R,contentEl:N,activatorEl:F,isActive:c,updateLocation:j}),r.BR&&(0,o.YP)(c,(e=>{e?window.addEventListener("keydown",Y):window.removeEventListener("keydown",Y)}),{immediate:!0});const M=(0,X.tv)();(0,oe.U)((()=>e.closeOnBack),(()=>{(0,X.Kx)(M,(t=>{S.value&&c.value?(t(!1),e.persistent?D():c.value=!1):t()}))}));const V=(0,d.iH)();function D(){e.noClickAnimation||N.value&&(0,b.j)(N.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:ye.Ly})}return(0,o.YP)((()=>c.value&&(e.absolute||e.contained)&&null==v.value),(e=>{if(e){const e=E(R.value);e&&e!==document.scrollingElement&&(V.value=e.scrollTop)}})),(0,ge.L)((()=>{var t,r;return(0,o.Wm)(o.HY,null,[null==(t=n.activator)?void 0:t.call(n,{isActive:c.value,props:(0,o.dG)({ref:C},(0,o.mx)(B.value),e.activatorProps)}),H.value&&(0,o.Wm)(o.lR,{disabled:!v.value,to:v.value},{default:()=>[w.value&&(0,o.Wm)("div",(0,o.dG)({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":c.value,"v-overlay--contained":e.contained},f.value,p.value],style:[W.value,{top:(0,u.kb)(V.value)}],ref:R},l),[(0,o.Wm)(he,(0,o.dG)({color:k,modelValue:c.value&&!!e.scrim},(0,o.mx)(L.value)),null),(0,o.Wm)(Q.J,{appear:!0,persisted:!0,transition:e.transition,target:F.value,onAfterLeave:()=>{x(),i("afterLeave")}},{default:()=>[(0,o.wy)((0,o.Wm)("div",(0,o.dG)({ref:N,class:["v-overlay__content",e.contentClass],style:[A.value,T.value]},(0,o.mx)(P.value),e.contentProps),[null==(r=n.default)?void 0:r.call(n,{isActive:c})]),[[a.F8,c.value],[(0,o.Q2)("click-outside"),{handler:z,closeConditional:$,include:()=>[F.value]}]])]})])]})])})),{activatorEl:F,animateClick:D,contentEl:N,globalTop:S,localTop:O,updateLocation:j}}});function xe(e){return(0,u.ei)(e,Object.keys(we.props))}},2583:function(e,t,n){n.d(t,{v:function(){return s}});var o=n(3396),a=n(3862),l=n(320),r=n(3122),i=n(8587);const s=(0,l.a)({name:"VDialogTransition",props:{target:Object},setup(e,t){let{slots:n}=t;const l={onBeforeEnter(e){e.style.pointerEvents="none",e.style.visibility="hidden"},async onEnter(t,n){var o;await new Promise((e=>requestAnimationFrame(e))),await new Promise((e=>requestAnimationFrame(e))),t.style.visibility="";const{x:a,y:l,sx:s,sy:v,speed:d}=u(e.target,t),f=(0,r.j)(t,[{transform:`translate(${a}px, ${l}px) scale(${s}, ${v})`,opacity:0},{transform:""}],{duration:225*d,easing:i.uX});null==(o=c(t))||o.forEach((e=>{(0,r.j)(e,[{opacity:0},{opacity:0,offset:.33},{opacity:1}],{duration:450*d,easing:i.Ly})})),f.finished.then((()=>n()))},onAfterEnter(e){e.style.removeProperty("pointer-events")},onBeforeLeave(e){e.style.pointerEvents="none"},async onLeave(t,n){var o;await new Promise((e=>requestAnimationFrame(e)));const{x:a,y:l,sx:s,sy:v,speed:d}=u(e.target,t),f=(0,r.j)(t,[{transform:""},{transform:`translate(${a}px, ${l}px) scale(${s}, ${v})`,opacity:0}],{duration:125*d,easing:i.x0});f.finished.then((()=>n())),null==(o=c(t))||o.forEach((e=>{(0,r.j)(e,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:i.Ly})}))},onAfterLeave(e){e.style.removeProperty("pointer-events")}};return()=>e.target?(0,o.Wm)(a.uT,(0,o.dG)({name:"dialog-transition"},l,{css:!1}),n):(0,o.Wm)(a.uT,{name:"dialog-transition"},n)}});function c(e){var t;const n=null==(t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))?void 0:t.children;return n&&[...n]}function u(e,t){const n=e.getBoundingClientRect(),o=(0,r.G)(t),[a,l]=getComputedStyle(t).transformOrigin.split(" ").map((e=>parseFloat(e))),[i,s]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let c=n.left+n.width/2;"left"===i||"left"===s?c-=n.width/2:"right"!==i&&"right"!==s||(c+=n.width/2);let u=n.top+n.height/2;"top"===i||"top"===s?u-=n.height/2:"bottom"!==i&&"bottom"!==s||(u+=n.height/2);const v=n.width/o.width,d=n.height/o.height,f=Math.max(1,v,d),m=v/f,p=d/f,y=o.width*o.height/(window.innerWidth*window.innerHeight),g=y>.12?Math.min(1.5,10*(y-.12)+1):1;return{x:c-(a+o.left),y:u-(l+o.top),sx:m,sy:p,speed:g}}},5975:function(e,t,n){n.d(t,{a:function(){return a}});var o=n(7514);function a(){const e=(0,o.FN)("useScopeId"),t=e.vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}},1114:function(e,t,n){n.d(t,{J:function(){return r}});var o=n(7139),a=n(3396),l=n(320);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return(0,l.a)({name:n??(0,o.kC)((0,o._A)(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t}},setup(t,n){let{slots:o}=n;return()=>{var n;return(0,a.h)(t.tag,{class:e},null==(n=o.default)?void 0:n.call(o))}}})}}}]);
|
|
//# sourceMappingURL=8613.f806c309.js.map
|