diff --git a/NearBeach/static/NearBeach/7022.min.js b/NearBeach/static/NearBeach/7022.min.js new file mode 100644 index 000000000..0faff5278 --- /dev/null +++ b/NearBeach/static/NearBeach/7022.min.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunknearbeach=self.webpackChunknearbeach||[]).push([[7022],{8838:(t,e,o)=>{o.d(e,{A:()=>f});var n,s=o(641),a=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],i=function(t){return-1!==a.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())},r=0,l=function(t){var e=Date.now();return t+"_"+Math.floor(1e9*Math.random())+ ++r+String(e)},c=function(t){return void 0===t||""===t?[]:Array.isArray(t)?t:t.split(" ")},d=function(){return{listeners:[],scriptId:l("tiny-script"),scriptLoaded:!1}},u=(n=d(),{load:function(t,e,o){n.scriptLoaded?o():(n.listeners.push(o),t.getElementById(n.scriptId)||function(t,e,o,s){var a=e.createElement("script");a.referrerPolicy="origin",a.type="application/javascript",a.id=t,a.src=o;var i=function(){a.removeEventListener("load",i),n.listeners.forEach((function(t){return t()})),n.scriptLoaded=!0};a.addEventListener("load",i),e.head&&e.head.appendChild(a)}(n.scriptId,t,e))},reinitialize:function(){n=d()}}),m=function(){var t="undefined"!=typeof window?window:o.g;return t&&t.tinymce?t.tinymce:null},g={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],modelValue:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(t){return"html"===t||"text"===t}}},p=o(953),h=function(){return h=Object.assign||function(t){for(var e,o=1,n=arguments.length;o{o.d(e,{A:()=>E});var n=o(641),s=o(33);const a={class:"customer-list"},i=["src"],r={class:"customer-card--details"},l={class:"customer-card--name"},c=["href"],d={class:"customer-card--email"},u={key:0,class:"customer-card--remove"};var m=o(9336),g=o(2321);const p={class:"modal fade",id:"confirmCustomerRemoveModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmCustomerRemove","aria-hidden":"true"},h={class:"modal-dialog"},v={class:"modal-content"},f=(0,n.Lk)("div",{class:"modal-header"},[(0,n.Lk)("h5",{class:"modal-title",id:"confirmCustomerRemove"}," Please confirm Customer Removal "),(0,n.Q3)(" TASK INFORMATION "),(0,n.Lk)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmCustomerRemoveButton"})],-1),b={class:"modal-body"},y={class:"customer-card--details"},L={class:"customer-card--name"},k=["href"],C={class:"customer-card--email"},_={class:"modal-footer"};var I=o(2124);const S={name:"ConfirmCustomerRemoval",emits:["remove_customer"],props:{customerObject:{type:Object,default:()=>({customer_id:0,customer_email:"",customer_first_name:"",customer_last_name:"",customer_profile_picture:""})}},computed:{...(0,I.L8)({destination:"getDestination",locationId:"getLocationId",rootUrl:"getRootUrl"})},methods:{closeModal(){document.getElementById("confirmCustomerRemoveButton").click()},removeCustomer(){const t=new FormData;t.set("customer_id",this.customerObject.customer_id);let e=`${this.rootUrl}object_data/${this.destination}/${this.locationId}/remove_customer/`;"organisation"===this.destination&&(e=`${this.rootUrl}customer_information/${this.locationId}/delete/`),this.axios.post(e,t).then((()=>{this.$emit("remove_customer",this.customerObject.customer_id)})).catch((t=>{this.$store.dispatch("newToast",{header:"Can't remove customer",message:`Sorry, could not remove customer. Error -> ${t}`,extra_classes:"bg-warning text-dark",delay:0})})),this.closeModal()}}};var A=o(6262);const w=(0,A.A)(S,[["render",function(t,e,o,a,i,r){return(0,n.uX)(),(0,n.CE)("div",p,[(0,n.Lk)("div",h,[(0,n.Lk)("div",v,[f,(0,n.Lk)("div",b,[(0,n.Lk)("div",y,[(0,n.Lk)("div",L,[(0,n.Lk)("a",{href:`${t.rootUrl}customer_information/${o.customerObject.customer_id}/`,target:"_blank"},(0,s.toDisplayString)(o.customerObject.customer_first_name)+" "+(0,s.toDisplayString)(o.customerObject.customer_last_name),9,k)]),(0,n.Lk)("div",C,(0,s.toDisplayString)(o.customerObject.customer_email),1)])]),(0,n.Lk)("div",_,[(0,n.Lk)("button",{type:"button",class:"btn btn-secondary",onClick:e[0]||(e[0]=(...t)=>r.closeModal&&r.closeModal(...t))}," No "),(0,n.Lk)("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=(...t)=>r.removeCustomer&&r.removeCustomer(...t))}," Yes ")])])])])}]]);var T=o(2243);const D={name:"CustomersListModule",components:{ConfirmCustomerRemoval:w,Icon:g.In},props:{customerResults:{type:Array,default:()=>[]}},computed:{...(0,I.L8)({destination:"getDestination",locationId:"getLocationId",rootUrl:"getRootUrl",staticUrl:"getStaticUrl",userLevel:"getUserLevel"}),defaultCustomerImage(){return`${this.staticUrl}/NearBeach/images/placeholder/people_tax.svg`}},mixins:[T.A],data:()=>({customerObject:{customer_id:0,customer_email:"",customer_first_name:"",customer_last_name:"",customer_profile_picture:""}}),emits:["remove_customer"],methods:{confirmRemoveCustomer(t){const e=this.customerResults.filter((e=>parseInt(e.pk)===parseInt(t)));1===e.length?(this.customerObject=e.map((t=>({customer_id:t.pk,customer_email:t.fields.customer_email,customer_first_name:t.fields.customer_first_name,customer_last_name:t.fields.customer_last_name,customer_profile_picture:t.fields.customer_profile_picture})))[0],new m.aF(document.getElementById("confirmCustomerRemoveModal")).show()):this.$store.dispatch("newToast",{header:"Error Deleting Customer",message:"Could not select the correct ID of the customer. Something went wrong",extra_classes:"bg-danger",delay:0})},getCustomerImage(t){const e=t.fields.customer_profile_picture;return""===e||null===e?this.defaultCustomerImage:`${this.rootUrl}private/${e}`},removeCustomer(t){this.$emit("remove_customer",t)}}},E=(0,A.A)(D,[["render",function(t,e,o,m,g,p){const h=(0,n.g2)("Icon"),v=(0,n.g2)("confirm-customer-removal");return(0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.Lk)("div",a,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(o.customerResults,(e=>((0,n.uX)(),(0,n.CE)("div",{key:e.pk,class:"customer-card"},[(0,n.Q3)(" CUSOMER PROFILE "),(0,n.Lk)("img",{src:p.getCustomerImage(e),alt:"default profile picture"},null,8,i),(0,n.Q3)(" CUSTOMER DETAILS "),(0,n.Lk)("div",r,[(0,n.Lk)("div",l,[(0,n.Lk)("a",{href:`${t.rootUrl}customer_information/${e.pk}/`},(0,s.toDisplayString)(e.fields.customer_first_name)+" "+(0,s.toDisplayString)(e.fields.customer_last_name),9,c)]),(0,n.Lk)("div",d,[(0,n.bF)(h,{icon:t.icons.mailIcon},null,8,["icon"]),(0,n.eW)(" "+(0,s.toDisplayString)(e.fields.customer_email),1)])]),t.userLevel>=2?((0,n.uX)(),(0,n.CE)("div",u,[(0,n.bF)(h,{icon:t.icons.trashCan,onClick:t=>p.confirmRemoveCustomer(e.pk)},null,8,["icon","onClick"])])):(0,n.Q3)("v-if",!0)])))),128))]),(0,n.bF)(v,{"customer-object":g.customerObject,onRemove_customer:e[0]||(e[0]=t=>p.removeCustomer(t))},null,8,["customer-object"])],64)}]])},2458:(t,e,o)=>{o.d(e,{A:()=>x});var n=o(641),s=o(33);const a=(0,n.Lk)("h2",null,"Assigned Tags",-1),i={class:"text-instructions"},r={class:"tag-list"},l=["onClick"],c={class:"row submit-row"},d={class:"col-md-12"};var u=o(9336),m=o(2321),g=o(2243);const p={class:"modal fade",id:"addTagModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},h={class:"modal-dialog"},v={class:"modal-content"},f={class:"modal-header"},b=(0,n.Lk)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"addTagsCloseButton"},[(0,n.Lk)("span",{"aria-hidden":"true"})],-1),y={class:"modal-body"},L={class:"row"},k={class:"col-md-4"},C=(0,n.Lk)("strong",null,"Add Tag",-1),_={class:"text-instructions"},I={class:"col-md-8"},S=(0,n.Lk)("label",null,"All Tag List",-1),A={class:"modal-footer"},w=(0,n.Lk)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1);var T=o(1080),D=o(2124);const E={name:"AddTagWizard",components:{Icon:m.In,NSelect:T.A},props:{assignedTags:{type:Array,default:()=>[]},destination:{type:String,default:""},locationId:{type:Number,default:0}},mixins:[g.A],data:()=>({allTagList:[],tagModel:[]}),computed:{...(0,D.L8)({rootUrl:"getRootUrl"}),tagList(){return this.allTagList.filter((t=>this.assignedTags.findIndex((e=>e.pk===parseInt(t.value)))<0))}},methods:{addTag(){const t=new FormData;this.tagModel.forEach((e=>{t.append("tag_id",e)})),this.axios.post(`${this.rootUrl}object_data/${this.destination}/${this.locationId}/add_tags/`,t).then((t=>{this.$emit("add_tags",t.data),document.getElementById("addTagsCloseButton").click(),this.tagModel=[]})).catch((t=>{this.$store.dispatch("newToast",{header:"Failed to add tag",message:`Sorry, we could not add tag. Errors -> ${t}`,extra_classes:"bg-danger",delay:0})}))},getTagList(){this.axios.post(`${this.rootUrl}object_data/tag_list_all/`).then((t=>{this.allTagList=t.data.map((t=>({value:t.pk,label:t.fields.tag_name})))})).catch((t=>{this.$store.dispatch("newToast",{header:"Failed to get tag list",message:`Sorry, we could not get the tag list. Errors -> ${t}`,extra_classes:"bg-danger",delay:0})}))}},mounted(){["requirement_item"].indexOf(this.destination)>=0||this.$nextTick((()=>{this.getTagList()}))}};var $=o(6262);const U={name:"ListTagsModule",components:{AddTagWizard:(0,$.A)(E,[["render",function(t,e,o,a,i,r){const l=(0,n.g2)("Icon"),c=(0,n.g2)("n-select");return(0,n.uX)(),(0,n.CE)("div",p,[(0,n.Lk)("div",h,[(0,n.Lk)("div",v,[(0,n.Lk)("div",f,[(0,n.Lk)("h2",null,[(0,n.bF)(l,{icon:t.icons.usersIcon},null,8,["icon"]),(0,n.eW)(" Add Tags Wizard ")]),b]),(0,n.Lk)("div",y,[(0,n.Lk)("div",L,[(0,n.Lk)("div",k,[C,(0,n.Lk)("p",_," Use the dropdown to select one or many lables to add to the "+(0,s.toDisplayString)(o.destination)+". ",1)]),(0,n.Lk)("div",I,[S,(0,n.bF)(c,{label:"tag",multiple:"",options:r.tagList,value:i.tagModel,"onUpdate:value":e[0]||(e[0]=t=>i.tagModel=t)},null,8,["options","value"])])])]),(0,n.Lk)("div",A,[w,(0,n.Lk)("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=(...t)=>r.addTag&&r.addTag(...t))}," Add Tag ")])])])])}]]),Icon:m.In},data:()=>({tagList:[]}),mixins:[g.A],computed:{...(0,D.L8)({destination:"getDestination",locationId:"getLocationId",rootUrl:"getRootUrl",userLevel:"getUserLevel"})},methods:{addTags(t){this.tagList=t},createNewTag(){new u.aF(document.getElementById("addTagModal")).show()},getAssignedTags(){this.axios.post(`${this.rootUrl}object_data/${this.destination}/${this.locationId}/tag_list/`).then((t=>{this.tagList=t.data})).catch((t=>{}))},removeTag(t){const e=new FormData;e.set("tag",t),e.set("object_enum",this.destination),e.set("object_id",this.locationId),this.axios.post(`${this.rootUrl}object_data/delete_tag/`,e).then((e=>{this.tagList=this.tagList.filter((e=>e.pk!==t))})).catch((t=>{}))}},mounted(){["requirement_item"].indexOf(this.destination)>=0||this.$nextTick((()=>{this.getAssignedTags()}))}},x=(0,$.A)(U,[["render",function(t,e,o,u,m,g){const p=(0,n.g2)("Icon"),h=(0,n.g2)("add-tag-wizard");return(0,n.uX)(),(0,n.CE)("div",null,[a,(0,n.Lk)("p",i," Here are all tags associated with this "+(0,s.toDisplayString)(t.destination)+'. You can add more tags by clicking on the "Add Tag" button. ',1),(0,n.Lk)("div",r,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(m.tagList,(e=>((0,n.uX)(),(0,n.CE)("div",{key:e.pk,class:"single-tag",style:(0,s.normalizeStyle)(`background-color: ${e.fields.tag_colour};color: ${e.fields.tag_text_colour};`)},[(0,n.eW)((0,s.toDisplayString)(e.fields.tag_name)+" ",1),t.userLevel>1?((0,n.uX)(),(0,n.CE)("span",{key:0,onClick:t=>g.removeTag(e.pk)},[(0,n.bF)(p,{icon:t.icons.xCircle},null,8,["icon"])],8,l)):(0,n.Q3)("v-if",!0)],4)))),128))]),(0,n.Q3)(" ADD TAG BUTTON "),(0,n.Lk)("div",c,[(0,n.Lk)("div",d,[t.userLevel>1?((0,n.uX)(),(0,n.CE)("a",{key:0,href:"javascript:void(0)",class:"btn btn-primary save-changes",onClick:e[0]||(e[0]=(...t)=>g.createNewTag&&g.createNewTag(...t))},"Add Tag to "+(0,s.toDisplayString)(t.destination),1)):(0,n.Q3)("v-if",!0)])]),(0,n.Q3)(" ADD TAG MODULE "),(0,n.bF)(h,{destination:t.destination,"location-id":t.locationId,"assigned-tags":m.tagList,onAdd_tags:e[1]||(e[1]=t=>g.addTags(t))},null,8,["destination","location-id","assigned-tags"])])}]])},7889:(t,e,o)=>{o.d(e,{A:()=>v});var n=o(641),s=o(33);const a={class:"text-instructions"},i=(0,n.Lk)("hr",null,null,-1),r={class:"row submit-row"},l={class:"col-md-12"};var c=o(9336),d=o(2243),u=o(2321),m=o(6449),g=o(5319),p=o(2124);const h={name:"NotesModule",components:{Icon:u.In,ListNotes:m.A,NewHistoryNoteWizard:g.A},mixins:[d.A],computed:{...(0,p.L8)({destination:"getDestination",locationId:"getLocationId",userLevel:"getUserLevel",rootUrl:"getRootUrl"})},methods:{createNewNote(){new c.aF(document.getElementById("newNoteModal")).show()},getNoteHistoryResults(){let t="note_list";"organisation"===this.destination&&(t="organisation_note_list"),this.axios.post(`${this.rootUrl}object_data/${this.destination}/${this.locationId}/${t}/`).then((t=>{this.$store.commit({type:"initNoteList",noteList:t.data})})).catch((t=>{this.$store.dispatch("newToast",{header:"Error Getting Note History",message:`Can not retrieve the note history. Error -> ${t}`,extra_classes:"bg-danger",delay:0})}))}},mounted(){this.$nextTick((()=>{this.getNoteHistoryResults()}))}},v=(0,o(6262).A)(h,[["render",function(t,e,o,c,d,u){const m=(0,n.g2)("Icon"),g=(0,n.g2)("list-notes");return(0,n.uX)(),(0,n.CE)("div",null,[(0,n.Lk)("h2",null,[(0,n.bF)(m,{icon:t.icons.noteAdd},null,8,["icon"]),(0,n.eW)(" Note History ")]),(0,n.Lk)("p",a," The following are saved notes against this "+(0,s.toDisplayString)(t.destination)+". Add notes by clicking on the button below. ",1),(0,n.bF)(g,{destination:t.destination},null,8,["destination"]),(0,n.Q3)(" ADD NOTE HISTORY "),(0,n.Q3)(" TO DO - limit it to certain users "),i,(0,n.Lk)("div",r,[(0,n.Lk)("div",l,[t.userLevel>1?((0,n.uX)(),(0,n.CE)("button",{key:0,class:"btn btn-primary save-changes",onClick:e[0]||(e[0]=(...t)=>u.createNewNote&&u.createNewNote(...t))}," Add Note to "+(0,s.toDisplayString)(t.destination),1)):(0,n.Q3)("v-if",!0)])])])}]])},469:(t,e,o)=>{o.d(e,{A:()=>f});var n=o(641),s=o(33);const a={class:"object-card-list"},i={class:"object-card--detail"},r=["href"],l={class:"object-card--detail--link"},c={class:"object-card--detail--description"},d={class:"object-card--status"},u=["href"],m={class:"object-card--status--status"},g={class:"small-text"};var p=o(8083),h=o(2124);const v={name:"RenderObjectCard",props:{destination:{type:String,default:""},importVariables:{type:Object,default:()=>({header:"",prefix:"",id:0,title:"",status:""})},searchResults:{type:Array,default:()=>[]}},mixins:[p.A],computed:{...(0,h.L8)({rootUrl:"getRootUrl"})}},f=(0,o(6262).A)(v,[["render",function(t,e,o,p,h,v){return(0,n.uX)(),(0,n.CE)("div",a,[(0,n.Lk)("h2",null,(0,s.toDisplayString)(o.importVariables.header),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(o.searchResults,(e=>((0,n.uX)(),(0,n.CE)("div",{class:"object-card",key:e.pk},[(0,n.Lk)("div",i,[(0,n.Lk)("a",{href:`${t.rootUrl}${o.destination}_information/${e[o.importVariables.id]}/`},[(0,n.Lk)("div",l,(0,s.toDisplayString)(o.importVariables.prefix)+(0,s.toDisplayString)(e[o.importVariables.id]),1),(0,n.Lk)("div",c,(0,s.toDisplayString)(e[o.importVariables.title]),1)],8,r)]),(0,n.Lk)("div",d,[(0,n.Lk)("a",{href:`${t.rootUrl}${o.destination}_information/${e[o.importVariables.id]}/`},[(0,n.Lk)("div",m,(0,s.toDisplayString)(e[o.importVariables.status]),1),(0,n.Lk)("p",g,(0,s.toDisplayString)(t.getNiceDatetime(e[o.importVariables.end_date])),1)],8,u)])])))),128))])}]])}}]); \ No newline at end of file diff --git a/NearBeach/static/NearBeach/7022.min.js.gz b/NearBeach/static/NearBeach/7022.min.js.gz new file mode 100644 index 000000000..c44820595 Binary files /dev/null and b/NearBeach/static/NearBeach/7022.min.js.gz differ diff --git a/NearBeach/static/NearBeach/NearBeach.min.js b/NearBeach/static/NearBeach/NearBeach.min.js index 4be9fbc2d..6e371c6d2 100644 --- a/NearBeach/static/NearBeach/NearBeach.min.js +++ b/NearBeach/static/NearBeach/NearBeach.min.js @@ -1,2 +1,2 @@ /*! For license information please see NearBeach.min.js.LICENSE.txt */ -(()=>{var t,e,r={2506:(t,e,r)=>{"use strict";r.d(e,{Z:()=>o});const o=function(t){for(var e,r=0,o=0,n=t.length;n>=4;++o,n-=4)e=1540483477*(65535&(e=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+(59797*(e>>>16)<<16),r=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(n){case 3:r^=(255&t.charCodeAt(o+2))<<16;case 2:r^=(255&t.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(o)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},5003:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BASE_TRANSITION:()=>p,CAMELIZE:()=>I,CAPITALIZE:()=>z,CREATE_BLOCK:()=>m,CREATE_COMMENT:()=>h,CREATE_ELEMENT_BLOCK:()=>u,CREATE_ELEMENT_VNODE:()=>g,CREATE_SLOTS:()=>A,CREATE_STATIC:()=>x,CREATE_TEXT:()=>v,CREATE_VNODE:()=>f,DOMDirectiveTransforms:()=>Ao,DOMNodeTransforms:()=>Eo,FRAGMENT:()=>s,GUARD_REACTIVE_PROPS:()=>N,IS_MEMO_SAME:()=>q,IS_REF:()=>V,KEEP_ALIVE:()=>d,MERGE_PROPS:()=>T,NORMALIZE_CLASS:()=>j,NORMALIZE_PROPS:()=>P,NORMALIZE_STYLE:()=>L,OPEN_BLOCK:()=>b,POP_SCOPE_ID:()=>$,PUSH_SCOPE_ID:()=>F,RENDER_LIST:()=>S,RENDER_SLOT:()=>E,RESOLVE_COMPONENT:()=>y,RESOLVE_DIRECTIVE:()=>_,RESOLVE_DYNAMIC_COMPONENT:()=>w,RESOLVE_FILTER:()=>k,SET_BLOCK_TRACKING:()=>D,SUSPENSE:()=>c,TELEPORT:()=>l,TO_DISPLAY_STRING:()=>O,TO_HANDLERS:()=>R,TO_HANDLER_KEY:()=>M,TRANSITION:()=>bo,TRANSITION_GROUP:()=>mo,TS_NODE_TYPES:()=>or,UNREF:()=>U,V_MODEL_CHECKBOX:()=>no,V_MODEL_DYNAMIC:()=>so,V_MODEL_RADIO:()=>oo,V_MODEL_SELECT:()=>ao,V_MODEL_TEXT:()=>io,V_ON_WITH_KEYS:()=>co,V_ON_WITH_MODIFIERS:()=>lo,V_SHOW:()=>po,WITH_CTX:()=>B,WITH_DIRECTIVES:()=>C,WITH_MEMO:()=>H,advancePositionWithClone:()=>Ot,advancePositionWithMutation:()=>Tt,assert:()=>jt,baseCompile:()=>eo,baseParse:()=>te,buildDirectiveArgs:()=>Rr,buildProps:()=>Lr,buildSlots:()=>Cr,checkCompatEnabled:()=>Yt,compile:()=>Oo,convertToBlock:()=>ft,createArrayExpression:()=>J,createAssignmentExpression:()=>dt,createBlockStatement:()=>st,createCacheExpression:()=>at,createCallExpression:()=>ot,createCompilerError:()=>a,createCompoundExpression:()=>rt,createConditionalExpression:()=>it,createDOMCompilerError:()=>xo,createForLoopParams:()=>xr,createFunctionExpression:()=>nt,createIfStatement:()=>ct,createInterpolation:()=>et,createObjectExpression:()=>X,createObjectProperty:()=>Q,createReturnStatement:()=>bt,createRoot:()=>Y,createSequenceExpression:()=>pt,createSimpleExpression:()=>tt,createStructuralDirectiveTransform:()=>Me,createTemplateLiteral:()=>lt,createTransformContext:()=>Re,createVNodeCall:()=>K,extractIdentifiers:()=>Qe,findDir:()=>Lt,findProp:()=>Pt,generate:()=>$e,generateCodeFrame:()=>o.generateCodeFrame,getBaseTransformPreset:()=>to,getConstantType:()=>Oe,getInnerRange:()=>At,getMemoedVNodeCall:()=>qt,getVNodeBlockHelper:()=>ut,getVNodeHelper:()=>mt,hasDynamicKeyVBind:()=>Rt,hasScopeRef:()=>Ht,helperNameMap:()=>Z,injectProp:()=>Bt,isBuiltInType:()=>ht,isCoreComponent:()=>vt,isFunctionType:()=>tr,isInDestructureAssignment:()=>Ke,isMemberExpression:()=>Et,isMemberExpressionBrowser:()=>Ct,isMemberExpressionNode:()=>St,isReferencedIdentifier:()=>Ye,isSimpleIdentifier:()=>yt,isSlotOutlet:()=>Dt,isStaticArgOf:()=>Nt,isStaticExp:()=>gt,isStaticProperty:()=>er,isStaticPropertyKey:()=>rr,isTemplateNode:()=>Mt,isText:()=>It,isVSlot:()=>zt,locStub:()=>W,noopDirectiveTransform:()=>ro,parse:()=>To,parserOptions:()=>go,processExpression:()=>ir,processFor:()=>mr,processIf:()=>lr,processSlotOutlet:()=>Mr,registerRuntimeHelpers:()=>G,resolveComponentType:()=>jr,stringifyExpression:()=>ar,toValidAssetId:()=>Vt,trackSlotScopes:()=>wr,trackVForSlotScopes:()=>_r,transform:()=>Ie,transformBind:()=>$r,transformElement:()=>Tr,transformExpression:()=>nr,transformModel:()=>qr,transformOn:()=>Fr,transformStyle:()=>ho,traverseNode:()=>ze,walkBlockDeclarations:()=>Xe,walkFunctionParams:()=>Je,walkIdentifiers:()=>We,warnDeprecation:()=>Kt});var o=r(3577);function n(t){throw t}function i(t){}function a(t,e,r,o){const n=new SyntaxError(String(t));return n.code=t,n.loc=e,n}const s=Symbol(""),l=Symbol(""),c=Symbol(""),d=Symbol(""),p=Symbol(""),b=Symbol(""),m=Symbol(""),u=Symbol(""),f=Symbol(""),g=Symbol(""),h=Symbol(""),v=Symbol(""),x=Symbol(""),y=Symbol(""),w=Symbol(""),_=Symbol(""),k=Symbol(""),C=Symbol(""),S=Symbol(""),E=Symbol(""),A=Symbol(""),O=Symbol(""),T=Symbol(""),j=Symbol(""),L=Symbol(""),P=Symbol(""),N=Symbol(""),R=Symbol(""),I=Symbol(""),z=Symbol(""),M=Symbol(""),D=Symbol(""),F=Symbol(""),$=Symbol(""),B=Symbol(""),U=Symbol(""),V=Symbol(""),H=Symbol(""),q=Symbol(""),Z={[s]:"Fragment",[l]:"Teleport",[c]:"Suspense",[d]:"KeepAlive",[p]:"BaseTransition",[b]:"openBlock",[m]:"createBlock",[u]:"createElementBlock",[f]:"createVNode",[g]:"createElementVNode",[h]:"createCommentVNode",[v]:"createTextVNode",[x]:"createStaticVNode",[y]:"resolveComponent",[w]:"resolveDynamicComponent",[_]:"resolveDirective",[k]:"resolveFilter",[C]:"withDirectives",[S]:"renderList",[E]:"renderSlot",[A]:"createSlots",[O]:"toDisplayString",[T]:"mergeProps",[j]:"normalizeClass",[L]:"normalizeStyle",[P]:"normalizeProps",[N]:"guardReactiveProps",[R]:"toHandlers",[I]:"camelize",[z]:"capitalize",[M]:"toHandlerKey",[D]:"setBlockTracking",[F]:"pushScopeId",[$]:"popScopeId",[B]:"withCtx",[U]:"unref",[V]:"isRef",[H]:"withMemo",[q]:"isMemoSame"};function G(t){Object.getOwnPropertySymbols(t).forEach((e=>{Z[e]=t[e]}))}const W={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y(t,e=W){return{type:0,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:e}}function K(t,e,r,o,n,i,a,s=!1,l=!1,c=!1,d=W){return t&&(s?(t.helper(b),t.helper(ut(t.inSSR,c))):t.helper(mt(t.inSSR,c)),a&&t.helper(C)),{type:13,tag:e,props:r,children:o,patchFlag:n,dynamicProps:i,directives:a,isBlock:s,disableTracking:l,isComponent:c,loc:d}}function J(t,e=W){return{type:17,loc:e,elements:t}}function X(t,e=W){return{type:15,loc:e,properties:t}}function Q(t,e){return{type:16,loc:W,key:(0,o.isString)(t)?tt(t,!0):t,value:e}}function tt(t,e=!1,r=W,o=0){return{type:4,loc:r,content:t,isStatic:e,constType:e?3:o}}function et(t,e){return{type:5,loc:e,content:(0,o.isString)(t)?tt(t,!1,e):t}}function rt(t,e=W){return{type:8,loc:e,children:t}}function ot(t,e=[],r=W){return{type:14,loc:r,callee:t,arguments:e}}function nt(t,e=void 0,r=!1,o=!1,n=W){return{type:18,params:t,returns:e,newline:r,isSlot:o,loc:n}}function it(t,e,r,o=!0){return{type:19,test:t,consequent:e,alternate:r,newline:o,loc:W}}function at(t,e,r=!1){return{type:20,index:t,value:e,isVNode:r,loc:W}}function st(t){return{type:21,body:t,loc:W}}function lt(t){return{type:22,elements:t,loc:W}}function ct(t,e,r){return{type:23,test:t,consequent:e,alternate:r,loc:W}}function dt(t,e){return{type:24,left:t,right:e,loc:W}}function pt(t){return{type:25,expressions:t,loc:W}}function bt(t){return{type:26,returns:t,loc:W}}function mt(t,e){return t||e?f:g}function ut(t,e){return t||e?m:u}function ft(t,{helper:e,removeHelper:r,inSSR:o}){t.isBlock||(t.isBlock=!0,r(mt(o,t.isComponent)),e(b),e(ut(o,t.isComponent)))}const gt=t=>4===t.type&&t.isStatic,ht=(t,e)=>t===e||t===(0,o.hyphenate)(e);function vt(t){return ht(t,"Teleport")?l:ht(t,"Suspense")?c:ht(t,"KeepAlive")?d:ht(t,"BaseTransition")?p:void 0}const xt=/^\d|[^\$\w]/,yt=t=>!xt.test(t),wt=/[A-Za-z_$\xA0-\uFFFF]/,_t=/[\.\?\w$\xA0-\uFFFF]/,kt=/\s+[.[]\s*|\s*[.[]\s+/g,Ct=t=>{t=t.trim().replace(kt,(t=>t.trim()));let e=0,r=[],o=0,n=0,i=null;for(let a=0;a!(7!==t.type||"bind"!==t.name||t.arg&&4===t.arg.type&&t.arg.isStatic)))}function It(t){return 5===t.type||2===t.type}function zt(t){return 7===t.type&&"slot"===t.name}function Mt(t){return 1===t.type&&3===t.tagType}function Dt(t){return 1===t.type&&2===t.tagType}const Ft=new Set([P,N]);function $t(t,e=[]){if(t&&!(0,o.isString)(t)&&14===t.type){const r=t.callee;if(!(0,o.isString)(r)&&Ft.has(r))return $t(t.arguments[0],e.concat(t))}return[t,e]}function Bt(t,e,r){let n,i,a=13===t.type?t.props:t.arguments[2],s=[];if(a&&!(0,o.isString)(a)&&14===a.type){const t=$t(a);a=t[0],s=t[1],i=s[s.length-1]}if(null==a||(0,o.isString)(a))n=X([e]);else if(14===a.type){const t=a.arguments[0];(0,o.isString)(t)||15!==t.type?a.callee===R?n=ot(r.helper(T),[X([e]),a]):a.arguments.unshift(X([e])):Ut(e,t)||t.properties.unshift(e),!n&&(n=a)}else 15===a.type?(Ut(e,a)||a.properties.unshift(e),n=a):(n=ot(r.helper(T),[X([e]),a]),i&&i.callee===N&&(i=s[s.length-2]));13===t.type?i?i.arguments[0]=n:t.props=n:i?i.arguments[0]=n:t.arguments[2]=n}function Ut(t,e){let r=!1;if(4===t.key.type){const o=t.key.content;r=e.properties.some((t=>4===t.key.type&&t.key.content===o))}return r}function Vt(t,e){return`_${e}_${t.replace(/[^\w]/g,((e,r)=>"-"===e?"_":t.charCodeAt(r).toString()))}`}function Ht(t,e){if(!t||0===Object.keys(e).length)return!1;switch(t.type){case 1:for(let r=0;rHt(t,e)));case 11:return!!Ht(t.source,e)||t.children.some((t=>Ht(t,e)));case 9:return t.branches.some((t=>Ht(t,e)));case 10:return!!Ht(t.condition,e)||t.children.some((t=>Ht(t,e)));case 4:return!t.isStatic&&yt(t.content)&&!!e[t.content];case 8:return t.children.some((t=>(0,o.isObject)(t)&&Ht(t,e)));case 5:case 12:return Ht(t.content,e);default:return!1}}function qt(t){return 14===t.type&&t.callee===H?t.arguments[1].returns:t}const Zt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with