Files
music-admin/.output/public/_nuxt/DSEcO8b-.js
poptong 83b162d2bd
Some checks failed
🚀 Deploy - Demo / deployment (push) Has been cancelled
🔧 웹훅 URL을 HTTPS로 수정
- 웹훅 URL을 https://admin.youtooplay.com/webhook로 변경
- Nginx 리버스 프록시 설정 파일 추가
- 배포 가이드 업데이트
2025-10-01 01:47:51 +09:00

2 lines
18 KiB
JavaScript

import{g as O,p as R,a as z,c as t,ac as ne,b as H,ax as K,A as we,V as Me,f as c,C as G,be as oe,bk as re,L as de,bw as ce,B as J,s as ee,r as E,w as q,al as De,t as ve,ak as Re,bx as Ae,aB as te,k as $e,Z as Ee,aO as Le,aQ as Te,y as Oe,q as se,n as ae,aZ as ze,l as Ne,a8 as fe,a7 as me,by as pe,ah as Ue,Q,x as Ke,K as ge,aG as le,aH as ye,i as He,bz as We,as as je,a$ as qe,at as Qe,au as Ze,H as Ge,F as X,m as Y,af as Xe,av as Ye,bA as Je,bg as ea,bh as aa,v as na,bB as ta,bv as la,b3 as ia,b7 as sa,bC as ua}from"./C0u2Lk3h.js";import{c as be,a as oa}from"./CCmxpPjt.js";const ra=R({text:String,onClick:K(),...H(),...ne()},"VLabel"),da=O()({name:"VLabel",props:ra(),setup(e,s){let{slots:u}=s;return z(()=>{var l;return t("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(l=u.default)==null?void 0:l.call(u)])}),{}}});function he(e){const{t:s}=we();function u(l){let{name:a}=l;const n={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[a],d=e[`onClick:${a}`],k=d&&n?s(`$vuetify.input.${n}`,e.label??""):void 0;return t(Me,{icon:e[`${a}Icon`],"aria-label":k,onClick:d},null)}return{InputIcon:u}}const ca=R({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...H(),...de({transition:{component:be,leaveAbsolute:!0,group:!0}})},"VMessages"),va=O()({name:"VMessages",props:ca(),setup(e,s){let{slots:u}=s;const l=c(()=>G(e.messages)),{textColorClasses:a,textColorStyles:n}=oe(c(()=>e.color));return z(()=>t(re,{transition:e.transition,tag:"div",class:["v-messages",a.value,e.class],style:[n.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&l.value.map((d,k)=>t("div",{class:"v-messages__message",key:`${k}-${l.value}`},[u.message?u.message({message:d}):d]))]})),{}}}),Ve=R({focused:Boolean,"onUpdate:focused":K()},"focus");function Ce(e){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce();const u=J(e,"focused"),l=c(()=>({[`${s}--focused`]:u.value}));function a(){u.value=!0}function n(){u.value=!1}return{focusClasses:l,isFocused:u,focus:a,blur:n}}const ke=Symbol.for("vuetify:form"),fa=R({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function ma(e){const s=J(e,"modelValue"),u=c(()=>e.disabled),l=c(()=>e.readonly),a=ee(!1),n=E([]),d=E([]);async function k(){const i=[];let r=!0;d.value=[],a.value=!0;for(const y of n.value){const v=await y.validate();if(v.length>0&&(r=!1,i.push({id:y.id,errorMessages:v})),!r&&e.fastFail)break}return d.value=i,a.value=!1,{valid:r,errors:d.value}}function x(){n.value.forEach(i=>i.reset())}function m(){n.value.forEach(i=>i.resetValidation())}return q(n,()=>{let i=0,r=0;const y=[];for(const v of n.value)v.isValid===!1?(r++,y.push({id:v.id,errorMessages:v.errorMessages})):v.isValid===!0&&i++;d.value=y,s.value=r>0?!1:i===n.value.length?!0:null},{deep:!0,flush:"post"}),De(ke,{register:i=>{let{id:r,vm:y,validate:v,reset:_,resetValidation:b}=i;n.value.some(A=>A.id===r),n.value.push({id:r,validate:v,reset:_,resetValidation:b,vm:Ae(y),isValid:null,errorMessages:[]})},unregister:i=>{n.value=n.value.filter(r=>r.id!==i)},update:(i,r,y)=>{const v=n.value.find(_=>_.id===i);v&&(v.isValid=r,v.errorMessages=y)},isDisabled:u,isReadonly:l,isValidating:a,isValid:s,items:n,validateOn:ve(e,"validateOn")}),{errors:d,isDisabled:u,isReadonly:l,isValidating:a,isValid:s,items:n,validate:k,reset:x,resetValidation:m}}function ga(e){const s=Re(ke,null);return{...s,isReadonly:c(()=>!!((e==null?void 0:e.readonly)??(s==null?void 0:s.isReadonly.value))),isDisabled:c(()=>!!((e==null?void 0:e.disabled)??(s==null?void 0:s.isDisabled.value)))}}const ya=R({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Ve()},"validation");function ba(e){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:te();const l=J(e,"modelValue"),a=c(()=>e.validationValue===void 0?l.value:e.validationValue),n=ga(e),d=E([]),k=ee(!0),x=c(()=>!!(G(l.value===""?null:l.value).length||G(a.value===""?null:a.value).length)),m=c(()=>{var o;return(o=e.errorMessages)!=null&&o.length?G(e.errorMessages).concat(d.value).slice(0,Math.max(0,+e.maxErrors)):d.value}),i=c(()=>{var B;let o=(e.validateOn??((B=n.validateOn)==null?void 0:B.value))||"input";o==="lazy"&&(o="input lazy"),o==="eager"&&(o="input eager");const g=new Set((o==null?void 0:o.split(" "))??[]);return{input:g.has("input"),blur:g.has("blur")||g.has("input")||g.has("invalid-input"),invalidInput:g.has("invalid-input"),lazy:g.has("lazy"),eager:g.has("eager")}}),r=c(()=>{var o;return e.error||(o=e.errorMessages)!=null&&o.length?!1:e.rules.length?k.value?d.value.length||i.value.lazy?null:!0:!d.value.length:!0}),y=ee(!1),v=c(()=>({[`${s}--error`]:r.value===!1,[`${s}--dirty`]:x.value,[`${s}--disabled`]:n.isDisabled.value,[`${s}--readonly`]:n.isReadonly.value})),_=$e("validation"),b=c(()=>e.name??Ee(u));Le(()=>{var o;(o=n.register)==null||o.call(n,{id:b.value,vm:_,validate:P,reset:A,resetValidation:h})}),Te(()=>{var o;(o=n.unregister)==null||o.call(n,b.value)}),Oe(async()=>{var o;i.value.lazy||await P(!i.value.eager),(o=n.update)==null||o.call(n,b.value,r.value,m.value)}),se(()=>i.value.input||i.value.invalidInput&&r.value===!1,()=>{q(a,()=>{if(a.value!=null)P();else if(e.focused){const o=q(()=>e.focused,g=>{g||P(),o()})}})}),se(()=>i.value.blur,()=>{q(()=>e.focused,o=>{o||P()})}),q([r,m],()=>{var o;(o=n.update)==null||o.call(n,b.value,r.value,m.value)});async function A(){l.value=null,await ae(),await h()}async function h(){k.value=!0,i.value.lazy?d.value=[]:await P(!i.value.eager)}async function P(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const g=[];y.value=!0;for(const B of e.rules){if(g.length>=+(e.maxErrors??1))break;const V=await(typeof B=="function"?B:()=>B)(a.value);if(V!==!0){if(V!==!1&&typeof V!="string"){console.warn(`${V} is not a valid value. Rule functions must return boolean true or a string.`);continue}g.push(V||"")}}return d.value=g,y.value=!1,k.value=o,d.value}return{errorMessages:m,isDirty:x,isDisabled:n.isDisabled,isReadonly:n.isReadonly,isPristine:k,isValid:r,isValidating:y,reset:A,resetValidation:h,validate:P,validationClasses:v}}const xe=R({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":K(),"onClick:append":K(),...H(),...Ue(),...pe(Ke(),["maxWidth","minWidth","width"]),...ne(),...ya()},"VInput"),ue=O()({name:"VInput",props:{...xe()},emits:{"update:modelValue":e=>!0},setup(e,s){let{attrs:u,slots:l,emit:a}=s;const{densityClasses:n}=ze(e),{dimensionStyles:d}=Ne(e),{themeClasses:k}=fe(e),{rtlClasses:x}=me(),{InputIcon:m}=he(e),i=te(),r=c(()=>e.id||`input-${i}`),y=c(()=>`${r.value}-messages`),{errorMessages:v,isDirty:_,isDisabled:b,isReadonly:A,isPristine:h,isValid:P,isValidating:o,reset:g,resetValidation:B,validate:f,validationClasses:V}=ba(e,"v-input",r),S=c(()=>({id:r,messagesId:y,isDirty:_,isDisabled:b,isReadonly:A,isPristine:h,isValid:P,isValidating:o,reset:g,resetValidation:B,validate:f})),F=c(()=>{var T;return(T=e.errorMessages)!=null&&T.length||!h.value&&v.value.length?v.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return z(()=>{var C,I,w,M;const T=!!(l.prepend||e.prependIcon),L=!!(l.append||e.appendIcon),W=F.value.length>0,$=!e.hideDetails||e.hideDetails==="auto"&&(W||!!l.details);return t("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},n.value,k.value,x.value,V.value,e.class],style:[d.value,e.style]},[T&&t("div",{key:"prepend",class:"v-input__prepend"},[(C=l.prepend)==null?void 0:C.call(l,S.value),e.prependIcon&&t(m,{key:"prepend-icon",name:"prepend"},null)]),l.default&&t("div",{class:"v-input__control"},[(I=l.default)==null?void 0:I.call(l,S.value)]),L&&t("div",{key:"append",class:"v-input__append"},[e.appendIcon&&t(m,{key:"append-icon",name:"append"},null),(w=l.append)==null?void 0:w.call(l,S.value)]),$&&t("div",{class:"v-input__details"},[t(va,{id:y.value,active:W,messages:F.value},{message:l.message}),(M=l.details)==null?void 0:M.call(l,S.value)])])}),{reset:g,resetValidation:B,validate:f,isValid:P,errorMessages:v}}}),ha=R({...H(),...fa()},"VForm"),Fa=O()({name:"VForm",props:ha(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,s){let{slots:u,emit:l}=s;const a=ma(e),n=E();function d(x){x.preventDefault(),a.reset()}function k(x){const m=x,i=a.validate();m.then=i.then.bind(i),m.catch=i.catch.bind(i),m.finally=i.finally.bind(i),l("submit",m),m.defaultPrevented||i.then(r=>{var v;let{valid:y}=r;y&&((v=n.value)==null||v.submit())}),m.preventDefault()}return z(()=>{var x;return t("form",{ref:n,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:d,onSubmit:k},[(x=u.default)==null?void 0:x.call(u,a)])}),ge(a,n)}}),Va=R({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...H(),...de({transition:{component:be}})},"VCounter"),Ca=O()({name:"VCounter",functional:!0,props:Va(),setup(e,s){let{slots:u}=s;const l=c(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return z(()=>t(re,{transition:e.transition},{default:()=>[le(t("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[u.default?u.default({counter:l.value,max:e.max,value:e.value}):l.value]),[[ye,e.active]])]})),{}}}),ka=R({floating:Boolean,...H()},"VFieldLabel"),Z=O()({name:"VFieldLabel",props:ka(),setup(e,s){let{slots:u}=s;return z(()=>t(da,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},u)),{}}}),xa=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Ie=R({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>xa.includes(e)},"onClick:clear":K(),"onClick:appendInner":K(),"onClick:prependInner":K(),...H(),...Ye(),...Xe(),...ne()},"VField"),Se=O()({name:"VField",inheritAttrs:!1,props:{id:String,...Ve(),...Ie()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,s){let{attrs:u,emit:l,slots:a}=s;const{themeClasses:n}=fe(e),{loaderClasses:d}=je(e),{focusClasses:k,isFocused:x,focus:m,blur:i}=Ce(e),{InputIcon:r}=he(e),{roundedClasses:y}=qe(e),{rtlClasses:v}=me(),_=c(()=>e.dirty||e.active),b=c(()=>!e.singleLine&&!!(e.label||a.label)),A=te(),h=c(()=>e.id||`input-${A}`),P=c(()=>`${h.value}-messages`),o=E(),g=E(),B=E(),f=c(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:V,backgroundColorStyles:S}=Qe(ve(e,"bgColor")),{textColorClasses:F,textColorStyles:T}=oe(c(()=>e.error||e.disabled?void 0:_.value&&x.value?e.color:e.baseColor));q(_,C=>{if(b.value){const I=o.value.$el,w=g.value.$el;requestAnimationFrame(()=>{const M=Je(I),D=w.getBoundingClientRect(),j=D.x-M.x,N=D.y-M.y-(M.height/2-D.height/2),p=D.width/.75,U=Math.abs(p-M.width)>1?{maxWidth:na(p)}:void 0,_e=getComputedStyle(I),ie=getComputedStyle(w),Pe=parseFloat(_e.transitionDuration)*1e3||150,Be=parseFloat(ie.getPropertyValue("--v-field-label-scale")),Fe=ie.getPropertyValue("color");I.style.visibility="visible",w.style.visibility="hidden",ea(I,{transform:`translate(${j}px, ${N}px) scale(${Be})`,color:Fe,...U},{duration:Pe,easing:aa,direction:C?"normal":"reverse"}).finished.then(()=>{I.style.removeProperty("visibility"),w.style.removeProperty("visibility")})})}},{flush:"post"});const L=c(()=>({isActive:_,isFocused:x,controlRef:B,blur:i,focus:m}));function W(C){C.target!==document.activeElement&&C.preventDefault()}function $(C){var I;C.key!=="Enter"&&C.key!==" "||(C.preventDefault(),C.stopPropagation(),(I=e["onClick:clear"])==null||I.call(e,new MouseEvent("click")))}return z(()=>{var j,N,p;const C=e.variant==="outlined",I=!!(a["prepend-inner"]||e.prependInnerIcon),w=!!(e.clearable||a.clear),M=!!(a["append-inner"]||e.appendInnerIcon||w),D=()=>a.label?a.label({...L.value,label:e.label,props:{for:h.value}}):e.label;return t("div",Y({class:["v-field",{"v-field--active":_.value,"v-field--appended":M,"v-field--center-affix":e.centerAffix??!f.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":I,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!D(),[`v-field--variant-${e.variant}`]:!0},n.value,V.value,k.value,d.value,y.value,v.value,e.class],style:[S.value,e.style],onClick:W},u),[t("div",{class:"v-field__overlay"},null),t(Ze,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),I&&t("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t(r,{key:"prepend-icon",name:"prependInner"},null),(j=a["prepend-inner"])==null?void 0:j.call(a,L.value)]),t("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&b.value&&t(Z,{key:"floating-label",ref:g,class:[F.value],floating:!0,for:h.value,style:T.value},{default:()=>[D()]}),b.value&&t(Z,{key:"label",ref:o,for:h.value},{default:()=>[D()]}),(N=a.default)==null?void 0:N.call(a,{...L.value,props:{id:h.value,class:"v-field__input","aria-describedby":P.value},focus:m,blur:i})]),w&&t(oa,{key:"clear"},{default:()=>[le(t("div",{class:"v-field__clearable",onMousedown:U=>{U.preventDefault(),U.stopPropagation()}},[t(Ge,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[a.clear?a.clear({...L.value,props:{onKeydown:$,onFocus:m,onBlur:i,onClick:e["onClick:clear"]}}):t(r,{name:"clear",onKeydown:$,onFocus:m,onBlur:i},null)]})]),[[ye,e.dirty]])]}),M&&t("div",{key:"append",class:"v-field__append-inner"},[(p=a["append-inner"])==null?void 0:p.call(a,L.value),e.appendInnerIcon&&t(r,{key:"append-icon",name:"appendInner"},null)]),t("div",{class:["v-field__outline",F.value],style:T.value},[C&&t(X,null,[t("div",{class:"v-field__outline__start"},null),b.value&&t("div",{class:"v-field__outline__notch"},[t(Z,{ref:g,floating:!0,for:h.value},{default:()=>[D()]})]),t("div",{class:"v-field__outline__end"},null)]),f.value&&b.value&&t(Z,{ref:g,floating:!0,for:h.value},{default:()=>[D()]})])])}),{controlRef:B}}});function Ia(e){const s=Object.keys(Se.props).filter(u=>!He(u)&&u!=="class"&&u!=="style");return We(e,s)}const Sa=["color","file","time","date","datetime-local","week","month"],_a=R({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...xe(),...Ie()},"VTextField"),wa=O()({name:"VTextField",directives:{Intersect:ta},inheritAttrs:!1,props:_a(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,s){let{attrs:u,emit:l,slots:a}=s;const n=J(e,"modelValue"),{isFocused:d,focus:k,blur:x}=Ce(e),m=c(()=>typeof e.counterValue=="function"?e.counterValue(n.value):typeof e.counterValue=="number"?e.counterValue:(n.value??"").toString().length),i=c(()=>{if(u.maxlength)return u.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),r=c(()=>["plain","underlined"].includes(e.variant));function y(f,V){var S,F;!e.autofocus||!f||(F=(S=V[0].target)==null?void 0:S.focus)==null||F.call(S)}const v=E(),_=E(),b=E(),A=c(()=>Sa.includes(e.type)||e.persistentPlaceholder||d.value||e.active);function h(){var f;b.value!==document.activeElement&&((f=b.value)==null||f.focus()),d.value||k()}function P(f){l("mousedown:control",f),f.target!==b.value&&(h(),f.preventDefault())}function o(f){h(),l("click:control",f)}function g(f){f.stopPropagation(),h(),ae(()=>{n.value=null,ua(e["onClick:clear"],f)})}function B(f){var S;const V=f.target;if(n.value=V.value,(S=e.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(e.type)){const F=[V.selectionStart,V.selectionEnd];ae(()=>{V.selectionStart=F[0],V.selectionEnd=F[1]})}}return z(()=>{const f=!!(a.counter||e.counter!==!1&&e.counter!=null),V=!!(f||a.details),[S,F]=la(u),{modelValue:T,...L}=ue.filterProps(e),W=Ia(e);return t(ue,Y({ref:v,modelValue:n.value,"onUpdate:modelValue":$=>n.value=$,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":r.value},e.class],style:e.style},S,L,{centerAffix:!r.value,focused:d.value}),{...a,default:$=>{let{id:C,isDisabled:I,isDirty:w,isReadonly:M,isValid:D}=$;return t(Se,Y({ref:_,onMousedown:P,onClick:o,"onClick:clear":g,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},W,{id:C.value,active:A.value||w.value,dirty:w.value||e.dirty,disabled:I.value,focused:d.value,error:D.value===!1}),{...a,default:j=>{let{props:{class:N,...p}}=j;const U=le(t("input",Y({ref:b,value:n.value,onInput:B,autofocus:e.autofocus,readonly:M.value,disabled:I.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:h,onBlur:x},p,F),null),[[ia("intersect"),{handler:y},null,{once:!0}]]);return t(X,null,[e.prefix&&t("span",{class:"v-text-field__prefix"},[t("span",{class:"v-text-field__prefix__text"},[e.prefix])]),a.default?t("div",{class:N,"data-no-activator":""},[a.default(),U]):sa(U,{class:N}),e.suffix&&t("span",{class:"v-text-field__suffix"},[t("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:V?$=>{var C;return t(X,null,[(C=a.details)==null?void 0:C.call(a,$),f&&t(X,null,[t("span",null,null),t(Ca,{active:e.persistentCounter||d.value,value:m.value,max:i.value,disabled:e.disabled},a.counter)])])}:void 0})}),ge({},v,_,b)}});export{wa as V,Fa as a,da as b,Ce as c,ue as d,xe as e,_a as m,ga as u};