iking-web-ui-pro 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(j,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue"),require("element-plus"),require("iking-utils-pro"),require("axios"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus","iking-utils-pro","axios","vuedraggable"],i):(j=typeof globalThis<"u"?globalThis:j||self,i(j.index={},j.Vue,j["element-plus"],j["iking-utils-pro"],j.axios,j.vuedraggable))})(this,function(j,i,A,z,pd,hd){"use strict";var XE=Object.defineProperty;var JE=(j,i,A)=>i in j?XE(j,i,{enumerable:!0,configurable:!0,writable:!0,value:A}):j[i]=A;var Pt=(j,i,A)=>(JE(j,typeof i!="symbol"?i+"":i,A),A);const oe=(t,e)=>{if(t.install=n=>{for(const o of[t,...Object.values(e??{})])n.component(o.name,o)},e)for(const[n,o]of Object.entries(e))t[n]=o;return t},md=Object.prototype.toString,Ti=t=>md.call(t)==="[object Object]",gd={copyValue:(t,e)=>{if(!Ti(t)||!Ti(e))throw new Error("参数异常");return Object.keys(t).forEach(n=>{Reflect.has(e,n)&&(t[n]=e[n])}),t},isObject:Ti};/*! Element Plus Icons Vue v2.3.1 */var _d=i.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),Sr=_d,yd=i.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Ar=yd,bd=i.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),Ed=bd,wd=i.defineComponent({name:"Bottom",__name:"bottom",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),Cd=wd,kd=i.defineComponent({name:"Calendar",__name:"calendar",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),Dr=kd,vd=i.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),xr=vd,Sd=i.defineComponent({name:"Clock",__name:"clock",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),i.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),i.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),Nr=Sd,Ad=i.defineComponent({name:"Close",__name:"close",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Tr=Ad,Dd=i.defineComponent({name:"DCaret",__name:"d-caret",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),xd=Dd,Nd=i.defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),Vr=Nd,Td=i.defineComponent({name:"Delete",__name:"delete",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),on=Td,Vd=i.defineComponent({name:"Document",__name:"document",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Rd=Vd,Id=i.defineComponent({name:"Download",__name:"download",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),Vi=Id,Bd=i.defineComponent({name:"Location",__name:"location",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),i.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),Od=Bd,Md=i.defineComponent({name:"MoreFilled",__name:"more-filled",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Rr=Md,Ld=i.defineComponent({name:"Plus",__name:"plus",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),zd=Ld,Pd=i.defineComponent({name:"QuestionFilled",__name:"question-filled",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),Fd=Pd,$d=i.defineComponent({name:"Refresh",__name:"refresh",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),Ri=$d,Hd=i.defineComponent({name:"Search",__name:"search",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),jd=Hd,Ud=i.defineComponent({name:"Top",__name:"top",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),Wd=Ud,Gd=i.defineComponent({name:"Upload",__name:"upload",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),qd=Gd,Yd=i.defineComponent({name:"User",__name:"user",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),Qd=Yd,Zd=i.defineComponent({name:"View",__name:"view",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),Ir=Zd,Kd=i.defineComponent({name:"WarningFilled",__name:"warning-filled",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Xd=Kd,Jd=i.defineComponent({name:"ZoomIn",__name:"zoom-in",setup(t){return(e,n)=>(i.openBlock(),i.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[i.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),eu=Jd,Be=(t=>(t.input="input",t.area="area",t.number="number",t.select="select",t.date="date",t.datetime="datetime",t.checkbox="checkbox",t.radio="radio",t.treeselect="treeselect",t.choosePerson="choosePerson",t))(Be||{}),Xe=(t=>(t.year="year",t.month="month",t.date="date",t.dates="dates",t.datetime="datetime",t.week="week",t.datetimerange="datetimerange",t.daterange="daterange",t.monthrange="monthrange",t))(Xe||{}),Br=(t=>(t.center="center",t.left="left",t.right="right",t))(Br||{});function tu(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!i.isVNode(t)}const nu=i.defineComponent({name:"IkSearchAuto",props:{list:{required:!0,type:Array,default:()=>[]},shadow:{type:String,default:"never"},immediate:{type:Boolean,default:!0},num:{type:Number,default:4},tab:{type:String,default:""}},emits:["handleChange"],setup(t,{emit:e,expose:n}){const o=i.ref(t.list),{list:r}=t,l=()=>{e("handleChange",o)},a=({key:h,placeholder:b,maxlength:y,minlength:C,disabled:k})=>i.createVNode(A.ElInput,{modelValue:o.value[h],"onUpdate:modelValue":B=>o.value[h]=B,clearable:!0,maxlength:y,minlength:C,disabled:k,onChange:()=>l(),placeholder:b||"全部"},null),s=({key:h,placeholder:b,max:y,min:C,disabled:k,precision:B,step:S=1})=>i.createVNode(A.ElInputNumber,{modelValue:o.value[h],"onUpdate:modelValue":x=>o.value[h]=x,clearable:!0,max:y,min:C,disabled:k,precision:B,step:S,onChange:()=>l(),placeholder:b||"全部"},null),d=({key:h,placeholder:b,disabled:y,options:C,multiple:k=!1,filterable:B=!0})=>i.createVNode(A.ElSelect,{modelValue:o.value[h],"onUpdate:modelValue":S=>o.value[h]=S,clearable:!0,disabled:y,multiple:k,filterable:B,onChange:()=>l(),placeholder:b||"全部"},{default:()=>[C==null?void 0:C.map(S=>i.createVNode(A.ElOption,{key:S.value,label:S.label,value:S.value},null))]}),f=({key:h,disabled:b,options:y})=>i.createVNode(A.ElRadioGroup,{modelValue:o.value[h],"onUpdate:modelValue":C=>o.value[h]=C,disabled:b,onChange:()=>l()},{default:()=>[y==null?void 0:y.map(C=>i.createVNode(A.ElRadio,{key:C.value,label:C.label,value:C.value},null))]}),u=({key:h,disabled:b,options:y,min:C,max:k})=>i.createVNode(A.ElCheckboxGroup,{modelValue:o.value[h],"onUpdate:modelValue":B=>o.value[h]=B,disabled:b,max:k,min:C,onChange:()=>l()},{default:()=>[y==null?void 0:y.map(B=>i.createVNode(A.ElCheckbox,{key:B.value,label:B.label,value:B.value},null))]}),m=({key:h,disabled:b,editable:y=!0,startPlaceholder:C="开始日期",endplaceholder:k="结束日期",dateType:B=Xe.date,format:S,placeholder:x="请选择日期",popperclass:w,rangeSeparator:N="-",defaultValue:D,defaultTime:O,valueFormat:V,disabledDate:L=()=>!1})=>{let H=S;if(!H)switch(B){case Xe.date:case Xe.dates:H="YYYY-MM-DD";break;case Xe.year:H="YYYY";break;case Xe.month:H="YYYY-MM";break;case Xe.week:H="YYYY-MM-DD";break;default:H="YYYY-MM-DD"}return i.createVNode(A.ElDatePicker,{modelValue:o.value[h],"onUpdate:modelValue":I=>o.value[h]=I,onChange:()=>l(),placeholder:x,disabled:b,type:B,editable:y,startPlaceholder:C,endPlaceholder:k,rangeSeparator:N,format:H,popperClass:w,defaultValue:D,defaultTime:O,valueFormat:V,disabledDate:L},null)},p=({key:h,options:b,multiple:y=!1,filterable:C=!0,nodeKey:k="id",props:B,highlightCurrent:S=!0,defaultExpandAll:x=!1,expandOnClickNode:w=!1,placeholder:N="全部",checkOnClickNode:D=!1,showCheckbox:O=!1,checkStrictly:V=!0,defaultCheckedKeys:L=[],currentNodeKey:H="",accordion:I=!1})=>i.createVNode(A.ElTreeSelect,{modelValue:o.value[h],"onUpdate:modelValue":ee=>o.value[h]=ee,data:b,onChange:()=>l(),clearable:!0,multiple:y,props:B,placeholder:N,filterable:C,nodeKey:k,highlightCurrent:S,defaultExpandAll:x,expandOnClickNode:w,checkOnClickNode:D,showCheckbox:O,checkStrictly:V,defaultCheckedKeys:L,currentNodeKey:H,accordion:I},null),c=({key:h,placeholder:b,typeOption:y,_list:C,data:k,handSetChild:B})=>i.createVNode(En,{typeOption:y,list:C,key:h,props:t,data:k,handSetChild:B,placeholder:b},null),_=h=>{switch(h.type){case"":case void 0:case Be.input:return a(h);case Be.number:return s(h);case Be.select:return d(h);case Be.checkbox:return u(h);case Be.radio:return f(h);case Be.date:return m(h);case Be.treeselect:return p(h);case Be.choosePerson:return c(h);default:return i.createVNode(i.Fragment,null,null)}},g=i.computed(()=>{const h=[];return r.forEach((b,y)=>{let C;if(!b)return[];h.push(i.createVNode(A.ElFormItem,{label:b.label,prop:b.key},tu(C=_(b))?C:{default:()=>[C]}))}),h});return()=>i.createVNode(i.Fragment,null,[g.value])}}),iu={class:"ik-head-left"},ou={class:"ik-head-right"},ru=i.defineComponent({__name:"IKSearchHead",props:{rowData:{type:Array,default:()=>[]}},emits:["import","export","delete"],setup(t,{emit:e}){const n=e;return(o,r)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["ik-head",t.rowData.length===0?"pack-up":"ik-unfold"])},[i.createElementVNode("div",iu,i.toDisplayString(`已选${t.rowData.length}条数据`),1),i.createElementVNode("div",ou,[i.createVNode(i.unref(A.ElButton),{class:"ik-head-icon",title:"查询",icon:i.unref(on),onClick:r[0]||(r[0]=l=>n("delete",t.rowData))},null,8,["icon"]),i.createVNode(i.unref(A.ElButton),{class:"ik-head-icon",title:"导入",icon:i.unref(Wd),onClick:r[1]||(r[1]=l=>n("import",t.rowData))},null,8,["icon"]),i.createVNode(i.unref(A.ElButton),{class:"ik-head-icon",title:"导出",icon:i.unref(Cd),onClick:r[2]||(r[2]=l=>n("export",t.rowData))},null,8,["icon"])])],2))}}),t4="",n4="",K=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Or=K(ru,[["__scopeId","data-v-251f2b3d"]]),lu={class:"ik-pack"},au=i.defineComponent({__name:"IKSearch",props:{enter:{type:Boolean,default:!0},minSpan:{type:Number,default:6},inline:{type:Boolean,default:!0},model:{type:Object,default:()=>{}},formRef:{type:Object,default:null},labelWidth:{type:Number,default:100},statusIcon:{type:Boolean,default:!1},title:{type:String,default:""},shadow:{type:String,default:"never"},showSearch:{type:Boolean,default:!0},list:{type:Array,default:()=>[]},rowData:{type:Array,default:()=>[]},num:{type:Number,default:4}},emits:["refresh","search","update:formRef","import","export","delete"],setup(t,{emit:e}){const n=t,o=e,r={},l={},a=i.ref([]),s=i.ref({...l}),d=i.ref(null),f=i.ref(!1);i.watch(a,(c,_)=>{const g=_.filter(h=>!c.includes(h));if(g.length){let h=!1;g.forEach(b=>{s.value[b]!==void 0&&(h=!0),s.value[b]=void 0}),h&&o("search",s.value)}}),n.list.forEach((c,_)=>{l[c.key]=l[c.value],_<n.num&&(r[c.key]=r[c.value],a.value.push(c.key))});const u=i.computed(()=>a.value.map(c=>n.list.find(_=>_.key===c)));i.computed(()=>{const{minSpan:c}=n;return u.value.length<4?c>8||c>6?c:6:c});const m=()=>{var c;try{(c=d.value)==null||c.resetFields(),o("refresh"),o("search",s.value)}catch{}},p=()=>{f.value=!f.value};return(c,_)=>(i.openBlock(),i.createElementBlock("div",null,[i.createVNode(Or,{rowData:n.rowData,onDelete:_[0]||(_[0]=g=>o("delete",t.rowData)),onImport:_[1]||(_[1]=g=>o("import",t.rowData)),onExport:_[2]||(_[2]=g=>o("export",t.rowData))},null,8,["rowData"]),i.createVNode(i.unref(A.ElCard),{class:i.normalizeClass(["gl-search-card",f.value?"pack-up-search":"ik-unfold-search"]),shadow:t.shadow},i.createSlots({default:i.withCtx(()=>[i.createVNode(i.unref(A.ElForm),{ref_key:"_formRef",ref:d,inline:t.inline,model:s.value,"status-icon":t.statusIcon,"label-width":`${t.labelWidth}px`,class:"in-label",onKeydown:_[5]||(_[5]=i.withKeys(i.withModifiers(g=>o("search",s.value),["prevent"]),["enter"]))},{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElRow),{gutter:10},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(u.value,(g,h)=>(i.openBlock(),i.createBlock(i.unref(A.ElCol),{key:h,class:i.normalizeClass(["el-col","el-col-24",`el-col-sm-${12*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-md-${8*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-lg-${6*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-xl-${4*(g.col||1)*(h===u.value.length-1?2:1)}`,"is-guttered","el-col-4",`el-col-l-${4*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-sl-${5*(g.col||1)*(h===u.value.length-1?2:1)}`,`${h===u.value.length-1?"last-col":""}`].join(" "))},{default:i.withCtx(()=>[i.createElementVNode("div",{class:i.normalizeClass(["last-with-btn",h===u.value.length-1?"last-form":""])},[g!=null&&g.slot?i.renderSlot(c.$slots,g==null?void 0:g.slot,{key:0},void 0,!0):i.createCommentVNode("v-if",!0),g!=null&&g.slot?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createBlock(i.unref(nu),{key:1,onHandleChange:_[3]||(_[3]=b=>o("search",s.value)),list:[t.list[h]]},null,8,["list"])),h+1===u.value.length?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[t.showSearch?(i.openBlock(),i.createBlock(i.unref(A.ElButton),{key:0,class:"icon-more el-icon ml",title:"查询",icon:i.unref(jd),onClick:_[4]||(_[4]=b=>o("search",s.value))},null,8,["icon"])):i.createCommentVNode("v-if",!0),i.createVNode(i.unref(A.ElButton),{icon:i.unref(Ri),class:"icon-more el-icon ml",title:"重置",onClick:m},null,8,["icon"]),i.createCommentVNode(` <el-popover\r
1
+ (function(j,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("element-plus"),require("iking-utils-pro"),require("axios"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus","iking-utils-pro","axios","vuedraggable"],o):(j=typeof globalThis<"u"?globalThis:j||self,o(j.index={},j.Vue,j["element-plus"],j["iking-utils-pro"],j.axios,j.vuedraggable))})(this,function(j,o,A,z,pd,hd){"use strict";var t4=Object.defineProperty;var n4=(j,o,A)=>o in j?t4(j,o,{enumerable:!0,configurable:!0,writable:!0,value:A}):j[o]=A;var Pt=(j,o,A)=>(n4(j,typeof o!="symbol"?o+"":o,A),A);const oe=(t,e)=>{if(t.install=n=>{for(const i of[t,...Object.values(e??{})])n.component(i.name,i)},e)for(const[n,i]of Object.entries(e))t[n]=i;return t},md=Object.prototype.toString,Vo=t=>md.call(t)==="[object Object]",gd={copyValue:(t,e)=>{if(!Vo(t)||!Vo(e))throw new Error("参数异常");return Object.keys(t).forEach(n=>{Reflect.has(e,n)&&(t[n]=e[n])}),t},isObject:Vo};/*! Element Plus Icons Vue v2.3.1 */var _d=o.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),Ar=_d,yd=o.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Dr=yd,bd=o.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),Ed=bd,wd=o.defineComponent({name:"Bottom",__name:"bottom",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),Cd=wd,kd=o.defineComponent({name:"Calendar",__name:"calendar",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),xr=kd,vd=o.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),Nr=vd,Sd=o.defineComponent({name:"Clock",__name:"clock",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),o.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),o.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),Tr=Sd,Ad=o.defineComponent({name:"Close",__name:"close",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Vr=Ad,Dd=o.defineComponent({name:"DCaret",__name:"d-caret",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),xd=Dd,Nd=o.defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),Rr=Nd,Td=o.defineComponent({name:"Delete",__name:"delete",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),on=Td,Vd=o.defineComponent({name:"Document",__name:"document",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Rd=Vd,Id=o.defineComponent({name:"Download",__name:"download",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),Ro=Id,Bd=o.defineComponent({name:"Location",__name:"location",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),o.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),Od=Bd,Md=o.defineComponent({name:"MoreFilled",__name:"more-filled",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),Ir=Md,Ld=o.defineComponent({name:"Plus",__name:"plus",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),zd=Ld,Pd=o.defineComponent({name:"QuestionFilled",__name:"question-filled",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),Fd=Pd,$d=o.defineComponent({name:"Refresh",__name:"refresh",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),Io=$d,Hd=o.defineComponent({name:"Search",__name:"search",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),jd=Hd,Ud=o.defineComponent({name:"Top",__name:"top",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),Wd=Ud,Gd=o.defineComponent({name:"Upload",__name:"upload",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),qd=Gd,Yd=o.defineComponent({name:"User",__name:"user",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),Qd=Yd,Zd=o.defineComponent({name:"View",__name:"view",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),Br=Zd,Kd=o.defineComponent({name:"WarningFilled",__name:"warning-filled",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Xd=Kd,Jd=o.defineComponent({name:"ZoomIn",__name:"zoom-in",setup(t){return(e,n)=>(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[o.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),eu=Jd,Be=(t=>(t.input="input",t.area="area",t.number="number",t.select="select",t.date="date",t.datetime="datetime",t.checkbox="checkbox",t.radio="radio",t.treeselect="treeselect",t.choosePerson="choosePerson",t))(Be||{}),Xe=(t=>(t.year="year",t.month="month",t.date="date",t.dates="dates",t.datetime="datetime",t.week="week",t.datetimerange="datetimerange",t.daterange="daterange",t.monthrange="monthrange",t))(Xe||{}),Or=(t=>(t.center="center",t.left="left",t.right="right",t))(Or||{});function tu(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o.isVNode(t)}const nu=o.defineComponent({name:"IkSearchAuto",props:{list:{required:!0,type:Array,default:()=>[]},shadow:{type:String,default:"never"},immediate:{type:Boolean,default:!0},num:{type:Number,default:4},tab:{type:String,default:""}},emits:["handleChange"],setup(t,{emit:e,expose:n}){const i=o.ref(t.list),{list:r}=t,l=()=>{e("handleChange",i)},a=({key:h,placeholder:b,maxlength:y,minlength:C,disabled:k})=>o.createVNode(A.ElInput,{modelValue:i.value[h],"onUpdate:modelValue":B=>i.value[h]=B,clearable:!0,maxlength:y,minlength:C,disabled:k,onChange:()=>l(),placeholder:b||"全部"},null),s=({key:h,placeholder:b,max:y,min:C,disabled:k,precision:B,step:S=1})=>o.createVNode(A.ElInputNumber,{modelValue:i.value[h],"onUpdate:modelValue":x=>i.value[h]=x,clearable:!0,max:y,min:C,disabled:k,precision:B,step:S,onChange:()=>l(),placeholder:b||"全部"},null),d=({key:h,placeholder:b,disabled:y,options:C,multiple:k=!1,filterable:B=!0})=>o.createVNode(A.ElSelect,{modelValue:i.value[h],"onUpdate:modelValue":S=>i.value[h]=S,clearable:!0,disabled:y,multiple:k,filterable:B,onChange:()=>l(),placeholder:b||"全部"},{default:()=>[C==null?void 0:C.map(S=>o.createVNode(A.ElOption,{key:S.value,label:S.label,value:S.value},null))]}),f=({key:h,disabled:b,options:y})=>o.createVNode(A.ElRadioGroup,{modelValue:i.value[h],"onUpdate:modelValue":C=>i.value[h]=C,disabled:b,onChange:()=>l()},{default:()=>[y==null?void 0:y.map(C=>o.createVNode(A.ElRadio,{key:C.value,label:C.label,value:C.value},null))]}),u=({key:h,disabled:b,options:y,min:C,max:k})=>o.createVNode(A.ElCheckboxGroup,{modelValue:i.value[h],"onUpdate:modelValue":B=>i.value[h]=B,disabled:b,max:k,min:C,onChange:()=>l()},{default:()=>[y==null?void 0:y.map(B=>o.createVNode(A.ElCheckbox,{key:B.value,label:B.label,value:B.value},null))]}),m=({key:h,disabled:b,editable:y=!0,startPlaceholder:C="开始日期",endplaceholder:k="结束日期",dateType:B=Xe.date,format:S,placeholder:x="请选择日期",popperclass:w,rangeSeparator:N="-",defaultValue:D,defaultTime:O,valueFormat:V,disabledDate:L=()=>!1})=>{let H=S;if(!H)switch(B){case Xe.date:case Xe.dates:H="YYYY-MM-DD";break;case Xe.year:H="YYYY";break;case Xe.month:H="YYYY-MM";break;case Xe.week:H="YYYY-MM-DD";break;default:H="YYYY-MM-DD"}return o.createVNode(A.ElDatePicker,{modelValue:i.value[h],"onUpdate:modelValue":I=>i.value[h]=I,onChange:()=>l(),placeholder:x,disabled:b,type:B,editable:y,startPlaceholder:C,endPlaceholder:k,rangeSeparator:N,format:H,popperClass:w,defaultValue:D,defaultTime:O,valueFormat:V,disabledDate:L},null)},p=({key:h,options:b,multiple:y=!1,filterable:C=!0,nodeKey:k="id",props:B,highlightCurrent:S=!0,defaultExpandAll:x=!1,expandOnClickNode:w=!1,placeholder:N="全部",checkOnClickNode:D=!1,showCheckbox:O=!1,checkStrictly:V=!0,defaultCheckedKeys:L=[],currentNodeKey:H="",accordion:I=!1})=>o.createVNode(A.ElTreeSelect,{modelValue:i.value[h],"onUpdate:modelValue":ee=>i.value[h]=ee,data:b,onChange:()=>l(),clearable:!0,multiple:y,props:B,placeholder:N,filterable:C,nodeKey:k,highlightCurrent:S,defaultExpandAll:x,expandOnClickNode:w,checkOnClickNode:D,showCheckbox:O,checkStrictly:V,defaultCheckedKeys:L,currentNodeKey:H,accordion:I},null),c=({key:h,placeholder:b,typeOption:y,_list:C,data:k,handSetChild:B})=>o.createVNode(En,{typeOption:y,list:C,key:h,props:t,data:k,handSetChild:B,placeholder:b},null),_=h=>{switch(h.type){case"":case void 0:case Be.input:return a(h);case Be.number:return s(h);case Be.select:return d(h);case Be.checkbox:return u(h);case Be.radio:return f(h);case Be.date:return m(h);case Be.treeselect:return p(h);case Be.choosePerson:return c(h);default:return o.createVNode(o.Fragment,null,null)}},g=o.computed(()=>{const h=[];return r.forEach((b,y)=>{let C;if(!b)return[];h.push(o.createVNode(A.ElFormItem,{label:b.label,prop:b.key},tu(C=_(b))?C:{default:()=>[C]}))}),h});return()=>o.createVNode(o.Fragment,null,[g.value])}}),ou={class:"ik-head-left"},iu={class:"ik-head-right"},ru=o.defineComponent({__name:"IKSearchHead",props:{rowData:{type:Array,default:()=>[]}},emits:["import","export","delete"],setup(t,{emit:e}){const n=e;return(i,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["ik-head",t.rowData.length===0?"pack-up":"ik-unfold"])},[o.createElementVNode("div",ou,o.toDisplayString(`已选${t.rowData.length}条数据`),1),o.createElementVNode("div",iu,[o.createVNode(o.unref(A.ElButton),{class:"ik-head-icon",title:"查询",icon:o.unref(on),onClick:r[0]||(r[0]=l=>n("delete",t.rowData))},null,8,["icon"]),o.createVNode(o.unref(A.ElButton),{class:"ik-head-icon",title:"导入",icon:o.unref(Wd),onClick:r[1]||(r[1]=l=>n("import",t.rowData))},null,8,["icon"]),o.createVNode(o.unref(A.ElButton),{class:"ik-head-icon",title:"导出",icon:o.unref(Cd),onClick:r[2]||(r[2]=l=>n("export",t.rowData))},null,8,["icon"])])],2))}}),i4="",r4="",K=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n},Mr=K(ru,[["__scopeId","data-v-251f2b3d"]]),lu={class:"ik-pack"},au=o.defineComponent({__name:"IKSearch",props:{enter:{type:Boolean,default:!0},minSpan:{type:Number,default:6},inline:{type:Boolean,default:!0},model:{type:Object,default:()=>{}},formRef:{type:Object,default:null},labelWidth:{type:Number,default:100},statusIcon:{type:Boolean,default:!1},title:{type:String,default:""},shadow:{type:String,default:"never"},showSearch:{type:Boolean,default:!0},list:{type:Array,default:()=>[]},rowData:{type:Array,default:()=>[]},num:{type:Number,default:4}},emits:["refresh","search","update:formRef","import","export","delete"],setup(t,{emit:e}){const n=t,i=e,r={},l={},a=o.ref([]),s=o.ref({...l}),d=o.ref(null),f=o.ref(!1);o.watch(a,(c,_)=>{const g=_.filter(h=>!c.includes(h));if(g.length){let h=!1;g.forEach(b=>{s.value[b]!==void 0&&(h=!0),s.value[b]=void 0}),h&&i("search",s.value)}}),n.list.forEach((c,_)=>{l[c.key]=l[c.value],_<n.num&&(r[c.key]=r[c.value],a.value.push(c.key))});const u=o.computed(()=>a.value.map(c=>n.list.find(_=>_.key===c)));o.computed(()=>{const{minSpan:c}=n;return u.value.length<4?c>8||c>6?c:6:c});const m=()=>{var c;try{(c=d.value)==null||c.resetFields(),i("refresh"),i("search",s.value)}catch{}},p=()=>{f.value=!f.value};return(c,_)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(Mr,{rowData:n.rowData,onDelete:_[0]||(_[0]=g=>i("delete",t.rowData)),onImport:_[1]||(_[1]=g=>i("import",t.rowData)),onExport:_[2]||(_[2]=g=>i("export",t.rowData))},null,8,["rowData"]),o.createVNode(o.unref(A.ElCard),{class:o.normalizeClass(["gl-search-card",f.value?"pack-up-search":"ik-unfold-search"]),shadow:t.shadow},o.createSlots({default:o.withCtx(()=>[o.createVNode(o.unref(A.ElForm),{ref_key:"_formRef",ref:d,inline:t.inline,model:s.value,"status-icon":t.statusIcon,"label-width":`${t.labelWidth}px`,class:"in-label",onKeydown:_[5]||(_[5]=o.withKeys(o.withModifiers(g=>i("search",s.value),["prevent"]),["enter"]))},{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElRow),{gutter:10},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(g,h)=>(o.openBlock(),o.createBlock(o.unref(A.ElCol),{key:h,class:o.normalizeClass(["el-col","el-col-24",`el-col-sm-${12*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-md-${8*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-lg-${6*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-xl-${4*(g.col||1)*(h===u.value.length-1?2:1)}`,"is-guttered","el-col-4",`el-col-l-${4*(g.col||1)*(h===u.value.length-1?2:1)}`,`el-col-sl-${5*(g.col||1)*(h===u.value.length-1?2:1)}`,`${h===u.value.length-1?"last-col":""}`].join(" "))},{default:o.withCtx(()=>[o.createElementVNode("div",{class:o.normalizeClass(["last-with-btn",h===u.value.length-1?"last-form":""])},[g!=null&&g.slot?o.renderSlot(c.$slots,g==null?void 0:g.slot,{key:0},void 0,!0):o.createCommentVNode("v-if",!0),g!=null&&g.slot?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.unref(nu),{key:1,onHandleChange:_[3]||(_[3]=b=>i("search",s.value)),list:[t.list[h]]},null,8,["list"])),h+1===u.value.length?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[t.showSearch?(o.openBlock(),o.createBlock(o.unref(A.ElButton),{key:0,class:"icon-more el-icon ml",title:"查询",icon:o.unref(jd),onClick:_[4]||(_[4]=b=>i("search",s.value))},null,8,["icon"])):o.createCommentVNode("v-if",!0),o.createVNode(o.unref(A.ElButton),{icon:o.unref(Io),class:"icon-more el-icon ml",title:"重置",onClick:m},null,8,["icon"]),o.createCommentVNode(` <el-popover\r
2
2
  placement="right"\r
3
3
  popper-class="gl-search-form-popper"\r
4
4
  width="100"\r
@@ -23,20 +23,20 @@
23
23
  </el-checkbox>\r
24
24
  </el-checkbox-group>\r
25
25
  </template>\r
26
- </el-popover> `)],64)):i.createCommentVNode("v-if",!0)],2)]),_:2},1032,["class"]))),128))]),_:3})]),_:3},8,["inline","model","status-icon","label-width"])]),_:2},[t.title?{name:"header",fn:i.withCtx(()=>[i.createElementVNode("h2",null,i.toDisplayString(t.title),1)]),key:"0"}:void 0]),1032,["class","shadow"]),i.createElementVNode("div",lu,[i.createElementVNode("div",{class:"ik-pack-up",onClick:p},[i.createVNode(i.unref(A.ElIcon),{size:"16"},{default:i.withCtx(()=>[i.withDirectives(i.createVNode(i.unref(Ed),null,null,512),[[i.vShow,!f.value]])]),_:1})])])]))}}),i4="",o4="",su=oe(K(au,[["__scopeId","data-v-403809ec"]])),cu=oe(Or),du={class:"content"},uu={class:"top"},fu=["onClick"],pu=["id"],hu=["onClick"],mu=i.defineComponent({__name:"IKVerticalStepBar",props:{active:{type:String,default:""},list:{type:Array,default:()=>[]},needClick:{type:Boolean,default:!1},propsField:{type:Object,default:()=>({name:"name",children:"children"})}},emits:["click","update:active"],setup(t,{emit:e}){const n=t,o=e,r=i.computed(()=>Number(n.active.indexOf("-")>0?n.active.split("-")[0]:n.active)),l=i.computed(()=>n.active.indexOf("-")>0?Number(n.active.split("-")[1]):0),a=p=>{let c="",_=p+1;return _<r.value?c="before-bg":_===r.value?c="active-bg":_>r.value&&(c="after-bg"),`${c} index`},s=p=>{let c="",_=p+1;return _<r.value?c="before-text":_===r.value?c="active-text":_>r.value&&(c="after-text"),`${c} text`},d=p=>{let c="",_=p+1;return _<r.value?c="before-style":_<n.list.length&&(c="after-style"),`${c} bottom`},f=(p,c)=>{let _="",g=p+1,h=c+1;return g<r.value?_="before-text":g===r.value?h<l.value?_="before-text":h===l.value?_="active-text":h>l.value&&(_="after-text"):g>r.value&&(_="after-text"),`${_} child-text`},u=(p,c)=>{n.needClick&&(p[n.propsField.children]||(o("update:active",c+""),o("click",p)))},m=(p,c)=>{p.show=!p.show;let _=document.getElementById(`children${c}`);p.show?_.style.display="none":_.style.display="block"};return(p,c)=>(i.openBlock(),i.createElementBlock("div",du,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.list,(_,g)=>{var h,b;return i.openBlock(),i.createElementBlock("div",{class:"line-block",key:g},[i.createElementVNode("div",uu,[i.createElementVNode("div",{class:i.normalizeClass(a(g))},i.toDisplayString(g+1),3),i.createElementVNode("div",{class:i.normalizeClass(s(g)),style:i.normalizeStyle(t.needClick?"cursor: pointer;":""),onClick:y=>u(_,g+1)},[i.createTextVNode(i.toDisplayString(_[t.propsField.name])+" ",1),i.createCommentVNode(` <i\r
26
+ </el-popover> `)],64)):o.createCommentVNode("v-if",!0)],2)]),_:2},1032,["class"]))),128))]),_:3})]),_:3},8,["inline","model","status-icon","label-width"])]),_:2},[t.title?{name:"header",fn:o.withCtx(()=>[o.createElementVNode("h2",null,o.toDisplayString(t.title),1)]),key:"0"}:void 0]),1032,["class","shadow"]),o.createElementVNode("div",lu,[o.createElementVNode("div",{class:"ik-pack-up",onClick:p},[o.createVNode(o.unref(A.ElIcon),{size:"16"},{default:o.withCtx(()=>[o.withDirectives(o.createVNode(o.unref(Ed),null,null,512),[[o.vShow,!f.value]])]),_:1})])])]))}}),l4="",a4="",su=oe(K(au,[["__scopeId","data-v-403809ec"]])),cu=oe(Mr),du={class:"content"},uu={class:"top"},fu=["onClick"],pu=["id"],hu=["onClick"],mu=o.defineComponent({__name:"IKVerticalStepBar",props:{active:{type:String,default:""},list:{type:Array,default:()=>[]},needClick:{type:Boolean,default:!1},propsField:{type:Object,default:()=>({name:"name",children:"children"})}},emits:["click","update:active"],setup(t,{emit:e}){const n=t,i=e,r=o.computed(()=>Number(n.active.indexOf("-")>0?n.active.split("-")[0]:n.active)),l=o.computed(()=>n.active.indexOf("-")>0?Number(n.active.split("-")[1]):0),a=p=>{let c="",_=p+1;return _<r.value?c="before-bg":_===r.value?c="active-bg":_>r.value&&(c="after-bg"),`${c} index`},s=p=>{let c="",_=p+1;return _<r.value?c="before-text":_===r.value?c="active-text":_>r.value&&(c="after-text"),`${c} text`},d=p=>{let c="",_=p+1;return _<r.value?c="before-style":_<n.list.length&&(c="after-style"),`${c} bottom`},f=(p,c)=>{let _="",g=p+1,h=c+1;return g<r.value?_="before-text":g===r.value?h<l.value?_="before-text":h===l.value?_="active-text":h>l.value&&(_="after-text"):g>r.value&&(_="after-text"),`${_} child-text`},u=(p,c)=>{n.needClick&&(p[n.propsField.children]||(i("update:active",c+""),i("click",p)))},m=(p,c)=>{p.show=!p.show;let _=document.getElementById(`children${c}`);p.show?_.style.display="none":_.style.display="block"};return(p,c)=>(o.openBlock(),o.createElementBlock("div",du,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.list,(_,g)=>{var h,b;return o.openBlock(),o.createElementBlock("div",{class:"line-block",key:g},[o.createElementVNode("div",uu,[o.createElementVNode("div",{class:o.normalizeClass(a(g))},o.toDisplayString(g+1),3),o.createElementVNode("div",{class:o.normalizeClass(s(g)),style:o.normalizeStyle(t.needClick?"cursor: pointer;":""),onClick:y=>u(_,g+1)},[o.createTextVNode(o.toDisplayString(_[t.propsField.name])+" ",1),o.createCommentVNode(` <i\r
27
27
  v-if="item[propsField.children]?.length && !item.show"\r
28
28
  class="ikapprove icon-a-putongjiantouzhankai"\r
29
29
  @click="changeShow(item, index)"\r
30
- ></i> `),(h=_[t.propsField.children])!=null&&h.length&&!_.show?(i.openBlock(),i.createBlock(i.unref(fe),{key:0,class:"ikapprove",onClick:y=>m(_,g),name:"iksvg_zhankai"},null,8,["onClick"])):i.createCommentVNode("v-if",!0),i.createCommentVNode(` <i\r
30
+ ></i> `),(h=_[t.propsField.children])!=null&&h.length&&!_.show?(o.openBlock(),o.createBlock(o.unref(ue),{key:0,class:"ikapprove",onClick:y=>m(_,g),name:"iksvg_zhankai"},null,8,["onClick"])):o.createCommentVNode("v-if",!0),o.createCommentVNode(` <i\r
31
31
  v-if="item[propsField.children]?.length && item.show"\r
32
32
  @click="changeShow(item, index)"\r
33
33
  class="ikapprove icon-a-putongjiantoushouqi"\r
34
- ></i> `),(b=_[t.propsField.children])!=null&&b.length&&_.show?(i.openBlock(),i.createBlock(i.unref(fe),{key:1,class:"ikapprove",onClick:y=>m(_,g),name:"iksvg_shouqi"},null,8,["onClick"])):i.createCommentVNode("v-if",!0)],14,fu)]),i.createElementVNode("ul",{class:i.normalizeClass(d(g))},[i.createElementVNode("div",{id:`children${g}`},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_[t.propsField.children],(y,C)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(f(g,C)),style:i.normalizeStyle(t.needClick?"cursor: pointer;":""),key:C,onClick:k=>u(y,g+1+"-"+(C+1))},i.toDisplayString(y.name),15,hu))),128))],8,pu)],2)])}),128))]))}}),l4="",gu=oe(K(mu,[["__scopeId","data-v-240cff4f"]])),s4="",Ii=t=>(i.pushScopeId("data-v-41886e6b"),t=t(),i.popScopeId(),t),_u={class:"approveProcess",id:"approveProcess"},yu=["id"],bu={class:"topBlock"},Eu={class:"left"},wu={class:"nodeBg"},Cu=["src"],ku={class:"right"},vu={class:"topInfo"},Su={key:0},Au={key:0,class:"main-text"},Du={class:"name"},xu={key:0},Nu={key:0},Tu={key:1},Vu=Ii(()=>i.createElementVNode("span",{class:"red",style:{margin:"0px 5px"}},"退回至",-1)),Ru={key:0},Iu={key:0},Bu={key:1},Ou={key:1},Mu=Ii(()=>i.createElementVNode("div",{class:"main-text"},"抄送人员",-1)),Lu={class:"name"},zu={key:0},Pu={style:{color:"#000"}},Fu={class:"blue",style:{"margin-left":"5px","font-size":"12px"}},$u={key:1},Hu={key:0,class:"blue",style:{"font-size":"12px"}},ju={key:1},Uu={key:0,class:"blue",style:{"font-size":"12px"}},Wu={key:1,class:"blue",style:{"font-size":"12px"}},Gu={class:"time"},qu={key:0},Yu={key:1},Qu=["onClick"],Zu=["onClick"],Ku={key:0,class:"opinion"},Xu={key:0},Ju={key:1},ef=Ii(()=>i.createElementVNode("span",null,"添加审批人",-1)),tf={style:{color:"var(--el-text-color-primary)","margin-left":"8px"}},nf={key:1,class:"annex"},of=["onClick"],rf={class:"text"},lf={class:"fileName"},af={class:"size"},sf={key:2,class:"annexImage"},cf={key:3,class:"approveList"},df={class:"nodeBg-list"},uf=["src"],ff={key:1,class:"ikapprove ikapprove-duihao2 green read"},pf=["title"],hf={name:"IkingApprovalProcessDetail"},mf=i.defineComponent({...hf,props:{local:{type:Boolean,default:!1},defaultStatus:{type:Object,default:()=>({})},defaultNodeType:{type:Object,default:()=>({})},dataList:{type:Array,default:()=>[]},defaultFieldMap:{type:Object,default:()=>({})},returnNode:{type:Array,default:()=>[]},fileUrl:{type:String,default:""}},emits:["preview"],setup(t,{emit:e}){const n=t,o=i.reactive({nodeType:{发起人节点:"1",审批节点:"2",办理节点:"3",抄送节点:"4",...n.defaultNodeType},statusOption:{发起:"1",等待:"2",同意:"3",拒绝:"4",转交:"5",加签:"6",退回:"7",撤销:"8",评论:"9",...n.defaultStatus},listData:[],defaultFile:{id:"id",nodeId:"nodeId",nodeType:"nodeType",nodeTypeName:"nodeTypeName",approveStatus:"approveStatus",approveStatusName:"approveStatusName",originator:"originator",operationTime:"operationTime",approveType:"approveType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approveOpinion:"approveOpinion",countersignPer:"countersignPer",backToRecordNodeName:"backToRecordNodeName",attachment:"attachment",attachmentParam:{id:"id",originName:"originName",url:"url",suffix:"suffix",size:"size"},attachmentImg:"attachmentImg",returnNode:"returnNode",returnNodeName:"returnNodeName",lineType:"lineType",allRead:"allRead",read:"read",approvePersonList:[{id:"id",name:"name",approveState:"approveState",approveTime:"approveTime",approveOpinion:"approveOpinion",userAvatar:"userAvatar",accomplish:"accomplish"}],...n.defaultFieldMap}});i.watch(()=>n.dataList,c=>{c&&(i.nextTick(()=>{o.listData=c}),setTimeout(()=>{n.returnNode.length&&r()},500))},{deep:!0}),i.onMounted(()=>{n.dataList.length&&(o.listData=n.dataList,setTimeout(()=>{n.returnNode.length&&r()},500))});const r=()=>{let c=null;if(n!=null&&n.returnNode)for(c of n==null?void 0:n.returnNode){if(isNaN(c[1]))return;let _=Array.from(new Array(c[1]+1).keys()).slice(c[0]);i.nextTick(()=>{l(_)})}},l=c=>{var k,B,S;let _=document.createElement("div"),g=document.getElementById("approveProcess"),h=0,b=(k=document.getElementById(`${c[0]}`))==null?void 0:k.offsetWidth,y=(B=document.getElementById(`${c[0]}`))==null?void 0:B.offsetLeft,C=(S=document.getElementById(`${c[0]}`))==null?void 0:S.offsetTop;c.forEach(x=>{let w=document.getElementById(`${x}`);h+=w.offsetHeight}),setTimeout(()=>{_.style.width=b+32+"px",_.style.height=h+"px",_.style.background="#f9f9f9",_.style.position="absolute",_.style.top=C-16+"px",_.style.left=y-16+"px",_.style.zIndex=-1,g==null||g.appendChild(_)})},a=(c,_)=>{var b;let g=(b=o.listData)==null?void 0:b.findIndex(y=>y.lineType=="dashed"),h="";switch(c){case o.statusOption.发起:h="ikapprove-duihao2 green";break;case o.statusOption.等待:h=g==_?"ikapprove-dengdai orange":"";break;case o.statusOption.同意:h="ikapprove-duihao2 green";break;case o.statusOption.拒绝:h="ikapprove-jujue red";break;case o.statusOption.转交:h="ikapprove-zhuanjiao blue";break;case o.statusOption.加签:h="ikapprove-tianjia blue";break;case o.statusOption.退回:h="ikapprove-s_fanhui2 red";break;case o.statusOption.评论:h="ikapprove-pinglun1 blue";break}return`ikapprove ${h}`},s=(c,_)=>{let g="";switch(c){case o.nodeType.发起人节点:g="ikapprove-ziyuan";break;case o.nodeType.审批节点:_&&_.length==1?g="ikapprove-ziyuan":g="ikapprove-shenpi";break;case o.nodeType.办理节点:g="ikapprove-bianji";break;case o.nodeType.抄送节点:g="ikapprove-chaosong";break;default:g="ikapprove-ziyuan"}return`ikapprove ${g}`},d=c=>{let _="";return c=="jpg"||c=="jpeg"||c=="png"?_="ikapprove-tupian":c=="doc"||c=="docx"?_="ikapprove-WORD":c=="xls"||c=="xlsx"?_="ikapprove-EXCEL":c=="ppt"||c=="pptx"?_="ikapprove-pptcopy":c=="pdf"?_="ikapprove-PDF":c=="rar"||c=="zip"?_="ikapprove-fujian":c=="txt"||c=="zip"?_="ikapprove-TXTCopy":c=="mp3"||c=="wma"||c=="m4a"?_="ikapprove-yinpinwenjian":(c=="avi"||c=="wmv"||c=="mp4"||c=="mov")&&(_="ikapprove-shipinwenjian"),`icon ikapprove ${_}`},f=e,u=c=>{f("preview",c),n.local||window.open(p(c[o.defaultFile.attachmentParam.url]))},m=(c,_)=>{c.show=!c.show;let g=document.getElementById(`${c[o.defaultFile.nodeId]}`),h=Array.from(g==null?void 0:g.getElementsByClassName("approveList"));for(let b of h)b.style.display=_},p=c=>{let _="";return c.includes("http")||c.includes("https")?_=c:_=n.fileUrl+c,_};return(c,_)=>{const g=i.resolveComponent("el-image");return i.openBlock(),i.createElementBlock("div",_u,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.listData,(h,b)=>{var y,C,k,B,S,x,w,N,D,O;return i.openBlock(),i.createElementBlock("div",{class:"approveBlock",id:h[o.defaultFile.nodeId],key:h[o.defaultFile.nodeId]},[i.createElementVNode("div",bu,[i.createElementVNode("div",Eu,[i.createElementVNode("span",wu,[i.createCommentVNode(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),((y=h[o.defaultFile.approvePersonList])==null?void 0:y.length)==1&&h[o.defaultFile.approvePersonList][0].userAvatar?(i.openBlock(),i.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:p(h[o.defaultFile.approvePersonList][0].userAvatar),alt:""},null,8,Cu)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createCommentVNode(" 否则显示对应节点 "),i.createElementVNode("i",{class:i.normalizeClass(s(h[o.defaultFile.nodeType],h[o.defaultFile.approvePersonList]))},null,2)],2112)),i.createCommentVNode(" 审批状态图标 "),i.createElementVNode("i",{class:i.normalizeClass(a(h[o.defaultFile.approveStatus],b))},null,2)])]),i.createElementVNode("div",ku,[i.createElementVNode("div",vu,[i.createElementVNode("div",null,[i.createCommentVNode(" 不是抄送节点 "),h[o.defaultFile.nodeType]!=o.nodeType.抄送节点?(i.openBlock(),i.createElementBlock("div",Su,[i.createCommentVNode(" 撤销,评论不显示节点名称 "),h[o.defaultFile.approveStatus]!=o.statusOption.撤销&&h[o.defaultFile.approveStatus]!=o.statusOption.评论?(i.openBlock(),i.createElementBlock("div",Au,i.toDisplayString(h[o.defaultFile.nodeTypeName]),1)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 名字+审批状态 "),i.createElementVNode("div",Du,[i.createCommentVNode(" 已审批节点文本 "),h[o.defaultFile.lineType]=="solid"?(i.openBlock(),i.createElementBlock("div",xu,[i.createElementVNode("span",{style:i.normalizeStyle({color:h[o.defaultFile.approveStatus]==o.statusOption.评论?"#000":""})},i.toDisplayString(h[o.defaultFile.originator]),5),i.createCommentVNode(" 发起,退回不显示状态 "),h[o.defaultFile.approveStatusName]&&h[o.defaultFile.approveStatus]!=o.statusOption.发起&&h[o.defaultFile.approveStatus]!=o.statusOption.退回?(i.openBlock(),i.createElementBlock("span",Nu,i.toDisplayString(h[o.defaultFile.approveStatus]==o.statusOption.评论?" 添加了评论":"("+h[o.defaultFile.approveStatusName]+")"),1)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 退回状态显示 "),h[o.defaultFile.approveStatus]==o.statusOption.退回?(i.openBlock(),i.createElementBlock("span",Tu,[Vu,i.createTextVNode(i.toDisplayString(h[o.defaultFile.backToRecordNodeName]),1)])):i.createCommentVNode("v-if",!0)])):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createCommentVNode(" 待审批节点 "),i.createElementVNode("div",null,[((C=h[o.defaultFile.approvePersonList])==null?void 0:C.length)==1?(i.openBlock(),i.createElementBlock("span",Ru,[i.createTextVNode(i.toDisplayString(h[o.defaultFile.originator])+" ",1),h[o.defaultFile.approveStatus]==o.statusOption.等待?(i.openBlock(),i.createElementBlock("span",Iu,i.toDisplayString(`(${h[o.defaultFile.approveStatusName]})`),1)):i.createCommentVNode("v-if",!0)])):(i.openBlock(),i.createElementBlock("span",Bu,i.toDisplayString(((k=h[o.defaultFile.approvePersonList])==null?void 0:k.length)+"人"+h[o.defaultFile.approveTypeName]),1))])],2112))])])):(i.openBlock(),i.createElementBlock("div",Ou,[Mu,i.createElementVNode("div",Lu,[i.createCommentVNode(" 抄送一人时 "),((B=h[o.defaultFile.approvePersonList])==null?void 0:B.length)==1?(i.openBlock(),i.createElementBlock("span",zu,[i.createElementVNode("span",null,[i.createTextVNode("已抄送给 "),i.createElementVNode("span",Pu,i.toDisplayString(h[o.defaultFile.approvePersonList][0].userName),1)]),i.createElementVNode("span",Fu,i.toDisplayString(h[o.defaultFile.approvePersonList][0].status==="END"?"已读":"未读"),1)])):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 抄送多人时 "),((S=h[o.defaultFile.approvePersonList])==null?void 0:S.length)>1?(i.openBlock(),i.createElementBlock("span",$u,[i.createTextVNode(i.toDisplayString(`已抄送${(x=h[o.defaultFile.approvePersonList])==null?void 0:x.length}人`)+" ",1),h[o.defaultFile.allRead]?(i.openBlock(),i.createElementBlock("span",Hu," 全部已读 ")):(i.openBlock(),i.createElementBlock("span",ju,[h[o.defaultFile.read]?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createElementBlock("span",Uu," 全部未读 ")),h[o.defaultFile.read]?(i.openBlock(),i.createElementBlock("span",Wu,i.toDisplayString(h[o.defaultFile.read])+"人已读 ",1)):i.createCommentVNode("v-if",!0)]))])):i.createCommentVNode("v-if",!0)])]))]),i.createElementVNode("div",Gu,[i.createCommentVNode(" 不是抄送节点,展示时间 "),h[o.defaultFile.nodeType]!=o.nodeType.抄送节点?(i.openBlock(),i.createElementBlock("span",qu,i.toDisplayString(h[o.defaultFile.operationTime]),1)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 是抄送节点,并且抄送人员大于1时,展示图标 "),h[o.defaultFile.nodeType]==o.nodeType.抄送节点&&((w=h[o.defaultFile.approvePersonList])==null?void 0:w.length)>1?(i.openBlock(),i.createElementBlock("span",Yu,[h!=null&&h.show?(i.openBlock(),i.createElementBlock("i",{key:0,class:"ikapprove ikapprove-a-putongjiantouzhankai",onClick:V=>m(h,"grid")},null,8,Qu)):(i.openBlock(),i.createElementBlock("i",{key:1,onClick:V=>m(h,"none"),class:"ikapprove ikapprove-a-putongjiantoushouqi"},null,8,Zu))])):i.createCommentVNode("v-if",!0)])])])]),i.createElementVNode("div",{class:"bottomBlock",style:i.normalizeStyle({borderLeft:b==o.listData.length-1?"":`2px ${h[o.defaultFile.lineType]} var(--el-border-color)`})},[i.createCommentVNode(" 审批意见 "),h[o.defaultFile.approveOpinion]||h[o.defaultFile.approveStatus]==o.statusOption.加签?(i.openBlock(),i.createElementBlock("div",Ku,[h[o.defaultFile.approveOpinion]?(i.openBlock(),i.createElementBlock("span",Xu,i.toDisplayString(h[o.defaultFile.approveOpinion]),1)):i.createCommentVNode("v-if",!0),h[o.defaultFile.approveStatus]==o.statusOption.加签?(i.openBlock(),i.createElementBlock("span",Ju,[ef,(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(h[o.defaultFile.countersignPer],(V,L)=>(i.openBlock(),i.createElementBlock("span",tf,i.toDisplayString(V==null?void 0:V.userName)+i.toDisplayString(L<h[o.defaultFile.countersignPer].length-1?"、":""),1))),256))])):i.createCommentVNode("v-if",!0)])):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 附件 "),(N=h[o.defaultFile.attachment])!=null&&N.length?(i.openBlock(),i.createElementBlock("div",nf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(h[o.defaultFile.attachment],(V,L)=>(i.openBlock(),i.createElementBlock("div",{class:"file-card",key:L,onClick:H=>u(V)},[i.createElementVNode("div",{class:i.normalizeClass(d(V[o.defaultFile.attachmentParam.suffix]))},null,2),i.createElementVNode("div",rf,[i.createElementVNode("div",lf,i.toDisplayString(V[o.defaultFile.attachmentParam.originName]),1),i.createElementVNode("div",af,i.toDisplayString((V[o.defaultFile.attachmentParam.size]/1024/1024).toFixed(3))+"MB ",1)])],8,of))),128))])):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 附件图片 "),(D=h[o.defaultFile.attachmentImg])!=null&&D.length?(i.openBlock(),i.createElementBlock("div",sf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(h[o.defaultFile.attachmentImg],(V,L)=>(i.openBlock(),i.createElementBlock("div",{class:"image",key:L},[i.createVNode(g,{src:p(V),fit:"cover","z-index":"9999","zoom-rate":1.2,alt:p(V)},null,8,["src","alt"])]))),128))])):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 抄送节点或是等待审批状态并且列表长度大于1 "),(h[o.defaultFile.nodeType]==o.nodeType.抄送节点||h[o.defaultFile.approveStatus]==o.statusOption.等待)&&((O=h[o.defaultFile.approvePersonList])==null?void 0:O.length)>1?(i.openBlock(),i.createElementBlock("div",cf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(h[o.defaultFile.approvePersonList],V=>(i.openBlock(),i.createElementBlock("div",{class:"perBlock",key:V.userName},[i.createElementVNode("span",df,[V.userAvatar?(i.openBlock(),i.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:p(V.userAvatar),alt:""},null,8,uf)):i.createCommentVNode("v-if",!0),i.createElementVNode("span",null,i.toDisplayString(V.userName.slice(-2)),1),V.status==="END"?(i.openBlock(),i.createElementBlock("i",ff)):i.createCommentVNode("v-if",!0)]),i.createElementVNode("div",{class:"main-text",title:V.userName},i.toDisplayString(V.userName),9,pf)]))),128))])):i.createCommentVNode("v-if",!0)],4)],8,yu)}),128))])}}}),c4="",gf=oe(K(mf,[["__scopeId","data-v-41886e6b"]])),_f=t=>(i.pushScopeId("data-v-04ec002f"),t=t(),i.popScopeId(),t),yf={class:"approveProcess",id:"approveProcess"},bf={class:"node"},Ef={class:"nodeBg"},wf={class:"info"},Cf={class:"explain"},kf={key:0},vf={key:0},Sf={key:1},Af={key:0},Df={key:1},xf={class:"personlist"},Nf={style:{width:"58px"}},Tf={class:"avatar"},Vf=["src"],Rf={key:1,class:"nodeBg"},If=["onClick"],Bf=["title"],Of={key:0,class:"sign"},Mf={key:0},Lf=["onClick"],zf={key:0,class:"required"},Pf=_f(()=>i.createElementVNode("i",{class:"ikapprove ikapprove-xinzeng"},null,-1)),Ff={name:"IkApprovalProcess"},$f=i.defineComponent({...Ff,props:{pickerUrl:{type:String,default:""},loadUrl:{type:String,default:""},dataList:{type:Array,default:()=>[]},defaultNodeType:{type:Object,default:()=>({})},defaultFieldMap:{type:Object,default:()=>({})},statusWithoutApprover:{type:Object,default:()=>({})}},setup(t,{expose:e}){const n=t,o=z.ikStore.local.getItem("token")||"Bearer iking",r=i.reactive({nodeType:{发起人节点:"INITIATOR",审批节点:"APPROVE",抄送节点:"CARBON_COPY",办理节点:"DISPOSE",分支节点:"BRANCH",条件节点:"CONDITION",结束节点:"END",...n.defaultNodeType},statusWithoutApprover:{自动通过:"AUTO_PASS",自动拒绝:"AUTO_REJECT",自动转交管理员:"TRANSMIT_TO_MANAGER",指定人员审批:"SPECIFIED_USER",...n.statusWithoutApprover},defaultFile:{id:"id",nodeId:"sortOrder",nodeType:"type",nodeTypeName:"name",approveType:"approveType",multiExecutorType:"multiExecutorType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approvalCategory:"approvalCategory",isShowAdd:"initiatorSpecify",isShowAddCopy:"initiatorSpecifyCarbonCopy",executorEmpty:"executorEmpty",executorEmptyStrategy:"executorEmptyStrategy",reserveExecutorUsers:"reserveExecutorUsers",approvePersonList:"executorUsers",initiatorSpecifiedScope:"initiatorSpecifiedScope",initiatorSpecifiedScopeType:"initiatorSpecifiedScopeType",singleApproval:"singleApproval",...n.defaultFieldMap},multiple:!1,chooseType:[]}),l=async m=>{var p;if(m.multiple=!m[r.defaultFile.singleApproval]||m[r.defaultFile.isShowAddCopy],m.handList=m[r.defaultFile.approvePersonList]?m[r.defaultFile.approvePersonList]:[],m[r.defaultFile.nodeType]===r.nodeType.抄送节点)m.handList.forEach(c=>{c.elementName||(c.elementName=c.userName,c.elementId=c.userId,c.avatar=c.userAvatar),c.elementType="USER",c.disabled=!0}),m.chooseType=["user"],m.userList=[],m.depList=[];else switch(m[r.defaultFile.initiatorSpecifiedScopeType]){case"ALL":m.chooseType=["dep_user"],m.userList=[],m.depList=[];break;default:m.chooseType=["user"],m.userList=m.userList?m.userList:(p=m[r.defaultFile.initiatorSpecifiedScope])==null?void 0:p.map(c=>({...c,elementName:(c==null?void 0:c.executorName)||(c==null?void 0:c.userName),elementId:(c==null?void 0:c.executorId)||(c==null?void 0:c.userId),avatar:((c==null?void 0:c.executorAvatar)||(c==null?void 0:c.userAvatar))&&a((c==null?void 0:c.executorAvatar)||(c==null?void 0:c.userAvatar))||"",elementType:"USER"}))}i.nextTick(()=>{m.isShow=!0})},a=m=>{let p="";return m.includes("http")||m.includes("https")?p=m:p=n.loadUrl?`${n.loadUrl}${m}`:`${location.origin+location.pathname}server/oss/download?fileUrl=${m}`,p},s=m=>{let p="";switch(m){case r.nodeType.审批节点:p="ikapprove-shenpi";break;case r.nodeType.办理节点:p="ikapprove-bianji";break;case r.nodeType.抄送节点:p="ikapprove-chaosong";break;default:p="ikapprove-ziyuan"}return`ikapprove ${p}`},d=(m,p)=>{n.dataList[p].handList=m.list;let _=(n.dataList[p][r.defaultFile.approvePersonList]||[]).filter(h=>!h.canDele),g=m.list.map(h=>({...h,userName:h.elementName,userAvatar:h.avatar,canDele:!0}));n.dataList[p][r.defaultFile.approvePersonList]=_.concat(g)},f=(m,p)=>{n.dataList[m][r.defaultFile.approvePersonList].splice(p,1),n.dataList[m].handList=n.dataList[m][r.defaultFile.approvePersonList]};return e({requiredVerification:()=>{let m=!0;return n.dataList.forEach(p=>{var c;p.required=!1,p[r.defaultFile.nodeType]==r.nodeType.审批节点&&p[r.defaultFile.isShowAdd]&&((c=p[r.defaultFile.approvePersonList])!=null&&c.length||(m=!1,p.required=!0))}),m}}),(m,p)=>(i.openBlock(),i.createElementBlock("div",yf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.dataList,(c,_)=>{var g,h,b,y;return i.openBlock(),i.createElementBlock("div",{class:"content",key:c.id},[i.createCommentVNode(" 审批节点类型 "),i.createElementVNode("div",bf,[i.createElementVNode("span",Ef,[i.createElementVNode("i",{class:i.normalizeClass(s(c[r.defaultFile.nodeType]))},null,2)]),i.createElementVNode("div",{class:"line",style:i.normalizeStyle({"border-left":_===n.dataList.length-1?"":"2px solid var(--el-border-color)"})},null,4)]),i.createElementVNode("div",wf,[i.createElementVNode("div",null,[i.createElementVNode("div",null,i.toDisplayString(c[r.defaultFile.nodeTypeName]),1),i.createElementVNode("div",Cf,[i.createCommentVNode(" 抄送节点 "),c[r.defaultFile.nodeType]==r.nodeType.抄送节点?(i.openBlock(),i.createElementBlock("span",kf,[c[r.defaultFile.approvePersonList].length?(i.openBlock(),i.createElementBlock("span",vf,i.toDisplayString(`抄送${c[r.defaultFile.approvePersonList].length}人`),1)):i.createCommentVNode("v-if",!0),c[r.defaultFile.isShowAdd]?(i.openBlock(),i.createElementBlock("span",Sf,",可添加抄送人")):i.createCommentVNode("v-if",!0)])):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createCommentVNode(" 审批节点 "),i.createElementVNode("span",null,[i.createCommentVNode(" 存在审批人时 "),(g=c[r.defaultFile.approvePersonList])!=null&&g.length?(i.openBlock(),i.createElementBlock("span",Af,i.toDisplayString(((h=c[r.defaultFile.approvePersonList])==null?void 0:h.length)==1?"1人审批":`${(b=c[r.defaultFile.approvePersonList])==null?void 0:b.length}人${c[r.defaultFile.multiExecutorTypeName]}`),1)):[r.statusWithoutApprover.自动通过,r.statusWithoutApprover.自动拒绝].includes(c[r.defaultFile.approveType])?(i.openBlock(),i.createElementBlock("span",Df,i.toDisplayString(c[r.defaultFile.approveTypeName]),1)):c[r.defaultFile.executorEmptyStrategy]&&c[r.defaultFile.executorEmpty]?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createCommentVNode(" 没有审批人,并且有指定默认审批方式 "),i.createElementVNode("span",null,[i.createTextVNode(" 未找到审批人,"),i.createElementVNode("span",null,i.toDisplayString(c[r.defaultFile.executorEmptyStrategy]==r.statusWithoutApprover.自动通过?"将自动通过":c[r.defaultFile.executorEmptyStrategy]==r.statusWithoutApprover.自动转交管理员?"自动转交给管理员":c[r.defaultFile.executorEmptyStrategy]==r.statusWithoutApprover.指定人员审批?`将自动转给指定成员${c[r.defaultFile.reserveExecutorUsers]&&c[r.defaultFile.reserveExecutorUsers][0].userName}`:""),1)])],2112)):(i.openBlock(),i.createElementBlock("span",{key:3,class:i.normalizeClass(c.required?"warn":"")},"请选择"+i.toDisplayString(c[r.defaultFile.nodeType]===r.nodeType.办理节点?"办理人":"审批人"),3))])],2112))])]),i.createElementVNode("div",xf,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(c[r.defaultFile.approvePersonList],(C,k)=>{var B;return i.openBlock(),i.createElementBlock("div",{class:"list",key:C.userId},[i.createElementVNode("div",Nf,[i.createElementVNode("div",Tf,[C.userAvatar?(i.openBlock(),i.createElementBlock("img",{key:0,src:a(C.userAvatar),alt:""},null,8,Vf)):(i.openBlock(),i.createElementBlock("div",Rf,[i.createElementVNode("span",null,i.toDisplayString(C.userName.slice(-2)),1)])),C.canDele?(i.openBlock(),i.createElementBlock("i",{key:2,onClick:S=>f(_,k),class:"ikapprove ikapprove-shanchu1"},null,8,If)):i.createCommentVNode("v-if",!0)]),i.createElementVNode("div",{class:"name",title:C.userName},i.toDisplayString(C.userName),9,Bf)]),i.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),c[r.defaultFile.isShowAdd]&&!(c[r.defaultFile.singleApproval]&&((B=c[r.defaultFile.approvePersonList])==null?void 0:B.length)==1)?(i.openBlock(),i.createElementBlock("span",Of,[i.createCommentVNode(" 抄送默认 "),c[r.defaultFile.nodeType]==r.nodeType.抄送节点?(i.openBlock(),i.createElementBlock("span",Mf,"+")):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createCommentVNode(" 审批 "),i.createElementVNode("span",null,i.toDisplayString(c[r.defaultFile.multiExecutorType]=="ANY"?"/":c[r.defaultFile.multiExecutorType]=="ALL"?"+":">"),1)],2112))])):i.createCommentVNode("v-if",!0)])}),128)),i.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 "),c[r.defaultFile.isShowAdd]&&!(c[r.defaultFile.singleApproval]&&((y=c[r.defaultFile.approvePersonList])==null?void 0:y.length)==1)||c[r.defaultFile.isShowAddCopy]?(i.openBlock(),i.createElementBlock("span",{key:0,class:"addBg",onClick:C=>l(c)},[c[r.defaultFile.nodeType]==r.nodeType.审批节点?(i.openBlock(),i.createElementBlock("span",zf)):i.createCommentVNode("v-if",!0),Pf],8,Lf)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 添加人组件 "),i.createVNode(i.unref(En),{modelValue:c.handList,"onUpdate:modelValue":C=>c.handList=C,show:c.isShow,"onUpdate:show":C=>c.isShow=C,onOk:C=>d(C,_),multiple:c.multiple,"type-option":{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},api:{methods:"post",url:t.pickerUrl,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:i.unref(o)}},"dep-list":c.depList,"user-list":c.userList,"organization-list":c.organizationList,"prop-option":{name:"elementName",id:"elementId",type:"elementType",avatar:"avatar"},chooseType:c.chooseType},null,8,["modelValue","onUpdate:modelValue","show","onUpdate:show","onOk","multiple","api","dep-list","user-list","organization-list","chooseType"])])])])}),128))]))}}),u4="",Hf=oe(K($f,[["__scopeId","data-v-04ec002f"]]));var Mr={code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"上月",next:"下月",today:"今天",year:"年",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText(t){return"另外 "+t+" 个"},noEventsText:"没有事件显示"},Vn,P,Lr,zr,Ft,gt,Pr,Fr,$r,Rn={},Hr=[],jf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Je(t,e){for(var n in e)t[n]=e[n];return t}function jr(t){var e=t.parentNode;e&&e.removeChild(t)}function E(t,e,n){var o,r,l,a={};for(l in e)l=="key"?o=e[l]:l=="ref"?r=e[l]:a[l]=e[l];if(arguments.length>2&&(a.children=arguments.length>3?Vn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(l in t.defaultProps)a[l]===void 0&&(a[l]=t.defaultProps[l]);return In(t,a,o,r,null)}function In(t,e,n,o,r){var l={type:t,props:e,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r??++Lr};return r==null&&P.vnode!=null&&P.vnode(l),l}function be(){return{current:null}}function re(t){return t.children}function Uf(t,e,n,o,r){var l;for(l in n)l==="children"||l==="key"||l in e||Bn(t,l,null,n[l],o);for(l in e)r&&typeof e[l]!="function"||l==="children"||l==="key"||l==="value"||l==="checked"||n[l]===e[l]||Bn(t,l,e[l],n[l],o)}function Ur(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||jf.test(e)?n:n+"px"}function Bn(t,e,n,o,r){var l;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof o=="string"&&(t.style.cssText=o=""),o)for(e in o)n&&e in n||Ur(t.style,e,"");if(n)for(e in n)o&&n[e]===o[e]||Ur(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")l=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+l]=n,n?o||t.addEventListener(e,l?Gr:Wr,l):t.removeEventListener(e,l?Gr:Wr,l);else if(e!=="dangerouslySetInnerHTML"){if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e.indexOf("-")==-1?t.removeAttribute(e):t.setAttribute(e,n))}}function Wr(t){Ft=!0;try{return this.l[t.type+!1](P.event?P.event(t):t)}finally{Ft=!1}}function Gr(t){Ft=!0;try{return this.l[t.type+!0](P.event?P.event(t):t)}finally{Ft=!1}}function ve(t,e){this.props=t,this.context=e}function rn(t,e){if(e==null)return t.__?rn(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?rn(t):null}function qr(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return qr(t)}}function Wf(t){Ft?setTimeout(t):Fr(t)}function Bi(t){(!t.__d&&(t.__d=!0)&&gt.push(t)&&!On.__r++||Pr!==P.debounceRendering)&&((Pr=P.debounceRendering)||Wf)(On)}function On(){var t,e,n,o,r,l,a,s;for(gt.sort(function(d,f){return d.__v.__b-f.__v.__b});t=gt.shift();)t.__d&&(e=gt.length,o=void 0,r=void 0,a=(l=(n=t).__v).__e,(s=n.__P)&&(o=[],(r=Je({},l)).__v=l.__v+1,Oi(s,l,r,n.__n,s.ownerSVGElement!==void 0,l.__h!=null?[a]:null,o,a??rn(l),l.__h),Xr(o,l),l.__e!=a&&qr(l)),gt.length>e&&gt.sort(function(d,f){return d.__v.__b-f.__v.__b}));On.__r=0}function Yr(t,e,n,o,r,l,a,s,d,f){var u,m,p,c,_,g,h,b=o&&o.__k||Hr,y=b.length;for(n.__k=[],u=0;u<e.length;u++)if((c=n.__k[u]=(c=e[u])==null||typeof c=="boolean"?null:typeof c=="string"||typeof c=="number"||typeof c=="bigint"?In(null,c,null,null,c):Array.isArray(c)?In(re,{children:c},null,null,null):c.__b>0?In(c.type,c.props,c.key,c.ref?c.ref:null,c.__v):c)!=null){if(c.__=n,c.__b=n.__b+1,(p=b[u])===null||p&&c.key==p.key&&c.type===p.type)b[u]=void 0;else for(m=0;m<y;m++){if((p=b[m])&&c.key==p.key&&c.type===p.type){b[m]=void 0;break}p=null}Oi(t,c,p=p||Rn,r,l,a,s,d,f),_=c.__e,(m=c.ref)&&p.ref!=m&&(h||(h=[]),p.ref&&h.push(p.ref,null,c),h.push(m,c.__c||_,c)),_!=null?(g==null&&(g=_),typeof c.type=="function"&&c.__k===p.__k?c.__d=d=Qr(c,d,t):d=Zr(t,c,p,b,_,d),typeof n.type=="function"&&(n.__d=d)):d&&p.__e==d&&d.parentNode!=t&&(d=rn(p))}for(n.__e=g,u=y;u--;)b[u]!=null&&(typeof n.type=="function"&&b[u].__e!=null&&b[u].__e==n.__d&&(n.__d=Kr(o).nextSibling),el(b[u],b[u]));if(h)for(u=0;u<h.length;u++)Jr(h[u],h[++u],h[++u])}function Qr(t,e,n){for(var o,r=t.__k,l=0;r&&l<r.length;l++)(o=r[l])&&(o.__=t,e=typeof o.type=="function"?Qr(o,e,n):Zr(n,o,o,r,o.__e,e));return e}function Mn(t,e){return e=e||[],t==null||typeof t=="boolean"||(Array.isArray(t)?t.some(function(n){Mn(n,e)}):e.push(t)),e}function Zr(t,e,n,o,r,l){var a,s,d;if(e.__d!==void 0)a=e.__d,e.__d=void 0;else if(n==null||r!=l||r.parentNode==null)e:if(l==null||l.parentNode!==t)t.appendChild(r),a=null;else{for(s=l,d=0;(s=s.nextSibling)&&d<o.length;d+=1)if(s==r)break e;t.insertBefore(r,l),a=l}return a!==void 0?a:r.nextSibling}function Kr(t){var e,n,o;if(t.type==null||typeof t.type=="string")return t.__e;if(t.__k){for(e=t.__k.length-1;e>=0;e--)if((n=t.__k[e])&&(o=Kr(n)))return o}return null}function Oi(t,e,n,o,r,l,a,s,d){var f,u,m,p,c,_,g,h,b,y,C,k,B,S,x,w=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(d=n.__h,s=e.__e=n.__e,e.__h=null,l=[s]),(f=P.__b)&&f(e);try{e:if(typeof w=="function"){if(h=e.props,b=(f=w.contextType)&&o[f.__c],y=f?b?b.props.value:f.__:o,n.__c?g=(u=e.__c=n.__c).__=u.__E:("prototype"in w&&w.prototype.render?e.__c=u=new w(h,y):(e.__c=u=new ve(h,y),u.constructor=w,u.render=qf),b&&b.sub(u),u.props=h,u.state||(u.state={}),u.context=y,u.__n=o,m=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),w.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Je({},u.__s)),Je(u.__s,w.getDerivedStateFromProps(h,u.__s))),p=u.props,c=u.state,u.__v=e,m)w.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(w.getDerivedStateFromProps==null&&h!==p&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(h,y),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(h,u.__s,y)===!1||e.__v===n.__v){for(e.__v!==n.__v&&(u.props=h,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(N){N&&(N.__=e)}),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(h,u.__s,y),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(p,c,_)})}if(u.context=y,u.props=h,u.__P=t,k=P.__r,B=0,"prototype"in w&&w.prototype.render){for(u.state=u.__s,u.__d=!1,k&&k(e),f=u.render(u.props,u.state,u.context),S=0;S<u._sb.length;S++)u.__h.push(u._sb[S]);u._sb=[]}else do u.__d=!1,k&&k(e),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++B<25);u.state=u.__s,u.getChildContext!=null&&(o=Je(Je({},o),u.getChildContext())),m||u.getSnapshotBeforeUpdate==null||(_=u.getSnapshotBeforeUpdate(p,c)),x=f!=null&&f.type===re&&f.key==null?f.props.children:f,Yr(t,Array.isArray(x)?x:[x],e,n,o,r,l,a,s,d),u.base=e.__e,e.__h=null,u.__h.length&&a.push(u),g&&(u.__E=u.__=null),u.__e=!1}else l==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Gf(n.__e,e,n,o,r,l,a,d);(f=P.diffed)&&f(e)}catch(N){e.__v=null,(d||l!=null)&&(e.__e=s,e.__h=!!d,l[l.indexOf(s)]=null),P.__e(N,e,n)}}function Xr(t,e){P.__c&&P.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(o){o.call(n)})}catch(o){P.__e(o,n.__v)}})}function Gf(t,e,n,o,r,l,a,s){var d,f,u,m=n.props,p=e.props,c=e.type,_=0;if(c==="svg"&&(r=!0),l!=null){for(;_<l.length;_++)if((d=l[_])&&"setAttribute"in d==!!c&&(c?d.localName===c:d.nodeType===3)){t=d,l[_]=null;break}}if(t==null){if(c===null)return document.createTextNode(p);t=r?document.createElementNS("http://www.w3.org/2000/svg",c):document.createElement(c,p.is&&p),l=null,s=!1}if(c===null)m===p||s&&t.data===p||(t.data=p);else{if(l=l&&Vn.call(t.childNodes),f=(m=n.props||Rn).dangerouslySetInnerHTML,u=p.dangerouslySetInnerHTML,!s){if(l!=null)for(m={},_=0;_<t.attributes.length;_++)m[t.attributes[_].name]=t.attributes[_].value;(u||f)&&(u&&(f&&u.__html==f.__html||u.__html===t.innerHTML)||(t.innerHTML=u&&u.__html||""))}if(Uf(t,p,m,r,s),u)e.__k=[];else if(_=e.props.children,Yr(t,Array.isArray(_)?_:[_],e,n,o,r&&c!=="foreignObject",l,a,l?l[0]:n.__k&&rn(n,0),s),l!=null)for(_=l.length;_--;)l[_]!=null&&jr(l[_]);s||("value"in p&&(_=p.value)!==void 0&&(_!==t.value||c==="progress"&&!_||c==="option"&&_!==m.value)&&Bn(t,"value",_,m.value,!1),"checked"in p&&(_=p.checked)!==void 0&&_!==t.checked&&Bn(t,"checked",_,m.checked,!1))}return t}function Jr(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(o){P.__e(o,n)}}function el(t,e,n){var o,r;if(P.unmount&&P.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||Jr(o,null,e)),(o=t.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(l){P.__e(l,e)}o.base=o.__P=null,t.__c=void 0}if(o=t.__k)for(r=0;r<o.length;r++)o[r]&&el(o[r],e,n||typeof t.type!="function");n||t.__e==null||jr(t.__e),t.__=t.__e=t.__d=void 0}function qf(t,e,n){return this.constructor(t,n)}function ln(t,e,n){var o,r,l;P.__&&P.__(t,e),r=(o=typeof n=="function")?null:n&&n.__k||e.__k,l=[],Oi(e,t=(!o&&n||e).__k=E(re,null,[t]),r||Rn,Rn,e.ownerSVGElement!==void 0,!o&&n?[n]:r?null:e.firstChild?Vn.call(e.childNodes):null,l,!o&&n?n:r?r.__e:e.firstChild,o),Xr(l,t)}function Yf(t,e){var n={__c:e="__cC"+$r++,__:t,Consumer:function(o,r){return o.children(r)},Provider:function(o){var r,l;return this.getChildContext||(r=[],(l={})[e]=this,this.getChildContext=function(){return l},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&r.some(function(s){s.__e=!0,Bi(s)})},this.sub=function(a){r.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){r.splice(r.indexOf(a),1),s&&s.call(a)}}),o.children}};return n.Provider.__=n.Consumer.contextType=n}Vn=Hr.slice,P={__e:function(t,e,n,o){for(var r,l,a;e=e.__;)if((r=e.__c)&&!r.__)try{if((l=r.constructor)&&l.getDerivedStateFromError!=null&&(r.setState(l.getDerivedStateFromError(t)),a=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,o||{}),a=r.__d),a)return r.__E=r}catch(s){t=s}throw t}},Lr=0,zr=function(t){return t!=null&&t.constructor===void 0},Ft=!1,ve.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Je({},this.state),typeof t=="function"&&(t=t(Je({},n),this.props)),t&&Je(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Bi(this))},ve.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Bi(this))},ve.prototype.render=re,gt=[],Fr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,On.__r=0,$r=0;var Oe,Mi,tl,nl=[],Li=[],il=P.__b,ol=P.__r,rl=P.diffed,ll=P.__c,al=P.unmount;function Qf(){for(var t;t=nl.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Ln),t.__H.__h.forEach(zi),t.__H.__h=[]}catch(e){t.__H.__h=[],P.__e(e,t.__v)}}P.__b=function(t){Oe=null,il&&il(t)},P.__r=function(t){ol&&ol(t);var e=(Oe=t.__c).__H;e&&(Mi===Oe?(e.__h=[],Oe.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Li,n.__N=n.i=void 0})):(e.__h.forEach(Ln),e.__h.forEach(zi),e.__h=[])),Mi=Oe},P.diffed=function(t){rl&&rl(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(nl.push(e)!==1&&tl===P.requestAnimationFrame||((tl=P.requestAnimationFrame)||Zf)(Qf)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Li&&(n.__=n.__V),n.i=void 0,n.__V=Li})),Mi=Oe=null},P.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Ln),n.__h=n.__h.filter(function(o){return!o.__||zi(o)})}catch(o){e.some(function(r){r.__h&&(r.__h=[])}),e=[],P.__e(o,n.__v)}}),ll&&ll(t,e)},P.unmount=function(t){al&&al(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(o){try{Ln(o)}catch(r){e=r}}),n.__H=void 0,e&&P.__e(e,n.__v))};var sl=typeof requestAnimationFrame=="function";function Zf(t){var e,n=function(){clearTimeout(o),sl&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,100);sl&&(e=requestAnimationFrame(n))}function Ln(t){var e=Oe,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Oe=e}function zi(t){var e=Oe;t.__c=t.__(),Oe=e}function Kf(t,e){for(var n in e)t[n]=e[n];return t}function cl(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var o in e)if(o!=="__source"&&t[o]!==e[o])return!0;return!1}function dl(t){this.props=t}(dl.prototype=new ve).isPureReactComponent=!0,dl.prototype.shouldComponentUpdate=function(t,e){return cl(this.props,t)||cl(this.state,e)};var ul=P.__b;P.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),ul&&ul(t)};var Xf=P.__e;P.__e=function(t,e,n,o){if(t.then){for(var r,l=e;l=l.__;)if((r=l.__c)&&r.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e)}Xf(t,e,n,o)};var fl=P.unmount;function pl(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),t.__c.__H=null),(t=Kf({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(o){return pl(o,e,n)})),t}function hl(t,e,n){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(o){return hl(o,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=n)),t}function Pi(){this.__u=0,this.t=null,this.__b=null}function ml(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function zn(){this.u=null,this.o=null}P.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),fl&&fl(t)},(Pi.prototype=new ve).__c=function(t,e){var n=e.__c,o=this;o.t==null&&(o.t=[]),o.t.push(n);var r=ml(o.__v),l=!1,a=function(){l||(l=!0,n.__R=null,r?r(s):s())};n.__R=a;var s=function(){if(!--o.__u){if(o.state.__a){var f=o.state.__a;o.__v.__k[0]=hl(f,f.__c.__P,f.__c.__O)}var u;for(o.setState({__a:o.__b=null});u=o.t.pop();)u.forceUpdate()}},d=e.__h===!0;o.__u++||d||o.setState({__a:o.__b=o.__v.__k[0]}),t.then(a,a)},Pi.prototype.componentWillUnmount=function(){this.t=[]},Pi.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=pl(this.__b,n,o.__O=o.__P)}this.__b=null}var r=e.__a&&E(re,null,t.fallback);return r&&(r.__h=null),[E(re,null,e.__a?null:t.children),r]};var gl=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function Jf(t){return this.getChildContext=function(){return t.context},t.children}function ep(t){var e=this,n=t.i;e.componentWillUnmount=function(){ln(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(o){this.childNodes.push(o),e.i.appendChild(o)},insertBefore:function(o,r){this.childNodes.push(o),e.i.appendChild(o)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),e.i.removeChild(o)}}),ln(E(Jf,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function tp(t,e){var n=E(ep,{__v:t,i:e});return n.containerInfo=e,n}(zn.prototype=new ve).__a=function(t){var e=this,n=ml(e.__v),o=e.o.get(t);return o[0]++,function(r){var l=function(){e.props.revealOrder?(o.push(r),gl(e,t,o)):r()};n?n(l):l()}},zn.prototype.render=function(t){this.u=null,this.o=new Map;var e=Mn(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},zn.prototype.componentDidUpdate=zn.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){gl(t,n,e)})};var np=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ip=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,op=typeof document<"u",rp=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};ve.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(ve.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var _l=P.event;function lp(){}function ap(){return this.cancelBubble}function sp(){return this.defaultPrevented}P.event=function(t){return _l&&(t=_l(t)),t.persist=lp,t.isPropagationStopped=ap,t.isDefaultPrevented=sp,t.nativeEvent=t};var yl={configurable:!0,get:function(){return this.class}},bl=P.vnode;P.vnode=function(t){var e=t.type,n=t.props,o=n;if(typeof e=="string"){var r=e.indexOf("-")===-1;for(var l in o={},n){var a=n[l];op&&l==="children"&&e==="noscript"||l==="value"&&"defaultValue"in n&&a==null||(l==="defaultValue"&&"value"in n&&n.value==null?l="value":l==="download"&&a===!0?a="":/ondoubleclick/i.test(l)?l="ondblclick":/^onchange(textarea|input)/i.test(l+e)&&!rp(n.type)?l="oninput":/^onfocus$/i.test(l)?l="onfocusin":/^onblur$/i.test(l)?l="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(l)?l=l.toLowerCase():r&&ip.test(l)?l=l.replace(/[A-Z0-9]/g,"-$&").toLowerCase():a===null&&(a=void 0),/^oninput$/i.test(l)&&(l=l.toLowerCase(),o[l]&&(l="oninputCapture")),o[l]=a)}e=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Mn(n.children).forEach(function(s){s.props.selected=o.value.indexOf(s.props.value)!=-1})),e=="select"&&o.defaultValue!=null&&(o.value=Mn(n.children).forEach(function(s){s.props.selected=o.multiple?o.defaultValue.indexOf(s.props.value)!=-1:o.defaultValue==s.props.value})),t.props=o,n.class!=n.className&&(yl.enumerable="className"in n,n.className!=null&&(o.class=n.className),Object.defineProperty(o,"className",yl))}t.$$typeof=np,bl&&bl(t)};var El=P.__r;P.__r=function(t){El&&El(t),t.__c};const wl=[],Fi=new Map;function $i(t){wl.push(t),Fi.forEach(e=>{kl(e,t)})}function cp(t){t.isConnected&&Cl(t.getRootNode())}function Cl(t){let e=Fi.get(t);if(!e||!e.isConnected){if(e=t.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");const n=up();n&&(e.nonce=n);const o=t===document?document.head:t,r=t===document?o.querySelector("script,link[rel=stylesheet],link[as=style],style"):o.firstChild;o.insertBefore(e,r)}Fi.set(t,e),dp(e)}}function dp(t){for(const e of wl)kl(t,e)}function kl(t,e){const{sheet:n}=t,o=n.cssRules.length;e.split("}").forEach((r,l)=>{r=r.trim(),r&&n.insertRule(r+"}",o+l)})}let Hi;function up(){return Hi===void 0&&(Hi=fp()),Hi}function fp(){const t=document.querySelector('meta[name="csp-nonce"]');if(t&&t.hasAttribute("content"))return t.getAttribute("content");const e=document.querySelector("script[nonce]");return e&&e.nonce||""}typeof document<"u"&&Cl(document);var pp=':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';$i(pp);class ji{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),e==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:n}=this;n[e]=(n[e]||0)+1,this.clearTimeout()}resume(e="",n){let{pauseDepths:o}=this;e in o&&(n?delete o[e]:(o[e]-=1,o[e]<=0&&delete o[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function Ui(t){t.parentNode&&t.parentNode.removeChild(t)}function _e(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(hp(t,e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}function hp(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}function mp(t,e){let n=t instanceof HTMLElement?[t]:t,o=[];for(let r=0;r<n.length;r+=1){let l=n[r].querySelectorAll(e);for(let a=0;a<l.length;a+=1)o.push(l[a])}return o}const gp=/(top|left|right|bottom|width|height)$/i;function an(t,e){for(let n in e)vl(t,n,e[n])}function vl(t,e,n){n==null?t.style[e]="":typeof n=="number"&&gp.test(e)?t.style[e]=`${n}px`:t.style[e]=n}function Sl(t){var e,n;return(n=(e=t.composedPath)===null||e===void 0?void 0:e.call(t)[0])!==null&&n!==void 0?n:t.target}let Al=0;function Pn(){return Al+=1,"fc-dom-"+Al}function Fn(t){t.preventDefault()}function _p(t,e){return n=>{let o=_e(n.target,t);o&&e.call(o,n,o)}}function Dl(t,e,n,o){let r=_p(n,o);return t.addEventListener(e,r),()=>{t.removeEventListener(e,r)}}function yp(t,e,n,o){let r;return Dl(t,"mouseover",e,(l,a)=>{if(a!==r){r=a,n(l,a);let s=d=>{r=null,o(d,a),a.removeEventListener("mouseleave",s)};a.addEventListener("mouseleave",s)}})}const xl=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function bp(t,e){let n=o=>{e(o),xl.forEach(r=>{t.removeEventListener(r,n)})};xl.forEach(o=>{t.addEventListener(o,n)})}function Nl(t){return Object.assign({onClick:t},Tl(t))}function Tl(t){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(t(e),e.preventDefault())}}}let Vl=0;function _t(){return Vl+=1,String(Vl)}function Wi(){document.body.classList.add("fc-not-allowed")}function Gi(){document.body.classList.remove("fc-not-allowed")}function Ep(t){t.style.userSelect="none",t.style.webkitUserSelect="none",t.addEventListener("selectstart",Fn)}function wp(t){t.style.userSelect="",t.style.webkitUserSelect="",t.removeEventListener("selectstart",Fn)}function Cp(t){t.addEventListener("contextmenu",Fn)}function kp(t){t.removeEventListener("contextmenu",Fn)}function vp(t){let e=[],n=[],o,r;for(typeof t=="string"?n=t.split(/\s*,\s*/):typeof t=="function"?n=[t]:Array.isArray(t)&&(n=t),o=0;o<n.length;o+=1)r=n[o],typeof r=="string"?e.push(r.charAt(0)==="-"?{field:r.substring(1),order:-1}:{field:r,order:1}):typeof r=="function"&&e.push({func:r});return e}function Sp(t,e,n){let o,r;for(o=0;o<n.length;o+=1)if(r=Ap(t,e,n[o]),r)return r;return 0}function Ap(t,e,n){return n.func?n.func(t,e):Dp(t[n.field],e[n.field])*(n.order||1)}function Dp(t,e){return!t&&!e?0:e==null?-1:t==null?1:typeof t=="string"||typeof e=="string"?String(t).localeCompare(String(e)):t-e}function $t(t,e){let n=String(t);return"000".substr(0,e-n.length)+n}function sn(t,e,n){return typeof t=="function"?t(...e):typeof t=="string"?e.reduce((o,r,l)=>o.replace("$"+l,r||""),t):n}function xp(t,e){return t-e}function $n(t){return t%1===0}function Np(t){let e=t.querySelector(".fc-scrollgrid-shrink-frame"),n=t.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return t.getBoundingClientRect().width-e.getBoundingClientRect().width+n.getBoundingClientRect().width}const Rl=["years","months","days","milliseconds"],Tp=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Q(t,e){return typeof t=="string"?Vp(t):typeof t=="object"&&t?Il(t):typeof t=="number"?Il({[e||"milliseconds"]:t}):null}function Vp(t){let e=Tp.exec(t);if(e){let n=e[1]?-1:1;return{years:0,months:0,days:n*(e[2]?parseInt(e[2],10):0),milliseconds:n*((e[3]?parseInt(e[3],10):0)*60*60*1e3+(e[4]?parseInt(e[4],10):0)*60*1e3+(e[5]?parseInt(e[5],10):0)*1e3+(e[6]?parseInt(e[6],10):0))}}return null}function Il(t){let e={years:t.years||t.year||0,months:t.months||t.month||0,days:t.days||t.day||0,milliseconds:(t.hours||t.hour||0)*60*60*1e3+(t.minutes||t.minute||0)*60*1e3+(t.seconds||t.second||0)*1e3+(t.milliseconds||t.millisecond||t.ms||0)},n=t.weeks||t.week;return n&&(e.days+=n*7,e.specifiedWeeks=!0),e}function Rp(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function qi(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function Ip(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function Bp(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function Op(t){return Ht(t)/365}function Mp(t){return Ht(t)/30}function Ht(t){return Te(t)/864e5}function Te(t){return t.years*(365*864e5)+t.months*(30*864e5)+t.days*864e5+t.milliseconds}function Yi(t,e){let n=null;for(let o=0;o<Rl.length;o+=1){let r=Rl[o];if(e[r]){let l=t[r]/e[r];if(!$n(l)||n!==null&&n!==l)return null;n=l}else if(t[r])return null}return n}function Qi(t){let e=t.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%(1e3*60)!==0)return{unit:"second",value:e/1e3};if(e%(1e3*60*60)!==0)return{unit:"minute",value:e/(1e3*60)};if(e)return{unit:"hour",value:e/(1e3*60*60)}}return t.days?t.specifiedWeeks&&t.days%7===0?{unit:"week",value:t.days/7}:{unit:"day",value:t.days}:t.months?{unit:"month",value:t.months}:t.years?{unit:"year",value:t.years}:{unit:"millisecond",value:0}}function et(t,e,n){if(t===e)return!0;let o=t.length,r;if(o!==e.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(t[r],e[r]):t[r]===e[r]))return!1;return!0}const Lp=["sun","mon","tue","wed","thu","fri","sat"];function Bl(t,e){let n=nt(t);return n[2]+=e*7,we(n)}function ye(t,e){let n=nt(t);return n[2]+=e,we(n)}function tt(t,e){let n=nt(t);return n[6]+=e,we(n)}function zp(t,e){return yt(t,e)/7}function yt(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60*24)}function Pp(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60)}function Fp(t,e){return(e.valueOf()-t.valueOf())/(1e3*60)}function $p(t,e){return(e.valueOf()-t.valueOf())/1e3}function Hp(t,e){let n=ie(t),o=ie(e);return{years:0,months:0,days:Math.round(yt(n,o)),milliseconds:e.valueOf()-o.valueOf()-(t.valueOf()-n.valueOf())}}function jp(t,e){let n=Hn(t,e);return n!==null&&n%7===0?n/7:null}function Hn(t,e){return it(t)===it(e)?Math.round(yt(t,e)):null}function ie(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function Up(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}function Wp(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}function Gp(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}function qp(t,e,n){let o=t.getUTCFullYear(),r=Zi(t,o,e,n);if(r<1)return Zi(t,o-1,e,n);let l=Zi(t,o+1,e,n);return l>=1?Math.min(r,l):r}function Zi(t,e,n,o){let r=we([e,0,1+Yp(e,n,o)]),l=ie(t),a=Math.round(yt(r,l));return Math.floor(a/7)+1}function Yp(t,e,n){let o=7+e-n;return-((7+we([t,0,o]).getUTCDay()-e)%7)+o-1}function Ol(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function Ml(t){return new Date(t[0],t[1]||0,t[2]==null?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function nt(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function we(t){return t.length===1&&(t=t.concat([0])),new Date(Date.UTC(...t))}function Ll(t){return!isNaN(t.valueOf())}function it(t){return t.getUTCHours()*1e3*60*60+t.getUTCMinutes()*1e3*60+t.getUTCSeconds()*1e3+t.getUTCMilliseconds()}function zl(t,e,n=!1){let o=t.toISOString();return o=o.replace(".000",""),n&&(o=o.replace("T00:00:00Z","")),o.length>10&&(e==null?o=o.replace("Z",""):e!==0&&(o=o.replace("Z",Xi(e,!0)))),o}function Ki(t){return t.toISOString().replace(/T.*$/,"")}function Qp(t){return t.toISOString().match(/^\d{4}-\d{2}/)[0]}function Zp(t){return $t(t.getUTCHours(),2)+":"+$t(t.getUTCMinutes(),2)+":"+$t(t.getUTCSeconds(),2)}function Xi(t,e=!1){let n=t<0?"-":"+",o=Math.abs(t),r=Math.floor(o/60),l=Math.round(o%60);return e?`${n+$t(r,2)}:${$t(l,2)}`:`GMT${n}${r}${l?`:${$t(l,2)}`:""}`}function F(t,e,n){let o,r;return function(...l){if(!o)r=t.apply(this,l);else if(!et(o,l)){n&&n(r);let a=t.apply(this,l);(!e||!e(a,r))&&(r=a)}return o=l,r}}function jn(t,e,n){let o,r;return l=>{if(!o)r=t.call(this,l);else if(!Me(o,l)){n&&n(r);let a=t.call(this,l);(!e||!e(a,r))&&(r=a)}return o=l,r}}const Pl={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Un={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Wn=/\s*([ap])\.?m\.?/i,Kp=/,/g,Xp=/\s+/g,Jp=/\u200e/g,eh=/UTC|GMT/;class th{constructor(e){let n={},o={},r=0;for(let l in e)l in Pl?(o[l]=e[l],r=Math.max(Pl[l],r)):(n[l]=e[l],l in Un&&(r=Math.max(Un[l],r)));this.standardDateProps=n,this.extendedSettings=o,this.severity=r,this.buildFormattingFunc=F(Fl)}format(e,n){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,n)(e)}formatRange(e,n,o,r){let{standardDateProps:l,extendedSettings:a}=this,s=ah(e.marker,n.marker,o.calendarSystem);if(!s)return this.format(e,o);let d=s;d>1&&(l.year==="numeric"||l.year==="2-digit")&&(l.month==="numeric"||l.month==="2-digit")&&(l.day==="numeric"||l.day==="2-digit")&&(d=1);let f=this.format(e,o),u=this.format(n,o);if(f===u)return f;let m=sh(l,d),p=Fl(m,a,o),c=p(e),_=p(n),g=ch(f,c,u,_),h=a.separator||r||o.defaultSeparator||"";return g?g.before+c+h+_+g.after:f+h+u}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function Fl(t,e,n){let o=Object.keys(t).length;return o===1&&t.timeZoneName==="short"?r=>Xi(r.timeZoneOffset):o===0&&e.week?r=>lh(n.computeWeekNumber(r.marker),n.weekText,n.weekTextLong,n.locale,e.week):nh(t,e,n)}function nh(t,e,n){t=Object.assign({},t),e=Object.assign({},e),ih(t,e),t.timeZone="UTC";let o=new Intl.DateTimeFormat(n.locale.codes,t),r;if(e.omitZeroMinute){let l=Object.assign({},t);delete l.minute,r=new Intl.DateTimeFormat(n.locale.codes,l)}return l=>{let{marker:a}=l,s;r&&!a.getUTCMinutes()?s=r:s=o;let d=s.format(a);return oh(d,l,t,e,n)}}function ih(t,e){t.timeZoneName&&(t.hour||(t.hour="2-digit"),t.minute||(t.minute="2-digit")),t.timeZoneName==="long"&&(t.timeZoneName="short"),e.omitZeroMinute&&(t.second||t.millisecond)&&delete e.omitZeroMinute}function oh(t,e,n,o,r){return t=t.replace(Jp,""),n.timeZoneName==="short"&&(t=rh(t,r.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":Xi(e.timeZoneOffset))),o.omitCommas&&(t=t.replace(Kp,"").trim()),o.omitZeroMinute&&(t=t.replace(":00","")),o.meridiem===!1?t=t.replace(Wn,"").trim():o.meridiem==="narrow"?t=t.replace(Wn,(l,a)=>a.toLocaleLowerCase()):o.meridiem==="short"?t=t.replace(Wn,(l,a)=>`${a.toLocaleLowerCase()}m`):o.meridiem==="lowercase"&&(t=t.replace(Wn,l=>l.toLocaleLowerCase())),t=t.replace(Xp," "),t=t.trim(),t}function rh(t,e){let n=!1;return t=t.replace(eh,()=>(n=!0,e)),n||(t+=` ${e}`),t}function lh(t,e,n,o,r){let l=[];return r==="long"?l.push(n):(r==="short"||r==="narrow")&&l.push(e),(r==="long"||r==="short")&&l.push(" "),l.push(o.simpleNumberFormat.format(t)),o.options.direction==="rtl"&&l.reverse(),l.join("")}function ah(t,e,n){return n.getMarkerYear(t)!==n.getMarkerYear(e)?5:n.getMarkerMonth(t)!==n.getMarkerMonth(e)?4:n.getMarkerDay(t)!==n.getMarkerDay(e)?2:it(t)!==it(e)?1:0}function sh(t,e){let n={};for(let o in t)(!(o in Un)||Un[o]<=e)&&(n[o]=t[o]);return n}function ch(t,e,n,o){let r=0;for(;r<t.length;){let l=t.indexOf(e,r);if(l===-1)break;let a=t.substr(0,l);r=l+e.length;let s=t.substr(r),d=0;for(;d<n.length;){let f=n.indexOf(o,d);if(f===-1)break;let u=n.substr(0,f);d=f+o.length;let m=n.substr(d);if(a===u&&s===m)return{before:a,after:s}}}return null}function $l(t,e){let n=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function Gn(t,e,n,o){let r=$l(t,n.calendarSystem),l=e?$l(e,n.calendarSystem):null;return{date:r,start:r,end:l,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:o||n.defaultSeparator}}class dh{constructor(e){this.cmdStr=e}format(e,n,o){return n.cmdFormatter(this.cmdStr,Gn(e,null,n,o))}formatRange(e,n,o,r){return o.cmdFormatter(this.cmdStr,Gn(e,n,o,r))}}class uh{constructor(e){this.func=e}format(e,n,o){return this.func(Gn(e,null,n,o))}formatRange(e,n,o,r){return this.func(Gn(e,n,o,r))}}function de(t){return typeof t=="object"&&t?new th(t):typeof t=="string"?new dh(t):typeof t=="function"?new uh(t):null}const Hl={navLinkDayClick:v,navLinkWeekClick:v,duration:Q,bootstrapFontAwesome:v,buttonIcons:v,customButtons:v,defaultAllDayEventDuration:Q,defaultTimedEventDuration:Q,nextDayThreshold:Q,scrollTime:Q,scrollTimeReset:Boolean,slotMinTime:Q,slotMaxTime:Q,dayPopoverFormat:de,slotDuration:Q,snapDuration:Q,headerToolbar:v,footerToolbar:v,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:de,dayHeaderClassNames:v,dayHeaderContent:v,dayHeaderDidMount:v,dayHeaderWillUnmount:v,dayCellClassNames:v,dayCellContent:v,dayCellDidMount:v,dayCellWillUnmount:v,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:v,weekNumbers:Boolean,weekNumberClassNames:v,weekNumberContent:v,weekNumberDidMount:v,weekNumberWillUnmount:v,editable:Boolean,viewClassNames:v,viewDidMount:v,viewWillUnmount:v,nowIndicator:Boolean,nowIndicatorClassNames:v,nowIndicatorContent:v,nowIndicatorDidMount:v,nowIndicatorWillUnmount:v,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:v,locale:v,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:v,eventOrder:vp,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:v,contentHeight:v,direction:String,weekNumberFormat:de,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:v,initialDate:v,now:v,eventDataTransform:v,stickyHeaderDates:v,stickyFooterScrollbar:v,viewHeight:v,defaultAllDay:Boolean,eventSourceFailure:v,eventSourceSuccess:v,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:v,eventConstraint:v,eventAllow:v,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:v,eventContent:v,eventDidMount:v,eventWillUnmount:v,selectConstraint:v,selectOverlap:v,selectAllow:v,droppable:Boolean,unselectCancel:String,slotLabelFormat:v,slotLaneClassNames:v,slotLaneContent:v,slotLaneDidMount:v,slotLaneWillUnmount:v,slotLabelClassNames:v,slotLabelContent:v,slotLabelDidMount:v,slotLabelWillUnmount:v,dayMaxEvents:v,dayMaxEventRows:v,dayMinWidth:Number,slotLabelInterval:Q,allDayText:String,allDayClassNames:v,allDayContent:v,allDayDidMount:v,allDayWillUnmount:v,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:de,rerenderDelay:Number,moreLinkText:v,moreLinkHint:v,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:v,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Q,hiddenDays:v,fixedWeekCount:Boolean,validRange:v,visibleRange:v,titleFormat:v,eventInteractive:Boolean,noEventsText:String,viewHint:v,navLinkHint:v,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:v,moreLinkClassNames:v,moreLinkContent:v,moreLinkDidMount:v,moreLinkWillUnmount:v,monthStartFormat:de,handleCustomRendering:v,customRenderingMetaMap:v,customRenderingReplaces:Boolean},cn={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},jl={datesSet:v,eventsSet:v,eventAdd:v,eventChange:v,eventRemove:v,windowResize:v,eventClick:v,eventMouseEnter:v,eventMouseLeave:v,select:v,unselect:v,loading:v,_unmount:v,_beforeprint:v,_afterprint:v,_noEventDrop:v,_noEventResize:v,_resize:v,_scrollRequest:v},Ul={buttonText:v,buttonHints:v,views:v,plugins:v,initialEvents:v,events:v,eventSources:v},bt={headerToolbar:Et,footerToolbar:Et,buttonText:Et,buttonHints:Et,buttonIcons:Et,dateIncrement:Et,plugins:qn,events:qn,eventSources:qn,resources:qn};function Et(t,e){return typeof t=="object"&&typeof e=="object"&&t&&e?Me(t,e):t===e}function qn(t,e){return Array.isArray(t)&&Array.isArray(e)?et(t,e):t===e}const fh={type:String,component:v,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:v,usesMinMaxTime:Boolean,classNames:v,content:v,didMount:v,willUnmount:v};function Ji(t){return to(t,bt)}function eo(t,e){let n={},o={};for(let r in e)r in t&&(n[r]=e[r](t[r]));for(let r in t)r in e||(o[r]=t[r]);return{refined:n,extra:o}}function v(t){return t}const{hasOwnProperty:Yn}=Object.prototype;function to(t,e){let n={};if(e){for(let o in e)if(e[o]===Et){let r=[];for(let l=t.length-1;l>=0;l-=1){let a=t[l][o];if(typeof a=="object"&&a)r.unshift(a);else if(a!==void 0){n[o]=a;break}}r.length&&(n[o]=to(r))}}for(let o=t.length-1;o>=0;o-=1){let r=t[o];for(let l in r)l in n||(n[l]=r[l])}return n}function wt(t,e){let n={};for(let o in t)e(t[o],o)&&(n[o]=t[o]);return n}function $e(t,e){let n={};for(let o in t)n[o]=e(t[o],o);return n}function Wl(t){let e={};for(let n of t)e[n]=!0;return e}function no(t){let e=[];for(let n in t)e.push(t[n]);return e}function Me(t,e){if(t===e)return!0;for(let n in t)if(Yn.call(t,n)&&!(n in e))return!1;for(let n in e)if(Yn.call(e,n)&&t[n]!==e[n])return!1;return!0}const ph=/^on[A-Z]/;function hh(t,e){const n=io(t,e);for(let o of n)if(!ph.test(o))return!1;return!0}function io(t,e){let n=[];for(let o in t)Yn.call(t,o)&&(o in e||n.push(o));for(let o in e)Yn.call(e,o)&&t[o]!==e[o]&&n.push(o);return n}function oo(t,e,n={}){if(t===e)return!0;for(let o in e)if(!(o in t&&mh(t[o],e[o],n[o])))return!1;for(let o in t)if(!(o in e))return!1;return!0}function mh(t,e,n){return t===e||n===!0?!0:n?n(t,e):!1}function gh(t,e=0,n,o=1){let r=[];n==null&&(n=Object.keys(t).length);for(let l=e;l<n;l+=o){let a=t[l];a!==void 0&&r.push(a)}return r}let Gl={};function _h(t,e){Gl[t]=e}function yh(t){return new Gl[t]}class bh{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return we(e)}markerToArray(e){return nt(e)}}_h("gregory",bh);const Eh=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function wh(t){let e=Eh.exec(t);if(e){let n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?+`0.${e[12]}`*1e3:0));if(Ll(n)){let o=null;return e[13]&&(o=(e[15]==="-"?-1:1)*(Number(e[16]||0)*60+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:o}}}return null}class Ch{constructor(e){let n=this.timeZone=e.timeZone,o=n!=="local"&&n!=="UTC";e.namedTimeZoneImpl&&o&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(n)),this.canComputeOffset=!!(!o||this.namedTimeZoneImpl),this.calendarSystem=yh(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,e.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof e.firstDay=="number"&&(this.weekDow=e.firstDay),typeof e.weekNumberCalculation=="function"&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=e.weekText!=null?e.weekText:e.locale.options.weekText,this.weekTextLong=(e.weekTextLong!=null?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let n=this.createMarkerMeta(e);return n===null?null:n.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):we(Ol(new Date))}createMarkerMeta(e){if(typeof e=="string")return this.parse(e);let n=null;return typeof e=="number"?n=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(n=this.timestampToMarker(e))):Array.isArray(e)&&(n=we(e)),n===null||!Ll(n)?null:{marker:n,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let n=wh(e);if(n===null)return null;let{marker:o}=n,r=null;return n.timeZoneOffset!==null&&(this.canComputeOffset?o=this.timestampToMarker(o.valueOf()-n.timeZoneOffset*60*1e3):r=n.timeZoneOffset),{marker:o,isTimeUnspecified:n.isTimeUnspecified,forcedTzo:r}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,n){let o=this.calendarSystem.markerToArray(e);return o[0]+=n.years,o[1]+=n.months,o[2]+=n.days,o[6]+=n.milliseconds,this.calendarSystem.arrayToMarker(o)}subtract(e,n){let o=this.calendarSystem.markerToArray(e);return o[0]-=n.years,o[1]-=n.months,o[2]-=n.days,o[6]-=n.milliseconds,this.calendarSystem.arrayToMarker(o)}addYears(e,n){let o=this.calendarSystem.markerToArray(e);return o[0]+=n,this.calendarSystem.arrayToMarker(o)}addMonths(e,n){let o=this.calendarSystem.markerToArray(e);return o[1]+=n,this.calendarSystem.arrayToMarker(o)}diffWholeYears(e,n){let{calendarSystem:o}=this;return it(e)===it(n)&&o.getMarkerDay(e)===o.getMarkerDay(n)&&o.getMarkerMonth(e)===o.getMarkerMonth(n)?o.getMarkerYear(n)-o.getMarkerYear(e):null}diffWholeMonths(e,n){let{calendarSystem:o}=this;return it(e)===it(n)&&o.getMarkerDay(e)===o.getMarkerDay(n)?o.getMarkerMonth(n)-o.getMarkerMonth(e)+(o.getMarkerYear(n)-o.getMarkerYear(e))*12:null}greatestWholeUnit(e,n){let o=this.diffWholeYears(e,n);return o!==null?{unit:"year",value:o}:(o=this.diffWholeMonths(e,n),o!==null?{unit:"month",value:o}:(o=jp(e,n),o!==null?{unit:"week",value:o}:(o=Hn(e,n),o!==null?{unit:"day",value:o}:(o=Pp(e,n),$n(o)?{unit:"hour",value:o}:(o=Fp(e,n),$n(o)?{unit:"minute",value:o}:(o=$p(e,n),$n(o)?{unit:"second",value:o}:{unit:"millisecond",value:n.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,n,o){let r;return o.years&&(r=this.diffWholeYears(e,n),r!==null)?r/Op(o):o.months&&(r=this.diffWholeMonths(e,n),r!==null)?r/Mp(o):o.days&&(r=Hn(e,n),r!==null)?r/Ht(o):(n.valueOf()-e.valueOf())/Te(o)}startOf(e,n){return n==="year"?this.startOfYear(e):n==="month"?this.startOfMonth(e):n==="week"?this.startOfWeek(e):n==="day"?ie(e):n==="hour"?Up(e):n==="minute"?Wp(e):n==="second"?Gp(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):qp(e,this.weekDow,this.weekDoy)}format(e,n,o={}){return n.format({marker:e,timeZoneOffset:o.forcedTzo!=null?o.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,n,o,r={}){return r.isEndExclusive&&(n=tt(n,-1)),o.formatRange({marker:e,timeZoneOffset:r.forcedStartTzo!=null?r.forcedStartTzo:this.offsetForMarker(e)},{marker:n,timeZoneOffset:r.forcedEndTzo!=null?r.forcedEndTzo:this.offsetForMarker(n)},this,r.defaultSeparator)}formatIso(e,n={}){let o=null;return n.omitTimeZoneOffset||(n.forcedTzo!=null?o=n.forcedTzo:o=this.offsetForMarker(e)),zl(e,o,n.omitTime)}timestampToMarker(e){return this.timeZone==="local"?we(Ol(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):we(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-Ml(nt(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(nt(e)):null}toDate(e,n){return this.timeZone==="local"?Ml(nt(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(nt(e))*1e3*60):new Date(e.valueOf()-(n||0))}}class dn{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let n,o;if(typeof e=="object"&&e){n=Object.assign({},this.iconClasses);for(o in e)n[o]=this.applyIconOverridePrefix(e[o]);this.iconClasses=n}else e===!1&&(this.iconClasses={})}applyIconOverridePrefix(e){let n=this.iconOverridePrefix;return n&&e.indexOf(n)!==0&&(e=n+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,n){let o;return n&&this.rtlIconClasses?o=this.rtlIconClasses[e]||this.iconClasses[e]:o=this.iconClasses[e],o?`${this.baseIconClass} ${o}`:""}getCustomButtonIconClass(e){let n;return this.iconOverrideCustomButtonOption&&(n=e[this.iconOverrideCustomButtonOption],n)?`${this.baseIconClass} ${this.applyIconOverridePrefix(n)}`:""}}dn.prototype.classes={},dn.prototype.iconClasses={},dn.prototype.baseIconClass="",dn.prototype.iconOverridePrefix="";function ql(t){t();let e=P.debounceRendering,n=[];function o(r){n.push(r)}for(P.debounceRendering=o,ln(E(kh,{}),document.createElement("div"));n.length;)n.shift()();P.debounceRendering=e}class kh extends ve{render(){return E("div",{})}componentDidMount(){this.setState({})}}function Yl(t){let e=Yf(t),n=e.Provider;return e.Provider=function(){let o=!this.getChildContext,r=n.apply(this,arguments);if(o){let l=[];this.shouldComponentUpdate=a=>{this.props.value!==a.value&&l.forEach(s=>{s.context=a.value,s.forceUpdate()})},this.sub=a=>{l.push(a);let s=a.componentWillUnmount;a.componentWillUnmount=()=>{l.splice(l.indexOf(a),1),s&&s.call(a)}}}return r},e}class vh{constructor(e,n,o,r){this.execFunc=e,this.emitter=n,this.scrollTime=o,this.scrollTimeReset=r,this.handleScrollRequest=l=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},l),this.drain()},n.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const He=Yl({});function Sh(t,e,n,o,r,l,a,s,d,f,u,m,p){return{dateEnv:r,options:n,pluginHooks:a,emitter:f,dispatch:s,getCurrentData:d,calendarApi:u,viewSpec:t,viewApi:e,dateProfileGenerator:o,theme:l,isRtl:n.direction==="rtl",addResizeHandler(c){f.on("_resize",c)},removeResizeHandler(c){f.off("_resize",c)},createScrollResponder(c){return new vh(c,f,Q(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:m,unregisterInteractiveComponent:p}}class Ct extends ve{shouldComponentUpdate(e,n){return this.debug&&console.log(io(e,this.props),io(n,this.state)),!oo(this.props,e,this.propEquality)||!oo(this.state,n,this.stateEquality)}safeSetState(e){oo(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Ct.addPropsEquality=Ah,Ct.addStateEquality=Dh,Ct.contextType=He,Ct.prototype.propEquality={},Ct.prototype.stateEquality={};class J extends Ct{}J.contextType=He;function Ah(t){let e=Object.create(this.prototype.propEquality);Object.assign(e,t),this.prototype.propEquality=e}function Dh(t){let e=Object.create(this.prototype.stateEquality);Object.assign(e,t),this.prototype.stateEquality=e}function je(t,e){typeof t=="function"?t(e):t&&(t.current=e)}class ro extends J{constructor(){super(...arguments),this.id=_t(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:n}=this.context,{generatorName:o}=this.props;(!n.customRenderingReplaces||!lo(o,n))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&je(this.props.elRef,e)}}render(){const{props:e,context:n}=this,{options:o}=n,{customGenerator:r,defaultGenerator:l,renderProps:a}=e,s=Ql(e,[],this.handleEl);let d=!1,f,u=[],m;if(r!=null){const p=typeof r=="function"?r(a,E):r;if(p===!0)d=!0;else{const c=p&&typeof p=="object";c&&"html"in p?s.dangerouslySetInnerHTML={__html:p.html}:c&&"domNodes"in p?u=Array.prototype.slice.call(p.domNodes):(c?zr(p):typeof p!="function")?f=p:m=p}}else d=!lo(e.generatorName,o);return d&&l&&(f=l(a)),this.queuedDomNodes=u,this.currentGeneratorMeta=m,E(e.elTag,s,f)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var n;const{props:o,context:r}=this,{handleCustomRendering:l,customRenderingMetaMap:a}=r.options;if(l){const s=(n=this.currentGeneratorMeta)!==null&&n!==void 0?n:a==null?void 0:a[o.generatorName];s&&l(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:s},o),{elClasses:(o.elClasses||[]).filter(xh)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:n}=this,o=this.base;if(!et(e,n)){n.forEach(Ui);for(let r of e)o.appendChild(r);this.currentDomNodes=e}}}ro.addPropsEquality({elClasses:et,elStyle:Me,elAttrs:hh,renderProps:Me});function lo(t,e){var n;return!!(e.handleCustomRendering&&t&&(!((n=e.customRenderingMetaMap)===null||n===void 0)&&n[t]))}function Ql(t,e,n){const o=Object.assign(Object.assign({},t.elAttrs),{ref:n});return(t.elClasses||e)&&(o.className=(t.elClasses||[]).concat(e||[]).concat(o.className||[]).filter(Boolean).join(" ")),t.elStyle&&(o.style=t.elStyle),o}function xh(t){return!!t}const Zl=Yl(0);class Se extends ve{constructor(){super(...arguments),this.InnerContent=Nh.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(je(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,n=Th(e.classNameGenerator,e.renderProps);if(e.children){const o=Ql(e,n,this.handleEl),r=e.children(this.InnerContent,e.renderProps,o);return e.elTag?E(e.elTag,o,r):r}else return E(ro,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(n),renderId:this.context}))}componentDidMount(){var e,n;this.el?(n=(e=this.props).didMount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,n;(n=(e=this.props).willUnmount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}Se.contextType=Zl;function Nh(t,e){const n=t.props;return E(ro,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:t.context},e))}function Th(t,e){const n=typeof t=="function"?t(e):t||[];return typeof n=="string"?[n]:n}class Qn extends J{render(){let{props:e,context:n}=this,{options:o}=n,r={view:n.viewApi};return E(Se,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Kl(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:o.viewClassNames,generatorName:void 0,didMount:o.viewDidMount,willUnmount:o.viewWillUnmount}),()=>e.children)}}function Kl(t){return[`fc-${t.type}-view`,"fc-view"]}function Vh(t,e){let n=null,o=null;return t.start&&(n=e.createMarker(t.start)),t.end&&(o=e.createMarker(t.end)),!n&&!o||n&&o&&o<n?null:{start:n,end:o}}function Xl(t,e){let n=[],{start:o}=e,r,l;for(t.sort(Rh),r=0;r<t.length;r+=1)l=t[r],l.start>o&&n.push({start:o,end:l.start}),l.end>o&&(o=l.end);return o<e.end&&n.push({start:o,end:e.end}),n}function Rh(t,e){return t.start.valueOf()-e.start.valueOf()}function kt(t,e){let{start:n,end:o}=t,r=null;return e.start!==null&&(n===null?n=e.start:n=new Date(Math.max(n.valueOf(),e.start.valueOf()))),e.end!=null&&(o===null?o=e.end:o=new Date(Math.min(o.valueOf(),e.end.valueOf()))),(n===null||o===null||n<o)&&(r={start:n,end:o}),r}function Ih(t,e){return(t.start===null?null:t.start.valueOf())===(e.start===null?null:e.start.valueOf())&&(t.end===null?null:t.end.valueOf())===(e.end===null?null:e.end.valueOf())}function ao(t,e){return(t.end===null||e.start===null||t.end>e.start)&&(t.start===null||e.end===null||t.start<e.end)}function Zn(t,e){return(t.start===null||e.start!==null&&e.start>=t.start)&&(t.end===null||e.end!==null&&e.end<=t.end)}function Ue(t,e){return(t.start===null||e>=t.start)&&(t.end===null||e<t.end)}function Bh(t,e){return e.start!=null&&t<e.start?e.start:e.end!=null&&t>=e.end?new Date(e.end.valueOf()-1):t}function Jl(t){let e=Math.floor(yt(t.start,t.end))||1,n=ie(t.start),o=ye(n,e);return{start:n,end:o}}function ea(t,e=Q(0)){let n=null,o=null;if(t.end){o=ie(t.end);let r=t.end.valueOf()-o.valueOf();r&&r>=Te(e)&&(o=ye(o,1))}return t.start&&(n=ie(t.start),o&&o<=n&&(o=ye(n,1))),{start:n,end:o}}function jt(t,e,n,o){return o==="year"?Q(n.diffWholeYears(t,e),"year"):o==="month"?Q(n.diffWholeMonths(t,e),"month"):Hp(t,e)}function Oh(t,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return t}}function Mh(t,e){let n=t.initialDate;return n!=null?e.createMarker(n):un(t.now,e)}function un(t,e){return typeof t=="function"&&(t=t()),t==null?e.createNowMarker():e.createMarker(t)}class ta{constructor(e){this.props=e,this.nowDate=un(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,n,o){let{dateEnv:r}=this.props,l=r.subtract(r.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(l,-1,o)}buildNext(e,n,o){let{dateEnv:r}=this.props,l=r.add(r.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(l,1,o)}build(e,n,o=!0){let{props:r}=this,l,a,s,d,f,u;return l=this.buildValidRange(),l=this.trimHiddenDays(l),o&&(e=Bh(e,l)),a=this.buildCurrentRangeInfo(e,n),s=/^(year|month|week|day)$/.test(a.unit),d=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),d=this.trimHiddenDays(d),f=d,r.showNonCurrentDates||(f=kt(f,a.range)),f=this.adjustActiveRange(f),f=kt(f,l),u=ao(a.range,l),Ue(d,e)||(e=d.start),{currentDate:e,validRange:l,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:f,renderRange:d,slotMinTime:r.slotMinTime,slotMaxTime:r.slotMaxTime,isValid:u,dateIncrement:this.buildDateIncrement(a.duration)}}buildValidRange(){let e=this.props.validRangeInput,n=typeof e=="function"?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(n)||{start:null,end:null}}buildCurrentRangeInfo(e,n){let{props:o}=this,r=null,l=null,a=null,s;return o.duration?(r=o.duration,l=o.durationUnit,a=this.buildRangeFromDuration(e,n,r,l)):(s=this.props.dayCount)?(l="day",a=this.buildRangeFromDayCount(e,n,s)):(a=this.buildCustomVisibleRange(e))?l=o.dateEnv.greatestWholeUnit(a.start,a.end).unit:(r=this.getFallbackDuration(),l=Qi(r).unit,a=this.buildRangeFromDuration(e,n,r,l)),{duration:r,unit:l,range:a}}getFallbackDuration(){return Q({day:1})}adjustActiveRange(e){let{dateEnv:n,usesMinMaxTime:o,slotMinTime:r,slotMaxTime:l}=this.props,{start:a,end:s}=e;return o&&(Ht(r)<0&&(a=ie(a),a=n.add(a,r)),Ht(l)>1&&(s=ie(s),s=ye(s,-1),s=n.add(s,l))),{start:a,end:s}}buildRangeFromDuration(e,n,o,r){let{dateEnv:l,dateAlignment:a}=this.props,s,d,f;if(!a){let{dateIncrement:m}=this.props;m&&Te(m)<Te(o)?a=Qi(m).unit:a=r}Ht(o)<=1&&this.isHiddenDay(s)&&(s=this.skipHiddenDays(s,n),s=ie(s));function u(){s=l.startOf(e,a),d=l.add(s,o),f={start:s,end:d}}return u(),this.trimHiddenDays(f)||(e=this.skipHiddenDays(e,n),u()),f}buildRangeFromDayCount(e,n,o){let{dateEnv:r,dateAlignment:l}=this.props,a=0,s=e,d;l&&(s=r.startOf(s,l)),s=ie(s),s=this.skipHiddenDays(s,n),d=s;do d=ye(d,1),this.isHiddenDay(d)||(a+=1);while(a<o);return{start:s,end:d}}buildCustomVisibleRange(e){let{props:n}=this,o=n.visibleRangeInput,r=typeof o=="function"?o.call(n.calendarApi,n.dateEnv.toDate(e)):o,l=this.refineRange(r);return l&&(l.start==null||l.end==null)?null:l}buildRenderRange(e,n,o){return e}buildDateIncrement(e){let{dateIncrement:n}=this.props,o;return n||((o=this.props.dateAlignment)?Q(1,o):e||Q({days:1}))}refineRange(e){if(e){let n=Vh(e,this.props.dateEnv);return n&&(n=ea(n)),n}return null}initHiddenDays(){let e=this.props.hiddenDays||[],n=[],o=0,r;for(this.props.weekends===!1&&e.push(0,6),r=0;r<7;r+=1)(n[r]=e.indexOf(r)!==-1)||(o+=1);if(!o)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}trimHiddenDays(e){let{start:n,end:o}=e;return n&&(n=this.skipHiddenDays(n)),o&&(o=this.skipHiddenDays(o,-1,!0)),n==null||o==null||n<o?{start:n,end:o}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,n=1,o=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(o?n:0)+7)%7];)e=ye(e,n);return e}}function so(t,e,n,o){return{instanceId:_t(),defId:t,range:e,forcedStartTzo:n??null,forcedEndTzo:o??null}}function Lh(t,e,n,o){for(let r=0;r<o.length;r+=1){let l=o[r].parse(t,n);if(l){let{allDay:a}=t;return a==null&&(a=e,a==null&&(a=l.allDayGuess,a==null&&(a=!1))),{allDay:a,duration:l.duration,typeData:l.typeData,typeId:r}}}return null}function vt(t,e,n){let{dateEnv:o,pluginHooks:r,options:l}=n,{defs:a,instances:s}=t;s=wt(s,d=>!a[d.defId].recurringDef);for(let d in a){let f=a[d];if(f.recurringDef){let{duration:u}=f.recurringDef;u||(u=f.allDay?l.defaultAllDayEventDuration:l.defaultTimedEventDuration);let m=zh(f,u,e,o,r.recurringTypes);for(let p of m){let c=so(d,{start:p,end:o.add(p,u)});s[c.instanceId]=c}}}return{defs:a,instances:s}}function zh(t,e,n,o,r){let a=r[t.recurringDef.typeId].expand(t.recurringDef.typeData,{start:o.subtract(n.start,e),end:n.end},o);return t.allDay&&(a=a.map(ie)),a}const Kn={id:String,groupId:String,title:String,url:String,interactive:Boolean},na={start:v,end:v,date:v,allDay:Boolean},Ph=Object.assign(Object.assign(Object.assign({},Kn),na),{extendedProps:v});function ia(t,e,n,o,r=co(n),l,a){let{refined:s,extra:d}=oa(t,n,r),f=$h(e,n),u=Lh(s,f,n.dateEnv,n.pluginHooks.recurringTypes);if(u){let p=uo(s,d,e?e.sourceId:"",u.allDay,!!u.duration,n,l);return p.recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:p,instance:null}}let m=Fh(s,f,n,o);if(m){let p=uo(s,d,e?e.sourceId:"",m.allDay,m.hasEnd,n,l),c=so(p.defId,m.range,m.forcedStartTzo,m.forcedEndTzo);return a&&p.publicId&&a[p.publicId]&&(c.instanceId=a[p.publicId]),{def:p,instance:c}}return null}function oa(t,e,n=co(e)){return eo(t,n)}function co(t){return Object.assign(Object.assign(Object.assign({},Jn),Ph),t.pluginHooks.eventRefiners)}function uo(t,e,n,o,r,l,a){let s={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:(a&&t.id?a[t.id]:"")||_t(),sourceId:n,allDay:o,hasEnd:r,interactive:t.interactive,ui:ei(t,l),extendedProps:Object.assign(Object.assign({},t.extendedProps||{}),e)};for(let d of l.pluginHooks.eventDefMemberAdders)Object.assign(s,d(t));return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function Fh(t,e,n,o){let{allDay:r}=t,l,a=null,s=!1,d,f=null,u=t.start!=null?t.start:t.date;if(l=n.dateEnv.createMarkerMeta(u),l)a=l.marker;else if(!o)return null;return t.end!=null&&(d=n.dateEnv.createMarkerMeta(t.end)),r==null&&(e!=null?r=e:r=(!l||l.isTimeUnspecified)&&(!d||d.isTimeUnspecified)),r&&a&&(a=ie(a)),d&&(f=d.marker,r&&(f=ie(f)),a&&f<=a&&(f=null)),f?s=!0:o||(s=n.options.forceEventDuration||!1,f=n.dateEnv.add(a,r?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:r,hasEnd:s,range:{start:a,end:f},forcedStartTzo:l?l.forcedTzo:null,forcedEndTzo:d?d.forcedTzo:null}}function $h(t,e){let n=null;return t&&(n=t.defaultAllDay),n==null&&(n=e.options.defaultAllDay),n}function fn(t,e,n,o,r,l){let a=Ae(),s=co(n);for(let d of t){let f=ia(d,e,n,o,s,r,l);f&&fo(f,a)}return a}function fo(t,e=Ae()){return e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function po(t,e){let n=t.instances[e];if(n){let o=t.defs[n.defId],r=Xn(t,l=>Hh(o,l));return r.defs[o.defId]=o,r.instances[n.instanceId]=n,r}return Ae()}function Hh(t,e){return!!(t.groupId&&t.groupId===e.groupId)}function Ae(){return{defs:{},instances:{}}}function ho(t,e){return{defs:Object.assign(Object.assign({},t.defs),e.defs),instances:Object.assign(Object.assign({},t.instances),e.instances)}}function Xn(t,e){let n=wt(t.defs,e),o=wt(t.instances,r=>n[r.defId]);return{defs:n,instances:o}}function jh(t,e){let{defs:n,instances:o}=t,r={},l={};for(let a in n)e.defs[a]||(r[a]=n[a]);for(let a in o)!e.instances[a]&&r[o[a].defId]&&(l[a]=o[a]);return{defs:r,instances:l}}function Uh(t,e){return Array.isArray(t)?fn(t,null,e,!0):typeof t=="object"&&t?fn([t],null,e,!0):t!=null?String(t):null}function ra(t){return Array.isArray(t)?t:typeof t=="string"?t.split(/\s+/):[]}const Jn={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:v,overlap:v,allow:v,className:ra,classNames:ra,color:String,backgroundColor:String,borderColor:String,textColor:String},Wh={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function ei(t,e){let n=Uh(t.constraint,e);return{display:t.display||null,startEditable:t.startEditable!=null?t.startEditable:t.editable,durationEditable:t.durationEditable!=null?t.durationEditable:t.editable,constraints:n!=null?[n]:[],overlap:t.overlap!=null?t.overlap:null,allows:t.allow!=null?[t.allow]:[],backgroundColor:t.backgroundColor||t.color||"",borderColor:t.borderColor||t.color||"",textColor:t.textColor||"",classNames:(t.className||[]).concat(t.classNames||[])}}function la(t){return t.reduce(Gh,Wh)}function Gh(t,e){return{display:e.display!=null?e.display:t.display,startEditable:e.startEditable!=null?e.startEditable:t.startEditable,durationEditable:e.durationEditable!=null?e.durationEditable:t.durationEditable,constraints:t.constraints.concat(e.constraints),overlap:typeof e.overlap=="boolean"?e.overlap:t.overlap,allows:t.allows.concat(e.allows),backgroundColor:e.backgroundColor||t.backgroundColor,borderColor:e.borderColor||t.borderColor,textColor:e.textColor||t.textColor,classNames:t.classNames.concat(e.classNames)}}const qh={id:String,defaultAllDay:Boolean,url:String,format:String,events:v,eventDataTransform:v,success:v,failure:v};function aa(t,e,n=sa(e)){let o;if(typeof t=="string"?o={url:t}:typeof t=="function"||Array.isArray(t)?o={events:t}:typeof t=="object"&&t&&(o=t),o){let{refined:r,extra:l}=eo(o,n),a=Yh(r,e);if(a)return{_raw:t,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:r.defaultAllDay,eventDataTransform:r.eventDataTransform,success:r.success,failure:r.failure,publicId:r.id||"",sourceId:_t(),sourceDefId:a.sourceDefId,meta:a.meta,ui:ei(r,e),extendedProps:l}}return null}function sa(t){return Object.assign(Object.assign(Object.assign({},Jn),qh),t.pluginHooks.eventSourceRefiners)}function Yh(t,e){let n=e.pluginHooks.eventSourceDefs;for(let o=n.length-1;o>=0;o-=1){let l=n[o].parseMeta(t);if(l)return{sourceDefId:o,meta:l}}return null}function Qh(t,e,n,o,r){switch(e.type){case"RECEIVE_EVENTS":return Zh(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,r);case"RESET_RAW_EVENTS":return Kh(t,n[e.sourceId],e.rawEvents,o.activeRange,r);case"ADD_EVENTS":return Xh(t,e.eventStore,o?o.activeRange:null,r);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return ho(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return o?vt(t,o.activeRange,r):t;case"REMOVE_EVENTS":return jh(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return fa(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Xn(t,l=>!l.sourceId);case"REMOVE_ALL_EVENTS":return Ae();default:return t}}function Zh(t,e,n,o,r,l){if(e&&n===e.latestFetchId){let a=fn(ca(r,e,l),e,l);return o&&(a=vt(a,o,l)),ho(fa(t,e.sourceId),a)}return t}function Kh(t,e,n,o,r){const{defIdMap:l,instanceIdMap:a}=em(t);let s=fn(ca(n,e,r),e,r,!1,l,a);return vt(s,o,r)}function ca(t,e,n){let o=n.options.eventDataTransform,r=e?e.eventDataTransform:null;return r&&(t=da(t,r)),o&&(t=da(t,o)),t}function da(t,e){let n;if(!e)n=t;else{n=[];for(let o of t){let r=e(o);r?n.push(r):r==null&&n.push(o)}}return n}function Xh(t,e,n,o){return n&&(e=vt(e,n,o)),ho(t,e)}function ua(t,e,n){let{defs:o}=t,r=$e(t.instances,l=>o[l.defId].allDay?l:Object.assign(Object.assign({},l),{range:{start:n.createMarker(e.toDate(l.range.start,l.forcedStartTzo)),end:n.createMarker(e.toDate(l.range.end,l.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:l.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:l.forcedEndTzo}));return{defs:o,instances:r}}function fa(t,e){return Xn(t,n=>n.sourceId!==e)}function Jh(t,e){return{defs:t.defs,instances:wt(t.instances,n=>!e[n.instanceId])}}function em(t){const{defs:e,instances:n}=t,o={},r={};for(let l in e){const a=e[l],{publicId:s}=a;s&&(o[s]=l)}for(let l in n){const a=n[l],s=e[a.defId],{publicId:d}=s;d&&(r[d]=l)}return{defIdMap:o,instanceIdMap:r}}class ti{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,n){tm(this.handlers,e,n)}off(e,n){nm(this.handlers,e,n)}trigger(e,...n){let o=this.handlers[e]||[],r=this.options&&this.options[e],l=[].concat(r||[],o);for(let a of l)a.apply(this.thisContext,n)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}function tm(t,e,n){(t[e]||(t[e]=[])).push(n)}function nm(t,e,n){n?t[e]&&(t[e]=t[e].filter(o=>o!==n)):delete t[e]}const im={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function om(t,e){return fn(rm(t),null,e)}function rm(t){let e;return t===!0?e=[{}]:Array.isArray(t)?e=t.filter(n=>n.daysOfWeek):typeof t=="object"&&t?e=[t]:e=[],e=e.map(n=>Object.assign(Object.assign({},im),n)),e}function pa(t,e,n){n.emitter.trigger("select",Object.assign(Object.assign({},mo(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function lm(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}function mo(t,e){let n={};for(let o of e.pluginHooks.dateSpanTransforms)Object.assign(n,o(t,e));return Object.assign(n,Em(t,e.dateEnv)),n}function ha(t,e,n){let{dateEnv:o,options:r}=n,l=e;return t?(l=ie(l),l=o.add(l,r.defaultAllDayEventDuration)):l=o.add(l,r.defaultTimedEventDuration),l}function go(t,e,n,o){let r=ni(t.defs,e),l=Ae();for(let a in t.defs){let s=t.defs[a];l.defs[a]=am(s,r[a],n,o)}for(let a in t.instances){let s=t.instances[a],d=l.defs[s.defId];l.instances[a]=sm(s,d,r[s.defId],n,o)}return l}function am(t,e,n,o){let r=n.standardProps||{};r.hasEnd==null&&e.durationEditable&&(n.startDelta||n.endDelta)&&(r.hasEnd=!0);let l=Object.assign(Object.assign(Object.assign({},t),r),{ui:Object.assign(Object.assign({},t.ui),r.ui)});n.extendedProps&&(l.extendedProps=Object.assign(Object.assign({},l.extendedProps),n.extendedProps));for(let a of o.pluginHooks.eventDefMutationAppliers)a(l,n,o);return!l.hasEnd&&o.options.forceEventDuration&&(l.hasEnd=!0),l}function sm(t,e,n,o,r){let{dateEnv:l}=r,a=o.standardProps&&o.standardProps.allDay===!0,s=o.standardProps&&o.standardProps.hasEnd===!1,d=Object.assign({},t);return a&&(d.range=Jl(d.range)),o.datesDelta&&n.startEditable&&(d.range={start:l.add(d.range.start,o.datesDelta),end:l.add(d.range.end,o.datesDelta)}),o.startDelta&&n.durationEditable&&(d.range={start:l.add(d.range.start,o.startDelta),end:d.range.end}),o.endDelta&&n.durationEditable&&(d.range={start:d.range.start,end:l.add(d.range.end,o.endDelta)}),s&&(d.range={start:d.range.start,end:ha(e.allDay,d.range.start,r)}),e.allDay&&(d.range={start:ie(d.range.start),end:ie(d.range.end)}),d.range.end<d.range.start&&(d.range.end=ha(e.allDay,d.range.start,r)),d}class Ut{constructor(e,n){this.context=e,this.internalEventSource=n}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class se{constructor(e,n,o){this._context=e,this._def=n,this._instance=o||null}setProp(e,n){if(e in na)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")n=Kn[e](n),this.mutate({standardProps:{publicId:n}});else if(e in Kn)n=Kn[e](n),this.mutate({standardProps:{[e]:n}});else if(e in Jn){let o=Jn[e](n);e==="color"?o={backgroundColor:n,borderColor:n}:e==="editable"?o={startEditable:n,durationEditable:n}:o={[e]:n},this.mutate({standardProps:{ui:o}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,n){this.mutate({extendedProps:{[e]:n}})}setStart(e,n={}){let{dateEnv:o}=this._context,r=o.createMarker(e);if(r&&this._instance){let l=this._instance.range,a=jt(l.start,r,o,n.granularity);n.maintainDuration?this.mutate({datesDelta:a}):this.mutate({startDelta:a})}}setEnd(e,n={}){let{dateEnv:o}=this._context,r;if(!(e!=null&&(r=o.createMarker(e),!r))&&this._instance)if(r){let l=jt(this._instance.range.end,r,o,n.granularity);this.mutate({endDelta:l})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,n,o={}){let{dateEnv:r}=this._context,l={allDay:o.allDay},a=r.createMarker(e),s;if(a&&!(n!=null&&(s=r.createMarker(n),!s))&&this._instance){let d=this._instance.range;o.allDay===!0&&(d=Jl(d));let f=jt(d.start,a,r,o.granularity);if(s){let u=jt(d.end,s,r,o.granularity);Rp(f,u)?this.mutate({datesDelta:f,standardProps:l}):this.mutate({startDelta:f,endDelta:u,standardProps:l})}else l.hasEnd=!1,this.mutate({datesDelta:f,standardProps:l})}}moveStart(e){let n=Q(e);n&&this.mutate({startDelta:n})}moveEnd(e){let n=Q(e);n&&this.mutate({endDelta:n})}moveDates(e){let n=Q(e);n&&this.mutate({datesDelta:n})}setAllDay(e,n={}){let o={allDay:e},{maintainDuration:r}=n;r==null&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(o.hasEnd=r),this.mutate({standardProps:o})}formatRange(e){let{dateEnv:n}=this._context,o=this._instance,r=de(e);return this._def.hasEnd?n.formatRange(o.range.start,o.range.end,r,{forcedStartTzo:o.forcedStartTzo,forcedEndTzo:o.forcedEndTzo}):n.format(o.range.start,r,{forcedTzo:o.forcedStartTzo})}mutate(e){let n=this._instance;if(n){let o=this._def,r=this._context,{eventStore:l}=r.getCurrentData(),a=po(l,n.instanceId);a=go(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,r);let d=new se(r,o,n);this._def=a.defs[o.defId],this._instance=a.instances[n.instanceId],r.dispatch({type:"MERGE_EVENTS",eventStore:a}),r.emitter.trigger("eventChange",{oldEvent:d,event:this,relatedEvents:St(a,r,n),revert(){r.dispatch({type:"RESET_EVENTS",eventStore:l})}})}}remove(){let e=this._context,n=ma(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:n}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:n})}})}get source(){let{sourceId:e}=this._def;return e?new Ut(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let n=this._def,{ui:o}=n,{startStr:r,endStr:l}=this,a={allDay:n.allDay};return n.title&&(a.title=n.title),r&&(a.start=r),l&&(a.end=l),n.publicId&&(a.id=n.publicId),n.groupId&&(a.groupId=n.groupId),n.url&&(a.url=n.url),o.display&&o.display!=="auto"&&(a.display=o.display),e.collapseColor&&o.backgroundColor&&o.backgroundColor===o.borderColor?a.color=o.backgroundColor:(o.backgroundColor&&(a.backgroundColor=o.backgroundColor),o.borderColor&&(a.borderColor=o.borderColor)),o.textColor&&(a.textColor=o.textColor),o.classNames.length&&(a.classNames=o.classNames),Object.keys(n.extendedProps).length&&(e.collapseExtendedProps?Object.assign(a,n.extendedProps):a.extendedProps=n.extendedProps),a}toJSON(){return this.toPlainObject()}}function ma(t){let e=t._def,n=t._instance;return{defs:{[e.defId]:e},instances:n?{[n.instanceId]:n}:{}}}function St(t,e,n){let{defs:o,instances:r}=t,l=[],a=n?n.instanceId:"";for(let s in r){let d=r[s],f=o[d.defId];d.instanceId!==a&&l.push(new se(e,f,d))}return l}function ga(t,e,n,o){let r={},l={},a={},s=[],d=[],f=ni(t.defs,e);for(let u in t.defs){let m=t.defs[u];f[m.defId].display==="inverse-background"&&(m.groupId?(r[m.groupId]=[],a[m.groupId]||(a[m.groupId]=m)):l[u]=[])}for(let u in t.instances){let m=t.instances[u],p=t.defs[m.defId],c=f[p.defId],_=m.range,g=!p.allDay&&o?ea(_,o):_,h=kt(g,n);h&&(c.display==="inverse-background"?p.groupId?r[p.groupId].push(h):l[m.defId].push(h):c.display!=="none"&&(c.display==="background"?s:d).push({def:p,ui:c,instance:m,range:h,isStart:g.start&&g.start.valueOf()===h.start.valueOf(),isEnd:g.end&&g.end.valueOf()===h.end.valueOf()}))}for(let u in r){let m=r[u],p=Xl(m,n);for(let c of p){let _=a[u],g=f[_.defId];s.push({def:_,ui:g,instance:null,range:c,isStart:!1,isEnd:!1})}}for(let u in l){let m=l[u],p=Xl(m,n);for(let c of p)s.push({def:t.defs[u],ui:f[u],instance:null,range:c,isStart:!1,isEnd:!1})}return{bg:s,fg:d}}function cm(t){return t.ui.display==="background"||t.ui.display==="inverse-background"}function _a(t,e){t.fcSeg=e}function Wt(t){return t.fcSeg||t.parentNode.fcSeg||null}function ni(t,e){return $e(t,n=>ya(n,e))}function ya(t,e){let n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),la(n)}function ba(t,e){let n=t.map(dm);return n.sort((o,r)=>Sp(o,r,e)),n.map(o=>o._seg)}function dm(t){let{eventRange:e}=t,n=e.def,o=e.instance?e.instance.range:e.range,r=o.start?o.start.valueOf():0,l=o.end?o.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:r,end:l,duration:l-r,allDay:Number(n.allDay),_seg:t})}function um(t,e){let{pluginHooks:n}=e,o=n.isDraggableTransformers,{def:r,ui:l}=t.eventRange,a=l.startEditable;for(let s of o)a=s(a,r,l,e);return a}function fm(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function pm(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function Ea(t,e,n,o,r,l,a){let{dateEnv:s,options:d}=n,{displayEventTime:f,displayEventEnd:u}=d,m=t.eventRange.def,p=t.eventRange.instance;f==null&&(f=o!==!1),u==null&&(u=r!==!1);let c=p.range.start,_=p.range.end,g=l||t.start||t.eventRange.range.start,h=a||t.end||t.eventRange.range.end,b=ie(c).valueOf()===ie(g).valueOf(),y=ie(tt(_,-1)).valueOf()===ie(tt(h,-1)).valueOf();return f&&!m.allDay&&(b||y)?(g=b?c:g,h=y?_:h,u&&m.hasEnd?s.formatRange(g,h,e,{forcedStartTzo:l?null:p.forcedStartTzo,forcedEndTzo:a?null:p.forcedEndTzo}):s.format(g,e,{forcedTzo:l?null:p.forcedStartTzo})):""}function ot(t,e,n){let o=t.eventRange.range;return{isPast:o.end<(n||e.start),isFuture:o.start>=(n||e.end),isToday:e&&Ue(e,o.start)}}function hm(t){let e=["fc-event"];return t.isMirror&&e.push("fc-event-mirror"),t.isDraggable&&e.push("fc-event-draggable"),(t.isStartResizable||t.isEndResizable)&&e.push("fc-event-resizable"),t.isDragging&&e.push("fc-event-dragging"),t.isResizing&&e.push("fc-event-resizing"),t.isSelected&&e.push("fc-event-selected"),t.isStart&&e.push("fc-event-start"),t.isEnd&&e.push("fc-event-end"),t.isPast&&e.push("fc-event-past"),t.isToday&&e.push("fc-event-today"),t.isFuture&&e.push("fc-event-future"),e}function wa(t){return t.instance?t.instance.instanceId:`${t.def.defId}:${t.range.start.toISOString()}`}function Ca(t,e){let{def:n,instance:o}=t.eventRange,{url:r}=n;if(r)return{href:r};let{emitter:l,options:a}=e,{eventInteractive:s}=a;return s==null&&(s=n.interactive,s==null&&(s=!!l.hasHandlers("eventClick"))),s?Tl(d=>{l.trigger("eventClick",{el:d.target,event:new se(e,n,o),jsEvent:d,view:e.viewApi})}):{}}const mm={start:v,end:v,allDay:Boolean};function gm(t,e,n){let o=_m(t,e),{range:r}=o;if(!r.start)return null;if(!r.end){if(n==null)return null;r.end=e.add(r.start,n)}return o}function _m(t,e){let{refined:n,extra:o}=eo(t,mm),r=n.start?e.createMarkerMeta(n.start):null,l=n.end?e.createMarkerMeta(n.end):null,{allDay:a}=n;return a==null&&(a=r&&r.isTimeUnspecified&&(!l||l.isTimeUnspecified)),Object.assign({range:{start:r?r.marker:null,end:l?l.marker:null},allDay:a},o)}function ym(t,e){return Ih(t.range,e.range)&&t.allDay===e.allDay&&bm(t,e)}function bm(t,e){for(let n in e)if(n!=="range"&&n!=="allDay"&&t[n]!==e[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}function Em(t,e){return Object.assign(Object.assign({},va(t.range,e,t.allDay)),{allDay:t.allDay})}function ka(t,e,n){return Object.assign(Object.assign({},va(t,e,n)),{timeZone:e.timeZone})}function va(t,e,n){return{start:e.toDate(t.start),end:e.toDate(t.end),startStr:e.formatIso(t.start,{omitTime:n}),endStr:e.formatIso(t.end,{omitTime:n})}}function wm(t,e,n){let o=oa({editable:!1},n),r=uo(o.refined,o.extra,"",t.allDay,!0,n);return{def:r,ui:ya(r,e),instance:so(r.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function Cm(t,e,n){let o=!1,r=function(s){o||(o=!0,e(s))},l=function(s){o||(o=!0,n(s))},a=t(r,l);a&&typeof a.then=="function"&&a.then(r,l)}class Sa extends Error{constructor(e,n){super(e),this.response=n}}function km(t,e,n){t=t.toUpperCase();const o={method:t};return t==="GET"?e+=(e.indexOf("?")===-1?"?":"&")+new URLSearchParams(n):(o.body=new URLSearchParams(n),o.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(e,o).then(r=>{if(r.ok)return r.json().then(l=>[l,r],()=>{throw new Sa("Failure parsing JSON",r)});throw new Sa("Request failed",r)})}let _o;function Aa(){return _o==null&&(_o=vm()),_o}function vm(){if(typeof document>"u")return!0;let t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.innerHTML="<table><tr><td><div></div></td></tr></table>",t.querySelector("table").style.height="100px",t.querySelector("div").style.height="100%",document.body.appendChild(t);let n=t.querySelector("div").offsetHeight>0;return document.body.removeChild(t),n}class Sm extends J{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this,{options:n}=e,{forPrint:o}=this.state,r=o||n.height==="auto"||n.contentHeight==="auto",l=!r&&n.height!=null?n.height:"",a=["fc",o?"fc-media-print":"fc-media-screen",`fc-direction-${n.direction}`,e.theme.getClass("root")];return Aa()||a.push("fc-liquid-hack"),e.children(a,l,r,o)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class Gt{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function Am(t,e){return{component:t,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function yo(t){return{[t.component.uid]:t}}const bo={};class Dm{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,n){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:n})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,n){let{currentDataManager:o}=this;o.currentCalendarOptionsRefiners[e]?o.emitter.on(e,n):console.warn(`Unknown listener name '${e}'`)}off(e,n){this.currentDataManager.emitter.off(e,n)}trigger(e,...n){this.currentDataManager.emitter.trigger(e,...n)}changeView(e,n){this.batchRendering(()=>{if(this.unselect(),n)if(n.start&&n.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:n});else{let{dateEnv:o}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:o.createMarker(n)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,n){let o=this.getCurrentData(),r;n=n||"day",r=o.viewSpecs[n]||this.getUnitViewSpec(n),this.unselect(),r?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:r.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:n,toolbarConfig:o}=this.getCurrentData(),r=[].concat(o.header?o.header.viewsWithButtons:[],o.footer?o.footer.viewsWithButtons:[]),l,a;for(let s in n)r.push(s);for(l=0;l<r.length;l+=1)if(a=n[r[l]],a&&a.singleUnit===e)return a;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:un(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let n=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.createMarker(e)})}incrementDate(e){let n=this.getCurrentData(),o=Q(e);o&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.add(n.currentDate,o)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,n){let{dateEnv:o}=this.getCurrentData();return o.format(o.createMarker(e),de(n))}formatRange(e,n,o){let{dateEnv:r}=this.getCurrentData();return r.formatRange(r.createMarker(e),r.createMarker(n),de(o),o)}formatIso(e,n){let{dateEnv:o}=this.getCurrentData();return o.formatIso(o.createMarker(e),{omitTime:n})}select(e,n){let o;n==null?e.start!=null?o=e:o={start:e,end:null}:o={start:e,end:n};let r=this.getCurrentData(),l=gm(o,r.dateEnv,Q({days:1}));l&&(this.dispatch({type:"SELECT_DATES",selection:l}),pa(l,null,r))}unselect(e){let n=this.getCurrentData();n.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),lm(e,n))}addEvent(e,n){if(e instanceof se){let a=e._def,s=e._instance;return this.getCurrentData().eventStore.defs[a.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:fo({def:a,instance:s})}),this.triggerEventAdd(e)),e}let o=this.getCurrentData(),r;if(n instanceof Ut)r=n.internalEventSource;else if(typeof n=="boolean")n&&([r]=no(o.eventSources));else if(n!=null){let a=this.getEventSourceById(n);if(!a)return console.warn(`Could not find an event source with ID "${n}"`),null;r=a.internalEventSource}let l=ia(e,r,o,!1);if(l){let a=new se(o,l.def,l.def.recurringDef?null:l.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:fo(l)}),this.triggerEventAdd(a),a}return null}triggerEventAdd(e){let{emitter:n}=this.getCurrentData();n.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:ma(e)})}})}getEventById(e){let n=this.getCurrentData(),{defs:o,instances:r}=n.eventStore;e=String(e);for(let l in o){let a=o[l];if(a.publicId===e){if(a.recurringDef)return new se(n,a,null);for(let s in r){let d=r[s];if(d.defId===a.defId)return new se(n,a,d)}}}return null}getEvents(){let e=this.getCurrentData();return St(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),n=e.eventSources,o=[];for(let r in n)o.push(new Ut(e,n[r]));return o}getEventSourceById(e){let n=this.getCurrentData(),o=n.eventSources;e=String(e);for(let r in o)if(o[r].publicId===e)return new Ut(n,o[r]);return null}addEventSource(e){let n=this.getCurrentData();if(e instanceof Ut)return n.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let o=aa(e,n);return o?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[o]}),new Ut(n,o)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let n=Q(e);n&&this.trigger("_scrollRequest",{time:n})}}function xm(t,e){return t.left>=e.left&&t.left<e.right&&t.top>=e.top&&t.top<e.bottom}function Da(t,e){let n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom?n:!1}function Nm(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}}function Tm(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function Vm(t,e){return{left:t.left-e.left,top:t.top-e.top}}const Eo=Ae();class Rm{constructor(){this.getKeysForEventDefs=F(this._getKeysForEventDefs),this.splitDateSelection=F(this._splitDateSpan),this.splitEventStore=F(this._splitEventStore),this.splitIndividualUi=F(this._splitIndividualUi),this.splitEventDrag=F(this._splitInteraction),this.splitEventResize=F(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let n=this.getKeyInfo(e),o=this.getKeysForEventDefs(e.eventStore),r=this.splitDateSelection(e.dateSelection),l=this.splitIndividualUi(e.eventUiBases,o),a=this.splitEventStore(e.eventStore,o),s=this.splitEventDrag(e.eventDrag),d=this.splitEventResize(e.eventResize),f={};this.eventUiBuilders=$e(n,(u,m)=>this.eventUiBuilders[m]||F(Im));for(let u in n){let m=n[u],p=a[u]||Eo,c=this.eventUiBuilders[u];f[u]={businessHours:m.businessHours||e.businessHours,dateSelection:r[u]||null,eventStore:p,eventUiBases:c(e.eventUiBases[""],m.ui,l[u]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:d[u]||null}}return f}_splitDateSpan(e){let n={};if(e){let o=this.getKeysForDateSpan(e);for(let r of o)n[r]=e}return n}_getKeysForEventDefs(e){return $e(e.defs,n=>this.getKeysForEventDef(n))}_splitEventStore(e,n){let{defs:o,instances:r}=e,l={};for(let a in o)for(let s of n[a])l[s]||(l[s]=Ae()),l[s].defs[a]=o[a];for(let a in r){let s=r[a];for(let d of n[s.defId])l[d]&&(l[d].instances[a]=s)}return l}_splitIndividualUi(e,n){let o={};for(let r in e)if(r)for(let l of n[r])o[l]||(o[l]={}),o[l][r]=e[r];return o}_splitInteraction(e){let n={};if(e){let o=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),l=this._splitEventStore(e.mutatedEvents,r),a=s=>{n[s]||(n[s]={affectedEvents:o[s]||Eo,mutatedEvents:l[s]||Eo,isEvent:e.isEvent})};for(let s in o)a(s);for(let s in l)a(s)}return n}}function Im(t,e,n){let o=[];t&&o.push(t),e&&o.push(e);let r={"":la(o)};return n&&Object.assign(r,n),r}function xa(t,e,n,o){return{dow:t.getUTCDay(),isDisabled:!!(o&&!Ue(o.activeRange,t)),isOther:!!(o&&!Ue(o.currentRange,t)),isToday:!!(e&&Ue(e,t)),isPast:!!(n?t<n:e&&t<e.start),isFuture:!!(n?t>n:e&&t>=e.end)}}function wo(t,e){let n=["fc-day",`fc-day-${Lp[t.dow]}`];return t.isDisabled?n.push("fc-day-disabled"):(t.isToday&&(n.push("fc-day-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-day-past"),t.isFuture&&n.push("fc-day-future"),t.isOther&&n.push("fc-day-other")),n}const Bm=de({year:"numeric",month:"long",day:"numeric"}),Om=de({week:"long"});function ii(t,e,n="day",o=!0){const{dateEnv:r,options:l,calendarApi:a}=t;let s=r.format(e,n==="week"?Om:Bm);if(l.navLinks){let d=r.toDate(e);const f=u=>{let m=n==="day"?l.navLinkDayClick:n==="week"?l.navLinkWeekClick:null;typeof m=="function"?m.call(a,r.toDate(e),u):(typeof m=="string"&&(n=m),a.zoomTo(e,n))};return Object.assign({title:sn(l.navLinkHint,[s,d],s),"data-navlink":""},o?Nl(f):{onClick:f})}return{"aria-label":s}}let Co=null;function Mm(){return Co===null&&(Co=Lm()),Co}function Lm(){let t=document.createElement("div");an(t,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),t.innerHTML="<div></div>",document.body.appendChild(t);let n=t.firstChild.getBoundingClientRect().left>t.getBoundingClientRect().left;return Ui(t),n}let ko;function zm(){return ko||(ko=Pm()),ko}function Pm(){let t=document.createElement("div");t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t);let e=Na(t);return document.body.removeChild(t),e}function Na(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function Fm(t,e=!1){let n=window.getComputedStyle(t),o=parseInt(n.borderLeftWidth,10)||0,r=parseInt(n.borderRightWidth,10)||0,l=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=Na(t),d=s.y-o-r,f=s.x-l-a,u={borderLeft:o,borderRight:r,borderTop:l,borderBottom:a,scrollbarBottom:f,scrollbarLeft:0,scrollbarRight:0};return Mm()&&n.direction==="rtl"?u.scrollbarLeft=d:u.scrollbarRight=d,e&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function $m(t,e=!1,n){let o=n?t.getBoundingClientRect():vo(t),r=Fm(t,e),l={left:o.left+r.borderLeft+r.scrollbarLeft,right:o.right-r.borderRight-r.scrollbarRight,top:o.top+r.borderTop,bottom:o.bottom-r.borderBottom-r.scrollbarBottom};return e&&(l.left+=r.paddingLeft,l.right-=r.paddingRight,l.top+=r.paddingTop,l.bottom-=r.paddingBottom),l}function vo(t){let e=t.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function Hm(t){let e=Ta(t),n=t.getBoundingClientRect();for(let o of e){let r=Da(n,o.getBoundingClientRect());if(r)n=r;else return null}return n}function Ta(t){let e=[];for(;t instanceof HTMLElement;){let n=window.getComputedStyle(t);if(n.position==="fixed")break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&e.push(t),t=t.parentNode}return e}class qt{constructor(e,n,o,r){this.els=n;let l=this.originClientRect=e.getBoundingClientRect();o&&this.buildElHorizontals(l.left),r&&this.buildElVerticals(l.top)}buildElHorizontals(e){let n=[],o=[];for(let r of this.els){let l=r.getBoundingClientRect();n.push(l.left-e),o.push(l.right-e)}this.lefts=n,this.rights=o}buildElVerticals(e){let n=[],o=[];for(let r of this.els){let l=r.getBoundingClientRect();n.push(l.top-e),o.push(l.bottom-e)}this.tops=n,this.bottoms=o}leftToIndex(e){let{lefts:n,rights:o}=this,r=n.length,l;for(l=0;l<r;l+=1)if(e>=n[l]&&e<o[l])return l}topToIndex(e){let{tops:n,bottoms:o}=this,r=n.length,l;for(l=0;l<r;l+=1)if(e>=n[l]&&e<o[l])return l}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return oi(this.tops||[],e.tops||[])&&oi(this.bottoms||[],e.bottoms||[])&&oi(this.lefts||[],e.lefts||[])&&oi(this.rights||[],e.rights||[])}}function oi(t,e){const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(Math.round(t[o])!==Math.round(e[o]))return!1;return!0}class So{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}}class jm extends So{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}}class Um extends So{getScrollTop(){return window.pageYOffset}getScrollLeft(){return window.pageXOffset}setScrollTop(e){window.scroll(window.pageXOffset,e)}setScrollLeft(e){window.scroll(e,window.pageYOffset)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class Le extends J{constructor(){super(...arguments),this.uid=_t()}prepareHits(){}queryHit(e,n,o,r){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!_e(e,".fc-event-mirror")}isValidDateDownEl(e){return!_e(e,".fc-event:not(.fc-bg-event)")&&!_e(e,".fc-more-link")&&!_e(e,"a[data-navlink]")&&!_e(e,".fc-popover")}}class Va{constructor(e=n=>n.thickness){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let n=[];for(let o of e)this.insertEntry(o,n);return n}insertEntry(e,n){let o=this.findInsertion(e);return this.isInsertionValid(o,e)?(this.insertEntryAt(e,o),1):this.handleInvalidInsertion(o,e,n)}isInsertionValid(e,n){return(this.maxCoord===-1||e.levelCoord+this.getEntryThickness(n)<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,n,o){return this.allowReslicing&&e.touchingEntry?this.splitEntry(n,e.touchingEntry,o):(o.push(n),0)}splitEntry(e,n,o){let r=0,l=[],a=e.span,s=n.span;return a.start<s.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.start,end:s.start}},l)),a.end>s.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:a.end}},l)),r?(o.push({index:e.index,thickness:e.thickness,span:Do(s,a)},...l),r):(o.push(e),0)}insertEntryAt(e,n){let{entriesByLevel:o,levelCoords:r}=this;n.lateral===-1?(xo(r,n.level,n.levelCoord),xo(o,n.level,[e])):xo(o[n.level],n.lateral,e),this.stackCnts[At(e)]=n.stackCnt}findInsertion(e){let{levelCoords:n,entriesByLevel:o,strictOrder:r,stackCnts:l}=this,a=n.length,s=0,d=-1,f=-1,u=null,m=0;for(let _=0;_<a;_+=1){let g=n[_];if(!r&&g>=s+this.getEntryThickness(e))break;let h=o[_],b,y=No(h,e.span.start,Ao),C=y[0]+y[1];for(;(b=h[C])&&b.span.start<e.span.end;){let k=g+this.getEntryThickness(b);k>s&&(s=k,u=b,d=_,f=C),k===s&&(m=Math.max(m,l[At(b)]+1)),C+=1}}let p=0;if(u)for(p=d+1;p<a&&n[p]<s;)p+=1;let c=-1;return p<a&&n[p]===s&&(c=No(o[p],e.span.end,Ao)[0]),{touchingLevel:d,touchingLateral:f,touchingEntry:u,stackCnt:m,levelCoord:s,level:p,lateral:c}}toRects(){let{entriesByLevel:e,levelCoords:n}=this,o=e.length,r=[];for(let l=0;l<o;l+=1){let a=e[l],s=n[l];for(let d of a)r.push(Object.assign(Object.assign({},d),{thickness:this.getEntryThickness(d),levelCoord:s}))}return r}}function Ao(t){return t.span.end}function At(t){return t.index+":"+t.span.start}function Wm(t){let e=[];for(let n of t){let o=[],r={span:n.span,entries:[n]};for(let l of e)Do(l.span,r.span)?r={entries:l.entries.concat(r.entries),span:Gm(l.span,r.span)}:o.push(l);o.push(r),e=o}return e}function Gm(t,e){return{start:Math.min(t.start,e.start),end:Math.max(t.end,e.end)}}function Do(t,e){let n=Math.max(t.start,e.start),o=Math.min(t.end,e.end);return n<o?{start:n,end:o}:null}function xo(t,e,n){t.splice(e,0,n)}function No(t,e,n){let o=0,r=t.length;if(!r||e<n(t[o]))return[0,0];if(e>n(t[r-1]))return[r,0];for(;o<r;){let l=Math.floor(o+(r-o)/2),a=n(t[l]);if(e<a)r=l;else if(e>a)o=l+1;else return[l,1]}return[o,0]}class qm{constructor(e,n){this.emitter=new ti}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const To={};function Ym(t,e){return!t||e>10?de({weekday:"short"}):e>1?de({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):de({weekday:"long"})}const Ra="fc-col-header-cell";function Ia(t){return t.text}class Qm extends J{render(){let{dateEnv:e,options:n,theme:o,viewApi:r}=this.context,{props:l}=this,{date:a,dateProfile:s}=l,d=xa(a,l.todayRange,null,s),f=[Ra].concat(wo(d,o)),u=e.format(a,l.dayHeaderFormat),m=!d.isDisabled&&l.colCnt>1?ii(this.context,a):{},p=Object.assign(Object.assign(Object.assign({date:e.toDate(a),view:r},l.extraRenderProps),{text:u}),d);return E(Se,{elTag:"th",elClasses:f,elAttrs:Object.assign({role:"columnheader",colSpan:l.colSpan,"data-date":d.isDisabled?void 0:Ki(a)},l.extraDataAttrs),renderProps:p,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:Ia,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},c=>E("div",{className:"fc-scrollgrid-sync-inner"},!d.isDisabled&&E(c,{elTag:"a",elAttrs:m,elClasses:["fc-col-header-cell-cushion",l.isSticky&&"fc-sticky"]})))}}const Zm=de({weekday:"long"});class Km extends J{render(){let{props:e}=this,{dateEnv:n,theme:o,viewApi:r,options:l}=this.context,a=ye(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},d=n.format(a,e.dayHeaderFormat),f=Object.assign(Object.assign(Object.assign(Object.assign({date:a},s),{view:r}),e.extraRenderProps),{text:d});return E(Se,{elTag:"th",elClasses:[Ra,...wo(s,o),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:f,generatorName:"dayHeaderContent",customGenerator:l.dayHeaderContent,defaultGenerator:Ia,classNameGenerator:l.dayHeaderClassNames,didMount:l.dayHeaderDidMount,willUnmount:l.dayHeaderWillUnmount},u=>E("div",{className:"fc-scrollgrid-sync-inner"},E(u,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(a,Zm)}})))}}class pn extends ve{constructor(e,n){super(e,n),this.initialNowDate=un(n.options.now,n.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:n}=this;return e.children(n.nowDate,n.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:n}=this,o=tt(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=n.dateEnv.startOf(o,e.unit),l=n.dateEnv.add(r,Q(1,e.unit)),a=l.valueOf()-o.valueOf();return a=Math.min(1e3*60*60*24,a),{currentState:{nowDate:r,todayRange:Ba(r)},nextState:{nowDate:l,todayRange:Ba(l)},waitMs:a}}setTimeout(){let{nextState:e,waitMs:n}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},n)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}pn.contextType=He;function Ba(t){let e=ie(t),n=ye(e,1);return{start:e,end:n}}class Oa extends J{constructor(){super(...arguments),this.createDayHeaderFormatter=F(Xm)}render(){let{context:e}=this,{dates:n,dateProfile:o,datesRepDistinctDays:r,renderIntro:l}=this.props,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,n.length);return E(pn,{unit:"day"},(s,d)=>E("tr",{role:"row"},l&&l("day"),n.map(f=>r?E(Qm,{key:f.toISOString(),date:f,dateProfile:o,todayRange:d,colCnt:n.length,dayHeaderFormat:a}):E(Km,{key:f.getUTCDay(),dow:f.getUTCDay(),dayHeaderFormat:a}))))}}function Xm(t,e,n){return t||Ym(e,n)}class Ma{constructor(e,n){let o=e.start,{end:r}=e,l=[],a=[],s=-1;for(;o<r;)n.isHiddenDay(o)?l.push(s+.5):(s+=1,l.push(s),a.push(o)),o=ye(o,1);this.dates=a,this.indices=l,this.cnt=a.length}sliceRange(e){let n=this.getDateDayIndex(e.start),o=this.getDateDayIndex(ye(e.end,-1)),r=Math.max(0,n),l=Math.min(this.cnt-1,o);return r=Math.ceil(r),l=Math.floor(l),r<=l?{firstIndex:r,lastIndex:l,isStart:n===r,isEnd:o===l}:null}getDateDayIndex(e){let{indices:n}=this,o=Math.floor(yt(this.dates[0],e));return o<0?n[0]-1:o>=n.length?n[n.length-1]+1:n[o]}}class La{constructor(e,n){let{dates:o}=e,r,l,a;if(n){for(l=o[0].getUTCDay(),r=1;r<o.length&&o[r].getUTCDay()!==l;r+=1);a=Math.ceil(o.length/r)}else a=1,r=o.length;this.rowCnt=a,this.colCnt=r,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let n=0;n<this.rowCnt;n+=1){let o=[];for(let r=0;r<this.colCnt;r+=1)o.push(this.buildCell(n,r));e.push(o)}return e}buildCell(e,n){let o=this.daySeries.dates[e*this.colCnt+n];return{key:o.toISOString(),date:o}}buildHeaderDates(){let e=[];for(let n=0;n<this.colCnt;n+=1)e.push(this.cells[0][n].date);return e}sliceRange(e){let{colCnt:n}=this,o=this.daySeries.sliceRange(e),r=[];if(o){let{firstIndex:l,lastIndex:a}=o,s=l;for(;s<=a;){let d=Math.floor(s/n),f=Math.min((d+1)*n,a+1);r.push({row:d,firstCol:s%n,lastCol:(f-1)%n,isStart:o.isStart&&s===l,isEnd:o.isEnd&&f-1===a}),s=f}}return r}}class za{constructor(){this.sliceBusinessHours=F(this._sliceBusinessHours),this.sliceDateSelection=F(this._sliceDateSpan),this.sliceEventStore=F(this._sliceEventStore),this.sliceEventDrag=F(this._sliceInteraction),this.sliceEventResize=F(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,n,o,r,...l){let{eventUiBases:a}=e,s=this.sliceEventStore(e.eventStore,a,n,o,...l);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,n,o,a,r,...l),businessHourSegs:this.sliceBusinessHours(e.businessHours,n,o,r,...l),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag(e.eventDrag,a,n,o,...l),eventResize:this.sliceEventResize(e.eventResize,a,n,o,...l),eventSelection:e.eventSelection}}sliceNowDate(e,n,o,r,...l){return this._sliceDateSpan({range:{start:e,end:tt(e,1)},allDay:!1},n,o,{},r,...l)}_sliceBusinessHours(e,n,o,r,...l){return e?this._sliceEventStore(vt(e,ri(n,!!o),r),{},n,o,...l).bg:[]}_sliceEventStore(e,n,o,r,...l){if(e){let a=ga(e,n,ri(o,!!r),r);return{bg:this.sliceEventRanges(a.bg,l),fg:this.sliceEventRanges(a.fg,l)}}return{bg:[],fg:[]}}_sliceInteraction(e,n,o,r,...l){if(!e)return null;let a=ga(e.mutatedEvents,n,ri(o,!!r),r);return{segs:this.sliceEventRanges(a.fg,l),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,n,o,r,l,...a){if(!e)return[];let s=ri(n,!!o),d=kt(e.range,s);if(d){e=Object.assign(Object.assign({},e),{range:d});let f=wm(e,r,l),u=this.sliceRange(e.range,...a);for(let m of u)m.eventRange=f;return u}return[]}sliceEventRanges(e,n){let o=[];for(let r of e)o.push(...this.sliceEventRange(r,n));return o}sliceEventRange(e,n){let o=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(o={start:o.start,end:ye(o.start,1)});let r=this.sliceRange(o,...n);for(let l of r)l.eventRange=e,l.isStart=e.isStart&&l.isStart,l.isEnd=e.isEnd&&l.isEnd;return r}}function ri(t,e){let n=t.activeRange;return e?n:{start:tt(n.start,t.slotMinTime.milliseconds),end:tt(n.end,t.slotMaxTime.milliseconds-864e5)}}function Pa(t,e,n){let{instances:o}=t.mutatedEvents;for(let r in o)if(!Zn(e.validRange,o[r].range))return!1;return Fa({eventDrag:t},n)}function Jm(t,e,n){return Zn(e.validRange,t.range)?Fa({dateSelection:t},n):!1}function Fa(t,e){let n=e.getCurrentData(),o=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},t);return(e.pluginHooks.isPropsValid||eg)(o,e)}function eg(t,e,n={},o){return!(t.eventDrag&&!tg(t,e,n,o)||t.dateSelection&&!ng(t,e,n,o))}function tg(t,e,n,o){let r=e.getCurrentData(),l=t.eventDrag,a=l.mutatedEvents,s=a.defs,d=a.instances,f=ni(s,l.isEvent?t.eventUiBases:{"":r.selectionConfig});o&&(f=$e(f,o));let u=Jh(t.eventStore,l.affectedEvents.instances),m=u.defs,p=u.instances,c=ni(m,t.eventUiBases);for(let _ in d){let g=d[_],h=g.range,b=f[g.defId],y=s[g.defId];if(!$a(b.constraints,h,u,t.businessHours,e))return!1;let{eventOverlap:C}=e.options,k=typeof C=="function"?C:null;for(let S in p){let x=p[S];if(ao(h,x.range)&&(c[x.defId].overlap===!1&&l.isEvent||b.overlap===!1||k&&!k(new se(e,m[x.defId],x),new se(e,y,g))))return!1}let B=r.eventStore;for(let S of b.allows){let x=Object.assign(Object.assign({},n),{range:g.range,allDay:y.allDay}),w=B.defs[y.defId],N=B.instances[_],D;if(w?D=new se(e,w,N):D=new se(e,y),!S(mo(x,e),D))return!1}}return!0}function ng(t,e,n,o){let r=t.eventStore,l=r.defs,a=r.instances,s=t.dateSelection,d=s.range,{selectionConfig:f}=e.getCurrentData();if(o&&(f=o(f)),!$a(f.constraints,d,r,t.businessHours,e))return!1;let{selectOverlap:u}=e.options,m=typeof u=="function"?u:null;for(let p in a){let c=a[p];if(ao(d,c.range)&&(f.overlap===!1||m&&!m(new se(e,l[c.defId],c),null)))return!1}for(let p of f.allows){let c=Object.assign(Object.assign({},n),s);if(!p(mo(c,e),null))return!1}return!0}function $a(t,e,n,o,r){for(let l of t)if(!og(ig(l,e,n,o,r),e))return!1;return!0}function ig(t,e,n,o,r){return t==="businessHours"?Vo(vt(o,e,r)):typeof t=="string"?Vo(Xn(n,l=>l.groupId===t)):typeof t=="object"&&t?Vo(vt(t,e,r)):[]}function Vo(t){let{instances:e}=t,n=[];for(let o in e)n.push(e[o].range);return n}function og(t,e){for(let n of t)if(Zn(n,e))return!0;return!1}const li=/^(visible|hidden)$/;class rg extends J{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,je(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:n,liquidIsAbsolute:o}=e,r=n&&o,l=["fc-scroller"];return n&&(o?l.push("fc-scroller-liquid-absolute"):l.push("fc-scroller-liquid")),E("div",{ref:this.handleEl,className:l.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(li.test(this.props.overflowX))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:o}=e;for(let r=0;r<o.length;r+=1)if(o[r].getBoundingClientRect().width>n)return!0;return!1}needsYScrolling(){if(li.test(this.props.overflowY))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:o}=e;for(let r=0;r<o.length;r+=1)if(o[r].getBoundingClientRect().height>n)return!0;return!1}getXScrollbarWidth(){return li.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return li.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class We{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(n,o)=>{let{depths:r,currentMap:l}=this,a=!1,s=!1;n!==null?(a=o in l,l[o]=n,r[o]=(r[o]||0)+1,s=!0):(r[o]-=1,r[o]||(delete l[o],delete this.callbackMap[o],a=!0)),this.masterCallback&&(a&&this.masterCallback(null,String(o)),s&&this.masterCallback(n,String(o)))}}createRef(e){let n=this.callbackMap[e];return n||(n=this.callbackMap[e]=o=>{this.handleValue(o,String(e))}),n}collect(e,n,o){return gh(this.currentMap,e,n,o)}getAll(){return no(this.currentMap)}}function lg(t){let e=mp(t,".fc-scrollgrid-shrink"),n=0;for(let o of e)n=Math.max(n,Np(o));return Math.ceil(n)}function Ha(t,e){return t.liquid&&e.liquid}function ag(t,e){return e.maxHeight!=null||Ha(t,e)}function sg(t,e,n,o){let{expandRows:r}=n;return typeof e.content=="function"?e.content(n):E("table",{role:"presentation",className:[e.tableClassName,t.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:r?n.clientHeight:""}},n.tableColGroupNode,E(o?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(n):e.rowContent))}function cg(t,e){return et(t,e,Me)}function dg(t,e){let n=[];for(let o of t){let r=o.span||1;for(let l=0;l<r;l+=1)n.push(E("col",{style:{width:o.width==="shrink"?ug(e):o.width||"",minWidth:o.minWidth||""}}))}return E("colgroup",{},...n)}function ug(t){return t??4}function fg(t){for(let e of t)if(e.width==="shrink")return!0;return!1}function pg(t,e){let n=["fc-scrollgrid",e.theme.getClass("table")];return t&&n.push("fc-scrollgrid-liquid"),n}function hg(t,e){let n=["fc-scrollgrid-section",`fc-scrollgrid-section-${t.type}`,t.className];return e&&t.liquid&&t.maxHeight==null&&n.push("fc-scrollgrid-section-liquid"),t.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Ro(t){return E("div",{className:"fc-scrollgrid-sticky-shim",style:{width:t.clientWidth,minWidth:t.tableMinWidth}})}function ai(t){let{stickyHeaderDates:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}function ja(t){let{stickyFooterScrollbar:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}class Io extends J{constructor(){super(...arguments),this.processCols=F(e=>e,cg),this.renderMicroColGroup=F(dg),this.scrollerRefs=new We,this.scrollerElRefs=new We(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:n,context:o}=this,r=e.sections||[],l=this.processCols(e.cols),a=this.renderMicroColGroup(l,n.shrinkWidth),s=pg(e.liquid,o);e.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");let d=r.length,f=0,u,m=[],p=[],c=[];for(;f<d&&(u=r[f]).type==="header";)m.push(this.renderSection(u,a,!0)),f+=1;for(;f<d&&(u=r[f]).type==="body";)p.push(this.renderSection(u,a,!1)),f+=1;for(;f<d&&(u=r[f]).type==="footer";)c.push(this.renderSection(u,a,!0)),f+=1;let _=!Aa();const g={role:"rowgroup"};return E("table",{role:"grid",className:s.join(" "),style:{height:e.height}},!!(!_&&m.length)&&E("thead",g,...m),!!(!_&&p.length)&&E("tbody",g,...p),!!(!_&&c.length)&&E("tfoot",g,...c),_&&E("tbody",g,...m,...p,...c))}renderSection(e,n,o){return"outerContent"in e?E(re,{key:e.key},e.outerContent):E("tr",{key:e.key,role:"presentation",className:hg(e,this.props.liquid).join(" ")},this.renderChunkTd(e,n,e.chunk,o))}renderChunkTd(e,n,o,r){if("outerContent"in o)return o.outerContent;let{props:l}=this,{forceYScrollbars:a,scrollerClientWidths:s,scrollerClientHeights:d}=this.state,f=ag(l,e),u=Ha(l,e),m=l.liquid?a?"scroll":f?"auto":"hidden":"visible",p=e.key,c=sg(e,o,{tableColGroupNode:n,tableMinWidth:"",clientWidth:!l.collapsibleWidth&&s[p]!==void 0?s[p]:null,clientHeight:d[p]!==void 0?d[p]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},r);return E(r?"th":"td",{ref:o.elRef,role:"presentation"},E("div",{className:`fc-scroller-harness${u?" fc-scroller-harness-liquid":""}`},E(rg,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:m,overflowX:l.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},c)))}_handleScrollerEl(e,n){let o=mg(this.props.sections,n);o&&je(o.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return fg(this.props.cols)?lg(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=zm(),{scrollerRefs:n,scrollerElRefs:o}=this,r=!1,l={},a={};for(let s in n.currentMap){let d=n.currentMap[s];if(d&&d.needsYScrolling()){r=!0;break}}for(let s of this.props.sections){let d=s.key,f=o.currentMap[d];if(f){let u=f.parentNode;l[d]=Math.floor(u.getBoundingClientRect().width-(r?e.y:0)),a[d]=Math.floor(u.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:l,scrollerClientHeights:a}}}Io.addStateEquality({scrollerClientWidths:Me,scrollerClientHeights:Me});function mg(t,e){for(let n of t)if(n.key===e)return n;return null}class Bo extends J{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&_a(e,this.props.seg)}}render(){const{props:e,context:n}=this,{options:o}=n,{seg:r}=e,{eventRange:l}=r,{ui:a}=l,s={event:new se(n,l.def,l.instance),view:n.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&um(r,n),isStartResizable:!e.disableResizing&&fm(r,n),isEndResizable:!e.disableResizing&&pm(r),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!r.isStart,isEnd:!!r.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing};return E(Se,Object.assign({},e,{elRef:this.handleEl,elClasses:[...hm(s),...r.eventRange.ui.classNames,...e.elClasses||[]],renderProps:s,generatorName:"eventContent",customGenerator:o.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:o.eventClassNames,didMount:o.eventDidMount,willUnmount:o.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&_a(this.el,this.props.seg)}}class Ua extends J{render(){let{props:e,context:n}=this,{options:o}=n,{seg:r}=e,{ui:l}=r.eventRange,a=o.eventTimeFormat||e.defaultTimeFormat,s=Ea(r,a,n,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return E(Bo,Object.assign({},e,{elTag:"a",elStyle:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},elAttrs:Ca(r,n),defaultGenerator:gg,timeText:s}),(d,f)=>E(re,null,E(d,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:f.textColor}}),!!f.isStartResizable&&E("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!f.isEndResizable&&E("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function gg(t){return E("div",{className:"fc-event-main-frame"},t.timeText&&E("div",{className:"fc-event-time"},t.timeText),E("div",{className:"fc-event-title-container"},E("div",{className:"fc-event-title fc-sticky"},t.event.title||E(re,null," "))))}const Oo=t=>E(He.Consumer,null,e=>{let{options:n}=e,o={isAxis:t.isAxis,date:e.dateEnv.toDate(t.date),view:e.viewApi};return E(Se,Object.assign({},t,{elTag:t.elTag||"div",renderProps:o,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}),_g=de({day:"numeric"});class Mo extends J{constructor(){super(...arguments),this.refineRenderProps=jn(yg)}render(){let{props:e,context:n}=this,{options:o}=n,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:n.viewApi,dateEnv:n.dateEnv,monthStartFormat:o.monthStartFormat});return E(Se,Object.assign({},e,{elClasses:[...wo(r,n.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":Ki(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:o.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:o.dayCellClassNames,didMount:o.dayCellDidMount,willUnmount:o.dayCellWillUnmount}))}}function Lo(t){return!!(t.dayCellContent||lo("dayCellContent",t))}function yg(t){let{date:e,dateEnv:n,dateProfile:o,isMonthStart:r}=t,l=xa(e,t.todayRange,null,o),a=t.showDayNumber?n.format(e,r?t.monthStartFormat:_g):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(e),view:t.viewApi},l),{isMonthStart:r,dayNumberText:a}),t.extraRenderProps)}class Wa extends J{render(){let{props:e}=this,{seg:n}=e;return E(Bo,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:n.eventRange.ui.backgroundColor},defaultGenerator:bg,seg:n,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function bg(t){let{title:e}=t.event;return e&&E("div",{className:"fc-event-title"},t.event.title)}function Ga(t){return E("div",{className:`fc-${t}`})}const qa=t=>E(He.Consumer,null,e=>{let{dateEnv:n,options:o}=e,{date:r}=t,l=o.weekNumberFormat||t.defaultFormat,a=n.computeWeekNumber(r),s=n.format(r,l);return E(Se,Object.assign({},t,{renderProps:{num:a,text:s,date:r},generatorName:"weekNumberContent",customGenerator:o.weekNumberContent,defaultGenerator:Eg,classNameGenerator:o.weekNumberClassNames,didMount:o.weekNumberDidMount,willUnmount:o.weekNumberWillUnmount}))});function Eg(t){return t.text}const zo=10;class wg extends J{constructor(){super(...arguments),this.state={titleId:Pn()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&je(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const n=Sl(e);this.rootEl.contains(n)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:n}=this.context,{props:o,state:r}=this,l=["fc-popover",e.getClass("popover")].concat(o.extraClassNames||[]);return tp(E("div",Object.assign({},o.extraAttrs,{id:o.id,className:l.join(" "),"aria-labelledby":r.titleId,ref:this.handleRootEl}),E("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},E("span",{className:"fc-popover-title",id:r.titleId},o.title),E("span",{className:"fc-popover-close "+e.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),E("div",{className:"fc-popover-body "+e.getClass("popoverContent")},o.children)),o.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:n,alignGridTop:o}=this.props,{rootEl:r}=this,l=Hm(n);if(l){let a=r.getBoundingClientRect(),s=o?_e(n,".fc-scrollgrid").getBoundingClientRect().top:l.top,d=e?l.right-a.width:l.left;s=Math.max(s,zo),d=Math.min(d,document.documentElement.clientWidth-zo-a.width),d=Math.max(d,zo);let f=r.offsetParent.getBoundingClientRect();an(r,{top:s-f.top,left:d-f.left})}}}class Cg extends Le{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:n}=this.context,{props:o}=this,{startDate:r,todayRange:l,dateProfile:a}=o,s=n.format(r,e.dayPopoverFormat);return E(Mo,{elRef:this.handleRootEl,date:r,dateProfile:a,todayRange:l},(d,f,u)=>E(wg,{elRef:u.ref,id:o.id,title:s,extraClassNames:["fc-more-popover"].concat(u.className||[]),extraAttrs:u,parentEl:o.parentEl,alignmentEl:o.alignmentEl,alignGridTop:o.alignGridTop,onClose:o.onClose},Lo(e)&&E(d,{elTag:"div",elClasses:["fc-more-popover-misc"]}),o.children))}queryHit(e,n,o,r){let{rootEl:l,props:a}=this;return e>=0&&e<o&&n>=0&&n<r?{dateProfile:a.dateProfile,dateSpan:Object.assign({allDay:!a.forceTimed,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:l,rect:{left:0,top:0,right:o,bottom:r},layer:1}:null}}class Ya extends J{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:Pn()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&je(this.props.elRef,e)},this.handleClick=e=>{let{props:n,context:o}=this,{moreLinkClick:r}=o.options,l=Qa(n).start;function a(s){let{def:d,instance:f,range:u}=s.eventRange;return{event:new se(o,d,f),start:o.dateEnv.toDate(u.start),end:o.dateEnv.toDate(u.end),isStart:s.isStart,isEnd:s.isEnd}}typeof r=="function"&&(r=r({date:l,allDay:!!n.allDayDate,allSegs:n.allSegs.map(a),hiddenSegs:n.hiddenSegs.map(a),jsEvent:e,view:o.viewApi})),!r||r==="popover"?this.setState({isPopoverOpen:!0}):typeof r=="string"&&o.calendarApi.zoomTo(l,r)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:n}=this;return E(He.Consumer,null,o=>{let{viewApi:r,options:l,calendarApi:a}=o,{moreLinkText:s}=l,{moreCnt:d}=e,f=Qa(e),u=typeof s=="function"?s.call(a,d):`+${d} ${s}`,m=sn(l.moreLinkHint,[d],u),p={num:d,shortText:`+${d}`,text:u,view:r};return E(re,null,!!e.moreCnt&&E(Se,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),Nl(this.handleClick)),{title:m,"aria-expanded":n.isPopoverOpen,"aria-controls":n.isPopoverOpen?n.popoverId:""}),renderProps:p,generatorName:"moreLinkContent",customGenerator:l.moreLinkContent,defaultGenerator:e.defaultGenerator||kg,classNameGenerator:l.moreLinkClassNames,didMount:l.moreLinkDidMount,willUnmount:l.moreLinkWillUnmount},e.children),n.isPopoverOpen&&E(Cg,{id:n.popoverId,startDate:f.start,endDate:f.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=_e(this.linkEl,".fc-view-harness"))}}function kg(t){return t.text}function Qa(t){if(t.allDayDate)return{start:t.allDayDate,end:ye(t.allDayDate,1)};let{hiddenSegs:e}=t;return{start:Za(e),end:Sg(e)}}function Za(t){return t.reduce(vg).eventRange.range.start}function vg(t,e){return t.eventRange.range.start<e.eventRange.range.start?t:e}function Sg(t){return t.reduce(Ag).eventRange.range.end}function Ag(t,e){return t.eventRange.range.end>e.eventRange.range.end?t:e}class Dg{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(let n of this.handlers)n(e)}subscribe(e){this.handlers.push(e),this.currentValue!==void 0&&e(this.currentValue)}}class xg extends Dg{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:n}=this;let o=!1;e.isActive?(n.set(e.id,e),o=!0):n.has(e.id)&&(n.delete(e.id),o=!0),o&&this.set(n)}}const Ng=[],Ka={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Xa=Object.assign(Object.assign({},Ka),{buttonHints:{prev:"Previous $0",next:"Next $0",today(t,e){return e==="day"?"Today":`This ${t}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(t){return`Show ${t} more event${t===1?"":"s"}`}});function Tg(t){let e=t.length>0?t[0].code:"en",n=Ng.concat(t),o={en:Xa};for(let r of n)o[r.code]=r;return{map:o,defaultCode:e}}function Ja(t,e){return typeof t=="object"&&!Array.isArray(t)?es(t.code,[t.code],t):Vg(t,e)}function Vg(t,e){let n=[].concat(t||[]),o=Rg(n,e)||Xa;return es(t,n,o)}function Rg(t,e){for(let n=0;n<t.length;n+=1){let o=t[n].toLocaleLowerCase().split("-");for(let r=o.length;r>0;r-=1){let l=o.slice(0,r).join("-");if(e[l])return e[l]}}return null}function es(t,e,n){let o=to([Ka,n],["buttonText"]);delete o.code;let{week:r}=o;return delete o.week,{codeArg:t,codes:e,week:r,simpleNumberFormat:new Intl.NumberFormat(t),options:o}}function Ge(t){return{id:_t(),name:t.name,premiumReleaseDate:t.premiumReleaseDate?new Date(t.premiumReleaseDate):void 0,deps:t.deps||[],reducers:t.reducers||[],isLoadingFuncs:t.isLoadingFuncs||[],contextInit:[].concat(t.contextInit||[]),eventRefiners:t.eventRefiners||{},eventDefMemberAdders:t.eventDefMemberAdders||[],eventSourceRefiners:t.eventSourceRefiners||{},isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],viewContainerAppends:t.viewContainerAppends||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,initialView:t.initialView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{},scrollGridImpl:t.scrollGridImpl||null,listenerRefiners:t.listenerRefiners||{},optionRefiners:t.optionRefiners||{},propSetHandlers:t.propSetHandlers||{}}}function Ig(t,e){let n={},o={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function r(l){for(let a of l){const s=a.name,d=n[s];d===void 0?(n[s]=a.id,r(a.deps),o=Og(o,a)):d!==a.id&&console.warn(`Duplicate plugin '${s}'`)}}return t&&r(t),r(e),o}function Bg(){let t=[],e=[],n;return(o,r)=>((!n||!et(o,t)||!et(r,e))&&(n=Ig(o,r)),t=o,e=r,n)}function Og(t,e){return{premiumReleaseDate:Mg(t.premiumReleaseDate,e.premiumReleaseDate),reducers:t.reducers.concat(e.reducers),isLoadingFuncs:t.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:t.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},t.eventRefiners),e.eventRefiners),eventDefMemberAdders:t.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},t.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:t.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},t.views),e.views),viewPropsTransformers:t.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:t.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:t.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(e.calendarInteractions),componentInteractions:t.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},t.themeClasses),e.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||t.namedTimeZonedImpl,initialView:t.initialView||e.initialView,elementDraggingImpl:t.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},t.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||t.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},t.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},t.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},t.propSetHandlers),e.propSetHandlers)}}function Mg(t,e){return t===void 0?e:e===void 0?t:new Date(Math.max(t.valueOf(),e.valueOf()))}class rt extends dn{}rt.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},rt.prototype.baseIconClass="fc-icon",rt.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},rt.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},rt.prototype.iconOverrideOption="buttonIcons",rt.prototype.iconOverrideCustomButtonOption="icon",rt.prototype.iconOverridePrefix="fc-icon-";function Lg(t,e){let n={},o;for(o in t)Po(o,n,t,e);for(o in e)Po(o,n,t,e);return n}function Po(t,e,n,o){if(e[t])return e[t];let r=zg(t,e,n,o);return r&&(e[t]=r),r}function zg(t,e,n,o){let r=n[t],l=o[t],a=u=>r&&r[u]!==null?r[u]:l&&l[u]!==null?l[u]:null,s=a("component"),d=a("superType"),f=null;if(d){if(d===t)throw new Error("Can't have a custom view type that references itself");f=Po(d,e,n,o)}return!s&&f&&(s=f.component),s?{type:t,component:s,defaults:Object.assign(Object.assign({},f?f.defaults:{}),r?r.rawOptions:{}),overrides:Object.assign(Object.assign({},f?f.overrides:{}),l?l.rawOptions:{})}:null}function ts(t){return $e(t,Pg)}function Pg(t){let e=typeof t=="function"?{component:t}:t,{component:n}=e;return e.content?n=ns(e):n&&!(n.prototype instanceof J)&&(n=ns(Object.assign(Object.assign({},e),{content:n}))),{superType:e.type,component:n,rawOptions:e}}function ns(t){return e=>E(He.Consumer,null,n=>E(Se,{elTag:"div",elClasses:Kl(n.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:t.content,classNameGenerator:t.classNames,didMount:t.didMount,willUnmount:t.willUnmount}))}function Fg(t,e,n,o){let r=ts(t),l=ts(e.views),a=Lg(r,l);return $e(a,s=>$g(s,l,e,n,o))}function $g(t,e,n,o,r){let l=t.overrides.duration||t.defaults.duration||o.duration||n.duration,a=null,s="",d="",f={};if(l&&(a=Hg(l),a)){let p=Qi(a);s=p.unit,p.value===1&&(d=s,f=e[s]?e[s].rawOptions:{})}let u=p=>{let c=p.buttonText||{},_=t.defaults.buttonTextKey;return _!=null&&c[_]!=null?c[_]:c[t.type]!=null?c[t.type]:c[d]!=null?c[d]:null},m=p=>{let c=p.buttonHints||{},_=t.defaults.buttonTextKey;return _!=null&&c[_]!=null?c[_]:c[t.type]!=null?c[t.type]:c[d]!=null?c[d]:null};return{type:t.type,component:t.component,duration:a,durationUnit:s,singleUnit:d,optionDefaults:t.defaults,optionOverrides:Object.assign(Object.assign({},f),t.overrides),buttonTextOverride:u(o)||u(n)||t.overrides.buttonText,buttonTextDefault:u(r)||t.defaults.buttonText||u(cn)||t.type,buttonTitleOverride:m(o)||m(n)||t.overrides.buttonHint,buttonTitleDefault:m(r)||t.defaults.buttonHint||m(cn)}}let is={};function Hg(t){let e=JSON.stringify(t),n=is[e];return n===void 0&&(n=Q(t),is[e]=n),n}function jg(t,e){switch(e.type){case"CHANGE_VIEW_TYPE":t=e.viewType}return t}function Ug(t,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue});default:return t}}function Wg(t,e,n,o){let r;switch(e.type){case"CHANGE_VIEW_TYPE":return o.build(e.dateMarker||n);case"CHANGE_DATE":return o.build(e.dateMarker);case"PREV":if(r=o.buildPrev(t,n),r.isValid)return r;break;case"NEXT":if(r=o.buildNext(t,n),r.isValid)return r;break}return t}function Gg(t,e,n){let o=e?e.activeRange:null;return rs({},Jg(t,n),o,n)}function qg(t,e,n,o){let r=n?n.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return rs(t,e.sources,r,o);case"REMOVE_EVENT_SOURCE":return Qg(t,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ls(t,r,o):t;case"FETCH_EVENT_SOURCES":return Fo(t,e.sourceIds?Wl(e.sourceIds):as(t,o),r,e.isRefetch||!1,o);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Xg(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}function Yg(t,e,n){let o=e?e.activeRange:null;return Fo(t,as(t,n),o,!0,n)}function os(t){for(let e in t)if(t[e].isFetching)return!0;return!1}function rs(t,e,n,o){let r={};for(let l of e)r[l.sourceId]=l;return n&&(r=ls(r,n,o)),Object.assign(Object.assign({},t),r)}function Qg(t,e){return wt(t,n=>n.sourceId!==e)}function ls(t,e,n){return Fo(t,wt(t,o=>Zg(o,e,n)),e,!1,n)}function Zg(t,e,n){return ss(t,n)?!n.options.lazyFetching||!t.fetchRange||t.isFetching||e.start<t.fetchRange.start||e.end>t.fetchRange.end:!t.latestFetchId}function Fo(t,e,n,o,r){let l={};for(let a in t){let s=t[a];e[a]?l[a]=Kg(s,n,o,r):l[a]=s}return l}function Kg(t,e,n,o){let{options:r,calendarApi:l}=o,a=o.pluginHooks.eventSourceDefs[t.sourceDefId],s=_t();return a.fetch({eventSource:t,range:e,isRefetch:n,context:o},d=>{let{rawEvents:f}=d;r.eventSourceSuccess&&(f=r.eventSourceSuccess.call(l,f,d.response)||f),t.success&&(f=t.success.call(l,f,d.response)||f),o.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:s,fetchRange:e,rawEvents:f})},d=>{let f=!1;r.eventSourceFailure&&(r.eventSourceFailure.call(l,d),f=!0),t.failure&&(t.failure(d),f=!0),f||console.warn(d.message,d),o.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:s,fetchRange:e,error:d})}),Object.assign(Object.assign({},t),{isFetching:!0,latestFetchId:s})}function Xg(t,e,n,o){let r=t[e];return r&&n===r.latestFetchId?Object.assign(Object.assign({},t),{[e]:Object.assign(Object.assign({},r),{isFetching:!1,fetchRange:o})}):t}function as(t,e){return wt(t,n=>ss(n,e))}function Jg(t,e){let n=sa(e),o=[].concat(t.eventSources||[]),r=[];t.initialEvents&&o.unshift(t.initialEvents),t.events&&o.unshift(t.events);for(let l of o){let a=aa(l,e,n);a&&r.push(a)}return r}function ss(t,e){return!e.pluginHooks.eventSourceDefs[t.sourceDefId].ignoreRange}function e0(t,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return t}}function t0(t,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return t}}function n0(t,e){let n;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function i0(t,e){let n;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function o0(t,e,n,o,r){let l=t.headerToolbar?cs(t.headerToolbar,t,e,n,o,r):null,a=t.footerToolbar?cs(t.footerToolbar,t,e,n,o,r):null;return{header:l,footer:a}}function cs(t,e,n,o,r,l){let a={},s=[],d=!1;for(let f in t){let u=t[f],m=r0(u,e,n,o,r,l);a[f]=m.widgets,s.push(...m.viewsWithButtons),d=d||m.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:d}}function r0(t,e,n,o,r,l){let a=e.direction==="rtl",s=e.customButtons||{},d=n.buttonText||{},f=e.buttonText||{},u=n.buttonHints||{},m=e.buttonHints||{},p=t?t.split(" "):[],c=[],_=!1;return{widgets:p.map(h=>h.split(",").map(b=>{if(b==="title")return _=!0,{buttonName:b};let y,C,k,B,S,x;if(y=s[b])k=w=>{y.click&&y.click.call(w.target,w,w.target)},(B=o.getCustomButtonIconClass(y))||(B=o.getIconClass(b,a))||(S=y.text),x=y.hint||y.text;else if(C=r[b]){c.push(b),k=()=>{l.changeView(b)},(S=C.buttonTextOverride)||(B=o.getIconClass(b,a))||(S=C.buttonTextDefault);let w=C.buttonTextOverride||C.buttonTextDefault;x=sn(C.buttonTitleOverride||C.buttonTitleDefault||e.viewHint,[w,b],w)}else if(l[b])if(k=()=>{l[b]()},(S=d[b])||(B=o.getIconClass(b,a))||(S=f[b]),b==="prevYear"||b==="nextYear"){let w=b==="prevYear"?"prev":"next";x=sn(u[w]||m[w],[f.year||"year","year"],f[b])}else x=w=>sn(u[b]||m[b],[f[w]||w,w],f[b]);return{buttonName:b,buttonClick:k,buttonIcon:B,buttonText:S,buttonHint:x}})),viewsWithButtons:c,hasTitle:_}}class l0{constructor(e,n,o){this.type=e,this.getCurrentData=n,this.dateEnv=o}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}const a0=Ge({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta(t){return Array.isArray(t.events)?t.events:null},fetch(t,e){e({rawEvents:t.eventSource.meta})}}]}),s0=Ge({name:"func-event-source",eventSourceDefs:[{parseMeta(t){return typeof t.events=="function"?t.events:null},fetch(t,e,n){const{dateEnv:o}=t.context,r=t.eventSource.meta;Cm(r.bind(null,ka(t.range,o)),l=>e({rawEvents:l}),n)}}]}),c0=Ge({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:v,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta(t){return t.url&&(t.format==="json"||!t.format)?{url:t.url,format:"json",method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}:null},fetch(t,e,n){const{meta:o}=t.eventSource,r=d0(o,t.range,t.context);km(o.method,o.url,r).then(([l,a])=>{e({rawEvents:l,response:a})},n)}}]});function d0(t,e,n){let{dateEnv:o,options:r}=n,l,a,s,d,f={};return l=t.startParam,l==null&&(l=r.startParam),a=t.endParam,a==null&&(a=r.endParam),s=t.timeZoneParam,s==null&&(s=r.timeZoneParam),typeof t.extraParams=="function"?d=t.extraParams():d=t.extraParams||{},Object.assign(f,d),f[l]=o.formatIso(e.start),f[a]=o.formatIso(e.end),o.timeZone!=="local"&&(f[s]=o.timeZone),f}const u0=Ge({name:"simple-recurring-event",recurringTypes:[{parse(t,e){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){let n={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?e.createMarker(t.startRecur):null,endRecur:t.endRecur?e.createMarker(t.endRecur):null},o;return t.duration&&(o=t.duration),!o&&t.startTime&&t.endTime&&(o=Ip(t.endTime,t.startTime)),{allDayGuess:!t.startTime&&!t.endTime,duration:o,typeData:n}}return null},expand(t,e,n){let o=kt(e,{start:t.startRecur,end:t.endRecur});return o?f0(t.daysOfWeek,t.startTime,o,n):[]}}],eventRefiners:{daysOfWeek:v,startTime:Q,endTime:Q,duration:Q,startRecur:v,endRecur:v}});function f0(t,e,n,o){let r=t?Wl(t):null,l=ie(n.start),a=n.end,s=[];for(;l<a;){let d;(!r||r[l.getUTCDay()])&&(e?d=o.add(l,e):d=l,s.push(d)),l=ye(l,1)}return s}const p0=Ge({name:"change-handler",optionChangeHandlers:{events(t,e){ds([t],e)},eventSources:ds}});function ds(t,e){let n=no(e.getCurrentData().eventSources);if(n.length===1&&t.length===1&&Array.isArray(n[0]._raw)&&Array.isArray(t[0])){e.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:t[0]});return}let o=[];for(let r of t){let l=!1;for(let a=0;a<n.length;a+=1)if(n[a]._raw===r){n.splice(a,1),l=!0;break}l||o.push(r)}for(let r of n)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:r.sourceId});for(let r of o)e.calendarApi.addEventSource(r)}function h0(t,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},ka(t.activeRange,e.dateEnv)),{view:e.viewApi}))}function m0(t,e){let{emitter:n}=e;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",St(t,e))}const g0=[a0,s0,c0,u0,p0,Ge({name:"misc",isLoadingFuncs:[t=>os(t.eventSources)],propSetHandlers:{dateProfile:h0,eventStore:m0}})];class _0{constructor(e,n){this.runTaskOption=e,this.drainedOption=n,this.queue=[],this.delayedRunner=new ji(this.drain.bind(this))}request(e,n){this.queue.push(e),this.delayedRunner.request(n)}pause(e){this.delayedRunner.pause(e)}resume(e,n){this.delayedRunner.resume(e,n)}drain(){let{queue:e}=this;for(;e.length;){let n=[],o;for(;o=e.shift();)this.runTask(o),n.push(o);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function y0(t,e,n){let o;return/^(year|month)$/.test(t.currentRangeUnit)?o=t.currentRange:o=t.activeRange,n.formatRange(o.start,o.end,de(e.titleFormat||b0(t)),{isEndExclusive:t.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function b0(t){let{currentRangeUnit:e}=t;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let n=Hn(t.currentRange.start,t.currentRange.end);return n!==null&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class E0{constructor(e){this.computeCurrentViewData=F(this._computeCurrentViewData),this.organizeRawLocales=F(Tg),this.buildLocale=F(Ja),this.buildPluginHooks=Bg(),this.buildDateEnv=F(w0),this.buildTheme=F(C0),this.parseToolbars=F(o0),this.buildViewSpecs=F(Fg),this.buildDateProfileGenerator=jn(k0),this.buildViewApi=F(v0),this.buildViewUiProps=jn(D0),this.buildEventUiBySource=F(S0,Me),this.buildEventUiBases=F(A0),this.parseContextBusinessHours=jn(x0),this.buildTitle=F(y0),this.emitter=new ti,this.actionRunner=new _0(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=p=>{this.actionRunner.request(p)},this.props=e,this.actionRunner.pause();let n={},o=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),r=o.calendarOptions.initialView||o.pluginHooks.initialView,l=this.computeCurrentViewData(r,o,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(l.options);let a=Mh(o.calendarOptions,o.dateEnv),s=l.dateProfileGenerator.build(a);Ue(s.activeRange,a)||(a=s.currentRange.start);let d={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let p of o.pluginHooks.contextInit)p(d);let f=Gg(o.calendarOptions,s,d),u={dynamicOptionOverrides:n,currentViewType:r,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(d),eventSources:f,eventUiBases:{},eventStore:Ae(),renderableEventStore:Ae(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(d).selectionConfig},m=Object.assign(Object.assign({},d),u);for(let p of o.pluginHooks.reducers)Object.assign(u,p(null,null,m));$o(u,d)&&this.emitter.trigger("loading",!0),this.state=u,this.updateData(),this.actionRunner.resume()}resetOptions(e,n){let{props:o}=this;n===void 0?o.optionOverrides=e:(o.optionOverrides=Object.assign(Object.assign({},o.optionOverrides||{}),e),this.optionsForRefining.push(...n)),(n===void 0||n.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:n,state:o,emitter:r}=this,l=Ug(o.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,l,n.calendarApi),s=jg(o.currentViewType,e),d=this.computeCurrentViewData(s,a,n.optionOverrides,l);n.calendarApi.currentDataManager=this,r.setThisContext(n.calendarApi),r.setOptions(d.options);let f={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:r,getCurrentData:this.getCurrentData},{currentDate:u,dateProfile:m}=o;this.data&&this.data.dateProfileGenerator!==d.dateProfileGenerator&&(m=d.dateProfileGenerator.build(u)),u=Oh(u,e),m=Wg(m,e,u,d.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!Ue(m.currentRange,u))&&(u=m.currentRange.start);let p=qg(o.eventSources,e,m,f),c=Qh(o.eventStore,e,p,m,f),g=os(p)&&!d.options.progressiveEventRendering&&o.renderableEventStore||c,{eventUiSingleBase:h,selectionConfig:b}=this.buildViewUiProps(f),y=this.buildEventUiBySource(p),C=this.buildEventUiBases(g.defs,h,y),k={dynamicOptionOverrides:l,currentViewType:s,currentDate:u,dateProfile:m,eventSources:p,eventStore:c,renderableEventStore:g,selectionConfig:b,eventUiBases:C,businessHours:this.parseContextBusinessHours(f),dateSelection:e0(o.dateSelection,e),eventSelection:t0(o.eventSelection,e),eventDrag:n0(o.eventDrag,e),eventResize:i0(o.eventResize,e)},B=Object.assign(Object.assign({},f),k);for(let w of a.pluginHooks.reducers)Object.assign(k,w(o,e,B));let S=$o(o,f),x=$o(k,f);!S&&x?r.trigger("loading",!0):S&&!x&&r.trigger("loading",!1),this.state=k,n.onAction&&n.onAction(e)}updateData(){let{props:e,state:n}=this,o=this.data,r=this.computeOptionsData(e.optionOverrides,n.dynamicOptionOverrides,e.calendarApi),l=this.computeCurrentViewData(n.currentViewType,r,e.optionOverrides,n.dynamicOptionOverrides),a=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(n.dateProfile,l.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),l),n),s=r.pluginHooks.optionChangeHandlers,d=o&&o.calendarOptions,f=r.calendarOptions;if(d&&d!==f){d.timeZone!==f.timeZone&&(n.eventSources=a.eventSources=Yg(a.eventSources,n.dateProfile,a),n.eventStore=a.eventStore=ua(a.eventStore,o.dateEnv,a.dateEnv),n.renderableEventStore=a.renderableEventStore=ua(a.renderableEventStore,o.dateEnv,a.dateEnv));for(let u in s)(this.optionsForHandling.indexOf(u)!==-1||d[u]!==f[u])&&s[u](f[u],a)}this.optionsForHandling=[],e.onData&&e.onData(a)}computeOptionsData(e,n,o){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&n===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:r,pluginHooks:l,localeDefaults:a,availableLocaleData:s,extra:d}=this.processRawCalendarOptions(e,n);us(d);let f=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,l,s,r.defaultRangeSeparator),u=this.buildViewSpecs(l.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,a),m=this.buildTheme(r,l),p=this.parseToolbars(r,this.stableOptionOverrides,m,u,o);return this.stableCalendarOptionsData={calendarOptions:r,pluginHooks:l,dateEnv:f,viewSpecs:u,theme:m,toolbarConfig:p,localeDefaults:a,availableRawLocales:s.map}}processRawCalendarOptions(e,n){let{locales:o,locale:r}=Ji([cn,e,n]),l=this.organizeRawLocales(o),a=l.map,s=this.buildLocale(r||l.defaultCode,a).options,d=this.buildPluginHooks(e.plugins||[],g0),f=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Hl),jl),Ul),d.listenerRefiners),d.optionRefiners),u={},m=Ji([cn,s,e,n]),p={},c=this.currentCalendarOptionsInput,_=this.currentCalendarOptionsRefined,g=!1;for(let h in m)this.optionsForRefining.indexOf(h)===-1&&(m[h]===c[h]||bt[h]&&h in c&&bt[h](c[h],m[h]))?p[h]=_[h]:f[h]?(p[h]=f[h](m[h]),g=!0):u[h]=c[h];return g&&(this.currentCalendarOptionsInput=m,this.currentCalendarOptionsRefined=p,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=n),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:d,availableLocaleData:l,localeDefaults:s,extra:u}}_computeCurrentViewData(e,n,o,r){let l=n.viewSpecs[e];if(!l)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:a,extra:s}=this.processRawViewOptions(l,n.pluginHooks,n.localeDefaults,o,r);us(s);let d=this.buildDateProfileGenerator({dateProfileGeneratorClass:l.optionDefaults.dateProfileGeneratorClass,duration:l.duration,durationUnit:l.durationUnit,usesMinMaxTime:l.optionDefaults.usesMinMaxTime,dateEnv:n.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,fixedWeekCount:a.fixedWeekCount}),f=this.buildViewApi(e,this.getCurrentData,n.dateEnv);return{viewSpec:l,options:a,dateProfileGenerator:d,viewApi:f}}processRawViewOptions(e,n,o,r,l){let a=Ji([cn,e.optionDefaults,o,r,e.optionOverrides,l]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Hl),jl),Ul),fh),n.listenerRefiners),n.optionRefiners),d={},f=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,m=!1,p={};for(let c in a)a[c]===f[c]||bt[c]&&bt[c](a[c],f[c])?d[c]=u[c]:(a[c]===this.currentCalendarOptionsInput[c]||bt[c]&&bt[c](a[c],this.currentCalendarOptionsInput[c])?c in this.currentCalendarOptionsRefined&&(d[c]=this.currentCalendarOptionsRefined[c]):s[c]?d[c]=s[c](a[c]):p[c]=a[c],m=!0);return m&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=d),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:p}}}function w0(t,e,n,o,r,l,a,s){let d=Ja(e||a.defaultCode,a.map);return new Ch({calendarSystem:"gregory",timeZone:t,namedTimeZoneImpl:l.namedTimeZonedImpl,locale:d,weekNumberCalculation:n,firstDay:o,weekText:r,cmdFormatter:l.cmdFormatter,defaultSeparator:s})}function C0(t,e){let n=e.themeClasses[t.themeSystem]||rt;return new n(t)}function k0(t){let e=t.dateProfileGeneratorClass||ta;return new e(t)}function v0(t,e,n){return new l0(t,e,n)}function S0(t){return $e(t,e=>e.ui)}function A0(t,e,n){let o={"":e};for(let r in t){let l=t[r];l.sourceId&&n[l.sourceId]&&(o[r]=n[l.sourceId])}return o}function D0(t){let{options:e}=t;return{eventUiSingleBase:ei({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},t),selectionConfig:ei({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},t)}}function $o(t,e){for(let n of e.pluginHooks.isLoadingFuncs)if(n(t))return!0;return!1}function x0(t){return om(t.options.businessHours,t)}function us(t,e){for(let n in t)console.warn(`Unknown option '${n}'`+(e?` for view '${e}'`:""))}class N0 extends J{render(){let e=this.props.widgetGroups.map(n=>this.renderWidgetGroup(n));return E("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:n}=this,{theme:o}=this.context,r=[],l=!0;for(let a of e){let{buttonName:s,buttonClick:d,buttonText:f,buttonIcon:u,buttonHint:m}=a;if(s==="title")l=!1,r.push(E("h2",{className:"fc-toolbar-title",id:n.titleId},n.title));else{let p=s===n.activeButton,c=!n.isTodayEnabled&&s==="today"||!n.isPrevEnabled&&s==="prev"||!n.isNextEnabled&&s==="next",_=[`fc-${s}-button`,o.getClass("button")];p&&_.push(o.getClass("buttonActive")),r.push(E("button",{type:"button",title:typeof m=="function"?m(n.navUnit):m,disabled:c,"aria-pressed":p,className:_.join(" "),onClick:d},f||(u?E("span",{className:u,role:"img"}):"")))}}if(r.length>1){let a=l&&o.getClass("buttonGroup")||"";return E("div",{className:a},...r)}return r[0]}}class fs extends J{render(){let{model:e,extraClassName:n}=this.props,o=!1,r,l,a=e.sectionWidgets,s=a.center;return a.left?(o=!0,r=a.left):r=a.start,a.right?(o=!0,l=a.right):l=a.end,E("div",{className:[n||"","fc-toolbar",o?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",r||[]),this.renderSection("center",s||[]),this.renderSection("end",l||[]))}renderSection(e,n){let{props:o}=this;return E(N0,{key:e,widgetGroups:n,title:o.title,navUnit:o.navUnit,activeButton:o.activeButton,isTodayEnabled:o.isTodayEnabled,isPrevEnabled:o.isPrevEnabled,isNextEnabled:o.isNextEnabled,titleId:o.titleId})}}class T0 extends J{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,je(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:n}=this,{aspectRatio:o}=e,r=["fc-view-harness",o||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],l="",a="";return o?n.availableWidth!==null?l=n.availableWidth/o:a=`${1/o*100}%`:l=e.height||"",E("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:l,paddingBottom:a}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class V0 extends Gt{constructor(e){super(e),this.handleSegClick=(n,o)=>{let{component:r}=this,{context:l}=r,a=Wt(o);if(a&&r.isValidSegDownEl(n.target)){let s=_e(n.target,".fc-event-forced-url"),d=s?s.querySelector("a[href]").href:"";l.emitter.trigger("eventClick",{el:o,event:new se(r.context,a.eventRange.def,a.eventRange.instance),jsEvent:n,view:l.viewApi}),d&&!n.defaultPrevented&&(window.location.href=d)}},this.destroy=Dl(e.el,"click",".fc-event",this.handleSegClick)}}class R0 extends Gt{constructor(e){super(e),this.handleEventElRemove=n=>{n===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(n,o)=>{Wt(o)&&(this.currentSegEl=o,this.triggerEvent("eventMouseEnter",n,o))},this.handleSegLeave=(n,o)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",n,o))},this.removeHoverListeners=yp(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,n,o){let{component:r}=this,{context:l}=r,a=Wt(o);(!n||r.isValidSegDownEl(n.target))&&l.emitter.trigger(e,{el:o,event:new se(l,a.eventRange.def,a.eventRange.instance),jsEvent:n,view:l.viewApi})}}class I0 extends Ct{constructor(){super(...arguments),this.buildViewContext=F(Sh),this.buildViewPropTransformers=F(O0),this.buildToolbarProps=F(B0),this.headerRef=be(),this.footerRef=be(),this.interactionsStore={},this.state={viewLabelId:Pn()},this.registerInteractiveComponent=(e,n)=>{let o=Am(e,n),a=[V0,R0].concat(this.props.pluginHooks.componentInteractions).map(s=>new s(o));this.interactionsStore[e.uid]=a,bo[e.uid]=o},this.unregisterInteractiveComponent=e=>{let n=this.interactionsStore[e.uid];if(n){for(let o of n)o.destroy();delete this.interactionsStore[e.uid]}delete bo[e.uid]},this.resizeRunner=new ji(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:n}=this.props;n.handleWindowResize&&e.target===window&&this.resizeRunner.request(n.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:n,options:o}=e,r=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,un(e.options.now,e.dateEnv),e.viewTitle),l=!1,a="",s;e.isHeightAuto||e.forPrint?a="":o.height!=null?l=!0:o.contentHeight!=null?a=o.contentHeight:s=Math.max(o.aspectRatio,.5);let d=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),f=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return E(He.Provider,{value:d},n.header&&E(fs,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:f},r)),E(T0,{liquid:l,height:a,aspectRatio:s,labeledById:f},this.renderView(e),this.buildAppendContent()),n.footer&&E(fs,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},r)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(o=>new o(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:n}=e.pluginHooks;for(let o in n)n[o](e[o],e)}componentDidUpdate(e){let{props:n}=this,{propSetHandlers:o}=n.pluginHooks;for(let r in o)n[r]!==e[r]&&o[r](n[r],n)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,n=e.pluginHooks.viewContainerAppends.map(o=>o(e));return E(re,{},...n)}renderView(e){let{pluginHooks:n}=e,{viewSpec:o}=e,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},l=this.buildViewPropTransformers(n.viewPropsTransformers);for(let s of l)Object.assign(r,s.transform(r,e));let a=o.component;return E(a,Object.assign({},r))}}function B0(t,e,n,o,r,l){let a=n.build(r,void 0,!1),s=n.buildPrev(e,o,!1),d=n.buildNext(e,o,!1);return{title:l,activeButton:t.type,navUnit:t.singleUnit,isTodayEnabled:a.isValid&&!Ue(e.currentRange,r),isPrevEnabled:s.isValid,isNextEnabled:d.isValid}}function O0(t){return t.map(e=>new e)}let M0=class extends Dm{constructor(e,n={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=o=>{switch(o.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=o=>{this.currentData=o,this.renderRunner.request(o.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:o}=this;ql(()=>{ln(E(Sm,{options:o.calendarOptions,theme:o.theme,emitter:o.emitter},(r,l,a,s)=>(this.setClassNames(r),this.setHeight(l),E(Zl.Provider,{value:this.customContentRenderId},E(I0,Object.assign({isHeightAuto:a,forPrint:s},o))))),this.el)})}else this.isRendered&&(this.isRendered=!1,ln(null,this.el),this.setClassNames([]),this.setHeight(""))},cp(e),this.el=e,this.renderRunner=new ji(this.handleRenderRequest),new E0({optionOverrides:n,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){ql(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,n){this.currentDataManager.resetOptions(e,n)}setClassNames(e){if(!et(e,this.currentClassNames)){let{classList:n}=this.el;for(let o of this.currentClassNames)n.remove(o);for(let o of e)n.add(o);this.currentClassNames=e}}setHeight(e){vl(this.el,"height",e)}};const L0={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0},ps=i.defineComponent({props:{options:Object},data(){return{renderId:0,customRenderingMap:new Map}},methods:{getApi(){return this.calendar},buildOptions(t){return{...t,customRenderingMetaMap:F0(this.$slots),handleCustomRendering:this.handleCustomRendering}}},render(){const t=[];for(const e of this.customRenderingMap.values())t.push(i.h(z0,{key:e.id,customRendering:e}));return i.h("div",{attrs:{"data-fc-render-id":this.renderId}},i.h(i.Fragment,t))},mounted(){const t=new xg;this.handleCustomRendering=t.handle.bind(t);const e=this.buildOptions(this.options),n=new M0(this.$el,e);this.calendar=n,n.render(),t.subscribe(o=>{this.customRenderingMap=o,this.renderId++,this.needCustomRenderingResize=!0})},beforeUpdate(){this.getApi().resumeRendering()},updated(){this.needCustomRenderingResize&&(this.needCustomRenderingResize=!1,this.getApi().updateSize())},beforeUnmount(){this.getApi().destroy()},watch:P0()}),z0=i.defineComponent({props:{customRendering:Object},render(){const t=this.customRendering,e=typeof t.generatorMeta=="function"?t.generatorMeta(t.renderProps):t.generatorMeta;return i.h(i.Teleport,{to:t.containerEl},e)}});function E4(t){return t}function P0(){let t={options:{deep:!0,handler(e){let n=this.getApi();n.pauseRendering();let o=this.buildOptions(e);n.resetOptions(o),this.renderId++}}};for(let e in L0)t[`options.${e}`]={deep:!0,handler(n){if(n!==void 0){let o=this.getApi();o.pauseRendering(),o.resetOptions({[e]:n},[e]),this.renderId++}}};return t}function F0(t){const e={};for(const n in t)e[$0(n)]=t[n];return e}function $0(t){return t.split("-").map((e,n)=>n?H0(e):e).join("")}function H0(t){return t.charAt(0).toUpperCase()+t.slice(1)}class j0 extends Le{constructor(){super(...arguments),this.headerElRef=be()}renderSimpleLayout(e,n){let{props:o,context:r}=this,l=[],a=ai(r.options);return e&&l.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),l.push({type:"body",key:"body",liquid:!0,chunk:{content:n}}),E(Qn,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},E(Io,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[],sections:l}))}renderHScrollLayout(e,n,o,r){let l=this.context.pluginHooks.scrollGridImpl;if(!l)throw new Error("No ScrollGrid implementation");let{props:a,context:s}=this,d=!a.forPrint&&ai(s.options),f=!a.forPrint&&ja(s.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:d,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:n}]}),f&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Ro}]}),E(Qn,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},E(l,{liquid:!a.isHeightAuto&&!a.forPrint,forPrint:a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:o,minWidth:r}]}],sections:u}))}}function si(t,e){let n=[];for(let o=0;o<e;o+=1)n[o]=[];for(let o of t)n[o.row].push(o);return n}function ci(t,e){let n=[];for(let o=0;o<e;o+=1)n[o]=[];for(let o of t)n[o.firstCol].push(o);return n}function hs(t,e){let n=[];if(t){for(let o=0;o<e;o+=1)n[o]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(let o of t.segs)n[o.row].segs.push(o)}else for(let o=0;o<e;o+=1)n[o]=null;return n}const ms=de({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function gs(t){let{display:e}=t.eventRange.ui;return e==="list-item"||e==="auto"&&!t.eventRange.def.allDay&&t.firstCol===t.lastCol&&t.isStart&&t.isEnd}class _s extends J{render(){let{props:e}=this;return E(Ua,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:ms,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class ys extends J{render(){let{props:e,context:n}=this,{options:o}=n,{seg:r}=e,l=o.eventTimeFormat||ms,a=Ea(r,l,n,!0,e.defaultDisplayEventEnd);return E(Bo,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:Ca(e.seg,n),defaultGenerator:U0,timeText:a,isResizing:!1,isDateSelecting:!1}))}}function U0(t){return E(re,null,E("div",{className:"fc-daygrid-event-dot",style:{borderColor:t.borderColor||t.backgroundColor}}),t.timeText&&E("div",{className:"fc-event-time"},t.timeText),E("div",{className:"fc-event-title"},t.event.title||E(re,null," ")))}class W0 extends J{constructor(){super(...arguments),this.compileSegs=F(G0)}render(){let{props:e}=this,{allSegs:n,invisibleSegs:o}=this.compileSegs(e.singlePlacements);return E(Ya,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:o,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let r=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return E(re,null,n.map(l=>{let a=l.eventRange.instance.instanceId;return E("div",{className:"fc-daygrid-event-harness",key:a,style:{visibility:r[a]?"hidden":""}},gs(l)?E(ys,Object.assign({seg:l,isDragging:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},ot(l,e.todayRange))):E(_s,Object.assign({seg:l,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},ot(l,e.todayRange))))}))}})}}function G0(t){let e=[],n=[];for(let o of t)e.push(o.seg),o.isVisible||n.push(o.seg);return{allSegs:e,invisibleSegs:n}}const q0=de({week:"narrow"});class Y0 extends Le{constructor(){super(...arguments),this.rootElRef=be(),this.state={dayNumberId:Pn()},this.handleRootEl=e=>{je(this.rootElRef,e),je(this.props.elRef,e)}}render(){let{context:e,props:n,state:o,rootElRef:r}=this,{options:l,dateEnv:a}=e,{date:s,dateProfile:d}=n;const f=n.showDayNumber&&Z0(s,d.currentRange,a);return E(Mo,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...n.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},n.extraDataAttrs),n.showDayNumber?{"aria-labelledby":o.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:Q0,date:s,dateProfile:d,todayRange:n.todayRange,showDayNumber:n.showDayNumber,isMonthStart:f,extraRenderProps:n.extraRenderProps},(u,m)=>E("div",{ref:n.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:n.minHeight}},n.showWeekNumber&&E(qa,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:ii(e,s,"week"),date:s,defaultFormat:q0}),!m.isDisabled&&(n.showDayNumber||Lo(l)||n.forceDayTop)?E("div",{className:"fc-daygrid-day-top"},E(u,{elTag:"a",elClasses:["fc-daygrid-day-number",f&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},ii(e,s)),{id:o.dayNumberId})})):n.showDayNumber?E("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},E("a",{className:"fc-daygrid-day-number"}," ")):void 0,E("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,E("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},E(W0,{allDayDate:s,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:r,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),E("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}}function Q0(t){return t.dayNumberText||E(re,null," ")}function Z0(t,e,n){const{start:o,end:r}=e,l=tt(r,-1),a=n.getYear(o),s=n.getMonth(o),d=n.getYear(l),f=n.getMonth(l);return!(a===d&&s===f)&&(t.valueOf()===o.valueOf()||n.getDay(t)===1&&t.valueOf()<r.valueOf())}function bs(t){return t.eventRange.instance.instanceId+":"+t.firstCol}function Es(t){return bs(t)+":"+t.lastCol}function K0(t,e,n,o,r,l,a){let s=new e3(b=>{let y=t[b.index].eventRange.instance.instanceId+":"+b.span.start+":"+(b.span.end-1);return r[y]});s.allowReslicing=!0,s.strictOrder=o,e===!0||n===!0?(s.maxCoord=l,s.hiddenConsumes=!0):typeof e=="number"?s.maxStackCnt=e:typeof n=="number"&&(s.maxStackCnt=n,s.hiddenConsumes=!0);let d=[],f=[];for(let b=0;b<t.length;b+=1){let y=t[b],C=Es(y);r[C]!=null?d.push({index:b,span:{start:y.firstCol,end:y.lastCol+1}}):f.push(y)}let u=s.addSegs(d),m=s.toRects(),{singleColPlacements:p,multiColPlacements:c,leftoverMargins:_}=X0(m,t,a),g=[],h=[];for(let b of f){c[b.firstCol].push({seg:b,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let y=b.firstCol;y<=b.lastCol;y+=1)p[y].push({seg:Yt(b,y,y+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let b=0;b<a.length;b+=1)g.push(0);for(let b of u){let y=t[b.index],C=b.span;c[C.start].push({seg:Yt(y,C.start,C.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let k=C.start;k<C.end;k+=1)g[k]+=1,p[k].push({seg:Yt(y,k,k+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let b=0;b<a.length;b+=1)h.push(_[b]);return{singleColPlacements:p,multiColPlacements:c,moreCnts:g,moreMarginTops:h}}function X0(t,e,n){let o=J0(t,n.length),r=[],l=[],a=[];for(let s=0;s<n.length;s+=1){let d=o[s],f=[],u=0,m=0;for(let c of d){let _=e[c.index];f.push({seg:Yt(_,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:c.levelCoord,marginTop:c.levelCoord-u}),u=c.levelCoord+c.thickness}let p=[];u=0,m=0;for(let c of d){let _=e[c.index],g=c.span.end-c.span.start>1,h=c.span.start===s;m+=c.levelCoord-u,u=c.levelCoord+c.thickness,g?(m+=c.thickness,h&&p.push({seg:Yt(_,c.span.start,c.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:c.levelCoord,marginTop:0})):h&&(p.push({seg:Yt(_,c.span.start,c.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:c.levelCoord,marginTop:m}),m=0)}r.push(f),l.push(p),a.push(m)}return{singleColPlacements:r,multiColPlacements:l,leftoverMargins:a}}function J0(t,e){let n=[];for(let o=0;o<e;o+=1)n.push([]);for(let o of t)for(let r=o.span.start;r<o.span.end;r+=1)n[r].push(o);return n}function Yt(t,e,n,o){if(t.firstCol===e&&t.lastCol===n-1)return t;let r=t.eventRange,l=r.range,a=kt(l,{start:o[e].date,end:ye(o[n-1].date,1)});return Object.assign(Object.assign({},t),{firstCol:e,lastCol:n-1,eventRange:{def:r.def,ui:Object.assign(Object.assign({},r.ui),{durationEditable:!1}),instance:r.instance,range:a},isStart:t.isStart&&a.start.valueOf()===l.start.valueOf(),isEnd:t.isEnd&&a.end.valueOf()===l.end.valueOf()})}class e3 extends Va{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const n=super.addSegs(e),{entriesByLevel:o}=this,r=l=>!this.forceHidden[At(l)];for(let l=0;l<o.length;l+=1)o[l]=o[l].filter(r);return n}handleInvalidInsertion(e,n,o){const{entriesByLevel:r,forceHidden:l}=this,{touchingEntry:a,touchingLevel:s,touchingLateral:d}=e;if(this.hiddenConsumes&&a){const f=At(a);if(!l[f])if(this.allowReslicing){const u=Object.assign(Object.assign({},a),{span:Do(a.span,n.span)}),m=At(u);l[m]=!0,r[s][d]=u,this.splitEntry(a,n,o)}else l[f]=!0,o.push(a)}return super.handleInvalidInsertion(e,n,o)}}class ws extends Le{constructor(){super(...arguments),this.cellElRefs=new We,this.frameElRefs=new We,this.fgElRefs=new We,this.segHarnessRefs=new We,this.rootElRef=be(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:n,context:o}=this,{options:r}=o,l=e.cells.length,a=ci(e.businessHourSegs,l),s=ci(e.bgEventSegs,l),d=ci(this.getHighlightSegs(),l),f=ci(this.getMirrorSegs(),l),{singleColPlacements:u,multiColPlacements:m,moreCnts:p,moreMarginTops:c}=K0(ba(e.fgEventSegs,r.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,r.eventOrderStrict,n.segHeights,n.maxContentHeight,e.cells),_=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return E("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((g,h)=>{let b=this.renderFgSegs(h,e.forPrint?u[h]:m[h],e.todayRange,_),y=this.renderFgSegs(h,t3(f[h],m),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return E(Y0,{key:g.key,elRef:this.cellElRefs.createRef(g.key),innerElRef:this.frameElRefs.createRef(g.key),dateProfile:e.dateProfile,date:g.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&h===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:g.extraRenderProps,extraDataAttrs:g.extraDataAttrs,extraClassNames:g.extraClassNames,extraDateSpan:g.extraDateSpan,moreCnt:p[h],moreMarginTop:c[h],singlePlacements:u[h],fgContentElRef:this.fgElRefs.createRef(g.key),fgContent:E(re,null,E(re,null,b),E(re,null,y)),bgContent:E(re,null,this.renderFillSegs(d[h],"highlight"),this.renderFillSegs(a[h],"non-business"),this.renderFillSegs(s[h],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,n){let o=this.props;this.updateSizing(!Me(e,o))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,n,o,r,l,a,s){let{context:d}=this,{eventSelection:f}=this.props,{framePositions:u}=this.state,m=this.props.cells.length===1,p=l||a||s,c=[];if(u)for(let _ of n){let{seg:g}=_,{instanceId:h}=g.eventRange.instance,b=_.isVisible&&!r[h],y=_.isAbsolute,C="",k="";y&&(d.isRtl?(k=0,C=u.lefts[g.lastCol]-u.lefts[g.firstCol]):(C=0,k=u.rights[g.firstCol]-u.rights[g.lastCol])),c.push(E("div",{className:"fc-daygrid-event-harness"+(y?" fc-daygrid-event-harness-abs":""),key:bs(g),ref:p?null:this.segHarnessRefs.createRef(Es(g)),style:{visibility:b?"":"hidden",marginTop:y?"":_.marginTop,top:y?_.absoluteTop:"",left:C,right:k}},gs(g)?E(ys,Object.assign({seg:g,isDragging:l,isSelected:h===f,defaultDisplayEventEnd:m},ot(g,o))):E(_s,Object.assign({seg:g,isDragging:l,isResizing:a,isDateSelecting:s,isSelected:h===f,defaultDisplayEventEnd:m},ot(g,o)))))}return c}renderFillSegs(e,n){let{isRtl:o}=this.context,{todayRange:r}=this.props,{framePositions:l}=this.state,a=[];if(l)for(let s of e){let d=o?{right:0,left:l.lefts[s.lastCol]-l.lefts[s.firstCol]}:{left:0,right:l.rights[s.firstCol]-l.rights[s.lastCol]};a.push(E("div",{key:wa(s.eventRange),className:"fc-daygrid-bg-harness",style:d},n==="bg-event"?E(Wa,Object.assign({seg:s},ot(s,r))):Ga(n)))}return E(re,{},...a)}updateSizing(e){let{props:n,state:o,frameElRefs:r}=this;if(!n.forPrint&&n.clientWidth!==null){if(e){let d=n.cells.map(f=>r.currentMap[f.key]);if(d.length){let f=this.rootElRef.current,u=new qt(f,d,!0,!1);(!o.framePositions||!o.framePositions.similarTo(u))&&this.setState({framePositions:new qt(f,d,!0,!1)})}}const l=this.state.segHeights,a=this.querySegHeights(),s=n.dayMaxEvents===!0||n.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},l),a),maxContentHeight:s?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,n={};for(let o in e){let r=Math.round(e[o].getBoundingClientRect().height);n[o]=Math.max(n[o]||0,r)}return n}computeMaxContentHeight(){let e=this.props.cells[0].key,n=this.cellElRefs.currentMap[e],o=this.fgElRefs.currentMap[e];return n.getBoundingClientRect().bottom-o.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(n=>e[n.key])}}ws.addStateEquality({segHeights:Me});function t3(t,e){if(!t.length)return[];let n=n3(e);return t.map(o=>({seg:o,isVisible:!0,isAbsolute:!0,absoluteTop:n[o.eventRange.instance.instanceId],marginTop:0}))}function n3(t){let e={};for(let n of t)for(let o of n)e[o.seg.eventRange.instance.instanceId]=o.absoluteTop;return e}class i3 extends Le{constructor(){super(...arguments),this.splitBusinessHourSegs=F(si),this.splitBgEventSegs=F(si),this.splitFgEventSegs=F(si),this.splitDateSelectionSegs=F(si),this.splitEventDrag=F(hs),this.splitEventResize=F(hs),this.rowRefs=new We}render(){let{props:e,context:n}=this,o=e.cells.length,r=this.splitBusinessHourSegs(e.businessHourSegs,o),l=this.splitBgEventSegs(e.bgEventSegs,o),a=this.splitFgEventSegs(e.fgEventSegs,o),s=this.splitDateSelectionSegs(e.dateSelectionSegs,o),d=this.splitEventDrag(e.eventDrag,o),f=this.splitEventResize(e.eventResize,o),u=o>=7&&e.clientWidth?e.clientWidth/n.options.aspectRatio/6:null;return E(pn,{unit:"day"},(m,p)=>E(re,null,e.cells.map((c,_)=>E(ws,{ref:this.rowRefs.createRef(_),key:c.length?c[0].date.toISOString():_,showDayNumbers:o>1,showWeekNumbers:e.showWeekNumbers,todayRange:p,dateProfile:e.dateProfile,cells:c,renderIntro:e.renderRowIntro,businessHourSegs:r[_],eventSelection:e.eventSelection,bgEventSegs:l[_].filter(o3),fgEventSegs:a[_],dateSelectionSegs:s[_],eventDrag:d[_],eventResize:f[_],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:u,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const e=this.rowRefs.currentMap[0].getCellEls()[0],n=e?e.closest(".fc-daygrid-body"):null;n&&(this.rootEl=n,this.context.registerInteractiveComponent(this,{el:n,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new qt(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new qt(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,n){let{colPositions:o,rowPositions:r}=this,l=o.leftToIndex(e),a=r.topToIndex(n);if(a!=null&&l!=null){let s=this.props.cells[a][l];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(a,l),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(a,l),rect:{left:o.lefts[l],right:o.rights[l],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null}getCellEl(e,n){return this.rowRefs.currentMap[e].getCellEls()[n]}getCellRange(e,n){let o=this.props.cells[e][n].date,r=ye(o,1);return{start:o,end:r}}}function o3(t){return t.eventRange.def.allDay}class r3 extends Le{constructor(){super(...arguments),this.elRef=be(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:n,dayMaxEvents:o,expandRows:r}=e,l=o===!0||n===!0;l&&!r&&(l=!1,n=null,o=null);let a=["fc-daygrid-body",l?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return E("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},E("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,E("tbody",{role:"presentation"},E(i3,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:o,dayMaxEventRows:n,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=l3(this.elRef.current,this.props.dateProfile);if(e){const n=e.closest(".fc-daygrid-body"),o=n.closest(".fc-scroller"),r=e.getBoundingClientRect().top-n.getBoundingClientRect().top;o.scrollTop=r?r+1:0}this.needsScrollReset=!1}}}function l3(t,e){let n;return e.currentRangeUnit.match(/year|month/)&&(n=t.querySelector(`[data-date="${Qp(e.currentDate)}-01"]`)),n||(n=t.querySelector(`[data-date="${Ki(e.currentDate)}"]`)),n}class a3 extends za{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,n){return n.sliceRange(e)}}class Cs extends Le{constructor(){super(...arguments),this.slicer=new a3,this.tableRef=be()}render(){let{props:e,context:n}=this;return E(r3,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,n,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class s3 extends j0{constructor(){super(...arguments),this.buildDayTableModel=F(c3),this.headerRef=be(),this.tableRef=be()}render(){let{options:e,dateProfileGenerator:n}=this.context,{props:o}=this,r=this.buildDayTableModel(o.dateProfile,n),l=e.dayHeaders&&E(Oa,{ref:this.headerRef,dateProfile:o.dateProfile,dates:r.headerDates,datesRepDistinctDays:r.rowCnt===1}),a=s=>E(Cs,{ref:this.tableRef,dateProfile:o.dateProfile,dayTableModel:r,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:s.tableColGroupNode,tableMinWidth:s.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:s.clientWidth,clientHeight:s.clientHeight,forPrint:o.forPrint});return e.dayMinWidth?this.renderHScrollLayout(l,a,r.colCnt,e.dayMinWidth):this.renderSimpleLayout(l,a)}}function c3(t,e){let n=new Ma(t.renderRange,e);return new La(n,/year|month|week/.test(t.currentRangeUnit))}class d3 extends ta{buildRenderRange(e,n,o){let r=super.buildRenderRange(e,n,o),{props:l}=this;return u3({currentRange:r,snapToWeek:/^(year|month)$/.test(n),fixedWeekCount:l.fixedWeekCount,dateEnv:l.dateEnv})}}function u3(t){let{dateEnv:e,currentRange:n}=t,{start:o,end:r}=n,l;if(t.snapToWeek&&(o=e.startOfWeek(o),l=e.startOfWeek(r),l.valueOf()!==r.valueOf()&&(r=Bl(l,1))),t.fixedWeekCount){let a=e.startOfWeek(e.startOfMonth(ye(n.end,-1))),s=Math.ceil(zp(a,r));r=Bl(r,6-s)}return{start:o,end:r}}var f3=':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';$i(f3);var ks=Ge({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:s3,dateProfileGeneratorClass:d3},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}}),p3='.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';$i(p3);class h3 extends Rm{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?cm(e)?["timed","allDay"]:["allDay"]:["timed"]}}const m3=de({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function vs(t){let e=["fc-timegrid-slot","fc-timegrid-slot-label",t.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return E(He.Consumer,null,n=>{if(!t.isLabeled)return E("td",{className:e.join(" "),"data-time":t.isoTimeStr});let{dateEnv:o,options:r,viewApi:l}=n,a=r.slotLabelFormat==null?m3:Array.isArray(r.slotLabelFormat)?de(r.slotLabelFormat[0]):de(r.slotLabelFormat),s={level:0,time:t.time,date:o.toDate(t.date),view:l,text:o.format(t.date,a)};return E(Se,{elTag:"td",elClasses:e,elAttrs:{"data-time":t.isoTimeStr},renderProps:s,generatorName:"slotLabelContent",customGenerator:r.slotLabelContent,defaultGenerator:g3,classNameGenerator:r.slotLabelClassNames,didMount:r.slotLabelDidMount,willUnmount:r.slotLabelWillUnmount},d=>E("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},E(d,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function g3(t){return t.text}class _3 extends J{render(){return this.props.slatMetas.map(e=>E("tr",{key:e.key},E(vs,Object.assign({},e))))}}const y3=de({week:"short"}),b3=5;class E3 extends Le{constructor(){super(...arguments),this.allDaySplitter=new h3,this.headerElRef=be(),this.rootElRef=be(),this.scrollerElRef=be(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let n=this.scrollerElRef.current;n&&(n.scrollTop=e)},this.renderHeadAxis=(e,n="")=>{let{options:o}=this.context,{dateProfile:r}=this.props,l=r.renderRange,s=yt(l.start,l.end)===1?ii(this.context,l.start,"week"):{};return o.weekNumbers&&e==="day"?E(qa,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:l.start,defaultFormat:y3},d=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:n}},E(d,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:s}))):E("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},E("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},this.renderTableRowAxis=e=>{let{options:n,viewApi:o}=this.context,r={text:n.allDayText,view:o};return E(Se,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:r,generatorName:"allDayContent",customGenerator:n.allDayContent,defaultGenerator:w3,classNameGenerator:n.allDayClassNames,didMount:n.allDayDidMount,willUnmount:n.allDayWillUnmount},l=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",e==null?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},E(l,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,n,o){let{context:r,props:l}=this,a=[],s=ai(r.options);return e&&a.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),n&&(a.push({type:"body",key:"all-day",chunk:{content:n}}),a.push({type:"body",key:"all-day-divider",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),a.push({type:"body",key:"body",liquid:!0,expandRows:!!r.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:o}}),E(Qn,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:r.viewSpec},E(Io,{liquid:!l.isHeightAuto&&!l.forPrint,collapsibleWidth:l.forPrint,cols:[{width:"shrink"}],sections:a}))}renderHScrollLayout(e,n,o,r,l,a,s){let d=this.context.pluginHooks.scrollGridImpl;if(!d)throw new Error("No ScrollGrid implementation");let{context:f,props:u}=this,m=!u.forPrint&&ai(f.options),p=!u.forPrint&&ja(f.options),c=[];e&&c.push({type:"header",key:"header",isSticky:m,syncRowHeights:!0,chunks:[{key:"axis",rowContent:g=>E("tr",{role:"presentation"},this.renderHeadAxis("day",g.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),n&&(c.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:g=>E("tr",{role:"presentation"},this.renderTableRowAxis(g.rowSyncHeights[0]))},{key:"cols",content:n}]}),c.push({key:"all-day-divider",type:"body",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{colSpan:2,className:"fc-timegrid-divider "+f.theme.getClass("tableCellShaded")}))}));let _=f.options.nowIndicator;return c.push({type:"body",key:"body",liquid:!0,expandRows:!!f.options.expandRows,chunks:[{key:"axis",content:g=>E("div",{className:"fc-timegrid-axis-chunk"},E("table",{"aria-hidden":!0,style:{height:g.expandRows?g.clientHeight:""}},g.tableColGroupNode,E("tbody",null,E(_3,{slatMetas:a}))),E("div",{className:"fc-timegrid-now-indicator-container"},E(pn,{unit:_?"minute":"day"},h=>{let b=_&&s&&s.safeComputeTop(h);return typeof b=="number"?E(Oo,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:b},isAxis:!0,date:h}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:o}]}),p&&c.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Ro},{key:"cols",content:Ro}]}),E(Qn,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:f.viewSpec},E(d,{liquid:!u.isHeightAuto&&!u.forPrint,forPrint:u.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:l}]}],sections:c}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:n}=this.context.options;return(e===!0||n===!0)&&(e=void 0,n=b3),{dayMaxEvents:e,dayMaxEventRows:n}}}function w3(t){return t.text}class C3{constructor(e,n,o){this.positions=e,this.dateProfile=n,this.slotDuration=o}safeComputeTop(e){let{dateProfile:n}=this;if(Ue(n.currentRange,e)){let o=ie(e),r=e.valueOf()-o.valueOf();if(r>=Te(n.slotMinTime)&&r<Te(n.slotMaxTime))return this.computeTimeTop(Q(r))}return null}computeDateTop(e,n){return n||(n=ie(e)),this.computeTimeTop(Q(e.valueOf()-n.valueOf()))}computeTimeTop(e){let{positions:n,dateProfile:o}=this,r=n.els.length,l=(e.milliseconds-Te(o.slotMinTime))/Te(this.slotDuration),a,s;return l=Math.max(0,l),l=Math.min(r,l),a=Math.floor(l),a=Math.min(a,r-1),s=l-a,n.tops[a]+n.getHeight(a)*s}}class k3 extends J{render(){let{props:e,context:n}=this,{options:o}=n,{slatElRefs:r}=e;return E("tbody",null,e.slatMetas.map((l,a)=>{let s={time:l.time,date:n.dateEnv.toDate(l.date),view:n.viewApi};return E("tr",{key:l.key,ref:r.createRef(l.key)},e.axis&&E(vs,Object.assign({},l)),E(Se,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!l.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":l.isoTimeStr},renderProps:s,generatorName:"slotLaneContent",customGenerator:o.slotLaneContent,classNameGenerator:o.slotLaneClassNames,didMount:o.slotLaneDidMount,willUnmount:o.slotLaneWillUnmount}))}))}}class v3 extends J{constructor(){super(...arguments),this.rootElRef=be(),this.slatElRefs=new We}render(){let{props:e,context:n}=this;return E("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},E("table",{"aria-hidden":!0,className:n.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,E(k3,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:n}=this;n.onCoords&&n.clientWidth!==null&&this.rootElRef.current.offsetHeight&&n.onCoords(new C3(new qt(this.rootElRef.current,S3(this.slatElRefs.currentMap,n.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function S3(t,e){return e.map(n=>t[n.key])}function hn(t,e){let n=[],o;for(o=0;o<e;o+=1)n.push([]);if(t)for(o=0;o<t.length;o+=1)n[t[o].col].push(t[o]);return n}function Ss(t,e){let n=[];if(t){for(let o=0;o<e;o+=1)n[o]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(let o of t.segs)n[o.col].segs.push(o)}else for(let o=0;o<e;o+=1)n[o]=null;return n}class A3 extends J{render(){let{props:e}=this;return E(Ya,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>Ns(e.hiddenSegs,e),defaultGenerator:D3,forceTimed:!0},n=>E(n,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function D3(t){return t.shortText}function x3(t,e,n){let o=new Va;e!=null&&(o.strictOrder=e),n!=null&&(o.maxStackCnt=n);let r=o.addSegs(t),l=Wm(r),a=N3(o);return a=I3(a,1),{segRects:B3(a),hiddenGroups:l}}function N3(t){const{entriesByLevel:e}=t,n=Ho((o,r)=>o+":"+r,(o,r)=>{let l=R3(t,o,r),a=As(l,n),s=e[o][r];return[Object.assign(Object.assign({},s),{nextLevelNodes:a[0]}),s.thickness+a[1]]});return As(e.length?{level:0,lateralStart:0,lateralEnd:e[0].length}:null,n)[0]}function As(t,e){if(!t)return[[],0];let{level:n,lateralStart:o,lateralEnd:r}=t,l=o,a=[];for(;l<r;)a.push(e(n,l)),l+=1;return a.sort(T3),[a.map(V3),a[0][1]]}function T3(t,e){return e[1]-t[1]}function V3(t){return t[0]}function R3(t,e,n){let{levelCoords:o,entriesByLevel:r}=t,l=r[e][n],a=o[e]+l.thickness,s=o.length,d=e;for(;d<s&&o[d]<a;d+=1);for(;d<s;d+=1){let f=r[d],u,m=No(f,l.span.start,Ao),p=m[0]+m[1],c=p;for(;(u=f[c])&&u.span.start<l.span.end;)c+=1;if(p<c)return{level:d,lateralStart:p,lateralEnd:c}}return null}function I3(t,e){const n=Ho((o,r,l)=>At(o),(o,r,l)=>{let{nextLevelNodes:a,thickness:s}=o,d=s+l,f=s/d,u,m=[];if(!a.length)u=e;else for(let c of a)if(u===void 0){let _=n(c,r,d);u=_[0],m.push(_[1])}else{let _=n(c,u,0);m.push(_[1])}let p=(u-r)*f;return[u-p,Object.assign(Object.assign({},o),{thickness:p,nextLevelNodes:m})]});return t.map(o=>n(o,0,0)[1])}function B3(t){let e=[];const n=Ho((r,l,a)=>At(r),(r,l,a)=>{let s=Object.assign(Object.assign({},r),{levelCoord:l,stackDepth:a,stackForward:0});return e.push(s),s.stackForward=o(r.nextLevelNodes,l+r.thickness,a+1)+1});function o(r,l,a){let s=0;for(let d of r)s=Math.max(n(d,l,a),s);return s}return o(t,0,0),e}function Ho(t,e){const n={};return(...o)=>{let r=t(...o);return r in n?n[r]:n[r]=e(...o)}}function Ds(t,e,n=null,o=0){let r=[];if(n)for(let l=0;l<t.length;l+=1){let a=t[l],s=n.computeDateTop(a.start,e),d=Math.max(s+(o||0),n.computeDateTop(a.end,e));r.push({start:Math.round(s),end:Math.round(d)})}return r}function O3(t,e,n,o){let r=[],l=[];for(let f=0;f<t.length;f+=1){let u=e[f];u?r.push({index:f,thickness:1,span:u}):l.push(t[f])}let{segRects:a,hiddenGroups:s}=x3(r,n,o),d=[];for(let f of a)d.push({seg:t[f.index],rect:f});for(let f of l)d.push({seg:f,rect:null});return{segPlacements:d,hiddenGroups:s}}const M3=de({hour:"numeric",minute:"2-digit",meridiem:!1});class xs extends J{render(){return E(Ua,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:M3}))}}class L3 extends J{constructor(){super(...arguments),this.sortEventSegs=F(ba)}render(){let{props:e,context:n}=this,{options:o}=n,r=o.selectMirror,l=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||r&&e.dateSelectionSegs||[],a=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},s=this.sortEventSegs(e.fgEventSegs,o.eventOrder);return E(Mo,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},d=>E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,a,!1,!1,!1)),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(l,{},!!e.eventDrag,!!e.eventResize,!!r,"mirror")),E("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),Lo(o)&&E(d,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,n,o,r,l,a){let{props:s}=this;return s.forPrint?Ns(e,s):this.renderPositionedFgSegs(e,n,o,r,l,a)}renderPositionedFgSegs(e,n,o,r,l,a){let{eventMaxStack:s,eventShortHeight:d,eventOrderStrict:f,eventMinHeight:u}=this.context.options,{date:m,slatCoords:p,eventSelection:c,todayRange:_,nowDate:g}=this.props,h=o||r||l,b=Ds(e,m,p,u),{segPlacements:y,hiddenGroups:C}=O3(e,b,f,s);return E(re,null,this.renderHiddenGroups(C,e),y.map(k=>{let{seg:B,rect:S}=k,x=B.eventRange.instance.instanceId,w=h||!!(!n[x]&&S),N=jo(S&&S.span),D=!h&&S?this.computeSegHStyle(S):{left:0,right:0},O=!!S&&S.stackForward>0,V=!!S&&S.span.end-S.span.start<d;return E("div",{className:"fc-timegrid-event-harness"+(O?" fc-timegrid-event-harness-inset":""),key:a||x,style:Object.assign(Object.assign({visibility:w?"":"hidden"},N),D)},E(xs,Object.assign({seg:B,isDragging:o,isResizing:r,isDateSelecting:l,isSelected:x===c,isShort:V},ot(B,_,g))))}))}renderHiddenGroups(e,n){let{extraDateSpan:o,dateProfile:r,todayRange:l,nowDate:a,eventSelection:s,eventDrag:d,eventResize:f}=this.props;return E(re,null,e.map(u=>{let m=jo(u.span),p=z3(u.entries,n);return E(A3,{key:zl(Za(p)),hiddenSegs:p,top:m.top,bottom:m.bottom,extraDateSpan:o,dateProfile:r,todayRange:l,nowDate:a,eventSelection:s,eventDrag:d,eventResize:f})}))}renderFillSegs(e,n){let{props:o,context:r}=this,a=Ds(e,o.date,o.slatCoords,r.options.eventMinHeight).map((s,d)=>{let f=e[d];return E("div",{key:wa(f.eventRange),className:"fc-timegrid-bg-harness",style:jo(s)},n==="bg-event"?E(Wa,Object.assign({seg:f},ot(f,o.todayRange,o.nowDate))):Ga(n))});return E(re,null,a)}renderNowIndicator(e){let{slatCoords:n,date:o}=this.props;return n?e.map((r,l)=>E(Oo,{key:l,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:n.computeDateTop(r.start,o)},isAxis:!1,date:o})):null}computeSegHStyle(e){let{isRtl:n,options:o}=this.context,r=o.slotEventOverlap,l=e.levelCoord,a=e.levelCoord+e.thickness,s,d;r&&(a=Math.min(1,l+(a-l)*2)),n?(s=1-a,d=l):(s=l,d=1-a);let f={zIndex:e.stackDepth+1,left:s*100+"%",right:d*100+"%"};return r&&!e.stackForward&&(f[n?"marginLeft":"marginRight"]=10*2),f}}function Ns(t,{todayRange:e,nowDate:n,eventSelection:o,eventDrag:r,eventResize:l}){let a=(r?r.affectedInstances:null)||(l?l.affectedInstances:null)||{};return E(re,null,t.map(s=>{let d=s.eventRange.instance.instanceId;return E("div",{key:d,style:{visibility:a[d]?"hidden":""}},E(xs,Object.assign({seg:s,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:d===o,isShort:!1},ot(s,e,n))))}))}function jo(t){return t?{top:t.start,bottom:-t.end}:{top:"",bottom:""}}function z3(t,e){return t.map(n=>e[n.index])}class P3 extends J{constructor(){super(...arguments),this.splitFgEventSegs=F(hn),this.splitBgEventSegs=F(hn),this.splitBusinessHourSegs=F(hn),this.splitNowIndicatorSegs=F(hn),this.splitDateSelectionSegs=F(hn),this.splitEventDrag=F(Ss),this.splitEventResize=F(Ss),this.rootElRef=be(),this.cellElRefs=new We}render(){let{props:e,context:n}=this,o=n.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),r=e.cells.length,l=this.splitFgEventSegs(e.fgEventSegs,r),a=this.splitBgEventSegs(e.bgEventSegs,r),s=this.splitBusinessHourSegs(e.businessHourSegs,r),d=this.splitNowIndicatorSegs(e.nowIndicatorSegs,r),f=this.splitDateSelectionSegs(e.dateSelectionSegs,r),u=this.splitEventDrag(e.eventDrag,r),m=this.splitEventResize(e.eventResize,r);return E("div",{className:"fc-timegrid-cols",ref:this.rootElRef},E("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,E("tbody",{role:"presentation"},E("tr",{role:"row"},e.axis&&E("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-now-indicator-container"},typeof o=="number"&&E(Oo,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:o},isAxis:!0,date:e.nowDate})))),e.cells.map((p,c)=>E(L3,{key:p.key,elRef:this.cellElRefs.createRef(p.key),dateProfile:e.dateProfile,date:p.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:p.extraRenderProps,extraDataAttrs:p.extraDataAttrs,extraClassNames:p.extraClassNames,extraDateSpan:p.extraDateSpan,fgEventSegs:l[c],bgEventSegs:a[c],businessHourSegs:s[c],nowIndicatorSegs:d[c],dateSelectionSegs:f[c],eventDrag:u[c],eventResize:m[c],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;e.onColCoords&&e.clientWidth!==null&&e.onColCoords(new qt(this.rootElRef.current,F3(this.cellElRefs.currentMap,e.cells),!0,!1))}}function F3(t,e){return e.map(n=>t[n.key])}class $3 extends Le{constructor(){super(...arguments),this.processSlotOptions=F(H3),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:n}=this.props,{slatCoords:o}=this.state;if(n&&o){if(e.time){let r=o.computeTimeTop(e.time);r=Math.ceil(r),r&&(r+=1),n(r)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:n}=this;return E("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},E(v3,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),E(P3,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:n.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,n){let{dateEnv:o,options:r}=this.context,{colCoords:l}=this,{dateProfile:a}=this.props,{slatCoords:s}=this.state,{snapDuration:d,snapsPerSlot:f}=this.processSlotOptions(this.props.slotDuration,r.snapDuration),u=l.leftToIndex(e),m=s.positions.topToIndex(n);if(u!=null&&m!=null){let p=this.props.cells[u],c=s.positions.tops[m],_=s.positions.getHeight(m),g=(n-c)/_,h=Math.floor(g*f),b=m*f+h,y=this.props.cells[u].date,C=qi(a.slotMinTime,Bp(d,b)),k=o.add(y,C),B=o.add(k,d);return{dateProfile:a,dateSpan:Object.assign({range:{start:k,end:B},allDay:!1},p.extraDateSpan),dayEl:l.els[u],rect:{left:l.lefts[u],right:l.rights[u],top:c,bottom:c+_},layer:0}}return null}}function H3(t,e){let n=e||t,o=Yi(t,n);return o===null&&(n=t,o=1),{snapDuration:n,snapsPerSlot:o}}class j3 extends za{sliceRange(e,n){let o=[];for(let r=0;r<n.length;r+=1){let l=kt(e,n[r]);l&&o.push({start:l.start,end:l.end,isStart:l.start.valueOf()===e.start.valueOf(),isEnd:l.end.valueOf()===e.end.valueOf(),col:r})}return o}}class U3 extends Le{constructor(){super(...arguments),this.buildDayRanges=F(W3),this.slicer=new j3,this.timeColsRef=be()}render(){let{props:e,context:n}=this,{dateProfile:o,dayTableModel:r}=e,{nowIndicator:l,nextDayThreshold:a}=n.options,s=this.buildDayRanges(r,o,n.dateEnv);return E(pn,{unit:l?"minute":"day"},(d,f)=>E($3,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,o,null,n,s),{forPrint:e.forPrint,axis:e.axis,dateProfile:o,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:r.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:d,nowIndicatorSegs:l&&this.slicer.sliceNowDate(d,o,a,n,s),todayRange:f,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function W3(t,e,n){let o=[];for(let r of t.headerDates)o.push({start:n.add(r,e.slotMinTime),end:n.add(r,e.slotMaxTime)});return o}const Ts=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function G3(t,e,n,o,r){let l=new Date(0),a=t,s=Q(0),d=n||q3(o),f=[];for(;Te(a)<Te(e);){let u=r.add(l,a),m=Yi(s,d)!==null;f.push({date:u,time:a,key:u.toISOString(),isoTimeStr:Zp(u),isLabeled:m}),a=qi(a,o),s=qi(s,o)}return f}function q3(t){let e,n,o;for(e=Ts.length-1;e>=0;e-=1)if(n=Q(Ts[e]),o=Yi(n,t),o!==null&&o>1)return n;return t}class Y3 extends E3{constructor(){super(...arguments),this.buildTimeColsModel=F(Q3),this.buildSlatMetas=F(G3)}render(){let{options:e,dateEnv:n,dateProfileGenerator:o}=this.context,{props:r}=this,{dateProfile:l}=r,a=this.buildTimeColsModel(l,o),s=this.allDaySplitter.splitProps(r),d=this.buildSlatMetas(l.slotMinTime,l.slotMaxTime,e.slotLabelInterval,e.slotDuration,n),{dayMinWidth:f}=e,u=!f,m=f,p=e.dayHeaders&&E(Oa,{dates:a.headerDates,dateProfile:l,datesRepDistinctDays:!0,renderIntro:u?this.renderHeadAxis:null}),c=e.allDaySlot!==!1&&(g=>E(Cs,Object.assign({},s.allDay,{dateProfile:l,dayTableModel:a,nextDayThreshold:e.nextDayThreshold,tableMinWidth:g.tableMinWidth,colGroupNode:g.tableColGroupNode,renderRowIntro:u?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:g.clientWidth,clientHeight:g.clientHeight,forPrint:r.forPrint},this.getAllDayMaxEventProps()))),_=g=>E(U3,Object.assign({},s.timed,{dayTableModel:a,dateProfile:l,axis:u,slotDuration:e.slotDuration,slatMetas:d,forPrint:r.forPrint,tableColGroupNode:g.tableColGroupNode,tableMinWidth:g.tableMinWidth,clientWidth:g.clientWidth,clientHeight:g.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:g.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return m?this.renderHScrollLayout(p,c,_,a.colCnt,f,d,this.state.slatCoords):this.renderSimpleLayout(p,c,_)}}function Q3(t,e){let n=new Ma(t.renderRange,e);return new La(n,!1)}var Vs=Ge({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:Y3,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});To.touchMouseIgnoreWait=500;let Uo=0,di=0,Wo=!1;class Rs{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=n=>{if(!this.shouldIgnoreMouse()&&Z3(n)&&this.tryStart(n)){let o=this.createEventFromMouse(n,!0);this.emitter.trigger("pointerdown",o),this.initScrollWatch(o),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=n=>{let o=this.createEventFromMouse(n);this.recordCoords(o),this.emitter.trigger("pointermove",o)},this.handleMouseUp=n=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(n)),this.cleanup()},this.handleTouchStart=n=>{if(this.tryStart(n)){this.isTouchDragging=!0;let o=this.createEventFromTouch(n,!0);this.emitter.trigger("pointerdown",o),this.initScrollWatch(o);let r=n.target;this.shouldIgnoreMove||r.addEventListener("touchmove",this.handleTouchMove),r.addEventListener("touchend",this.handleTouchEnd),r.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=n=>{let o=this.createEventFromTouch(n);this.recordCoords(o),this.emitter.trigger("pointermove",o)},this.handleTouchEnd=n=>{if(this.isDragging){let o=n.target;o.removeEventListener("touchmove",this.handleTouchMove),o.removeEventListener("touchend",this.handleTouchEnd),o.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(n)),this.cleanup(),this.isTouchDragging=!1,K3()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=n=>{if(!this.shouldIgnoreMove){let o=window.pageXOffset-this.prevScrollX+this.prevPageX,r=window.pageYOffset-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:n,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:o,pageY:r,deltaX:o-this.origPageX,deltaY:r-this.origPageY})}},this.containerEl=e,this.emitter=new ti,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),X3()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),J3()}tryStart(e){let n=this.querySubjectEl(e),o=e.target;return n&&(!this.handleSelector||_e(o,this.handleSelector))?(this.subjectEl=n,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){Wo=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?_e(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return Uo||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(Wo=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,n){let o=0,r=0;return n?(this.origPageX=e.pageX,this.origPageY=e.pageY):(o=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:o,deltaY:r}}createEventFromTouch(e,n){let o=e.touches,r,l,a=0,s=0;return o&&o.length?(r=o[0].pageX,l=o[0].pageY):(r=e.pageX,l=e.pageY),n?(this.origPageX=r,this.origPageY=l):(a=r-this.origPageX,s=l-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:r,pageY:l,deltaX:a,deltaY:s}}}function Z3(t){return t.button===0&&!t.ctrlKey}function K3(){Uo+=1,setTimeout(()=>{Uo-=1},To.touchMouseIgnoreWait)}function X3(){di+=1,di===1&&window.addEventListener("touchmove",Is,{passive:!1})}function J3(){di-=1,di||window.removeEventListener("touchmove",Is,{passive:!1})}function Is(t){Wo&&t.preventDefault()}class e_{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,n,o){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=n-window.pageXOffset,this.origScreenY=o-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,n){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=n-window.pageYOffset-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,n){let o=()=>{this.cleanup(),n()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(o,this.revertDuration):setTimeout(o,0)}doRevertAnimation(e,n){let o=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();o.style.transition="top "+n+"ms,left "+n+"ms",an(o,{left:r.left,top:r.top}),bp(o,()=>{o.style.transition="",e()})}cleanup(){this.mirrorEl&&(Ui(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&an(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,n=this.mirrorEl;return n||(n=this.mirrorEl=this.sourceEl.cloneNode(!0),n.style.userSelect="none",n.style.webkitUserSelect="none",n.classList.add("fc-event-dragging"),an(n,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(n)),n}}class Bs extends So{constructor(e,n){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=n,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class Os extends Bs{constructor(e,n){super(new jm(e),n)}getEventTarget(){return this.scrollController.el}computeClientRect(){return $m(this.scrollController.el)}}class t_ extends Bs{constructor(e){super(new Um,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const Ms=typeof performance=="function"?performance.now:Date.now;class n_{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.pageXOffset,this.pointerScreenY+window.pageYOffset);if(e){let n=Ms();this.handleSide(e,(n-this.msSinceRequest)/1e3),this.requestAnimation(n)}else this.isAnimating=!1}}}start(e,n,o){this.isEnabled&&(this.scrollCaches=this.buildCaches(o),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,n))}handleMove(e,n){if(this.isEnabled){let o=e-window.pageXOffset,r=n-window.pageYOffset,l=this.pointerScreenY===null?0:r-this.pointerScreenY,a=this.pointerScreenX===null?0:o-this.pointerScreenX;l<0?this.everMovedUp=!0:l>0&&(this.everMovedDown=!0),a<0?this.everMovedLeft=!0:a>0&&(this.everMovedRight=!0),this.pointerScreenX=o,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(Ms()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,n){let{scrollCache:o}=e,{edgeThreshold:r}=this,l=r-e.distance,a=l*l/(r*r)*this.maxVelocity*n,s=1;switch(e.name){case"left":s=-1;case"right":o.setScrollLeft(o.getScrollLeft()+a*s);break;case"top":s=-1;case"bottom":o.setScrollTop(o.getScrollTop()+a*s);break}}computeBestEdge(e,n){let{edgeThreshold:o}=this,r=null,l=this.scrollCaches||[];for(let a of l){let s=a.clientRect,d=e-s.left,f=s.right-e,u=n-s.top,m=s.bottom-n;d>=0&&f>=0&&u>=0&&m>=0&&(u<=o&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),m<=o&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>m)&&(r={scrollCache:a,name:"bottom",distance:m}),d<=o&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"left",distance:d}),f<=o&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>f)&&(r={scrollCache:a,name:"right",distance:f}))}return r}buildCaches(e){return this.queryScrollEls(e).map(n=>n===window?new t_(!1):new Os(n,!1))}queryScrollEls(e){let n=[];for(let o of this.scrollQuery)typeof o=="object"?n.push(o):n.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(o)));return n}}class mn extends qm{constructor(e,n){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=r=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,Ep(document.body),Cp(document.body),r.isTouch||r.origEvent.preventDefault(),this.emitter.trigger("pointerdown",r),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(r.subjectEl,r.pageX,r.pageY),this.startDelay(r),this.minDistance||this.handleDistanceSurpassed(r)))},this.onPointerMove=r=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",r),!this.isDistanceSurpassed){let l=this.minDistance,a,{deltaX:s,deltaY:d}=r;a=s*s+d*d,a>=l*l&&this.handleDistanceSurpassed(r)}this.isDragging&&(r.origEvent.type!=="scroll"&&(this.mirror.handleMove(r.pageX,r.pageY),this.autoScroller.handleMove(r.pageX,r.pageY)),this.emitter.trigger("dragmove",r))}},this.onPointerUp=r=>{this.isInteracting&&(this.isInteracting=!1,wp(document.body),kp(document.body),this.emitter.trigger("pointerup",r),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(r)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let o=this.pointer=new Rs(e);o.emitter.on("pointerdown",this.onPointerDown),o.emitter.on("pointermove",this.onPointerMove),o.emitter.on("pointerup",this.onPointerUp),n&&(o.selector=n),this.mirror=new e_,this.autoScroller=new n_}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class i_{constructor(e){this.origRect=vo(e),this.scrollCaches=Ta(e).map(n=>new Os(n,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let n of this.scrollCaches)e+=n.origScrollLeft-n.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let n of this.scrollCaches)e+=n.origScrollTop-n.getScrollTop();return e}isWithinClipping(e,n){let o={left:e,top:n};for(let r of this.scrollCaches)if(!o_(r.getEventTarget())&&!xm(o,r.clientRect))return!1;return!0}}function o_(t){let e=t.tagName;return e==="HTML"||e==="BODY"}class ui{constructor(e,n){this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=o=>{let{dragging:r}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(o),this.initialHit||!this.requireInitial?(r.setIgnoreMove(!1),this.emitter.trigger("pointerdown",o)):r.setIgnoreMove(!0)},this.handleDragStart=o=>{this.emitter.trigger("dragstart",o),this.handleMove(o,!0)},this.handleDragMove=o=>{this.emitter.trigger("dragmove",o),this.handleMove(o)},this.handlePointerUp=o=>{this.releaseHits(),this.emitter.trigger("pointerup",o)},this.handleDragEnd=o=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,o),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",o)},this.droppableStore=n,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new ti}processFirstCoord(e){let n={left:e.pageX,top:e.pageY},o=n,r=e.subjectEl,l;r instanceof HTMLElement&&(l=vo(r),o=Nm(o,l));let a=this.initialHit=this.queryHitForOffset(o.left,o.top);if(a){if(this.useSubjectCenter&&l){let s=Da(l,a.rect);s&&(o=Tm(s))}this.coordAdjust=Vm(o,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,n){let o=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(n||!fi(this.movingHit,o))&&(this.movingHit=o,this.emitter.trigger("hitupdate",o,!1,e))}prepareHits(){this.offsetTrackers=$e(this.droppableStore,e=>(e.component.prepareHits(),new i_(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let n in e)e[n].destroy();this.offsetTrackers={}}queryHitForOffset(e,n){let{droppableStore:o,offsetTrackers:r}=this,l=null;for(let a in o){let s=o[a].component,d=r[a];if(d&&d.isWithinClipping(e,n)){let f=d.computeLeft(),u=d.computeTop(),m=e-f,p=n-u,{origRect:c}=d,_=c.right-c.left,g=c.bottom-c.top;if(m>=0&&m<_&&p>=0&&p<g){let h=s.queryHit(m,p,_,g);h&&Zn(h.dateProfile.activeRange,h.dateSpan.range)&&(!l||h.layer>l.layer)&&(h.componentId=a,h.context=s.context,h.rect.left+=f,h.rect.right+=f,h.rect.top+=u,h.rect.bottom+=u,l=h)}}}return l}}function fi(t,e){return!t&&!e?!0:!!t!=!!e?!1:ym(t.dateSpan,e.dateSpan)}function Ls(t,e){let n={};for(let o of e.pluginHooks.datePointTransforms)Object.assign(n,o(t,e));return Object.assign(n,r_(t,e.dateEnv)),n}function r_(t,e){return{date:e.toDate(t.range.start),dateStr:e.formatIso(t.range.start,{omitTime:t.allDay}),allDay:t.allDay}}class l_ extends Gt{constructor(e){super(e),this.handlePointerDown=o=>{let{dragging:r}=this,l=o.origEvent.target;r.setIgnoreMove(!this.component.isValidDateDownEl(l))},this.handleDragEnd=o=>{let{component:r}=this,{pointer:l}=this.dragging;if(!l.wasTouchScroll){let{initialHit:a,finalHit:s}=this.hitDragging;if(a&&s&&fi(a,s)){let{context:d}=r,f=Object.assign(Object.assign({},Ls(a.dateSpan,d)),{dayEl:a.dayEl,jsEvent:o.origEvent,view:d.viewApi||d.calendarApi.view});d.emitter.trigger("dateClick",f)}}},this.dragging=new mn(e.el),this.dragging.autoScroller.isEnabled=!1;let n=this.hitDragging=new ui(this.dragging,yo(e));n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class a_ extends Gt{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=a=>{let{component:s,dragging:d}=this,{options:f}=s.context,u=f.selectable&&s.isValidDateDownEl(a.origEvent.target);d.setIgnoreMove(!u),d.delay=a.isTouch?s_(s):null},this.handleDragStart=a=>{this.component.context.calendarApi.unselect(a)},this.handleHitUpdate=(a,s)=>{let{context:d}=this.component,f=null,u=!1;if(a){let m=this.hitDragging.initialHit;a.componentId===m.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(m,a)||(f=c_(m,a,d.pluginHooks.dateSelectionTransformers)),(!f||!Jm(f,a.dateProfile,d))&&(u=!0,f=null)}f?d.dispatch({type:"SELECT_DATES",selection:f}):s||d.dispatch({type:"UNSELECT_DATES"}),u?Wi():Gi(),s||(this.dragSelection=f)},this.handlePointerUp=a=>{this.dragSelection&&(pa(this.dragSelection,a,this.component.context),this.dragSelection=null)};let{component:n}=e,{options:o}=n.context,r=this.dragging=new mn(e.el);r.touchScrollAllowed=!1,r.minDistance=o.selectMinDistance||0,r.autoScroller.isEnabled=o.dragScroll;let l=this.hitDragging=new ui(this.dragging,yo(e));l.emitter.on("pointerdown",this.handlePointerDown),l.emitter.on("dragstart",this.handleDragStart),l.emitter.on("hitupdate",this.handleHitUpdate),l.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}function s_(t){let{options:e}=t.context,n=e.selectLongPressDelay;return n==null&&(n=e.longPressDelay),n}function c_(t,e,n){let o=t.dateSpan,r=e.dateSpan,l=[o.range.start,o.range.end,r.range.start,r.range.end];l.sort(xp);let a={};for(let s of n){let d=s(t,e);if(d===!1)return null;d&&Object.assign(a,d)}return a.range={start:l[0],end:l[3]},a.allDay=o.allDay,a}class gn extends Gt{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=a=>{let s=a.origEvent.target,{component:d,dragging:f}=this,{mirror:u}=f,{options:m}=d.context,p=d.context;this.subjectEl=a.subjectEl;let c=this.subjectSeg=Wt(a.subjectEl),g=(this.eventRange=c.eventRange).instance.instanceId;this.relevantEvents=po(p.getCurrentData().eventStore,g),f.minDistance=a.isTouch?0:m.eventDragMinDistance,f.delay=a.isTouch&&g!==d.props.eventSelection?u_(d):null,m.fixedMirrorParent?u.parentNode=m.fixedMirrorParent:u.parentNode=_e(s,".fc"),u.revertDuration=m.dragRevertDuration;let h=d.isValidSegDownEl(s)&&!_e(s,".fc-event-resizer");f.setIgnoreMove(!h),this.isDragging=h&&a.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=a=>{let s=this.component.context,d=this.eventRange,f=d.instance.instanceId;a.isTouch?f!==this.component.props.eventSelection&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:f}):s.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(s.calendarApi.unselect(a),s.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new se(s,d.def,d.instance),jsEvent:a.origEvent,view:s.viewApi}))},this.handleHitUpdate=(a,s)=>{if(!this.isDragging)return;let d=this.relevantEvents,f=this.hitDragging.initialHit,u=this.component.context,m=null,p=null,c=null,_=!1,g={affectedEvents:d,mutatedEvents:Ae(),isEvent:!0};if(a){m=a.context;let h=m.options;u===m||h.editable&&h.droppable?(p=d_(f,a,m.getCurrentData().pluginHooks.eventDragMutationMassagers),p&&(c=go(d,m.getCurrentData().eventUiBases,p,m),g.mutatedEvents=c,Pa(g,a.dateProfile,m)||(_=!0,p=null,c=null,g.mutatedEvents=Ae()))):m=null}this.displayDrag(m,g),_?Wi():Gi(),s||(u===m&&fi(f,a)&&(p=null),this.dragging.setMirrorNeedsRevert(!p),this.dragging.setMirrorIsVisible(!a||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=m,this.validMutation=p,this.mutatedRelevantEvents=c)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=a=>{if(this.isDragging){let s=this.component.context,d=s.viewApi,{receivingContext:f,validMutation:u}=this,m=this.eventRange.def,p=this.eventRange.instance,c=new se(s,m,p),_=this.relevantEvents,g=this.mutatedRelevantEvents,{finalHit:h}=this.hitDragging;if(this.clearDrag(),s.emitter.trigger("eventDragStop",{el:this.subjectEl,event:c,jsEvent:a.origEvent,view:d}),u){if(f===s){let b=new se(s,g.defs[m.defId],p?g.instances[p.instanceId]:null);s.dispatch({type:"MERGE_EVENTS",eventStore:g});let y={oldEvent:c,event:b,relatedEvents:St(g,s,p),revert(){s.dispatch({type:"MERGE_EVENTS",eventStore:_})}},C={};for(let k of s.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(C,k(u,s));s.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},y),C),{el:a.subjectEl,delta:u.datesDelta,jsEvent:a.origEvent,view:d})),s.emitter.trigger("eventChange",y)}else if(f){let b={event:c,relatedEvents:St(_,s,p),revert(){s.dispatch({type:"MERGE_EVENTS",eventStore:_})}};s.emitter.trigger("eventLeave",Object.assign(Object.assign({},b),{draggedEl:a.subjectEl,view:d})),s.dispatch({type:"REMOVE_EVENTS",eventStore:_}),s.emitter.trigger("eventRemove",b);let y=g.defs[m.defId],C=g.instances[p.instanceId],k=new se(f,y,C);f.dispatch({type:"MERGE_EVENTS",eventStore:g});let B={event:k,relatedEvents:St(g,f,C),revert(){f.dispatch({type:"REMOVE_EVENTS",eventStore:g})}};f.emitter.trigger("eventAdd",B),a.isTouch&&f.dispatch({type:"SELECT_EVENT",eventInstanceId:p.instanceId}),f.emitter.trigger("drop",Object.assign(Object.assign({},Ls(h.dateSpan,f)),{draggedEl:a.subjectEl,jsEvent:a.origEvent,view:h.context.viewApi})),f.emitter.trigger("eventReceive",Object.assign(Object.assign({},B),{draggedEl:a.subjectEl,view:h.context.viewApi}))}}else s.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:n}=this,{options:o}=n.context,r=this.dragging=new mn(e.el);r.pointer.selector=gn.SELECTOR,r.touchScrollAllowed=!1,r.autoScroller.isEnabled=o.dragScroll;let l=this.hitDragging=new ui(this.dragging,bo);l.useSubjectCenter=e.useEventCenter,l.emitter.on("pointerdown",this.handlePointerDown),l.emitter.on("dragstart",this.handleDragStart),l.emitter.on("hitupdate",this.handleHitUpdate),l.emitter.on("pointerup",this.handlePointerUp),l.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,n){let o=this.component.context,r=this.receivingContext;r&&r!==e&&(r===o?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:n.affectedEvents,mutatedEvents:Ae(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:n})}clearDrag(){let e=this.component.context,{receivingContext:n}=this;n&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e!==n&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}gn.SELECTOR=".fc-event-draggable, .fc-event-resizable";function d_(t,e,n){let o=t.dateSpan,r=e.dateSpan,l=o.range.start,a=r.range.start,s={};o.allDay!==r.allDay&&(s.allDay=r.allDay,s.hasEnd=e.context.options.allDayMaintainDuration,r.allDay&&(l=ie(l)));let d=jt(l,a,t.context.dateEnv,t.componentId===e.componentId?t.largeUnit:null);d.milliseconds&&(s.allDay=!1);let f={datesDelta:d,standardProps:s};for(let u of n)u(f,t,e);return f}function u_(t){let{options:e}=t.context,n=e.eventLongPressDelay;return n==null&&(n=e.longPressDelay),n}class f_ extends Gt{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=l=>{let{component:a}=this,s=this.querySegEl(l),d=Wt(s),f=this.eventRange=d.eventRange;this.dragging.minDistance=a.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(l.origEvent.target)||l.isTouch&&this.component.props.eventSelection!==f.instance.instanceId)},this.handleDragStart=l=>{let{context:a}=this.component,s=this.eventRange;this.relevantEvents=po(a.getCurrentData().eventStore,this.eventRange.instance.instanceId);let d=this.querySegEl(l);this.draggingSegEl=d,this.draggingSeg=Wt(d),a.calendarApi.unselect(),a.emitter.trigger("eventResizeStart",{el:d,event:new se(a,s.def,s.instance),jsEvent:l.origEvent,view:a.viewApi})},this.handleHitUpdate=(l,a,s)=>{let{context:d}=this.component,f=this.relevantEvents,u=this.hitDragging.initialHit,m=this.eventRange.instance,p=null,c=null,_=!1,g={affectedEvents:f,mutatedEvents:Ae(),isEvent:!0};l&&(l.componentId===u.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(u,l)||(p=p_(u,l,s.subjectEl.classList.contains("fc-event-resizer-start"),m.range))),p&&(c=go(f,d.getCurrentData().eventUiBases,p,d),g.mutatedEvents=c,Pa(g,l.dateProfile,d)||(_=!0,p=null,c=null,g.mutatedEvents=null)),c?d.dispatch({type:"SET_EVENT_RESIZE",state:g}):d.dispatch({type:"UNSET_EVENT_RESIZE"}),_?Wi():Gi(),a||(p&&fi(u,l)&&(p=null),this.validMutation=p,this.mutatedRelevantEvents=c)},this.handleDragEnd=l=>{let{context:a}=this.component,s=this.eventRange.def,d=this.eventRange.instance,f=new se(a,s,d),u=this.relevantEvents,m=this.mutatedRelevantEvents;if(a.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:f,jsEvent:l.origEvent,view:a.viewApi}),this.validMutation){let p=new se(a,m.defs[s.defId],d?m.instances[d.instanceId]:null);a.dispatch({type:"MERGE_EVENTS",eventStore:m});let c={oldEvent:f,event:p,relatedEvents:St(m,a,d),revert(){a.dispatch({type:"MERGE_EVENTS",eventStore:u})}};a.emitter.trigger("eventResize",Object.assign(Object.assign({},c),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||Q(0),endDelta:this.validMutation.endDelta||Q(0),jsEvent:l.origEvent,view:a.viewApi})),a.emitter.trigger("eventChange",c)}else a.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:n}=e,o=this.dragging=new mn(e.el);o.pointer.selector=".fc-event-resizer",o.touchScrollAllowed=!1,o.autoScroller.isEnabled=n.context.options.dragScroll;let r=this.hitDragging=new ui(this.dragging,yo(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return _e(e.subjectEl,".fc-event")}}function p_(t,e,n,o){let r=t.context.dateEnv,l=t.dateSpan.range.start,a=e.dateSpan.range.start,s=jt(l,a,r,t.largeUnit);if(n){if(r.add(o.start,s)<o.end)return{startDelta:s}}else if(r.add(o.end,s)>o.start)return{endDelta:s};return null}class h_{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=o=>{o.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=o=>{let r=this.context.options.unselectCancel,l=Sl(o.origEvent);this.matchesCancel=!!_e(l,r),this.matchesEvent=!!_e(l,gn.SELECTOR)},this.onDocumentPointerUp=o=>{let{context:r}=this,{documentPointer:l}=this,a=r.getCurrentData();if(!l.wasTouchScroll){if(a.dateSelection&&!this.isRecentPointerDateSelect){let s=r.options.unselectAuto;s&&(!s||!this.matchesCancel)&&r.calendarApi.unselect(o)}a.eventSelection&&!this.matchesEvent&&r.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let n=this.documentPointer=new Rs(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}const m_={fixedMirrorParent:v},g_={dateClick:v,eventDragStart:v,eventDragStop:v,eventDrop:v,eventResizeStart:v,eventResizeStop:v,eventResize:v,drop:v,eventReceive:v,eventLeave:v};To.dataAttrPrefix="";var zs=Ge({name:"@fullcalendar/interaction",componentInteractions:[l_,a_,gn,f_],calendarInteractions:[h_],elementDraggingImpl:mn,optionRefiners:m_,listenerRefiners:g_});let __=0,y_=new Date().toISOString().replace(/T.*$/,"");const b_=[{id:E_(),title:"All-day event",start:y_}];function E_(){return String(__++)}const _n=t=>(i.pushScopeId("data-v-f8cb3591"),t=t(),i.popScopeId(),t),w_={class:"demo-app"},C_={class:"demo-app-main"},k_={class:"title-line"},v_=["title","onClick"],S_={key:0,style:{width:"90%"}},A_=_n(()=>i.createElementVNode("span",{class:"to"},"至",-1)),D_={key:1,style:{width:"90%"}},x_=_n(()=>i.createElementVNode("span",{class:"to"},"至",-1)),N_={key:2,style:{width:"90%",display:"flex","align-items":"center","justify-content":"space-between"}},T_={key:0,style:{"margin-left":"2%"}},V_=_n(()=>i.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),R_={key:1},I_=_n(()=>i.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),B_={key:0,class:"placeholder"},O_={class:"info"},M_=_n(()=>i.createElementVNode("img",{src:"https://img1.baidu.com/it/u=1960110688,1786190632&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281",alt:""},null,-1)),L_={class:"dialog-footer"},z_={name:"IkApprovalProcess"},P_=i.defineComponent({...z_,props:{dataList:{type:Array,default:()=>[]},defaultNodeType:{type:Object,default:()=>({})},defaultFieldMap:{type:Object,default:()=>({})},statusWithoutApprover:{type:Object,default:()=>({})}},emits:["delete","success"],setup(t,{emit:e}){const n=e,o=g=>{if(s.selectInfo=g,l(),g.view.type=="dayGridMonth"){let b=g.end.getTime()-864e5;s.timeType="month",s.form.startDate=z.ikDate.toYMD(g.start),s.form.endDate=z.ikDate.toYMD(new Date(b))}else g.view.type=="timeGridWeek"?(s.timeType="week",s.form.startDate=z.ikDate.toYMDHM(g.start),s.form.endDate=z.ikDate.toYMDHM(g.end)):g.view.type=="timeGridDay"&&(s.timeType="day",s.form.startDate=z.ikDate.toYMD(g.start),s.form.endDate=z.ikDate.toYMD(g.start),s.form.startTime=z.ikDate.toDateTime(g.start),s.form.endTime=z.ikDate.toDateTime(g.end));g.view.calendar.unselect(),i.nextTick(()=>{s.title="新建日程",s.dialogVisible=!0})},r=(g,h)=>{s.title="修改日程",s.dialogVisible=!0},l=g=>{fetch("http://192.168.2.45:6002/component/pick/mix",{method:"POST",body:JSON.stringify({parentDepartmentId:g||"",name:""}),headers:{Authorization:"Bearer iking","Content-Type":"application/json"}}).then(y=>{y.json().then(C=>{const{success:k,data:B}=C;if(!k)return;const{departments:S,users:x,roles:w,posts:N}=B;s.depList=S,s.userList=x,s.roleList=w,s.postList=N})}).catch(y=>{console.info("error: ",y)})},a=g=>{s.currentEvents=g},s=i.reactive({allDay:!1,dialogVisible:!1,form:{title:"",type:1,startDate:"",endDate:"",startTime:"",endTime:"",personList:[],location:""},formRef:null,title:"新建日程",timeType:"month",handList:[],isShow:!1,depList:[],userList:[],roleList:[],postList:[],selectInfo:{},calendarOptions:{locale:Mr,plugins:[ks,Vs,zs],headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},firstDay:1,initialView:"dayGridMonth",initialEvents:b_,editable:!0,selectable:!0,selectMirror:!0,dayMaxEvents:!0,weekends:!0,select:o,eventClick:g=>r(),eventsSet:a},currentEvents:[]}),d=()=>{var g;(g=s.formRef)==null||g.resetFields(),s.form={title:"",type:1,startDate:"",endDate:"",startTime:"",endTime:"",personList:[],location:""},s.dialogVisible=!1},f=async()=>{var b,y,C,k;let g=(y=(b=s.selectInfo)==null?void 0:b.view)==null?void 0:y.calendar,h={id:new Date().getTime(),title:s.form.title,start:(C=s.selectInfo)==null?void 0:C.startStr,end:(k=s.selectInfo)==null?void 0:k.endStr,allDay:s.allDay};await g.addEvent(h),n("success",h),d()},u=g=>{A.ElMessageBox.confirm(`你确定删除事件'${g.event.title}'?`,"Warning",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then(()=>{A.ElMessage({type:"success",message:"删除成功"}),g.event.remove(),n("delete",g.event)})},m=g=>{s.handList=g.list,s.form.personList=g.list},p=()=>{s.isShow=!0},c=g=>{l(g==null?void 0:g.elementId)},_=g=>{s.form.personList.splice(g,1),s.handList=s.form.personList};return(g,h)=>{const b=i.resolveComponent("el-checkbox");return i.openBlock(),i.createElementBlock("div",w_,[i.createElementVNode("div",C_,[i.createVNode(i.unref(ps),{class:"demo-app-calendar",options:s.calendarOptions},{eventContent:i.withCtx(y=>[i.createElementVNode("div",k_,[i.createElementVNode("span",{class:"title",title:y.event.title,onClick:i.withModifiers(C=>r(),["stop"])},i.toDisplayString(y.event.title),9,v_),i.createVNode(i.unref(A.ElIcon),{size:16,onClick:i.withModifiers(C=>u(y),["stop"])},{default:i.withCtx(()=>[i.createVNode(i.unref(Vr))]),_:2},1032,["onClick"])])]),_:1},8,["options"])]),i.createCommentVNode(" 新建日程 "),i.createVNode(i.unref(A.ElDialog),{modelValue:s.dialogVisible,"onUpdate:modelValue":h[12]||(h[12]=y=>s.dialogVisible=y),title:s.title,width:"30%",ref:"formRef",onClose:d},{footer:i.withCtx(()=>[i.createElementVNode("span",L_,[i.createVNode(i.unref(A.ElButton),{onClick:d},{default:i.withCtx(()=>[i.createTextVNode("取消")]),_:1}),i.createVNode(i.unref(A.ElButton),{type:"primary",onClick:f},{default:i.withCtx(()=>[i.createTextVNode("确定")]),_:1})])]),default:i.withCtx(()=>[i.createVNode(i.unref(A.ElForm),{model:s.form},{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElFormItem),null,{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElIcon),{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Dr))]),_:1}),i.createVNode(i.unref(A.ElInput),{modelValue:s.form.title,"onUpdate:modelValue":h[0]||(h[0]=y=>s.form.title=y),placeholder:`添加${s.form.type==1?"会议":"活动"}标题`,style:{width:"70%"},clearable:""},null,8,["modelValue","placeholder"]),i.createVNode(i.unref(A.ElSelect),{modelValue:s.form.type,"onUpdate:modelValue":h[1]||(h[1]=y=>s.form.type=y),style:{width:"20%"}},{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElOption),{label:"会议",value:1}),i.createVNode(i.unref(A.ElOption),{label:"活动",value:2})]),_:1},8,["modelValue"])]),_:1}),i.createVNode(i.unref(A.ElFormItem),null,{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElIcon),{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Nr))]),_:1}),s.timeType=="month"?(i.openBlock(),i.createElementBlock("div",S_,[i.createVNode(i.unref(A.ElDatePicker),{modelValue:s.form.startDate,"onUpdate:modelValue":h[2]||(h[2]=y=>s.form.startDate=y),type:"date",placeholder:"开始日期",style:{width:"48%"}},null,8,["modelValue"]),A_,i.createVNode(i.unref(A.ElDatePicker),{modelValue:s.form.endDate,"onUpdate:modelValue":h[3]||(h[3]=y=>s.form.endDate=y),type:"date",placeholder:"结束日期",style:{width:"48%"}},null,8,["modelValue"])])):i.createCommentVNode("v-if",!0),s.timeType=="week"?(i.openBlock(),i.createElementBlock("div",D_,[i.createVNode(i.unref(A.ElDatePicker),{modelValue:s.form.startDate,"onUpdate:modelValue":h[4]||(h[4]=y=>s.form.startDate=y),type:"datetime",placeholder:"开始日期",style:{width:"48%"},format:"YYYY-MM-DD HH:mm"},null,8,["modelValue"]),x_,i.createVNode(i.unref(A.ElDatePicker),{modelValue:s.form.endDate,"onUpdate:modelValue":h[5]||(h[5]=y=>s.form.endDate=y),type:"datetime",placeholder:"结束日期",style:{width:"48%"},format:"YYYY-MM-DD HH:mm"},null,8,["modelValue"])])):i.createCommentVNode("v-if",!0),s.timeType=="day"?(i.openBlock(),i.createElementBlock("div",N_,[i.createVNode(i.unref(A.ElDatePicker),{modelValue:s.form.startDate,"onUpdate:modelValue":h[6]||(h[6]=y=>s.form.startDate=y),type:"date",placeholder:"开始日期",style:i.normalizeStyle({width:s.allDay?"45%":"90%"})},null,8,["modelValue","style"]),s.allDay?(i.openBlock(),i.createElementBlock("div",R_,[I_,i.createVNode(i.unref(A.ElDatePicker),{modelValue:s.form.endDate,"onUpdate:modelValue":h[9]||(h[9]=y=>s.form.endDate=y),type:"date",placeholder:"结束日期",style:{width:"90%"}},null,8,["modelValue"])])):(i.openBlock(),i.createElementBlock("div",T_,[i.createVNode(i.unref(A.ElTimePicker),{modelValue:s.form.startTime,"onUpdate:modelValue":h[7]||(h[7]=y=>s.form.startTime=y),type:"datetime",placeholder:"开始日期",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"]),V_,i.createVNode(i.unref(A.ElTimePicker),{modelValue:s.form.endTime,"onUpdate:modelValue":h[8]||(h[8]=y=>s.form.endTime=y),type:"datetime",placeholder:"结束日期",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"])])),i.createVNode(b,{modelValue:s.allDay,"onUpdate:modelValue":h[10]||(h[10]=y=>s.allDay=y),label:"全天",style:{"margin-left":"2%"}},null,8,["modelValue"])])):i.createCommentVNode("v-if",!0)]),_:1}),i.createVNode(i.unref(A.ElFormItem),null,{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElIcon),{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Qd))]),_:1}),i.createElementVNode("div",{class:"personBlock",onClick:i.withModifiers(p,["stop"])},[s.form.personList.length?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(s.form.personList,(y,C)=>(i.openBlock(),i.createElementBlock("div",{key:C,class:"nameBlock"},[i.createElementVNode("div",O_,[M_,i.createElementVNode("div",null,i.toDisplayString(y.elementName),1)]),i.createVNode(i.unref(A.ElIcon),{class:"close",onClick:i.withModifiers(k=>_(C),["stop"])},{default:i.withCtx(()=>[i.createVNode(i.unref(Tr))]),_:2},1032,["onClick"])]))),128)):(i.openBlock(),i.createElementBlock("span",B_,"添加参与人"))])]),_:1}),i.createVNode(i.unref(A.ElFormItem),null,{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElIcon),{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Od))]),_:1}),i.createVNode(i.unref(A.ElInput),{modelValue:s.form.location,"onUpdate:modelValue":h[11]||(h[11]=y=>s.form.location=y),placeholder:"添加地点",style:{width:"90%"},clearable:""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),i.createCommentVNode(" 选人组件 "),i.createVNode(i.unref(En),{modelValue:s.handList,"onUpdate:modelValue":h[13]||(h[13]=y=>s.handList=y),show:s.isShow,"onUpdate:show":h[14]||(h[14]=y=>s.isShow=y),onOk:m,multiple:!0,"type-option":{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},"dep-list":s.depList,"user-list":s.userList,"prop-option":{name:"elementName",id:"elementId",type:"elementType",avatar:"avatar"},chooseType:["user"],onHandChild:c},null,8,["modelValue","show","dep-list","user-list"])])}}}),C4="",F_=oe(K(P_,[["__scopeId","data-v-f8cb3591"]])),$_={class:"ik-hor-step-content"},H_={class:"flex"},j_=["onClick"],U_=["id","onClick"],W_=i.defineComponent({__name:"IKHorizontalStepBar",props:{spaceNum:{type:String,default:"58px"},active:{type:Number,default:null},activeColor:{type:String,default:""},needClick:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},propsField:{type:Object,default:()=>({title:"title",value:"value"})}},emits:["click","update:active"],setup(t,{emit:e}){const n=t,o=e,r=i.ref(!1),l=i.ref(),a=i.ref(),s=i.ref(!1);i.watch(()=>n.active,g=>{let h=document.getElementById("stepItemContent"),b=document.getElementById(`stepItem${g}`),y=document.getElementById("stepItem0");const C=b&&y?(b==null?void 0:b.offsetLeft)-(y==null?void 0:y.offsetLeft):0;h&&b&&(h.scrollLeft=C>(h==null?void 0:h.clientWidth)?C-(h==null?void 0:h.offsetLeft):0)}),i.onMounted(()=>{i.nextTick(()=>{let h=document.getElementById("stepItemContent"),b=(h==null?void 0:h.scrollWidth)>(h==null?void 0:h.clientWidth);r.value=b,window.addEventListener("resize",g,!0)});const g=()=>{let h=document.getElementById("stepItemContent"),b=(h==null?void 0:h.scrollWidth)>(h==null?void 0:h.clientWidth);r.value=b}});const d=(g,h)=>{if(!n.needClick)return;o("update:active",h),o("click",g);let b=document.getElementById("stepItemContent"),y=document.getElementById(`stepItem${h}`),C=document.getElementById("stepItem0");const k=y&&C?(y==null?void 0:y.offsetLeft)-(C==null?void 0:C.offsetLeft):0;b&&y&&(b.scrollLeft=k>(b==null?void 0:b.clientWidth)?k-(b==null?void 0:b.offsetLeft):0)},f=()=>{let g=document.getElementById("stepItemContent");g&&(g.scrollLeft=g.scrollLeft-20)},u=()=>{let g=document.getElementById("stepItemContent");g&&(g.scrollLeft=g.scrollLeft+20)},m=()=>{clearInterval(a.value);let g=document.getElementById("stepItemContent");s.value=!1,a.value=setInterval(()=>{s.value=!0,g&&(g.scrollLeft=g.scrollLeft-20)},100)},p=()=>{clearInterval(a.value),s.value||f()},c=()=>{clearInterval(l.value);let g=document.getElementById("stepItemContent");s.value=!1,l.value=setInterval(()=>{s.value=!0,g&&(g.scrollLeft=g.scrollLeft+20)},100)},_=()=>{clearInterval(l.value),s.value||u()};return(g,h)=>{const b=i.resolveComponent("el-icon");return i.openBlock(),i.createElementBlock("div",$_,[i.createElementVNode("div",H_,[r.value?(i.openBlock(),i.createElementBlock("div",{key:0,class:"icon-left",onMousedown:m,onMouseup:p,onClick:f},[i.createVNode(b,{class:"operation-icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Sr),{size:"26px"})]),_:1})],32)):i.createCommentVNode("v-if",!0),i.createElementVNode("div",{class:"step-item-content",id:"stepItemContent",style:i.normalizeStyle({justifyContent:r.value?"flex-start":"center"})},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.list,(y,C)=>(i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(`step-item ${C<=t.active?"step-item-active":""}`),key:C},[C!=0?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(`step-border ${C<=t.active?"step-border-greater-than":""}`),style:i.normalizeStyle({width:`${t.spaceNum.indexOf("px")!=-1?t.spaceNum:`${t.spaceNum}px`}`})},null,6)):i.createCommentVNode("v-if",!0),i.createElementVNode("span",{class:i.normalizeClass(`step-num ${C===t.active?"step-num-active":C<t.active?"step-num-greater-than":""}`),onClick:k=>d(y,C),style:i.normalizeStyle({backgroundColor:C===t.active&&t.activeColor?t.activeColor:"",cursor:y&&y.disabled?"not-allowed":t.needClick?"pointer":"context-menu"})},[i.renderSlot(g.$slots,"icon",{data:{item:y,index:C}},()=>[i.createTextVNode(i.toDisplayString(C+1),1)],!0)],14,j_),i.createElementVNode("span",{id:`stepItem${C}`,class:i.normalizeClass(`step-label ${t.active===C?"step-label-active":C<t.active?"step-label-greater-than":""} step-item-${C}`),style:i.normalizeStyle({color:C===t.active&&t.activeColor?t.activeColor:"",cursor:y&&y.disabled?"not-allowed":t.needClick?"pointer":"context-menu"}),onClick:k=>d(y,C)},i.toDisplayString(y[t.propsField.title]),15,U_)],2))),128))],4),r.value?(i.openBlock(),i.createElementBlock("div",{key:1,class:"icon-right",onMousedown:c,onMouseup:_,onClick:u},[i.createVNode(b,{class:"operation-icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Ar))]),_:1})],32)):i.createCommentVNode("v-if",!0)])])}}}),v4="",G_=oe(K(W_,[["__scopeId","data-v-c8da17cd"]])),q_=typeof btoa=="function",Go=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Ps=typeof TextEncoder=="function"?new TextEncoder:void 0,Y_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",yn=Array.prototype.slice.call(Y_);(t=>{let e={};return t.forEach((n,o)=>e[n]=o),e})(yn);const ze=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const Q_=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),Fs=q_?t=>btoa(t):Go?t=>Buffer.from(t,"binary").toString("base64"):t=>{let e,n,o,r,l="";const a=t.length%3;for(let s=0;s<t.length;){if((n=t.charCodeAt(s++))>255||(o=t.charCodeAt(s++))>255||(r=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");e=n<<16|o<<8|r,l+=yn[e>>18&63]+yn[e>>12&63]+yn[e>>6&63]+yn[e&63]}return a?l.slice(0,a-3)+"===".substring(a):l},Z_=Go?t=>Buffer.from(t).toString("base64"):t=>{let n=[];for(let o=0,r=t.length;o<r;o+=4096)n.push(ze.apply(null,t.subarray(o,o+4096)));return Fs(n.join(""))},K_=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?ze(192|e>>>6)+ze(128|e&63):ze(224|e>>>12&15)+ze(128|e>>>6&63)+ze(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return ze(240|e>>>18&7)+ze(128|e>>>12&63)+ze(128|e>>>6&63)+ze(128|e&63)}},X_=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,J_=t=>t.replace(X_,K_),$s=Go?t=>Buffer.from(t,"utf8").toString("base64"):Ps?t=>Z_(Ps.encode(t)):t=>Fs(J_(t)),e6=(t,e=!1)=>e?Q_($s(t)):$s(t),t6=["src"],Hs=i.defineComponent({__name:"IKPreviewFile",props:{modelValue:{type:Boolean,default:!1},kkUrl:{required:!0,type:String,default:""},url:{required:!0,type:String,default:""},loadUrl:{type:String,default:""},fileName:{type:String,default:""}},setup(t){const e=t,n=i.ref(null),o=i.computed(()=>!e.kkUrl||!e.url?"":`${e.kkUrl}${encodeURIComponent(e6(`${e.loadUrl}${e.url}${e.fileName?`&fullfilename=${e.fileName}`:""}`))}`),r=i.ref(e.modelValue);return i.watch(()=>e.modelValue,l=>{r.value=l}),(l,a)=>(i.openBlock(),i.createBlock(i.unref(A.ElDialog),{fullscreen:"",modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=s=>r.value=s),"destroy-on-close":"","append-to-body":"","modal-class":"ik-file-preview-modal",onClose:a[1]||(a[1]=s=>l.$emit("update:modelValue",!1)),class:"ik-file-preview"},{default:i.withCtx(()=>[i.createElementVNode("iframe",{ref_key:"freamRef",ref:n,"cross-origin":"",src:o.value,frameborder:"0",allowfullscreen:"",seamless:""},null,8,t6)]),_:1},8,["modelValue"]))}}),D4="",n6=oe(Hs),i6={key:0,t:"1686300037564",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7515",width:"200",height:"200"},o6=[i.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#029EF7","p-id":"7516"},null,-1),i.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#64b5ed","p-id":"7517"},null,-1),i.createElementVNode("path",{d:"M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",fill:"#FFFFFF","p-id":"7518"},null,-1)],r6={key:1,t:"1686300059786",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7671",width:"200",height:"200"},l6=[i.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#50CD89","p-id":"7672"},null,-1),i.createElementVNode("path",{d:"M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",fill:"#FFF7F7","p-id":"7673"},null,-1),i.createElementVNode("path",{d:"M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",fill:"#FFFFFF","p-id":"7674"},null,-1),i.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#a9f6cc","p-id":"7675"},null,-1)],a6={key:2,t:"1686301531714",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9067",width:"200",height:"200"},s6=[i.createElementVNode("path",{d:"M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",fill:"#FFA621","p-id":"9068"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"9069"},null,-1)],c6={key:3,t:"1686300141125",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8137",width:"200",height:"200"},d6=[i.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",fill:"#F1416C","p-id":"8138"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8139"},null,-1)],u6={key:4,t:"1686300157181",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8292",width:"200",height:"200"},f6=[i.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",fill:"#029EF7","p-id":"8293"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8294"},null,-1)],p6={key:5,t:"1686300180947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8447",width:"200",height:"200"},h6=[i.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",fill:"#F1416C","p-id":"8448"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8449"},null,-1)],m6={key:6,t:"1686300195363",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8602",width:"200",height:"200"},g6=[i.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",fill:"#029EF7","p-id":"8603"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8604"},null,-1)],_6={key:7,t:"1686300209288",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8757",width:"200",height:"200"},y6=[i.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",fill:"#FFA621","p-id":"8758"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8759"},null,-1)],b6={key:8,t:"1686300225262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8912",width:"200",height:"200"},E6=[i.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",fill:"#FFA621","p-id":"8913"},null,-1),i.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8914"},null,-1)],w6={key:9,t:"1692251753690",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4336",width:"200",height:"200"},C6=[i.createElementVNode("path",{d:"M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",fill:"#00BD76","p-id":"4337"},null,-1),i.createElementVNode("path",{d:"M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",fill:"#FFFFFF",opacity:".9","p-id":"4338"},null,-1),i.createElementVNode("path",{d:"M640 0l320 320H768a128 128 0 0 1-128-128V0z",fill:"#19EA9C","p-id":"4339"},null,-1)],js=i.defineComponent({__name:"FileIcon",props:{type:{type:String,default:"unknow"}},setup(t){return(e,n)=>t.type==="unknow"?(i.openBlock(),i.createElementBlock("svg",i6,o6)):t.type==="image"?(i.openBlock(),i.createElementBlock("svg",r6,l6)):t.type==="zip"?(i.openBlock(),i.createElementBlock("svg",a6,s6)):t.type==="ppt"?(i.openBlock(),i.createElementBlock("svg",c6,d6)):t.type==="word"?(i.openBlock(),i.createElementBlock("svg",u6,f6)):t.type==="pdf"?(i.openBlock(),i.createElementBlock("svg",p6,h6)):t.type==="txt"?(i.openBlock(),i.createElementBlock("svg",m6,g6)):t.type==="audio"?(i.openBlock(),i.createElementBlock("svg",_6,y6)):t.type==="video"?(i.openBlock(),i.createElementBlock("svg",b6,E6)):t.type==="excal"?(i.openBlock(),i.createElementBlock("svg",w6,C6)):i.createCommentVNode("v-if",!0)}}),qo=t=>t%1===0?t.toString():t.toFixed(2),me=(t,e)=>{var r,l,a,s,d;const n=(r=t==null?void 0:t.response)!=null&&r.data?Us((a=(l=t==null?void 0:t.response)==null?void 0:l.data)==null?void 0:a.suffix):((s=t.raw)==null?void 0:s.type)||Us(t[e.suffix]),o=((d=t.raw)==null?void 0:d.name)||t[e.name];return n!=null&&n.includes("sheet")||n==="excal"?"excal":n!=null&&n.includes("zip")||n==="zip"||n==="application/x-compressed"?"zip":n!=null&&n.includes("image")||n==="image"?"image":n!=null&&n.includes("video")||n==="video"?"video":n!=null&&n.includes("audio")||n==="audio"?"audio":n!=null&&n.includes("pdf")||n==="pdf"?"pdf":n!=null&&n.includes("text")||n==="txt"?"txt":n!=null&&n.includes("word")||n==="word"?"word":o!=null&&o.includes("ppt")||n==="ppt"?"ppt":"unknow"},Us=t=>{const e=t==null?void 0:t.toLocaleLowerCase();switch(e!=null&&e.startsWith(".")?e:`.${e}`){case".doc":case".docx":case".docxf":case".docm":case".dot":case".dotm":case".dotx":case".epub":case".fodt":case".htm":case".html":case".mht":case".odt":case".ott":case".rtf":case".txt":case".djvu":case".oxps":case".oform":case".fb2":case".xml":case".xps":return"word";case".csv":case".xls":case".xlsx":case".fods":case".ods":case".ots":case".xlsb":case".xlsm":case".xlt":case".xltm":case".xltx":return"excal";case".fodp":case".odp":case".otp":case".pot":case".potm":case".potx":case".pps":case".ppsm":case".ppsx":case".ppt":case".pptm":case".pptx":return"ppt";case".zip":case".rar":case".7z":case".apz":case".ar":case".bz":case".car":case".dar":case".cpgz":case".f":case".ha":case".hbc":case".hbc2":case".hbe":case".hpk":case".hyp":return"zip";case".png":case".jpg":case".jpeg":case".bmp":case".gif":case".webp":case".psd":case".svg":case".tiff":return"image";case".avi":case".wmv":case".mpeg":case".mp4":case".mpm4v":case".mov":case".asf":case".flv":case".f4v":case".rmvb":case".rm":case".3gp":case".vob":return"video";case"audio":return"audio";case".txt":return"txt";case".pdf":return"pdf";case t:case"":return"unknow"}},k6={class:"ik-flie-list"},v6={class:"name"},S6={key:1},A6=["src"],D6={class:"file-icon"},x6={class:"file-name-loading"},N6={class:"file-name"},T6={key:0},V6={key:0,class:"file-size"},R6={class:"name"},I6={class:"file-name-loading"},B6={class:"file-name"},O6={class:"file-size"},M6={class:"operate-btn"},L6={class:"card"},z6={class:"title"},P6={class:"ik-flie-list"},F6={class:"name"},$6={key:1},H6=["src"],j6={class:"file-icon"},U6={class:"file-name-loading"},W6={class:"file-name"},G6={key:0},q6={key:0,class:"file-size"},Y6=i.defineComponent({__name:"index",props:{title:{type:String,default:"上传文件"},action:{type:String,default:""},type:{type:String,default:"button"},headers:{type:Object,default:()=>({})},loadUrl:{type:String,default:""},limit:{type:Number,default:1},size:{type:Number,default:50},accept:{type:String,default:"*"},multiple:{type:Boolean,default:!0},tip:{type:Boolean,default:!1},tipText:{type:String,default:""},limitText:{type:String,default:""},modelValue:{type:Array,default:()=>[]},defaultFileds:{type:Object,default:()=>({name:"name",url:"url",suffix:"suffix"})},preview:{type:Boolean,default:!1},customIconData:{type:Object,default:()=>({})},customIconFields:{type:Object,default:()=>({type:"type",icon:"icon"})},onlinePreviewUrl:{type:String,default:""}},emits:["delete","exceed","success","error","outSize"],setup(t,{emit:e}){const n=t,o=e,l={...{name:"name",url:"url",suffix:"suffix"},...n.defaultFileds},a=i.computed(()=>n.size),s=i.ref(null),d=i.ref(null),f=i.ref(n.modelValue);i.watch(()=>n.modelValue,D=>{f.value=D},{deep:!0});const u=i.ref([]),m=i.ref(!1),p=i.ref(!1),c=i.ref(null),_=(D,O)=>{f.value=z._.cloneDeep(O)},g=D=>{const O=D.size/1024/1024;if(!(O<a.value)){o("outSize"),A.ElMessage({message:`上传文件大小(${O.toFixed(4)}MB)超出允许最大值(${n.size}MB),请重新选择`,type:"warning",showClose:!0,duration:5e3});const L=f.value.findIndex(H=>H.uid===D.uid);return f.value.splice(L,1),!1}return!0},h=()=>!1,b=(D,O)=>{var V,L;D.status="ready",O!==void 0&&u.value.splice(O,1),(V=s.value)==null||V.handleStart(D.raw),(L=s.value)==null||L.submit()},y=(D,O)=>{var I,ee;const V=f.value.length,L=n.limit-V;let H=0;for(;H<L&&H<D.length;)(I=s.value)==null||I.handleStart(D[H]),(ee=s.value)==null||ee.submit(),H++;A.ElMessage({message:(n==null?void 0:n.limitText)||`最大可上传${n.limit}个文件,已忽略超出文件`,type:"warning",showClose:!0,duration:5e3}),o("exceed",D)},C=(D,O,V)=>{o("success",D,O,V)},k=(D,O,V)=>{u.value.push(O),o("error",D,O,V)},B=D=>{D&&me(D,l)==="video"||D&&me(D,l)==="image"?(c.value={...D,url:D[l.url].startsWith("http")?D[l.url]:`${n.loadUrl}${D[l.url]}`},p.value=!0):window.open(n.loadUrl+D[l.url])},S=D=>{z.ikFile.downloadByOnlineUrl(D[l.url],D[l.name])},x=(D,O=!1)=>{var V;(V=s.value)==null||V.abort(D)},w=D=>{var O;D.status!=="success"&&x(D),(O=s.value)==null||O.handleRemove(D),f.value=f.value.filter(V=>V.uid!==D.uid),o("delete",D)},N=(D,O)=>{u.value.splice(O,1)};return(D,O)=>{var L,H;const V=i.resolveComponent("el-image-viewer");return i.openBlock(),i.createElementBlock(i.Fragment,null,[t.preview?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[t.type==="button"?(i.openBlock(),i.createBlock(i.unref(A.ElUpload),i.mergeProps({key:0,"file-list":f.value,"onUpdate:fileList":O[0]||(O[0]=I=>f.value=I),class:"ik-file-upload"},D.$attrs,{accept:t.accept,action:t.action,ref_key:"refUpload",ref:s,"on-change":_,"before-upload":g,"before-remove":h,"on-exceed":y,multiple:t.multiple,headers:t.headers,limit:t.limit,"on-success":C,"on-error":k}),{trigger:i.withCtx(()=>[D.$slots.trigger?i.renderSlot(D.$slots,"trigger",{key:0},void 0,!0):(i.openBlock(),i.createBlock(i.unref(A.ElButton),{key:1,type:"primary",disabled:f.value.length===t.limit,icon:i.unref(qd)},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(t.title),1)]),_:1},8,["disabled","icon"]))]),file:i.withCtx(({file:I})=>[i.createElementVNode("div",k6,[i.createElementVNode("div",v6,[!D.$slots.fileIcon&&(!t.customIconData[i.unref(me)(I,l)]||!t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon])?(i.openBlock(),i.createBlock(js,{key:0,type:i.unref(me)(I,l)},null,8,["type"])):!D.$slots.fileIcon&&t.customIconData[i.unref(me)(I,l)]&&t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon]?(i.openBlock(),i.createElementBlock("div",S6,[t.customIconData[i.unref(me)(I,l)][t.customIconFields.type]==="img"?(i.openBlock(),i.createElementBlock("img",{key:0,src:t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon],alt:"",class:"file-img-icon"},null,8,A6)):(i.openBlock(),i.createElementBlock("span",{key:1,class:i.normalizeClass([t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon],"file-icon-size"])},null,2))])):i.createCommentVNode("v-if",!0),i.createElementVNode("div",D6,[i.renderSlot(D.$slots,"fileIcon",{file:I},void 0,!0)]),i.createElementVNode("div",x6,[i.createElementVNode("p",N6,[i.createTextVNode(i.toDisplayString(I[l.name]||I.name)+" ",1),I.percentage&&I.percentage!==100?(i.openBlock(),i.createElementBlock("span",T6,"("+i.toDisplayString(I.percentage)+"%)",1)):i.createCommentVNode("v-if",!0)]),I.percentage===100?(i.openBlock(),i.createElementBlock("p",V6,i.toDisplayString(i.unref(qo)(I.size/1024/1024))+"MB ",1)):i.createCommentVNode("v-if",!0),I.percentage&&I.percentage!==100?(i.openBlock(),i.createBlock(i.unref(A.ElProgress),{key:1,"text-inside":"",percentage:I.percentage,color:"var(--el-color-primary)","striped-flow":"",striped:"","show-text":!1},null,8,["percentage"])):i.createCommentVNode("v-if",!0)])]),t.preview?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[t.preview||I.percentage===100?(i.openBlock(),i.createBlock(i.unref(A.ElIcon),{key:0,title:"预览",class:"primary"},{default:i.withCtx(()=>[i.createVNode(i.unref(Ir),{onClick:ee=>B(I)},null,8,["onClick"])]),_:2},1024)):i.createCommentVNode("v-if",!0),i.createVNode(i.unref(A.ElIcon),{title:"下载",class:"primary"},{default:i.withCtx(()=>[i.createVNode(i.unref(Vi),{onClick:ee=>S(I)},null,8,["onClick"])]),_:2},1024)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[I.status==="success"?(i.openBlock(),i.createBlock(i.unref(A.ElIcon),{key:0,title:"删除",class:"error"},{default:i.withCtx(()=>[i.createVNode(i.unref(on),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024)):(i.openBlock(),i.createBlock(i.unref(A.ElIcon),{key:1,title:"取消上传"},{default:i.withCtx(()=>[i.createVNode(i.unref(xr),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024))],64))])]),default:i.withCtx(()=>{var I;return[!t.preview&&t.tip?(i.openBlock(),i.createBlock(i.unref(A.ElTooltip),{key:0,effect:"dark",content:n.tipText||"","popper-class":"_ik_web_ui_file-help-tooltip"},{default:i.withCtx(()=>[i.createVNode(i.unref(A.ElIcon),{size:23,class:"_ik_web_ui_file_help_icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Fd))]),_:1})]),_:1},8,["content"])):i.createCommentVNode("v-if",!0),(I=u.value)!=null&&I.length?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:1},i.renderList(u.value,(ee,ke)=>(i.openBlock(),i.createElementBlock("div",{class:"ik-error-flie-list",key:ee.uid},[i.createElementVNode("div",R6,[i.createVNode(i.unref(A.ElIcon),{size:32,class:"info",style:{"vertical-align":"middle"}},{default:i.withCtx(()=>[i.createVNode(i.unref(Xd))]),_:1}),i.createElementVNode("div",I6,[i.createElementVNode("p",B6,i.toDisplayString(ee[l.name]||ee.name),1),i.createElementVNode("p",O6,i.toDisplayString(i.unref(qo)(ee.size/1024/1024))+"MB ",1)])]),i.withDirectives(i.createElementVNode("div",M6,[i.createVNode(i.unref(A.ElIcon),{style:{"vertical-align":"middle"},onClick:Ot=>b(ee,ke),title:"重新上传",class:"primary"},{default:i.withCtx(()=>[i.createVNode(i.unref(Ri))]),_:2},1032,["onClick"]),i.createVNode(i.unref(A.ElIcon),{class:"error",onClick:Ot=>N(ee,ke),title:"删除"},{default:i.withCtx(()=>[i.createVNode(i.unref(on))]),_:2},1032,["onClick"])],512),[[i.vShow,(ee==null?void 0:ee.status)==="fail"]])]))),128)):i.createCommentVNode("v-if",!0)]}),_:3},16,["file-list","accept","action","multiple","headers","limit"])):(i.openBlock(),i.createBlock(i.unref(A.ElUpload),i.mergeProps({key:1,"file-list":f.value,"onUpdate:fileList":O[1]||(O[1]=I=>f.value=I),class:"ik-file-pload-card"},D.$attrs,{accept:t.accept,action:t.action,ref_key:"refUpload",ref:s,"on-change":_,"before-upload":g,"before-remove":h,"on-exceed":y,multiple:t.multiple,headers:t.headers,limit:t.limit,"on-success":C,"on-error":k}),{file:i.withCtx(({file:I})=>[i.createElementVNode("div",P6,[i.createElementVNode("div",F6,[!D.$slots.fileIcon&&(!t.customIconData[i.unref(me)(I,l)]||!t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon])?(i.openBlock(),i.createBlock(js,{key:0,type:i.unref(me)(I,l)},null,8,["type"])):!D.$slots.fileIcon&&t.customIconData[i.unref(me)(I,l)]&&t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon]?(i.openBlock(),i.createElementBlock("div",$6,[t.customIconData[i.unref(me)(I,l)][t.customIconFields.type]==="img"?(i.openBlock(),i.createElementBlock("img",{key:0,src:t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon],alt:"",class:"file-img-icon"},null,8,H6)):(i.openBlock(),i.createElementBlock("span",{key:1,class:i.normalizeClass([t.customIconData[i.unref(me)(I,l)][t.customIconFields.icon],"file-icon-size"])},null,2))])):i.createCommentVNode("v-if",!0),i.createElementVNode("div",j6,[i.renderSlot(D.$slots,"fileIcon",{file:I},void 0,!0)]),i.createElementVNode("div",U6,[i.createElementVNode("p",W6,[i.createTextVNode(i.toDisplayString(I[l.name]||I.name)+" ",1),I.percentage&&I.percentage!==100?(i.openBlock(),i.createElementBlock("span",G6,"("+i.toDisplayString(I.percentage)+"%)",1)):i.createCommentVNode("v-if",!0)]),I.percentage===100?(i.openBlock(),i.createElementBlock("p",q6,i.toDisplayString(i.unref(qo)(I.size/1024/1024))+"MB ",1)):i.createCommentVNode("v-if",!0),I.percentage&&I.percentage!==100?(i.openBlock(),i.createBlock(i.unref(A.ElProgress),{key:1,"text-inside":"",percentage:I.percentage,color:"var(--el-color-primary)","striped-flow":"",striped:"","show-text":!1},null,8,["percentage"])):i.createCommentVNode("v-if",!0)])]),t.preview?(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[t.preview||I.percentage===100?(i.openBlock(),i.createBlock(i.unref(A.ElIcon),{key:0,title:"预览",class:"primary"},{default:i.withCtx(()=>[i.createVNode(i.unref(Ir),{onClick:ee=>B(I)},null,8,["onClick"])]),_:2},1024)):i.createCommentVNode("v-if",!0),i.createVNode(i.unref(A.ElIcon),{title:"下载",class:"primary"},{default:i.withCtx(()=>[i.createVNode(i.unref(Vi),{onClick:ee=>S(I)},null,8,["onClick"])]),_:2},1024)],64)):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[I.status==="success"?(i.openBlock(),i.createBlock(i.unref(A.ElIcon),{key:0,title:"删除",class:"error"},{default:i.withCtx(()=>[i.createVNode(i.unref(on),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024)):(i.openBlock(),i.createBlock(i.unref(A.ElIcon),{key:1,title:"取消上传"},{default:i.withCtx(()=>[i.createVNode(i.unref(xr),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024))],64))])]),default:i.withCtx(()=>[i.createElementVNode("div",L6,[i.createElementVNode("div",z6,[i.createVNode(i.unref(fe),{name:"iksvg_yidong",bg:"",size:40}),i.createElementVNode("span",null,i.toDisplayString(t.title),1)]),i.createVNode(i.unref(fe),{name:"iksvg_daoru",bg:"",size:40,padding:"8px"})])]),_:3},16,["file-list","accept","action","multiple","headers","limit"]))],64)),i.createVNode(Hs,{visible:m.value,"onUpdate:visible":O[2]||(O[2]=I=>m.value=I),file:c.value,fileType:c.value&&i.unref(me)(c.value,l),defaultFields:l},null,8,["visible","file","fileType"]),(L=c.value)!=null&&L.url&&p.value?(i.openBlock(),i.createBlock(V,{key:1,onClose:O[3]||(O[3]=I=>(c.value=null,p.value=!1)),ref_key:"previewImgRef",ref:d,"url-list":[(H=c.value)==null?void 0:H.url]},null,8,["url-list"])):i.createCommentVNode("v-if",!0)],64)}}}),X4="",J4="",Q6=oe(K(Y6,[["__scopeId","data-v-1a531f1e"]])),Z6={},K6={t:"1686214149488",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8490",width:"200",height:"200"},X6=[i.createElementVNode("path",{d:"M369.569592 512.011256c0-14.328333-11.010775-25.945929-24.591071-25.945929L86.980515 486.065328c-13.580297 0-24.591071 11.618619-24.591071 25.945929 0 14.33038 11.010775 25.947975 24.591071 25.947975l257.998005 0C358.55984 537.959232 369.569592 526.341636 369.569592 512.011256z","p-id":"8491"},null,-1),i.createElementVNode("path",{d:"M937.019485 486.064304 679.020456 486.064304c-13.580297 0-24.591071 11.618619-24.591071 25.945929 0 14.33038 11.010775 25.947975 24.591071 25.947975l257.999029 0c13.580297 0 24.590048-11.618619 24.590048-25.947975C961.609533 497.682923 950.598758 486.064304 937.019485 486.064304z","p-id":"8492"},null,-1),i.createElementVNode("path",{d:"M512.011768 62.389956c-13.580297 0-24.590048 11.618619-24.590048 25.945929l0 257.170151c0 14.329357 11.010775 25.946952 24.590048 25.946952s24.591071-11.618619 24.591071-25.946952L536.602839 88.335884C536.602839 74.008574 525.591041 62.389956 512.011768 62.389956z","p-id":"8493"},null,-1),i.createElementVNode("path",{d:"M512.011768 652.544967c-13.580297 0-24.590048 11.618619-24.590048 25.946952l0 257.169127c0 14.33038 11.010775 25.947975 24.590048 25.947975s24.591071-11.618619 24.591071-25.947975L536.602839 678.491918C536.602839 664.162562 525.591041 652.544967 512.011768 652.544967z","p-id":"8494"},null,-1),i.createElementVNode("path",{d:"M377.001865 413.125085c4.744048 4.737908 10.818393 7.082302 16.882506 7.082302 6.519484 0 13.039991-2.724041 17.879206-8.134261 9.317203-10.414187 8.885368-26.834158-0.9967-36.678364L228.341057 193.559391c-9.832949-9.830903-25.406646-9.388834-34.760688 1.050935-9.317203 10.414187-8.885368 26.834158 0.9967 36.678364L377.001865 413.125085z","p-id":"8495"},null,-1),i.createElementVNode("path",{d:"M646.997112 610.873892c-9.846252-9.831926-25.419949-9.388834-34.761712 1.051959-9.317203 10.414187-8.885368 26.834158 0.997724 36.678364l182.41354 181.834348c4.743024 4.738931 10.818393 7.083326 16.881482 7.083326 6.520507 0 13.039991-2.723018 17.879206-8.134261 9.317203-10.41521 8.886391-26.834158-0.9967-36.678364L646.997112 610.873892z","p-id":"8496"},null,-1),i.createElementVNode("path",{d:"M630.114606 420.207387c6.064113 0 12.139481-2.344395 16.882506-7.082302l182.425819-181.836395c9.882068-9.844206 10.313903-26.264177 0.9967-36.678364-9.341762-10.43977-24.915459-10.882861-34.760688-1.050935L613.233124 375.394762c-9.882068 9.844206-10.314926 26.264177-0.997724 36.678364C617.074615 417.483346 623.595123 420.207387 630.114606 420.207387z","p-id":"8497"},null,-1),i.createElementVNode("path",{d:"M377.025401 610.873892 194.600605 792.710286c-9.881045 9.844206-10.313903 26.263154-0.9967 36.678364 4.839215 5.411243 11.358699 8.134261 17.879206 8.134261 6.064113 0 12.138458-2.344395 16.881482-7.083326l182.425819-181.834348c9.881045-9.844206 10.313903-26.264177 0.9967-36.678364C402.469909 601.485057 386.872676 601.041966 377.025401 610.873892z","p-id":"8498"},null,-1)];function J6(t,e){return i.openBlock(),i.createElementBlock("svg",K6,X6)}const e1=K(Z6,[["render",J6]]),Ws=t=>(i.pushScopeId("data-v-b6b97c2a"),t=t(),i.popScopeId(),t),t1={key:1,class:"upload-btn"},n1={class:"tip"},i1={class:"loading-statu"},o1={class:"operate-btn"},r1={key:0},l1={class:"el-upload-list el-upload-list--picture-card",style:{float:"left"}},a1=["onClick"],s1=Ws(()=>i.createElementVNode("span",{class:"error"},"上传错误",-1)),c1=Ws(()=>i.createElementVNode("p",null,"点击重新上传",-1)),d1=["src"],u1={class:"demo-image__preview"},f1=i.defineComponent({__name:"index",props:{title:{type:String,default:"上传图片"},loadUrl:{type:String,default:""},action:{type:String,default:""},limit:{type:Number,default:5},size:{type:Number,default:50},accept:{type:String,default:"image/*"},fit:{type:String,default:"contain"},preview:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0},tip:{type:Boolean,default:!1},tipText:{type:String,default:""},modelValue:{type:Array,default:()=>[]}},emits:["delete","success"],setup(t,{emit:e}){const n=t;i.watch(()=>n.modelValue,x=>{a.value=x.map(w=>{var N;return{...w,__url:(N=w.url)!=null&&N.startsWith("http")?w.url:`${n.loadUrl}${w.url}`}})},{deep:!0});const o=e,r=i.computed(()=>n.size),l=i.ref(null),a=i.ref(n.modelValue.map(x=>{var w;return{...x,__url:(w=x.url)!=null&&w.startsWith("http")?x.url:`${n.loadUrl}${x.url}`}})),s=i.ref([]),d=i.ref(!1),f=i.ref(0),u=i.computed(()=>n.tipText||`最多可上传${n.limit}张图片, 每张图片不能超过${n.size}MB`),m=(x,w)=>{a.value=z._.cloneDeep(w.map(N=>{var D,O;return{...N,__url:(D=N.url)!=null&&D.startsWith("http")||(O=N.url)!=null&&O.startsWith("blob:")?N.url:`${n.loadUrl}${N.url}`}})),console.log("fileList.value: ",a.value)},p=x=>!(!(x.type==="image/jpeg"||x.type==="image/png")||!(x.size/1024/1024<r.value)),c=()=>!1,_=(x,w)=>{var N,D;x.status="ready",w!==void 0&&s.value.splice(w,1),(N=l.value)==null||N.handleStart(x.raw),(D=l.value)==null||D.submit()},g=(x,w)=>{var V,L;const N=a.value.length,D=n.limit-N;let O=0;for(;O<D&&O<x.length;)(V=l.value)==null||V.handleStart(x[O]),(L=l.value)==null||L.submit(),O++},h=(x,w,N)=>{o("success",x,w,N)},b=(x,w,N)=>{s.value.push({...w,__url:w.url})},y=x=>{d.value=!0,f.value=a.value.findIndex(w=>w.url===x.url)},C=x=>{z.ikFile.downloadByOnlineUrl(x.__url||x.url,x.name)},k=x=>{var w;(w=l.value)==null||w.abort(x)},B=x=>{var w;x.status!=="success"&&k(x),(w=l.value)==null||w.handleRemove(x),a.value=a.value.filter(N=>N.uid!==x.uid),o("delete",x)},S=(x,w)=>{s.value.splice(w,1)};return(x,w)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createVNode(i.unref(A.ElUpload),{class:i.normalizeClass(["ik-image-upload",{preview:t.preview}]),ref_key:"refUpload",ref:l,"list-type":"picture-card",accept:t.accept,action:t.action,"file-list":a.value,"onUpdate:fileList":w[0]||(w[0]=N=>a.value=N),multiple:t.multiple,limit:t.limit,"on-change":m,"before-upload":p,"before-remove":c,"on-exceed":g,"on-success":h,"on-error":b,drag:""},i.createSlots({trigger:i.withCtx(()=>[x.$slots.trigger?i.renderSlot(x.$slots,"trigger",{key:0},void 0,!0):(i.openBlock(),i.createElementBlock("div",t1,[i.createVNode(i.unref(A.ElIcon),null,{default:i.withCtx(()=>[i.createVNode(i.unref(zd))]),_:1}),i.createElementVNode("span",null,i.toDisplayString(t.title),1)]))]),file:i.withCtx(({file:N})=>[i.createElementVNode("div",{class:i.normalizeClass(["load-list",{loading:N.status==="uploading"}]),"element-loading-background":"var(--ik-upload-bg)"},[i.withDirectives(i.createElementVNode("div",i1,[i.createVNode(e1),i.createTextVNode(" 上传"+i.toDisplayString(N.percentage)+"% ",1)],512),[[i.vShow,N.status==="uploading"]]),i.createCommentVNode(` <img :src="file.url" alt="" :style="{ 'object-fit': fit }" /> `),i.createVNode(i.unref(A.ElImage),{style:{width:"100%",height:"100%"},src:N.__url||N.url,"zoom-rate":1.2,"initial-index":0,fit:"contain"},null,8,["src"]),i.createElementVNode("span",o1,[i.createElementVNode("span",null,[i.createVNode(i.unref(A.ElIcon),{onClick:D=>y(N)},{default:i.withCtx(()=>[i.createVNode(i.unref(eu))]),_:2},1032,["onClick"])]),i.createElementVNode("span",null,[i.createVNode(i.unref(A.ElIcon),{onClick:D=>C(N)},{default:i.withCtx(()=>[i.createVNode(i.unref(Vi))]),_:2},1032,["onClick"])]),t.preview?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createElementBlock("span",r1,[i.createVNode(i.unref(A.ElIcon),{onClick:D=>B(N)},{default:i.withCtx(()=>[i.createVNode(i.unref(on))]),_:2},1032,["onClick"])]))])],2)]),default:i.withCtx(()=>[i.createElementVNode("ul",l1,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(s.value,(N,D)=>(i.openBlock(),i.createElementBlock("li",{class:"el-upload-list__item",key:N.uid},[i.createElementVNode("span",null,[i.createVNode(i.unref(A.ElIcon),{onClick:O=>S(N,D)},{default:i.withCtx(()=>[i.createVNode(i.unref(Tr))]),_:2},1032,["onClick"])]),i.createElementVNode("div",{class:i.normalizeClass(["load-list",{loading:N.status==="uploading",fail:N.status==="fail"}]),"element-loading-background":"var(--ik-upload-bg)"},[i.withDirectives(i.createElementVNode("div",{class:"loading-statu",onClick:O=>_(N,D)},[i.createVNode(i.unref(A.ElIcon),{size:24},{default:i.withCtx(()=>[i.createVNode(i.unref(Ri))]),_:1}),s1,c1],8,a1),[[i.vShow,N.status==="fail"]]),i.createElementVNode("img",{src:N.__url,alt:"",style:i.normalizeStyle({"object-fit":t.fit})},null,12,d1)],2)]))),128))])]),_:2},[t.tip?{name:"tip",fn:i.withCtx(()=>[i.createElementVNode("span",n1,i.toDisplayString(u.value),1)]),key:"0"}:void 0]),1032,["class","accept","action","file-list","multiple","limit"]),i.createCommentVNode(" 文件预览 "),i.createElementVNode("div",u1,[d.value?(i.openBlock(),i.createBlock(i.unref(A.ElImageViewer),{key:0,"hide-on-click-modal":"",onClose:w[1]||(w[1]=()=>{d.value=!1}),"url-list":a.value.map(N=>N.__url),"initial-index":f.value},null,8,["url-list","initial-index"])):i.createCommentVNode("v-if",!0)])],64))}}),cw="",p1=oe(K(f1,[["__scopeId","data-v-b6b97c2a"]])),h1=["src"],m1={name:"IkPrintConfig"},g1=i.defineComponent({...m1,props:{id:{},srcPrefix:{default:""},token:{}},emits:["created"],setup(t,{emit:e}){const n=t,o=e,r=i.computed(()=>!!n.id),l=i.reactive({currentId:n.id,loading:!0,src:""}),a=async()=>{fetch(`${n.srcPrefix??""}/jmreport/save`,{method:"POST",body:JSON.stringify({}),headers:{"Content-Type":"application/json",Authorization:n.token??""}}).then(d=>d.json()).then(({code:d,result:f})=>{if(d===200){const u=f.id;l.currentId=u,l.src=`${n.srcPrefix??""}/jmreport/index/${l.currentId}?token=${n.token}&menuType=printinfo`,o("created",l.currentId)}}).catch(d=>{console.error(d)})},s=()=>{if(!r.value){a();return}l.src=`${n.srcPrefix??""}/jmreport/index/${l.currentId}?token=${n.token}`};return i.onMounted(()=>{s()}),(d,f)=>l.src?(i.openBlock(),i.createElementBlock("iframe",{key:0,width:"100%",height:"100%",src:l.src,frameborder:"0"},null,8,h1)):i.createCommentVNode("v-if",!0)}}),_1=oe(g1),y1=["src"],b1={name:"IkPrintView"},E1=i.defineComponent({...b1,props:{modelValue:{type:Boolean,default:!1},templateId:{},dataId:{},srcPrefix:{default:""},token:{},idKey:{default:"id"},width:{default:"100%"},height:{default:"calc(100vh - 186px)"}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,r=i.computed({get:()=>n.modelValue,set:s=>{o("update:modelValue",s)}}),l=i.reactive({src:"",showIframe:!1}),a=()=>{l.showIframe=!1,l.src=`${n.srcPrefix}/jmreport/view/${n.templateId}?token=${n.token??""}&${n.idKey}=${n.dataId}`,setTimeout(()=>{l.showIframe=!0},300)};return i.watch(()=>r.value,s=>{s&&a()}),i.onMounted(()=>{r.value&&a()}),(s,d)=>{const f=i.resolveComponent("el-dialog");return i.openBlock(),i.createBlock(f,{modelValue:r.value,"onUpdate:modelValue":d[0]||(d[0]=u=>r.value=u),fullscreen:"",title:"预览"},{default:i.withCtx(()=>[i.createElementVNode("div",{style:i.normalizeStyle({width:n.width,height:n.height})},[l.showIframe?(i.openBlock(),i.createElementBlock("iframe",{key:0,width:"100%",height:"100%",src:l.src,frameborder:"0"},null,8,y1)):i.createCommentVNode("v-if",!0)],4)]),_:1},8,["modelValue"])}}}),w1=oe(E1),C1={class:"ik-full-calendar"},k1=["onClick"],v1={key:0,class:"event-title allday"},S1={key:0,class:"event-title-time"},A1={key:1,class:"event-title no-allday"},D1={class:"event-title-time"},x1={class:"event-title-text"},N1={name:"IkFullCalendar"},T1=i.defineComponent({...N1,props:{options:{default:{}},removable:{type:Boolean,default:!0},modelValue:{default:[]},tooltipFieldName:{default:"remark"}},emits:["added","deleted","update:modelValue","eventClick","deleteClick","dateSelect"],setup(t,{expose:e,emit:n}){const o=t,r=i.computed({get:()=>o.modelValue,set:y=>l("update:modelValue",y)}),l=n,a=i.ref(null),s=y=>{},d=i.ref("dayGridMonth"),f=y=>{l("dateSelect",y)},u=y=>{l("eventClick",y)},m=y=>{l("deleteClick",y)},p=()=>({locale:Mr,plugins:[ks,zs,Vs],headerToolbar:{left:"dayGridMonth,timeGridWeek,timeGridDay prev,today,next",center:"title",right:""},firstDay:1,initialView:"dayGridMonth",weekends:!0,editable:!0,selectable:!0,selectMirror:!0,dateClick:s,select:f,...o.options,events:r.value}),c=i.reactive({timeType:"month",options:p()}),_=i.ref(null),g=()=>{var y;c.options=p(),(y=a.value)==null||y.buildOptions(c.options)};e({...{prev:()=>{var y;(y=_.value)==null||y.prev()},next:()=>{var y;(y=_.value)==null||y.next()},today:()=>{var y;(y=_.value)==null||y.today()},changeView:y=>{var C;(C=_.value)==null||C.changeView(y),d.value=y},getDate:()=>{var y;return(y=_.value)==null?void 0:y.getDate()},getView:()=>{var y;return(y=_.value)==null?void 0:y.view},unselect:()=>{var y;return(y=_.value)==null?void 0:y.unselect()}}}),i.watch(()=>r.value,()=>{g()});const b=()=>{var y;_.value=(y=a.value)==null?void 0:y.getApi()};return i.onMounted(()=>{b()}),(y,C)=>{const k=i.resolveComponent("el-tooltip"),B=i.resolveComponent("el-icon");return i.openBlock(),i.createElementBlock("div",C1,[i.createVNode(i.unref(ps),{ref_key:"_ref",ref:a,options:c.options,style:{height:"100%"}},{eventContent:i.withCtx(S=>[i.createElementVNode("div",{class:"title-line",onClick:x=>u(S)},[i.createVNode(k,null,{content:i.withCtx(()=>{var x,w;return[i.createCommentVNode(" {{arg}} "),i.createTextVNode(" "+i.toDisplayString((w=(x=S.event)==null?void 0:x.extendedProps)==null?void 0:w[o.tooltipFieldName]),1)]}),default:i.withCtx(()=>[S.event.allDay?(i.openBlock(),i.createElementBlock("span",v1,[d.value==="dayGridMonth"?(i.openBlock(),i.createElementBlock("span",S1,i.toDisplayString("(全天)"))):i.createCommentVNode("v-if",!0),i.createElementVNode("span",null,i.toDisplayString(S.event.title),1)])):(i.openBlock(),i.createElementBlock("span",A1,[i.createElementVNode("span",D1,i.toDisplayString(i.unref(z.ikDate).toDateTime(S.event.startStr,"HH:mm")),1),i.createElementVNode("span",x1,i.toDisplayString(S.event.title),1)]))]),_:2},1024),o.removable?(i.openBlock(),i.createBlock(B,{key:0,size:16,onClick:i.withModifiers(x=>m(S),["stop"])},{default:i.withCtx(()=>[i.createVNode(i.unref(Vr))]),_:2},1032,["onClick"])):i.createCommentVNode("v-if",!0)],8,k1)]),_:1},8,["options"])])}}}),uw="",V1=K(T1,[["__scopeId","data-v-f0925ff8"]]);class R1{constructor(){Pt(this,"id",new Date().getTime());Pt(this,"title","");Pt(this,"start","");Pt(this,"end","");Pt(this,"allDay",!1);Pt(this,"extendedProps",{})}}const Gs=oe(V1),I1={class:"inline-block ik-svg-icon ik-icon line-height-[0] inline-flex justify-center"},B1={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},O1=["xlink:href"],M1=["src"],L1={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},z1=["xlink:href"],P1=["src"],fe=oe(i.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},opacity:{default:.5},size:{default:""},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"0"},warning:{type:Boolean},notip:{type:Boolean,default:!1},title:{}},setup(t){const e=t,n=i.computed(()=>{var r;return/^http?:\/\//.test(e.name)?"img":/i-[^:]+:[^:]+/.test(e.name)?"unocss":e.name.startsWith("iksig")?"iksig":(r=e.name)!=null&&r.includes(":")?"iconify":"svg"}),o=i.computed(()=>{const r=[];if(e.flip)switch(e.flip){case"horizontal":r.push("rotateY(180deg)");break;case"vertical":r.push("rotateX(180deg)");break;case"both":r.push("rotateX(180deg)"),r.push("rotateY(180deg)");break}return e.rotate&&r.push(`rotate(${e.rotate%360}deg)`),{...e.color&&{color:e.color},...e.size&&{fontSize:typeof e.size=="number"?`${e.size}px`:e.size},...r.length&&{transform:r.join(" ")},padding:e.padding,...e.color&&n.value!=="iksig"?{"--ik-color-icon-dark":e.color,"--ik-color-icon-light":z.ikColor.setOpacity(e.color,e.opacity||.4)}:{}}});return(r,l)=>{const a=i.resolveComponent("el-tooltip");return i.openBlock(),i.createElementBlock("span",I1,[r.notip||!r.title?(i.openBlock(),i.createElementBlock("i",{key:0,class:i.normalizeClass(["relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em] transition",{[r.name]:n.value==="unocss","show-bg":r.showBg||r.bg,default:r.size==="default",small:r.size==="small",big:r.size==="big",warning:r.warning}]),style:i.normalizeStyle(o.value)},[n.value==="iksig"?(i.openBlock(),i.createElementBlock("i",{key:0,class:i.normalizeClass(`iksig ${r.name}`),style:i.normalizeStyle(o.value)},null,6)):n.value==="svg"?(i.openBlock(),i.createElementBlock("svg",B1,[i.createElementVNode("use",{"xlink:href":`#${r.name}`},null,8,O1)])):n.value==="img"?(i.openBlock(),i.createElementBlock("img",{key:2,src:r.name,class:"h-[1em] w-[1em]"},null,8,M1)):i.createCommentVNode("v-if",!0)],6)):(i.openBlock(),i.createBlock(a,{key:1,content:r.title},{default:i.withCtx(()=>[i.createElementVNode("i",{class:i.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em] transition",{[r.name]:n.value==="unocss","show-bg":r.showBg||r.bg,default:r.size==="default",small:r.size==="small",big:r.size==="big",warning:r.warning}]),style:i.normalizeStyle(o.value)},[n.value==="iksig"?(i.openBlock(),i.createElementBlock("i",{key:0,class:i.normalizeClass(`iksig ${r.name}`),style:i.normalizeStyle(o.value)},null,6)):n.value==="svg"?(i.openBlock(),i.createElementBlock("svg",L1,[i.createElementVNode("use",{"xlink:href":`#${r.name}`},null,8,z1)])):n.value==="img"?(i.openBlock(),i.createElementBlock("img",{key:2,src:r.name,class:"h-[1em] w-[1em]"},null,8,P1)):i.createCommentVNode("v-if",!0)],6)]),_:1},8,["content"]))])}}})),Yo=t=>(i.pushScopeId("data-v-e308f501"),t=t(),i.popScopeId(),t),F1={class:"ik-schedule"},$1={class:"ik-schedule__left"},H1={class:"ik-schedule__header"},j1={class:"ik-schedule__title"},U1=Yo(()=>i.createElementVNode("div",{class:"ik-schedule__header-right"},null,-1)),W1={class:"ik-schedule__body"},G1={style:{"font-size":"18px"}},q1={key:0},Y1={style:{width:"90%",display:"flex","align-items":"center","justify-content":"space-between"}},Q1={key:0,style:{"margin-left":"2%"}},Z1=Yo(()=>i.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),K1={key:1},X1=Yo(()=>i.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),J1={class:"dialog-footer"},ey={name:"IkSchedule"},ty=i.defineComponent({...ey,props:{modelValue:{default:[]},options:{default:{initialView:"dayGridMonth"}},editVisible:{type:Boolean},removable:{type:Boolean,default:!0}},emits:["update:modelValue","added","updated","deleted","editOpen","submit","update:editVisible","submitAdd","submitUpdate","submitDelete"],setup(t,{expose:e,emit:n}){var x;const o=t,r=n,l=!!i.useSlots().form,a=i.computed({get:()=>o.modelValue,set:w=>{r("update:modelValue",w)}}),s=i.computed(()=>({...o.options,headerToolbar:!1})),d=i.reactive({currentView:(x=o.options)==null?void 0:x.initialView,viewTitle:"",rightLabel:"今日",timeType:"month",currentDate:null}),f=i.ref(null),u=w=>{var N;(N=f.value)==null||N.changeView(w),d.currentView=w,m()},m=()=>{var N;const w=(N=f.value)==null?void 0:N.getView();d.viewTitle=w==null?void 0:w.title},p=()=>{var w;(w=f.value)==null||w.prev(),m()},c=()=>{var w;(w=f.value)==null||w.next(),m()},_=()=>{var w;(w=f.value)==null||w.today(),m()},g=w=>d.currentView===w,h=i.ref(null),b={createDefaultForm:()=>({title:"",allDay:!1,type:1,startDate:"",endDate:"",startTime:"",endTime:"",location:"",remark:""}),close:()=>{C.value=!1},customSubmit:w=>{var D,O;let N={...w,id:void 0,allDay:y.form.allDay,start:(D=y.selectInfo)==null?void 0:D.startStr,end:(O=y.selectInfo)==null?void 0:O.endStr};b.operation(N),b.close()},operation:w=>{var N;y.operation==="add"?r("submitAdd",w):(w.id=(N=y.editEvent)==null?void 0:N.id,r("submitUpdate",w))},submit:async()=>{var N,D;if(l){r("submit");return}if(!y.form.title){A.ElMessage.info("标题不能为空");return}if(!y.form.allDay&&(!y.form.startTime||!y.form.endTime)){A.ElMessage.info("时间不能为空");return}let w={id:void 0,title:y.form.title,allDay:y.form.allDay,start:(N=y.selectInfo)==null?void 0:N.startStr,end:(D=y.selectInfo)==null?void 0:D.endStr,extendedProps:{...y.form}};if(w.allDay)w.start=z.ikDate.toDate(y.form.startDate),w.end=z.ikDate.toDate(y.form.endDate);else{const O=z.ikDate.toDate(y.form.startDate),V=z.ikDate.toDateTime(y.form.startTime).substring(10),L=z.ikDate.toDateTime(y.form.endTime).substring(10);w.start=`${O}${V}`,w.end=`${O}${L}`,w.extendedProps.startTime=w.start,w.extendedProps.endTime=w.end}b.operation(w),b.close()},reset:()=>{var w;y.form=b.createDefaultForm(),(w=h.value)==null||w.clearValidate()},edit:()=>{y.editable=!0,y.title="编辑日程"},cancelEdit:()=>{y.editable=!1,y.title="日程信息"},del:()=>{S(y.clickInfo)}},y=i.reactive({operation:"update",selectInfo:{},editEvent:void 0,title:"",visible:!1,allDay:!1,form:b.createDefaultForm(),editable:!1,clickInfo:null}),C=i.computed({get:()=>y.visible,set:w=>{y.visible=w}}),k=w=>{var N;if(y.form.allDay=w.allDay,y.selectInfo=w,b.reset(),w.view.type=="dayGridMonth"){let D=w.end.getTime()-864e5;d.timeType="month",y.form.startDate=z.ikDate.toYMD(w.start),y.form.endDate=z.ikDate.toYMD(new Date(D)),y.form.allDay=!0}else w.view.type=="timeGridWeek"?d.timeType="week":w.view.type=="timeGridDay"&&(d.timeType="day"),y.form.startDate=z.ikDate.toYMD(w.start),y.form.endDate=z.ikDate.toYMD(w.start),y.form.startTime=z.ikDate.toDateTime(w.start),y.form.endTime=z.ikDate.toDateTime(w.end);(N=f.value)==null||N.unselect(),i.nextTick(()=>{y.title="新建日程",y.operation="add",y.editable=!0,C.value=!0,r("editOpen",JSON.parse(JSON.stringify(y)))})},B=w=>{y.title="日程信息",y.operation="update",y.clickInfo=w,y.editEvent=w.event;debugger;y.editEvent.allDay?(y.form.startDate=y.editEvent.startStr,y.form.endDate=y.editEvent.startStr):(y.form.startDate=y.editEvent.startStr,y.form.startTime=y.editEvent.start,y.form.endTime=y.editEvent.end),y.form.title=y.editEvent.title,y.form.allDay=y.editEvent.allDay,gd.copyValue(y.form,y.editEvent.extendedProps),b.cancelEdit(),C.value=!0,r("editOpen",JSON.parse(JSON.stringify(y)))},S=w=>{A.ElMessageBox.confirm(`你确定删除事件 ${w.event.title} ?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{b.close(),r("submitDelete",w.event.id)})};return e({customSubmit:w=>b.customSubmit(w)}),i.onMounted(()=>{m()}),(w,N)=>{const D=i.resolveComponent("el-button"),O=i.resolveComponent("el-button-group"),V=i.resolveComponent("el-icon"),L=i.resolveComponent("el-space"),H=i.resolveComponent("el-input"),I=i.resolveComponent("el-form-item"),ee=i.resolveComponent("el-date-picker"),ke=i.resolveComponent("el-time-picker"),Ot=i.resolveComponent("el-checkbox"),Nn=i.resolveComponent("el-form"),Mt=i.resolveComponent("el-dialog");return i.openBlock(),i.createElementBlock("div",F1,[i.createElementVNode("div",$1,[i.createElementVNode("div",H1,[i.createVNode(L,{style:{"flex-shrink":"0"},size:24},{default:i.withCtx(()=>[i.createVNode(O,null,{default:i.withCtx(()=>[i.createVNode(D,{onClick:N[0]||(N[0]=ce=>u("dayGridMonth")),type:g("dayGridMonth")?"primary":""},{default:i.withCtx(()=>[i.createTextVNode("月")]),_:1},8,["type"]),i.createVNode(D,{onClick:N[1]||(N[1]=ce=>u("timeGridWeek")),type:g("timeGridWeek")?"primary":""},{default:i.withCtx(()=>[i.createTextVNode("周")]),_:1},8,["type"]),i.createVNode(D,{onClick:N[2]||(N[2]=ce=>u("timeGridDay")),type:g("timeGridDay")?"primary":""},{default:i.withCtx(()=>[i.createTextVNode("日")]),_:1},8,["type"])]),_:1}),i.createElementVNode("span",j1,i.toDisplayString(d.viewTitle),1),i.createVNode(O,{style:{"flex-shrink":"0"}},{default:i.withCtx(()=>[i.createVNode(D,{onClick:p},{default:i.withCtx(()=>[i.createVNode(V,null,{default:i.withCtx(()=>[i.createVNode(i.unref(Sr))]),_:1})]),_:1}),i.createVNode(D,{onClick:_},{default:i.withCtx(()=>[i.createTextVNode("今天")]),_:1}),i.createVNode(D,{onClick:c},{default:i.withCtx(()=>[i.createVNode(V,null,{default:i.withCtx(()=>[i.createVNode(i.unref(Ar))]),_:1})]),_:1})]),_:1})]),_:1}),U1]),i.createElementVNode("div",W1,[i.createVNode(i.unref(Gs),{removable:w.removable,onDateSelect:k,onDeleteClick:S,onEventClick:B,ref_key:"_refCalendar",ref:f,options:s.value,modelValue:a.value,"onUpdate:modelValue":N[3]||(N[3]=ce=>a.value=ce)},null,8,["removable","options","modelValue"])])]),i.createCommentVNode(" 新建/修改对话框 "),i.createVNode(Mt,{width:"700px",modelValue:C.value,"onUpdate:modelValue":N[11]||(N[11]=ce=>C.value=ce)},{header:i.withCtx(()=>[i.createElementVNode("div",null,[i.createElementVNode("span",G1,i.toDisplayString(y.title),1),y.operation==="update"?(i.openBlock(),i.createElementBlock("span",q1,[y.editable?(i.openBlock(),i.createBlock(i.unref(fe),{key:1,style:{"margin-left":"4px"},name:"iksvg_qiehuan-daohang",onClick:b.cancelEdit},null,8,["onClick"])):(i.openBlock(),i.createBlock(i.unref(fe),{key:0,style:{"margin-left":"4px"},name:"iksvg_xiugai",onClick:b.edit},null,8,["onClick"]))])):i.createCommentVNode("v-if",!0)])]),footer:i.withCtx(()=>[i.createElementVNode("span",J1,[i.renderSlot(w.$slots,"form-footer",{},()=>[i.createElementVNode("span",null,[i.createVNode(D,{onClick:b.close},{default:i.withCtx(()=>[i.createTextVNode("取消")]),_:1},8,["onClick"]),i.createVNode(D,{onClick:b.del},{default:i.withCtx(()=>[i.createTextVNode("删除")]),_:1},8,["onClick"]),i.createVNode(D,{type:"primary",onClick:b.submit},{default:i.withCtx(()=>[i.createTextVNode("确定")]),_:1},8,["onClick"])])],!0)])]),default:i.withCtx(()=>[i.renderSlot(w.$slots,"form",{},()=>[i.createVNode(Nn,{ref_key:"_editFormRef",ref:h,model:y.form,disabled:!y.editable},{default:i.withCtx(()=>[i.createVNode(I,null,{default:i.withCtx(()=>[i.createVNode(V,{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Dr))]),_:1}),i.createVNode(H,{modelValue:y.form.title,"onUpdate:modelValue":N[4]||(N[4]=ce=>y.form.title=ce),placeholder:"请输入标题",style:{width:"90%"},clearable:""},null,8,["modelValue"])]),_:1}),i.createVNode(I,null,{default:i.withCtx(()=>[i.createVNode(V,{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Nr))]),_:1}),i.createElementVNode("div",Y1,[i.createVNode(ee,{disabled:"",modelValue:y.form.startDate,"onUpdate:modelValue":N[5]||(N[5]=ce=>y.form.startDate=ce),type:"date",placeholder:"开始日期",style:i.normalizeStyle({width:y.form.allDay?"45%":"90%"})},null,8,["modelValue","style"]),y.form.allDay?(i.openBlock(),i.createElementBlock("div",K1,[X1,i.createVNode(ee,{disabled:"",modelValue:y.form.endDate,"onUpdate:modelValue":N[8]||(N[8]=ce=>y.form.endDate=ce),type:"date",placeholder:"结束日期",style:{width:"90%"}},null,8,["modelValue"])])):(i.openBlock(),i.createElementBlock("div",Q1,[i.createVNode(ke,{modelValue:y.form.startTime,"onUpdate:modelValue":N[6]||(N[6]=ce=>y.form.startTime=ce),type:"datetime",placeholder:"开始时间",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"]),Z1,i.createVNode(ke,{modelValue:y.form.endTime,"onUpdate:modelValue":N[7]||(N[7]=ce=>y.form.endTime=ce),type:"datetime",placeholder:"结束时间",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"])])),i.createVNode(Ot,{modelValue:y.form.allDay,"onUpdate:modelValue":N[9]||(N[9]=ce=>y.form.allDay=ce),label:"全天",style:{"margin-left":"2%"}},null,8,["modelValue"])])]),_:1}),i.createVNode(I,null,{default:i.withCtx(()=>[i.createVNode(V,{class:"icon"},{default:i.withCtx(()=>[i.createVNode(i.unref(Rd))]),_:1}),i.createVNode(H,{type:"textarea",modelValue:y.form.remark,"onUpdate:modelValue":N[10]||(N[10]=ce=>y.form.remark=ce),placeholder:"描述",style:{width:"90%"},clearable:""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","disabled"])],!0)]),_:3},8,["modelValue"])])}}}),pw="",ny=oe(K(ty,[["__scopeId","data-v-e308f501"]])),iy={key:0,class:"ik-tabs-split overflow-overlay gl-padding"},oy=i.defineComponent({__name:"IkPageTabs",props:i.mergeModels({tabs:{type:Array,default:()=>[]},defaultSlot:{type:Boolean,default:!0},lazyTab:{type:Boolean,default:!1},split:{type:Boolean,default:!1}},{modelValue:{type:String||Number,default:""},modelModifiers:{}}),emits:i.mergeModels(["tabClick","search"],["update:modelValue"]),setup(t,{emit:e}){const n=t,o=e,r=i.useModel(t,"modelValue"),l=i.ref(new Map);for(const s of n.tabs)l.value.set(s.id,n.lazyTab?s.id!==r.value:!1);const a=s=>{r.value=s.paneName,l.value.get(s.paneName)||o("tabClick",s.paneName,s),l.value.set(s.paneName,!1)};return(s,d)=>{const f=i.resolveComponent("el-tab-pane"),u=i.resolveComponent("el-tabs");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(' <div class="flex-1 contents"> '),i.createVNode(u,{modelValue:r.value,"onUpdate:modelValue":d[0]||(d[0]=m=>r.value=m),class:i.normalizeClass(["ik-tabs",{"is-default":s.$slots.default,"split gl-padding gl-container":t.split}]),onTabClick:a},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.tabs,m=>(i.openBlock(),i.createBlock(f,{key:m.id,disabled:m==null?void 0:m.disabled,name:m.id},{label:i.withCtx(()=>[i.createElementVNode("span",null,i.toDisplayString(m.label),1)]),default:i.withCtx(()=>[!s.$slots.default&&!l.value.get(m.id)&&!t.split?i.renderSlot(s.$slots,m.id,{key:0},void 0,!0):i.createCommentVNode("v-if",!0)]),_:2},1032,["disabled","name"]))),128)),i.createCommentVNode(" 当存在默认slot且需要展示默认slot时 "),s.$slots.default&&t.defaultSlot&&!t.split?i.renderSlot(s.$slots,"default",{key:0},void 0,!0):i.createCommentVNode("v-if",!0)]),_:3},8,["modelValue","class"]),t.split?(i.openBlock(),i.createElementBlock("div",iy,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.tabs,m=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[!s.$slots.default&&!l.value.get(m.id)?i.renderSlot(s.$slots,m.id,{key:0},void 0,!0):i.createCommentVNode("v-if",!0)],64))),256)),s.$slots.default&&t.defaultSlot?i.renderSlot(s.$slots,"default",{key:0},void 0,!0):i.createCommentVNode("v-if",!0)])):i.createCommentVNode("v-if",!0),i.createCommentVNode(" </div> ")],64)}}}),mw="",ry=oe(K(oy,[["__scopeId","data-v-e282a7f2"]]));var qe=(t=>(t.input="input",t.area="area",t.number="number",t.select="select",t.date="date",t.datetime="datetime",t.checkbox="checkbox",t.radio="radio",t.treeselect="treeselect",t.choosePerson="choosePerson",t))(qe||{}),Dt=(t=>(t.year="year",t.month="month",t.date="date",t.dates="dates",t.datetime="datetime",t.week="week",t.datetimerange="datetimerange",t.daterange="daterange",t.monthrange="monthrange",t))(Dt||{});function qs(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!i.isVNode(t)}const ly=i.defineComponent({name:"IkSearchAuto",props:{list:{required:!0,type:Array,default:()=>[]},shadow:{type:String,default:"never"},immediate:{type:Boolean,default:!0},tab:{type:String,default:""},search:{type:Function,default:null},loading:{type:Boolean,default:!1}},emits:["search","pickerChange"],setup(t,{emit:e,expose:n}){const o=i.ref(),r={},l=i.ref({}),a=i.ref([]),s=i.ref({...l.value});i.watch(a,(R,Y)=>{const U=Y.filter($=>!R.includes($));if(U.length){let $=!1;U.forEach(G=>{s.value[G]!==void 0&&($=!0),s.value[G]=void 0}),$&&e("search",s.value)}});const d=()=>{a.value=[],t.list.forEach(R=>{var Y,U;l.value[R.key]=l.value[R.value],r[R.key]=r[R.value],a.value.push(R.key),(Y=s.value)[U=R.key]??(Y[U]=R.value||null)})};d(),i.watch(()=>t.list,()=>{d()});const f=i.computed(()=>a.value.map(R=>t.list.find(Y=>Y.key===R))),u=()=>{var R;s.value.page=1,(R=t.search)==null||R.call(t,s.value),e("search",s.value)};n({resetForm:()=>{var R,Y;(Y=(R=o.value)==null?void 0:R.resetFields)==null||Y.call(R),u()},reRequest:()=>{u()}});const c=()=>{var R;e("search",s.value),(R=t.search)==null||R.call(t,s.value)},_=R=>{R.key==="Enter"&&u()},g=()=>{var R;(R=o.value)==null||R.resetFields(),u()};t.immediate&&u();const h=({maxlength:R,minlength:Y,key:U,disabled:$,placeholder:G,formProp:le={},value:ae,label:te})=>i.createVNode(A.ElInput,i.mergeProps({modelValue:s.value[U],"onUpdate:modelValue":[ne=>s.value[U]=ne,ne=>s.value[U]=ne],clearable:!0,maxlength:R,minlength:Y,disabled:$,onBlur:()=>c()},le,{placeholder:(le==null?void 0:le.placeholder)||G||`请输入${te||""}`}),null),b=({key:R,placeholder:Y,max:U,min:$,disabled:G,precision:le,step:ae=1,label:te,formProp:ne={}})=>i.createVNode(A.ElInputNumber,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":Qe=>s.value[R]=Qe,clearable:!0,max:U,min:$,disabled:G,precision:le,step:ae,onChange:()=>c()},ne,{placeholder:(ne==null?void 0:ne.placeholder)||Y||`请输入${te||""}`}),null),y=({key:R,placeholder:Y,disabled:U,options:$,label:G,multiple:le=!1,filterable:ae=!0,formProp:te={}})=>i.createVNode(A.ElSelect,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":ne=>s.value[R]=ne,clearable:!0,disabled:U,multiple:le,filterable:ae,onChange:()=>c()},te,{placeholder:(te==null?void 0:te.placeholder)||Y||`请选择${G||""}`}),{default:()=>[$==null?void 0:$.map(ne=>i.createVNode(A.ElOption,{key:ne.value,label:ne.label,value:ne.value},null))]}),C=({key:R,disabled:Y,options:U,formProp:$={}})=>i.createVNode(A.ElRadioGroup,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":G=>s.value[R]=G,disabled:Y,onChange:()=>c()},$),{default:()=>[U==null?void 0:U.map(G=>($==null?void 0:$.radioType)==="button"?i.createVNode(A.ElRadioButton,{key:G.value,label:G.value,name:G.label},null):i.createVNode(A.ElRadio,{key:G.value,label:G.value,name:G.label},null))]}),k=({key:R,disabled:Y,options:U,min:$,max:G,formProp:le={}})=>i.createVNode(A.ElCheckboxGroup,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":ae=>s.value[R]=ae,disabled:Y,max:G,min:$,onChange:()=>c()},le),{default:()=>[U==null?void 0:U.map(ae=>i.createVNode(A.ElCheckbox,{key:ae.value,label:ae.label,value:ae.value},null))]}),B=({key:R,label:Y,formProp:U={},placeholder:$})=>i.createVNode(A.ElDatePicker,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":G=>s.value[R]=G,onChange:()=>c()},U,{placeholder:(U==null?void 0:U.placeholder)||$||`请选择${Y}时间`}),null),S=({key:R,disabled:Y,editable:U=!0,startPlaceholder:$="开始日期",endplaceholder:G="结束日期",dateType:le=Dt.date,format:ae,placeholder:te="请选择日期",popperclass:ne,rangeSeparator:Qe="-",defaultValue:Lt,defaultTime:nn,valueFormat:Tn,disabledDate:zt=()=>!1,formProp:ht={}})=>{let De=ae;if(De)switch(le){case Dt.date:case Dt.dates:De="YYYY-MM-DD";break;case Dt.year:De="YYYY";break;case Dt.month:De="YYYY-MM";break;case Dt.week:De="YYYY-MM-DD";break;default:De=""}return i.createVNode(A.ElDatePicker,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":mt=>s.value[R]=mt,onChange:()=>c(),disabled:Y,type:le,editable:U,startPlaceholder:$,endPlaceholder:G,rangeSeparator:Qe,format:De,popperClass:ne,defaultValue:Lt,defaultTime:nn,valueFormat:Tn,disabledDate:zt},ht,{placeholder:(ht==null?void 0:ht.placeholder)||te||"请选择日期"}),null)},x=({key:R,options:Y,multiple:U=!1,filterable:$=!0,nodeKey:G="id",props:le,highlightCurrent:ae=!0,defaultExpandAll:te=!1,expandOnClickNode:ne=!1,placeholder:Qe="全部",checkOnClickNode:Lt=!1,showCheckbox:nn=!1,checkStrictly:Tn=!0,defaultCheckedKeys:zt=[],currentNodeKey:ht="",accordion:De=!1,formProp:mt={},label:T})=>i.createVNode(A.ElTreeSelect,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":M=>s.value[R]=M,data:Y,onChange:()=>c(),clearable:!0,multiple:U,props:le,placeholder:Qe,filterable:$,nodeKey:G,highlightCurrent:ae,defaultExpandAll:te,expandOnClickNode:ne,checkOnClickNode:Lt,showCheckbox:nn,checkStrictly:Tn,defaultCheckedKeys:zt,currentNodeKey:ht,accordion:De},mt,{placeholder:(mt==null?void 0:mt.placeholder)||Qe||`请选择${T||""}`}),null),w=({key:R,selectKey:Y,placeholder:U,disabled:$,options:G,multiple:le=!1,filterable:ae=!0,formProp:te={}})=>i.createVNode(A.ElInput,i.mergeProps({disabled:$,modelValue:s.value[R],"onUpdate:modelValue":ne=>s.value[R]=ne,onBlur:()=>c()},te,{placeholder:(te==null?void 0:te.placeholder)||U||"全部"}),{prepend:()=>i.createVNode(A.ElSelect,i.mergeProps({disabled:$,multiple:le,filterable:ae,modelValue:s.value[Y],"onUpdate:modelValue":ne=>s.value[Y]=ne,onChange:()=>c()},te),{default:()=>[G==null?void 0:G.map(ne=>i.createVNode(A.ElOption,{key:ne.value,label:ne.label,value:ne.value},null))]})}),N="",D="iking",O=i.ref(null),V=i.ref([]),L=i.ref(!1),H=i.ref(""),I=new Map,ee=R=>{L.value=!0,V.value=I.has(R)?I.get(R):s.value[R],H.value=R},ke=()=>{I.set(H.value,[]),H.value="",c()},Ot=R=>{var Y,U;s.value[H.value]=(Y=R.list.map($=>$.elementName))==null?void 0:Y.join(","),I.set(H.value,R.list),e("search",s.value),e("pickerChange",R),(U=t.search)==null||U.call(t,s.value)},Nn=({key:R,placeholder:Y,typeOption:U,_list:$,maxlength:G,minlength:le,disabled:ae,formProp:te})=>i.createVNode(A.ElInput,i.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":ne=>s.value[R]=ne,clearable:!0,maxlength:G,minlength:le,disabled:ae},te,{onClick:()=>ee(R),onClear:()=>ke(),placeholder:(te==null?void 0:te.placeholder)||Y||`点击选择${label||"人员"}`}),null),Mt=R=>{switch(R.type){case"":case void 0:case qe.input:case"el-input":return h(R);case qe.number:case"el-input-number":return b(R);case qe.select:case"el-select":return y(R);case qe.checkbox:case"el-checkbox":return k(R);case qe.radio:case"el-radio-group":case"el-radio":return C(R);case qe.date:case"el-date-picker":return S(R);case"el-time-select":return B(R);case qe.treeselect:case"el-tree-select":return x(R);case qe.choosePerson:return Nn(R);case"select-input":return w(R);default:return i.createVNode(i.Fragment,null,null)}},ce=i.computed(()=>{var U;const R=[],Y=f.value.length-1;return(U=f.value)==null||U.forEach(($,G)=>{let le,ae;if(!$)return[];const te=$.col||1;R.push(i.createVNode(A.ElCol,{xl:{span:te*6},lg:{span:te*6},md:{span:te*12},sm:{span:te*24}},{default:()=>[G===Y?i.createVNode("div",{class:"last-form"},[i.createVNode(A.ElFormItem,{label:$.type==="select-input"?"":$.label,prop:$.key},qs(le=Mt($))?le:{default:()=>[le]}),i.createVNode(fe,{name:"icon-sousuo1",pop:!0,title:"搜索",size:"big","show-bg":!0,width:40,onClick:()=>c()},null),i.createVNode(fe,{name:"icon-zhongzhi",pop:!0,title:"重置并搜索",size:"big","show-bg":!0,width:40,onClick:()=>g()},null)]):i.createVNode(A.ElFormItem,{label:$.type==="select-input"?"":$.label,prop:$.key},qs(ae=Mt($))?ae:{default:()=>[ae]})]}))}),R});return()=>i.createVNode(i.Fragment,null,[i.createVNode(A.ElCard,{class:"gl-search-card",shadow:t.shadow},{default:()=>[i.createVNode(A.ElForm,{class:"auto-search-form",onKeyup:_,ref:o,model:s.value},{default:()=>[i.createVNode(A.ElRow,{gutter:16},{default:()=>[ce.value]})]})]}),i.createVNode(En,{ref:O.value,modelValue:V.value,"onUpdate:modelValue":R=>V.value=R,show:L.value,"onUpdate:show":R=>L.value=R,"append-to-body":!0,api:{methods:"post",url:`${N}/server/component/pick/mix`,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:D}},tabs:["group","role","post"],chooseType:["user"],typeOption:{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},propOption:{name:"elementName",id:"elementId",type:"elementType"},onOk:R=>Ot(R)},null)])}}),ay={class:"header-left"},sy={class:"title"},cy={class:"flex items-center"},dy=i.defineComponent({__name:"IkPageHead",props:i.mergeModels({headerTitle:{type:String,default:""},headerBorder:{type:Boolean,default:!1},fields:{required:!0,type:Array,default:()=>[]},search:{type:Function,default:null},loading:{type:Boolean,default:!1},tabId:{type:Number||String,default:0},exportBtn:{type:Boolean,default:!1},refreshBtn:{type:Boolean,default:!1},settingBtn:{type:Boolean,default:!0},defaultShow:{type:Boolean,default:!1},headerHeight:{type:Number,default:66}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){i.useCssVars(f=>({"59e2b6b4":d}));const e=t,n=i.useModel(t,"modelValue"),o=i.ref(e.defaultShow),r=()=>{o.value=!o.value},l=i.computed(()=>e.fields.filter(f=>!f.onlyForm)),a=i.computed(()=>{var f;return(f=e.fields)==null?void 0:f.filter(u=>u.search)}),s=i.computed(()=>a.value.length),d=`${e.headerHeight}px`;return(f,u)=>{const m=i.resolveComponent("el-card");return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(["ik-page-header",{"show-search":o.value}])},[i.createElementVNode("div",{class:"header",style:i.normalizeStyle({borderColor:t.headerBorder?"var(--ik-border-color)":"transparent",marginBottom:t.headerBorder?"8px":"0"})},[i.createElementVNode("div",ay,[i.createCommentVNode(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),i.createElementVNode("span",sy,i.toDisplayString(t.headerTitle),1),i.renderSlot(f.$slots,"headerLeft",{},void 0,!0)]),i.createCommentVNode(" 默认按钮 "),i.createElementVNode("div",cy,[i.createCommentVNode(" 右侧操作或自定义内容 "),i.renderSlot(f.$slots,"headerRight",{},void 0,!0),t.exportBtn?(i.openBlock(),i.createBlock(i.unref(fe),{key:0,name:"iksvg_xiazai",type:"primary",title:"导出","show-bg":"",size:"default"})):i.createCommentVNode("v-if",!0),s.value?(i.openBlock(),i.createBlock(i.unref(fe),{key:1,name:"iksvg_shaixuan1",size:"default",title:o.value?"收起筛选条件":"展开筛选条件","show-bg":"",onClick:r},null,8,["title"])):i.createCommentVNode("v-if",!0),t.refreshBtn?(i.openBlock(),i.createBlock(i.unref(fe),{key:2,name:"iksvg_zhongzhi1",title:"保留搜索条件刷新","show-bg":"",size:"default",onClick:t.search},null,8,["onClick"])):i.createCommentVNode("v-if",!0),i.createCommentVNode(` <IkSvgIcon\r
34
+ ></i> `),(b=_[t.propsField.children])!=null&&b.length&&_.show?(o.openBlock(),o.createBlock(o.unref(ue),{key:1,class:"ikapprove",onClick:y=>m(_,g),name:"iksvg_shouqi"},null,8,["onClick"])):o.createCommentVNode("v-if",!0)],14,fu)]),o.createElementVNode("ul",{class:o.normalizeClass(d(g))},[o.createElementVNode("div",{id:`children${g}`},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(_[t.propsField.children],(y,C)=>(o.openBlock(),o.createElementBlock("li",{class:o.normalizeClass(f(g,C)),style:o.normalizeStyle(t.needClick?"cursor: pointer;":""),key:C,onClick:k=>u(y,g+1+"-"+(C+1))},o.toDisplayString(y.name),15,hu))),128))],8,pu)],2)])}),128))]))}}),c4="",gu=oe(K(mu,[["__scopeId","data-v-240cff4f"]])),u4="",Bo=t=>(o.pushScopeId("data-v-41886e6b"),t=t(),o.popScopeId(),t),_u={class:"approveProcess",id:"approveProcess"},yu=["id"],bu={class:"topBlock"},Eu={class:"left"},wu={class:"nodeBg"},Cu=["src"],ku={class:"right"},vu={class:"topInfo"},Su={key:0},Au={key:0,class:"main-text"},Du={class:"name"},xu={key:0},Nu={key:0},Tu={key:1},Vu=Bo(()=>o.createElementVNode("span",{class:"red",style:{margin:"0px 5px"}},"退回至",-1)),Ru={key:0},Iu={key:0},Bu={key:1},Ou={key:1},Mu=Bo(()=>o.createElementVNode("div",{class:"main-text"},"抄送人员",-1)),Lu={class:"name"},zu={key:0},Pu={style:{color:"#000"}},Fu={class:"blue",style:{"margin-left":"5px","font-size":"12px"}},$u={key:1},Hu={key:0,class:"blue",style:{"font-size":"12px"}},ju={key:1},Uu={key:0,class:"blue",style:{"font-size":"12px"}},Wu={key:1,class:"blue",style:{"font-size":"12px"}},Gu={class:"time"},qu={key:0},Yu={key:1},Qu=["onClick"],Zu=["onClick"],Ku={key:0,class:"opinion"},Xu={key:0},Ju={key:1},ef=Bo(()=>o.createElementVNode("span",null,"添加审批人",-1)),tf={style:{color:"var(--el-text-color-primary)","margin-left":"8px"}},nf={key:1,class:"annex"},of=["onClick"],rf={class:"text"},lf={class:"fileName"},af={class:"size"},sf={key:2,class:"annexImage"},cf={key:3,class:"approveList"},df={class:"nodeBg-list"},uf=["src"],ff={key:1,class:"ikapprove ikapprove-duihao2 green read"},pf=["title"],hf={name:"IkingApprovalProcessDetail"},mf=o.defineComponent({...hf,props:{local:{type:Boolean,default:!1},defaultStatus:{type:Object,default:()=>({})},defaultNodeType:{type:Object,default:()=>({})},dataList:{type:Array,default:()=>[]},defaultFieldMap:{type:Object,default:()=>({})},returnNode:{type:Array,default:()=>[]},fileUrl:{type:String,default:""}},emits:["preview"],setup(t,{emit:e}){const n=t,i=o.reactive({nodeType:{发起人节点:"1",审批节点:"2",办理节点:"3",抄送节点:"4",...n.defaultNodeType},statusOption:{发起:"1",等待:"2",同意:"3",拒绝:"4",转交:"5",加签:"6",退回:"7",撤销:"8",评论:"9",...n.defaultStatus},listData:[],defaultFile:{id:"id",nodeId:"nodeId",nodeType:"nodeType",nodeTypeName:"nodeTypeName",approveStatus:"approveStatus",approveStatusName:"approveStatusName",originator:"originator",operationTime:"operationTime",approveType:"approveType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approveOpinion:"approveOpinion",countersignPer:"countersignPer",backToRecordNodeName:"backToRecordNodeName",attachment:"attachment",attachmentParam:{id:"id",originName:"originName",url:"url",suffix:"suffix",size:"size"},attachmentImg:"attachmentImg",returnNode:"returnNode",returnNodeName:"returnNodeName",lineType:"lineType",allRead:"allRead",read:"read",approvePersonList:[{id:"id",name:"name",approveState:"approveState",approveTime:"approveTime",approveOpinion:"approveOpinion",userAvatar:"userAvatar",accomplish:"accomplish"}],...n.defaultFieldMap}});o.watch(()=>n.dataList,c=>{c&&(o.nextTick(()=>{i.listData=c}),setTimeout(()=>{n.returnNode.length&&r()},500))},{deep:!0}),o.onMounted(()=>{n.dataList.length&&(i.listData=n.dataList,setTimeout(()=>{n.returnNode.length&&r()},500))});const r=()=>{let c=null;if(n!=null&&n.returnNode)for(c of n==null?void 0:n.returnNode){if(isNaN(c[1]))return;let _=Array.from(new Array(c[1]+1).keys()).slice(c[0]);o.nextTick(()=>{l(_)})}},l=c=>{var k,B,S;let _=document.createElement("div"),g=document.getElementById("approveProcess"),h=0,b=(k=document.getElementById(`${c[0]}`))==null?void 0:k.offsetWidth,y=(B=document.getElementById(`${c[0]}`))==null?void 0:B.offsetLeft,C=(S=document.getElementById(`${c[0]}`))==null?void 0:S.offsetTop;c.forEach(x=>{let w=document.getElementById(`${x}`);h+=w.offsetHeight}),setTimeout(()=>{_.style.width=b+32+"px",_.style.height=h+"px",_.style.background="#f9f9f9",_.style.position="absolute",_.style.top=C-16+"px",_.style.left=y-16+"px",_.style.zIndex=-1,g==null||g.appendChild(_)})},a=(c,_)=>{var b;let g=(b=i.listData)==null?void 0:b.findIndex(y=>y.lineType=="dashed"),h="";switch(c){case i.statusOption.发起:h="ikapprove-duihao2 green";break;case i.statusOption.等待:h=g==_?"ikapprove-dengdai orange":"";break;case i.statusOption.同意:h="ikapprove-duihao2 green";break;case i.statusOption.拒绝:h="ikapprove-jujue red";break;case i.statusOption.转交:h="ikapprove-zhuanjiao blue";break;case i.statusOption.加签:h="ikapprove-tianjia blue";break;case i.statusOption.退回:h="ikapprove-s_fanhui2 red";break;case i.statusOption.评论:h="ikapprove-pinglun1 blue";break}return`ikapprove ${h}`},s=(c,_)=>{let g="";switch(c){case i.nodeType.发起人节点:g="ikapprove-ziyuan";break;case i.nodeType.审批节点:_&&_.length==1?g="ikapprove-ziyuan":g="ikapprove-shenpi";break;case i.nodeType.办理节点:g="ikapprove-bianji";break;case i.nodeType.抄送节点:g="ikapprove-chaosong";break;default:g="ikapprove-ziyuan"}return`ikapprove ${g}`},d=c=>{let _="";return c=="jpg"||c=="jpeg"||c=="png"?_="ikapprove-tupian":c=="doc"||c=="docx"?_="ikapprove-WORD":c=="xls"||c=="xlsx"?_="ikapprove-EXCEL":c=="ppt"||c=="pptx"?_="ikapprove-pptcopy":c=="pdf"?_="ikapprove-PDF":c=="rar"||c=="zip"?_="ikapprove-fujian":c=="txt"||c=="zip"?_="ikapprove-TXTCopy":c=="mp3"||c=="wma"||c=="m4a"?_="ikapprove-yinpinwenjian":(c=="avi"||c=="wmv"||c=="mp4"||c=="mov")&&(_="ikapprove-shipinwenjian"),`icon ikapprove ${_}`},f=e,u=c=>{f("preview",c),n.local||window.open(p(c[i.defaultFile.attachmentParam.url]))},m=(c,_)=>{c.show=!c.show;let g=document.getElementById(`${c[i.defaultFile.nodeId]}`),h=Array.from(g==null?void 0:g.getElementsByClassName("approveList"));for(let b of h)b.style.display=_},p=c=>{let _="";return c.includes("http")||c.includes("https")?_=c:_=n.fileUrl+c,_};return(c,_)=>{const g=o.resolveComponent("el-image");return o.openBlock(),o.createElementBlock("div",_u,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.listData,(h,b)=>{var y,C,k,B,S,x,w,N,D,O;return o.openBlock(),o.createElementBlock("div",{class:"approveBlock",id:h[i.defaultFile.nodeId],key:h[i.defaultFile.nodeId]},[o.createElementVNode("div",bu,[o.createElementVNode("div",Eu,[o.createElementVNode("span",wu,[o.createCommentVNode(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),((y=h[i.defaultFile.approvePersonList])==null?void 0:y.length)==1&&h[i.defaultFile.approvePersonList][0].userAvatar?(o.openBlock(),o.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:p(h[i.defaultFile.approvePersonList][0].userAvatar),alt:""},null,8,Cu)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 否则显示对应节点 "),o.createElementVNode("i",{class:o.normalizeClass(s(h[i.defaultFile.nodeType],h[i.defaultFile.approvePersonList]))},null,2)],2112)),o.createCommentVNode(" 审批状态图标 "),o.createElementVNode("i",{class:o.normalizeClass(a(h[i.defaultFile.approveStatus],b))},null,2)])]),o.createElementVNode("div",ku,[o.createElementVNode("div",vu,[o.createElementVNode("div",null,[o.createCommentVNode(" 不是抄送节点 "),h[i.defaultFile.nodeType]!=i.nodeType.抄送节点?(o.openBlock(),o.createElementBlock("div",Su,[o.createCommentVNode(" 撤销,评论不显示节点名称 "),h[i.defaultFile.approveStatus]!=i.statusOption.撤销&&h[i.defaultFile.approveStatus]!=i.statusOption.评论?(o.openBlock(),o.createElementBlock("div",Au,o.toDisplayString(h[i.defaultFile.nodeTypeName]),1)):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 名字+审批状态 "),o.createElementVNode("div",Du,[o.createCommentVNode(" 已审批节点文本 "),h[i.defaultFile.lineType]=="solid"?(o.openBlock(),o.createElementBlock("div",xu,[o.createElementVNode("span",{style:o.normalizeStyle({color:h[i.defaultFile.approveStatus]==i.statusOption.评论?"#000":""})},o.toDisplayString(h[i.defaultFile.originator]),5),o.createCommentVNode(" 发起,退回不显示状态 "),h[i.defaultFile.approveStatusName]&&h[i.defaultFile.approveStatus]!=i.statusOption.发起&&h[i.defaultFile.approveStatus]!=i.statusOption.退回?(o.openBlock(),o.createElementBlock("span",Nu,o.toDisplayString(h[i.defaultFile.approveStatus]==i.statusOption.评论?" 添加了评论":"("+h[i.defaultFile.approveStatusName]+")"),1)):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 退回状态显示 "),h[i.defaultFile.approveStatus]==i.statusOption.退回?(o.openBlock(),o.createElementBlock("span",Tu,[Vu,o.createTextVNode(o.toDisplayString(h[i.defaultFile.backToRecordNodeName]),1)])):o.createCommentVNode("v-if",!0)])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 待审批节点 "),o.createElementVNode("div",null,[((C=h[i.defaultFile.approvePersonList])==null?void 0:C.length)==1?(o.openBlock(),o.createElementBlock("span",Ru,[o.createTextVNode(o.toDisplayString(h[i.defaultFile.originator])+" ",1),h[i.defaultFile.approveStatus]==i.statusOption.等待?(o.openBlock(),o.createElementBlock("span",Iu,o.toDisplayString(`(${h[i.defaultFile.approveStatusName]})`),1)):o.createCommentVNode("v-if",!0)])):(o.openBlock(),o.createElementBlock("span",Bu,o.toDisplayString(((k=h[i.defaultFile.approvePersonList])==null?void 0:k.length)+"人"+h[i.defaultFile.approveTypeName]),1))])],2112))])])):(o.openBlock(),o.createElementBlock("div",Ou,[Mu,o.createElementVNode("div",Lu,[o.createCommentVNode(" 抄送一人时 "),((B=h[i.defaultFile.approvePersonList])==null?void 0:B.length)==1?(o.openBlock(),o.createElementBlock("span",zu,[o.createElementVNode("span",null,[o.createTextVNode("已抄送给 "),o.createElementVNode("span",Pu,o.toDisplayString(h[i.defaultFile.approvePersonList][0].userName),1)]),o.createElementVNode("span",Fu,o.toDisplayString(h[i.defaultFile.approvePersonList][0].status==="END"?"已读":"未读"),1)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 抄送多人时 "),((S=h[i.defaultFile.approvePersonList])==null?void 0:S.length)>1?(o.openBlock(),o.createElementBlock("span",$u,[o.createTextVNode(o.toDisplayString(`已抄送${(x=h[i.defaultFile.approvePersonList])==null?void 0:x.length}人`)+" ",1),h[i.defaultFile.allRead]?(o.openBlock(),o.createElementBlock("span",Hu," 全部已读 ")):(o.openBlock(),o.createElementBlock("span",ju,[h[i.defaultFile.read]?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createElementBlock("span",Uu," 全部未读 ")),h[i.defaultFile.read]?(o.openBlock(),o.createElementBlock("span",Wu,o.toDisplayString(h[i.defaultFile.read])+"人已读 ",1)):o.createCommentVNode("v-if",!0)]))])):o.createCommentVNode("v-if",!0)])]))]),o.createElementVNode("div",Gu,[o.createCommentVNode(" 不是抄送节点,展示时间 "),h[i.defaultFile.nodeType]!=i.nodeType.抄送节点?(o.openBlock(),o.createElementBlock("span",qu,o.toDisplayString(h[i.defaultFile.operationTime]),1)):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 是抄送节点,并且抄送人员大于1时,展示图标 "),h[i.defaultFile.nodeType]==i.nodeType.抄送节点&&((w=h[i.defaultFile.approvePersonList])==null?void 0:w.length)>1?(o.openBlock(),o.createElementBlock("span",Yu,[h!=null&&h.show?(o.openBlock(),o.createElementBlock("i",{key:0,class:"ikapprove ikapprove-a-putongjiantouzhankai",onClick:V=>m(h,"grid")},null,8,Qu)):(o.openBlock(),o.createElementBlock("i",{key:1,onClick:V=>m(h,"none"),class:"ikapprove ikapprove-a-putongjiantoushouqi"},null,8,Zu))])):o.createCommentVNode("v-if",!0)])])])]),o.createElementVNode("div",{class:"bottomBlock",style:o.normalizeStyle({borderLeft:b==i.listData.length-1?"":`2px ${h[i.defaultFile.lineType]} var(--el-border-color)`})},[o.createCommentVNode(" 审批意见 "),h[i.defaultFile.approveOpinion]||h[i.defaultFile.approveStatus]==i.statusOption.加签?(o.openBlock(),o.createElementBlock("div",Ku,[h[i.defaultFile.approveOpinion]?(o.openBlock(),o.createElementBlock("span",Xu,o.toDisplayString(h[i.defaultFile.approveOpinion]),1)):o.createCommentVNode("v-if",!0),h[i.defaultFile.approveStatus]==i.statusOption.加签?(o.openBlock(),o.createElementBlock("span",Ju,[ef,(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h[i.defaultFile.countersignPer],(V,L)=>(o.openBlock(),o.createElementBlock("span",tf,o.toDisplayString(V==null?void 0:V.userName)+o.toDisplayString(L<h[i.defaultFile.countersignPer].length-1?"、":""),1))),256))])):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 附件 "),(N=h[i.defaultFile.attachment])!=null&&N.length?(o.openBlock(),o.createElementBlock("div",nf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h[i.defaultFile.attachment],(V,L)=>(o.openBlock(),o.createElementBlock("div",{class:"file-card",key:L,onClick:H=>u(V)},[o.createElementVNode("div",{class:o.normalizeClass(d(V[i.defaultFile.attachmentParam.suffix]))},null,2),o.createElementVNode("div",rf,[o.createElementVNode("div",lf,o.toDisplayString(V[i.defaultFile.attachmentParam.originName]),1),o.createElementVNode("div",af,o.toDisplayString((V[i.defaultFile.attachmentParam.size]/1024/1024).toFixed(3))+"MB ",1)])],8,of))),128))])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 附件图片 "),(D=h[i.defaultFile.attachmentImg])!=null&&D.length?(o.openBlock(),o.createElementBlock("div",sf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h[i.defaultFile.attachmentImg],(V,L)=>(o.openBlock(),o.createElementBlock("div",{class:"image",key:L},[o.createVNode(g,{src:p(V),fit:"cover","z-index":"9999","zoom-rate":1.2,alt:p(V)},null,8,["src","alt"])]))),128))])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 抄送节点或是等待审批状态并且列表长度大于1 "),(h[i.defaultFile.nodeType]==i.nodeType.抄送节点||h[i.defaultFile.approveStatus]==i.statusOption.等待)&&((O=h[i.defaultFile.approvePersonList])==null?void 0:O.length)>1?(o.openBlock(),o.createElementBlock("div",cf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(h[i.defaultFile.approvePersonList],V=>(o.openBlock(),o.createElementBlock("div",{class:"perBlock",key:V.userName},[o.createElementVNode("span",df,[V.userAvatar?(o.openBlock(),o.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:p(V.userAvatar),alt:""},null,8,uf)):o.createCommentVNode("v-if",!0),o.createElementVNode("span",null,o.toDisplayString(V.userName.slice(-2)),1),V.status==="END"?(o.openBlock(),o.createElementBlock("i",ff)):o.createCommentVNode("v-if",!0)]),o.createElementVNode("div",{class:"main-text",title:V.userName},o.toDisplayString(V.userName),9,pf)]))),128))])):o.createCommentVNode("v-if",!0)],4)],8,yu)}),128))])}}}),f4="",gf=oe(K(mf,[["__scopeId","data-v-41886e6b"]])),_f=t=>(o.pushScopeId("data-v-04ec002f"),t=t(),o.popScopeId(),t),yf={class:"approveProcess",id:"approveProcess"},bf={class:"node"},Ef={class:"nodeBg"},wf={class:"info"},Cf={class:"explain"},kf={key:0},vf={key:0},Sf={key:1},Af={key:0},Df={key:1},xf={class:"personlist"},Nf={style:{width:"58px"}},Tf={class:"avatar"},Vf=["src"],Rf={key:1,class:"nodeBg"},If=["onClick"],Bf=["title"],Of={key:0,class:"sign"},Mf={key:0},Lf=["onClick"],zf={key:0,class:"required"},Pf=_f(()=>o.createElementVNode("i",{class:"ikapprove ikapprove-xinzeng"},null,-1)),Ff={name:"IkApprovalProcess"},$f=o.defineComponent({...Ff,props:{pickerUrl:{type:String,default:""},loadUrl:{type:String,default:""},dataList:{type:Array,default:()=>[]},defaultNodeType:{type:Object,default:()=>({})},defaultFieldMap:{type:Object,default:()=>({})},statusWithoutApprover:{type:Object,default:()=>({})}},setup(t,{expose:e}){const n=t,i=z.ikStore.local.getItem("token")||"Bearer iking",r=o.reactive({nodeType:{发起人节点:"INITIATOR",审批节点:"APPROVE",抄送节点:"CARBON_COPY",办理节点:"DISPOSE",分支节点:"BRANCH",条件节点:"CONDITION",结束节点:"END",...n.defaultNodeType},statusWithoutApprover:{自动通过:"AUTO_PASS",自动拒绝:"AUTO_REJECT",自动转交管理员:"TRANSMIT_TO_MANAGER",指定人员审批:"SPECIFIED_USER",...n.statusWithoutApprover},defaultFile:{id:"id",nodeId:"sortOrder",nodeType:"type",nodeTypeName:"name",approveType:"approveType",multiExecutorType:"multiExecutorType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approvalCategory:"approvalCategory",isShowAdd:"initiatorSpecify",isShowAddCopy:"initiatorSpecifyCarbonCopy",executorEmpty:"executorEmpty",executorEmptyStrategy:"executorEmptyStrategy",reserveExecutorUsers:"reserveExecutorUsers",approvePersonList:"executorUsers",initiatorSpecifiedScope:"initiatorSpecifiedScope",initiatorSpecifiedScopeType:"initiatorSpecifiedScopeType",singleApproval:"singleApproval",...n.defaultFieldMap},multiple:!1,chooseType:[]}),l=async m=>{var p;if(m.multiple=!m[r.defaultFile.singleApproval]||m[r.defaultFile.isShowAddCopy],m.handList=m[r.defaultFile.approvePersonList]?m[r.defaultFile.approvePersonList]:[],m[r.defaultFile.nodeType]===r.nodeType.抄送节点)m.handList.forEach(c=>{c.elementName||(c.elementName=c.userName,c.elementId=c.userId,c.avatar=c.userAvatar),c.elementType="USER",c.disabled=!0}),m.chooseType=["user"],m.userList=[],m.depList=[];else switch(m[r.defaultFile.initiatorSpecifiedScopeType]){case"ALL":m.chooseType=["dep_user"],m.userList=[],m.depList=[];break;default:m.chooseType=["user"],m.userList=m.userList?m.userList:(p=m[r.defaultFile.initiatorSpecifiedScope])==null?void 0:p.map(c=>({...c,elementName:(c==null?void 0:c.executorName)||(c==null?void 0:c.userName),elementId:(c==null?void 0:c.executorId)||(c==null?void 0:c.userId),avatar:((c==null?void 0:c.executorAvatar)||(c==null?void 0:c.userAvatar))&&a((c==null?void 0:c.executorAvatar)||(c==null?void 0:c.userAvatar))||"",elementType:"USER"}))}o.nextTick(()=>{m.isShow=!0})},a=m=>{let p="";return m.includes("http")||m.includes("https")?p=m:p=n.loadUrl?`${n.loadUrl}${m}`:`${location.origin+location.pathname}server/oss/download?fileUrl=${m}`,p},s=m=>{let p="";switch(m){case r.nodeType.审批节点:p="ikapprove-shenpi";break;case r.nodeType.办理节点:p="ikapprove-bianji";break;case r.nodeType.抄送节点:p="ikapprove-chaosong";break;default:p="ikapprove-ziyuan"}return`ikapprove ${p}`},d=(m,p)=>{n.dataList[p].handList=m.list;let _=(n.dataList[p][r.defaultFile.approvePersonList]||[]).filter(h=>!h.canDele),g=m.list.map(h=>({...h,userName:h.elementName,userAvatar:h.avatar,canDele:!0}));n.dataList[p][r.defaultFile.approvePersonList]=_.concat(g)},f=(m,p)=>{n.dataList[m][r.defaultFile.approvePersonList].splice(p,1),n.dataList[m].handList=n.dataList[m][r.defaultFile.approvePersonList]};return e({requiredVerification:()=>{let m=!0;return n.dataList.forEach(p=>{var c;p.required=!1,p[r.defaultFile.nodeType]==r.nodeType.审批节点&&p[r.defaultFile.isShowAdd]&&((c=p[r.defaultFile.approvePersonList])!=null&&c.length||(m=!1,p.required=!0))}),m}}),(m,p)=>(o.openBlock(),o.createElementBlock("div",yf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.dataList,(c,_)=>{var g,h,b,y;return o.openBlock(),o.createElementBlock("div",{class:"content",key:c.id},[o.createCommentVNode(" 审批节点类型 "),o.createElementVNode("div",bf,[o.createElementVNode("span",Ef,[o.createElementVNode("i",{class:o.normalizeClass(s(c[r.defaultFile.nodeType]))},null,2)]),o.createElementVNode("div",{class:"line",style:o.normalizeStyle({"border-left":_===n.dataList.length-1?"":"2px solid var(--el-border-color)"})},null,4)]),o.createElementVNode("div",wf,[o.createElementVNode("div",null,[o.createElementVNode("div",null,o.toDisplayString(c[r.defaultFile.nodeTypeName]),1),o.createElementVNode("div",Cf,[o.createCommentVNode(" 抄送节点 "),c[r.defaultFile.nodeType]==r.nodeType.抄送节点?(o.openBlock(),o.createElementBlock("span",kf,[c[r.defaultFile.approvePersonList].length?(o.openBlock(),o.createElementBlock("span",vf,o.toDisplayString(`抄送${c[r.defaultFile.approvePersonList].length}人`),1)):o.createCommentVNode("v-if",!0),c[r.defaultFile.isShowAdd]?(o.openBlock(),o.createElementBlock("span",Sf,",可添加抄送人")):o.createCommentVNode("v-if",!0)])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 审批节点 "),o.createElementVNode("span",null,[o.createCommentVNode(" 存在审批人时 "),(g=c[r.defaultFile.approvePersonList])!=null&&g.length?(o.openBlock(),o.createElementBlock("span",Af,o.toDisplayString(((h=c[r.defaultFile.approvePersonList])==null?void 0:h.length)==1?"1人审批":`${(b=c[r.defaultFile.approvePersonList])==null?void 0:b.length}人${c[r.defaultFile.multiExecutorTypeName]}`),1)):[r.statusWithoutApprover.自动通过,r.statusWithoutApprover.自动拒绝].includes(c[r.defaultFile.approveType])?(o.openBlock(),o.createElementBlock("span",Df,o.toDisplayString(c[r.defaultFile.approveTypeName]),1)):c[r.defaultFile.executorEmptyStrategy]&&c[r.defaultFile.executorEmpty]?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createCommentVNode(" 没有审批人,并且有指定默认审批方式 "),o.createElementVNode("span",null,[o.createTextVNode(" 未找到审批人,"),o.createElementVNode("span",null,o.toDisplayString(c[r.defaultFile.executorEmptyStrategy]==r.statusWithoutApprover.自动通过?"将自动通过":c[r.defaultFile.executorEmptyStrategy]==r.statusWithoutApprover.自动转交管理员?"自动转交给管理员":c[r.defaultFile.executorEmptyStrategy]==r.statusWithoutApprover.指定人员审批?`将自动转给指定成员${c[r.defaultFile.reserveExecutorUsers]&&c[r.defaultFile.reserveExecutorUsers][0].userName}`:""),1)])],2112)):(o.openBlock(),o.createElementBlock("span",{key:3,class:o.normalizeClass(c.required?"warn":"")},"请选择"+o.toDisplayString(c[r.defaultFile.nodeType]===r.nodeType.办理节点?"办理人":"审批人"),3))])],2112))])]),o.createElementVNode("div",xf,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c[r.defaultFile.approvePersonList],(C,k)=>{var B;return o.openBlock(),o.createElementBlock("div",{class:"list",key:C.userId},[o.createElementVNode("div",Nf,[o.createElementVNode("div",Tf,[C.userAvatar?(o.openBlock(),o.createElementBlock("img",{key:0,src:a(C.userAvatar),alt:""},null,8,Vf)):(o.openBlock(),o.createElementBlock("div",Rf,[o.createElementVNode("span",null,o.toDisplayString(C.userName.slice(-2)),1)])),C.canDele?(o.openBlock(),o.createElementBlock("i",{key:2,onClick:S=>f(_,k),class:"ikapprove ikapprove-shanchu1"},null,8,If)):o.createCommentVNode("v-if",!0)]),o.createElementVNode("div",{class:"name",title:C.userName},o.toDisplayString(C.userName),9,Bf)]),o.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),c[r.defaultFile.isShowAdd]&&!(c[r.defaultFile.singleApproval]&&((B=c[r.defaultFile.approvePersonList])==null?void 0:B.length)==1)?(o.openBlock(),o.createElementBlock("span",Of,[o.createCommentVNode(" 抄送默认 "),c[r.defaultFile.nodeType]==r.nodeType.抄送节点?(o.openBlock(),o.createElementBlock("span",Mf,"+")):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 审批 "),o.createElementVNode("span",null,o.toDisplayString(c[r.defaultFile.multiExecutorType]=="ANY"?"/":c[r.defaultFile.multiExecutorType]=="ALL"?"+":">"),1)],2112))])):o.createCommentVNode("v-if",!0)])}),128)),o.createCommentVNode(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 "),c[r.defaultFile.isShowAdd]&&!(c[r.defaultFile.singleApproval]&&((y=c[r.defaultFile.approvePersonList])==null?void 0:y.length)==1)||c[r.defaultFile.isShowAddCopy]?(o.openBlock(),o.createElementBlock("span",{key:0,class:"addBg",onClick:C=>l(c)},[c[r.defaultFile.nodeType]==r.nodeType.审批节点?(o.openBlock(),o.createElementBlock("span",zf)):o.createCommentVNode("v-if",!0),Pf],8,Lf)):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 添加人组件 "),o.createVNode(o.unref(En),{modelValue:c.handList,"onUpdate:modelValue":C=>c.handList=C,show:c.isShow,"onUpdate:show":C=>c.isShow=C,onOk:C=>d(C,_),multiple:c.multiple,"type-option":{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},api:{methods:"post",url:t.pickerUrl,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:o.unref(i)}},"dep-list":c.depList,"user-list":c.userList,"organization-list":c.organizationList,"prop-option":{name:"elementName",id:"elementId",type:"elementType",avatar:"avatar"},chooseType:c.chooseType},null,8,["modelValue","onUpdate:modelValue","show","onUpdate:show","onOk","multiple","api","dep-list","user-list","organization-list","chooseType"])])])])}),128))]))}}),h4="",Hf=oe(K($f,[["__scopeId","data-v-04ec002f"]]));var Lr={code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"上月",next:"下月",today:"今天",year:"年",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText(t){return"另外 "+t+" 个"},noEventsText:"没有事件显示"},Vn,P,zr,Pr,Ft,gt,Fr,$r,Hr,Rn={},jr=[],jf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Je(t,e){for(var n in e)t[n]=e[n];return t}function Ur(t){var e=t.parentNode;e&&e.removeChild(t)}function E(t,e,n){var i,r,l,a={};for(l in e)l=="key"?i=e[l]:l=="ref"?r=e[l]:a[l]=e[l];if(arguments.length>2&&(a.children=arguments.length>3?Vn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(l in t.defaultProps)a[l]===void 0&&(a[l]=t.defaultProps[l]);return In(t,a,i,r,null)}function In(t,e,n,i,r){var l={type:t,props:e,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r??++zr};return r==null&&P.vnode!=null&&P.vnode(l),l}function be(){return{current:null}}function re(t){return t.children}function Uf(t,e,n,i,r){var l;for(l in n)l==="children"||l==="key"||l in e||Bn(t,l,null,n[l],i);for(l in e)r&&typeof e[l]!="function"||l==="children"||l==="key"||l==="value"||l==="checked"||n[l]===e[l]||Bn(t,l,e[l],n[l],i)}function Wr(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||jf.test(e)?n:n+"px"}function Bn(t,e,n,i,r){var l;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof i=="string"&&(t.style.cssText=i=""),i)for(e in i)n&&e in n||Wr(t.style,e,"");if(n)for(e in n)i&&n[e]===i[e]||Wr(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")l=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+l]=n,n?i||t.addEventListener(e,l?qr:Gr,l):t.removeEventListener(e,l?qr:Gr,l);else if(e!=="dangerouslySetInnerHTML"){if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e.indexOf("-")==-1?t.removeAttribute(e):t.setAttribute(e,n))}}function Gr(t){Ft=!0;try{return this.l[t.type+!1](P.event?P.event(t):t)}finally{Ft=!1}}function qr(t){Ft=!0;try{return this.l[t.type+!0](P.event?P.event(t):t)}finally{Ft=!1}}function ve(t,e){this.props=t,this.context=e}function rn(t,e){if(e==null)return t.__?rn(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?rn(t):null}function Yr(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Yr(t)}}function Wf(t){Ft?setTimeout(t):$r(t)}function Oo(t){(!t.__d&&(t.__d=!0)&&gt.push(t)&&!On.__r++||Fr!==P.debounceRendering)&&((Fr=P.debounceRendering)||Wf)(On)}function On(){var t,e,n,i,r,l,a,s;for(gt.sort(function(d,f){return d.__v.__b-f.__v.__b});t=gt.shift();)t.__d&&(e=gt.length,i=void 0,r=void 0,a=(l=(n=t).__v).__e,(s=n.__P)&&(i=[],(r=Je({},l)).__v=l.__v+1,Mo(s,l,r,n.__n,s.ownerSVGElement!==void 0,l.__h!=null?[a]:null,i,a??rn(l),l.__h),Jr(i,l),l.__e!=a&&Yr(l)),gt.length>e&&gt.sort(function(d,f){return d.__v.__b-f.__v.__b}));On.__r=0}function Qr(t,e,n,i,r,l,a,s,d,f){var u,m,p,c,_,g,h,b=i&&i.__k||jr,y=b.length;for(n.__k=[],u=0;u<e.length;u++)if((c=n.__k[u]=(c=e[u])==null||typeof c=="boolean"?null:typeof c=="string"||typeof c=="number"||typeof c=="bigint"?In(null,c,null,null,c):Array.isArray(c)?In(re,{children:c},null,null,null):c.__b>0?In(c.type,c.props,c.key,c.ref?c.ref:null,c.__v):c)!=null){if(c.__=n,c.__b=n.__b+1,(p=b[u])===null||p&&c.key==p.key&&c.type===p.type)b[u]=void 0;else for(m=0;m<y;m++){if((p=b[m])&&c.key==p.key&&c.type===p.type){b[m]=void 0;break}p=null}Mo(t,c,p=p||Rn,r,l,a,s,d,f),_=c.__e,(m=c.ref)&&p.ref!=m&&(h||(h=[]),p.ref&&h.push(p.ref,null,c),h.push(m,c.__c||_,c)),_!=null?(g==null&&(g=_),typeof c.type=="function"&&c.__k===p.__k?c.__d=d=Zr(c,d,t):d=Kr(t,c,p,b,_,d),typeof n.type=="function"&&(n.__d=d)):d&&p.__e==d&&d.parentNode!=t&&(d=rn(p))}for(n.__e=g,u=y;u--;)b[u]!=null&&(typeof n.type=="function"&&b[u].__e!=null&&b[u].__e==n.__d&&(n.__d=Xr(i).nextSibling),tl(b[u],b[u]));if(h)for(u=0;u<h.length;u++)el(h[u],h[++u],h[++u])}function Zr(t,e,n){for(var i,r=t.__k,l=0;r&&l<r.length;l++)(i=r[l])&&(i.__=t,e=typeof i.type=="function"?Zr(i,e,n):Kr(n,i,i,r,i.__e,e));return e}function Mn(t,e){return e=e||[],t==null||typeof t=="boolean"||(Array.isArray(t)?t.some(function(n){Mn(n,e)}):e.push(t)),e}function Kr(t,e,n,i,r,l){var a,s,d;if(e.__d!==void 0)a=e.__d,e.__d=void 0;else if(n==null||r!=l||r.parentNode==null)e:if(l==null||l.parentNode!==t)t.appendChild(r),a=null;else{for(s=l,d=0;(s=s.nextSibling)&&d<i.length;d+=1)if(s==r)break e;t.insertBefore(r,l),a=l}return a!==void 0?a:r.nextSibling}function Xr(t){var e,n,i;if(t.type==null||typeof t.type=="string")return t.__e;if(t.__k){for(e=t.__k.length-1;e>=0;e--)if((n=t.__k[e])&&(i=Xr(n)))return i}return null}function Mo(t,e,n,i,r,l,a,s,d){var f,u,m,p,c,_,g,h,b,y,C,k,B,S,x,w=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(d=n.__h,s=e.__e=n.__e,e.__h=null,l=[s]),(f=P.__b)&&f(e);try{e:if(typeof w=="function"){if(h=e.props,b=(f=w.contextType)&&i[f.__c],y=f?b?b.props.value:f.__:i,n.__c?g=(u=e.__c=n.__c).__=u.__E:("prototype"in w&&w.prototype.render?e.__c=u=new w(h,y):(e.__c=u=new ve(h,y),u.constructor=w,u.render=qf),b&&b.sub(u),u.props=h,u.state||(u.state={}),u.context=y,u.__n=i,m=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),w.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=Je({},u.__s)),Je(u.__s,w.getDerivedStateFromProps(h,u.__s))),p=u.props,c=u.state,u.__v=e,m)w.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(w.getDerivedStateFromProps==null&&h!==p&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(h,y),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(h,u.__s,y)===!1||e.__v===n.__v){for(e.__v!==n.__v&&(u.props=h,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(N){N&&(N.__=e)}),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&a.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(h,u.__s,y),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(p,c,_)})}if(u.context=y,u.props=h,u.__P=t,k=P.__r,B=0,"prototype"in w&&w.prototype.render){for(u.state=u.__s,u.__d=!1,k&&k(e),f=u.render(u.props,u.state,u.context),S=0;S<u._sb.length;S++)u.__h.push(u._sb[S]);u._sb=[]}else do u.__d=!1,k&&k(e),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++B<25);u.state=u.__s,u.getChildContext!=null&&(i=Je(Je({},i),u.getChildContext())),m||u.getSnapshotBeforeUpdate==null||(_=u.getSnapshotBeforeUpdate(p,c)),x=f!=null&&f.type===re&&f.key==null?f.props.children:f,Qr(t,Array.isArray(x)?x:[x],e,n,i,r,l,a,s,d),u.base=e.__e,e.__h=null,u.__h.length&&a.push(u),g&&(u.__E=u.__=null),u.__e=!1}else l==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Gf(n.__e,e,n,i,r,l,a,d);(f=P.diffed)&&f(e)}catch(N){e.__v=null,(d||l!=null)&&(e.__e=s,e.__h=!!d,l[l.indexOf(s)]=null),P.__e(N,e,n)}}function Jr(t,e){P.__c&&P.__c(e,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(i){i.call(n)})}catch(i){P.__e(i,n.__v)}})}function Gf(t,e,n,i,r,l,a,s){var d,f,u,m=n.props,p=e.props,c=e.type,_=0;if(c==="svg"&&(r=!0),l!=null){for(;_<l.length;_++)if((d=l[_])&&"setAttribute"in d==!!c&&(c?d.localName===c:d.nodeType===3)){t=d,l[_]=null;break}}if(t==null){if(c===null)return document.createTextNode(p);t=r?document.createElementNS("http://www.w3.org/2000/svg",c):document.createElement(c,p.is&&p),l=null,s=!1}if(c===null)m===p||s&&t.data===p||(t.data=p);else{if(l=l&&Vn.call(t.childNodes),f=(m=n.props||Rn).dangerouslySetInnerHTML,u=p.dangerouslySetInnerHTML,!s){if(l!=null)for(m={},_=0;_<t.attributes.length;_++)m[t.attributes[_].name]=t.attributes[_].value;(u||f)&&(u&&(f&&u.__html==f.__html||u.__html===t.innerHTML)||(t.innerHTML=u&&u.__html||""))}if(Uf(t,p,m,r,s),u)e.__k=[];else if(_=e.props.children,Qr(t,Array.isArray(_)?_:[_],e,n,i,r&&c!=="foreignObject",l,a,l?l[0]:n.__k&&rn(n,0),s),l!=null)for(_=l.length;_--;)l[_]!=null&&Ur(l[_]);s||("value"in p&&(_=p.value)!==void 0&&(_!==t.value||c==="progress"&&!_||c==="option"&&_!==m.value)&&Bn(t,"value",_,m.value,!1),"checked"in p&&(_=p.checked)!==void 0&&_!==t.checked&&Bn(t,"checked",_,m.checked,!1))}return t}function el(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(i){P.__e(i,n)}}function tl(t,e,n){var i,r;if(P.unmount&&P.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||el(i,null,e)),(i=t.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(l){P.__e(l,e)}i.base=i.__P=null,t.__c=void 0}if(i=t.__k)for(r=0;r<i.length;r++)i[r]&&tl(i[r],e,n||typeof t.type!="function");n||t.__e==null||Ur(t.__e),t.__=t.__e=t.__d=void 0}function qf(t,e,n){return this.constructor(t,n)}function ln(t,e,n){var i,r,l;P.__&&P.__(t,e),r=(i=typeof n=="function")?null:n&&n.__k||e.__k,l=[],Mo(e,t=(!i&&n||e).__k=E(re,null,[t]),r||Rn,Rn,e.ownerSVGElement!==void 0,!i&&n?[n]:r?null:e.firstChild?Vn.call(e.childNodes):null,l,!i&&n?n:r?r.__e:e.firstChild,i),Jr(l,t)}function Yf(t,e){var n={__c:e="__cC"+Hr++,__:t,Consumer:function(i,r){return i.children(r)},Provider:function(i){var r,l;return this.getChildContext||(r=[],(l={})[e]=this,this.getChildContext=function(){return l},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&r.some(function(s){s.__e=!0,Oo(s)})},this.sub=function(a){r.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){r.splice(r.indexOf(a),1),s&&s.call(a)}}),i.children}};return n.Provider.__=n.Consumer.contextType=n}Vn=jr.slice,P={__e:function(t,e,n,i){for(var r,l,a;e=e.__;)if((r=e.__c)&&!r.__)try{if((l=r.constructor)&&l.getDerivedStateFromError!=null&&(r.setState(l.getDerivedStateFromError(t)),a=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,i||{}),a=r.__d),a)return r.__E=r}catch(s){t=s}throw t}},zr=0,Pr=function(t){return t!=null&&t.constructor===void 0},Ft=!1,ve.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Je({},this.state),typeof t=="function"&&(t=t(Je({},n),this.props)),t&&Je(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Oo(this))},ve.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Oo(this))},ve.prototype.render=re,gt=[],$r=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,On.__r=0,Hr=0;var Oe,Lo,nl,ol=[],zo=[],il=P.__b,rl=P.__r,ll=P.diffed,al=P.__c,sl=P.unmount;function Qf(){for(var t;t=ol.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Ln),t.__H.__h.forEach(Po),t.__H.__h=[]}catch(e){t.__H.__h=[],P.__e(e,t.__v)}}P.__b=function(t){Oe=null,il&&il(t)},P.__r=function(t){rl&&rl(t);var e=(Oe=t.__c).__H;e&&(Lo===Oe?(e.__h=[],Oe.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=zo,n.__N=n.i=void 0})):(e.__h.forEach(Ln),e.__h.forEach(Po),e.__h=[])),Lo=Oe},P.diffed=function(t){ll&&ll(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(ol.push(e)!==1&&nl===P.requestAnimationFrame||((nl=P.requestAnimationFrame)||Zf)(Qf)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==zo&&(n.__=n.__V),n.i=void 0,n.__V=zo})),Lo=Oe=null},P.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Ln),n.__h=n.__h.filter(function(i){return!i.__||Po(i)})}catch(i){e.some(function(r){r.__h&&(r.__h=[])}),e=[],P.__e(i,n.__v)}}),al&&al(t,e)},P.unmount=function(t){sl&&sl(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(i){try{Ln(i)}catch(r){e=r}}),n.__H=void 0,e&&P.__e(e,n.__v))};var cl=typeof requestAnimationFrame=="function";function Zf(t){var e,n=function(){clearTimeout(i),cl&&cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);cl&&(e=requestAnimationFrame(n))}function Ln(t){var e=Oe,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),Oe=e}function Po(t){var e=Oe;t.__c=t.__(),Oe=e}function Kf(t,e){for(var n in e)t[n]=e[n];return t}function dl(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var i in e)if(i!=="__source"&&t[i]!==e[i])return!0;return!1}function ul(t){this.props=t}(ul.prototype=new ve).isPureReactComponent=!0,ul.prototype.shouldComponentUpdate=function(t,e){return dl(this.props,t)||dl(this.state,e)};var fl=P.__b;P.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),fl&&fl(t)};var Xf=P.__e;P.__e=function(t,e,n,i){if(t.then){for(var r,l=e;l=l.__;)if((r=l.__c)&&r.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e)}Xf(t,e,n,i)};var pl=P.unmount;function hl(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),t.__c.__H=null),(t=Kf({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(i){return hl(i,e,n)})),t}function ml(t,e,n){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(i){return ml(i,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=n)),t}function Fo(){this.__u=0,this.t=null,this.__b=null}function gl(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function zn(){this.u=null,this.o=null}P.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),pl&&pl(t)},(Fo.prototype=new ve).__c=function(t,e){var n=e.__c,i=this;i.t==null&&(i.t=[]),i.t.push(n);var r=gl(i.__v),l=!1,a=function(){l||(l=!0,n.__R=null,r?r(s):s())};n.__R=a;var s=function(){if(!--i.__u){if(i.state.__a){var f=i.state.__a;i.__v.__k[0]=ml(f,f.__c.__P,f.__c.__O)}var u;for(i.setState({__a:i.__b=null});u=i.t.pop();)u.forceUpdate()}},d=e.__h===!0;i.__u++||d||i.setState({__a:i.__b=i.__v.__k[0]}),t.then(a,a)},Fo.prototype.componentWillUnmount=function(){this.t=[]},Fo.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=hl(this.__b,n,i.__O=i.__P)}this.__b=null}var r=e.__a&&E(re,null,t.fallback);return r&&(r.__h=null),[E(re,null,e.__a?null:t.children),r]};var _l=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function Jf(t){return this.getChildContext=function(){return t.context},t.children}function ep(t){var e=this,n=t.i;e.componentWillUnmount=function(){ln(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(i){this.childNodes.push(i),e.i.appendChild(i)},insertBefore:function(i,r){this.childNodes.push(i),e.i.appendChild(i)},removeChild:function(i){this.childNodes.splice(this.childNodes.indexOf(i)>>>1,1),e.i.removeChild(i)}}),ln(E(Jf,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function tp(t,e){var n=E(ep,{__v:t,i:e});return n.containerInfo=e,n}(zn.prototype=new ve).__a=function(t){var e=this,n=gl(e.__v),i=e.o.get(t);return i[0]++,function(r){var l=function(){e.props.revealOrder?(i.push(r),_l(e,t,i)):r()};n?n(l):l()}},zn.prototype.render=function(t){this.u=null,this.o=new Map;var e=Mn(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},zn.prototype.componentDidUpdate=zn.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){_l(t,n,e)})};var np=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,op=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ip=typeof document<"u",rp=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};ve.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(ve.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var yl=P.event;function lp(){}function ap(){return this.cancelBubble}function sp(){return this.defaultPrevented}P.event=function(t){return yl&&(t=yl(t)),t.persist=lp,t.isPropagationStopped=ap,t.isDefaultPrevented=sp,t.nativeEvent=t};var bl={configurable:!0,get:function(){return this.class}},El=P.vnode;P.vnode=function(t){var e=t.type,n=t.props,i=n;if(typeof e=="string"){var r=e.indexOf("-")===-1;for(var l in i={},n){var a=n[l];ip&&l==="children"&&e==="noscript"||l==="value"&&"defaultValue"in n&&a==null||(l==="defaultValue"&&"value"in n&&n.value==null?l="value":l==="download"&&a===!0?a="":/ondoubleclick/i.test(l)?l="ondblclick":/^onchange(textarea|input)/i.test(l+e)&&!rp(n.type)?l="oninput":/^onfocus$/i.test(l)?l="onfocusin":/^onblur$/i.test(l)?l="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(l)?l=l.toLowerCase():r&&op.test(l)?l=l.replace(/[A-Z0-9]/g,"-$&").toLowerCase():a===null&&(a=void 0),/^oninput$/i.test(l)&&(l=l.toLowerCase(),i[l]&&(l="oninputCapture")),i[l]=a)}e=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=Mn(n.children).forEach(function(s){s.props.selected=i.value.indexOf(s.props.value)!=-1})),e=="select"&&i.defaultValue!=null&&(i.value=Mn(n.children).forEach(function(s){s.props.selected=i.multiple?i.defaultValue.indexOf(s.props.value)!=-1:i.defaultValue==s.props.value})),t.props=i,n.class!=n.className&&(bl.enumerable="className"in n,n.className!=null&&(i.class=n.className),Object.defineProperty(i,"className",bl))}t.$$typeof=np,El&&El(t)};var wl=P.__r;P.__r=function(t){wl&&wl(t),t.__c};const Cl=[],$o=new Map;function Ho(t){Cl.push(t),$o.forEach(e=>{vl(e,t)})}function cp(t){t.isConnected&&kl(t.getRootNode())}function kl(t){let e=$o.get(t);if(!e||!e.isConnected){if(e=t.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");const n=up();n&&(e.nonce=n);const i=t===document?document.head:t,r=t===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(e,r)}$o.set(t,e),dp(e)}}function dp(t){for(const e of Cl)vl(t,e)}function vl(t,e){const{sheet:n}=t,i=n.cssRules.length;e.split("}").forEach((r,l)=>{r=r.trim(),r&&n.insertRule(r+"}",i+l)})}let jo;function up(){return jo===void 0&&(jo=fp()),jo}function fp(){const t=document.querySelector('meta[name="csp-nonce"]');if(t&&t.hasAttribute("content"))return t.getAttribute("content");const e=document.querySelector("script[nonce]");return e&&e.nonce||""}typeof document<"u"&&kl(document);var pp=':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';Ho(pp);class Uo{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),e==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:n}=this;n[e]=(n[e]||0)+1,this.clearTimeout()}resume(e="",n){let{pauseDepths:i}=this;e in i&&(n?delete i[e]:(i[e]-=1,i[e]<=0&&delete i[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function Wo(t){t.parentNode&&t.parentNode.removeChild(t)}function _e(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(hp(t,e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}function hp(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}function mp(t,e){let n=t instanceof HTMLElement?[t]:t,i=[];for(let r=0;r<n.length;r+=1){let l=n[r].querySelectorAll(e);for(let a=0;a<l.length;a+=1)i.push(l[a])}return i}const gp=/(top|left|right|bottom|width|height)$/i;function an(t,e){for(let n in e)Sl(t,n,e[n])}function Sl(t,e,n){n==null?t.style[e]="":typeof n=="number"&&gp.test(e)?t.style[e]=`${n}px`:t.style[e]=n}function Al(t){var e,n;return(n=(e=t.composedPath)===null||e===void 0?void 0:e.call(t)[0])!==null&&n!==void 0?n:t.target}let Dl=0;function Pn(){return Dl+=1,"fc-dom-"+Dl}function Fn(t){t.preventDefault()}function _p(t,e){return n=>{let i=_e(n.target,t);i&&e.call(i,n,i)}}function xl(t,e,n,i){let r=_p(n,i);return t.addEventListener(e,r),()=>{t.removeEventListener(e,r)}}function yp(t,e,n,i){let r;return xl(t,"mouseover",e,(l,a)=>{if(a!==r){r=a,n(l,a);let s=d=>{r=null,i(d,a),a.removeEventListener("mouseleave",s)};a.addEventListener("mouseleave",s)}})}const Nl=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function bp(t,e){let n=i=>{e(i),Nl.forEach(r=>{t.removeEventListener(r,n)})};Nl.forEach(i=>{t.addEventListener(i,n)})}function Tl(t){return Object.assign({onClick:t},Vl(t))}function Vl(t){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(t(e),e.preventDefault())}}}let Rl=0;function _t(){return Rl+=1,String(Rl)}function Go(){document.body.classList.add("fc-not-allowed")}function qo(){document.body.classList.remove("fc-not-allowed")}function Ep(t){t.style.userSelect="none",t.style.webkitUserSelect="none",t.addEventListener("selectstart",Fn)}function wp(t){t.style.userSelect="",t.style.webkitUserSelect="",t.removeEventListener("selectstart",Fn)}function Cp(t){t.addEventListener("contextmenu",Fn)}function kp(t){t.removeEventListener("contextmenu",Fn)}function vp(t){let e=[],n=[],i,r;for(typeof t=="string"?n=t.split(/\s*,\s*/):typeof t=="function"?n=[t]:Array.isArray(t)&&(n=t),i=0;i<n.length;i+=1)r=n[i],typeof r=="string"?e.push(r.charAt(0)==="-"?{field:r.substring(1),order:-1}:{field:r,order:1}):typeof r=="function"&&e.push({func:r});return e}function Sp(t,e,n){let i,r;for(i=0;i<n.length;i+=1)if(r=Ap(t,e,n[i]),r)return r;return 0}function Ap(t,e,n){return n.func?n.func(t,e):Dp(t[n.field],e[n.field])*(n.order||1)}function Dp(t,e){return!t&&!e?0:e==null?-1:t==null?1:typeof t=="string"||typeof e=="string"?String(t).localeCompare(String(e)):t-e}function $t(t,e){let n=String(t);return"000".substr(0,e-n.length)+n}function sn(t,e,n){return typeof t=="function"?t(...e):typeof t=="string"?e.reduce((i,r,l)=>i.replace("$"+l,r||""),t):n}function xp(t,e){return t-e}function $n(t){return t%1===0}function Np(t){let e=t.querySelector(".fc-scrollgrid-shrink-frame"),n=t.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return t.getBoundingClientRect().width-e.getBoundingClientRect().width+n.getBoundingClientRect().width}const Il=["years","months","days","milliseconds"],Tp=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Q(t,e){return typeof t=="string"?Vp(t):typeof t=="object"&&t?Bl(t):typeof t=="number"?Bl({[e||"milliseconds"]:t}):null}function Vp(t){let e=Tp.exec(t);if(e){let n=e[1]?-1:1;return{years:0,months:0,days:n*(e[2]?parseInt(e[2],10):0),milliseconds:n*((e[3]?parseInt(e[3],10):0)*60*60*1e3+(e[4]?parseInt(e[4],10):0)*60*1e3+(e[5]?parseInt(e[5],10):0)*1e3+(e[6]?parseInt(e[6],10):0))}}return null}function Bl(t){let e={years:t.years||t.year||0,months:t.months||t.month||0,days:t.days||t.day||0,milliseconds:(t.hours||t.hour||0)*60*60*1e3+(t.minutes||t.minute||0)*60*1e3+(t.seconds||t.second||0)*1e3+(t.milliseconds||t.millisecond||t.ms||0)},n=t.weeks||t.week;return n&&(e.days+=n*7,e.specifiedWeeks=!0),e}function Rp(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function Yo(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function Ip(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function Bp(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function Op(t){return Ht(t)/365}function Mp(t){return Ht(t)/30}function Ht(t){return Te(t)/864e5}function Te(t){return t.years*(365*864e5)+t.months*(30*864e5)+t.days*864e5+t.milliseconds}function Qo(t,e){let n=null;for(let i=0;i<Il.length;i+=1){let r=Il[i];if(e[r]){let l=t[r]/e[r];if(!$n(l)||n!==null&&n!==l)return null;n=l}else if(t[r])return null}return n}function Zo(t){let e=t.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%(1e3*60)!==0)return{unit:"second",value:e/1e3};if(e%(1e3*60*60)!==0)return{unit:"minute",value:e/(1e3*60)};if(e)return{unit:"hour",value:e/(1e3*60*60)}}return t.days?t.specifiedWeeks&&t.days%7===0?{unit:"week",value:t.days/7}:{unit:"day",value:t.days}:t.months?{unit:"month",value:t.months}:t.years?{unit:"year",value:t.years}:{unit:"millisecond",value:0}}function et(t,e,n){if(t===e)return!0;let i=t.length,r;if(i!==e.length)return!1;for(r=0;r<i;r+=1)if(!(n?n(t[r],e[r]):t[r]===e[r]))return!1;return!0}const Lp=["sun","mon","tue","wed","thu","fri","sat"];function Ol(t,e){let n=nt(t);return n[2]+=e*7,we(n)}function ye(t,e){let n=nt(t);return n[2]+=e,we(n)}function tt(t,e){let n=nt(t);return n[6]+=e,we(n)}function zp(t,e){return yt(t,e)/7}function yt(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60*24)}function Pp(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60)}function Fp(t,e){return(e.valueOf()-t.valueOf())/(1e3*60)}function $p(t,e){return(e.valueOf()-t.valueOf())/1e3}function Hp(t,e){let n=ie(t),i=ie(e);return{years:0,months:0,days:Math.round(yt(n,i)),milliseconds:e.valueOf()-i.valueOf()-(t.valueOf()-n.valueOf())}}function jp(t,e){let n=Hn(t,e);return n!==null&&n%7===0?n/7:null}function Hn(t,e){return ot(t)===ot(e)?Math.round(yt(t,e)):null}function ie(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function Up(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}function Wp(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}function Gp(t){return we([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}function qp(t,e,n){let i=t.getUTCFullYear(),r=Ko(t,i,e,n);if(r<1)return Ko(t,i-1,e,n);let l=Ko(t,i+1,e,n);return l>=1?Math.min(r,l):r}function Ko(t,e,n,i){let r=we([e,0,1+Yp(e,n,i)]),l=ie(t),a=Math.round(yt(r,l));return Math.floor(a/7)+1}function Yp(t,e,n){let i=7+e-n;return-((7+we([t,0,i]).getUTCDay()-e)%7)+i-1}function Ml(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function Ll(t){return new Date(t[0],t[1]||0,t[2]==null?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function nt(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function we(t){return t.length===1&&(t=t.concat([0])),new Date(Date.UTC(...t))}function zl(t){return!isNaN(t.valueOf())}function ot(t){return t.getUTCHours()*1e3*60*60+t.getUTCMinutes()*1e3*60+t.getUTCSeconds()*1e3+t.getUTCMilliseconds()}function Pl(t,e,n=!1){let i=t.toISOString();return i=i.replace(".000",""),n&&(i=i.replace("T00:00:00Z","")),i.length>10&&(e==null?i=i.replace("Z",""):e!==0&&(i=i.replace("Z",Jo(e,!0)))),i}function Xo(t){return t.toISOString().replace(/T.*$/,"")}function Qp(t){return t.toISOString().match(/^\d{4}-\d{2}/)[0]}function Zp(t){return $t(t.getUTCHours(),2)+":"+$t(t.getUTCMinutes(),2)+":"+$t(t.getUTCSeconds(),2)}function Jo(t,e=!1){let n=t<0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),l=Math.round(i%60);return e?`${n+$t(r,2)}:${$t(l,2)}`:`GMT${n}${r}${l?`:${$t(l,2)}`:""}`}function F(t,e,n){let i,r;return function(...l){if(!i)r=t.apply(this,l);else if(!et(i,l)){n&&n(r);let a=t.apply(this,l);(!e||!e(a,r))&&(r=a)}return i=l,r}}function jn(t,e,n){let i,r;return l=>{if(!i)r=t.call(this,l);else if(!Me(i,l)){n&&n(r);let a=t.call(this,l);(!e||!e(a,r))&&(r=a)}return i=l,r}}const Fl={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Un={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Wn=/\s*([ap])\.?m\.?/i,Kp=/,/g,Xp=/\s+/g,Jp=/\u200e/g,eh=/UTC|GMT/;class th{constructor(e){let n={},i={},r=0;for(let l in e)l in Fl?(i[l]=e[l],r=Math.max(Fl[l],r)):(n[l]=e[l],l in Un&&(r=Math.max(Un[l],r)));this.standardDateProps=n,this.extendedSettings=i,this.severity=r,this.buildFormattingFunc=F($l)}format(e,n){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,n)(e)}formatRange(e,n,i,r){let{standardDateProps:l,extendedSettings:a}=this,s=ah(e.marker,n.marker,i.calendarSystem);if(!s)return this.format(e,i);let d=s;d>1&&(l.year==="numeric"||l.year==="2-digit")&&(l.month==="numeric"||l.month==="2-digit")&&(l.day==="numeric"||l.day==="2-digit")&&(d=1);let f=this.format(e,i),u=this.format(n,i);if(f===u)return f;let m=sh(l,d),p=$l(m,a,i),c=p(e),_=p(n),g=ch(f,c,u,_),h=a.separator||r||i.defaultSeparator||"";return g?g.before+c+h+_+g.after:f+h+u}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function $l(t,e,n){let i=Object.keys(t).length;return i===1&&t.timeZoneName==="short"?r=>Jo(r.timeZoneOffset):i===0&&e.week?r=>lh(n.computeWeekNumber(r.marker),n.weekText,n.weekTextLong,n.locale,e.week):nh(t,e,n)}function nh(t,e,n){t=Object.assign({},t),e=Object.assign({},e),oh(t,e),t.timeZone="UTC";let i=new Intl.DateTimeFormat(n.locale.codes,t),r;if(e.omitZeroMinute){let l=Object.assign({},t);delete l.minute,r=new Intl.DateTimeFormat(n.locale.codes,l)}return l=>{let{marker:a}=l,s;r&&!a.getUTCMinutes()?s=r:s=i;let d=s.format(a);return ih(d,l,t,e,n)}}function oh(t,e){t.timeZoneName&&(t.hour||(t.hour="2-digit"),t.minute||(t.minute="2-digit")),t.timeZoneName==="long"&&(t.timeZoneName="short"),e.omitZeroMinute&&(t.second||t.millisecond)&&delete e.omitZeroMinute}function ih(t,e,n,i,r){return t=t.replace(Jp,""),n.timeZoneName==="short"&&(t=rh(t,r.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":Jo(e.timeZoneOffset))),i.omitCommas&&(t=t.replace(Kp,"").trim()),i.omitZeroMinute&&(t=t.replace(":00","")),i.meridiem===!1?t=t.replace(Wn,"").trim():i.meridiem==="narrow"?t=t.replace(Wn,(l,a)=>a.toLocaleLowerCase()):i.meridiem==="short"?t=t.replace(Wn,(l,a)=>`${a.toLocaleLowerCase()}m`):i.meridiem==="lowercase"&&(t=t.replace(Wn,l=>l.toLocaleLowerCase())),t=t.replace(Xp," "),t=t.trim(),t}function rh(t,e){let n=!1;return t=t.replace(eh,()=>(n=!0,e)),n||(t+=` ${e}`),t}function lh(t,e,n,i,r){let l=[];return r==="long"?l.push(n):(r==="short"||r==="narrow")&&l.push(e),(r==="long"||r==="short")&&l.push(" "),l.push(i.simpleNumberFormat.format(t)),i.options.direction==="rtl"&&l.reverse(),l.join("")}function ah(t,e,n){return n.getMarkerYear(t)!==n.getMarkerYear(e)?5:n.getMarkerMonth(t)!==n.getMarkerMonth(e)?4:n.getMarkerDay(t)!==n.getMarkerDay(e)?2:ot(t)!==ot(e)?1:0}function sh(t,e){let n={};for(let i in t)(!(i in Un)||Un[i]<=e)&&(n[i]=t[i]);return n}function ch(t,e,n,i){let r=0;for(;r<t.length;){let l=t.indexOf(e,r);if(l===-1)break;let a=t.substr(0,l);r=l+e.length;let s=t.substr(r),d=0;for(;d<n.length;){let f=n.indexOf(i,d);if(f===-1)break;let u=n.substr(0,f);d=f+i.length;let m=n.substr(d);if(a===u&&s===m)return{before:a,after:s}}}return null}function Hl(t,e){let n=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function Gn(t,e,n,i){let r=Hl(t,n.calendarSystem),l=e?Hl(e,n.calendarSystem):null;return{date:r,start:r,end:l,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:i||n.defaultSeparator}}class dh{constructor(e){this.cmdStr=e}format(e,n,i){return n.cmdFormatter(this.cmdStr,Gn(e,null,n,i))}formatRange(e,n,i,r){return i.cmdFormatter(this.cmdStr,Gn(e,n,i,r))}}class uh{constructor(e){this.func=e}format(e,n,i){return this.func(Gn(e,null,n,i))}formatRange(e,n,i,r){return this.func(Gn(e,n,i,r))}}function de(t){return typeof t=="object"&&t?new th(t):typeof t=="string"?new dh(t):typeof t=="function"?new uh(t):null}const jl={navLinkDayClick:v,navLinkWeekClick:v,duration:Q,bootstrapFontAwesome:v,buttonIcons:v,customButtons:v,defaultAllDayEventDuration:Q,defaultTimedEventDuration:Q,nextDayThreshold:Q,scrollTime:Q,scrollTimeReset:Boolean,slotMinTime:Q,slotMaxTime:Q,dayPopoverFormat:de,slotDuration:Q,snapDuration:Q,headerToolbar:v,footerToolbar:v,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:de,dayHeaderClassNames:v,dayHeaderContent:v,dayHeaderDidMount:v,dayHeaderWillUnmount:v,dayCellClassNames:v,dayCellContent:v,dayCellDidMount:v,dayCellWillUnmount:v,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:v,weekNumbers:Boolean,weekNumberClassNames:v,weekNumberContent:v,weekNumberDidMount:v,weekNumberWillUnmount:v,editable:Boolean,viewClassNames:v,viewDidMount:v,viewWillUnmount:v,nowIndicator:Boolean,nowIndicatorClassNames:v,nowIndicatorContent:v,nowIndicatorDidMount:v,nowIndicatorWillUnmount:v,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:v,locale:v,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:v,eventOrder:vp,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:v,contentHeight:v,direction:String,weekNumberFormat:de,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:v,initialDate:v,now:v,eventDataTransform:v,stickyHeaderDates:v,stickyFooterScrollbar:v,viewHeight:v,defaultAllDay:Boolean,eventSourceFailure:v,eventSourceSuccess:v,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:v,eventConstraint:v,eventAllow:v,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:v,eventContent:v,eventDidMount:v,eventWillUnmount:v,selectConstraint:v,selectOverlap:v,selectAllow:v,droppable:Boolean,unselectCancel:String,slotLabelFormat:v,slotLaneClassNames:v,slotLaneContent:v,slotLaneDidMount:v,slotLaneWillUnmount:v,slotLabelClassNames:v,slotLabelContent:v,slotLabelDidMount:v,slotLabelWillUnmount:v,dayMaxEvents:v,dayMaxEventRows:v,dayMinWidth:Number,slotLabelInterval:Q,allDayText:String,allDayClassNames:v,allDayContent:v,allDayDidMount:v,allDayWillUnmount:v,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:de,rerenderDelay:Number,moreLinkText:v,moreLinkHint:v,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:v,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Q,hiddenDays:v,fixedWeekCount:Boolean,validRange:v,visibleRange:v,titleFormat:v,eventInteractive:Boolean,noEventsText:String,viewHint:v,navLinkHint:v,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:v,moreLinkClassNames:v,moreLinkContent:v,moreLinkDidMount:v,moreLinkWillUnmount:v,monthStartFormat:de,handleCustomRendering:v,customRenderingMetaMap:v,customRenderingReplaces:Boolean},cn={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},Ul={datesSet:v,eventsSet:v,eventAdd:v,eventChange:v,eventRemove:v,windowResize:v,eventClick:v,eventMouseEnter:v,eventMouseLeave:v,select:v,unselect:v,loading:v,_unmount:v,_beforeprint:v,_afterprint:v,_noEventDrop:v,_noEventResize:v,_resize:v,_scrollRequest:v},Wl={buttonText:v,buttonHints:v,views:v,plugins:v,initialEvents:v,events:v,eventSources:v},bt={headerToolbar:Et,footerToolbar:Et,buttonText:Et,buttonHints:Et,buttonIcons:Et,dateIncrement:Et,plugins:qn,events:qn,eventSources:qn,resources:qn};function Et(t,e){return typeof t=="object"&&typeof e=="object"&&t&&e?Me(t,e):t===e}function qn(t,e){return Array.isArray(t)&&Array.isArray(e)?et(t,e):t===e}const fh={type:String,component:v,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:v,usesMinMaxTime:Boolean,classNames:v,content:v,didMount:v,willUnmount:v};function ei(t){return ni(t,bt)}function ti(t,e){let n={},i={};for(let r in e)r in t&&(n[r]=e[r](t[r]));for(let r in t)r in e||(i[r]=t[r]);return{refined:n,extra:i}}function v(t){return t}const{hasOwnProperty:Yn}=Object.prototype;function ni(t,e){let n={};if(e){for(let i in e)if(e[i]===Et){let r=[];for(let l=t.length-1;l>=0;l-=1){let a=t[l][i];if(typeof a=="object"&&a)r.unshift(a);else if(a!==void 0){n[i]=a;break}}r.length&&(n[i]=ni(r))}}for(let i=t.length-1;i>=0;i-=1){let r=t[i];for(let l in r)l in n||(n[l]=r[l])}return n}function wt(t,e){let n={};for(let i in t)e(t[i],i)&&(n[i]=t[i]);return n}function $e(t,e){let n={};for(let i in t)n[i]=e(t[i],i);return n}function Gl(t){let e={};for(let n of t)e[n]=!0;return e}function oi(t){let e=[];for(let n in t)e.push(t[n]);return e}function Me(t,e){if(t===e)return!0;for(let n in t)if(Yn.call(t,n)&&!(n in e))return!1;for(let n in e)if(Yn.call(e,n)&&t[n]!==e[n])return!1;return!0}const ph=/^on[A-Z]/;function hh(t,e){const n=ii(t,e);for(let i of n)if(!ph.test(i))return!1;return!0}function ii(t,e){let n=[];for(let i in t)Yn.call(t,i)&&(i in e||n.push(i));for(let i in e)Yn.call(e,i)&&t[i]!==e[i]&&n.push(i);return n}function ri(t,e,n={}){if(t===e)return!0;for(let i in e)if(!(i in t&&mh(t[i],e[i],n[i])))return!1;for(let i in t)if(!(i in e))return!1;return!0}function mh(t,e,n){return t===e||n===!0?!0:n?n(t,e):!1}function gh(t,e=0,n,i=1){let r=[];n==null&&(n=Object.keys(t).length);for(let l=e;l<n;l+=i){let a=t[l];a!==void 0&&r.push(a)}return r}let ql={};function _h(t,e){ql[t]=e}function yh(t){return new ql[t]}class bh{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return we(e)}markerToArray(e){return nt(e)}}_h("gregory",bh);const Eh=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function wh(t){let e=Eh.exec(t);if(e){let n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?+`0.${e[12]}`*1e3:0));if(zl(n)){let i=null;return e[13]&&(i=(e[15]==="-"?-1:1)*(Number(e[16]||0)*60+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:i}}}return null}class Ch{constructor(e){let n=this.timeZone=e.timeZone,i=n!=="local"&&n!=="UTC";e.namedTimeZoneImpl&&i&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(n)),this.canComputeOffset=!!(!i||this.namedTimeZoneImpl),this.calendarSystem=yh(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,e.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof e.firstDay=="number"&&(this.weekDow=e.firstDay),typeof e.weekNumberCalculation=="function"&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=e.weekText!=null?e.weekText:e.locale.options.weekText,this.weekTextLong=(e.weekTextLong!=null?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let n=this.createMarkerMeta(e);return n===null?null:n.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):we(Ml(new Date))}createMarkerMeta(e){if(typeof e=="string")return this.parse(e);let n=null;return typeof e=="number"?n=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(n=this.timestampToMarker(e))):Array.isArray(e)&&(n=we(e)),n===null||!zl(n)?null:{marker:n,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let n=wh(e);if(n===null)return null;let{marker:i}=n,r=null;return n.timeZoneOffset!==null&&(this.canComputeOffset?i=this.timestampToMarker(i.valueOf()-n.timeZoneOffset*60*1e3):r=n.timeZoneOffset),{marker:i,isTimeUnspecified:n.isTimeUnspecified,forcedTzo:r}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,n){let i=this.calendarSystem.markerToArray(e);return i[0]+=n.years,i[1]+=n.months,i[2]+=n.days,i[6]+=n.milliseconds,this.calendarSystem.arrayToMarker(i)}subtract(e,n){let i=this.calendarSystem.markerToArray(e);return i[0]-=n.years,i[1]-=n.months,i[2]-=n.days,i[6]-=n.milliseconds,this.calendarSystem.arrayToMarker(i)}addYears(e,n){let i=this.calendarSystem.markerToArray(e);return i[0]+=n,this.calendarSystem.arrayToMarker(i)}addMonths(e,n){let i=this.calendarSystem.markerToArray(e);return i[1]+=n,this.calendarSystem.arrayToMarker(i)}diffWholeYears(e,n){let{calendarSystem:i}=this;return ot(e)===ot(n)&&i.getMarkerDay(e)===i.getMarkerDay(n)&&i.getMarkerMonth(e)===i.getMarkerMonth(n)?i.getMarkerYear(n)-i.getMarkerYear(e):null}diffWholeMonths(e,n){let{calendarSystem:i}=this;return ot(e)===ot(n)&&i.getMarkerDay(e)===i.getMarkerDay(n)?i.getMarkerMonth(n)-i.getMarkerMonth(e)+(i.getMarkerYear(n)-i.getMarkerYear(e))*12:null}greatestWholeUnit(e,n){let i=this.diffWholeYears(e,n);return i!==null?{unit:"year",value:i}:(i=this.diffWholeMonths(e,n),i!==null?{unit:"month",value:i}:(i=jp(e,n),i!==null?{unit:"week",value:i}:(i=Hn(e,n),i!==null?{unit:"day",value:i}:(i=Pp(e,n),$n(i)?{unit:"hour",value:i}:(i=Fp(e,n),$n(i)?{unit:"minute",value:i}:(i=$p(e,n),$n(i)?{unit:"second",value:i}:{unit:"millisecond",value:n.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,n,i){let r;return i.years&&(r=this.diffWholeYears(e,n),r!==null)?r/Op(i):i.months&&(r=this.diffWholeMonths(e,n),r!==null)?r/Mp(i):i.days&&(r=Hn(e,n),r!==null)?r/Ht(i):(n.valueOf()-e.valueOf())/Te(i)}startOf(e,n){return n==="year"?this.startOfYear(e):n==="month"?this.startOfMonth(e):n==="week"?this.startOfWeek(e):n==="day"?ie(e):n==="hour"?Up(e):n==="minute"?Wp(e):n==="second"?Gp(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):qp(e,this.weekDow,this.weekDoy)}format(e,n,i={}){return n.format({marker:e,timeZoneOffset:i.forcedTzo!=null?i.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,n,i,r={}){return r.isEndExclusive&&(n=tt(n,-1)),i.formatRange({marker:e,timeZoneOffset:r.forcedStartTzo!=null?r.forcedStartTzo:this.offsetForMarker(e)},{marker:n,timeZoneOffset:r.forcedEndTzo!=null?r.forcedEndTzo:this.offsetForMarker(n)},this,r.defaultSeparator)}formatIso(e,n={}){let i=null;return n.omitTimeZoneOffset||(n.forcedTzo!=null?i=n.forcedTzo:i=this.offsetForMarker(e)),Pl(e,i,n.omitTime)}timestampToMarker(e){return this.timeZone==="local"?we(Ml(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):we(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-Ll(nt(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(nt(e)):null}toDate(e,n){return this.timeZone==="local"?Ll(nt(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(nt(e))*1e3*60):new Date(e.valueOf()-(n||0))}}class dn{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let n,i;if(typeof e=="object"&&e){n=Object.assign({},this.iconClasses);for(i in e)n[i]=this.applyIconOverridePrefix(e[i]);this.iconClasses=n}else e===!1&&(this.iconClasses={})}applyIconOverridePrefix(e){let n=this.iconOverridePrefix;return n&&e.indexOf(n)!==0&&(e=n+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,n){let i;return n&&this.rtlIconClasses?i=this.rtlIconClasses[e]||this.iconClasses[e]:i=this.iconClasses[e],i?`${this.baseIconClass} ${i}`:""}getCustomButtonIconClass(e){let n;return this.iconOverrideCustomButtonOption&&(n=e[this.iconOverrideCustomButtonOption],n)?`${this.baseIconClass} ${this.applyIconOverridePrefix(n)}`:""}}dn.prototype.classes={},dn.prototype.iconClasses={},dn.prototype.baseIconClass="",dn.prototype.iconOverridePrefix="";function Yl(t){t();let e=P.debounceRendering,n=[];function i(r){n.push(r)}for(P.debounceRendering=i,ln(E(kh,{}),document.createElement("div"));n.length;)n.shift()();P.debounceRendering=e}class kh extends ve{render(){return E("div",{})}componentDidMount(){this.setState({})}}function Ql(t){let e=Yf(t),n=e.Provider;return e.Provider=function(){let i=!this.getChildContext,r=n.apply(this,arguments);if(i){let l=[];this.shouldComponentUpdate=a=>{this.props.value!==a.value&&l.forEach(s=>{s.context=a.value,s.forceUpdate()})},this.sub=a=>{l.push(a);let s=a.componentWillUnmount;a.componentWillUnmount=()=>{l.splice(l.indexOf(a),1),s&&s.call(a)}}}return r},e}class vh{constructor(e,n,i,r){this.execFunc=e,this.emitter=n,this.scrollTime=i,this.scrollTimeReset=r,this.handleScrollRequest=l=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},l),this.drain()},n.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const He=Ql({});function Sh(t,e,n,i,r,l,a,s,d,f,u,m,p){return{dateEnv:r,options:n,pluginHooks:a,emitter:f,dispatch:s,getCurrentData:d,calendarApi:u,viewSpec:t,viewApi:e,dateProfileGenerator:i,theme:l,isRtl:n.direction==="rtl",addResizeHandler(c){f.on("_resize",c)},removeResizeHandler(c){f.off("_resize",c)},createScrollResponder(c){return new vh(c,f,Q(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:m,unregisterInteractiveComponent:p}}class Ct extends ve{shouldComponentUpdate(e,n){return this.debug&&console.log(ii(e,this.props),ii(n,this.state)),!ri(this.props,e,this.propEquality)||!ri(this.state,n,this.stateEquality)}safeSetState(e){ri(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Ct.addPropsEquality=Ah,Ct.addStateEquality=Dh,Ct.contextType=He,Ct.prototype.propEquality={},Ct.prototype.stateEquality={};class J extends Ct{}J.contextType=He;function Ah(t){let e=Object.create(this.prototype.propEquality);Object.assign(e,t),this.prototype.propEquality=e}function Dh(t){let e=Object.create(this.prototype.stateEquality);Object.assign(e,t),this.prototype.stateEquality=e}function je(t,e){typeof t=="function"?t(e):t&&(t.current=e)}class li extends J{constructor(){super(...arguments),this.id=_t(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:n}=this.context,{generatorName:i}=this.props;(!n.customRenderingReplaces||!ai(i,n))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&je(this.props.elRef,e)}}render(){const{props:e,context:n}=this,{options:i}=n,{customGenerator:r,defaultGenerator:l,renderProps:a}=e,s=Zl(e,[],this.handleEl);let d=!1,f,u=[],m;if(r!=null){const p=typeof r=="function"?r(a,E):r;if(p===!0)d=!0;else{const c=p&&typeof p=="object";c&&"html"in p?s.dangerouslySetInnerHTML={__html:p.html}:c&&"domNodes"in p?u=Array.prototype.slice.call(p.domNodes):(c?Pr(p):typeof p!="function")?f=p:m=p}}else d=!ai(e.generatorName,i);return d&&l&&(f=l(a)),this.queuedDomNodes=u,this.currentGeneratorMeta=m,E(e.elTag,s,f)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var n;const{props:i,context:r}=this,{handleCustomRendering:l,customRenderingMetaMap:a}=r.options;if(l){const s=(n=this.currentGeneratorMeta)!==null&&n!==void 0?n:a==null?void 0:a[i.generatorName];s&&l(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:s},i),{elClasses:(i.elClasses||[]).filter(xh)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:n}=this,i=this.base;if(!et(e,n)){n.forEach(Wo);for(let r of e)i.appendChild(r);this.currentDomNodes=e}}}li.addPropsEquality({elClasses:et,elStyle:Me,elAttrs:hh,renderProps:Me});function ai(t,e){var n;return!!(e.handleCustomRendering&&t&&(!((n=e.customRenderingMetaMap)===null||n===void 0)&&n[t]))}function Zl(t,e,n){const i=Object.assign(Object.assign({},t.elAttrs),{ref:n});return(t.elClasses||e)&&(i.className=(t.elClasses||[]).concat(e||[]).concat(i.className||[]).filter(Boolean).join(" ")),t.elStyle&&(i.style=t.elStyle),i}function xh(t){return!!t}const Kl=Ql(0);class Se extends ve{constructor(){super(...arguments),this.InnerContent=Nh.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(je(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,n=Th(e.classNameGenerator,e.renderProps);if(e.children){const i=Zl(e,n,this.handleEl),r=e.children(this.InnerContent,e.renderProps,i);return e.elTag?E(e.elTag,i,r):r}else return E(li,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(n),renderId:this.context}))}componentDidMount(){var e,n;this.el?(n=(e=this.props).didMount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,n;(n=(e=this.props).willUnmount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}Se.contextType=Kl;function Nh(t,e){const n=t.props;return E(li,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:t.context},e))}function Th(t,e){const n=typeof t=="function"?t(e):t||[];return typeof n=="string"?[n]:n}class Qn extends J{render(){let{props:e,context:n}=this,{options:i}=n,r={view:n.viewApi};return E(Se,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Xl(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:i.viewClassNames,generatorName:void 0,didMount:i.viewDidMount,willUnmount:i.viewWillUnmount}),()=>e.children)}}function Xl(t){return[`fc-${t.type}-view`,"fc-view"]}function Vh(t,e){let n=null,i=null;return t.start&&(n=e.createMarker(t.start)),t.end&&(i=e.createMarker(t.end)),!n&&!i||n&&i&&i<n?null:{start:n,end:i}}function Jl(t,e){let n=[],{start:i}=e,r,l;for(t.sort(Rh),r=0;r<t.length;r+=1)l=t[r],l.start>i&&n.push({start:i,end:l.start}),l.end>i&&(i=l.end);return i<e.end&&n.push({start:i,end:e.end}),n}function Rh(t,e){return t.start.valueOf()-e.start.valueOf()}function kt(t,e){let{start:n,end:i}=t,r=null;return e.start!==null&&(n===null?n=e.start:n=new Date(Math.max(n.valueOf(),e.start.valueOf()))),e.end!=null&&(i===null?i=e.end:i=new Date(Math.min(i.valueOf(),e.end.valueOf()))),(n===null||i===null||n<i)&&(r={start:n,end:i}),r}function Ih(t,e){return(t.start===null?null:t.start.valueOf())===(e.start===null?null:e.start.valueOf())&&(t.end===null?null:t.end.valueOf())===(e.end===null?null:e.end.valueOf())}function si(t,e){return(t.end===null||e.start===null||t.end>e.start)&&(t.start===null||e.end===null||t.start<e.end)}function Zn(t,e){return(t.start===null||e.start!==null&&e.start>=t.start)&&(t.end===null||e.end!==null&&e.end<=t.end)}function Ue(t,e){return(t.start===null||e>=t.start)&&(t.end===null||e<t.end)}function Bh(t,e){return e.start!=null&&t<e.start?e.start:e.end!=null&&t>=e.end?new Date(e.end.valueOf()-1):t}function ea(t){let e=Math.floor(yt(t.start,t.end))||1,n=ie(t.start),i=ye(n,e);return{start:n,end:i}}function ta(t,e=Q(0)){let n=null,i=null;if(t.end){i=ie(t.end);let r=t.end.valueOf()-i.valueOf();r&&r>=Te(e)&&(i=ye(i,1))}return t.start&&(n=ie(t.start),i&&i<=n&&(i=ye(n,1))),{start:n,end:i}}function jt(t,e,n,i){return i==="year"?Q(n.diffWholeYears(t,e),"year"):i==="month"?Q(n.diffWholeMonths(t,e),"month"):Hp(t,e)}function Oh(t,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return t}}function Mh(t,e){let n=t.initialDate;return n!=null?e.createMarker(n):un(t.now,e)}function un(t,e){return typeof t=="function"&&(t=t()),t==null?e.createNowMarker():e.createMarker(t)}class na{constructor(e){this.props=e,this.nowDate=un(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,n,i){let{dateEnv:r}=this.props,l=r.subtract(r.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(l,-1,i)}buildNext(e,n,i){let{dateEnv:r}=this.props,l=r.add(r.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(l,1,i)}build(e,n,i=!0){let{props:r}=this,l,a,s,d,f,u;return l=this.buildValidRange(),l=this.trimHiddenDays(l),i&&(e=Bh(e,l)),a=this.buildCurrentRangeInfo(e,n),s=/^(year|month|week|day)$/.test(a.unit),d=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),d=this.trimHiddenDays(d),f=d,r.showNonCurrentDates||(f=kt(f,a.range)),f=this.adjustActiveRange(f),f=kt(f,l),u=si(a.range,l),Ue(d,e)||(e=d.start),{currentDate:e,validRange:l,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:f,renderRange:d,slotMinTime:r.slotMinTime,slotMaxTime:r.slotMaxTime,isValid:u,dateIncrement:this.buildDateIncrement(a.duration)}}buildValidRange(){let e=this.props.validRangeInput,n=typeof e=="function"?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(n)||{start:null,end:null}}buildCurrentRangeInfo(e,n){let{props:i}=this,r=null,l=null,a=null,s;return i.duration?(r=i.duration,l=i.durationUnit,a=this.buildRangeFromDuration(e,n,r,l)):(s=this.props.dayCount)?(l="day",a=this.buildRangeFromDayCount(e,n,s)):(a=this.buildCustomVisibleRange(e))?l=i.dateEnv.greatestWholeUnit(a.start,a.end).unit:(r=this.getFallbackDuration(),l=Zo(r).unit,a=this.buildRangeFromDuration(e,n,r,l)),{duration:r,unit:l,range:a}}getFallbackDuration(){return Q({day:1})}adjustActiveRange(e){let{dateEnv:n,usesMinMaxTime:i,slotMinTime:r,slotMaxTime:l}=this.props,{start:a,end:s}=e;return i&&(Ht(r)<0&&(a=ie(a),a=n.add(a,r)),Ht(l)>1&&(s=ie(s),s=ye(s,-1),s=n.add(s,l))),{start:a,end:s}}buildRangeFromDuration(e,n,i,r){let{dateEnv:l,dateAlignment:a}=this.props,s,d,f;if(!a){let{dateIncrement:m}=this.props;m&&Te(m)<Te(i)?a=Zo(m).unit:a=r}Ht(i)<=1&&this.isHiddenDay(s)&&(s=this.skipHiddenDays(s,n),s=ie(s));function u(){s=l.startOf(e,a),d=l.add(s,i),f={start:s,end:d}}return u(),this.trimHiddenDays(f)||(e=this.skipHiddenDays(e,n),u()),f}buildRangeFromDayCount(e,n,i){let{dateEnv:r,dateAlignment:l}=this.props,a=0,s=e,d;l&&(s=r.startOf(s,l)),s=ie(s),s=this.skipHiddenDays(s,n),d=s;do d=ye(d,1),this.isHiddenDay(d)||(a+=1);while(a<i);return{start:s,end:d}}buildCustomVisibleRange(e){let{props:n}=this,i=n.visibleRangeInput,r=typeof i=="function"?i.call(n.calendarApi,n.dateEnv.toDate(e)):i,l=this.refineRange(r);return l&&(l.start==null||l.end==null)?null:l}buildRenderRange(e,n,i){return e}buildDateIncrement(e){let{dateIncrement:n}=this.props,i;return n||((i=this.props.dateAlignment)?Q(1,i):e||Q({days:1}))}refineRange(e){if(e){let n=Vh(e,this.props.dateEnv);return n&&(n=ta(n)),n}return null}initHiddenDays(){let e=this.props.hiddenDays||[],n=[],i=0,r;for(this.props.weekends===!1&&e.push(0,6),r=0;r<7;r+=1)(n[r]=e.indexOf(r)!==-1)||(i+=1);if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}trimHiddenDays(e){let{start:n,end:i}=e;return n&&(n=this.skipHiddenDays(n)),i&&(i=this.skipHiddenDays(i,-1,!0)),n==null||i==null||n<i?{start:n,end:i}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,n=1,i=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(i?n:0)+7)%7];)e=ye(e,n);return e}}function ci(t,e,n,i){return{instanceId:_t(),defId:t,range:e,forcedStartTzo:n??null,forcedEndTzo:i??null}}function Lh(t,e,n,i){for(let r=0;r<i.length;r+=1){let l=i[r].parse(t,n);if(l){let{allDay:a}=t;return a==null&&(a=e,a==null&&(a=l.allDayGuess,a==null&&(a=!1))),{allDay:a,duration:l.duration,typeData:l.typeData,typeId:r}}}return null}function vt(t,e,n){let{dateEnv:i,pluginHooks:r,options:l}=n,{defs:a,instances:s}=t;s=wt(s,d=>!a[d.defId].recurringDef);for(let d in a){let f=a[d];if(f.recurringDef){let{duration:u}=f.recurringDef;u||(u=f.allDay?l.defaultAllDayEventDuration:l.defaultTimedEventDuration);let m=zh(f,u,e,i,r.recurringTypes);for(let p of m){let c=ci(d,{start:p,end:i.add(p,u)});s[c.instanceId]=c}}}return{defs:a,instances:s}}function zh(t,e,n,i,r){let a=r[t.recurringDef.typeId].expand(t.recurringDef.typeData,{start:i.subtract(n.start,e),end:n.end},i);return t.allDay&&(a=a.map(ie)),a}const Kn={id:String,groupId:String,title:String,url:String,interactive:Boolean},oa={start:v,end:v,date:v,allDay:Boolean},Ph=Object.assign(Object.assign(Object.assign({},Kn),oa),{extendedProps:v});function ia(t,e,n,i,r=di(n),l,a){let{refined:s,extra:d}=ra(t,n,r),f=$h(e,n),u=Lh(s,f,n.dateEnv,n.pluginHooks.recurringTypes);if(u){let p=ui(s,d,e?e.sourceId:"",u.allDay,!!u.duration,n,l);return p.recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:p,instance:null}}let m=Fh(s,f,n,i);if(m){let p=ui(s,d,e?e.sourceId:"",m.allDay,m.hasEnd,n,l),c=ci(p.defId,m.range,m.forcedStartTzo,m.forcedEndTzo);return a&&p.publicId&&a[p.publicId]&&(c.instanceId=a[p.publicId]),{def:p,instance:c}}return null}function ra(t,e,n=di(e)){return ti(t,n)}function di(t){return Object.assign(Object.assign(Object.assign({},Jn),Ph),t.pluginHooks.eventRefiners)}function ui(t,e,n,i,r,l,a){let s={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:(a&&t.id?a[t.id]:"")||_t(),sourceId:n,allDay:i,hasEnd:r,interactive:t.interactive,ui:eo(t,l),extendedProps:Object.assign(Object.assign({},t.extendedProps||{}),e)};for(let d of l.pluginHooks.eventDefMemberAdders)Object.assign(s,d(t));return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function Fh(t,e,n,i){let{allDay:r}=t,l,a=null,s=!1,d,f=null,u=t.start!=null?t.start:t.date;if(l=n.dateEnv.createMarkerMeta(u),l)a=l.marker;else if(!i)return null;return t.end!=null&&(d=n.dateEnv.createMarkerMeta(t.end)),r==null&&(e!=null?r=e:r=(!l||l.isTimeUnspecified)&&(!d||d.isTimeUnspecified)),r&&a&&(a=ie(a)),d&&(f=d.marker,r&&(f=ie(f)),a&&f<=a&&(f=null)),f?s=!0:i||(s=n.options.forceEventDuration||!1,f=n.dateEnv.add(a,r?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:r,hasEnd:s,range:{start:a,end:f},forcedStartTzo:l?l.forcedTzo:null,forcedEndTzo:d?d.forcedTzo:null}}function $h(t,e){let n=null;return t&&(n=t.defaultAllDay),n==null&&(n=e.options.defaultAllDay),n}function fn(t,e,n,i,r,l){let a=Ae(),s=di(n);for(let d of t){let f=ia(d,e,n,i,s,r,l);f&&fi(f,a)}return a}function fi(t,e=Ae()){return e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function pi(t,e){let n=t.instances[e];if(n){let i=t.defs[n.defId],r=Xn(t,l=>Hh(i,l));return r.defs[i.defId]=i,r.instances[n.instanceId]=n,r}return Ae()}function Hh(t,e){return!!(t.groupId&&t.groupId===e.groupId)}function Ae(){return{defs:{},instances:{}}}function hi(t,e){return{defs:Object.assign(Object.assign({},t.defs),e.defs),instances:Object.assign(Object.assign({},t.instances),e.instances)}}function Xn(t,e){let n=wt(t.defs,e),i=wt(t.instances,r=>n[r.defId]);return{defs:n,instances:i}}function jh(t,e){let{defs:n,instances:i}=t,r={},l={};for(let a in n)e.defs[a]||(r[a]=n[a]);for(let a in i)!e.instances[a]&&r[i[a].defId]&&(l[a]=i[a]);return{defs:r,instances:l}}function Uh(t,e){return Array.isArray(t)?fn(t,null,e,!0):typeof t=="object"&&t?fn([t],null,e,!0):t!=null?String(t):null}function la(t){return Array.isArray(t)?t:typeof t=="string"?t.split(/\s+/):[]}const Jn={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:v,overlap:v,allow:v,className:la,classNames:la,color:String,backgroundColor:String,borderColor:String,textColor:String},Wh={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function eo(t,e){let n=Uh(t.constraint,e);return{display:t.display||null,startEditable:t.startEditable!=null?t.startEditable:t.editable,durationEditable:t.durationEditable!=null?t.durationEditable:t.editable,constraints:n!=null?[n]:[],overlap:t.overlap!=null?t.overlap:null,allows:t.allow!=null?[t.allow]:[],backgroundColor:t.backgroundColor||t.color||"",borderColor:t.borderColor||t.color||"",textColor:t.textColor||"",classNames:(t.className||[]).concat(t.classNames||[])}}function aa(t){return t.reduce(Gh,Wh)}function Gh(t,e){return{display:e.display!=null?e.display:t.display,startEditable:e.startEditable!=null?e.startEditable:t.startEditable,durationEditable:e.durationEditable!=null?e.durationEditable:t.durationEditable,constraints:t.constraints.concat(e.constraints),overlap:typeof e.overlap=="boolean"?e.overlap:t.overlap,allows:t.allows.concat(e.allows),backgroundColor:e.backgroundColor||t.backgroundColor,borderColor:e.borderColor||t.borderColor,textColor:e.textColor||t.textColor,classNames:t.classNames.concat(e.classNames)}}const qh={id:String,defaultAllDay:Boolean,url:String,format:String,events:v,eventDataTransform:v,success:v,failure:v};function sa(t,e,n=ca(e)){let i;if(typeof t=="string"?i={url:t}:typeof t=="function"||Array.isArray(t)?i={events:t}:typeof t=="object"&&t&&(i=t),i){let{refined:r,extra:l}=ti(i,n),a=Yh(r,e);if(a)return{_raw:t,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:r.defaultAllDay,eventDataTransform:r.eventDataTransform,success:r.success,failure:r.failure,publicId:r.id||"",sourceId:_t(),sourceDefId:a.sourceDefId,meta:a.meta,ui:eo(r,e),extendedProps:l}}return null}function ca(t){return Object.assign(Object.assign(Object.assign({},Jn),qh),t.pluginHooks.eventSourceRefiners)}function Yh(t,e){let n=e.pluginHooks.eventSourceDefs;for(let i=n.length-1;i>=0;i-=1){let l=n[i].parseMeta(t);if(l)return{sourceDefId:i,meta:l}}return null}function Qh(t,e,n,i,r){switch(e.type){case"RECEIVE_EVENTS":return Zh(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,r);case"RESET_RAW_EVENTS":return Kh(t,n[e.sourceId],e.rawEvents,i.activeRange,r);case"ADD_EVENTS":return Xh(t,e.eventStore,i?i.activeRange:null,r);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return hi(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?vt(t,i.activeRange,r):t;case"REMOVE_EVENTS":return jh(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return pa(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Xn(t,l=>!l.sourceId);case"REMOVE_ALL_EVENTS":return Ae();default:return t}}function Zh(t,e,n,i,r,l){if(e&&n===e.latestFetchId){let a=fn(da(r,e,l),e,l);return i&&(a=vt(a,i,l)),hi(pa(t,e.sourceId),a)}return t}function Kh(t,e,n,i,r){const{defIdMap:l,instanceIdMap:a}=em(t);let s=fn(da(n,e,r),e,r,!1,l,a);return vt(s,i,r)}function da(t,e,n){let i=n.options.eventDataTransform,r=e?e.eventDataTransform:null;return r&&(t=ua(t,r)),i&&(t=ua(t,i)),t}function ua(t,e){let n;if(!e)n=t;else{n=[];for(let i of t){let r=e(i);r?n.push(r):r==null&&n.push(i)}}return n}function Xh(t,e,n,i){return n&&(e=vt(e,n,i)),hi(t,e)}function fa(t,e,n){let{defs:i}=t,r=$e(t.instances,l=>i[l.defId].allDay?l:Object.assign(Object.assign({},l),{range:{start:n.createMarker(e.toDate(l.range.start,l.forcedStartTzo)),end:n.createMarker(e.toDate(l.range.end,l.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:l.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:l.forcedEndTzo}));return{defs:i,instances:r}}function pa(t,e){return Xn(t,n=>n.sourceId!==e)}function Jh(t,e){return{defs:t.defs,instances:wt(t.instances,n=>!e[n.instanceId])}}function em(t){const{defs:e,instances:n}=t,i={},r={};for(let l in e){const a=e[l],{publicId:s}=a;s&&(i[s]=l)}for(let l in n){const a=n[l],s=e[a.defId],{publicId:d}=s;d&&(r[d]=l)}return{defIdMap:i,instanceIdMap:r}}class to{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,n){tm(this.handlers,e,n)}off(e,n){nm(this.handlers,e,n)}trigger(e,...n){let i=this.handlers[e]||[],r=this.options&&this.options[e],l=[].concat(r||[],i);for(let a of l)a.apply(this.thisContext,n)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}function tm(t,e,n){(t[e]||(t[e]=[])).push(n)}function nm(t,e,n){n?t[e]&&(t[e]=t[e].filter(i=>i!==n)):delete t[e]}const om={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function im(t,e){return fn(rm(t),null,e)}function rm(t){let e;return t===!0?e=[{}]:Array.isArray(t)?e=t.filter(n=>n.daysOfWeek):typeof t=="object"&&t?e=[t]:e=[],e=e.map(n=>Object.assign(Object.assign({},om),n)),e}function ha(t,e,n){n.emitter.trigger("select",Object.assign(Object.assign({},mi(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function lm(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}function mi(t,e){let n={};for(let i of e.pluginHooks.dateSpanTransforms)Object.assign(n,i(t,e));return Object.assign(n,Em(t,e.dateEnv)),n}function ma(t,e,n){let{dateEnv:i,options:r}=n,l=e;return t?(l=ie(l),l=i.add(l,r.defaultAllDayEventDuration)):l=i.add(l,r.defaultTimedEventDuration),l}function gi(t,e,n,i){let r=no(t.defs,e),l=Ae();for(let a in t.defs){let s=t.defs[a];l.defs[a]=am(s,r[a],n,i)}for(let a in t.instances){let s=t.instances[a],d=l.defs[s.defId];l.instances[a]=sm(s,d,r[s.defId],n,i)}return l}function am(t,e,n,i){let r=n.standardProps||{};r.hasEnd==null&&e.durationEditable&&(n.startDelta||n.endDelta)&&(r.hasEnd=!0);let l=Object.assign(Object.assign(Object.assign({},t),r),{ui:Object.assign(Object.assign({},t.ui),r.ui)});n.extendedProps&&(l.extendedProps=Object.assign(Object.assign({},l.extendedProps),n.extendedProps));for(let a of i.pluginHooks.eventDefMutationAppliers)a(l,n,i);return!l.hasEnd&&i.options.forceEventDuration&&(l.hasEnd=!0),l}function sm(t,e,n,i,r){let{dateEnv:l}=r,a=i.standardProps&&i.standardProps.allDay===!0,s=i.standardProps&&i.standardProps.hasEnd===!1,d=Object.assign({},t);return a&&(d.range=ea(d.range)),i.datesDelta&&n.startEditable&&(d.range={start:l.add(d.range.start,i.datesDelta),end:l.add(d.range.end,i.datesDelta)}),i.startDelta&&n.durationEditable&&(d.range={start:l.add(d.range.start,i.startDelta),end:d.range.end}),i.endDelta&&n.durationEditable&&(d.range={start:d.range.start,end:l.add(d.range.end,i.endDelta)}),s&&(d.range={start:d.range.start,end:ma(e.allDay,d.range.start,r)}),e.allDay&&(d.range={start:ie(d.range.start),end:ie(d.range.end)}),d.range.end<d.range.start&&(d.range.end=ma(e.allDay,d.range.start,r)),d}class Ut{constructor(e,n){this.context=e,this.internalEventSource=n}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class se{constructor(e,n,i){this._context=e,this._def=n,this._instance=i||null}setProp(e,n){if(e in oa)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")n=Kn[e](n),this.mutate({standardProps:{publicId:n}});else if(e in Kn)n=Kn[e](n),this.mutate({standardProps:{[e]:n}});else if(e in Jn){let i=Jn[e](n);e==="color"?i={backgroundColor:n,borderColor:n}:e==="editable"?i={startEditable:n,durationEditable:n}:i={[e]:n},this.mutate({standardProps:{ui:i}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,n){this.mutate({extendedProps:{[e]:n}})}setStart(e,n={}){let{dateEnv:i}=this._context,r=i.createMarker(e);if(r&&this._instance){let l=this._instance.range,a=jt(l.start,r,i,n.granularity);n.maintainDuration?this.mutate({datesDelta:a}):this.mutate({startDelta:a})}}setEnd(e,n={}){let{dateEnv:i}=this._context,r;if(!(e!=null&&(r=i.createMarker(e),!r))&&this._instance)if(r){let l=jt(this._instance.range.end,r,i,n.granularity);this.mutate({endDelta:l})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,n,i={}){let{dateEnv:r}=this._context,l={allDay:i.allDay},a=r.createMarker(e),s;if(a&&!(n!=null&&(s=r.createMarker(n),!s))&&this._instance){let d=this._instance.range;i.allDay===!0&&(d=ea(d));let f=jt(d.start,a,r,i.granularity);if(s){let u=jt(d.end,s,r,i.granularity);Rp(f,u)?this.mutate({datesDelta:f,standardProps:l}):this.mutate({startDelta:f,endDelta:u,standardProps:l})}else l.hasEnd=!1,this.mutate({datesDelta:f,standardProps:l})}}moveStart(e){let n=Q(e);n&&this.mutate({startDelta:n})}moveEnd(e){let n=Q(e);n&&this.mutate({endDelta:n})}moveDates(e){let n=Q(e);n&&this.mutate({datesDelta:n})}setAllDay(e,n={}){let i={allDay:e},{maintainDuration:r}=n;r==null&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(i.hasEnd=r),this.mutate({standardProps:i})}formatRange(e){let{dateEnv:n}=this._context,i=this._instance,r=de(e);return this._def.hasEnd?n.formatRange(i.range.start,i.range.end,r,{forcedStartTzo:i.forcedStartTzo,forcedEndTzo:i.forcedEndTzo}):n.format(i.range.start,r,{forcedTzo:i.forcedStartTzo})}mutate(e){let n=this._instance;if(n){let i=this._def,r=this._context,{eventStore:l}=r.getCurrentData(),a=pi(l,n.instanceId);a=gi(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,r);let d=new se(r,i,n);this._def=a.defs[i.defId],this._instance=a.instances[n.instanceId],r.dispatch({type:"MERGE_EVENTS",eventStore:a}),r.emitter.trigger("eventChange",{oldEvent:d,event:this,relatedEvents:St(a,r,n),revert(){r.dispatch({type:"RESET_EVENTS",eventStore:l})}})}}remove(){let e=this._context,n=ga(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:n}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:n})}})}get source(){let{sourceId:e}=this._def;return e?new Ut(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let n=this._def,{ui:i}=n,{startStr:r,endStr:l}=this,a={allDay:n.allDay};return n.title&&(a.title=n.title),r&&(a.start=r),l&&(a.end=l),n.publicId&&(a.id=n.publicId),n.groupId&&(a.groupId=n.groupId),n.url&&(a.url=n.url),i.display&&i.display!=="auto"&&(a.display=i.display),e.collapseColor&&i.backgroundColor&&i.backgroundColor===i.borderColor?a.color=i.backgroundColor:(i.backgroundColor&&(a.backgroundColor=i.backgroundColor),i.borderColor&&(a.borderColor=i.borderColor)),i.textColor&&(a.textColor=i.textColor),i.classNames.length&&(a.classNames=i.classNames),Object.keys(n.extendedProps).length&&(e.collapseExtendedProps?Object.assign(a,n.extendedProps):a.extendedProps=n.extendedProps),a}toJSON(){return this.toPlainObject()}}function ga(t){let e=t._def,n=t._instance;return{defs:{[e.defId]:e},instances:n?{[n.instanceId]:n}:{}}}function St(t,e,n){let{defs:i,instances:r}=t,l=[],a=n?n.instanceId:"";for(let s in r){let d=r[s],f=i[d.defId];d.instanceId!==a&&l.push(new se(e,f,d))}return l}function _a(t,e,n,i){let r={},l={},a={},s=[],d=[],f=no(t.defs,e);for(let u in t.defs){let m=t.defs[u];f[m.defId].display==="inverse-background"&&(m.groupId?(r[m.groupId]=[],a[m.groupId]||(a[m.groupId]=m)):l[u]=[])}for(let u in t.instances){let m=t.instances[u],p=t.defs[m.defId],c=f[p.defId],_=m.range,g=!p.allDay&&i?ta(_,i):_,h=kt(g,n);h&&(c.display==="inverse-background"?p.groupId?r[p.groupId].push(h):l[m.defId].push(h):c.display!=="none"&&(c.display==="background"?s:d).push({def:p,ui:c,instance:m,range:h,isStart:g.start&&g.start.valueOf()===h.start.valueOf(),isEnd:g.end&&g.end.valueOf()===h.end.valueOf()}))}for(let u in r){let m=r[u],p=Jl(m,n);for(let c of p){let _=a[u],g=f[_.defId];s.push({def:_,ui:g,instance:null,range:c,isStart:!1,isEnd:!1})}}for(let u in l){let m=l[u],p=Jl(m,n);for(let c of p)s.push({def:t.defs[u],ui:f[u],instance:null,range:c,isStart:!1,isEnd:!1})}return{bg:s,fg:d}}function cm(t){return t.ui.display==="background"||t.ui.display==="inverse-background"}function ya(t,e){t.fcSeg=e}function Wt(t){return t.fcSeg||t.parentNode.fcSeg||null}function no(t,e){return $e(t,n=>ba(n,e))}function ba(t,e){let n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),aa(n)}function Ea(t,e){let n=t.map(dm);return n.sort((i,r)=>Sp(i,r,e)),n.map(i=>i._seg)}function dm(t){let{eventRange:e}=t,n=e.def,i=e.instance?e.instance.range:e.range,r=i.start?i.start.valueOf():0,l=i.end?i.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:r,end:l,duration:l-r,allDay:Number(n.allDay),_seg:t})}function um(t,e){let{pluginHooks:n}=e,i=n.isDraggableTransformers,{def:r,ui:l}=t.eventRange,a=l.startEditable;for(let s of i)a=s(a,r,l,e);return a}function fm(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function pm(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function wa(t,e,n,i,r,l,a){let{dateEnv:s,options:d}=n,{displayEventTime:f,displayEventEnd:u}=d,m=t.eventRange.def,p=t.eventRange.instance;f==null&&(f=i!==!1),u==null&&(u=r!==!1);let c=p.range.start,_=p.range.end,g=l||t.start||t.eventRange.range.start,h=a||t.end||t.eventRange.range.end,b=ie(c).valueOf()===ie(g).valueOf(),y=ie(tt(_,-1)).valueOf()===ie(tt(h,-1)).valueOf();return f&&!m.allDay&&(b||y)?(g=b?c:g,h=y?_:h,u&&m.hasEnd?s.formatRange(g,h,e,{forcedStartTzo:l?null:p.forcedStartTzo,forcedEndTzo:a?null:p.forcedEndTzo}):s.format(g,e,{forcedTzo:l?null:p.forcedStartTzo})):""}function it(t,e,n){let i=t.eventRange.range;return{isPast:i.end<(n||e.start),isFuture:i.start>=(n||e.end),isToday:e&&Ue(e,i.start)}}function hm(t){let e=["fc-event"];return t.isMirror&&e.push("fc-event-mirror"),t.isDraggable&&e.push("fc-event-draggable"),(t.isStartResizable||t.isEndResizable)&&e.push("fc-event-resizable"),t.isDragging&&e.push("fc-event-dragging"),t.isResizing&&e.push("fc-event-resizing"),t.isSelected&&e.push("fc-event-selected"),t.isStart&&e.push("fc-event-start"),t.isEnd&&e.push("fc-event-end"),t.isPast&&e.push("fc-event-past"),t.isToday&&e.push("fc-event-today"),t.isFuture&&e.push("fc-event-future"),e}function Ca(t){return t.instance?t.instance.instanceId:`${t.def.defId}:${t.range.start.toISOString()}`}function ka(t,e){let{def:n,instance:i}=t.eventRange,{url:r}=n;if(r)return{href:r};let{emitter:l,options:a}=e,{eventInteractive:s}=a;return s==null&&(s=n.interactive,s==null&&(s=!!l.hasHandlers("eventClick"))),s?Vl(d=>{l.trigger("eventClick",{el:d.target,event:new se(e,n,i),jsEvent:d,view:e.viewApi})}):{}}const mm={start:v,end:v,allDay:Boolean};function gm(t,e,n){let i=_m(t,e),{range:r}=i;if(!r.start)return null;if(!r.end){if(n==null)return null;r.end=e.add(r.start,n)}return i}function _m(t,e){let{refined:n,extra:i}=ti(t,mm),r=n.start?e.createMarkerMeta(n.start):null,l=n.end?e.createMarkerMeta(n.end):null,{allDay:a}=n;return a==null&&(a=r&&r.isTimeUnspecified&&(!l||l.isTimeUnspecified)),Object.assign({range:{start:r?r.marker:null,end:l?l.marker:null},allDay:a},i)}function ym(t,e){return Ih(t.range,e.range)&&t.allDay===e.allDay&&bm(t,e)}function bm(t,e){for(let n in e)if(n!=="range"&&n!=="allDay"&&t[n]!==e[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}function Em(t,e){return Object.assign(Object.assign({},Sa(t.range,e,t.allDay)),{allDay:t.allDay})}function va(t,e,n){return Object.assign(Object.assign({},Sa(t,e,n)),{timeZone:e.timeZone})}function Sa(t,e,n){return{start:e.toDate(t.start),end:e.toDate(t.end),startStr:e.formatIso(t.start,{omitTime:n}),endStr:e.formatIso(t.end,{omitTime:n})}}function wm(t,e,n){let i=ra({editable:!1},n),r=ui(i.refined,i.extra,"",t.allDay,!0,n);return{def:r,ui:ba(r,e),instance:ci(r.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function Cm(t,e,n){let i=!1,r=function(s){i||(i=!0,e(s))},l=function(s){i||(i=!0,n(s))},a=t(r,l);a&&typeof a.then=="function"&&a.then(r,l)}class Aa extends Error{constructor(e,n){super(e),this.response=n}}function km(t,e,n){t=t.toUpperCase();const i={method:t};return t==="GET"?e+=(e.indexOf("?")===-1?"?":"&")+new URLSearchParams(n):(i.body=new URLSearchParams(n),i.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(e,i).then(r=>{if(r.ok)return r.json().then(l=>[l,r],()=>{throw new Aa("Failure parsing JSON",r)});throw new Aa("Request failed",r)})}let _i;function Da(){return _i==null&&(_i=vm()),_i}function vm(){if(typeof document>"u")return!0;let t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.innerHTML="<table><tr><td><div></div></td></tr></table>",t.querySelector("table").style.height="100px",t.querySelector("div").style.height="100%",document.body.appendChild(t);let n=t.querySelector("div").offsetHeight>0;return document.body.removeChild(t),n}class Sm extends J{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this,{options:n}=e,{forPrint:i}=this.state,r=i||n.height==="auto"||n.contentHeight==="auto",l=!r&&n.height!=null?n.height:"",a=["fc",i?"fc-media-print":"fc-media-screen",`fc-direction-${n.direction}`,e.theme.getClass("root")];return Da()||a.push("fc-liquid-hack"),e.children(a,l,r,i)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class Gt{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function Am(t,e){return{component:t,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function yi(t){return{[t.component.uid]:t}}const bi={};class Dm{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,n){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:n})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,n){let{currentDataManager:i}=this;i.currentCalendarOptionsRefiners[e]?i.emitter.on(e,n):console.warn(`Unknown listener name '${e}'`)}off(e,n){this.currentDataManager.emitter.off(e,n)}trigger(e,...n){this.currentDataManager.emitter.trigger(e,...n)}changeView(e,n){this.batchRendering(()=>{if(this.unselect(),n)if(n.start&&n.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:n});else{let{dateEnv:i}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:i.createMarker(n)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,n){let i=this.getCurrentData(),r;n=n||"day",r=i.viewSpecs[n]||this.getUnitViewSpec(n),this.unselect(),r?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:r.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:n,toolbarConfig:i}=this.getCurrentData(),r=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]),l,a;for(let s in n)r.push(s);for(l=0;l<r.length;l+=1)if(a=n[r[l]],a&&a.singleUnit===e)return a;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:un(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let n=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.createMarker(e)})}incrementDate(e){let n=this.getCurrentData(),i=Q(e);i&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.add(n.currentDate,i)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,n){let{dateEnv:i}=this.getCurrentData();return i.format(i.createMarker(e),de(n))}formatRange(e,n,i){let{dateEnv:r}=this.getCurrentData();return r.formatRange(r.createMarker(e),r.createMarker(n),de(i),i)}formatIso(e,n){let{dateEnv:i}=this.getCurrentData();return i.formatIso(i.createMarker(e),{omitTime:n})}select(e,n){let i;n==null?e.start!=null?i=e:i={start:e,end:null}:i={start:e,end:n};let r=this.getCurrentData(),l=gm(i,r.dateEnv,Q({days:1}));l&&(this.dispatch({type:"SELECT_DATES",selection:l}),ha(l,null,r))}unselect(e){let n=this.getCurrentData();n.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),lm(e,n))}addEvent(e,n){if(e instanceof se){let a=e._def,s=e._instance;return this.getCurrentData().eventStore.defs[a.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:fi({def:a,instance:s})}),this.triggerEventAdd(e)),e}let i=this.getCurrentData(),r;if(n instanceof Ut)r=n.internalEventSource;else if(typeof n=="boolean")n&&([r]=oi(i.eventSources));else if(n!=null){let a=this.getEventSourceById(n);if(!a)return console.warn(`Could not find an event source with ID "${n}"`),null;r=a.internalEventSource}let l=ia(e,r,i,!1);if(l){let a=new se(i,l.def,l.def.recurringDef?null:l.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:fi(l)}),this.triggerEventAdd(a),a}return null}triggerEventAdd(e){let{emitter:n}=this.getCurrentData();n.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:ga(e)})}})}getEventById(e){let n=this.getCurrentData(),{defs:i,instances:r}=n.eventStore;e=String(e);for(let l in i){let a=i[l];if(a.publicId===e){if(a.recurringDef)return new se(n,a,null);for(let s in r){let d=r[s];if(d.defId===a.defId)return new se(n,a,d)}}}return null}getEvents(){let e=this.getCurrentData();return St(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),n=e.eventSources,i=[];for(let r in n)i.push(new Ut(e,n[r]));return i}getEventSourceById(e){let n=this.getCurrentData(),i=n.eventSources;e=String(e);for(let r in i)if(i[r].publicId===e)return new Ut(n,i[r]);return null}addEventSource(e){let n=this.getCurrentData();if(e instanceof Ut)return n.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let i=sa(e,n);return i?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[i]}),new Ut(n,i)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let n=Q(e);n&&this.trigger("_scrollRequest",{time:n})}}function xm(t,e){return t.left>=e.left&&t.left<e.right&&t.top>=e.top&&t.top<e.bottom}function xa(t,e){let n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom?n:!1}function Nm(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}}function Tm(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function Vm(t,e){return{left:t.left-e.left,top:t.top-e.top}}const Ei=Ae();class Rm{constructor(){this.getKeysForEventDefs=F(this._getKeysForEventDefs),this.splitDateSelection=F(this._splitDateSpan),this.splitEventStore=F(this._splitEventStore),this.splitIndividualUi=F(this._splitIndividualUi),this.splitEventDrag=F(this._splitInteraction),this.splitEventResize=F(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let n=this.getKeyInfo(e),i=this.getKeysForEventDefs(e.eventStore),r=this.splitDateSelection(e.dateSelection),l=this.splitIndividualUi(e.eventUiBases,i),a=this.splitEventStore(e.eventStore,i),s=this.splitEventDrag(e.eventDrag),d=this.splitEventResize(e.eventResize),f={};this.eventUiBuilders=$e(n,(u,m)=>this.eventUiBuilders[m]||F(Im));for(let u in n){let m=n[u],p=a[u]||Ei,c=this.eventUiBuilders[u];f[u]={businessHours:m.businessHours||e.businessHours,dateSelection:r[u]||null,eventStore:p,eventUiBases:c(e.eventUiBases[""],m.ui,l[u]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:d[u]||null}}return f}_splitDateSpan(e){let n={};if(e){let i=this.getKeysForDateSpan(e);for(let r of i)n[r]=e}return n}_getKeysForEventDefs(e){return $e(e.defs,n=>this.getKeysForEventDef(n))}_splitEventStore(e,n){let{defs:i,instances:r}=e,l={};for(let a in i)for(let s of n[a])l[s]||(l[s]=Ae()),l[s].defs[a]=i[a];for(let a in r){let s=r[a];for(let d of n[s.defId])l[d]&&(l[d].instances[a]=s)}return l}_splitIndividualUi(e,n){let i={};for(let r in e)if(r)for(let l of n[r])i[l]||(i[l]={}),i[l][r]=e[r];return i}_splitInteraction(e){let n={};if(e){let i=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),l=this._splitEventStore(e.mutatedEvents,r),a=s=>{n[s]||(n[s]={affectedEvents:i[s]||Ei,mutatedEvents:l[s]||Ei,isEvent:e.isEvent})};for(let s in i)a(s);for(let s in l)a(s)}return n}}function Im(t,e,n){let i=[];t&&i.push(t),e&&i.push(e);let r={"":aa(i)};return n&&Object.assign(r,n),r}function Na(t,e,n,i){return{dow:t.getUTCDay(),isDisabled:!!(i&&!Ue(i.activeRange,t)),isOther:!!(i&&!Ue(i.currentRange,t)),isToday:!!(e&&Ue(e,t)),isPast:!!(n?t<n:e&&t<e.start),isFuture:!!(n?t>n:e&&t>=e.end)}}function wi(t,e){let n=["fc-day",`fc-day-${Lp[t.dow]}`];return t.isDisabled?n.push("fc-day-disabled"):(t.isToday&&(n.push("fc-day-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-day-past"),t.isFuture&&n.push("fc-day-future"),t.isOther&&n.push("fc-day-other")),n}const Bm=de({year:"numeric",month:"long",day:"numeric"}),Om=de({week:"long"});function oo(t,e,n="day",i=!0){const{dateEnv:r,options:l,calendarApi:a}=t;let s=r.format(e,n==="week"?Om:Bm);if(l.navLinks){let d=r.toDate(e);const f=u=>{let m=n==="day"?l.navLinkDayClick:n==="week"?l.navLinkWeekClick:null;typeof m=="function"?m.call(a,r.toDate(e),u):(typeof m=="string"&&(n=m),a.zoomTo(e,n))};return Object.assign({title:sn(l.navLinkHint,[s,d],s),"data-navlink":""},i?Tl(f):{onClick:f})}return{"aria-label":s}}let Ci=null;function Mm(){return Ci===null&&(Ci=Lm()),Ci}function Lm(){let t=document.createElement("div");an(t,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),t.innerHTML="<div></div>",document.body.appendChild(t);let n=t.firstChild.getBoundingClientRect().left>t.getBoundingClientRect().left;return Wo(t),n}let ki;function zm(){return ki||(ki=Pm()),ki}function Pm(){let t=document.createElement("div");t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t);let e=Ta(t);return document.body.removeChild(t),e}function Ta(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function Fm(t,e=!1){let n=window.getComputedStyle(t),i=parseInt(n.borderLeftWidth,10)||0,r=parseInt(n.borderRightWidth,10)||0,l=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=Ta(t),d=s.y-i-r,f=s.x-l-a,u={borderLeft:i,borderRight:r,borderTop:l,borderBottom:a,scrollbarBottom:f,scrollbarLeft:0,scrollbarRight:0};return Mm()&&n.direction==="rtl"?u.scrollbarLeft=d:u.scrollbarRight=d,e&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function $m(t,e=!1,n){let i=n?t.getBoundingClientRect():vi(t),r=Fm(t,e),l={left:i.left+r.borderLeft+r.scrollbarLeft,right:i.right-r.borderRight-r.scrollbarRight,top:i.top+r.borderTop,bottom:i.bottom-r.borderBottom-r.scrollbarBottom};return e&&(l.left+=r.paddingLeft,l.right-=r.paddingRight,l.top+=r.paddingTop,l.bottom-=r.paddingBottom),l}function vi(t){let e=t.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function Hm(t){let e=Va(t),n=t.getBoundingClientRect();for(let i of e){let r=xa(n,i.getBoundingClientRect());if(r)n=r;else return null}return n}function Va(t){let e=[];for(;t instanceof HTMLElement;){let n=window.getComputedStyle(t);if(n.position==="fixed")break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&e.push(t),t=t.parentNode}return e}class qt{constructor(e,n,i,r){this.els=n;let l=this.originClientRect=e.getBoundingClientRect();i&&this.buildElHorizontals(l.left),r&&this.buildElVerticals(l.top)}buildElHorizontals(e){let n=[],i=[];for(let r of this.els){let l=r.getBoundingClientRect();n.push(l.left-e),i.push(l.right-e)}this.lefts=n,this.rights=i}buildElVerticals(e){let n=[],i=[];for(let r of this.els){let l=r.getBoundingClientRect();n.push(l.top-e),i.push(l.bottom-e)}this.tops=n,this.bottoms=i}leftToIndex(e){let{lefts:n,rights:i}=this,r=n.length,l;for(l=0;l<r;l+=1)if(e>=n[l]&&e<i[l])return l}topToIndex(e){let{tops:n,bottoms:i}=this,r=n.length,l;for(l=0;l<r;l+=1)if(e>=n[l]&&e<i[l])return l}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return io(this.tops||[],e.tops||[])&&io(this.bottoms||[],e.bottoms||[])&&io(this.lefts||[],e.lefts||[])&&io(this.rights||[],e.rights||[])}}function io(t,e){const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(Math.round(t[i])!==Math.round(e[i]))return!1;return!0}class Si{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}}class jm extends Si{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}}class Um extends Si{getScrollTop(){return window.pageYOffset}getScrollLeft(){return window.pageXOffset}setScrollTop(e){window.scroll(window.pageXOffset,e)}setScrollLeft(e){window.scroll(e,window.pageYOffset)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class Le extends J{constructor(){super(...arguments),this.uid=_t()}prepareHits(){}queryHit(e,n,i,r){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!_e(e,".fc-event-mirror")}isValidDateDownEl(e){return!_e(e,".fc-event:not(.fc-bg-event)")&&!_e(e,".fc-more-link")&&!_e(e,"a[data-navlink]")&&!_e(e,".fc-popover")}}class Ra{constructor(e=n=>n.thickness){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let n=[];for(let i of e)this.insertEntry(i,n);return n}insertEntry(e,n){let i=this.findInsertion(e);return this.isInsertionValid(i,e)?(this.insertEntryAt(e,i),1):this.handleInvalidInsertion(i,e,n)}isInsertionValid(e,n){return(this.maxCoord===-1||e.levelCoord+this.getEntryThickness(n)<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,n,i){return this.allowReslicing&&e.touchingEntry?this.splitEntry(n,e.touchingEntry,i):(i.push(n),0)}splitEntry(e,n,i){let r=0,l=[],a=e.span,s=n.span;return a.start<s.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.start,end:s.start}},l)),a.end>s.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:a.end}},l)),r?(i.push({index:e.index,thickness:e.thickness,span:Di(s,a)},...l),r):(i.push(e),0)}insertEntryAt(e,n){let{entriesByLevel:i,levelCoords:r}=this;n.lateral===-1?(xi(r,n.level,n.levelCoord),xi(i,n.level,[e])):xi(i[n.level],n.lateral,e),this.stackCnts[At(e)]=n.stackCnt}findInsertion(e){let{levelCoords:n,entriesByLevel:i,strictOrder:r,stackCnts:l}=this,a=n.length,s=0,d=-1,f=-1,u=null,m=0;for(let _=0;_<a;_+=1){let g=n[_];if(!r&&g>=s+this.getEntryThickness(e))break;let h=i[_],b,y=Ni(h,e.span.start,Ai),C=y[0]+y[1];for(;(b=h[C])&&b.span.start<e.span.end;){let k=g+this.getEntryThickness(b);k>s&&(s=k,u=b,d=_,f=C),k===s&&(m=Math.max(m,l[At(b)]+1)),C+=1}}let p=0;if(u)for(p=d+1;p<a&&n[p]<s;)p+=1;let c=-1;return p<a&&n[p]===s&&(c=Ni(i[p],e.span.end,Ai)[0]),{touchingLevel:d,touchingLateral:f,touchingEntry:u,stackCnt:m,levelCoord:s,level:p,lateral:c}}toRects(){let{entriesByLevel:e,levelCoords:n}=this,i=e.length,r=[];for(let l=0;l<i;l+=1){let a=e[l],s=n[l];for(let d of a)r.push(Object.assign(Object.assign({},d),{thickness:this.getEntryThickness(d),levelCoord:s}))}return r}}function Ai(t){return t.span.end}function At(t){return t.index+":"+t.span.start}function Wm(t){let e=[];for(let n of t){let i=[],r={span:n.span,entries:[n]};for(let l of e)Di(l.span,r.span)?r={entries:l.entries.concat(r.entries),span:Gm(l.span,r.span)}:i.push(l);i.push(r),e=i}return e}function Gm(t,e){return{start:Math.min(t.start,e.start),end:Math.max(t.end,e.end)}}function Di(t,e){let n=Math.max(t.start,e.start),i=Math.min(t.end,e.end);return n<i?{start:n,end:i}:null}function xi(t,e,n){t.splice(e,0,n)}function Ni(t,e,n){let i=0,r=t.length;if(!r||e<n(t[i]))return[0,0];if(e>n(t[r-1]))return[r,0];for(;i<r;){let l=Math.floor(i+(r-i)/2),a=n(t[l]);if(e<a)r=l;else if(e>a)i=l+1;else return[l,1]}return[i,0]}class qm{constructor(e,n){this.emitter=new to}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const Ti={};function Ym(t,e){return!t||e>10?de({weekday:"short"}):e>1?de({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):de({weekday:"long"})}const Ia="fc-col-header-cell";function Ba(t){return t.text}class Qm extends J{render(){let{dateEnv:e,options:n,theme:i,viewApi:r}=this.context,{props:l}=this,{date:a,dateProfile:s}=l,d=Na(a,l.todayRange,null,s),f=[Ia].concat(wi(d,i)),u=e.format(a,l.dayHeaderFormat),m=!d.isDisabled&&l.colCnt>1?oo(this.context,a):{},p=Object.assign(Object.assign(Object.assign({date:e.toDate(a),view:r},l.extraRenderProps),{text:u}),d);return E(Se,{elTag:"th",elClasses:f,elAttrs:Object.assign({role:"columnheader",colSpan:l.colSpan,"data-date":d.isDisabled?void 0:Xo(a)},l.extraDataAttrs),renderProps:p,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:Ba,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},c=>E("div",{className:"fc-scrollgrid-sync-inner"},!d.isDisabled&&E(c,{elTag:"a",elAttrs:m,elClasses:["fc-col-header-cell-cushion",l.isSticky&&"fc-sticky"]})))}}const Zm=de({weekday:"long"});class Km extends J{render(){let{props:e}=this,{dateEnv:n,theme:i,viewApi:r,options:l}=this.context,a=ye(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},d=n.format(a,e.dayHeaderFormat),f=Object.assign(Object.assign(Object.assign(Object.assign({date:a},s),{view:r}),e.extraRenderProps),{text:d});return E(Se,{elTag:"th",elClasses:[Ia,...wi(s,i),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:f,generatorName:"dayHeaderContent",customGenerator:l.dayHeaderContent,defaultGenerator:Ba,classNameGenerator:l.dayHeaderClassNames,didMount:l.dayHeaderDidMount,willUnmount:l.dayHeaderWillUnmount},u=>E("div",{className:"fc-scrollgrid-sync-inner"},E(u,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(a,Zm)}})))}}class pn extends ve{constructor(e,n){super(e,n),this.initialNowDate=un(n.options.now,n.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:n}=this;return e.children(n.nowDate,n.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:n}=this,i=tt(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=n.dateEnv.startOf(i,e.unit),l=n.dateEnv.add(r,Q(1,e.unit)),a=l.valueOf()-i.valueOf();return a=Math.min(1e3*60*60*24,a),{currentState:{nowDate:r,todayRange:Oa(r)},nextState:{nowDate:l,todayRange:Oa(l)},waitMs:a}}setTimeout(){let{nextState:e,waitMs:n}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},n)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}pn.contextType=He;function Oa(t){let e=ie(t),n=ye(e,1);return{start:e,end:n}}class Ma extends J{constructor(){super(...arguments),this.createDayHeaderFormatter=F(Xm)}render(){let{context:e}=this,{dates:n,dateProfile:i,datesRepDistinctDays:r,renderIntro:l}=this.props,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,n.length);return E(pn,{unit:"day"},(s,d)=>E("tr",{role:"row"},l&&l("day"),n.map(f=>r?E(Qm,{key:f.toISOString(),date:f,dateProfile:i,todayRange:d,colCnt:n.length,dayHeaderFormat:a}):E(Km,{key:f.getUTCDay(),dow:f.getUTCDay(),dayHeaderFormat:a}))))}}function Xm(t,e,n){return t||Ym(e,n)}class La{constructor(e,n){let i=e.start,{end:r}=e,l=[],a=[],s=-1;for(;i<r;)n.isHiddenDay(i)?l.push(s+.5):(s+=1,l.push(s),a.push(i)),i=ye(i,1);this.dates=a,this.indices=l,this.cnt=a.length}sliceRange(e){let n=this.getDateDayIndex(e.start),i=this.getDateDayIndex(ye(e.end,-1)),r=Math.max(0,n),l=Math.min(this.cnt-1,i);return r=Math.ceil(r),l=Math.floor(l),r<=l?{firstIndex:r,lastIndex:l,isStart:n===r,isEnd:i===l}:null}getDateDayIndex(e){let{indices:n}=this,i=Math.floor(yt(this.dates[0],e));return i<0?n[0]-1:i>=n.length?n[n.length-1]+1:n[i]}}class za{constructor(e,n){let{dates:i}=e,r,l,a;if(n){for(l=i[0].getUTCDay(),r=1;r<i.length&&i[r].getUTCDay()!==l;r+=1);a=Math.ceil(i.length/r)}else a=1,r=i.length;this.rowCnt=a,this.colCnt=r,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let n=0;n<this.rowCnt;n+=1){let i=[];for(let r=0;r<this.colCnt;r+=1)i.push(this.buildCell(n,r));e.push(i)}return e}buildCell(e,n){let i=this.daySeries.dates[e*this.colCnt+n];return{key:i.toISOString(),date:i}}buildHeaderDates(){let e=[];for(let n=0;n<this.colCnt;n+=1)e.push(this.cells[0][n].date);return e}sliceRange(e){let{colCnt:n}=this,i=this.daySeries.sliceRange(e),r=[];if(i){let{firstIndex:l,lastIndex:a}=i,s=l;for(;s<=a;){let d=Math.floor(s/n),f=Math.min((d+1)*n,a+1);r.push({row:d,firstCol:s%n,lastCol:(f-1)%n,isStart:i.isStart&&s===l,isEnd:i.isEnd&&f-1===a}),s=f}}return r}}class Pa{constructor(){this.sliceBusinessHours=F(this._sliceBusinessHours),this.sliceDateSelection=F(this._sliceDateSpan),this.sliceEventStore=F(this._sliceEventStore),this.sliceEventDrag=F(this._sliceInteraction),this.sliceEventResize=F(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,n,i,r,...l){let{eventUiBases:a}=e,s=this.sliceEventStore(e.eventStore,a,n,i,...l);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,n,i,a,r,...l),businessHourSegs:this.sliceBusinessHours(e.businessHours,n,i,r,...l),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag(e.eventDrag,a,n,i,...l),eventResize:this.sliceEventResize(e.eventResize,a,n,i,...l),eventSelection:e.eventSelection}}sliceNowDate(e,n,i,r,...l){return this._sliceDateSpan({range:{start:e,end:tt(e,1)},allDay:!1},n,i,{},r,...l)}_sliceBusinessHours(e,n,i,r,...l){return e?this._sliceEventStore(vt(e,ro(n,!!i),r),{},n,i,...l).bg:[]}_sliceEventStore(e,n,i,r,...l){if(e){let a=_a(e,n,ro(i,!!r),r);return{bg:this.sliceEventRanges(a.bg,l),fg:this.sliceEventRanges(a.fg,l)}}return{bg:[],fg:[]}}_sliceInteraction(e,n,i,r,...l){if(!e)return null;let a=_a(e.mutatedEvents,n,ro(i,!!r),r);return{segs:this.sliceEventRanges(a.fg,l),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,n,i,r,l,...a){if(!e)return[];let s=ro(n,!!i),d=kt(e.range,s);if(d){e=Object.assign(Object.assign({},e),{range:d});let f=wm(e,r,l),u=this.sliceRange(e.range,...a);for(let m of u)m.eventRange=f;return u}return[]}sliceEventRanges(e,n){let i=[];for(let r of e)i.push(...this.sliceEventRange(r,n));return i}sliceEventRange(e,n){let i=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(i={start:i.start,end:ye(i.start,1)});let r=this.sliceRange(i,...n);for(let l of r)l.eventRange=e,l.isStart=e.isStart&&l.isStart,l.isEnd=e.isEnd&&l.isEnd;return r}}function ro(t,e){let n=t.activeRange;return e?n:{start:tt(n.start,t.slotMinTime.milliseconds),end:tt(n.end,t.slotMaxTime.milliseconds-864e5)}}function Fa(t,e,n){let{instances:i}=t.mutatedEvents;for(let r in i)if(!Zn(e.validRange,i[r].range))return!1;return $a({eventDrag:t},n)}function Jm(t,e,n){return Zn(e.validRange,t.range)?$a({dateSelection:t},n):!1}function $a(t,e){let n=e.getCurrentData(),i=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},t);return(e.pluginHooks.isPropsValid||eg)(i,e)}function eg(t,e,n={},i){return!(t.eventDrag&&!tg(t,e,n,i)||t.dateSelection&&!ng(t,e,n,i))}function tg(t,e,n,i){let r=e.getCurrentData(),l=t.eventDrag,a=l.mutatedEvents,s=a.defs,d=a.instances,f=no(s,l.isEvent?t.eventUiBases:{"":r.selectionConfig});i&&(f=$e(f,i));let u=Jh(t.eventStore,l.affectedEvents.instances),m=u.defs,p=u.instances,c=no(m,t.eventUiBases);for(let _ in d){let g=d[_],h=g.range,b=f[g.defId],y=s[g.defId];if(!Ha(b.constraints,h,u,t.businessHours,e))return!1;let{eventOverlap:C}=e.options,k=typeof C=="function"?C:null;for(let S in p){let x=p[S];if(si(h,x.range)&&(c[x.defId].overlap===!1&&l.isEvent||b.overlap===!1||k&&!k(new se(e,m[x.defId],x),new se(e,y,g))))return!1}let B=r.eventStore;for(let S of b.allows){let x=Object.assign(Object.assign({},n),{range:g.range,allDay:y.allDay}),w=B.defs[y.defId],N=B.instances[_],D;if(w?D=new se(e,w,N):D=new se(e,y),!S(mi(x,e),D))return!1}}return!0}function ng(t,e,n,i){let r=t.eventStore,l=r.defs,a=r.instances,s=t.dateSelection,d=s.range,{selectionConfig:f}=e.getCurrentData();if(i&&(f=i(f)),!Ha(f.constraints,d,r,t.businessHours,e))return!1;let{selectOverlap:u}=e.options,m=typeof u=="function"?u:null;for(let p in a){let c=a[p];if(si(d,c.range)&&(f.overlap===!1||m&&!m(new se(e,l[c.defId],c),null)))return!1}for(let p of f.allows){let c=Object.assign(Object.assign({},n),s);if(!p(mi(c,e),null))return!1}return!0}function Ha(t,e,n,i,r){for(let l of t)if(!ig(og(l,e,n,i,r),e))return!1;return!0}function og(t,e,n,i,r){return t==="businessHours"?Vi(vt(i,e,r)):typeof t=="string"?Vi(Xn(n,l=>l.groupId===t)):typeof t=="object"&&t?Vi(vt(t,e,r)):[]}function Vi(t){let{instances:e}=t,n=[];for(let i in e)n.push(e[i].range);return n}function ig(t,e){for(let n of t)if(Zn(n,e))return!0;return!1}const lo=/^(visible|hidden)$/;class rg extends J{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,je(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:n,liquidIsAbsolute:i}=e,r=n&&i,l=["fc-scroller"];return n&&(i?l.push("fc-scroller-liquid-absolute"):l.push("fc-scroller-liquid")),E("div",{ref:this.handleEl,className:l.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(lo.test(this.props.overflowX))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:i}=e;for(let r=0;r<i.length;r+=1)if(i[r].getBoundingClientRect().width>n)return!0;return!1}needsYScrolling(){if(lo.test(this.props.overflowY))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:i}=e;for(let r=0;r<i.length;r+=1)if(i[r].getBoundingClientRect().height>n)return!0;return!1}getXScrollbarWidth(){return lo.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return lo.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class We{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(n,i)=>{let{depths:r,currentMap:l}=this,a=!1,s=!1;n!==null?(a=i in l,l[i]=n,r[i]=(r[i]||0)+1,s=!0):(r[i]-=1,r[i]||(delete l[i],delete this.callbackMap[i],a=!0)),this.masterCallback&&(a&&this.masterCallback(null,String(i)),s&&this.masterCallback(n,String(i)))}}createRef(e){let n=this.callbackMap[e];return n||(n=this.callbackMap[e]=i=>{this.handleValue(i,String(e))}),n}collect(e,n,i){return gh(this.currentMap,e,n,i)}getAll(){return oi(this.currentMap)}}function lg(t){let e=mp(t,".fc-scrollgrid-shrink"),n=0;for(let i of e)n=Math.max(n,Np(i));return Math.ceil(n)}function ja(t,e){return t.liquid&&e.liquid}function ag(t,e){return e.maxHeight!=null||ja(t,e)}function sg(t,e,n,i){let{expandRows:r}=n;return typeof e.content=="function"?e.content(n):E("table",{role:"presentation",className:[e.tableClassName,t.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:r?n.clientHeight:""}},n.tableColGroupNode,E(i?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(n):e.rowContent))}function cg(t,e){return et(t,e,Me)}function dg(t,e){let n=[];for(let i of t){let r=i.span||1;for(let l=0;l<r;l+=1)n.push(E("col",{style:{width:i.width==="shrink"?ug(e):i.width||"",minWidth:i.minWidth||""}}))}return E("colgroup",{},...n)}function ug(t){return t??4}function fg(t){for(let e of t)if(e.width==="shrink")return!0;return!1}function pg(t,e){let n=["fc-scrollgrid",e.theme.getClass("table")];return t&&n.push("fc-scrollgrid-liquid"),n}function hg(t,e){let n=["fc-scrollgrid-section",`fc-scrollgrid-section-${t.type}`,t.className];return e&&t.liquid&&t.maxHeight==null&&n.push("fc-scrollgrid-section-liquid"),t.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Ri(t){return E("div",{className:"fc-scrollgrid-sticky-shim",style:{width:t.clientWidth,minWidth:t.tableMinWidth}})}function ao(t){let{stickyHeaderDates:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}function Ua(t){let{stickyFooterScrollbar:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}class Ii extends J{constructor(){super(...arguments),this.processCols=F(e=>e,cg),this.renderMicroColGroup=F(dg),this.scrollerRefs=new We,this.scrollerElRefs=new We(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:n,context:i}=this,r=e.sections||[],l=this.processCols(e.cols),a=this.renderMicroColGroup(l,n.shrinkWidth),s=pg(e.liquid,i);e.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");let d=r.length,f=0,u,m=[],p=[],c=[];for(;f<d&&(u=r[f]).type==="header";)m.push(this.renderSection(u,a,!0)),f+=1;for(;f<d&&(u=r[f]).type==="body";)p.push(this.renderSection(u,a,!1)),f+=1;for(;f<d&&(u=r[f]).type==="footer";)c.push(this.renderSection(u,a,!0)),f+=1;let _=!Da();const g={role:"rowgroup"};return E("table",{role:"grid",className:s.join(" "),style:{height:e.height}},!!(!_&&m.length)&&E("thead",g,...m),!!(!_&&p.length)&&E("tbody",g,...p),!!(!_&&c.length)&&E("tfoot",g,...c),_&&E("tbody",g,...m,...p,...c))}renderSection(e,n,i){return"outerContent"in e?E(re,{key:e.key},e.outerContent):E("tr",{key:e.key,role:"presentation",className:hg(e,this.props.liquid).join(" ")},this.renderChunkTd(e,n,e.chunk,i))}renderChunkTd(e,n,i,r){if("outerContent"in i)return i.outerContent;let{props:l}=this,{forceYScrollbars:a,scrollerClientWidths:s,scrollerClientHeights:d}=this.state,f=ag(l,e),u=ja(l,e),m=l.liquid?a?"scroll":f?"auto":"hidden":"visible",p=e.key,c=sg(e,i,{tableColGroupNode:n,tableMinWidth:"",clientWidth:!l.collapsibleWidth&&s[p]!==void 0?s[p]:null,clientHeight:d[p]!==void 0?d[p]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},r);return E(r?"th":"td",{ref:i.elRef,role:"presentation"},E("div",{className:`fc-scroller-harness${u?" fc-scroller-harness-liquid":""}`},E(rg,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:m,overflowX:l.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},c)))}_handleScrollerEl(e,n){let i=mg(this.props.sections,n);i&&je(i.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return fg(this.props.cols)?lg(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=zm(),{scrollerRefs:n,scrollerElRefs:i}=this,r=!1,l={},a={};for(let s in n.currentMap){let d=n.currentMap[s];if(d&&d.needsYScrolling()){r=!0;break}}for(let s of this.props.sections){let d=s.key,f=i.currentMap[d];if(f){let u=f.parentNode;l[d]=Math.floor(u.getBoundingClientRect().width-(r?e.y:0)),a[d]=Math.floor(u.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:l,scrollerClientHeights:a}}}Ii.addStateEquality({scrollerClientWidths:Me,scrollerClientHeights:Me});function mg(t,e){for(let n of t)if(n.key===e)return n;return null}class Bi extends J{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&ya(e,this.props.seg)}}render(){const{props:e,context:n}=this,{options:i}=n,{seg:r}=e,{eventRange:l}=r,{ui:a}=l,s={event:new se(n,l.def,l.instance),view:n.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&um(r,n),isStartResizable:!e.disableResizing&&fm(r,n),isEndResizable:!e.disableResizing&&pm(r),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!r.isStart,isEnd:!!r.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing};return E(Se,Object.assign({},e,{elRef:this.handleEl,elClasses:[...hm(s),...r.eventRange.ui.classNames,...e.elClasses||[]],renderProps:s,generatorName:"eventContent",customGenerator:i.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.eventClassNames,didMount:i.eventDidMount,willUnmount:i.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&ya(this.el,this.props.seg)}}class Wa extends J{render(){let{props:e,context:n}=this,{options:i}=n,{seg:r}=e,{ui:l}=r.eventRange,a=i.eventTimeFormat||e.defaultTimeFormat,s=wa(r,a,n,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return E(Bi,Object.assign({},e,{elTag:"a",elStyle:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},elAttrs:ka(r,n),defaultGenerator:gg,timeText:s}),(d,f)=>E(re,null,E(d,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:f.textColor}}),!!f.isStartResizable&&E("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!f.isEndResizable&&E("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function gg(t){return E("div",{className:"fc-event-main-frame"},t.timeText&&E("div",{className:"fc-event-time"},t.timeText),E("div",{className:"fc-event-title-container"},E("div",{className:"fc-event-title fc-sticky"},t.event.title||E(re,null," "))))}const Oi=t=>E(He.Consumer,null,e=>{let{options:n}=e,i={isAxis:t.isAxis,date:e.dateEnv.toDate(t.date),view:e.viewApi};return E(Se,Object.assign({},t,{elTag:t.elTag||"div",renderProps:i,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}),_g=de({day:"numeric"});class Mi extends J{constructor(){super(...arguments),this.refineRenderProps=jn(yg)}render(){let{props:e,context:n}=this,{options:i}=n,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:n.viewApi,dateEnv:n.dateEnv,monthStartFormat:i.monthStartFormat});return E(Se,Object.assign({},e,{elClasses:[...wi(r,n.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":Xo(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:i.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:i.dayCellClassNames,didMount:i.dayCellDidMount,willUnmount:i.dayCellWillUnmount}))}}function Li(t){return!!(t.dayCellContent||ai("dayCellContent",t))}function yg(t){let{date:e,dateEnv:n,dateProfile:i,isMonthStart:r}=t,l=Na(e,t.todayRange,null,i),a=t.showDayNumber?n.format(e,r?t.monthStartFormat:_g):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(e),view:t.viewApi},l),{isMonthStart:r,dayNumberText:a}),t.extraRenderProps)}class Ga extends J{render(){let{props:e}=this,{seg:n}=e;return E(Bi,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:n.eventRange.ui.backgroundColor},defaultGenerator:bg,seg:n,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function bg(t){let{title:e}=t.event;return e&&E("div",{className:"fc-event-title"},t.event.title)}function qa(t){return E("div",{className:`fc-${t}`})}const Ya=t=>E(He.Consumer,null,e=>{let{dateEnv:n,options:i}=e,{date:r}=t,l=i.weekNumberFormat||t.defaultFormat,a=n.computeWeekNumber(r),s=n.format(r,l);return E(Se,Object.assign({},t,{renderProps:{num:a,text:s,date:r},generatorName:"weekNumberContent",customGenerator:i.weekNumberContent,defaultGenerator:Eg,classNameGenerator:i.weekNumberClassNames,didMount:i.weekNumberDidMount,willUnmount:i.weekNumberWillUnmount}))});function Eg(t){return t.text}const zi=10;class wg extends J{constructor(){super(...arguments),this.state={titleId:Pn()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&je(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const n=Al(e);this.rootEl.contains(n)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:n}=this.context,{props:i,state:r}=this,l=["fc-popover",e.getClass("popover")].concat(i.extraClassNames||[]);return tp(E("div",Object.assign({},i.extraAttrs,{id:i.id,className:l.join(" "),"aria-labelledby":r.titleId,ref:this.handleRootEl}),E("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},E("span",{className:"fc-popover-title",id:r.titleId},i.title),E("span",{className:"fc-popover-close "+e.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),E("div",{className:"fc-popover-body "+e.getClass("popoverContent")},i.children)),i.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:n,alignGridTop:i}=this.props,{rootEl:r}=this,l=Hm(n);if(l){let a=r.getBoundingClientRect(),s=i?_e(n,".fc-scrollgrid").getBoundingClientRect().top:l.top,d=e?l.right-a.width:l.left;s=Math.max(s,zi),d=Math.min(d,document.documentElement.clientWidth-zi-a.width),d=Math.max(d,zi);let f=r.offsetParent.getBoundingClientRect();an(r,{top:s-f.top,left:d-f.left})}}}class Cg extends Le{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:n}=this.context,{props:i}=this,{startDate:r,todayRange:l,dateProfile:a}=i,s=n.format(r,e.dayPopoverFormat);return E(Mi,{elRef:this.handleRootEl,date:r,dateProfile:a,todayRange:l},(d,f,u)=>E(wg,{elRef:u.ref,id:i.id,title:s,extraClassNames:["fc-more-popover"].concat(u.className||[]),extraAttrs:u,parentEl:i.parentEl,alignmentEl:i.alignmentEl,alignGridTop:i.alignGridTop,onClose:i.onClose},Li(e)&&E(d,{elTag:"div",elClasses:["fc-more-popover-misc"]}),i.children))}queryHit(e,n,i,r){let{rootEl:l,props:a}=this;return e>=0&&e<i&&n>=0&&n<r?{dateProfile:a.dateProfile,dateSpan:Object.assign({allDay:!a.forceTimed,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:l,rect:{left:0,top:0,right:i,bottom:r},layer:1}:null}}class Qa extends J{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:Pn()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&je(this.props.elRef,e)},this.handleClick=e=>{let{props:n,context:i}=this,{moreLinkClick:r}=i.options,l=Za(n).start;function a(s){let{def:d,instance:f,range:u}=s.eventRange;return{event:new se(i,d,f),start:i.dateEnv.toDate(u.start),end:i.dateEnv.toDate(u.end),isStart:s.isStart,isEnd:s.isEnd}}typeof r=="function"&&(r=r({date:l,allDay:!!n.allDayDate,allSegs:n.allSegs.map(a),hiddenSegs:n.hiddenSegs.map(a),jsEvent:e,view:i.viewApi})),!r||r==="popover"?this.setState({isPopoverOpen:!0}):typeof r=="string"&&i.calendarApi.zoomTo(l,r)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:n}=this;return E(He.Consumer,null,i=>{let{viewApi:r,options:l,calendarApi:a}=i,{moreLinkText:s}=l,{moreCnt:d}=e,f=Za(e),u=typeof s=="function"?s.call(a,d):`+${d} ${s}`,m=sn(l.moreLinkHint,[d],u),p={num:d,shortText:`+${d}`,text:u,view:r};return E(re,null,!!e.moreCnt&&E(Se,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),Tl(this.handleClick)),{title:m,"aria-expanded":n.isPopoverOpen,"aria-controls":n.isPopoverOpen?n.popoverId:""}),renderProps:p,generatorName:"moreLinkContent",customGenerator:l.moreLinkContent,defaultGenerator:e.defaultGenerator||kg,classNameGenerator:l.moreLinkClassNames,didMount:l.moreLinkDidMount,willUnmount:l.moreLinkWillUnmount},e.children),n.isPopoverOpen&&E(Cg,{id:n.popoverId,startDate:f.start,endDate:f.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=_e(this.linkEl,".fc-view-harness"))}}function kg(t){return t.text}function Za(t){if(t.allDayDate)return{start:t.allDayDate,end:ye(t.allDayDate,1)};let{hiddenSegs:e}=t;return{start:Ka(e),end:Sg(e)}}function Ka(t){return t.reduce(vg).eventRange.range.start}function vg(t,e){return t.eventRange.range.start<e.eventRange.range.start?t:e}function Sg(t){return t.reduce(Ag).eventRange.range.end}function Ag(t,e){return t.eventRange.range.end>e.eventRange.range.end?t:e}class Dg{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(let n of this.handlers)n(e)}subscribe(e){this.handlers.push(e),this.currentValue!==void 0&&e(this.currentValue)}}class xg extends Dg{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:n}=this;let i=!1;e.isActive?(n.set(e.id,e),i=!0):n.has(e.id)&&(n.delete(e.id),i=!0),i&&this.set(n)}}const Ng=[],Xa={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Ja=Object.assign(Object.assign({},Xa),{buttonHints:{prev:"Previous $0",next:"Next $0",today(t,e){return e==="day"?"Today":`This ${t}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(t){return`Show ${t} more event${t===1?"":"s"}`}});function Tg(t){let e=t.length>0?t[0].code:"en",n=Ng.concat(t),i={en:Ja};for(let r of n)i[r.code]=r;return{map:i,defaultCode:e}}function es(t,e){return typeof t=="object"&&!Array.isArray(t)?ts(t.code,[t.code],t):Vg(t,e)}function Vg(t,e){let n=[].concat(t||[]),i=Rg(n,e)||Ja;return ts(t,n,i)}function Rg(t,e){for(let n=0;n<t.length;n+=1){let i=t[n].toLocaleLowerCase().split("-");for(let r=i.length;r>0;r-=1){let l=i.slice(0,r).join("-");if(e[l])return e[l]}}return null}function ts(t,e,n){let i=ni([Xa,n],["buttonText"]);delete i.code;let{week:r}=i;return delete i.week,{codeArg:t,codes:e,week:r,simpleNumberFormat:new Intl.NumberFormat(t),options:i}}function Ge(t){return{id:_t(),name:t.name,premiumReleaseDate:t.premiumReleaseDate?new Date(t.premiumReleaseDate):void 0,deps:t.deps||[],reducers:t.reducers||[],isLoadingFuncs:t.isLoadingFuncs||[],contextInit:[].concat(t.contextInit||[]),eventRefiners:t.eventRefiners||{},eventDefMemberAdders:t.eventDefMemberAdders||[],eventSourceRefiners:t.eventSourceRefiners||{},isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],viewContainerAppends:t.viewContainerAppends||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,initialView:t.initialView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{},scrollGridImpl:t.scrollGridImpl||null,listenerRefiners:t.listenerRefiners||{},optionRefiners:t.optionRefiners||{},propSetHandlers:t.propSetHandlers||{}}}function Ig(t,e){let n={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function r(l){for(let a of l){const s=a.name,d=n[s];d===void 0?(n[s]=a.id,r(a.deps),i=Og(i,a)):d!==a.id&&console.warn(`Duplicate plugin '${s}'`)}}return t&&r(t),r(e),i}function Bg(){let t=[],e=[],n;return(i,r)=>((!n||!et(i,t)||!et(r,e))&&(n=Ig(i,r)),t=i,e=r,n)}function Og(t,e){return{premiumReleaseDate:Mg(t.premiumReleaseDate,e.premiumReleaseDate),reducers:t.reducers.concat(e.reducers),isLoadingFuncs:t.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:t.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},t.eventRefiners),e.eventRefiners),eventDefMemberAdders:t.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},t.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:t.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},t.views),e.views),viewPropsTransformers:t.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:t.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:t.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(e.calendarInteractions),componentInteractions:t.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},t.themeClasses),e.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||t.namedTimeZonedImpl,initialView:t.initialView||e.initialView,elementDraggingImpl:t.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},t.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||t.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},t.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},t.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},t.propSetHandlers),e.propSetHandlers)}}function Mg(t,e){return t===void 0?e:e===void 0?t:new Date(Math.max(t.valueOf(),e.valueOf()))}class rt extends dn{}rt.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},rt.prototype.baseIconClass="fc-icon",rt.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},rt.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},rt.prototype.iconOverrideOption="buttonIcons",rt.prototype.iconOverrideCustomButtonOption="icon",rt.prototype.iconOverridePrefix="fc-icon-";function Lg(t,e){let n={},i;for(i in t)Pi(i,n,t,e);for(i in e)Pi(i,n,t,e);return n}function Pi(t,e,n,i){if(e[t])return e[t];let r=zg(t,e,n,i);return r&&(e[t]=r),r}function zg(t,e,n,i){let r=n[t],l=i[t],a=u=>r&&r[u]!==null?r[u]:l&&l[u]!==null?l[u]:null,s=a("component"),d=a("superType"),f=null;if(d){if(d===t)throw new Error("Can't have a custom view type that references itself");f=Pi(d,e,n,i)}return!s&&f&&(s=f.component),s?{type:t,component:s,defaults:Object.assign(Object.assign({},f?f.defaults:{}),r?r.rawOptions:{}),overrides:Object.assign(Object.assign({},f?f.overrides:{}),l?l.rawOptions:{})}:null}function ns(t){return $e(t,Pg)}function Pg(t){let e=typeof t=="function"?{component:t}:t,{component:n}=e;return e.content?n=os(e):n&&!(n.prototype instanceof J)&&(n=os(Object.assign(Object.assign({},e),{content:n}))),{superType:e.type,component:n,rawOptions:e}}function os(t){return e=>E(He.Consumer,null,n=>E(Se,{elTag:"div",elClasses:Xl(n.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:t.content,classNameGenerator:t.classNames,didMount:t.didMount,willUnmount:t.willUnmount}))}function Fg(t,e,n,i){let r=ns(t),l=ns(e.views),a=Lg(r,l);return $e(a,s=>$g(s,l,e,n,i))}function $g(t,e,n,i,r){let l=t.overrides.duration||t.defaults.duration||i.duration||n.duration,a=null,s="",d="",f={};if(l&&(a=Hg(l),a)){let p=Zo(a);s=p.unit,p.value===1&&(d=s,f=e[s]?e[s].rawOptions:{})}let u=p=>{let c=p.buttonText||{},_=t.defaults.buttonTextKey;return _!=null&&c[_]!=null?c[_]:c[t.type]!=null?c[t.type]:c[d]!=null?c[d]:null},m=p=>{let c=p.buttonHints||{},_=t.defaults.buttonTextKey;return _!=null&&c[_]!=null?c[_]:c[t.type]!=null?c[t.type]:c[d]!=null?c[d]:null};return{type:t.type,component:t.component,duration:a,durationUnit:s,singleUnit:d,optionDefaults:t.defaults,optionOverrides:Object.assign(Object.assign({},f),t.overrides),buttonTextOverride:u(i)||u(n)||t.overrides.buttonText,buttonTextDefault:u(r)||t.defaults.buttonText||u(cn)||t.type,buttonTitleOverride:m(i)||m(n)||t.overrides.buttonHint,buttonTitleDefault:m(r)||t.defaults.buttonHint||m(cn)}}let is={};function Hg(t){let e=JSON.stringify(t),n=is[e];return n===void 0&&(n=Q(t),is[e]=n),n}function jg(t,e){switch(e.type){case"CHANGE_VIEW_TYPE":t=e.viewType}return t}function Ug(t,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue});default:return t}}function Wg(t,e,n,i){let r;switch(e.type){case"CHANGE_VIEW_TYPE":return i.build(e.dateMarker||n);case"CHANGE_DATE":return i.build(e.dateMarker);case"PREV":if(r=i.buildPrev(t,n),r.isValid)return r;break;case"NEXT":if(r=i.buildNext(t,n),r.isValid)return r;break}return t}function Gg(t,e,n){let i=e?e.activeRange:null;return ls({},Jg(t,n),i,n)}function qg(t,e,n,i){let r=n?n.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return ls(t,e.sources,r,i);case"REMOVE_EVENT_SOURCE":return Qg(t,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?as(t,r,i):t;case"FETCH_EVENT_SOURCES":return Fi(t,e.sourceIds?Gl(e.sourceIds):ss(t,i),r,e.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Xg(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}function Yg(t,e,n){let i=e?e.activeRange:null;return Fi(t,ss(t,n),i,!0,n)}function rs(t){for(let e in t)if(t[e].isFetching)return!0;return!1}function ls(t,e,n,i){let r={};for(let l of e)r[l.sourceId]=l;return n&&(r=as(r,n,i)),Object.assign(Object.assign({},t),r)}function Qg(t,e){return wt(t,n=>n.sourceId!==e)}function as(t,e,n){return Fi(t,wt(t,i=>Zg(i,e,n)),e,!1,n)}function Zg(t,e,n){return cs(t,n)?!n.options.lazyFetching||!t.fetchRange||t.isFetching||e.start<t.fetchRange.start||e.end>t.fetchRange.end:!t.latestFetchId}function Fi(t,e,n,i,r){let l={};for(let a in t){let s=t[a];e[a]?l[a]=Kg(s,n,i,r):l[a]=s}return l}function Kg(t,e,n,i){let{options:r,calendarApi:l}=i,a=i.pluginHooks.eventSourceDefs[t.sourceDefId],s=_t();return a.fetch({eventSource:t,range:e,isRefetch:n,context:i},d=>{let{rawEvents:f}=d;r.eventSourceSuccess&&(f=r.eventSourceSuccess.call(l,f,d.response)||f),t.success&&(f=t.success.call(l,f,d.response)||f),i.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:s,fetchRange:e,rawEvents:f})},d=>{let f=!1;r.eventSourceFailure&&(r.eventSourceFailure.call(l,d),f=!0),t.failure&&(t.failure(d),f=!0),f||console.warn(d.message,d),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:s,fetchRange:e,error:d})}),Object.assign(Object.assign({},t),{isFetching:!0,latestFetchId:s})}function Xg(t,e,n,i){let r=t[e];return r&&n===r.latestFetchId?Object.assign(Object.assign({},t),{[e]:Object.assign(Object.assign({},r),{isFetching:!1,fetchRange:i})}):t}function ss(t,e){return wt(t,n=>cs(n,e))}function Jg(t,e){let n=ca(e),i=[].concat(t.eventSources||[]),r=[];t.initialEvents&&i.unshift(t.initialEvents),t.events&&i.unshift(t.events);for(let l of i){let a=sa(l,e,n);a&&r.push(a)}return r}function cs(t,e){return!e.pluginHooks.eventSourceDefs[t.sourceDefId].ignoreRange}function e0(t,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return t}}function t0(t,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return t}}function n0(t,e){let n;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function o0(t,e){let n;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function i0(t,e,n,i,r){let l=t.headerToolbar?ds(t.headerToolbar,t,e,n,i,r):null,a=t.footerToolbar?ds(t.footerToolbar,t,e,n,i,r):null;return{header:l,footer:a}}function ds(t,e,n,i,r,l){let a={},s=[],d=!1;for(let f in t){let u=t[f],m=r0(u,e,n,i,r,l);a[f]=m.widgets,s.push(...m.viewsWithButtons),d=d||m.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:d}}function r0(t,e,n,i,r,l){let a=e.direction==="rtl",s=e.customButtons||{},d=n.buttonText||{},f=e.buttonText||{},u=n.buttonHints||{},m=e.buttonHints||{},p=t?t.split(" "):[],c=[],_=!1;return{widgets:p.map(h=>h.split(",").map(b=>{if(b==="title")return _=!0,{buttonName:b};let y,C,k,B,S,x;if(y=s[b])k=w=>{y.click&&y.click.call(w.target,w,w.target)},(B=i.getCustomButtonIconClass(y))||(B=i.getIconClass(b,a))||(S=y.text),x=y.hint||y.text;else if(C=r[b]){c.push(b),k=()=>{l.changeView(b)},(S=C.buttonTextOverride)||(B=i.getIconClass(b,a))||(S=C.buttonTextDefault);let w=C.buttonTextOverride||C.buttonTextDefault;x=sn(C.buttonTitleOverride||C.buttonTitleDefault||e.viewHint,[w,b],w)}else if(l[b])if(k=()=>{l[b]()},(S=d[b])||(B=i.getIconClass(b,a))||(S=f[b]),b==="prevYear"||b==="nextYear"){let w=b==="prevYear"?"prev":"next";x=sn(u[w]||m[w],[f.year||"year","year"],f[b])}else x=w=>sn(u[b]||m[b],[f[w]||w,w],f[b]);return{buttonName:b,buttonClick:k,buttonIcon:B,buttonText:S,buttonHint:x}})),viewsWithButtons:c,hasTitle:_}}class l0{constructor(e,n,i){this.type=e,this.getCurrentData=n,this.dateEnv=i}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}const a0=Ge({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta(t){return Array.isArray(t.events)?t.events:null},fetch(t,e){e({rawEvents:t.eventSource.meta})}}]}),s0=Ge({name:"func-event-source",eventSourceDefs:[{parseMeta(t){return typeof t.events=="function"?t.events:null},fetch(t,e,n){const{dateEnv:i}=t.context,r=t.eventSource.meta;Cm(r.bind(null,va(t.range,i)),l=>e({rawEvents:l}),n)}}]}),c0=Ge({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:v,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta(t){return t.url&&(t.format==="json"||!t.format)?{url:t.url,format:"json",method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}:null},fetch(t,e,n){const{meta:i}=t.eventSource,r=d0(i,t.range,t.context);km(i.method,i.url,r).then(([l,a])=>{e({rawEvents:l,response:a})},n)}}]});function d0(t,e,n){let{dateEnv:i,options:r}=n,l,a,s,d,f={};return l=t.startParam,l==null&&(l=r.startParam),a=t.endParam,a==null&&(a=r.endParam),s=t.timeZoneParam,s==null&&(s=r.timeZoneParam),typeof t.extraParams=="function"?d=t.extraParams():d=t.extraParams||{},Object.assign(f,d),f[l]=i.formatIso(e.start),f[a]=i.formatIso(e.end),i.timeZone!=="local"&&(f[s]=i.timeZone),f}const u0=Ge({name:"simple-recurring-event",recurringTypes:[{parse(t,e){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){let n={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?e.createMarker(t.startRecur):null,endRecur:t.endRecur?e.createMarker(t.endRecur):null},i;return t.duration&&(i=t.duration),!i&&t.startTime&&t.endTime&&(i=Ip(t.endTime,t.startTime)),{allDayGuess:!t.startTime&&!t.endTime,duration:i,typeData:n}}return null},expand(t,e,n){let i=kt(e,{start:t.startRecur,end:t.endRecur});return i?f0(t.daysOfWeek,t.startTime,i,n):[]}}],eventRefiners:{daysOfWeek:v,startTime:Q,endTime:Q,duration:Q,startRecur:v,endRecur:v}});function f0(t,e,n,i){let r=t?Gl(t):null,l=ie(n.start),a=n.end,s=[];for(;l<a;){let d;(!r||r[l.getUTCDay()])&&(e?d=i.add(l,e):d=l,s.push(d)),l=ye(l,1)}return s}const p0=Ge({name:"change-handler",optionChangeHandlers:{events(t,e){us([t],e)},eventSources:us}});function us(t,e){let n=oi(e.getCurrentData().eventSources);if(n.length===1&&t.length===1&&Array.isArray(n[0]._raw)&&Array.isArray(t[0])){e.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:t[0]});return}let i=[];for(let r of t){let l=!1;for(let a=0;a<n.length;a+=1)if(n[a]._raw===r){n.splice(a,1),l=!0;break}l||i.push(r)}for(let r of n)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:r.sourceId});for(let r of i)e.calendarApi.addEventSource(r)}function h0(t,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},va(t.activeRange,e.dateEnv)),{view:e.viewApi}))}function m0(t,e){let{emitter:n}=e;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",St(t,e))}const g0=[a0,s0,c0,u0,p0,Ge({name:"misc",isLoadingFuncs:[t=>rs(t.eventSources)],propSetHandlers:{dateProfile:h0,eventStore:m0}})];class _0{constructor(e,n){this.runTaskOption=e,this.drainedOption=n,this.queue=[],this.delayedRunner=new Uo(this.drain.bind(this))}request(e,n){this.queue.push(e),this.delayedRunner.request(n)}pause(e){this.delayedRunner.pause(e)}resume(e,n){this.delayedRunner.resume(e,n)}drain(){let{queue:e}=this;for(;e.length;){let n=[],i;for(;i=e.shift();)this.runTask(i),n.push(i);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function y0(t,e,n){let i;return/^(year|month)$/.test(t.currentRangeUnit)?i=t.currentRange:i=t.activeRange,n.formatRange(i.start,i.end,de(e.titleFormat||b0(t)),{isEndExclusive:t.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function b0(t){let{currentRangeUnit:e}=t;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let n=Hn(t.currentRange.start,t.currentRange.end);return n!==null&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class E0{constructor(e){this.computeCurrentViewData=F(this._computeCurrentViewData),this.organizeRawLocales=F(Tg),this.buildLocale=F(es),this.buildPluginHooks=Bg(),this.buildDateEnv=F(w0),this.buildTheme=F(C0),this.parseToolbars=F(i0),this.buildViewSpecs=F(Fg),this.buildDateProfileGenerator=jn(k0),this.buildViewApi=F(v0),this.buildViewUiProps=jn(D0),this.buildEventUiBySource=F(S0,Me),this.buildEventUiBases=F(A0),this.parseContextBusinessHours=jn(x0),this.buildTitle=F(y0),this.emitter=new to,this.actionRunner=new _0(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=p=>{this.actionRunner.request(p)},this.props=e,this.actionRunner.pause();let n={},i=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),r=i.calendarOptions.initialView||i.pluginHooks.initialView,l=this.computeCurrentViewData(r,i,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(l.options);let a=Mh(i.calendarOptions,i.dateEnv),s=l.dateProfileGenerator.build(a);Ue(s.activeRange,a)||(a=s.currentRange.start);let d={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let p of i.pluginHooks.contextInit)p(d);let f=Gg(i.calendarOptions,s,d),u={dynamicOptionOverrides:n,currentViewType:r,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(d),eventSources:f,eventUiBases:{},eventStore:Ae(),renderableEventStore:Ae(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(d).selectionConfig},m=Object.assign(Object.assign({},d),u);for(let p of i.pluginHooks.reducers)Object.assign(u,p(null,null,m));$i(u,d)&&this.emitter.trigger("loading",!0),this.state=u,this.updateData(),this.actionRunner.resume()}resetOptions(e,n){let{props:i}=this;n===void 0?i.optionOverrides=e:(i.optionOverrides=Object.assign(Object.assign({},i.optionOverrides||{}),e),this.optionsForRefining.push(...n)),(n===void 0||n.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:n,state:i,emitter:r}=this,l=Ug(i.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,l,n.calendarApi),s=jg(i.currentViewType,e),d=this.computeCurrentViewData(s,a,n.optionOverrides,l);n.calendarApi.currentDataManager=this,r.setThisContext(n.calendarApi),r.setOptions(d.options);let f={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:r,getCurrentData:this.getCurrentData},{currentDate:u,dateProfile:m}=i;this.data&&this.data.dateProfileGenerator!==d.dateProfileGenerator&&(m=d.dateProfileGenerator.build(u)),u=Oh(u,e),m=Wg(m,e,u,d.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!Ue(m.currentRange,u))&&(u=m.currentRange.start);let p=qg(i.eventSources,e,m,f),c=Qh(i.eventStore,e,p,m,f),g=rs(p)&&!d.options.progressiveEventRendering&&i.renderableEventStore||c,{eventUiSingleBase:h,selectionConfig:b}=this.buildViewUiProps(f),y=this.buildEventUiBySource(p),C=this.buildEventUiBases(g.defs,h,y),k={dynamicOptionOverrides:l,currentViewType:s,currentDate:u,dateProfile:m,eventSources:p,eventStore:c,renderableEventStore:g,selectionConfig:b,eventUiBases:C,businessHours:this.parseContextBusinessHours(f),dateSelection:e0(i.dateSelection,e),eventSelection:t0(i.eventSelection,e),eventDrag:n0(i.eventDrag,e),eventResize:o0(i.eventResize,e)},B=Object.assign(Object.assign({},f),k);for(let w of a.pluginHooks.reducers)Object.assign(k,w(i,e,B));let S=$i(i,f),x=$i(k,f);!S&&x?r.trigger("loading",!0):S&&!x&&r.trigger("loading",!1),this.state=k,n.onAction&&n.onAction(e)}updateData(){let{props:e,state:n}=this,i=this.data,r=this.computeOptionsData(e.optionOverrides,n.dynamicOptionOverrides,e.calendarApi),l=this.computeCurrentViewData(n.currentViewType,r,e.optionOverrides,n.dynamicOptionOverrides),a=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(n.dateProfile,l.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),l),n),s=r.pluginHooks.optionChangeHandlers,d=i&&i.calendarOptions,f=r.calendarOptions;if(d&&d!==f){d.timeZone!==f.timeZone&&(n.eventSources=a.eventSources=Yg(a.eventSources,n.dateProfile,a),n.eventStore=a.eventStore=fa(a.eventStore,i.dateEnv,a.dateEnv),n.renderableEventStore=a.renderableEventStore=fa(a.renderableEventStore,i.dateEnv,a.dateEnv));for(let u in s)(this.optionsForHandling.indexOf(u)!==-1||d[u]!==f[u])&&s[u](f[u],a)}this.optionsForHandling=[],e.onData&&e.onData(a)}computeOptionsData(e,n,i){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&n===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:r,pluginHooks:l,localeDefaults:a,availableLocaleData:s,extra:d}=this.processRawCalendarOptions(e,n);fs(d);let f=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,l,s,r.defaultRangeSeparator),u=this.buildViewSpecs(l.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,a),m=this.buildTheme(r,l),p=this.parseToolbars(r,this.stableOptionOverrides,m,u,i);return this.stableCalendarOptionsData={calendarOptions:r,pluginHooks:l,dateEnv:f,viewSpecs:u,theme:m,toolbarConfig:p,localeDefaults:a,availableRawLocales:s.map}}processRawCalendarOptions(e,n){let{locales:i,locale:r}=ei([cn,e,n]),l=this.organizeRawLocales(i),a=l.map,s=this.buildLocale(r||l.defaultCode,a).options,d=this.buildPluginHooks(e.plugins||[],g0),f=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},jl),Ul),Wl),d.listenerRefiners),d.optionRefiners),u={},m=ei([cn,s,e,n]),p={},c=this.currentCalendarOptionsInput,_=this.currentCalendarOptionsRefined,g=!1;for(let h in m)this.optionsForRefining.indexOf(h)===-1&&(m[h]===c[h]||bt[h]&&h in c&&bt[h](c[h],m[h]))?p[h]=_[h]:f[h]?(p[h]=f[h](m[h]),g=!0):u[h]=c[h];return g&&(this.currentCalendarOptionsInput=m,this.currentCalendarOptionsRefined=p,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=n),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:d,availableLocaleData:l,localeDefaults:s,extra:u}}_computeCurrentViewData(e,n,i,r){let l=n.viewSpecs[e];if(!l)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:a,extra:s}=this.processRawViewOptions(l,n.pluginHooks,n.localeDefaults,i,r);fs(s);let d=this.buildDateProfileGenerator({dateProfileGeneratorClass:l.optionDefaults.dateProfileGeneratorClass,duration:l.duration,durationUnit:l.durationUnit,usesMinMaxTime:l.optionDefaults.usesMinMaxTime,dateEnv:n.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,fixedWeekCount:a.fixedWeekCount}),f=this.buildViewApi(e,this.getCurrentData,n.dateEnv);return{viewSpec:l,options:a,dateProfileGenerator:d,viewApi:f}}processRawViewOptions(e,n,i,r,l){let a=ei([cn,e.optionDefaults,i,r,e.optionOverrides,l]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},jl),Ul),Wl),fh),n.listenerRefiners),n.optionRefiners),d={},f=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,m=!1,p={};for(let c in a)a[c]===f[c]||bt[c]&&bt[c](a[c],f[c])?d[c]=u[c]:(a[c]===this.currentCalendarOptionsInput[c]||bt[c]&&bt[c](a[c],this.currentCalendarOptionsInput[c])?c in this.currentCalendarOptionsRefined&&(d[c]=this.currentCalendarOptionsRefined[c]):s[c]?d[c]=s[c](a[c]):p[c]=a[c],m=!0);return m&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=d),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:p}}}function w0(t,e,n,i,r,l,a,s){let d=es(e||a.defaultCode,a.map);return new Ch({calendarSystem:"gregory",timeZone:t,namedTimeZoneImpl:l.namedTimeZonedImpl,locale:d,weekNumberCalculation:n,firstDay:i,weekText:r,cmdFormatter:l.cmdFormatter,defaultSeparator:s})}function C0(t,e){let n=e.themeClasses[t.themeSystem]||rt;return new n(t)}function k0(t){let e=t.dateProfileGeneratorClass||na;return new e(t)}function v0(t,e,n){return new l0(t,e,n)}function S0(t){return $e(t,e=>e.ui)}function A0(t,e,n){let i={"":e};for(let r in t){let l=t[r];l.sourceId&&n[l.sourceId]&&(i[r]=n[l.sourceId])}return i}function D0(t){let{options:e}=t;return{eventUiSingleBase:eo({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},t),selectionConfig:eo({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},t)}}function $i(t,e){for(let n of e.pluginHooks.isLoadingFuncs)if(n(t))return!0;return!1}function x0(t){return im(t.options.businessHours,t)}function fs(t,e){for(let n in t)console.warn(`Unknown option '${n}'`+(e?` for view '${e}'`:""))}class N0 extends J{render(){let e=this.props.widgetGroups.map(n=>this.renderWidgetGroup(n));return E("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:n}=this,{theme:i}=this.context,r=[],l=!0;for(let a of e){let{buttonName:s,buttonClick:d,buttonText:f,buttonIcon:u,buttonHint:m}=a;if(s==="title")l=!1,r.push(E("h2",{className:"fc-toolbar-title",id:n.titleId},n.title));else{let p=s===n.activeButton,c=!n.isTodayEnabled&&s==="today"||!n.isPrevEnabled&&s==="prev"||!n.isNextEnabled&&s==="next",_=[`fc-${s}-button`,i.getClass("button")];p&&_.push(i.getClass("buttonActive")),r.push(E("button",{type:"button",title:typeof m=="function"?m(n.navUnit):m,disabled:c,"aria-pressed":p,className:_.join(" "),onClick:d},f||(u?E("span",{className:u,role:"img"}):"")))}}if(r.length>1){let a=l&&i.getClass("buttonGroup")||"";return E("div",{className:a},...r)}return r[0]}}class ps extends J{render(){let{model:e,extraClassName:n}=this.props,i=!1,r,l,a=e.sectionWidgets,s=a.center;return a.left?(i=!0,r=a.left):r=a.start,a.right?(i=!0,l=a.right):l=a.end,E("div",{className:[n||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",r||[]),this.renderSection("center",s||[]),this.renderSection("end",l||[]))}renderSection(e,n){let{props:i}=this;return E(N0,{key:e,widgetGroups:n,title:i.title,navUnit:i.navUnit,activeButton:i.activeButton,isTodayEnabled:i.isTodayEnabled,isPrevEnabled:i.isPrevEnabled,isNextEnabled:i.isNextEnabled,titleId:i.titleId})}}class T0 extends J{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,je(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:n}=this,{aspectRatio:i}=e,r=["fc-view-harness",i||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],l="",a="";return i?n.availableWidth!==null?l=n.availableWidth/i:a=`${1/i*100}%`:l=e.height||"",E("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:l,paddingBottom:a}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class V0 extends Gt{constructor(e){super(e),this.handleSegClick=(n,i)=>{let{component:r}=this,{context:l}=r,a=Wt(i);if(a&&r.isValidSegDownEl(n.target)){let s=_e(n.target,".fc-event-forced-url"),d=s?s.querySelector("a[href]").href:"";l.emitter.trigger("eventClick",{el:i,event:new se(r.context,a.eventRange.def,a.eventRange.instance),jsEvent:n,view:l.viewApi}),d&&!n.defaultPrevented&&(window.location.href=d)}},this.destroy=xl(e.el,"click",".fc-event",this.handleSegClick)}}class R0 extends Gt{constructor(e){super(e),this.handleEventElRemove=n=>{n===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(n,i)=>{Wt(i)&&(this.currentSegEl=i,this.triggerEvent("eventMouseEnter",n,i))},this.handleSegLeave=(n,i)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",n,i))},this.removeHoverListeners=yp(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,n,i){let{component:r}=this,{context:l}=r,a=Wt(i);(!n||r.isValidSegDownEl(n.target))&&l.emitter.trigger(e,{el:i,event:new se(l,a.eventRange.def,a.eventRange.instance),jsEvent:n,view:l.viewApi})}}class I0 extends Ct{constructor(){super(...arguments),this.buildViewContext=F(Sh),this.buildViewPropTransformers=F(O0),this.buildToolbarProps=F(B0),this.headerRef=be(),this.footerRef=be(),this.interactionsStore={},this.state={viewLabelId:Pn()},this.registerInteractiveComponent=(e,n)=>{let i=Am(e,n),a=[V0,R0].concat(this.props.pluginHooks.componentInteractions).map(s=>new s(i));this.interactionsStore[e.uid]=a,bi[e.uid]=i},this.unregisterInteractiveComponent=e=>{let n=this.interactionsStore[e.uid];if(n){for(let i of n)i.destroy();delete this.interactionsStore[e.uid]}delete bi[e.uid]},this.resizeRunner=new Uo(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:n}=this.props;n.handleWindowResize&&e.target===window&&this.resizeRunner.request(n.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:n,options:i}=e,r=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,un(e.options.now,e.dateEnv),e.viewTitle),l=!1,a="",s;e.isHeightAuto||e.forPrint?a="":i.height!=null?l=!0:i.contentHeight!=null?a=i.contentHeight:s=Math.max(i.aspectRatio,.5);let d=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),f=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return E(He.Provider,{value:d},n.header&&E(ps,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:f},r)),E(T0,{liquid:l,height:a,aspectRatio:s,labeledById:f},this.renderView(e),this.buildAppendContent()),n.footer&&E(ps,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},r)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(i=>new i(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:n}=e.pluginHooks;for(let i in n)n[i](e[i],e)}componentDidUpdate(e){let{props:n}=this,{propSetHandlers:i}=n.pluginHooks;for(let r in i)n[r]!==e[r]&&i[r](n[r],n)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,n=e.pluginHooks.viewContainerAppends.map(i=>i(e));return E(re,{},...n)}renderView(e){let{pluginHooks:n}=e,{viewSpec:i}=e,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},l=this.buildViewPropTransformers(n.viewPropsTransformers);for(let s of l)Object.assign(r,s.transform(r,e));let a=i.component;return E(a,Object.assign({},r))}}function B0(t,e,n,i,r,l){let a=n.build(r,void 0,!1),s=n.buildPrev(e,i,!1),d=n.buildNext(e,i,!1);return{title:l,activeButton:t.type,navUnit:t.singleUnit,isTodayEnabled:a.isValid&&!Ue(e.currentRange,r),isPrevEnabled:s.isValid,isNextEnabled:d.isValid}}function O0(t){return t.map(e=>new e)}let M0=class extends Dm{constructor(e,n={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=i=>{switch(i.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=i=>{this.currentData=i,this.renderRunner.request(i.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:i}=this;Yl(()=>{ln(E(Sm,{options:i.calendarOptions,theme:i.theme,emitter:i.emitter},(r,l,a,s)=>(this.setClassNames(r),this.setHeight(l),E(Kl.Provider,{value:this.customContentRenderId},E(I0,Object.assign({isHeightAuto:a,forPrint:s},i))))),this.el)})}else this.isRendered&&(this.isRendered=!1,ln(null,this.el),this.setClassNames([]),this.setHeight(""))},cp(e),this.el=e,this.renderRunner=new Uo(this.handleRenderRequest),new E0({optionOverrides:n,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){Yl(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,n){this.currentDataManager.resetOptions(e,n)}setClassNames(e){if(!et(e,this.currentClassNames)){let{classList:n}=this.el;for(let i of this.currentClassNames)n.remove(i);for(let i of e)n.add(i);this.currentClassNames=e}}setHeight(e){Sl(this.el,"height",e)}};const L0={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0},hs=o.defineComponent({props:{options:Object},data(){return{renderId:0,customRenderingMap:new Map}},methods:{getApi(){return this.calendar},buildOptions(t){return{...t,customRenderingMetaMap:F0(this.$slots),handleCustomRendering:this.handleCustomRendering}}},render(){const t=[];for(const e of this.customRenderingMap.values())t.push(o.h(z0,{key:e.id,customRendering:e}));return o.h("div",{attrs:{"data-fc-render-id":this.renderId}},o.h(o.Fragment,t))},mounted(){const t=new xg;this.handleCustomRendering=t.handle.bind(t);const e=this.buildOptions(this.options),n=new M0(this.$el,e);this.calendar=n,n.render(),t.subscribe(i=>{this.customRenderingMap=i,this.renderId++,this.needCustomRenderingResize=!0})},beforeUpdate(){this.getApi().resumeRendering()},updated(){this.needCustomRenderingResize&&(this.needCustomRenderingResize=!1,this.getApi().updateSize())},beforeUnmount(){this.getApi().destroy()},watch:P0()}),z0=o.defineComponent({props:{customRendering:Object},render(){const t=this.customRendering,e=typeof t.generatorMeta=="function"?t.generatorMeta(t.renderProps):t.generatorMeta;return o.h(o.Teleport,{to:t.containerEl},e)}});function k4(t){return t}function P0(){let t={options:{deep:!0,handler(e){let n=this.getApi();n.pauseRendering();let i=this.buildOptions(e);n.resetOptions(i),this.renderId++}}};for(let e in L0)t[`options.${e}`]={deep:!0,handler(n){if(n!==void 0){let i=this.getApi();i.pauseRendering(),i.resetOptions({[e]:n},[e]),this.renderId++}}};return t}function F0(t){const e={};for(const n in t)e[$0(n)]=t[n];return e}function $0(t){return t.split("-").map((e,n)=>n?H0(e):e).join("")}function H0(t){return t.charAt(0).toUpperCase()+t.slice(1)}class j0 extends Le{constructor(){super(...arguments),this.headerElRef=be()}renderSimpleLayout(e,n){let{props:i,context:r}=this,l=[],a=ao(r.options);return e&&l.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),l.push({type:"body",key:"body",liquid:!0,chunk:{content:n}}),E(Qn,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},E(Ii,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[],sections:l}))}renderHScrollLayout(e,n,i,r){let l=this.context.pluginHooks.scrollGridImpl;if(!l)throw new Error("No ScrollGrid implementation");let{props:a,context:s}=this,d=!a.forPrint&&ao(s.options),f=!a.forPrint&&Ua(s.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:d,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:n}]}),f&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Ri}]}),E(Qn,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},E(l,{liquid:!a.isHeightAuto&&!a.forPrint,forPrint:a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:i,minWidth:r}]}],sections:u}))}}function so(t,e){let n=[];for(let i=0;i<e;i+=1)n[i]=[];for(let i of t)n[i.row].push(i);return n}function co(t,e){let n=[];for(let i=0;i<e;i+=1)n[i]=[];for(let i of t)n[i.firstCol].push(i);return n}function ms(t,e){let n=[];if(t){for(let i=0;i<e;i+=1)n[i]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(let i of t.segs)n[i.row].segs.push(i)}else for(let i=0;i<e;i+=1)n[i]=null;return n}const gs=de({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function _s(t){let{display:e}=t.eventRange.ui;return e==="list-item"||e==="auto"&&!t.eventRange.def.allDay&&t.firstCol===t.lastCol&&t.isStart&&t.isEnd}class ys extends J{render(){let{props:e}=this;return E(Wa,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:gs,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class bs extends J{render(){let{props:e,context:n}=this,{options:i}=n,{seg:r}=e,l=i.eventTimeFormat||gs,a=wa(r,l,n,!0,e.defaultDisplayEventEnd);return E(Bi,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:ka(e.seg,n),defaultGenerator:U0,timeText:a,isResizing:!1,isDateSelecting:!1}))}}function U0(t){return E(re,null,E("div",{className:"fc-daygrid-event-dot",style:{borderColor:t.borderColor||t.backgroundColor}}),t.timeText&&E("div",{className:"fc-event-time"},t.timeText),E("div",{className:"fc-event-title"},t.event.title||E(re,null," ")))}class W0 extends J{constructor(){super(...arguments),this.compileSegs=F(G0)}render(){let{props:e}=this,{allSegs:n,invisibleSegs:i}=this.compileSegs(e.singlePlacements);return E(Qa,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:i,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let r=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return E(re,null,n.map(l=>{let a=l.eventRange.instance.instanceId;return E("div",{className:"fc-daygrid-event-harness",key:a,style:{visibility:r[a]?"hidden":""}},_s(l)?E(bs,Object.assign({seg:l,isDragging:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},it(l,e.todayRange))):E(ys,Object.assign({seg:l,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===e.eventSelection,defaultDisplayEventEnd:!1},it(l,e.todayRange))))}))}})}}function G0(t){let e=[],n=[];for(let i of t)e.push(i.seg),i.isVisible||n.push(i.seg);return{allSegs:e,invisibleSegs:n}}const q0=de({week:"narrow"});class Y0 extends Le{constructor(){super(...arguments),this.rootElRef=be(),this.state={dayNumberId:Pn()},this.handleRootEl=e=>{je(this.rootElRef,e),je(this.props.elRef,e)}}render(){let{context:e,props:n,state:i,rootElRef:r}=this,{options:l,dateEnv:a}=e,{date:s,dateProfile:d}=n;const f=n.showDayNumber&&Z0(s,d.currentRange,a);return E(Mi,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...n.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},n.extraDataAttrs),n.showDayNumber?{"aria-labelledby":i.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:Q0,date:s,dateProfile:d,todayRange:n.todayRange,showDayNumber:n.showDayNumber,isMonthStart:f,extraRenderProps:n.extraRenderProps},(u,m)=>E("div",{ref:n.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:n.minHeight}},n.showWeekNumber&&E(Ya,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:oo(e,s,"week"),date:s,defaultFormat:q0}),!m.isDisabled&&(n.showDayNumber||Li(l)||n.forceDayTop)?E("div",{className:"fc-daygrid-day-top"},E(u,{elTag:"a",elClasses:["fc-daygrid-day-number",f&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},oo(e,s)),{id:i.dayNumberId})})):n.showDayNumber?E("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},E("a",{className:"fc-daygrid-day-number"}," ")):void 0,E("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,E("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},E(W0,{allDayDate:s,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:r,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),E("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}}function Q0(t){return t.dayNumberText||E(re,null," ")}function Z0(t,e,n){const{start:i,end:r}=e,l=tt(r,-1),a=n.getYear(i),s=n.getMonth(i),d=n.getYear(l),f=n.getMonth(l);return!(a===d&&s===f)&&(t.valueOf()===i.valueOf()||n.getDay(t)===1&&t.valueOf()<r.valueOf())}function Es(t){return t.eventRange.instance.instanceId+":"+t.firstCol}function ws(t){return Es(t)+":"+t.lastCol}function K0(t,e,n,i,r,l,a){let s=new e_(b=>{let y=t[b.index].eventRange.instance.instanceId+":"+b.span.start+":"+(b.span.end-1);return r[y]});s.allowReslicing=!0,s.strictOrder=i,e===!0||n===!0?(s.maxCoord=l,s.hiddenConsumes=!0):typeof e=="number"?s.maxStackCnt=e:typeof n=="number"&&(s.maxStackCnt=n,s.hiddenConsumes=!0);let d=[],f=[];for(let b=0;b<t.length;b+=1){let y=t[b],C=ws(y);r[C]!=null?d.push({index:b,span:{start:y.firstCol,end:y.lastCol+1}}):f.push(y)}let u=s.addSegs(d),m=s.toRects(),{singleColPlacements:p,multiColPlacements:c,leftoverMargins:_}=X0(m,t,a),g=[],h=[];for(let b of f){c[b.firstCol].push({seg:b,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let y=b.firstCol;y<=b.lastCol;y+=1)p[y].push({seg:Yt(b,y,y+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let b=0;b<a.length;b+=1)g.push(0);for(let b of u){let y=t[b.index],C=b.span;c[C.start].push({seg:Yt(y,C.start,C.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let k=C.start;k<C.end;k+=1)g[k]+=1,p[k].push({seg:Yt(y,k,k+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let b=0;b<a.length;b+=1)h.push(_[b]);return{singleColPlacements:p,multiColPlacements:c,moreCnts:g,moreMarginTops:h}}function X0(t,e,n){let i=J0(t,n.length),r=[],l=[],a=[];for(let s=0;s<n.length;s+=1){let d=i[s],f=[],u=0,m=0;for(let c of d){let _=e[c.index];f.push({seg:Yt(_,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:c.levelCoord,marginTop:c.levelCoord-u}),u=c.levelCoord+c.thickness}let p=[];u=0,m=0;for(let c of d){let _=e[c.index],g=c.span.end-c.span.start>1,h=c.span.start===s;m+=c.levelCoord-u,u=c.levelCoord+c.thickness,g?(m+=c.thickness,h&&p.push({seg:Yt(_,c.span.start,c.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:c.levelCoord,marginTop:0})):h&&(p.push({seg:Yt(_,c.span.start,c.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:c.levelCoord,marginTop:m}),m=0)}r.push(f),l.push(p),a.push(m)}return{singleColPlacements:r,multiColPlacements:l,leftoverMargins:a}}function J0(t,e){let n=[];for(let i=0;i<e;i+=1)n.push([]);for(let i of t)for(let r=i.span.start;r<i.span.end;r+=1)n[r].push(i);return n}function Yt(t,e,n,i){if(t.firstCol===e&&t.lastCol===n-1)return t;let r=t.eventRange,l=r.range,a=kt(l,{start:i[e].date,end:ye(i[n-1].date,1)});return Object.assign(Object.assign({},t),{firstCol:e,lastCol:n-1,eventRange:{def:r.def,ui:Object.assign(Object.assign({},r.ui),{durationEditable:!1}),instance:r.instance,range:a},isStart:t.isStart&&a.start.valueOf()===l.start.valueOf(),isEnd:t.isEnd&&a.end.valueOf()===l.end.valueOf()})}class e_ extends Ra{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const n=super.addSegs(e),{entriesByLevel:i}=this,r=l=>!this.forceHidden[At(l)];for(let l=0;l<i.length;l+=1)i[l]=i[l].filter(r);return n}handleInvalidInsertion(e,n,i){const{entriesByLevel:r,forceHidden:l}=this,{touchingEntry:a,touchingLevel:s,touchingLateral:d}=e;if(this.hiddenConsumes&&a){const f=At(a);if(!l[f])if(this.allowReslicing){const u=Object.assign(Object.assign({},a),{span:Di(a.span,n.span)}),m=At(u);l[m]=!0,r[s][d]=u,this.splitEntry(a,n,i)}else l[f]=!0,i.push(a)}return super.handleInvalidInsertion(e,n,i)}}class Cs extends Le{constructor(){super(...arguments),this.cellElRefs=new We,this.frameElRefs=new We,this.fgElRefs=new We,this.segHarnessRefs=new We,this.rootElRef=be(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:n,context:i}=this,{options:r}=i,l=e.cells.length,a=co(e.businessHourSegs,l),s=co(e.bgEventSegs,l),d=co(this.getHighlightSegs(),l),f=co(this.getMirrorSegs(),l),{singleColPlacements:u,multiColPlacements:m,moreCnts:p,moreMarginTops:c}=K0(Ea(e.fgEventSegs,r.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,r.eventOrderStrict,n.segHeights,n.maxContentHeight,e.cells),_=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return E("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((g,h)=>{let b=this.renderFgSegs(h,e.forPrint?u[h]:m[h],e.todayRange,_),y=this.renderFgSegs(h,t_(f[h],m),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return E(Y0,{key:g.key,elRef:this.cellElRefs.createRef(g.key),innerElRef:this.frameElRefs.createRef(g.key),dateProfile:e.dateProfile,date:g.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&h===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:g.extraRenderProps,extraDataAttrs:g.extraDataAttrs,extraClassNames:g.extraClassNames,extraDateSpan:g.extraDateSpan,moreCnt:p[h],moreMarginTop:c[h],singlePlacements:u[h],fgContentElRef:this.fgElRefs.createRef(g.key),fgContent:E(re,null,E(re,null,b),E(re,null,y)),bgContent:E(re,null,this.renderFillSegs(d[h],"highlight"),this.renderFillSegs(a[h],"non-business"),this.renderFillSegs(s[h],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,n){let i=this.props;this.updateSizing(!Me(e,i))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,n,i,r,l,a,s){let{context:d}=this,{eventSelection:f}=this.props,{framePositions:u}=this.state,m=this.props.cells.length===1,p=l||a||s,c=[];if(u)for(let _ of n){let{seg:g}=_,{instanceId:h}=g.eventRange.instance,b=_.isVisible&&!r[h],y=_.isAbsolute,C="",k="";y&&(d.isRtl?(k=0,C=u.lefts[g.lastCol]-u.lefts[g.firstCol]):(C=0,k=u.rights[g.firstCol]-u.rights[g.lastCol])),c.push(E("div",{className:"fc-daygrid-event-harness"+(y?" fc-daygrid-event-harness-abs":""),key:Es(g),ref:p?null:this.segHarnessRefs.createRef(ws(g)),style:{visibility:b?"":"hidden",marginTop:y?"":_.marginTop,top:y?_.absoluteTop:"",left:C,right:k}},_s(g)?E(bs,Object.assign({seg:g,isDragging:l,isSelected:h===f,defaultDisplayEventEnd:m},it(g,i))):E(ys,Object.assign({seg:g,isDragging:l,isResizing:a,isDateSelecting:s,isSelected:h===f,defaultDisplayEventEnd:m},it(g,i)))))}return c}renderFillSegs(e,n){let{isRtl:i}=this.context,{todayRange:r}=this.props,{framePositions:l}=this.state,a=[];if(l)for(let s of e){let d=i?{right:0,left:l.lefts[s.lastCol]-l.lefts[s.firstCol]}:{left:0,right:l.rights[s.firstCol]-l.rights[s.lastCol]};a.push(E("div",{key:Ca(s.eventRange),className:"fc-daygrid-bg-harness",style:d},n==="bg-event"?E(Ga,Object.assign({seg:s},it(s,r))):qa(n)))}return E(re,{},...a)}updateSizing(e){let{props:n,state:i,frameElRefs:r}=this;if(!n.forPrint&&n.clientWidth!==null){if(e){let d=n.cells.map(f=>r.currentMap[f.key]);if(d.length){let f=this.rootElRef.current,u=new qt(f,d,!0,!1);(!i.framePositions||!i.framePositions.similarTo(u))&&this.setState({framePositions:new qt(f,d,!0,!1)})}}const l=this.state.segHeights,a=this.querySegHeights(),s=n.dayMaxEvents===!0||n.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},l),a),maxContentHeight:s?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,n={};for(let i in e){let r=Math.round(e[i].getBoundingClientRect().height);n[i]=Math.max(n[i]||0,r)}return n}computeMaxContentHeight(){let e=this.props.cells[0].key,n=this.cellElRefs.currentMap[e],i=this.fgElRefs.currentMap[e];return n.getBoundingClientRect().bottom-i.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(n=>e[n.key])}}Cs.addStateEquality({segHeights:Me});function t_(t,e){if(!t.length)return[];let n=n_(e);return t.map(i=>({seg:i,isVisible:!0,isAbsolute:!0,absoluteTop:n[i.eventRange.instance.instanceId],marginTop:0}))}function n_(t){let e={};for(let n of t)for(let i of n)e[i.seg.eventRange.instance.instanceId]=i.absoluteTop;return e}class o_ extends Le{constructor(){super(...arguments),this.splitBusinessHourSegs=F(so),this.splitBgEventSegs=F(so),this.splitFgEventSegs=F(so),this.splitDateSelectionSegs=F(so),this.splitEventDrag=F(ms),this.splitEventResize=F(ms),this.rowRefs=new We}render(){let{props:e,context:n}=this,i=e.cells.length,r=this.splitBusinessHourSegs(e.businessHourSegs,i),l=this.splitBgEventSegs(e.bgEventSegs,i),a=this.splitFgEventSegs(e.fgEventSegs,i),s=this.splitDateSelectionSegs(e.dateSelectionSegs,i),d=this.splitEventDrag(e.eventDrag,i),f=this.splitEventResize(e.eventResize,i),u=i>=7&&e.clientWidth?e.clientWidth/n.options.aspectRatio/6:null;return E(pn,{unit:"day"},(m,p)=>E(re,null,e.cells.map((c,_)=>E(Cs,{ref:this.rowRefs.createRef(_),key:c.length?c[0].date.toISOString():_,showDayNumbers:i>1,showWeekNumbers:e.showWeekNumbers,todayRange:p,dateProfile:e.dateProfile,cells:c,renderIntro:e.renderRowIntro,businessHourSegs:r[_],eventSelection:e.eventSelection,bgEventSegs:l[_].filter(i_),fgEventSegs:a[_],dateSelectionSegs:s[_],eventDrag:d[_],eventResize:f[_],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:u,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const e=this.rowRefs.currentMap[0].getCellEls()[0],n=e?e.closest(".fc-daygrid-body"):null;n&&(this.rootEl=n,this.context.registerInteractiveComponent(this,{el:n,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new qt(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new qt(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,n){let{colPositions:i,rowPositions:r}=this,l=i.leftToIndex(e),a=r.topToIndex(n);if(a!=null&&l!=null){let s=this.props.cells[a][l];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(a,l),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(a,l),rect:{left:i.lefts[l],right:i.rights[l],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null}getCellEl(e,n){return this.rowRefs.currentMap[e].getCellEls()[n]}getCellRange(e,n){let i=this.props.cells[e][n].date,r=ye(i,1);return{start:i,end:r}}}function i_(t){return t.eventRange.def.allDay}class r_ extends Le{constructor(){super(...arguments),this.elRef=be(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:n,dayMaxEvents:i,expandRows:r}=e,l=i===!0||n===!0;l&&!r&&(l=!1,n=null,i=null);let a=["fc-daygrid-body",l?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return E("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},E("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,E("tbody",{role:"presentation"},E(o_,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:i,dayMaxEventRows:n,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=l_(this.elRef.current,this.props.dateProfile);if(e){const n=e.closest(".fc-daygrid-body"),i=n.closest(".fc-scroller"),r=e.getBoundingClientRect().top-n.getBoundingClientRect().top;i.scrollTop=r?r+1:0}this.needsScrollReset=!1}}}function l_(t,e){let n;return e.currentRangeUnit.match(/year|month/)&&(n=t.querySelector(`[data-date="${Qp(e.currentDate)}-01"]`)),n||(n=t.querySelector(`[data-date="${Xo(e.currentDate)}"]`)),n}class a_ extends Pa{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,n){return n.sliceRange(e)}}class ks extends Le{constructor(){super(...arguments),this.slicer=new a_,this.tableRef=be()}render(){let{props:e,context:n}=this;return E(r_,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,n,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class s_ extends j0{constructor(){super(...arguments),this.buildDayTableModel=F(c_),this.headerRef=be(),this.tableRef=be()}render(){let{options:e,dateProfileGenerator:n}=this.context,{props:i}=this,r=this.buildDayTableModel(i.dateProfile,n),l=e.dayHeaders&&E(Ma,{ref:this.headerRef,dateProfile:i.dateProfile,dates:r.headerDates,datesRepDistinctDays:r.rowCnt===1}),a=s=>E(ks,{ref:this.tableRef,dateProfile:i.dateProfile,dayTableModel:r,businessHours:i.businessHours,dateSelection:i.dateSelection,eventStore:i.eventStore,eventUiBases:i.eventUiBases,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:s.tableColGroupNode,tableMinWidth:s.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!i.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:s.clientWidth,clientHeight:s.clientHeight,forPrint:i.forPrint});return e.dayMinWidth?this.renderHScrollLayout(l,a,r.colCnt,e.dayMinWidth):this.renderSimpleLayout(l,a)}}function c_(t,e){let n=new La(t.renderRange,e);return new za(n,/year|month|week/.test(t.currentRangeUnit))}class d_ extends na{buildRenderRange(e,n,i){let r=super.buildRenderRange(e,n,i),{props:l}=this;return u_({currentRange:r,snapToWeek:/^(year|month)$/.test(n),fixedWeekCount:l.fixedWeekCount,dateEnv:l.dateEnv})}}function u_(t){let{dateEnv:e,currentRange:n}=t,{start:i,end:r}=n,l;if(t.snapToWeek&&(i=e.startOfWeek(i),l=e.startOfWeek(r),l.valueOf()!==r.valueOf()&&(r=Ol(l,1))),t.fixedWeekCount){let a=e.startOfWeek(e.startOfMonth(ye(n.end,-1))),s=Math.ceil(zp(a,r));r=Ol(r,6-s)}return{start:i,end:r}}var f_=':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';Ho(f_);var vs=Ge({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:s_,dateProfileGeneratorClass:d_},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}}),p_='.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';Ho(p_);class h_ extends Rm{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?cm(e)?["timed","allDay"]:["allDay"]:["timed"]}}const m_=de({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function Ss(t){let e=["fc-timegrid-slot","fc-timegrid-slot-label",t.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return E(He.Consumer,null,n=>{if(!t.isLabeled)return E("td",{className:e.join(" "),"data-time":t.isoTimeStr});let{dateEnv:i,options:r,viewApi:l}=n,a=r.slotLabelFormat==null?m_:Array.isArray(r.slotLabelFormat)?de(r.slotLabelFormat[0]):de(r.slotLabelFormat),s={level:0,time:t.time,date:i.toDate(t.date),view:l,text:i.format(t.date,a)};return E(Se,{elTag:"td",elClasses:e,elAttrs:{"data-time":t.isoTimeStr},renderProps:s,generatorName:"slotLabelContent",customGenerator:r.slotLabelContent,defaultGenerator:g_,classNameGenerator:r.slotLabelClassNames,didMount:r.slotLabelDidMount,willUnmount:r.slotLabelWillUnmount},d=>E("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},E(d,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function g_(t){return t.text}class __ extends J{render(){return this.props.slatMetas.map(e=>E("tr",{key:e.key},E(Ss,Object.assign({},e))))}}const y_=de({week:"short"}),b_=5;class E_ extends Le{constructor(){super(...arguments),this.allDaySplitter=new h_,this.headerElRef=be(),this.rootElRef=be(),this.scrollerElRef=be(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let n=this.scrollerElRef.current;n&&(n.scrollTop=e)},this.renderHeadAxis=(e,n="")=>{let{options:i}=this.context,{dateProfile:r}=this.props,l=r.renderRange,s=yt(l.start,l.end)===1?oo(this.context,l.start,"week"):{};return i.weekNumbers&&e==="day"?E(Ya,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:l.start,defaultFormat:y_},d=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:n}},E(d,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:s}))):E("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},E("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},this.renderTableRowAxis=e=>{let{options:n,viewApi:i}=this.context,r={text:n.allDayText,view:i};return E(Se,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:r,generatorName:"allDayContent",customGenerator:n.allDayContent,defaultGenerator:w_,classNameGenerator:n.allDayClassNames,didMount:n.allDayDidMount,willUnmount:n.allDayWillUnmount},l=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",e==null?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},E(l,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,n,i){let{context:r,props:l}=this,a=[],s=ao(r.options);return e&&a.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),n&&(a.push({type:"body",key:"all-day",chunk:{content:n}}),a.push({type:"body",key:"all-day-divider",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),a.push({type:"body",key:"body",liquid:!0,expandRows:!!r.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:i}}),E(Qn,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:r.viewSpec},E(Ii,{liquid:!l.isHeightAuto&&!l.forPrint,collapsibleWidth:l.forPrint,cols:[{width:"shrink"}],sections:a}))}renderHScrollLayout(e,n,i,r,l,a,s){let d=this.context.pluginHooks.scrollGridImpl;if(!d)throw new Error("No ScrollGrid implementation");let{context:f,props:u}=this,m=!u.forPrint&&ao(f.options),p=!u.forPrint&&Ua(f.options),c=[];e&&c.push({type:"header",key:"header",isSticky:m,syncRowHeights:!0,chunks:[{key:"axis",rowContent:g=>E("tr",{role:"presentation"},this.renderHeadAxis("day",g.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),n&&(c.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:g=>E("tr",{role:"presentation"},this.renderTableRowAxis(g.rowSyncHeights[0]))},{key:"cols",content:n}]}),c.push({key:"all-day-divider",type:"body",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{colSpan:2,className:"fc-timegrid-divider "+f.theme.getClass("tableCellShaded")}))}));let _=f.options.nowIndicator;return c.push({type:"body",key:"body",liquid:!0,expandRows:!!f.options.expandRows,chunks:[{key:"axis",content:g=>E("div",{className:"fc-timegrid-axis-chunk"},E("table",{"aria-hidden":!0,style:{height:g.expandRows?g.clientHeight:""}},g.tableColGroupNode,E("tbody",null,E(__,{slatMetas:a}))),E("div",{className:"fc-timegrid-now-indicator-container"},E(pn,{unit:_?"minute":"day"},h=>{let b=_&&s&&s.safeComputeTop(h);return typeof b=="number"?E(Oi,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:b},isAxis:!0,date:h}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:i}]}),p&&c.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Ri},{key:"cols",content:Ri}]}),E(Qn,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:f.viewSpec},E(d,{liquid:!u.isHeightAuto&&!u.forPrint,forPrint:u.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:l}]}],sections:c}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:n}=this.context.options;return(e===!0||n===!0)&&(e=void 0,n=b_),{dayMaxEvents:e,dayMaxEventRows:n}}}function w_(t){return t.text}class C_{constructor(e,n,i){this.positions=e,this.dateProfile=n,this.slotDuration=i}safeComputeTop(e){let{dateProfile:n}=this;if(Ue(n.currentRange,e)){let i=ie(e),r=e.valueOf()-i.valueOf();if(r>=Te(n.slotMinTime)&&r<Te(n.slotMaxTime))return this.computeTimeTop(Q(r))}return null}computeDateTop(e,n){return n||(n=ie(e)),this.computeTimeTop(Q(e.valueOf()-n.valueOf()))}computeTimeTop(e){let{positions:n,dateProfile:i}=this,r=n.els.length,l=(e.milliseconds-Te(i.slotMinTime))/Te(this.slotDuration),a,s;return l=Math.max(0,l),l=Math.min(r,l),a=Math.floor(l),a=Math.min(a,r-1),s=l-a,n.tops[a]+n.getHeight(a)*s}}class k_ extends J{render(){let{props:e,context:n}=this,{options:i}=n,{slatElRefs:r}=e;return E("tbody",null,e.slatMetas.map((l,a)=>{let s={time:l.time,date:n.dateEnv.toDate(l.date),view:n.viewApi};return E("tr",{key:l.key,ref:r.createRef(l.key)},e.axis&&E(Ss,Object.assign({},l)),E(Se,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!l.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":l.isoTimeStr},renderProps:s,generatorName:"slotLaneContent",customGenerator:i.slotLaneContent,classNameGenerator:i.slotLaneClassNames,didMount:i.slotLaneDidMount,willUnmount:i.slotLaneWillUnmount}))}))}}class v_ extends J{constructor(){super(...arguments),this.rootElRef=be(),this.slatElRefs=new We}render(){let{props:e,context:n}=this;return E("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},E("table",{"aria-hidden":!0,className:n.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,E(k_,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:n}=this;n.onCoords&&n.clientWidth!==null&&this.rootElRef.current.offsetHeight&&n.onCoords(new C_(new qt(this.rootElRef.current,S_(this.slatElRefs.currentMap,n.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function S_(t,e){return e.map(n=>t[n.key])}function hn(t,e){let n=[],i;for(i=0;i<e;i+=1)n.push([]);if(t)for(i=0;i<t.length;i+=1)n[t[i].col].push(t[i]);return n}function As(t,e){let n=[];if(t){for(let i=0;i<e;i+=1)n[i]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(let i of t.segs)n[i.col].segs.push(i)}else for(let i=0;i<e;i+=1)n[i]=null;return n}class A_ extends J{render(){let{props:e}=this;return E(Qa,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>Ts(e.hiddenSegs,e),defaultGenerator:D_,forceTimed:!0},n=>E(n,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function D_(t){return t.shortText}function x_(t,e,n){let i=new Ra;e!=null&&(i.strictOrder=e),n!=null&&(i.maxStackCnt=n);let r=i.addSegs(t),l=Wm(r),a=N_(i);return a=I_(a,1),{segRects:B_(a),hiddenGroups:l}}function N_(t){const{entriesByLevel:e}=t,n=Hi((i,r)=>i+":"+r,(i,r)=>{let l=R_(t,i,r),a=Ds(l,n),s=e[i][r];return[Object.assign(Object.assign({},s),{nextLevelNodes:a[0]}),s.thickness+a[1]]});return Ds(e.length?{level:0,lateralStart:0,lateralEnd:e[0].length}:null,n)[0]}function Ds(t,e){if(!t)return[[],0];let{level:n,lateralStart:i,lateralEnd:r}=t,l=i,a=[];for(;l<r;)a.push(e(n,l)),l+=1;return a.sort(T_),[a.map(V_),a[0][1]]}function T_(t,e){return e[1]-t[1]}function V_(t){return t[0]}function R_(t,e,n){let{levelCoords:i,entriesByLevel:r}=t,l=r[e][n],a=i[e]+l.thickness,s=i.length,d=e;for(;d<s&&i[d]<a;d+=1);for(;d<s;d+=1){let f=r[d],u,m=Ni(f,l.span.start,Ai),p=m[0]+m[1],c=p;for(;(u=f[c])&&u.span.start<l.span.end;)c+=1;if(p<c)return{level:d,lateralStart:p,lateralEnd:c}}return null}function I_(t,e){const n=Hi((i,r,l)=>At(i),(i,r,l)=>{let{nextLevelNodes:a,thickness:s}=i,d=s+l,f=s/d,u,m=[];if(!a.length)u=e;else for(let c of a)if(u===void 0){let _=n(c,r,d);u=_[0],m.push(_[1])}else{let _=n(c,u,0);m.push(_[1])}let p=(u-r)*f;return[u-p,Object.assign(Object.assign({},i),{thickness:p,nextLevelNodes:m})]});return t.map(i=>n(i,0,0)[1])}function B_(t){let e=[];const n=Hi((r,l,a)=>At(r),(r,l,a)=>{let s=Object.assign(Object.assign({},r),{levelCoord:l,stackDepth:a,stackForward:0});return e.push(s),s.stackForward=i(r.nextLevelNodes,l+r.thickness,a+1)+1});function i(r,l,a){let s=0;for(let d of r)s=Math.max(n(d,l,a),s);return s}return i(t,0,0),e}function Hi(t,e){const n={};return(...i)=>{let r=t(...i);return r in n?n[r]:n[r]=e(...i)}}function xs(t,e,n=null,i=0){let r=[];if(n)for(let l=0;l<t.length;l+=1){let a=t[l],s=n.computeDateTop(a.start,e),d=Math.max(s+(i||0),n.computeDateTop(a.end,e));r.push({start:Math.round(s),end:Math.round(d)})}return r}function O_(t,e,n,i){let r=[],l=[];for(let f=0;f<t.length;f+=1){let u=e[f];u?r.push({index:f,thickness:1,span:u}):l.push(t[f])}let{segRects:a,hiddenGroups:s}=x_(r,n,i),d=[];for(let f of a)d.push({seg:t[f.index],rect:f});for(let f of l)d.push({seg:f,rect:null});return{segPlacements:d,hiddenGroups:s}}const M_=de({hour:"numeric",minute:"2-digit",meridiem:!1});class Ns extends J{render(){return E(Wa,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:M_}))}}class L_ extends J{constructor(){super(...arguments),this.sortEventSegs=F(Ea)}render(){let{props:e,context:n}=this,{options:i}=n,r=i.selectMirror,l=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||r&&e.dateSelectionSegs||[],a=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},s=this.sortEventSegs(e.fgEventSegs,i.eventOrder);return E(Mi,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},d=>E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,a,!1,!1,!1)),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(l,{},!!e.eventDrag,!!e.eventResize,!!r,"mirror")),E("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),Li(i)&&E(d,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,n,i,r,l,a){let{props:s}=this;return s.forPrint?Ts(e,s):this.renderPositionedFgSegs(e,n,i,r,l,a)}renderPositionedFgSegs(e,n,i,r,l,a){let{eventMaxStack:s,eventShortHeight:d,eventOrderStrict:f,eventMinHeight:u}=this.context.options,{date:m,slatCoords:p,eventSelection:c,todayRange:_,nowDate:g}=this.props,h=i||r||l,b=xs(e,m,p,u),{segPlacements:y,hiddenGroups:C}=O_(e,b,f,s);return E(re,null,this.renderHiddenGroups(C,e),y.map(k=>{let{seg:B,rect:S}=k,x=B.eventRange.instance.instanceId,w=h||!!(!n[x]&&S),N=ji(S&&S.span),D=!h&&S?this.computeSegHStyle(S):{left:0,right:0},O=!!S&&S.stackForward>0,V=!!S&&S.span.end-S.span.start<d;return E("div",{className:"fc-timegrid-event-harness"+(O?" fc-timegrid-event-harness-inset":""),key:a||x,style:Object.assign(Object.assign({visibility:w?"":"hidden"},N),D)},E(Ns,Object.assign({seg:B,isDragging:i,isResizing:r,isDateSelecting:l,isSelected:x===c,isShort:V},it(B,_,g))))}))}renderHiddenGroups(e,n){let{extraDateSpan:i,dateProfile:r,todayRange:l,nowDate:a,eventSelection:s,eventDrag:d,eventResize:f}=this.props;return E(re,null,e.map(u=>{let m=ji(u.span),p=z_(u.entries,n);return E(A_,{key:Pl(Ka(p)),hiddenSegs:p,top:m.top,bottom:m.bottom,extraDateSpan:i,dateProfile:r,todayRange:l,nowDate:a,eventSelection:s,eventDrag:d,eventResize:f})}))}renderFillSegs(e,n){let{props:i,context:r}=this,a=xs(e,i.date,i.slatCoords,r.options.eventMinHeight).map((s,d)=>{let f=e[d];return E("div",{key:Ca(f.eventRange),className:"fc-timegrid-bg-harness",style:ji(s)},n==="bg-event"?E(Ga,Object.assign({seg:f},it(f,i.todayRange,i.nowDate))):qa(n))});return E(re,null,a)}renderNowIndicator(e){let{slatCoords:n,date:i}=this.props;return n?e.map((r,l)=>E(Oi,{key:l,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:n.computeDateTop(r.start,i)},isAxis:!1,date:i})):null}computeSegHStyle(e){let{isRtl:n,options:i}=this.context,r=i.slotEventOverlap,l=e.levelCoord,a=e.levelCoord+e.thickness,s,d;r&&(a=Math.min(1,l+(a-l)*2)),n?(s=1-a,d=l):(s=l,d=1-a);let f={zIndex:e.stackDepth+1,left:s*100+"%",right:d*100+"%"};return r&&!e.stackForward&&(f[n?"marginLeft":"marginRight"]=10*2),f}}function Ts(t,{todayRange:e,nowDate:n,eventSelection:i,eventDrag:r,eventResize:l}){let a=(r?r.affectedInstances:null)||(l?l.affectedInstances:null)||{};return E(re,null,t.map(s=>{let d=s.eventRange.instance.instanceId;return E("div",{key:d,style:{visibility:a[d]?"hidden":""}},E(Ns,Object.assign({seg:s,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:d===i,isShort:!1},it(s,e,n))))}))}function ji(t){return t?{top:t.start,bottom:-t.end}:{top:"",bottom:""}}function z_(t,e){return t.map(n=>e[n.index])}class P_ extends J{constructor(){super(...arguments),this.splitFgEventSegs=F(hn),this.splitBgEventSegs=F(hn),this.splitBusinessHourSegs=F(hn),this.splitNowIndicatorSegs=F(hn),this.splitDateSelectionSegs=F(hn),this.splitEventDrag=F(As),this.splitEventResize=F(As),this.rootElRef=be(),this.cellElRefs=new We}render(){let{props:e,context:n}=this,i=n.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),r=e.cells.length,l=this.splitFgEventSegs(e.fgEventSegs,r),a=this.splitBgEventSegs(e.bgEventSegs,r),s=this.splitBusinessHourSegs(e.businessHourSegs,r),d=this.splitNowIndicatorSegs(e.nowIndicatorSegs,r),f=this.splitDateSelectionSegs(e.dateSelectionSegs,r),u=this.splitEventDrag(e.eventDrag,r),m=this.splitEventResize(e.eventResize,r);return E("div",{className:"fc-timegrid-cols",ref:this.rootElRef},E("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,E("tbody",{role:"presentation"},E("tr",{role:"row"},e.axis&&E("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-now-indicator-container"},typeof i=="number"&&E(Oi,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:i},isAxis:!0,date:e.nowDate})))),e.cells.map((p,c)=>E(L_,{key:p.key,elRef:this.cellElRefs.createRef(p.key),dateProfile:e.dateProfile,date:p.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:p.extraRenderProps,extraDataAttrs:p.extraDataAttrs,extraClassNames:p.extraClassNames,extraDateSpan:p.extraDateSpan,fgEventSegs:l[c],bgEventSegs:a[c],businessHourSegs:s[c],nowIndicatorSegs:d[c],dateSelectionSegs:f[c],eventDrag:u[c],eventResize:m[c],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;e.onColCoords&&e.clientWidth!==null&&e.onColCoords(new qt(this.rootElRef.current,F_(this.cellElRefs.currentMap,e.cells),!0,!1))}}function F_(t,e){return e.map(n=>t[n.key])}class $_ extends Le{constructor(){super(...arguments),this.processSlotOptions=F(H_),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:n}=this.props,{slatCoords:i}=this.state;if(n&&i){if(e.time){let r=i.computeTimeTop(e.time);r=Math.ceil(r),r&&(r+=1),n(r)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:n}=this;return E("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},E(v_,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),E(P_,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:n.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,n){let{dateEnv:i,options:r}=this.context,{colCoords:l}=this,{dateProfile:a}=this.props,{slatCoords:s}=this.state,{snapDuration:d,snapsPerSlot:f}=this.processSlotOptions(this.props.slotDuration,r.snapDuration),u=l.leftToIndex(e),m=s.positions.topToIndex(n);if(u!=null&&m!=null){let p=this.props.cells[u],c=s.positions.tops[m],_=s.positions.getHeight(m),g=(n-c)/_,h=Math.floor(g*f),b=m*f+h,y=this.props.cells[u].date,C=Yo(a.slotMinTime,Bp(d,b)),k=i.add(y,C),B=i.add(k,d);return{dateProfile:a,dateSpan:Object.assign({range:{start:k,end:B},allDay:!1},p.extraDateSpan),dayEl:l.els[u],rect:{left:l.lefts[u],right:l.rights[u],top:c,bottom:c+_},layer:0}}return null}}function H_(t,e){let n=e||t,i=Qo(t,n);return i===null&&(n=t,i=1),{snapDuration:n,snapsPerSlot:i}}class j_ extends Pa{sliceRange(e,n){let i=[];for(let r=0;r<n.length;r+=1){let l=kt(e,n[r]);l&&i.push({start:l.start,end:l.end,isStart:l.start.valueOf()===e.start.valueOf(),isEnd:l.end.valueOf()===e.end.valueOf(),col:r})}return i}}class U_ extends Le{constructor(){super(...arguments),this.buildDayRanges=F(W_),this.slicer=new j_,this.timeColsRef=be()}render(){let{props:e,context:n}=this,{dateProfile:i,dayTableModel:r}=e,{nowIndicator:l,nextDayThreshold:a}=n.options,s=this.buildDayRanges(r,i,n.dateEnv);return E(pn,{unit:l?"minute":"day"},(d,f)=>E($_,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,i,null,n,s),{forPrint:e.forPrint,axis:e.axis,dateProfile:i,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:r.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:d,nowIndicatorSegs:l&&this.slicer.sliceNowDate(d,i,a,n,s),todayRange:f,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function W_(t,e,n){let i=[];for(let r of t.headerDates)i.push({start:n.add(r,e.slotMinTime),end:n.add(r,e.slotMaxTime)});return i}const Vs=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function G_(t,e,n,i,r){let l=new Date(0),a=t,s=Q(0),d=n||q_(i),f=[];for(;Te(a)<Te(e);){let u=r.add(l,a),m=Qo(s,d)!==null;f.push({date:u,time:a,key:u.toISOString(),isoTimeStr:Zp(u),isLabeled:m}),a=Yo(a,i),s=Yo(s,i)}return f}function q_(t){let e,n,i;for(e=Vs.length-1;e>=0;e-=1)if(n=Q(Vs[e]),i=Qo(n,t),i!==null&&i>1)return n;return t}class Y_ extends E_{constructor(){super(...arguments),this.buildTimeColsModel=F(Q_),this.buildSlatMetas=F(G_)}render(){let{options:e,dateEnv:n,dateProfileGenerator:i}=this.context,{props:r}=this,{dateProfile:l}=r,a=this.buildTimeColsModel(l,i),s=this.allDaySplitter.splitProps(r),d=this.buildSlatMetas(l.slotMinTime,l.slotMaxTime,e.slotLabelInterval,e.slotDuration,n),{dayMinWidth:f}=e,u=!f,m=f,p=e.dayHeaders&&E(Ma,{dates:a.headerDates,dateProfile:l,datesRepDistinctDays:!0,renderIntro:u?this.renderHeadAxis:null}),c=e.allDaySlot!==!1&&(g=>E(ks,Object.assign({},s.allDay,{dateProfile:l,dayTableModel:a,nextDayThreshold:e.nextDayThreshold,tableMinWidth:g.tableMinWidth,colGroupNode:g.tableColGroupNode,renderRowIntro:u?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:g.clientWidth,clientHeight:g.clientHeight,forPrint:r.forPrint},this.getAllDayMaxEventProps()))),_=g=>E(U_,Object.assign({},s.timed,{dayTableModel:a,dateProfile:l,axis:u,slotDuration:e.slotDuration,slatMetas:d,forPrint:r.forPrint,tableColGroupNode:g.tableColGroupNode,tableMinWidth:g.tableMinWidth,clientWidth:g.clientWidth,clientHeight:g.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:g.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return m?this.renderHScrollLayout(p,c,_,a.colCnt,f,d,this.state.slatCoords):this.renderSimpleLayout(p,c,_)}}function Q_(t,e){let n=new La(t.renderRange,e);return new za(n,!1)}var Rs=Ge({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:Y_,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});Ti.touchMouseIgnoreWait=500;let Ui=0,uo=0,Wi=!1;class Is{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=n=>{if(!this.shouldIgnoreMouse()&&Z_(n)&&this.tryStart(n)){let i=this.createEventFromMouse(n,!0);this.emitter.trigger("pointerdown",i),this.initScrollWatch(i),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=n=>{let i=this.createEventFromMouse(n);this.recordCoords(i),this.emitter.trigger("pointermove",i)},this.handleMouseUp=n=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(n)),this.cleanup()},this.handleTouchStart=n=>{if(this.tryStart(n)){this.isTouchDragging=!0;let i=this.createEventFromTouch(n,!0);this.emitter.trigger("pointerdown",i),this.initScrollWatch(i);let r=n.target;this.shouldIgnoreMove||r.addEventListener("touchmove",this.handleTouchMove),r.addEventListener("touchend",this.handleTouchEnd),r.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=n=>{let i=this.createEventFromTouch(n);this.recordCoords(i),this.emitter.trigger("pointermove",i)},this.handleTouchEnd=n=>{if(this.isDragging){let i=n.target;i.removeEventListener("touchmove",this.handleTouchMove),i.removeEventListener("touchend",this.handleTouchEnd),i.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(n)),this.cleanup(),this.isTouchDragging=!1,K_()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=n=>{if(!this.shouldIgnoreMove){let i=window.pageXOffset-this.prevScrollX+this.prevPageX,r=window.pageYOffset-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:n,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:i,pageY:r,deltaX:i-this.origPageX,deltaY:r-this.origPageY})}},this.containerEl=e,this.emitter=new to,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),X_()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),J_()}tryStart(e){let n=this.querySubjectEl(e),i=e.target;return n&&(!this.handleSelector||_e(i,this.handleSelector))?(this.subjectEl=n,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){Wi=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?_e(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return Ui||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(Wi=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,n){let i=0,r=0;return n?(this.origPageX=e.pageX,this.origPageY=e.pageY):(i=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:i,deltaY:r}}createEventFromTouch(e,n){let i=e.touches,r,l,a=0,s=0;return i&&i.length?(r=i[0].pageX,l=i[0].pageY):(r=e.pageX,l=e.pageY),n?(this.origPageX=r,this.origPageY=l):(a=r-this.origPageX,s=l-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:r,pageY:l,deltaX:a,deltaY:s}}}function Z_(t){return t.button===0&&!t.ctrlKey}function K_(){Ui+=1,setTimeout(()=>{Ui-=1},Ti.touchMouseIgnoreWait)}function X_(){uo+=1,uo===1&&window.addEventListener("touchmove",Bs,{passive:!1})}function J_(){uo-=1,uo||window.removeEventListener("touchmove",Bs,{passive:!1})}function Bs(t){Wi&&t.preventDefault()}class e3{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,n,i){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=n-window.pageXOffset,this.origScreenY=i-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,n){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=n-window.pageYOffset-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,n){let i=()=>{this.cleanup(),n()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(i,this.revertDuration):setTimeout(i,0)}doRevertAnimation(e,n){let i=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();i.style.transition="top "+n+"ms,left "+n+"ms",an(i,{left:r.left,top:r.top}),bp(i,()=>{i.style.transition="",e()})}cleanup(){this.mirrorEl&&(Wo(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&an(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,n=this.mirrorEl;return n||(n=this.mirrorEl=this.sourceEl.cloneNode(!0),n.style.userSelect="none",n.style.webkitUserSelect="none",n.classList.add("fc-event-dragging"),an(n,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(n)),n}}class Os extends Si{constructor(e,n){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=n,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class Ms extends Os{constructor(e,n){super(new jm(e),n)}getEventTarget(){return this.scrollController.el}computeClientRect(){return $m(this.scrollController.el)}}class t3 extends Os{constructor(e){super(new Um,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const Ls=typeof performance=="function"?performance.now:Date.now;class n3{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.pageXOffset,this.pointerScreenY+window.pageYOffset);if(e){let n=Ls();this.handleSide(e,(n-this.msSinceRequest)/1e3),this.requestAnimation(n)}else this.isAnimating=!1}}}start(e,n,i){this.isEnabled&&(this.scrollCaches=this.buildCaches(i),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,n))}handleMove(e,n){if(this.isEnabled){let i=e-window.pageXOffset,r=n-window.pageYOffset,l=this.pointerScreenY===null?0:r-this.pointerScreenY,a=this.pointerScreenX===null?0:i-this.pointerScreenX;l<0?this.everMovedUp=!0:l>0&&(this.everMovedDown=!0),a<0?this.everMovedLeft=!0:a>0&&(this.everMovedRight=!0),this.pointerScreenX=i,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(Ls()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,n){let{scrollCache:i}=e,{edgeThreshold:r}=this,l=r-e.distance,a=l*l/(r*r)*this.maxVelocity*n,s=1;switch(e.name){case"left":s=-1;case"right":i.setScrollLeft(i.getScrollLeft()+a*s);break;case"top":s=-1;case"bottom":i.setScrollTop(i.getScrollTop()+a*s);break}}computeBestEdge(e,n){let{edgeThreshold:i}=this,r=null,l=this.scrollCaches||[];for(let a of l){let s=a.clientRect,d=e-s.left,f=s.right-e,u=n-s.top,m=s.bottom-n;d>=0&&f>=0&&u>=0&&m>=0&&(u<=i&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),m<=i&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>m)&&(r={scrollCache:a,name:"bottom",distance:m}),d<=i&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"left",distance:d}),f<=i&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>f)&&(r={scrollCache:a,name:"right",distance:f}))}return r}buildCaches(e){return this.queryScrollEls(e).map(n=>n===window?new t3(!1):new Ms(n,!1))}queryScrollEls(e){let n=[];for(let i of this.scrollQuery)typeof i=="object"?n.push(i):n.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(i)));return n}}class mn extends qm{constructor(e,n){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=r=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,Ep(document.body),Cp(document.body),r.isTouch||r.origEvent.preventDefault(),this.emitter.trigger("pointerdown",r),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(r.subjectEl,r.pageX,r.pageY),this.startDelay(r),this.minDistance||this.handleDistanceSurpassed(r)))},this.onPointerMove=r=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",r),!this.isDistanceSurpassed){let l=this.minDistance,a,{deltaX:s,deltaY:d}=r;a=s*s+d*d,a>=l*l&&this.handleDistanceSurpassed(r)}this.isDragging&&(r.origEvent.type!=="scroll"&&(this.mirror.handleMove(r.pageX,r.pageY),this.autoScroller.handleMove(r.pageX,r.pageY)),this.emitter.trigger("dragmove",r))}},this.onPointerUp=r=>{this.isInteracting&&(this.isInteracting=!1,wp(document.body),kp(document.body),this.emitter.trigger("pointerup",r),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(r)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let i=this.pointer=new Is(e);i.emitter.on("pointerdown",this.onPointerDown),i.emitter.on("pointermove",this.onPointerMove),i.emitter.on("pointerup",this.onPointerUp),n&&(i.selector=n),this.mirror=new e3,this.autoScroller=new n3}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class o3{constructor(e){this.origRect=vi(e),this.scrollCaches=Va(e).map(n=>new Ms(n,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let n of this.scrollCaches)e+=n.origScrollLeft-n.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let n of this.scrollCaches)e+=n.origScrollTop-n.getScrollTop();return e}isWithinClipping(e,n){let i={left:e,top:n};for(let r of this.scrollCaches)if(!i3(r.getEventTarget())&&!xm(i,r.clientRect))return!1;return!0}}function i3(t){let e=t.tagName;return e==="HTML"||e==="BODY"}class fo{constructor(e,n){this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=i=>{let{dragging:r}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(i),this.initialHit||!this.requireInitial?(r.setIgnoreMove(!1),this.emitter.trigger("pointerdown",i)):r.setIgnoreMove(!0)},this.handleDragStart=i=>{this.emitter.trigger("dragstart",i),this.handleMove(i,!0)},this.handleDragMove=i=>{this.emitter.trigger("dragmove",i),this.handleMove(i)},this.handlePointerUp=i=>{this.releaseHits(),this.emitter.trigger("pointerup",i)},this.handleDragEnd=i=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,i),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",i)},this.droppableStore=n,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new to}processFirstCoord(e){let n={left:e.pageX,top:e.pageY},i=n,r=e.subjectEl,l;r instanceof HTMLElement&&(l=vi(r),i=Nm(i,l));let a=this.initialHit=this.queryHitForOffset(i.left,i.top);if(a){if(this.useSubjectCenter&&l){let s=xa(l,a.rect);s&&(i=Tm(s))}this.coordAdjust=Vm(i,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,n){let i=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(n||!po(this.movingHit,i))&&(this.movingHit=i,this.emitter.trigger("hitupdate",i,!1,e))}prepareHits(){this.offsetTrackers=$e(this.droppableStore,e=>(e.component.prepareHits(),new o3(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let n in e)e[n].destroy();this.offsetTrackers={}}queryHitForOffset(e,n){let{droppableStore:i,offsetTrackers:r}=this,l=null;for(let a in i){let s=i[a].component,d=r[a];if(d&&d.isWithinClipping(e,n)){let f=d.computeLeft(),u=d.computeTop(),m=e-f,p=n-u,{origRect:c}=d,_=c.right-c.left,g=c.bottom-c.top;if(m>=0&&m<_&&p>=0&&p<g){let h=s.queryHit(m,p,_,g);h&&Zn(h.dateProfile.activeRange,h.dateSpan.range)&&(!l||h.layer>l.layer)&&(h.componentId=a,h.context=s.context,h.rect.left+=f,h.rect.right+=f,h.rect.top+=u,h.rect.bottom+=u,l=h)}}}return l}}function po(t,e){return!t&&!e?!0:!!t!=!!e?!1:ym(t.dateSpan,e.dateSpan)}function zs(t,e){let n={};for(let i of e.pluginHooks.datePointTransforms)Object.assign(n,i(t,e));return Object.assign(n,r3(t,e.dateEnv)),n}function r3(t,e){return{date:e.toDate(t.range.start),dateStr:e.formatIso(t.range.start,{omitTime:t.allDay}),allDay:t.allDay}}class l3 extends Gt{constructor(e){super(e),this.handlePointerDown=i=>{let{dragging:r}=this,l=i.origEvent.target;r.setIgnoreMove(!this.component.isValidDateDownEl(l))},this.handleDragEnd=i=>{let{component:r}=this,{pointer:l}=this.dragging;if(!l.wasTouchScroll){let{initialHit:a,finalHit:s}=this.hitDragging;if(a&&s&&po(a,s)){let{context:d}=r,f=Object.assign(Object.assign({},zs(a.dateSpan,d)),{dayEl:a.dayEl,jsEvent:i.origEvent,view:d.viewApi||d.calendarApi.view});d.emitter.trigger("dateClick",f)}}},this.dragging=new mn(e.el),this.dragging.autoScroller.isEnabled=!1;let n=this.hitDragging=new fo(this.dragging,yi(e));n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class a3 extends Gt{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=a=>{let{component:s,dragging:d}=this,{options:f}=s.context,u=f.selectable&&s.isValidDateDownEl(a.origEvent.target);d.setIgnoreMove(!u),d.delay=a.isTouch?s3(s):null},this.handleDragStart=a=>{this.component.context.calendarApi.unselect(a)},this.handleHitUpdate=(a,s)=>{let{context:d}=this.component,f=null,u=!1;if(a){let m=this.hitDragging.initialHit;a.componentId===m.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(m,a)||(f=c3(m,a,d.pluginHooks.dateSelectionTransformers)),(!f||!Jm(f,a.dateProfile,d))&&(u=!0,f=null)}f?d.dispatch({type:"SELECT_DATES",selection:f}):s||d.dispatch({type:"UNSELECT_DATES"}),u?Go():qo(),s||(this.dragSelection=f)},this.handlePointerUp=a=>{this.dragSelection&&(ha(this.dragSelection,a,this.component.context),this.dragSelection=null)};let{component:n}=e,{options:i}=n.context,r=this.dragging=new mn(e.el);r.touchScrollAllowed=!1,r.minDistance=i.selectMinDistance||0,r.autoScroller.isEnabled=i.dragScroll;let l=this.hitDragging=new fo(this.dragging,yi(e));l.emitter.on("pointerdown",this.handlePointerDown),l.emitter.on("dragstart",this.handleDragStart),l.emitter.on("hitupdate",this.handleHitUpdate),l.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}function s3(t){let{options:e}=t.context,n=e.selectLongPressDelay;return n==null&&(n=e.longPressDelay),n}function c3(t,e,n){let i=t.dateSpan,r=e.dateSpan,l=[i.range.start,i.range.end,r.range.start,r.range.end];l.sort(xp);let a={};for(let s of n){let d=s(t,e);if(d===!1)return null;d&&Object.assign(a,d)}return a.range={start:l[0],end:l[3]},a.allDay=i.allDay,a}class gn extends Gt{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=a=>{let s=a.origEvent.target,{component:d,dragging:f}=this,{mirror:u}=f,{options:m}=d.context,p=d.context;this.subjectEl=a.subjectEl;let c=this.subjectSeg=Wt(a.subjectEl),g=(this.eventRange=c.eventRange).instance.instanceId;this.relevantEvents=pi(p.getCurrentData().eventStore,g),f.minDistance=a.isTouch?0:m.eventDragMinDistance,f.delay=a.isTouch&&g!==d.props.eventSelection?u3(d):null,m.fixedMirrorParent?u.parentNode=m.fixedMirrorParent:u.parentNode=_e(s,".fc"),u.revertDuration=m.dragRevertDuration;let h=d.isValidSegDownEl(s)&&!_e(s,".fc-event-resizer");f.setIgnoreMove(!h),this.isDragging=h&&a.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=a=>{let s=this.component.context,d=this.eventRange,f=d.instance.instanceId;a.isTouch?f!==this.component.props.eventSelection&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:f}):s.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(s.calendarApi.unselect(a),s.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new se(s,d.def,d.instance),jsEvent:a.origEvent,view:s.viewApi}))},this.handleHitUpdate=(a,s)=>{if(!this.isDragging)return;let d=this.relevantEvents,f=this.hitDragging.initialHit,u=this.component.context,m=null,p=null,c=null,_=!1,g={affectedEvents:d,mutatedEvents:Ae(),isEvent:!0};if(a){m=a.context;let h=m.options;u===m||h.editable&&h.droppable?(p=d3(f,a,m.getCurrentData().pluginHooks.eventDragMutationMassagers),p&&(c=gi(d,m.getCurrentData().eventUiBases,p,m),g.mutatedEvents=c,Fa(g,a.dateProfile,m)||(_=!0,p=null,c=null,g.mutatedEvents=Ae()))):m=null}this.displayDrag(m,g),_?Go():qo(),s||(u===m&&po(f,a)&&(p=null),this.dragging.setMirrorNeedsRevert(!p),this.dragging.setMirrorIsVisible(!a||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=m,this.validMutation=p,this.mutatedRelevantEvents=c)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=a=>{if(this.isDragging){let s=this.component.context,d=s.viewApi,{receivingContext:f,validMutation:u}=this,m=this.eventRange.def,p=this.eventRange.instance,c=new se(s,m,p),_=this.relevantEvents,g=this.mutatedRelevantEvents,{finalHit:h}=this.hitDragging;if(this.clearDrag(),s.emitter.trigger("eventDragStop",{el:this.subjectEl,event:c,jsEvent:a.origEvent,view:d}),u){if(f===s){let b=new se(s,g.defs[m.defId],p?g.instances[p.instanceId]:null);s.dispatch({type:"MERGE_EVENTS",eventStore:g});let y={oldEvent:c,event:b,relatedEvents:St(g,s,p),revert(){s.dispatch({type:"MERGE_EVENTS",eventStore:_})}},C={};for(let k of s.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(C,k(u,s));s.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},y),C),{el:a.subjectEl,delta:u.datesDelta,jsEvent:a.origEvent,view:d})),s.emitter.trigger("eventChange",y)}else if(f){let b={event:c,relatedEvents:St(_,s,p),revert(){s.dispatch({type:"MERGE_EVENTS",eventStore:_})}};s.emitter.trigger("eventLeave",Object.assign(Object.assign({},b),{draggedEl:a.subjectEl,view:d})),s.dispatch({type:"REMOVE_EVENTS",eventStore:_}),s.emitter.trigger("eventRemove",b);let y=g.defs[m.defId],C=g.instances[p.instanceId],k=new se(f,y,C);f.dispatch({type:"MERGE_EVENTS",eventStore:g});let B={event:k,relatedEvents:St(g,f,C),revert(){f.dispatch({type:"REMOVE_EVENTS",eventStore:g})}};f.emitter.trigger("eventAdd",B),a.isTouch&&f.dispatch({type:"SELECT_EVENT",eventInstanceId:p.instanceId}),f.emitter.trigger("drop",Object.assign(Object.assign({},zs(h.dateSpan,f)),{draggedEl:a.subjectEl,jsEvent:a.origEvent,view:h.context.viewApi})),f.emitter.trigger("eventReceive",Object.assign(Object.assign({},B),{draggedEl:a.subjectEl,view:h.context.viewApi}))}}else s.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:n}=this,{options:i}=n.context,r=this.dragging=new mn(e.el);r.pointer.selector=gn.SELECTOR,r.touchScrollAllowed=!1,r.autoScroller.isEnabled=i.dragScroll;let l=this.hitDragging=new fo(this.dragging,bi);l.useSubjectCenter=e.useEventCenter,l.emitter.on("pointerdown",this.handlePointerDown),l.emitter.on("dragstart",this.handleDragStart),l.emitter.on("hitupdate",this.handleHitUpdate),l.emitter.on("pointerup",this.handlePointerUp),l.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,n){let i=this.component.context,r=this.receivingContext;r&&r!==e&&(r===i?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:n.affectedEvents,mutatedEvents:Ae(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:n})}clearDrag(){let e=this.component.context,{receivingContext:n}=this;n&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e!==n&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}gn.SELECTOR=".fc-event-draggable, .fc-event-resizable";function d3(t,e,n){let i=t.dateSpan,r=e.dateSpan,l=i.range.start,a=r.range.start,s={};i.allDay!==r.allDay&&(s.allDay=r.allDay,s.hasEnd=e.context.options.allDayMaintainDuration,r.allDay&&(l=ie(l)));let d=jt(l,a,t.context.dateEnv,t.componentId===e.componentId?t.largeUnit:null);d.milliseconds&&(s.allDay=!1);let f={datesDelta:d,standardProps:s};for(let u of n)u(f,t,e);return f}function u3(t){let{options:e}=t.context,n=e.eventLongPressDelay;return n==null&&(n=e.longPressDelay),n}class f3 extends Gt{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=l=>{let{component:a}=this,s=this.querySegEl(l),d=Wt(s),f=this.eventRange=d.eventRange;this.dragging.minDistance=a.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(l.origEvent.target)||l.isTouch&&this.component.props.eventSelection!==f.instance.instanceId)},this.handleDragStart=l=>{let{context:a}=this.component,s=this.eventRange;this.relevantEvents=pi(a.getCurrentData().eventStore,this.eventRange.instance.instanceId);let d=this.querySegEl(l);this.draggingSegEl=d,this.draggingSeg=Wt(d),a.calendarApi.unselect(),a.emitter.trigger("eventResizeStart",{el:d,event:new se(a,s.def,s.instance),jsEvent:l.origEvent,view:a.viewApi})},this.handleHitUpdate=(l,a,s)=>{let{context:d}=this.component,f=this.relevantEvents,u=this.hitDragging.initialHit,m=this.eventRange.instance,p=null,c=null,_=!1,g={affectedEvents:f,mutatedEvents:Ae(),isEvent:!0};l&&(l.componentId===u.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(u,l)||(p=p3(u,l,s.subjectEl.classList.contains("fc-event-resizer-start"),m.range))),p&&(c=gi(f,d.getCurrentData().eventUiBases,p,d),g.mutatedEvents=c,Fa(g,l.dateProfile,d)||(_=!0,p=null,c=null,g.mutatedEvents=null)),c?d.dispatch({type:"SET_EVENT_RESIZE",state:g}):d.dispatch({type:"UNSET_EVENT_RESIZE"}),_?Go():qo(),a||(p&&po(u,l)&&(p=null),this.validMutation=p,this.mutatedRelevantEvents=c)},this.handleDragEnd=l=>{let{context:a}=this.component,s=this.eventRange.def,d=this.eventRange.instance,f=new se(a,s,d),u=this.relevantEvents,m=this.mutatedRelevantEvents;if(a.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:f,jsEvent:l.origEvent,view:a.viewApi}),this.validMutation){let p=new se(a,m.defs[s.defId],d?m.instances[d.instanceId]:null);a.dispatch({type:"MERGE_EVENTS",eventStore:m});let c={oldEvent:f,event:p,relatedEvents:St(m,a,d),revert(){a.dispatch({type:"MERGE_EVENTS",eventStore:u})}};a.emitter.trigger("eventResize",Object.assign(Object.assign({},c),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||Q(0),endDelta:this.validMutation.endDelta||Q(0),jsEvent:l.origEvent,view:a.viewApi})),a.emitter.trigger("eventChange",c)}else a.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:n}=e,i=this.dragging=new mn(e.el);i.pointer.selector=".fc-event-resizer",i.touchScrollAllowed=!1,i.autoScroller.isEnabled=n.context.options.dragScroll;let r=this.hitDragging=new fo(this.dragging,yi(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return _e(e.subjectEl,".fc-event")}}function p3(t,e,n,i){let r=t.context.dateEnv,l=t.dateSpan.range.start,a=e.dateSpan.range.start,s=jt(l,a,r,t.largeUnit);if(n){if(r.add(i.start,s)<i.end)return{startDelta:s}}else if(r.add(i.end,s)>i.start)return{endDelta:s};return null}class h3{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=i=>{i.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=i=>{let r=this.context.options.unselectCancel,l=Al(i.origEvent);this.matchesCancel=!!_e(l,r),this.matchesEvent=!!_e(l,gn.SELECTOR)},this.onDocumentPointerUp=i=>{let{context:r}=this,{documentPointer:l}=this,a=r.getCurrentData();if(!l.wasTouchScroll){if(a.dateSelection&&!this.isRecentPointerDateSelect){let s=r.options.unselectAuto;s&&(!s||!this.matchesCancel)&&r.calendarApi.unselect(i)}a.eventSelection&&!this.matchesEvent&&r.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let n=this.documentPointer=new Is(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}const m3={fixedMirrorParent:v},g3={dateClick:v,eventDragStart:v,eventDragStop:v,eventDrop:v,eventResizeStart:v,eventResizeStop:v,eventResize:v,drop:v,eventReceive:v,eventLeave:v};Ti.dataAttrPrefix="";var Ps=Ge({name:"@fullcalendar/interaction",componentInteractions:[l3,a3,gn,f3],calendarInteractions:[h3],elementDraggingImpl:mn,optionRefiners:m3,listenerRefiners:g3});let _3=0,y3=new Date().toISOString().replace(/T.*$/,"");const b3=[{id:E3(),title:"All-day event",start:y3}];function E3(){return String(_3++)}const _n=t=>(o.pushScopeId("data-v-f8cb3591"),t=t(),o.popScopeId(),t),w3={class:"demo-app"},C3={class:"demo-app-main"},k3={class:"title-line"},v3=["title","onClick"],S3={key:0,style:{width:"90%"}},A3=_n(()=>o.createElementVNode("span",{class:"to"},"至",-1)),D3={key:1,style:{width:"90%"}},x3=_n(()=>o.createElementVNode("span",{class:"to"},"至",-1)),N3={key:2,style:{width:"90%",display:"flex","align-items":"center","justify-content":"space-between"}},T3={key:0,style:{"margin-left":"2%"}},V3=_n(()=>o.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),R3={key:1},I3=_n(()=>o.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),B3={key:0,class:"placeholder"},O3={class:"info"},M3=_n(()=>o.createElementVNode("img",{src:"https://img1.baidu.com/it/u=1960110688,1786190632&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281",alt:""},null,-1)),L3={class:"dialog-footer"},z3={name:"IkApprovalProcess"},P3=o.defineComponent({...z3,props:{dataList:{type:Array,default:()=>[]},defaultNodeType:{type:Object,default:()=>({})},defaultFieldMap:{type:Object,default:()=>({})},statusWithoutApprover:{type:Object,default:()=>({})}},emits:["delete","success"],setup(t,{emit:e}){const n=e,i=g=>{if(s.selectInfo=g,l(),g.view.type=="dayGridMonth"){let b=g.end.getTime()-864e5;s.timeType="month",s.form.startDate=z.ikDate.toYMD(g.start),s.form.endDate=z.ikDate.toYMD(new Date(b))}else g.view.type=="timeGridWeek"?(s.timeType="week",s.form.startDate=z.ikDate.toYMDHM(g.start),s.form.endDate=z.ikDate.toYMDHM(g.end)):g.view.type=="timeGridDay"&&(s.timeType="day",s.form.startDate=z.ikDate.toYMD(g.start),s.form.endDate=z.ikDate.toYMD(g.start),s.form.startTime=z.ikDate.toDateTime(g.start),s.form.endTime=z.ikDate.toDateTime(g.end));g.view.calendar.unselect(),o.nextTick(()=>{s.title="新建日程",s.dialogVisible=!0})},r=(g,h)=>{s.title="修改日程",s.dialogVisible=!0},l=g=>{fetch("http://192.168.2.45:6002/component/pick/mix",{method:"POST",body:JSON.stringify({parentDepartmentId:g||"",name:""}),headers:{Authorization:"Bearer iking","Content-Type":"application/json"}}).then(y=>{y.json().then(C=>{const{success:k,data:B}=C;if(!k)return;const{departments:S,users:x,roles:w,posts:N}=B;s.depList=S,s.userList=x,s.roleList=w,s.postList=N})}).catch(y=>{console.info("error: ",y)})},a=g=>{s.currentEvents=g},s=o.reactive({allDay:!1,dialogVisible:!1,form:{title:"",type:1,startDate:"",endDate:"",startTime:"",endTime:"",personList:[],location:""},formRef:null,title:"新建日程",timeType:"month",handList:[],isShow:!1,depList:[],userList:[],roleList:[],postList:[],selectInfo:{},calendarOptions:{locale:Lr,plugins:[vs,Rs,Ps],headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},firstDay:1,initialView:"dayGridMonth",initialEvents:b3,editable:!0,selectable:!0,selectMirror:!0,dayMaxEvents:!0,weekends:!0,select:i,eventClick:g=>r(),eventsSet:a},currentEvents:[]}),d=()=>{var g;(g=s.formRef)==null||g.resetFields(),s.form={title:"",type:1,startDate:"",endDate:"",startTime:"",endTime:"",personList:[],location:""},s.dialogVisible=!1},f=async()=>{var b,y,C,k;let g=(y=(b=s.selectInfo)==null?void 0:b.view)==null?void 0:y.calendar,h={id:new Date().getTime(),title:s.form.title,start:(C=s.selectInfo)==null?void 0:C.startStr,end:(k=s.selectInfo)==null?void 0:k.endStr,allDay:s.allDay};await g.addEvent(h),n("success",h),d()},u=g=>{A.ElMessageBox.confirm(`你确定删除事件'${g.event.title}'?`,"Warning",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then(()=>{A.ElMessage({type:"success",message:"删除成功"}),g.event.remove(),n("delete",g.event)})},m=g=>{s.handList=g.list,s.form.personList=g.list},p=()=>{s.isShow=!0},c=g=>{l(g==null?void 0:g.elementId)},_=g=>{s.form.personList.splice(g,1),s.handList=s.form.personList};return(g,h)=>{const b=o.resolveComponent("el-checkbox");return o.openBlock(),o.createElementBlock("div",w3,[o.createElementVNode("div",C3,[o.createVNode(o.unref(hs),{class:"demo-app-calendar",options:s.calendarOptions},{eventContent:o.withCtx(y=>[o.createElementVNode("div",k3,[o.createElementVNode("span",{class:"title",title:y.event.title,onClick:o.withModifiers(C=>r(),["stop"])},o.toDisplayString(y.event.title),9,v3),o.createVNode(o.unref(A.ElIcon),{size:16,onClick:o.withModifiers(C=>u(y),["stop"])},{default:o.withCtx(()=>[o.createVNode(o.unref(Rr))]),_:2},1032,["onClick"])])]),_:1},8,["options"])]),o.createCommentVNode(" 新建日程 "),o.createVNode(o.unref(A.ElDialog),{modelValue:s.dialogVisible,"onUpdate:modelValue":h[12]||(h[12]=y=>s.dialogVisible=y),title:s.title,width:"30%",ref:"formRef",onClose:d},{footer:o.withCtx(()=>[o.createElementVNode("span",L3,[o.createVNode(o.unref(A.ElButton),{onClick:d},{default:o.withCtx(()=>[o.createTextVNode("取消")]),_:1}),o.createVNode(o.unref(A.ElButton),{type:"primary",onClick:f},{default:o.withCtx(()=>[o.createTextVNode("确定")]),_:1})])]),default:o.withCtx(()=>[o.createVNode(o.unref(A.ElForm),{model:s.form},{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElFormItem),null,{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElIcon),{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(xr))]),_:1}),o.createVNode(o.unref(A.ElInput),{modelValue:s.form.title,"onUpdate:modelValue":h[0]||(h[0]=y=>s.form.title=y),placeholder:`添加${s.form.type==1?"会议":"活动"}标题`,style:{width:"70%"},clearable:""},null,8,["modelValue","placeholder"]),o.createVNode(o.unref(A.ElSelect),{modelValue:s.form.type,"onUpdate:modelValue":h[1]||(h[1]=y=>s.form.type=y),style:{width:"20%"}},{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElOption),{label:"会议",value:1}),o.createVNode(o.unref(A.ElOption),{label:"活动",value:2})]),_:1},8,["modelValue"])]),_:1}),o.createVNode(o.unref(A.ElFormItem),null,{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElIcon),{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Tr))]),_:1}),s.timeType=="month"?(o.openBlock(),o.createElementBlock("div",S3,[o.createVNode(o.unref(A.ElDatePicker),{modelValue:s.form.startDate,"onUpdate:modelValue":h[2]||(h[2]=y=>s.form.startDate=y),type:"date",placeholder:"开始日期",style:{width:"48%"}},null,8,["modelValue"]),A3,o.createVNode(o.unref(A.ElDatePicker),{modelValue:s.form.endDate,"onUpdate:modelValue":h[3]||(h[3]=y=>s.form.endDate=y),type:"date",placeholder:"结束日期",style:{width:"48%"}},null,8,["modelValue"])])):o.createCommentVNode("v-if",!0),s.timeType=="week"?(o.openBlock(),o.createElementBlock("div",D3,[o.createVNode(o.unref(A.ElDatePicker),{modelValue:s.form.startDate,"onUpdate:modelValue":h[4]||(h[4]=y=>s.form.startDate=y),type:"datetime",placeholder:"开始日期",style:{width:"48%"},format:"YYYY-MM-DD HH:mm"},null,8,["modelValue"]),x3,o.createVNode(o.unref(A.ElDatePicker),{modelValue:s.form.endDate,"onUpdate:modelValue":h[5]||(h[5]=y=>s.form.endDate=y),type:"datetime",placeholder:"结束日期",style:{width:"48%"},format:"YYYY-MM-DD HH:mm"},null,8,["modelValue"])])):o.createCommentVNode("v-if",!0),s.timeType=="day"?(o.openBlock(),o.createElementBlock("div",N3,[o.createVNode(o.unref(A.ElDatePicker),{modelValue:s.form.startDate,"onUpdate:modelValue":h[6]||(h[6]=y=>s.form.startDate=y),type:"date",placeholder:"开始日期",style:o.normalizeStyle({width:s.allDay?"45%":"90%"})},null,8,["modelValue","style"]),s.allDay?(o.openBlock(),o.createElementBlock("div",R3,[I3,o.createVNode(o.unref(A.ElDatePicker),{modelValue:s.form.endDate,"onUpdate:modelValue":h[9]||(h[9]=y=>s.form.endDate=y),type:"date",placeholder:"结束日期",style:{width:"90%"}},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("div",T3,[o.createVNode(o.unref(A.ElTimePicker),{modelValue:s.form.startTime,"onUpdate:modelValue":h[7]||(h[7]=y=>s.form.startTime=y),type:"datetime",placeholder:"开始日期",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"]),V3,o.createVNode(o.unref(A.ElTimePicker),{modelValue:s.form.endTime,"onUpdate:modelValue":h[8]||(h[8]=y=>s.form.endTime=y),type:"datetime",placeholder:"结束日期",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"])])),o.createVNode(b,{modelValue:s.allDay,"onUpdate:modelValue":h[10]||(h[10]=y=>s.allDay=y),label:"全天",style:{"margin-left":"2%"}},null,8,["modelValue"])])):o.createCommentVNode("v-if",!0)]),_:1}),o.createVNode(o.unref(A.ElFormItem),null,{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElIcon),{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Qd))]),_:1}),o.createElementVNode("div",{class:"personBlock",onClick:o.withModifiers(p,["stop"])},[s.form.personList.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(s.form.personList,(y,C)=>(o.openBlock(),o.createElementBlock("div",{key:C,class:"nameBlock"},[o.createElementVNode("div",O3,[M3,o.createElementVNode("div",null,o.toDisplayString(y.elementName),1)]),o.createVNode(o.unref(A.ElIcon),{class:"close",onClick:o.withModifiers(k=>_(C),["stop"])},{default:o.withCtx(()=>[o.createVNode(o.unref(Vr))]),_:2},1032,["onClick"])]))),128)):(o.openBlock(),o.createElementBlock("span",B3,"添加参与人"))])]),_:1}),o.createVNode(o.unref(A.ElFormItem),null,{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElIcon),{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Od))]),_:1}),o.createVNode(o.unref(A.ElInput),{modelValue:s.form.location,"onUpdate:modelValue":h[11]||(h[11]=y=>s.form.location=y),placeholder:"添加地点",style:{width:"90%"},clearable:""},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue","title"]),o.createCommentVNode(" 选人组件 "),o.createVNode(o.unref(En),{modelValue:s.handList,"onUpdate:modelValue":h[13]||(h[13]=y=>s.handList=y),show:s.isShow,"onUpdate:show":h[14]||(h[14]=y=>s.isShow=y),onOk:m,multiple:!0,"type-option":{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},"dep-list":s.depList,"user-list":s.userList,"prop-option":{name:"elementName",id:"elementId",type:"elementType",avatar:"avatar"},chooseType:["user"],onHandChild:c},null,8,["modelValue","show","dep-list","user-list"])])}}}),S4="",F3=oe(K(P3,[["__scopeId","data-v-f8cb3591"]])),$3={class:"ik-hor-step-content"},H3={class:"flex"},j3=["onClick"],U3=["id","onClick"],W3=o.defineComponent({__name:"IKHorizontalStepBar",props:{spaceNum:{type:String,default:"58px"},active:{type:Number,default:null},activeColor:{type:String,default:""},needClick:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},propsField:{type:Object,default:()=>({title:"title",value:"value"})}},emits:["click","update:active"],setup(t,{emit:e}){const n=t,i=e,r=o.ref(!1),l=o.ref(),a=o.ref(),s=o.ref(!1);o.watch(()=>n.active,g=>{let h=document.getElementById("stepItemContent"),b=document.getElementById(`stepItem${g}`),y=document.getElementById("stepItem0");const C=b&&y?(b==null?void 0:b.offsetLeft)-(y==null?void 0:y.offsetLeft):0;h&&b&&(h.scrollLeft=C>(h==null?void 0:h.clientWidth)?C-(h==null?void 0:h.offsetLeft):0)}),o.onMounted(()=>{o.nextTick(()=>{let h=document.getElementById("stepItemContent"),b=(h==null?void 0:h.scrollWidth)>(h==null?void 0:h.clientWidth);r.value=b,window.addEventListener("resize",g,!0)});const g=()=>{let h=document.getElementById("stepItemContent"),b=(h==null?void 0:h.scrollWidth)>(h==null?void 0:h.clientWidth);r.value=b}});const d=(g,h)=>{if(!n.needClick)return;i("update:active",h),i("click",g);let b=document.getElementById("stepItemContent"),y=document.getElementById(`stepItem${h}`),C=document.getElementById("stepItem0");const k=y&&C?(y==null?void 0:y.offsetLeft)-(C==null?void 0:C.offsetLeft):0;b&&y&&(b.scrollLeft=k>(b==null?void 0:b.clientWidth)?k-(b==null?void 0:b.offsetLeft):0)},f=()=>{let g=document.getElementById("stepItemContent");g&&(g.scrollLeft=g.scrollLeft-20)},u=()=>{let g=document.getElementById("stepItemContent");g&&(g.scrollLeft=g.scrollLeft+20)},m=()=>{clearInterval(a.value);let g=document.getElementById("stepItemContent");s.value=!1,a.value=setInterval(()=>{s.value=!0,g&&(g.scrollLeft=g.scrollLeft-20)},100)},p=()=>{clearInterval(a.value),s.value||f()},c=()=>{clearInterval(l.value);let g=document.getElementById("stepItemContent");s.value=!1,l.value=setInterval(()=>{s.value=!0,g&&(g.scrollLeft=g.scrollLeft+20)},100)},_=()=>{clearInterval(l.value),s.value||u()};return(g,h)=>{const b=o.resolveComponent("el-icon");return o.openBlock(),o.createElementBlock("div",$3,[o.createElementVNode("div",H3,[r.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"icon-left",onMousedown:m,onMouseup:p,onClick:f},[o.createVNode(b,{class:"operation-icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Ar),{size:"26px"})]),_:1})],32)):o.createCommentVNode("v-if",!0),o.createElementVNode("div",{class:"step-item-content",id:"stepItemContent",style:o.normalizeStyle({justifyContent:r.value?"flex-start":"center"})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.list,(y,C)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(`step-item ${C<=t.active?"step-item-active":""}`),key:C},[C!=0?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(`step-border ${C<=t.active?"step-border-greater-than":""}`),style:o.normalizeStyle({width:`${t.spaceNum.indexOf("px")!=-1?t.spaceNum:`${t.spaceNum}px`}`})},null,6)):o.createCommentVNode("v-if",!0),o.createElementVNode("span",{class:o.normalizeClass(`step-num ${C===t.active?"step-num-active":C<t.active?"step-num-greater-than":""}`),onClick:k=>d(y,C),style:o.normalizeStyle({backgroundColor:C===t.active&&t.activeColor?t.activeColor:"",cursor:y&&y.disabled?"not-allowed":t.needClick?"pointer":"context-menu"})},[o.renderSlot(g.$slots,"icon",{data:{item:y,index:C}},()=>[o.createTextVNode(o.toDisplayString(C+1),1)],!0)],14,j3),o.createElementVNode("span",{id:`stepItem${C}`,class:o.normalizeClass(`step-label ${t.active===C?"step-label-active":C<t.active?"step-label-greater-than":""} step-item-${C}`),style:o.normalizeStyle({color:C===t.active&&t.activeColor?t.activeColor:"",cursor:y&&y.disabled?"not-allowed":t.needClick?"pointer":"context-menu"}),onClick:k=>d(y,C)},o.toDisplayString(y[t.propsField.title]),15,U3)],2))),128))],4),r.value?(o.openBlock(),o.createElementBlock("div",{key:1,class:"icon-right",onMousedown:c,onMouseup:_,onClick:u},[o.createVNode(b,{class:"operation-icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Dr))]),_:1})],32)):o.createCommentVNode("v-if",!0)])])}}}),D4="",G3=oe(K(W3,[["__scopeId","data-v-c8da17cd"]])),q3=typeof btoa=="function",Gi=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Fs=typeof TextEncoder=="function"?new TextEncoder:void 0,Y3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",yn=Array.prototype.slice.call(Y3);(t=>{let e={};return t.forEach((n,i)=>e[n]=i),e})(yn);const ze=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const Q3=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),$s=q3?t=>btoa(t):Gi?t=>Buffer.from(t,"binary").toString("base64"):t=>{let e,n,i,r,l="";const a=t.length%3;for(let s=0;s<t.length;){if((n=t.charCodeAt(s++))>255||(i=t.charCodeAt(s++))>255||(r=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");e=n<<16|i<<8|r,l+=yn[e>>18&63]+yn[e>>12&63]+yn[e>>6&63]+yn[e&63]}return a?l.slice(0,a-3)+"===".substring(a):l},Z3=Gi?t=>Buffer.from(t).toString("base64"):t=>{let n=[];for(let i=0,r=t.length;i<r;i+=4096)n.push(ze.apply(null,t.subarray(i,i+4096)));return $s(n.join(""))},K3=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?ze(192|e>>>6)+ze(128|e&63):ze(224|e>>>12&15)+ze(128|e>>>6&63)+ze(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return ze(240|e>>>18&7)+ze(128|e>>>12&63)+ze(128|e>>>6&63)+ze(128|e&63)}},X3=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,J3=t=>t.replace(X3,K3),Hs=Gi?t=>Buffer.from(t,"utf8").toString("base64"):Fs?t=>Z3(Fs.encode(t)):t=>$s(J3(t)),e6=(t,e=!1)=>e?Q3(Hs(t)):Hs(t),t6=["src"],js=o.defineComponent({__name:"IKPreviewFile",props:{modelValue:{type:Boolean,default:!1},kkUrl:{required:!0,type:String,default:""},url:{required:!0,type:String,default:""},loadUrl:{type:String,default:""},fileName:{type:String,default:""}},setup(t){const e=t,n=o.ref(null),i=o.computed(()=>!e.kkUrl||!e.url?"":`${e.kkUrl}${encodeURIComponent(e6(`${e.loadUrl}${e.url}${e.fileName?`&fullfilename=${e.fileName}`:""}`))}`),r=o.ref(e.modelValue);return o.watch(()=>e.modelValue,l=>{r.value=l}),(l,a)=>(o.openBlock(),o.createBlock(o.unref(A.ElDialog),{fullscreen:"",modelValue:r.value,"onUpdate:modelValue":a[0]||(a[0]=s=>r.value=s),"destroy-on-close":"","append-to-body":"","modal-class":"ik-file-preview-modal",onClose:a[1]||(a[1]=s=>l.$emit("update:modelValue",!1)),class:"ik-file-preview"},{default:o.withCtx(()=>[o.createElementVNode("iframe",{ref_key:"freamRef",ref:n,"cross-origin":"",src:i.value,frameborder:"0",allowfullscreen:"",seamless:""},null,8,t6)]),_:1},8,["modelValue"]))}}),T4="",n6=oe(js),o6={key:0,t:"1686300037564",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7515",width:"200",height:"200"},i6=[o.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#029EF7","p-id":"7516"},null,-1),o.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#64b5ed","p-id":"7517"},null,-1),o.createElementVNode("path",{d:"M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",fill:"#FFFFFF","p-id":"7518"},null,-1)],r6={key:1,t:"1686300059786",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7671",width:"200",height:"200"},l6=[o.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#50CD89","p-id":"7672"},null,-1),o.createElementVNode("path",{d:"M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",fill:"#FFF7F7","p-id":"7673"},null,-1),o.createElementVNode("path",{d:"M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",fill:"#FFFFFF","p-id":"7674"},null,-1),o.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#a9f6cc","p-id":"7675"},null,-1)],a6={key:2,t:"1686301531714",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9067",width:"200",height:"200"},s6=[o.createElementVNode("path",{d:"M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",fill:"#FFA621","p-id":"9068"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"9069"},null,-1)],c6={key:3,t:"1686300141125",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8137",width:"200",height:"200"},d6=[o.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",fill:"#F1416C","p-id":"8138"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8139"},null,-1)],u6={key:4,t:"1686300157181",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8292",width:"200",height:"200"},f6=[o.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",fill:"#029EF7","p-id":"8293"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8294"},null,-1)],p6={key:5,t:"1686300180947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8447",width:"200",height:"200"},h6=[o.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",fill:"#F1416C","p-id":"8448"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8449"},null,-1)],m6={key:6,t:"1686300195363",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8602",width:"200",height:"200"},g6=[o.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",fill:"#029EF7","p-id":"8603"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8604"},null,-1)],_6={key:7,t:"1686300209288",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8757",width:"200",height:"200"},y6=[o.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",fill:"#FFA621","p-id":"8758"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8759"},null,-1)],b6={key:8,t:"1686300225262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8912",width:"200",height:"200"},E6=[o.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",fill:"#FFA621","p-id":"8913"},null,-1),o.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8914"},null,-1)],w6={key:9,t:"1692251753690",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4336",width:"200",height:"200"},C6=[o.createElementVNode("path",{d:"M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",fill:"#00BD76","p-id":"4337"},null,-1),o.createElementVNode("path",{d:"M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",fill:"#FFFFFF",opacity:".9","p-id":"4338"},null,-1),o.createElementVNode("path",{d:"M640 0l320 320H768a128 128 0 0 1-128-128V0z",fill:"#19EA9C","p-id":"4339"},null,-1)],Us=o.defineComponent({__name:"FileIcon",props:{type:{type:String,default:"unknow"}},setup(t){return(e,n)=>t.type==="unknow"?(o.openBlock(),o.createElementBlock("svg",o6,i6)):t.type==="image"?(o.openBlock(),o.createElementBlock("svg",r6,l6)):t.type==="zip"?(o.openBlock(),o.createElementBlock("svg",a6,s6)):t.type==="ppt"?(o.openBlock(),o.createElementBlock("svg",c6,d6)):t.type==="word"?(o.openBlock(),o.createElementBlock("svg",u6,f6)):t.type==="pdf"?(o.openBlock(),o.createElementBlock("svg",p6,h6)):t.type==="txt"?(o.openBlock(),o.createElementBlock("svg",m6,g6)):t.type==="audio"?(o.openBlock(),o.createElementBlock("svg",_6,y6)):t.type==="video"?(o.openBlock(),o.createElementBlock("svg",b6,E6)):t.type==="excal"?(o.openBlock(),o.createElementBlock("svg",w6,C6)):o.createCommentVNode("v-if",!0)}}),qi=t=>t%1===0?t.toString():t.toFixed(2),me=(t,e)=>{var r,l,a,s,d;const n=(r=t==null?void 0:t.response)!=null&&r.data?Ws((a=(l=t==null?void 0:t.response)==null?void 0:l.data)==null?void 0:a.suffix):((s=t.raw)==null?void 0:s.type)||Ws(t[e.suffix]),i=((d=t.raw)==null?void 0:d.name)||t[e.name];return n!=null&&n.includes("sheet")||n==="excal"?"excal":n!=null&&n.includes("zip")||n==="zip"||n==="application/x-compressed"?"zip":n!=null&&n.includes("image")||n==="image"?"image":n!=null&&n.includes("video")||n==="video"?"video":n!=null&&n.includes("audio")||n==="audio"?"audio":n!=null&&n.includes("pdf")||n==="pdf"?"pdf":n!=null&&n.includes("text")||n==="txt"?"txt":n!=null&&n.includes("word")||n==="word"?"word":i!=null&&i.includes("ppt")||n==="ppt"?"ppt":"unknow"},Ws=t=>{const e=t==null?void 0:t.toLocaleLowerCase();switch(e!=null&&e.startsWith(".")?e:`.${e}`){case".doc":case".docx":case".docxf":case".docm":case".dot":case".dotm":case".dotx":case".epub":case".fodt":case".htm":case".html":case".mht":case".odt":case".ott":case".rtf":case".txt":case".djvu":case".oxps":case".oform":case".fb2":case".xml":case".xps":return"word";case".csv":case".xls":case".xlsx":case".fods":case".ods":case".ots":case".xlsb":case".xlsm":case".xlt":case".xltm":case".xltx":return"excal";case".fodp":case".odp":case".otp":case".pot":case".potm":case".potx":case".pps":case".ppsm":case".ppsx":case".ppt":case".pptm":case".pptx":return"ppt";case".zip":case".rar":case".7z":case".apz":case".ar":case".bz":case".car":case".dar":case".cpgz":case".f":case".ha":case".hbc":case".hbc2":case".hbe":case".hpk":case".hyp":return"zip";case".png":case".jpg":case".jpeg":case".bmp":case".gif":case".webp":case".psd":case".svg":case".tiff":return"image";case".avi":case".wmv":case".mpeg":case".mp4":case".mpm4v":case".mov":case".asf":case".flv":case".f4v":case".rmvb":case".rm":case".3gp":case".vob":return"video";case"audio":return"audio";case".txt":return"txt";case".pdf":return"pdf";case t:case"":return"unknow"}},k6={class:"ik-flie-list"},v6={class:"name"},S6={key:1},A6=["src"],D6={class:"file-icon"},x6={class:"file-name-loading"},N6={class:"file-name"},T6={key:0},V6={key:0,class:"file-size"},R6={class:"name"},I6={class:"file-name-loading"},B6={class:"file-name"},O6={class:"file-size"},M6={class:"operate-btn"},L6={class:"card"},z6={class:"title"},P6={class:"ik-flie-list"},F6={class:"name"},$6={key:1},H6=["src"],j6={class:"file-icon"},U6={class:"file-name-loading"},W6={class:"file-name"},G6={key:0},q6={key:0,class:"file-size"},Y6=o.defineComponent({__name:"index",props:{title:{type:String,default:"上传文件"},action:{type:String,default:""},type:{type:String,default:"button"},headers:{type:Object,default:()=>({})},loadUrl:{type:String,default:""},limit:{type:Number,default:1},size:{type:Number,default:50},accept:{type:String,default:"*"},multiple:{type:Boolean,default:!0},tip:{type:Boolean,default:!1},tipText:{type:String,default:""},limitText:{type:String,default:""},modelValue:{type:Array,default:()=>[]},defaultFileds:{type:Object,default:()=>({name:"name",url:"url",suffix:"suffix"})},preview:{type:Boolean,default:!1},customIconData:{type:Object,default:()=>({})},customIconFields:{type:Object,default:()=>({type:"type",icon:"icon"})},onlinePreviewUrl:{type:String,default:""}},emits:["delete","exceed","success","error","outSize"],setup(t,{emit:e}){const n=t,i=e,l={...{name:"name",url:"url",suffix:"suffix"},...n.defaultFileds},a=o.computed(()=>n.size),s=o.ref(null),d=o.ref(null),f=o.ref(n.modelValue);o.watch(()=>n.modelValue,D=>{f.value=D},{deep:!0});const u=o.ref([]),m=o.ref(!1),p=o.ref(!1),c=o.ref(null),_=(D,O)=>{f.value=z._.cloneDeep(O)},g=D=>{const O=D.size/1024/1024;if(!(O<a.value)){i("outSize"),A.ElMessage({message:`上传文件大小(${O.toFixed(4)}MB)超出允许最大值(${n.size}MB),请重新选择`,type:"warning",showClose:!0,duration:5e3});const L=f.value.findIndex(H=>H.uid===D.uid);return f.value.splice(L,1),!1}return!0},h=()=>!1,b=(D,O)=>{var V,L;D.status="ready",O!==void 0&&u.value.splice(O,1),(V=s.value)==null||V.handleStart(D.raw),(L=s.value)==null||L.submit()},y=(D,O)=>{var I,ee;const V=f.value.length,L=n.limit-V;let H=0;for(;H<L&&H<D.length;)(I=s.value)==null||I.handleStart(D[H]),(ee=s.value)==null||ee.submit(),H++;A.ElMessage({message:(n==null?void 0:n.limitText)||`最大可上传${n.limit}个文件,已忽略超出文件`,type:"warning",showClose:!0,duration:5e3}),i("exceed",D)},C=(D,O,V)=>{i("success",D,O,V)},k=(D,O,V)=>{u.value.push(O),i("error",D,O,V)},B=D=>{D&&me(D,l)==="video"||D&&me(D,l)==="image"?(c.value={...D,url:D[l.url].startsWith("http")?D[l.url]:`${n.loadUrl}${D[l.url]}`},p.value=!0):window.open(n.loadUrl+D[l.url])},S=D=>{z.ikFile.downloadByOnlineUrl(D[l.url],D[l.name])},x=(D,O=!1)=>{var V;(V=s.value)==null||V.abort(D)},w=D=>{var O;D.status!=="success"&&x(D),(O=s.value)==null||O.handleRemove(D),f.value=f.value.filter(V=>V.uid!==D.uid),i("delete",D)},N=(D,O)=>{u.value.splice(O,1)};return(D,O)=>{var L,H;const V=o.resolveComponent("el-image-viewer");return o.openBlock(),o.createElementBlock(o.Fragment,null,[t.preview?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[t.type==="button"?(o.openBlock(),o.createBlock(o.unref(A.ElUpload),o.mergeProps({key:0,"file-list":f.value,"onUpdate:fileList":O[0]||(O[0]=I=>f.value=I),class:"ik-file-upload"},D.$attrs,{accept:t.accept,action:t.action,ref_key:"refUpload",ref:s,"on-change":_,"before-upload":g,"before-remove":h,"on-exceed":y,multiple:t.multiple,headers:t.headers,limit:t.limit,"on-success":C,"on-error":k}),{trigger:o.withCtx(()=>[D.$slots.trigger?o.renderSlot(D.$slots,"trigger",{key:0},void 0,!0):(o.openBlock(),o.createBlock(o.unref(A.ElButton),{key:1,type:"primary",disabled:f.value.length===t.limit,icon:o.unref(qd)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(t.title),1)]),_:1},8,["disabled","icon"]))]),file:o.withCtx(({file:I})=>[o.createElementVNode("div",k6,[o.createElementVNode("div",v6,[!D.$slots.fileIcon&&(!t.customIconData[o.unref(me)(I,l)]||!t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon])?(o.openBlock(),o.createBlock(Us,{key:0,type:o.unref(me)(I,l)},null,8,["type"])):!D.$slots.fileIcon&&t.customIconData[o.unref(me)(I,l)]&&t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon]?(o.openBlock(),o.createElementBlock("div",S6,[t.customIconData[o.unref(me)(I,l)][t.customIconFields.type]==="img"?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon],alt:"",class:"file-img-icon"},null,8,A6)):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass([t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon],"file-icon-size"])},null,2))])):o.createCommentVNode("v-if",!0),o.createElementVNode("div",D6,[o.renderSlot(D.$slots,"fileIcon",{file:I},void 0,!0)]),o.createElementVNode("div",x6,[o.createElementVNode("p",N6,[o.createTextVNode(o.toDisplayString(I[l.name]||I.name)+" ",1),I.percentage&&I.percentage!==100?(o.openBlock(),o.createElementBlock("span",T6,"("+o.toDisplayString(I.percentage)+"%)",1)):o.createCommentVNode("v-if",!0)]),I.percentage===100?(o.openBlock(),o.createElementBlock("p",V6,o.toDisplayString(o.unref(qi)(I.size/1024/1024))+"MB ",1)):o.createCommentVNode("v-if",!0),I.percentage&&I.percentage!==100?(o.openBlock(),o.createBlock(o.unref(A.ElProgress),{key:1,"text-inside":"",percentage:I.percentage,color:"var(--el-color-primary)","striped-flow":"",striped:"","show-text":!1},null,8,["percentage"])):o.createCommentVNode("v-if",!0)])]),t.preview?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[t.preview||I.percentage===100?(o.openBlock(),o.createBlock(o.unref(A.ElIcon),{key:0,title:"预览",class:"primary"},{default:o.withCtx(()=>[o.createVNode(o.unref(Br),{onClick:ee=>B(I)},null,8,["onClick"])]),_:2},1024)):o.createCommentVNode("v-if",!0),o.createVNode(o.unref(A.ElIcon),{title:"下载",class:"primary"},{default:o.withCtx(()=>[o.createVNode(o.unref(Ro),{onClick:ee=>S(I)},null,8,["onClick"])]),_:2},1024)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[I.status==="success"?(o.openBlock(),o.createBlock(o.unref(A.ElIcon),{key:0,title:"删除",class:"error"},{default:o.withCtx(()=>[o.createVNode(o.unref(on),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024)):(o.openBlock(),o.createBlock(o.unref(A.ElIcon),{key:1,title:"取消上传"},{default:o.withCtx(()=>[o.createVNode(o.unref(Nr),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024))],64))])]),default:o.withCtx(()=>{var I;return[!t.preview&&t.tip?(o.openBlock(),o.createBlock(o.unref(A.ElTooltip),{key:0,effect:"dark",content:n.tipText||"","popper-class":"_ik_web_ui_file-help-tooltip"},{default:o.withCtx(()=>[o.createVNode(o.unref(A.ElIcon),{size:23,class:"_ik_web_ui_file_help_icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Fd))]),_:1})]),_:1},8,["content"])):o.createCommentVNode("v-if",!0),(I=u.value)!=null&&I.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(u.value,(ee,ke)=>(o.openBlock(),o.createElementBlock("div",{class:"ik-error-flie-list",key:ee.uid},[o.createElementVNode("div",R6,[o.createVNode(o.unref(A.ElIcon),{size:32,class:"info",style:{"vertical-align":"middle"}},{default:o.withCtx(()=>[o.createVNode(o.unref(Xd))]),_:1}),o.createElementVNode("div",I6,[o.createElementVNode("p",B6,o.toDisplayString(ee[l.name]||ee.name),1),o.createElementVNode("p",O6,o.toDisplayString(o.unref(qi)(ee.size/1024/1024))+"MB ",1)])]),o.withDirectives(o.createElementVNode("div",M6,[o.createVNode(o.unref(A.ElIcon),{style:{"vertical-align":"middle"},onClick:Ot=>b(ee,ke),title:"重新上传",class:"primary"},{default:o.withCtx(()=>[o.createVNode(o.unref(Io))]),_:2},1032,["onClick"]),o.createVNode(o.unref(A.ElIcon),{class:"error",onClick:Ot=>N(ee,ke),title:"删除"},{default:o.withCtx(()=>[o.createVNode(o.unref(on))]),_:2},1032,["onClick"])],512),[[o.vShow,(ee==null?void 0:ee.status)==="fail"]])]))),128)):o.createCommentVNode("v-if",!0)]}),_:3},16,["file-list","accept","action","multiple","headers","limit"])):(o.openBlock(),o.createBlock(o.unref(A.ElUpload),o.mergeProps({key:1,"file-list":f.value,"onUpdate:fileList":O[1]||(O[1]=I=>f.value=I),class:"ik-file-pload-card"},D.$attrs,{accept:t.accept,action:t.action,ref_key:"refUpload",ref:s,"on-change":_,"before-upload":g,"before-remove":h,"on-exceed":y,multiple:t.multiple,headers:t.headers,limit:t.limit,"on-success":C,"on-error":k}),{file:o.withCtx(({file:I})=>[o.createElementVNode("div",P6,[o.createElementVNode("div",F6,[!D.$slots.fileIcon&&(!t.customIconData[o.unref(me)(I,l)]||!t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon])?(o.openBlock(),o.createBlock(Us,{key:0,type:o.unref(me)(I,l)},null,8,["type"])):!D.$slots.fileIcon&&t.customIconData[o.unref(me)(I,l)]&&t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon]?(o.openBlock(),o.createElementBlock("div",$6,[t.customIconData[o.unref(me)(I,l)][t.customIconFields.type]==="img"?(o.openBlock(),o.createElementBlock("img",{key:0,src:t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon],alt:"",class:"file-img-icon"},null,8,H6)):(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass([t.customIconData[o.unref(me)(I,l)][t.customIconFields.icon],"file-icon-size"])},null,2))])):o.createCommentVNode("v-if",!0),o.createElementVNode("div",j6,[o.renderSlot(D.$slots,"fileIcon",{file:I},void 0,!0)]),o.createElementVNode("div",U6,[o.createElementVNode("p",W6,[o.createTextVNode(o.toDisplayString(I[l.name]||I.name)+" ",1),I.percentage&&I.percentage!==100?(o.openBlock(),o.createElementBlock("span",G6,"("+o.toDisplayString(I.percentage)+"%)",1)):o.createCommentVNode("v-if",!0)]),I.percentage===100?(o.openBlock(),o.createElementBlock("p",q6,o.toDisplayString(o.unref(qi)(I.size/1024/1024))+"MB ",1)):o.createCommentVNode("v-if",!0),I.percentage&&I.percentage!==100?(o.openBlock(),o.createBlock(o.unref(A.ElProgress),{key:1,"text-inside":"",percentage:I.percentage,color:"var(--el-color-primary)","striped-flow":"",striped:"","show-text":!1},null,8,["percentage"])):o.createCommentVNode("v-if",!0)])]),t.preview?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[t.preview||I.percentage===100?(o.openBlock(),o.createBlock(o.unref(A.ElIcon),{key:0,title:"预览",class:"primary"},{default:o.withCtx(()=>[o.createVNode(o.unref(Br),{onClick:ee=>B(I)},null,8,["onClick"])]),_:2},1024)):o.createCommentVNode("v-if",!0),o.createVNode(o.unref(A.ElIcon),{title:"下载",class:"primary"},{default:o.withCtx(()=>[o.createVNode(o.unref(Ro),{onClick:ee=>S(I)},null,8,["onClick"])]),_:2},1024)],64)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[I.status==="success"?(o.openBlock(),o.createBlock(o.unref(A.ElIcon),{key:0,title:"删除",class:"error"},{default:o.withCtx(()=>[o.createVNode(o.unref(on),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024)):(o.openBlock(),o.createBlock(o.unref(A.ElIcon),{key:1,title:"取消上传"},{default:o.withCtx(()=>[o.createVNode(o.unref(Nr),{onClick:ee=>w(I)},null,8,["onClick"])]),_:2},1024))],64))])]),default:o.withCtx(()=>[o.createElementVNode("div",L6,[o.createElementVNode("div",z6,[o.createVNode(o.unref(ue),{name:"iksvg_yidong",bg:"",size:40}),o.createElementVNode("span",null,o.toDisplayString(t.title),1)]),o.createVNode(o.unref(ue),{name:"iksvg_daoru",bg:"",size:40,padding:"8px"})])]),_:3},16,["file-list","accept","action","multiple","headers","limit"]))],64)),o.createVNode(js,{visible:m.value,"onUpdate:visible":O[2]||(O[2]=I=>m.value=I),file:c.value,fileType:c.value&&o.unref(me)(c.value,l),defaultFields:l},null,8,["visible","file","fileType"]),(L=c.value)!=null&&L.url&&p.value?(o.openBlock(),o.createBlock(V,{key:1,onClose:O[3]||(O[3]=I=>(c.value=null,p.value=!1)),ref_key:"previewImgRef",ref:d,"url-list":[(H=c.value)==null?void 0:H.url]},null,8,["url-list"])):o.createCommentVNode("v-if",!0)],64)}}}),tw="",nw="",Q6=oe(K(Y6,[["__scopeId","data-v-1a531f1e"]])),Z6={},K6={t:"1686214149488",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8490",width:"200",height:"200"},X6=[o.createElementVNode("path",{d:"M369.569592 512.011256c0-14.328333-11.010775-25.945929-24.591071-25.945929L86.980515 486.065328c-13.580297 0-24.591071 11.618619-24.591071 25.945929 0 14.33038 11.010775 25.947975 24.591071 25.947975l257.998005 0C358.55984 537.959232 369.569592 526.341636 369.569592 512.011256z","p-id":"8491"},null,-1),o.createElementVNode("path",{d:"M937.019485 486.064304 679.020456 486.064304c-13.580297 0-24.591071 11.618619-24.591071 25.945929 0 14.33038 11.010775 25.947975 24.591071 25.947975l257.999029 0c13.580297 0 24.590048-11.618619 24.590048-25.947975C961.609533 497.682923 950.598758 486.064304 937.019485 486.064304z","p-id":"8492"},null,-1),o.createElementVNode("path",{d:"M512.011768 62.389956c-13.580297 0-24.590048 11.618619-24.590048 25.945929l0 257.170151c0 14.329357 11.010775 25.946952 24.590048 25.946952s24.591071-11.618619 24.591071-25.946952L536.602839 88.335884C536.602839 74.008574 525.591041 62.389956 512.011768 62.389956z","p-id":"8493"},null,-1),o.createElementVNode("path",{d:"M512.011768 652.544967c-13.580297 0-24.590048 11.618619-24.590048 25.946952l0 257.169127c0 14.33038 11.010775 25.947975 24.590048 25.947975s24.591071-11.618619 24.591071-25.947975L536.602839 678.491918C536.602839 664.162562 525.591041 652.544967 512.011768 652.544967z","p-id":"8494"},null,-1),o.createElementVNode("path",{d:"M377.001865 413.125085c4.744048 4.737908 10.818393 7.082302 16.882506 7.082302 6.519484 0 13.039991-2.724041 17.879206-8.134261 9.317203-10.414187 8.885368-26.834158-0.9967-36.678364L228.341057 193.559391c-9.832949-9.830903-25.406646-9.388834-34.760688 1.050935-9.317203 10.414187-8.885368 26.834158 0.9967 36.678364L377.001865 413.125085z","p-id":"8495"},null,-1),o.createElementVNode("path",{d:"M646.997112 610.873892c-9.846252-9.831926-25.419949-9.388834-34.761712 1.051959-9.317203 10.414187-8.885368 26.834158 0.997724 36.678364l182.41354 181.834348c4.743024 4.738931 10.818393 7.083326 16.881482 7.083326 6.520507 0 13.039991-2.723018 17.879206-8.134261 9.317203-10.41521 8.886391-26.834158-0.9967-36.678364L646.997112 610.873892z","p-id":"8496"},null,-1),o.createElementVNode("path",{d:"M630.114606 420.207387c6.064113 0 12.139481-2.344395 16.882506-7.082302l182.425819-181.836395c9.882068-9.844206 10.313903-26.264177 0.9967-36.678364-9.341762-10.43977-24.915459-10.882861-34.760688-1.050935L613.233124 375.394762c-9.882068 9.844206-10.314926 26.264177-0.997724 36.678364C617.074615 417.483346 623.595123 420.207387 630.114606 420.207387z","p-id":"8497"},null,-1),o.createElementVNode("path",{d:"M377.025401 610.873892 194.600605 792.710286c-9.881045 9.844206-10.313903 26.263154-0.9967 36.678364 4.839215 5.411243 11.358699 8.134261 17.879206 8.134261 6.064113 0 12.138458-2.344395 16.881482-7.083326l182.425819-181.834348c9.881045-9.844206 10.313903-26.264177 0.9967-36.678364C402.469909 601.485057 386.872676 601.041966 377.025401 610.873892z","p-id":"8498"},null,-1)];function J6(t,e){return o.openBlock(),o.createElementBlock("svg",K6,X6)}const e1=K(Z6,[["render",J6]]),Gs=t=>(o.pushScopeId("data-v-b6b97c2a"),t=t(),o.popScopeId(),t),t1={key:1,class:"upload-btn"},n1={class:"tip"},o1={class:"loading-statu"},i1={class:"operate-btn"},r1={key:0},l1={class:"el-upload-list el-upload-list--picture-card",style:{float:"left"}},a1=["onClick"],s1=Gs(()=>o.createElementVNode("span",{class:"error"},"上传错误",-1)),c1=Gs(()=>o.createElementVNode("p",null,"点击重新上传",-1)),d1=["src"],u1={class:"demo-image__preview"},f1=o.defineComponent({__name:"index",props:{title:{type:String,default:"上传图片"},loadUrl:{type:String,default:""},action:{type:String,default:""},limit:{type:Number,default:5},size:{type:Number,default:50},accept:{type:String,default:"image/*"},fit:{type:String,default:"contain"},preview:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0},tip:{type:Boolean,default:!1},tipText:{type:String,default:""},modelValue:{type:Array,default:()=>[]}},emits:["delete","success"],setup(t,{emit:e}){const n=t;o.watch(()=>n.modelValue,x=>{a.value=x.map(w=>{var N;return{...w,__url:(N=w.url)!=null&&N.startsWith("http")?w.url:`${n.loadUrl}${w.url}`}})},{deep:!0});const i=e,r=o.computed(()=>n.size),l=o.ref(null),a=o.ref(n.modelValue.map(x=>{var w;return{...x,__url:(w=x.url)!=null&&w.startsWith("http")?x.url:`${n.loadUrl}${x.url}`}})),s=o.ref([]),d=o.ref(!1),f=o.ref(0),u=o.computed(()=>n.tipText||`最多可上传${n.limit}张图片, 每张图片不能超过${n.size}MB`),m=(x,w)=>{a.value=z._.cloneDeep(w.map(N=>{var D,O;return{...N,__url:(D=N.url)!=null&&D.startsWith("http")||(O=N.url)!=null&&O.startsWith("blob:")?N.url:`${n.loadUrl}${N.url}`}})),console.log("fileList.value: ",a.value)},p=x=>!(!(x.type==="image/jpeg"||x.type==="image/png")||!(x.size/1024/1024<r.value)),c=()=>!1,_=(x,w)=>{var N,D;x.status="ready",w!==void 0&&s.value.splice(w,1),(N=l.value)==null||N.handleStart(x.raw),(D=l.value)==null||D.submit()},g=(x,w)=>{var V,L;const N=a.value.length,D=n.limit-N;let O=0;for(;O<D&&O<x.length;)(V=l.value)==null||V.handleStart(x[O]),(L=l.value)==null||L.submit(),O++},h=(x,w,N)=>{i("success",x,w,N)},b=(x,w,N)=>{s.value.push({...w,__url:w.url})},y=x=>{d.value=!0,f.value=a.value.findIndex(w=>w.url===x.url)},C=x=>{z.ikFile.downloadByOnlineUrl(x.__url||x.url,x.name)},k=x=>{var w;(w=l.value)==null||w.abort(x)},B=x=>{var w;x.status!=="success"&&k(x),(w=l.value)==null||w.handleRemove(x),a.value=a.value.filter(N=>N.uid!==x.uid),i("delete",x)},S=(x,w)=>{s.value.splice(w,1)};return(x,w)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(o.unref(A.ElUpload),{class:o.normalizeClass(["ik-image-upload",{preview:t.preview}]),ref_key:"refUpload",ref:l,"list-type":"picture-card",accept:t.accept,action:t.action,"file-list":a.value,"onUpdate:fileList":w[0]||(w[0]=N=>a.value=N),multiple:t.multiple,limit:t.limit,"on-change":m,"before-upload":p,"before-remove":c,"on-exceed":g,"on-success":h,"on-error":b,drag:""},o.createSlots({trigger:o.withCtx(()=>[x.$slots.trigger?o.renderSlot(x.$slots,"trigger",{key:0},void 0,!0):(o.openBlock(),o.createElementBlock("div",t1,[o.createVNode(o.unref(A.ElIcon),null,{default:o.withCtx(()=>[o.createVNode(o.unref(zd))]),_:1}),o.createElementVNode("span",null,o.toDisplayString(t.title),1)]))]),file:o.withCtx(({file:N})=>[o.createElementVNode("div",{class:o.normalizeClass(["load-list",{loading:N.status==="uploading"}]),"element-loading-background":"var(--ik-upload-bg)"},[o.withDirectives(o.createElementVNode("div",o1,[o.createVNode(e1),o.createTextVNode(" 上传"+o.toDisplayString(N.percentage)+"% ",1)],512),[[o.vShow,N.status==="uploading"]]),o.createCommentVNode(` <img :src="file.url" alt="" :style="{ 'object-fit': fit }" /> `),o.createVNode(o.unref(A.ElImage),{style:{width:"100%",height:"100%"},src:N.__url||N.url,"zoom-rate":1.2,"initial-index":0,fit:"contain"},null,8,["src"]),o.createElementVNode("span",i1,[o.createElementVNode("span",null,[o.createVNode(o.unref(A.ElIcon),{onClick:D=>y(N)},{default:o.withCtx(()=>[o.createVNode(o.unref(eu))]),_:2},1032,["onClick"])]),o.createElementVNode("span",null,[o.createVNode(o.unref(A.ElIcon),{onClick:D=>C(N)},{default:o.withCtx(()=>[o.createVNode(o.unref(Ro))]),_:2},1032,["onClick"])]),t.preview?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createElementBlock("span",r1,[o.createVNode(o.unref(A.ElIcon),{onClick:D=>B(N)},{default:o.withCtx(()=>[o.createVNode(o.unref(on))]),_:2},1032,["onClick"])]))])],2)]),default:o.withCtx(()=>[o.createElementVNode("ul",l1,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(s.value,(N,D)=>(o.openBlock(),o.createElementBlock("li",{class:"el-upload-list__item",key:N.uid},[o.createElementVNode("span",null,[o.createVNode(o.unref(A.ElIcon),{onClick:O=>S(N,D)},{default:o.withCtx(()=>[o.createVNode(o.unref(Vr))]),_:2},1032,["onClick"])]),o.createElementVNode("div",{class:o.normalizeClass(["load-list",{loading:N.status==="uploading",fail:N.status==="fail"}]),"element-loading-background":"var(--ik-upload-bg)"},[o.withDirectives(o.createElementVNode("div",{class:"loading-statu",onClick:O=>_(N,D)},[o.createVNode(o.unref(A.ElIcon),{size:24},{default:o.withCtx(()=>[o.createVNode(o.unref(Io))]),_:1}),s1,c1],8,a1),[[o.vShow,N.status==="fail"]]),o.createElementVNode("img",{src:N.__url,alt:"",style:o.normalizeStyle({"object-fit":t.fit})},null,12,d1)],2)]))),128))])]),_:2},[t.tip?{name:"tip",fn:o.withCtx(()=>[o.createElementVNode("span",n1,o.toDisplayString(u.value),1)]),key:"0"}:void 0]),1032,["class","accept","action","file-list","multiple","limit"]),o.createCommentVNode(" 文件预览 "),o.createElementVNode("div",u1,[d.value?(o.openBlock(),o.createBlock(o.unref(A.ElImageViewer),{key:0,"hide-on-click-modal":"",onClose:w[1]||(w[1]=()=>{d.value=!1}),"url-list":a.value.map(N=>N.__url),"initial-index":f.value},null,8,["url-list","initial-index"])):o.createCommentVNode("v-if",!0)])],64))}}),fw="",p1=oe(K(f1,[["__scopeId","data-v-b6b97c2a"]])),h1=["src"],m1={name:"IkPrintConfig"},g1=o.defineComponent({...m1,props:{id:{},srcPrefix:{default:""},token:{}},emits:["created"],setup(t,{emit:e}){const n=t,i=e,r=o.computed(()=>!!n.id),l=o.reactive({currentId:n.id,loading:!0,src:""}),a=async()=>{fetch(`${n.srcPrefix??""}/jmreport/save`,{method:"POST",body:JSON.stringify({}),headers:{"Content-Type":"application/json",Authorization:n.token??""}}).then(d=>d.json()).then(({code:d,result:f})=>{if(d===200){const u=f.id;l.currentId=u,l.src=`${n.srcPrefix??""}/jmreport/index/${l.currentId}?token=${n.token}&menuType=printinfo`,i("created",l.currentId)}}).catch(d=>{console.error(d)})},s=()=>{if(!r.value){a();return}l.src=`${n.srcPrefix??""}/jmreport/index/${l.currentId}?token=${n.token}`};return o.onMounted(()=>{s()}),(d,f)=>l.src?(o.openBlock(),o.createElementBlock("iframe",{key:0,width:"100%",height:"100%",src:l.src,frameborder:"0"},null,8,h1)):o.createCommentVNode("v-if",!0)}}),_1=oe(g1),y1=["src"],b1={name:"IkPrintView"},E1=o.defineComponent({...b1,props:{modelValue:{type:Boolean,default:!1},templateId:{},dataId:{},srcPrefix:{default:""},token:{},idKey:{default:"id"},width:{default:"100%"},height:{default:"calc(100vh - 186px)"}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,i=e,r=o.computed({get:()=>n.modelValue,set:s=>{i("update:modelValue",s)}}),l=o.reactive({src:"",showIframe:!1}),a=()=>{l.showIframe=!1,l.src=`${n.srcPrefix}/jmreport/view/${n.templateId}?token=${n.token??""}&${n.idKey}=${n.dataId}`,setTimeout(()=>{l.showIframe=!0},300)};return o.watch(()=>r.value,s=>{s&&a()}),o.onMounted(()=>{r.value&&a()}),(s,d)=>{const f=o.resolveComponent("el-dialog");return o.openBlock(),o.createBlock(f,{modelValue:r.value,"onUpdate:modelValue":d[0]||(d[0]=u=>r.value=u),fullscreen:"",title:"预览"},{default:o.withCtx(()=>[o.createElementVNode("div",{style:o.normalizeStyle({width:n.width,height:n.height})},[l.showIframe?(o.openBlock(),o.createElementBlock("iframe",{key:0,width:"100%",height:"100%",src:l.src,frameborder:"0"},null,8,y1)):o.createCommentVNode("v-if",!0)],4)]),_:1},8,["modelValue"])}}}),w1=oe(E1),C1={class:"ik-full-calendar"},k1=["onClick"],v1={key:0,class:"event-title allday"},S1={key:0,class:"event-title-time"},A1={key:1,class:"event-title no-allday"},D1={class:"event-title-time"},x1={class:"event-title-text"},N1={name:"IkFullCalendar"},T1=o.defineComponent({...N1,props:{options:{default:{}},removable:{type:Boolean,default:!0},modelValue:{default:[]},tooltipFieldName:{default:"remark"}},emits:["added","deleted","update:modelValue","eventClick","deleteClick","dateSelect"],setup(t,{expose:e,emit:n}){const i=t,r=o.computed({get:()=>i.modelValue,set:y=>l("update:modelValue",y)}),l=n,a=o.ref(null),s=y=>{},d=o.ref("dayGridMonth"),f=y=>{l("dateSelect",y)},u=y=>{l("eventClick",y)},m=y=>{l("deleteClick",y)},p=()=>({locale:Lr,plugins:[vs,Ps,Rs],headerToolbar:{left:"dayGridMonth,timeGridWeek,timeGridDay prev,today,next",center:"title",right:""},firstDay:1,initialView:"dayGridMonth",weekends:!0,editable:!0,selectable:!0,selectMirror:!0,dateClick:s,select:f,...i.options,events:r.value}),c=o.reactive({timeType:"month",options:p()}),_=o.ref(null),g=()=>{var y;c.options=p(),(y=a.value)==null||y.buildOptions(c.options)};e({...{prev:()=>{var y;(y=_.value)==null||y.prev()},next:()=>{var y;(y=_.value)==null||y.next()},today:()=>{var y;(y=_.value)==null||y.today()},changeView:y=>{var C;(C=_.value)==null||C.changeView(y),d.value=y},getDate:()=>{var y;return(y=_.value)==null?void 0:y.getDate()},getView:()=>{var y;return(y=_.value)==null?void 0:y.view},unselect:()=>{var y;return(y=_.value)==null?void 0:y.unselect()}}}),o.watch(()=>r.value,()=>{g()});const b=()=>{var y;_.value=(y=a.value)==null?void 0:y.getApi()};return o.onMounted(()=>{b()}),(y,C)=>{const k=o.resolveComponent("el-tooltip"),B=o.resolveComponent("el-icon");return o.openBlock(),o.createElementBlock("div",C1,[o.createVNode(o.unref(hs),{ref_key:"_ref",ref:a,options:c.options,style:{height:"100%"}},{eventContent:o.withCtx(S=>[o.createElementVNode("div",{class:"title-line",onClick:x=>u(S)},[o.createVNode(k,null,{content:o.withCtx(()=>{var x,w;return[o.createCommentVNode(" {{arg}} "),o.createTextVNode(" "+o.toDisplayString((w=(x=S.event)==null?void 0:x.extendedProps)==null?void 0:w[i.tooltipFieldName]),1)]}),default:o.withCtx(()=>[S.event.allDay?(o.openBlock(),o.createElementBlock("span",v1,[d.value==="dayGridMonth"?(o.openBlock(),o.createElementBlock("span",S1,o.toDisplayString("(全天)"))):o.createCommentVNode("v-if",!0),o.createElementVNode("span",null,o.toDisplayString(S.event.title),1)])):(o.openBlock(),o.createElementBlock("span",A1,[o.createElementVNode("span",D1,o.toDisplayString(o.unref(z.ikDate).toDateTime(S.event.startStr,"HH:mm")),1),o.createElementVNode("span",x1,o.toDisplayString(S.event.title),1)]))]),_:2},1024),i.removable?(o.openBlock(),o.createBlock(B,{key:0,size:16,onClick:o.withModifiers(x=>m(S),["stop"])},{default:o.withCtx(()=>[o.createVNode(o.unref(Rr))]),_:2},1032,["onClick"])):o.createCommentVNode("v-if",!0)],8,k1)]),_:1},8,["options"])])}}}),hw="",V1=K(T1,[["__scopeId","data-v-f0925ff8"]]);class R1{constructor(){Pt(this,"id",new Date().getTime());Pt(this,"title","");Pt(this,"start","");Pt(this,"end","");Pt(this,"allDay",!1);Pt(this,"extendedProps",{})}}const qs=oe(V1),I1={class:"inline-block ik-svg-icon ik-icon line-height-[0] inline-flex justify-center"},B1={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},O1=["xlink:href"],M1=["src"],L1={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},z1=["xlink:href"],P1=["src"],ue=oe(o.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},opacity:{default:.5},size:{default:""},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"0"},warning:{type:Boolean},notip:{type:Boolean,default:!1},title:{}},setup(t){const e=t,n=o.computed(()=>{var r;return/^http?:\/\//.test(e.name)?"img":/i-[^:]+:[^:]+/.test(e.name)?"unocss":e.name.startsWith("iksig")?"iksig":(r=e.name)!=null&&r.includes(":")?"iconify":"svg"}),i=o.computed(()=>{const r=[];if(e.flip)switch(e.flip){case"horizontal":r.push("rotateY(180deg)");break;case"vertical":r.push("rotateX(180deg)");break;case"both":r.push("rotateX(180deg)"),r.push("rotateY(180deg)");break}return e.rotate&&r.push(`rotate(${e.rotate%360}deg)`),{...e.color&&{color:e.color},...e.size&&{fontSize:typeof e.size=="number"?`${e.size}px`:e.size},...r.length&&{transform:r.join(" ")},padding:e.padding,...e.color&&n.value!=="iksig"?{"--ik-color-icon-dark":e.color,"--ik-color-icon-light":z.ikColor.setOpacity(e.color,e.opacity||.4)}:{}}});return(r,l)=>{const a=o.resolveComponent("el-tooltip");return o.openBlock(),o.createElementBlock("span",I1,[r.notip||!r.title?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass(["relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em] transition",{[r.name]:n.value==="unocss","show-bg":r.showBg||r.bg,default:r.size==="default",small:r.size==="small",big:r.size==="big",warning:r.warning}]),style:o.normalizeStyle(i.value)},[n.value==="iksig"?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass(`iksig ${r.name}`),style:o.normalizeStyle(i.value)},null,6)):n.value==="svg"?(o.openBlock(),o.createElementBlock("svg",B1,[o.createElementVNode("use",{"xlink:href":`#${r.name}`},null,8,O1)])):n.value==="img"?(o.openBlock(),o.createElementBlock("img",{key:2,src:r.name,class:"h-[1em] w-[1em]"},null,8,M1)):o.createCommentVNode("v-if",!0)],6)):(o.openBlock(),o.createBlock(a,{key:1,content:r.title},{default:o.withCtx(()=>[o.createElementVNode("i",{class:o.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] flex-inline items-center justify-center fill-current leading-[1em] transition",{[r.name]:n.value==="unocss","show-bg":r.showBg||r.bg,default:r.size==="default",small:r.size==="small",big:r.size==="big",warning:r.warning}]),style:o.normalizeStyle(i.value)},[n.value==="iksig"?(o.openBlock(),o.createElementBlock("i",{key:0,class:o.normalizeClass(`iksig ${r.name}`),style:o.normalizeStyle(i.value)},null,6)):n.value==="svg"?(o.openBlock(),o.createElementBlock("svg",L1,[o.createElementVNode("use",{"xlink:href":`#${r.name}`},null,8,z1)])):n.value==="img"?(o.openBlock(),o.createElementBlock("img",{key:2,src:r.name,class:"h-[1em] w-[1em]"},null,8,P1)):o.createCommentVNode("v-if",!0)],6)]),_:1},8,["content"]))])}}})),Yi=t=>(o.pushScopeId("data-v-e308f501"),t=t(),o.popScopeId(),t),F1={class:"ik-schedule"},$1={class:"ik-schedule__left"},H1={class:"ik-schedule__header"},j1={class:"ik-schedule__title"},U1=Yi(()=>o.createElementVNode("div",{class:"ik-schedule__header-right"},null,-1)),W1={class:"ik-schedule__body"},G1={style:{"font-size":"18px"}},q1={key:0},Y1={style:{width:"90%",display:"flex","align-items":"center","justify-content":"space-between"}},Q1={key:0,style:{"margin-left":"2%"}},Z1=Yi(()=>o.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),K1={key:1},X1=Yi(()=>o.createElementVNode("span",{class:"to",style:{width:"10% !important"}},"至",-1)),J1={class:"dialog-footer"},ey={name:"IkSchedule"},ty=o.defineComponent({...ey,props:{modelValue:{default:[]},options:{default:{initialView:"dayGridMonth"}},editVisible:{type:Boolean},removable:{type:Boolean,default:!0}},emits:["update:modelValue","added","updated","deleted","editOpen","submit","update:editVisible","submitAdd","submitUpdate","submitDelete"],setup(t,{expose:e,emit:n}){var x;const i=t,r=n,l=!!o.useSlots().form,a=o.computed({get:()=>i.modelValue,set:w=>{r("update:modelValue",w)}}),s=o.computed(()=>({...i.options,headerToolbar:!1})),d=o.reactive({currentView:(x=i.options)==null?void 0:x.initialView,viewTitle:"",rightLabel:"今日",timeType:"month",currentDate:null}),f=o.ref(null),u=w=>{var N;(N=f.value)==null||N.changeView(w),d.currentView=w,m()},m=()=>{var N;const w=(N=f.value)==null?void 0:N.getView();d.viewTitle=w==null?void 0:w.title},p=()=>{var w;(w=f.value)==null||w.prev(),m()},c=()=>{var w;(w=f.value)==null||w.next(),m()},_=()=>{var w;(w=f.value)==null||w.today(),m()},g=w=>d.currentView===w,h=o.ref(null),b={createDefaultForm:()=>({title:"",allDay:!1,type:1,startDate:"",endDate:"",startTime:"",endTime:"",location:"",remark:""}),close:()=>{C.value=!1},customSubmit:w=>{var D,O;let N={...w,id:void 0,allDay:y.form.allDay,start:(D=y.selectInfo)==null?void 0:D.startStr,end:(O=y.selectInfo)==null?void 0:O.endStr};b.operation(N),b.close()},operation:w=>{var N;y.operation==="add"?r("submitAdd",w):(w.id=(N=y.editEvent)==null?void 0:N.id,r("submitUpdate",w))},submit:async()=>{var N,D;if(l){r("submit");return}if(!y.form.title){A.ElMessage.info("标题不能为空");return}if(!y.form.allDay&&(!y.form.startTime||!y.form.endTime)){A.ElMessage.info("时间不能为空");return}let w={id:void 0,title:y.form.title,allDay:y.form.allDay,start:(N=y.selectInfo)==null?void 0:N.startStr,end:(D=y.selectInfo)==null?void 0:D.endStr,extendedProps:{...y.form}};if(w.allDay)w.start=z.ikDate.toDate(y.form.startDate),w.end=z.ikDate.toDate(y.form.endDate);else{const O=z.ikDate.toDate(y.form.startDate),V=z.ikDate.toDateTime(y.form.startTime).substring(10),L=z.ikDate.toDateTime(y.form.endTime).substring(10);w.start=`${O}${V}`,w.end=`${O}${L}`,w.extendedProps.startTime=w.start,w.extendedProps.endTime=w.end}b.operation(w),b.close()},reset:()=>{var w;y.form=b.createDefaultForm(),(w=h.value)==null||w.clearValidate()},edit:()=>{y.editable=!0,y.title="编辑日程"},cancelEdit:()=>{y.editable=!1,y.title="日程信息"},del:()=>{S(y.clickInfo)}},y=o.reactive({operation:"update",selectInfo:{},editEvent:void 0,title:"",visible:!1,allDay:!1,form:b.createDefaultForm(),editable:!1,clickInfo:null}),C=o.computed({get:()=>y.visible,set:w=>{y.visible=w}}),k=w=>{var N;if(y.form.allDay=w.allDay,y.selectInfo=w,b.reset(),w.view.type=="dayGridMonth"){let D=w.end.getTime()-864e5;d.timeType="month",y.form.startDate=z.ikDate.toYMD(w.start),y.form.endDate=z.ikDate.toYMD(new Date(D)),y.form.allDay=!0}else w.view.type=="timeGridWeek"?d.timeType="week":w.view.type=="timeGridDay"&&(d.timeType="day"),y.form.startDate=z.ikDate.toYMD(w.start),y.form.endDate=z.ikDate.toYMD(w.start),y.form.startTime=z.ikDate.toDateTime(w.start),y.form.endTime=z.ikDate.toDateTime(w.end);(N=f.value)==null||N.unselect(),o.nextTick(()=>{y.title="新建日程",y.operation="add",y.editable=!0,C.value=!0,r("editOpen",JSON.parse(JSON.stringify(y)))})},B=w=>{y.title="日程信息",y.operation="update",y.clickInfo=w,y.editEvent=w.event;debugger;y.editEvent.allDay?(y.form.startDate=y.editEvent.startStr,y.form.endDate=y.editEvent.startStr):(y.form.startDate=y.editEvent.startStr,y.form.startTime=y.editEvent.start,y.form.endTime=y.editEvent.end),y.form.title=y.editEvent.title,y.form.allDay=y.editEvent.allDay,gd.copyValue(y.form,y.editEvent.extendedProps),b.cancelEdit(),C.value=!0,r("editOpen",JSON.parse(JSON.stringify(y)))},S=w=>{A.ElMessageBox.confirm(`你确定删除事件 ${w.event.title} ?`,"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{b.close(),r("submitDelete",w.event.id)})};return e({customSubmit:w=>b.customSubmit(w)}),o.onMounted(()=>{m()}),(w,N)=>{const D=o.resolveComponent("el-button"),O=o.resolveComponent("el-button-group"),V=o.resolveComponent("el-icon"),L=o.resolveComponent("el-space"),H=o.resolveComponent("el-input"),I=o.resolveComponent("el-form-item"),ee=o.resolveComponent("el-date-picker"),ke=o.resolveComponent("el-time-picker"),Ot=o.resolveComponent("el-checkbox"),Nn=o.resolveComponent("el-form"),Mt=o.resolveComponent("el-dialog");return o.openBlock(),o.createElementBlock("div",F1,[o.createElementVNode("div",$1,[o.createElementVNode("div",H1,[o.createVNode(L,{style:{"flex-shrink":"0"},size:24},{default:o.withCtx(()=>[o.createVNode(O,null,{default:o.withCtx(()=>[o.createVNode(D,{onClick:N[0]||(N[0]=ce=>u("dayGridMonth")),type:g("dayGridMonth")?"primary":""},{default:o.withCtx(()=>[o.createTextVNode("月")]),_:1},8,["type"]),o.createVNode(D,{onClick:N[1]||(N[1]=ce=>u("timeGridWeek")),type:g("timeGridWeek")?"primary":""},{default:o.withCtx(()=>[o.createTextVNode("周")]),_:1},8,["type"]),o.createVNode(D,{onClick:N[2]||(N[2]=ce=>u("timeGridDay")),type:g("timeGridDay")?"primary":""},{default:o.withCtx(()=>[o.createTextVNode("日")]),_:1},8,["type"])]),_:1}),o.createElementVNode("span",j1,o.toDisplayString(d.viewTitle),1),o.createVNode(O,{style:{"flex-shrink":"0"}},{default:o.withCtx(()=>[o.createVNode(D,{onClick:p},{default:o.withCtx(()=>[o.createVNode(V,null,{default:o.withCtx(()=>[o.createVNode(o.unref(Ar))]),_:1})]),_:1}),o.createVNode(D,{onClick:_},{default:o.withCtx(()=>[o.createTextVNode("今天")]),_:1}),o.createVNode(D,{onClick:c},{default:o.withCtx(()=>[o.createVNode(V,null,{default:o.withCtx(()=>[o.createVNode(o.unref(Dr))]),_:1})]),_:1})]),_:1})]),_:1}),U1]),o.createElementVNode("div",W1,[o.createVNode(o.unref(qs),{removable:w.removable,onDateSelect:k,onDeleteClick:S,onEventClick:B,ref_key:"_refCalendar",ref:f,options:s.value,modelValue:a.value,"onUpdate:modelValue":N[3]||(N[3]=ce=>a.value=ce)},null,8,["removable","options","modelValue"])])]),o.createCommentVNode(" 新建/修改对话框 "),o.createVNode(Mt,{width:"700px",modelValue:C.value,"onUpdate:modelValue":N[11]||(N[11]=ce=>C.value=ce)},{header:o.withCtx(()=>[o.createElementVNode("div",null,[o.createElementVNode("span",G1,o.toDisplayString(y.title),1),y.operation==="update"?(o.openBlock(),o.createElementBlock("span",q1,[y.editable?(o.openBlock(),o.createBlock(o.unref(ue),{key:1,style:{"margin-left":"4px"},name:"iksvg_qiehuan-daohang",onClick:b.cancelEdit},null,8,["onClick"])):(o.openBlock(),o.createBlock(o.unref(ue),{key:0,style:{"margin-left":"4px"},name:"iksvg_xiugai",onClick:b.edit},null,8,["onClick"]))])):o.createCommentVNode("v-if",!0)])]),footer:o.withCtx(()=>[o.createElementVNode("span",J1,[o.renderSlot(w.$slots,"form-footer",{},()=>[o.createElementVNode("span",null,[o.createVNode(D,{onClick:b.close},{default:o.withCtx(()=>[o.createTextVNode("取消")]),_:1},8,["onClick"]),o.createVNode(D,{onClick:b.del},{default:o.withCtx(()=>[o.createTextVNode("删除")]),_:1},8,["onClick"]),o.createVNode(D,{type:"primary",onClick:b.submit},{default:o.withCtx(()=>[o.createTextVNode("确定")]),_:1},8,["onClick"])])],!0)])]),default:o.withCtx(()=>[o.renderSlot(w.$slots,"form",{},()=>[o.createVNode(Nn,{ref_key:"_editFormRef",ref:h,model:y.form,disabled:!y.editable},{default:o.withCtx(()=>[o.createVNode(I,null,{default:o.withCtx(()=>[o.createVNode(V,{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(xr))]),_:1}),o.createVNode(H,{modelValue:y.form.title,"onUpdate:modelValue":N[4]||(N[4]=ce=>y.form.title=ce),placeholder:"请输入标题",style:{width:"90%"},clearable:""},null,8,["modelValue"])]),_:1}),o.createVNode(I,null,{default:o.withCtx(()=>[o.createVNode(V,{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Tr))]),_:1}),o.createElementVNode("div",Y1,[o.createVNode(ee,{disabled:"",modelValue:y.form.startDate,"onUpdate:modelValue":N[5]||(N[5]=ce=>y.form.startDate=ce),type:"date",placeholder:"开始日期",style:o.normalizeStyle({width:y.form.allDay?"45%":"90%"})},null,8,["modelValue","style"]),y.form.allDay?(o.openBlock(),o.createElementBlock("div",K1,[X1,o.createVNode(ee,{disabled:"",modelValue:y.form.endDate,"onUpdate:modelValue":N[8]||(N[8]=ce=>y.form.endDate=ce),type:"date",placeholder:"结束日期",style:{width:"90%"}},null,8,["modelValue"])])):(o.openBlock(),o.createElementBlock("div",Q1,[o.createVNode(ke,{modelValue:y.form.startTime,"onUpdate:modelValue":N[6]||(N[6]=ce=>y.form.startTime=ce),type:"datetime",placeholder:"开始时间",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"]),Z1,o.createVNode(ke,{modelValue:y.form.endTime,"onUpdate:modelValue":N[7]||(N[7]=ce=>y.form.endTime=ce),type:"datetime",placeholder:"结束时间",style:{width:"45%"},format:"HH:mm"},null,8,["modelValue"])])),o.createVNode(Ot,{modelValue:y.form.allDay,"onUpdate:modelValue":N[9]||(N[9]=ce=>y.form.allDay=ce),label:"全天",style:{"margin-left":"2%"}},null,8,["modelValue"])])]),_:1}),o.createVNode(I,null,{default:o.withCtx(()=>[o.createVNode(V,{class:"icon"},{default:o.withCtx(()=>[o.createVNode(o.unref(Rd))]),_:1}),o.createVNode(H,{type:"textarea",modelValue:y.form.remark,"onUpdate:modelValue":N[10]||(N[10]=ce=>y.form.remark=ce),placeholder:"描述",style:{width:"90%"},clearable:""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","disabled"])],!0)]),_:3},8,["modelValue"])])}}}),gw="",ny=oe(K(ty,[["__scopeId","data-v-e308f501"]])),oy={key:0,class:"ik-tabs-split overflow-overlay gl-padding"},iy=o.defineComponent({__name:"IkPageTabs",props:o.mergeModels({tabs:{type:Array,default:()=>[]},defaultSlot:{type:Boolean,default:!0},lazyTab:{type:Boolean,default:!1},split:{type:Boolean,default:!1}},{modelValue:{type:String||Number,default:""},modelModifiers:{}}),emits:o.mergeModels(["tabClick","search"],["update:modelValue"]),setup(t,{emit:e}){const n=t,i=e,r=o.useModel(t,"modelValue"),l=o.ref(new Map);for(const s of n.tabs)l.value.set(s.id,n.lazyTab?s.id!==r.value:!1);const a=s=>{r.value=s.paneName,l.value.get(s.paneName)||i("tabClick",s.paneName,s),l.value.set(s.paneName,!1)};return(s,d)=>{const f=o.resolveComponent("el-tab-pane"),u=o.resolveComponent("el-tabs");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(' <div class="flex-1 contents"> '),o.createVNode(u,{modelValue:r.value,"onUpdate:modelValue":d[0]||(d[0]=m=>r.value=m),class:o.normalizeClass(["ik-tabs",{"is-default":s.$slots.default,"split gl-padding gl-container":t.split}]),onTabClick:a},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,m=>(o.openBlock(),o.createBlock(f,{key:m.id,disabled:m==null?void 0:m.disabled,name:m.id},{label:o.withCtx(()=>[o.createElementVNode("span",null,o.toDisplayString(m.label),1)]),default:o.withCtx(()=>[!s.$slots.default&&!l.value.get(m.id)&&!t.split?o.renderSlot(s.$slots,m.id,{key:0},void 0,!0):o.createCommentVNode("v-if",!0)]),_:2},1032,["disabled","name"]))),128)),o.createCommentVNode(" 当存在默认slot且需要展示默认slot时 "),s.$slots.default&&t.defaultSlot&&!t.split?o.renderSlot(s.$slots,"default",{key:0},void 0,!0):o.createCommentVNode("v-if",!0)]),_:3},8,["modelValue","class"]),t.split?(o.openBlock(),o.createElementBlock("div",oy,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,m=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[!s.$slots.default&&!l.value.get(m.id)?o.renderSlot(s.$slots,m.id,{key:0},void 0,!0):o.createCommentVNode("v-if",!0)],64))),256)),s.$slots.default&&t.defaultSlot?o.renderSlot(s.$slots,"default",{key:0},void 0,!0):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" </div> ")],64)}}}),yw="",ry=oe(K(iy,[["__scopeId","data-v-e282a7f2"]]));var qe=(t=>(t.input="input",t.area="area",t.number="number",t.select="select",t.date="date",t.datetime="datetime",t.checkbox="checkbox",t.radio="radio",t.treeselect="treeselect",t.choosePerson="choosePerson",t))(qe||{}),Dt=(t=>(t.year="year",t.month="month",t.date="date",t.dates="dates",t.datetime="datetime",t.week="week",t.datetimerange="datetimerange",t.daterange="daterange",t.monthrange="monthrange",t))(Dt||{});function Ys(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o.isVNode(t)}const ly=o.defineComponent({name:"IkSearchAuto",props:{list:{required:!0,type:Array,default:()=>[]},shadow:{type:String,default:"never"},immediate:{type:Boolean,default:!0},tab:{type:String,default:""},search:{type:Function,default:null},loading:{type:Boolean,default:!1}},emits:["search","pickerChange"],setup(t,{emit:e,expose:n}){const i=o.ref(),r={},l=o.ref({}),a=o.ref([]),s=o.ref({...l.value});o.watch(a,(R,Y)=>{const U=Y.filter($=>!R.includes($));if(U.length){let $=!1;U.forEach(G=>{s.value[G]!==void 0&&($=!0),s.value[G]=void 0}),$&&e("search",s.value)}});const d=()=>{a.value=[],t.list.forEach(R=>{var Y,U;l.value[R.key]=l.value[R.value],r[R.key]=r[R.value],a.value.push(R.key),(Y=s.value)[U=R.key]??(Y[U]=R.value||null)})};d(),o.watch(()=>t.list,()=>{d()});const f=o.computed(()=>a.value.map(R=>t.list.find(Y=>Y.key===R))),u=()=>{var R;s.value.page=1,(R=t.search)==null||R.call(t,s.value),e("search",s.value)};n({resetForm:()=>{var R,Y;(Y=(R=i.value)==null?void 0:R.resetFields)==null||Y.call(R),u()},reRequest:()=>{u()}});const c=()=>{var R;e("search",s.value),(R=t.search)==null||R.call(t,s.value)},_=R=>{R.key==="Enter"&&u()},g=()=>{var R;(R=i.value)==null||R.resetFields(),u()};t.immediate&&u();const h=({maxlength:R,minlength:Y,key:U,disabled:$,placeholder:G,formProp:le={},value:ae,label:te})=>o.createVNode(A.ElInput,o.mergeProps({modelValue:s.value[U],"onUpdate:modelValue":[ne=>s.value[U]=ne,ne=>s.value[U]=ne],clearable:!0,maxlength:R,minlength:Y,disabled:$,onBlur:()=>c()},le,{placeholder:(le==null?void 0:le.placeholder)||G||`请输入${te||""}`}),null),b=({key:R,placeholder:Y,max:U,min:$,disabled:G,precision:le,step:ae=1,label:te,formProp:ne={}})=>o.createVNode(A.ElInputNumber,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":Qe=>s.value[R]=Qe,clearable:!0,max:U,min:$,disabled:G,precision:le,step:ae,onChange:()=>c()},ne,{placeholder:(ne==null?void 0:ne.placeholder)||Y||`请输入${te||""}`}),null),y=({key:R,placeholder:Y,disabled:U,options:$,label:G,multiple:le=!1,filterable:ae=!0,formProp:te={}})=>o.createVNode(A.ElSelect,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":ne=>s.value[R]=ne,clearable:!0,disabled:U,multiple:le,filterable:ae,onChange:()=>c()},te,{placeholder:(te==null?void 0:te.placeholder)||Y||`请选择${G||""}`}),{default:()=>[$==null?void 0:$.map(ne=>o.createVNode(A.ElOption,{key:ne.value,label:ne.label,value:ne.value},null))]}),C=({key:R,disabled:Y,options:U,formProp:$={}})=>o.createVNode(A.ElRadioGroup,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":G=>s.value[R]=G,disabled:Y,onChange:()=>c()},$),{default:()=>[U==null?void 0:U.map(G=>($==null?void 0:$.radioType)==="button"?o.createVNode(A.ElRadioButton,{key:G.value,label:G.value,name:G.label},null):o.createVNode(A.ElRadio,{key:G.value,label:G.value,name:G.label},null))]}),k=({key:R,disabled:Y,options:U,min:$,max:G,formProp:le={}})=>o.createVNode(A.ElCheckboxGroup,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":ae=>s.value[R]=ae,disabled:Y,max:G,min:$,onChange:()=>c()},le),{default:()=>[U==null?void 0:U.map(ae=>o.createVNode(A.ElCheckbox,{key:ae.value,label:ae.label,value:ae.value},null))]}),B=({key:R,label:Y,formProp:U={},placeholder:$})=>o.createVNode(A.ElDatePicker,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":G=>s.value[R]=G,onChange:()=>c()},U,{placeholder:(U==null?void 0:U.placeholder)||$||`请选择${Y}时间`}),null),S=({key:R,disabled:Y,editable:U=!0,startPlaceholder:$="开始日期",endplaceholder:G="结束日期",dateType:le=Dt.date,format:ae,placeholder:te="请选择日期",popperclass:ne,rangeSeparator:Qe="-",defaultValue:Lt,defaultTime:nn,valueFormat:Tn,disabledDate:zt=()=>!1,formProp:ht={}})=>{let De=ae;if(De)switch(le){case Dt.date:case Dt.dates:De="YYYY-MM-DD";break;case Dt.year:De="YYYY";break;case Dt.month:De="YYYY-MM";break;case Dt.week:De="YYYY-MM-DD";break;default:De=""}return o.createVNode(A.ElDatePicker,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":mt=>s.value[R]=mt,onChange:()=>c(),disabled:Y,type:le,editable:U,startPlaceholder:$,endPlaceholder:G,rangeSeparator:Qe,format:De,popperClass:ne,defaultValue:Lt,defaultTime:nn,valueFormat:Tn,disabledDate:zt},ht,{placeholder:(ht==null?void 0:ht.placeholder)||te||"请选择日期"}),null)},x=({key:R,options:Y,multiple:U=!1,filterable:$=!0,nodeKey:G="id",props:le,highlightCurrent:ae=!0,defaultExpandAll:te=!1,expandOnClickNode:ne=!1,placeholder:Qe="全部",checkOnClickNode:Lt=!1,showCheckbox:nn=!1,checkStrictly:Tn=!0,defaultCheckedKeys:zt=[],currentNodeKey:ht="",accordion:De=!1,formProp:mt={},label:T})=>o.createVNode(A.ElTreeSelect,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":M=>s.value[R]=M,data:Y,onChange:()=>c(),clearable:!0,multiple:U,props:le,placeholder:Qe,filterable:$,nodeKey:G,highlightCurrent:ae,defaultExpandAll:te,expandOnClickNode:ne,checkOnClickNode:Lt,showCheckbox:nn,checkStrictly:Tn,defaultCheckedKeys:zt,currentNodeKey:ht,accordion:De},mt,{placeholder:(mt==null?void 0:mt.placeholder)||Qe||`请选择${T||""}`}),null),w=({key:R,selectKey:Y,placeholder:U,disabled:$,options:G,multiple:le=!1,filterable:ae=!0,formProp:te={}})=>o.createVNode(A.ElInput,o.mergeProps({disabled:$,modelValue:s.value[R],"onUpdate:modelValue":ne=>s.value[R]=ne,onBlur:()=>c()},te,{placeholder:(te==null?void 0:te.placeholder)||U||"全部"}),{prepend:()=>o.createVNode(A.ElSelect,o.mergeProps({disabled:$,multiple:le,filterable:ae,modelValue:s.value[Y],"onUpdate:modelValue":ne=>s.value[Y]=ne,onChange:()=>c()},te),{default:()=>[G==null?void 0:G.map(ne=>o.createVNode(A.ElOption,{key:ne.value,label:ne.label,value:ne.value},null))]})}),N="",D="iking",O=o.ref(null),V=o.ref([]),L=o.ref(!1),H=o.ref(""),I=new Map,ee=R=>{L.value=!0,V.value=I.has(R)?I.get(R):s.value[R],H.value=R},ke=()=>{I.set(H.value,[]),H.value="",c()},Ot=R=>{var Y,U;s.value[H.value]=(Y=R.list.map($=>$.elementName))==null?void 0:Y.join(","),I.set(H.value,R.list),e("search",s.value),e("pickerChange",R),(U=t.search)==null||U.call(t,s.value)},Nn=({key:R,placeholder:Y,typeOption:U,_list:$,maxlength:G,minlength:le,disabled:ae,formProp:te})=>o.createVNode(A.ElInput,o.mergeProps({modelValue:s.value[R],"onUpdate:modelValue":ne=>s.value[R]=ne,clearable:!0,maxlength:G,minlength:le,disabled:ae},te,{onClick:()=>ee(R),onClear:()=>ke(),placeholder:(te==null?void 0:te.placeholder)||Y||`点击选择${label||"人员"}`}),null),Mt=R=>{switch(R.type){case"":case void 0:case qe.input:case"el-input":return h(R);case qe.number:case"el-input-number":return b(R);case qe.select:case"el-select":return y(R);case qe.checkbox:case"el-checkbox":return k(R);case qe.radio:case"el-radio-group":case"el-radio":return C(R);case qe.date:case"el-date-picker":return S(R);case"el-time-select":return B(R);case qe.treeselect:case"el-tree-select":return x(R);case qe.choosePerson:return Nn(R);case"select-input":return w(R);default:return o.createVNode(o.Fragment,null,null)}},ce=o.computed(()=>{var U;const R=[],Y=f.value.length-1;return(U=f.value)==null||U.forEach(($,G)=>{let le,ae;if(!$)return[];const te=$.col||1;R.push(o.createVNode(A.ElCol,{xl:{span:te*6},lg:{span:te*6},md:{span:te*12},sm:{span:te*24}},{default:()=>[G===Y?o.createVNode("div",{class:"last-form"},[o.createVNode(A.ElFormItem,{label:$.type==="select-input"?"":$.label,prop:$.key},Ys(le=Mt($))?le:{default:()=>[le]}),o.createVNode(ue,{name:"icon-sousuo1",pop:!0,title:"搜索",size:"big","show-bg":!0,width:40,onClick:()=>c()},null),o.createVNode(ue,{name:"icon-zhongzhi",pop:!0,title:"重置并搜索",size:"big","show-bg":!0,width:40,onClick:()=>g()},null)]):o.createVNode(A.ElFormItem,{label:$.type==="select-input"?"":$.label,prop:$.key},Ys(ae=Mt($))?ae:{default:()=>[ae]})]}))}),R});return()=>o.createVNode(o.Fragment,null,[o.createVNode(A.ElCard,{class:"gl-search-card",shadow:t.shadow},{default:()=>[o.createVNode(A.ElForm,{class:"auto-search-form",onKeyup:_,ref:i,model:s.value},{default:()=>[o.createVNode(A.ElRow,{gutter:16},{default:()=>[ce.value]})]})]}),o.createVNode(En,{ref:O.value,modelValue:V.value,"onUpdate:modelValue":R=>V.value=R,show:L.value,"onUpdate:show":R=>L.value=R,"append-to-body":!0,api:{methods:"post",url:`${N}/server/component/pick/mix`,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:D}},tabs:["group","role","post"],chooseType:["user"],typeOption:{dep:"DEPT",user:"USER",role:"ROLE",post:"POST"},propOption:{name:"elementName",id:"elementId",type:"elementType"},onOk:R=>Ot(R)},null)])}}),ay={class:"header-left"},sy={class:"title"},cy={class:"flex items-center"},dy=o.defineComponent({__name:"IkPageHead",props:o.mergeModels({headerTitle:{type:String,default:""},headerBorder:{type:Boolean,default:!1},fields:{required:!0,type:Array,default:()=>[]},search:{type:Function,default:null},loading:{type:Boolean,default:!1},tabId:{type:Number||String,default:0},exportBtn:{type:Boolean,default:!1},refreshBtn:{type:Boolean,default:!1},settingBtn:{type:Boolean,default:!0},defaultShow:{type:Boolean,default:!1},headerHeight:{type:Number,default:66}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(t){o.useCssVars(f=>({"59e2b6b4":d}));const e=t,n=o.useModel(t,"modelValue"),i=o.ref(e.defaultShow),r=()=>{i.value=!i.value},l=o.computed(()=>e.fields.filter(f=>!f.onlyForm)),a=o.computed(()=>{var f;return(f=e.fields)==null?void 0:f.filter(u=>u.search)}),s=o.computed(()=>a.value.length),d=`${e.headerHeight}px`;return(f,u)=>{const m=o.resolveComponent("el-card");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["ik-page-header",{"show-search":i.value}])},[o.createElementVNode("div",{class:"header",style:o.normalizeStyle({borderColor:t.headerBorder?"var(--ik-border-color)":"transparent",marginBottom:t.headerBorder?"8px":"0"})},[o.createElementVNode("div",ay,[o.createCommentVNode(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),o.createElementVNode("span",sy,o.toDisplayString(t.headerTitle),1),o.renderSlot(f.$slots,"headerLeft",{},void 0,!0)]),o.createCommentVNode(" 默认按钮 "),o.createElementVNode("div",cy,[o.createCommentVNode(" 右侧操作或自定义内容 "),o.renderSlot(f.$slots,"headerRight",{},void 0,!0),t.exportBtn?(o.openBlock(),o.createBlock(o.unref(ue),{key:0,name:"iksvg_xiazai",type:"primary",title:"导出","show-bg":"",size:"default"})):o.createCommentVNode("v-if",!0),s.value?(o.openBlock(),o.createBlock(o.unref(ue),{key:1,name:"iksvg_shaixuan1",size:"default",title:i.value?"收起筛选条件":"展开筛选条件","show-bg":"",onClick:r},null,8,["title"])):o.createCommentVNode("v-if",!0),t.refreshBtn?(o.openBlock(),o.createBlock(o.unref(ue),{key:2,name:"iksvg_zhongzhi1",title:"保留搜索条件刷新","show-bg":"",size:"default",onClick:t.search},null,8,["onClick"])):o.createCommentVNode("v-if",!0),o.createCommentVNode(` <IkSvgIcon\r
35
35
  name="icon-shezhi"\r
36
36
  show-bg\r
37
37
  :width="40"\r
38
38
  size="small"\r
39
- /> `),i.createVNode(i.unref(Zs),{modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=p=>n.value=p),title:"设置表格字段",list:l.value,tab:t.tabId},null,8,["modelValue","list","tab"])])],4),i.createVNode(m,{shadow:"always",class:"search-form"},{default:i.withCtx(()=>[i.createVNode(i.unref(ly),{list:a.value,search:t.search,loading:t.loading},null,8,["list","search","loading"]),i.createElementVNode("span",{class:"hide-serch",onClick:r},[i.createVNode(i.unref(fe),{title:"收起",rotate:"180",name:"icon-shouqi"})])]),_:1})],2)}}}),yw="",uy=K(dy,[["__scopeId","data-v-659625f1"]]),Ys={headerTitle:{type:String,default:""},headerBorder:{type:Boolean,default:!1},tabs:{type:Array,default:()=>[]},fields:{required:!0,type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},immediate:{type:Boolean,default:!0},total:{type:Number,default:0},search:{type:Function,default:null},selection:{type:Boolean,default:!1},serial:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},tabId:{type:Number||String,default:0},exportBtn:{type:Boolean,default:!1},refreshBtn:{type:Boolean,default:!0},settingBtn:{type:Boolean,default:!0},chooseLen:{type:Number,default:0},current:{type:Number,default:1},defaultShow:{type:Boolean,default:!1},dialogSize:{type:String,default:"l"},title:{type:String,default:""},role:{type:String,default:""},formKey:{type:Object,default:()=>({})},dialogProp:{type:Object,default:()=>{}},headerHeight:{type:Number,default:66}},fy={class:"total"},py={class:"num"},hy=i.defineComponent({__name:"IkPage",props:{total:{type:Number,default:0},mini:{type:Boolean,default:!1},search:{type:Function,default:null},current:{type:Number,default:0}},emits:["currentChange","sizeChange"],setup(t,{emit:e}){const n=t,o=e,r=i.ref(1);i.watch(()=>n.current,f=>{r.value=f});const l=[15,30,60,100,200,500],a=i.ref(l[0]),s=f=>{o("sizeChange",f),n==null||n.search({page:r.value,rows:a.value})},d=f=>{o("currentChange",f),n==null||n.search({page:r.value,rows:a.value})};return(f,u)=>{const m=i.resolveComponent("el-pagination");return i.openBlock(),i.createBlock(m,i.mergeProps({"current-page":r.value,"onUpdate:currentPage":u[0]||(u[0]=p=>r.value=p),"page-size":a.value,"onUpdate:pageSize":u[1]||(u[1]=p=>a.value=p)},f.$attrs,{layout:"slot, ->, sizes, prev, pager, next, jumper",small:t.mini,total:t.total,"page-sizes":l,class:"ik-pagin-action",onSizeChange:s,onCurrentChange:d}),{default:i.withCtx(()=>[i.createElementVNode("span",fy,[i.createTextVNode(" 共"),i.createElementVNode("span",py,i.toDisplayString(t.total),1),i.createTextVNode(" 项数据 ")])]),_:1},16,["current-page","page-size","small","total"])}}}),bw="",my=K(hy,[["__scopeId","data-v-e7b4fc6e"]]),gy=i.defineComponent({__name:"IkPageTable",props:Ys,emits:["selection-change","page-change"],setup(t,{expose:e,emit:n}){var p;const o=t,r=n,{attrs:l}=i.getCurrentInstance(),a=i.ref({page:((p=l.page)==null?void 0:p.page)||1,rows:15}),s=i.computed(()=>{const{page:c,rows:_}=(l==null?void 0:l.page)||a.value,g=z._.cloneDeep(o.tableData);return g.forEach((h,b)=>{h.__index=c===1?b+1:(c-1)*_+b+1}),g}),d=c=>{a.value=c,r("page-change",c),o.search()},f=i.ref([]),u=c=>{f.value=c,r("selection-change",c)},m=i.ref();return e({table:m}),(c,_)=>{var y,C,k;const g=i.resolveComponent("el-table-column"),h=i.resolveComponent("el-table"),b=i.resolveDirective("loading");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(" 自定义表格 "),(y=c.$slots)!=null&&y.table?i.renderSlot(c.$slots,"table",{key:0},void 0,!0):(i.openBlock(),i.createElementBlock(i.Fragment,{key:1},[i.createCommentVNode(" 默认表格 "),i.createVNode(i.Transition,{name:"el-zoom-in-center"},{default:i.withCtx(()=>[i.withDirectives((i.openBlock(),i.createBlock(h,i.mergeProps({ref_key:"refTable",ref:m},{...c.$attrs,...o},{data:s.value,style:{width:"100%"},onSelectionChange:u}),{default:i.withCtx(()=>[c.selection?(i.openBlock(),i.createBlock(g,{key:0,type:"selection",align:"center",width:"56"})):i.createCommentVNode("v-if",!0),c.serial?(i.openBlock(),i.createBlock(g,{key:1,prop:"__index",label:"序号",width:60,align:"center"})):i.createCommentVNode("v-if",!0),i.renderSlot(c.$slots,"default",{},void 0,!0)]),_:3},16,["data"])),[[b,c.loading]])]),_:3})],64)),i.createCommentVNode(" 分页 "),c.total?(i.openBlock(),i.createBlock(my,{key:2,current:((k=(C=c.$attrs)==null?void 0:C.page)==null?void 0:k.page)||1,total:c.total,search:d},null,8,["current","total"])):i.createCommentVNode("v-if",!0)],64)}}}),Ew="",_y=K(gy,[["__scopeId","data-v-20be6a37"]]),yy={class:"choose"},by={class:"btn"},Ey=i.defineComponent({__name:"index",props:i.mergeModels(Ys,{modelValue:{type:Object,default:()=>({page:1,rows:15})},modelModifiers:{}}),emits:i.mergeModels(["selection-change","delete","download","addFunction"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const o=t,r=n,l=i.useModel(t,"modelValue"),a=()=>{var S;(S=l==null?void 0:l.value)!=null&&S.page&&(l.value={page:1,rows:15})};a();const s=S=>{l.value={...l.value,...S}},d=S=>{var w;a();const x=(S==null?void 0:S.type)==="click"?{}:S;l.value={...l.value,...x},(w=o==null?void 0:o.search)==null||w.call(o,{...l.value})},f=i.ref([]),u=S=>{f.value=S,r("selection-change",S)},m=i.computed(()=>f.value.length||o.chooseLen),p=i.ref(o.fields),c=i.computed(()=>"light"),_=i.ref(),g=i.ref(),h=i.ref(),b=i.ref(!1),y=i.ref(void 0),C=i.ref(o.title||""),k=S=>{y.value=S?{...S}:null,o.title?o.title.includes("新增")||o.title.includes("修改")?C.value=S?o.title.replace(/新增/g,"修改"):o.title.replace(/修改/g,"新增"):C.value=S?`修改${o.title}`:`新增${o.title}`:C.value=S?"修改":"新增",b.value=!0},B=i.computed(()=>o.fields.find(S=>S.isEdit));return e({table:_,header:g,chooseList:f,srotFields:p,pageData:l,dialog:h,handAdd:k}),(S,x)=>{const w=i.resolveComponent("el-button"),N=i.resolveComponent("IkNumberDuration"),D=i.resolveComponent("el-table-column"),O=i.resolveDirective("role");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(" 标题 + 搜索表单 "),i.createVNode(uy,i.mergeProps({ref_key:"refHeader",ref:g},{...S.$attrs,...o},{modelValue:p.value,"onUpdate:modelValue":x[1]||(x[1]=V=>p.value=V),loading:S.loading,search:d,"tab-id":S.tabId}),{headerLeft:i.withCtx(()=>[i.renderSlot(S.$slots,"headerLeft",{},void 0,!0)]),headerRight:i.withCtx(()=>[i.renderSlot(S.$slots,"headerRight",{},()=>[B.value?i.withDirectives((i.openBlock(),i.createBlock(w,{key:0,type:"primary",onClick:x[0]||(x[0]=V=>k(null))},{default:i.withCtx(()=>[i.createTextVNode(" 新增 ")]),_:1})),[[O,S.role]]):i.createCommentVNode("v-if",!0)],!0)]),_:3},16,["modelValue","loading","tab-id"]),i.createCommentVNode(" 选中表格项 "),S.selection?(i.openBlock(),i.createElementBlock("div",{key:0,class:i.normalizeClass(["hand-selection",{select:m.value}])},[i.createElementVNode("p",yy,[i.createTextVNode(" 已选 "),i.createElementVNode("span",null,[i.createVNode(N,{value:m.value},null,8,["value"])]),i.createTextVNode(" 条 ")]),i.createElementVNode("div",by,[S.$slots.selectionRight?i.renderSlot(S.$slots,"selectionRight",{key:1},void 0,!0):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createVNode(i.unref(fe),{name:"icon-shanchu","show-bg":"",size:"default",onClick:x[2]||(x[2]=V=>S.$emit("delete",f.value))}),i.createVNode(i.unref(fe),{ize:"default",name:"icon-xiazai","show-bg":"",onClick:x[3]||(x[3]=V=>S.$emit("download",f.value))})],64))])],2)):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 自定义表格 "),i.renderSlot(S.$slots,"table",{},()=>[i.createVNode(_y,i.mergeProps({ref_key:"refTable",ref:_,page:l.value},{...S.$attrs,...o},{onPageChange:s,onSelectionChange:u}),{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(p.value,V=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:V.key},[V.show?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[V.tableSlot?(i.openBlock(),i.createBlock(D,i.mergeProps({key:1,align:V.align,width:V.width,"min-width":V.minWidth,"show-overflow-tooltip":{effect:c.value??"light"}},{...V,...S.$attrs,...o}),{default:i.withCtx(L=>[i.renderSlot(S.$slots,V.tableSlot,{data:L},void 0,!0)]),_:2},1040,["align","width","min-width","show-overflow-tooltip"])):(i.openBlock(),i.createBlock(D,i.mergeProps({key:0,prop:V.key,width:V.width,"min-width":V.minWidth,align:V.align,"show-overflow-tooltip":{effect:c.value??"light"},"show-arrow":!1},{...V,...S.$attrs,...o}),null,16,["prop","width","min-width","align","show-overflow-tooltip"]))],64)):i.createCommentVNode("v-if",!0)],64))),128))]),_:3},16,["page"])],!0),i.createCommentVNode(" 新增修改 "),i.createCommentVNode(` <IkDialog\r
39
+ /> `),o.createVNode(o.unref(Ks),{modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=p=>n.value=p),title:"设置表格字段",list:l.value,tab:t.tabId},null,8,["modelValue","list","tab"])])],4),o.createVNode(m,{shadow:"always",class:"search-form"},{default:o.withCtx(()=>[o.createVNode(o.unref(ly),{list:a.value,search:t.search,loading:t.loading},null,8,["list","search","loading"]),o.createElementVNode("span",{class:"hide-serch",onClick:r},[o.createVNode(o.unref(ue),{title:"收起",rotate:"180",name:"icon-shouqi"})])]),_:1})],2)}}}),ww="",uy=K(dy,[["__scopeId","data-v-659625f1"]]),Qs={headerTitle:{type:String,default:""},headerBorder:{type:Boolean,default:!1},tabs:{type:Array,default:()=>[]},fields:{required:!0,type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},immediate:{type:Boolean,default:!0},total:{type:Number,default:0},search:{type:Function,default:null},selection:{type:Boolean,default:!1},serial:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},tabId:{type:Number||String,default:0},exportBtn:{type:Boolean,default:!1},refreshBtn:{type:Boolean,default:!0},settingBtn:{type:Boolean,default:!0},chooseLen:{type:Number,default:0},current:{type:Number,default:1},defaultShow:{type:Boolean,default:!1},dialogSize:{type:String,default:"l"},title:{type:String,default:""},role:{type:String,default:""},formKey:{type:Object,default:()=>({})},dialogProp:{type:Object,default:()=>{}},headerHeight:{type:Number,default:66}},fy={class:"total"},py={class:"num"},hy=o.defineComponent({__name:"IkPage",props:{total:{type:Number,default:0},mini:{type:Boolean,default:!1},search:{type:Function,default:null},current:{type:Number,default:0}},emits:["currentChange","sizeChange"],setup(t,{emit:e}){const n=t,i=e,r=o.ref(1);o.watch(()=>n.current,f=>{r.value=f});const l=[15,30,60,100,200,500],a=o.ref(l[0]),s=f=>{i("sizeChange",f),n==null||n.search({page:r.value,rows:a.value})},d=f=>{i("currentChange",f),n==null||n.search({page:r.value,rows:a.value})};return(f,u)=>{const m=o.resolveComponent("el-pagination");return o.openBlock(),o.createBlock(m,o.mergeProps({"current-page":r.value,"onUpdate:currentPage":u[0]||(u[0]=p=>r.value=p),"page-size":a.value,"onUpdate:pageSize":u[1]||(u[1]=p=>a.value=p)},f.$attrs,{layout:"slot, ->, sizes, prev, pager, next, jumper",small:t.mini,total:t.total,"page-sizes":l,class:"ik-pagin-action",onSizeChange:s,onCurrentChange:d}),{default:o.withCtx(()=>[o.createElementVNode("span",fy,[o.createTextVNode(" 共"),o.createElementVNode("span",py,o.toDisplayString(t.total),1),o.createTextVNode(" 项数据 ")])]),_:1},16,["current-page","page-size","small","total"])}}}),Cw="",my=K(hy,[["__scopeId","data-v-e7b4fc6e"]]),gy=o.defineComponent({__name:"IkPageTable",props:Qs,emits:["selection-change","page-change"],setup(t,{expose:e,emit:n}){var p;const i=t,r=n,{attrs:l}=o.getCurrentInstance(),a=o.ref({page:((p=l.page)==null?void 0:p.page)||1,rows:15}),s=o.computed(()=>{const{page:c,rows:_}=(l==null?void 0:l.page)||a.value,g=z._.cloneDeep(i.tableData);return g.forEach((h,b)=>{h.__index=c===1?b+1:(c-1)*_+b+1}),g}),d=c=>{a.value=c,r("page-change",c),i.search()},f=o.ref([]),u=c=>{f.value=c,r("selection-change",c)},m=o.ref();return e({table:m}),(c,_)=>{var y,C,k;const g=o.resolveComponent("el-table-column"),h=o.resolveComponent("el-table"),b=o.resolveDirective("loading");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(" 自定义表格 "),(y=c.$slots)!=null&&y.table?o.renderSlot(c.$slots,"table",{key:0},void 0,!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createCommentVNode(" 默认表格 "),o.createVNode(o.Transition,{name:"el-zoom-in-center"},{default:o.withCtx(()=>[o.withDirectives((o.openBlock(),o.createBlock(h,o.mergeProps({ref_key:"refTable",ref:m},{...c.$attrs,...i},{data:s.value,style:{width:"100%"},onSelectionChange:u}),{default:o.withCtx(()=>[c.selection?(o.openBlock(),o.createBlock(g,{key:0,type:"selection",align:"center",width:"56"})):o.createCommentVNode("v-if",!0),c.serial?(o.openBlock(),o.createBlock(g,{key:1,prop:"__index",label:"序号",width:60,align:"center"})):o.createCommentVNode("v-if",!0),o.renderSlot(c.$slots,"default",{},void 0,!0)]),_:3},16,["data"])),[[b,c.loading]])]),_:3})],64)),o.createCommentVNode(" 分页 "),c.total?(o.openBlock(),o.createBlock(my,{key:2,current:((k=(C=c.$attrs)==null?void 0:C.page)==null?void 0:k.page)||1,total:c.total,search:d},null,8,["current","total"])):o.createCommentVNode("v-if",!0)],64)}}}),kw="",_y=K(gy,[["__scopeId","data-v-20be6a37"]]),yy={class:"choose"},by={class:"btn"},Ey=o.defineComponent({__name:"index",props:o.mergeModels(Qs,{modelValue:{type:Object,default:()=>({page:1,rows:15})},modelModifiers:{}}),emits:o.mergeModels(["selection-change","delete","download","addFunction"],["update:modelValue"]),setup(t,{expose:e,emit:n}){const i=t,r=n,l=o.useModel(t,"modelValue"),a=()=>{var S;(S=l==null?void 0:l.value)!=null&&S.page&&(l.value={page:1,rows:15})};a();const s=S=>{l.value={...l.value,...S}},d=S=>{var w;a();const x=(S==null?void 0:S.type)==="click"?{}:S;l.value={...l.value,...x},(w=i==null?void 0:i.search)==null||w.call(i,{...l.value})},f=o.ref([]),u=S=>{f.value=S,r("selection-change",S)},m=o.computed(()=>f.value.length||i.chooseLen),p=o.ref(i.fields),c=o.computed(()=>"light"),_=o.ref(),g=o.ref(),h=o.ref(),b=o.ref(!1),y=o.ref(void 0),C=o.ref(i.title||""),k=S=>{y.value=S?{...S}:null,i.title?i.title.includes("新增")||i.title.includes("修改")?C.value=S?i.title.replace(/新增/g,"修改"):i.title.replace(/修改/g,"新增"):C.value=S?`修改${i.title}`:`新增${i.title}`:C.value=S?"修改":"新增",b.value=!0},B=o.computed(()=>i.fields.find(S=>S.isEdit));return e({table:_,header:g,chooseList:f,srotFields:p,pageData:l,dialog:h,handAdd:k}),(S,x)=>{const w=o.resolveComponent("el-button"),N=o.resolveComponent("IkNumberDuration"),D=o.resolveComponent("el-table-column"),O=o.resolveDirective("role");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(" 标题 + 搜索表单 "),o.createVNode(uy,o.mergeProps({ref_key:"refHeader",ref:g},{...S.$attrs,...i},{modelValue:p.value,"onUpdate:modelValue":x[1]||(x[1]=V=>p.value=V),loading:S.loading,search:d,"tab-id":S.tabId}),{headerLeft:o.withCtx(()=>[o.renderSlot(S.$slots,"headerLeft",{},void 0,!0)]),headerRight:o.withCtx(()=>[o.renderSlot(S.$slots,"headerRight",{},()=>[B.value?o.withDirectives((o.openBlock(),o.createBlock(w,{key:0,type:"primary",onClick:x[0]||(x[0]=V=>k(null))},{default:o.withCtx(()=>[o.createTextVNode(" 新增 ")]),_:1})),[[O,S.role]]):o.createCommentVNode("v-if",!0)],!0)]),_:3},16,["modelValue","loading","tab-id"]),o.createCommentVNode(" 选中表格项 "),S.selection?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["hand-selection",{select:m.value}])},[o.createElementVNode("p",yy,[o.createTextVNode(" 已选 "),o.createElementVNode("span",null,[o.createVNode(N,{value:m.value},null,8,["value"])]),o.createTextVNode(" 条 ")]),o.createElementVNode("div",by,[S.$slots.selectionRight?o.renderSlot(S.$slots,"selectionRight",{key:1},void 0,!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createVNode(o.unref(ue),{name:"icon-shanchu","show-bg":"",size:"default",onClick:x[2]||(x[2]=V=>S.$emit("delete",f.value))}),o.createVNode(o.unref(ue),{ize:"default",name:"icon-xiazai","show-bg":"",onClick:x[3]||(x[3]=V=>S.$emit("download",f.value))})],64))])],2)):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 自定义表格 "),o.renderSlot(S.$slots,"table",{},()=>[o.createVNode(_y,o.mergeProps({ref_key:"refTable",ref:_,page:l.value},{...S.$attrs,...i},{onPageChange:s,onSelectionChange:u}),{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(p.value,V=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:V.key},[V.show?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[V.tableSlot?(o.openBlock(),o.createBlock(D,o.mergeProps({key:1,align:V.align,width:V.width,"min-width":V.minWidth,"show-overflow-tooltip":{effect:c.value??"light"}},{...V,...S.$attrs,...i}),{default:o.withCtx(L=>[o.renderSlot(S.$slots,V.tableSlot,{data:L},void 0,!0)]),_:2},1040,["align","width","min-width","show-overflow-tooltip"])):(o.openBlock(),o.createBlock(D,o.mergeProps({key:0,prop:V.key,width:V.width,"min-width":V.minWidth,align:V.align,"show-overflow-tooltip":{effect:c.value??"light"},"show-arrow":!1},{...V,...S.$attrs,...i}),null,16,["prop","width","min-width","align","show-overflow-tooltip"]))],64)):o.createCommentVNode("v-if",!0)],64))),128))]),_:3},16,["page"])],!0),o.createCommentVNode(" 新增修改 "),o.createCommentVNode(` <IkDialog\r
40
40
  v-if="needAutoForm"\r
41
41
  ref="refIkDialog"\r
42
42
  v-bind="{ ...dialogProp }"\r
@@ -47,8 +47,8 @@
47
47
  :form-key="formKey"\r
48
48
  :edit-data="editData"\r
49
49
  @addFunction="sureAdd"\r
50
- /> `)],64)}}}),ww="",wy=oe(K(Ey,[["__scopeId","data-v-a4dd744c"]])),Cy={},ky={t:"1672194715727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1","p-id":"2667"},vy=[i.createElementVNode("path",{d:"M809.246403 771.926938 777.737782 803.458071 924.965961 950.667831 956.476629 919.157163Z",fill:"#5D5D5D","p-id":"2668"},null,-1),i.createElementVNode("path",{d:"M454.878536 70.285786C239.51556 70.285786 64.93236 244.847497 64.93236 460.231963c0 215.341486 174.583201 389.945153 389.945153 389.945153 215.362976 0 389.9472-174.603667 389.9472-389.945153C844.825736 244.847497 670.241512 70.285786 454.878536 70.285786zM454.878536 805.611108c-190.750415 0-345.381192-154.626683-345.381192-345.379145 0-190.751439 154.629753-345.380168 345.381192-345.380168 190.752462 0 345.382215 154.62873 345.382215 345.380168C800.259728 650.983401 645.630998 805.611108 454.878536 805.611108z",fill:"#5D5D5D","p-id":"2669"},null,-1)];function Sy(t,e){return i.openBlock(),i.createElementBlock("svg",ky,vy)}const Ay=K(Cy,[["render",Sy]]),Dy={},xy={t:"1710907270798",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8420",width:"200",height:"200"},Ny=[i.createElementVNode("path",{d:"M512 1024A512 512 0 1 0 512 0a512 512 0 0 0 0 1024z",fill:"var(--ik-color-icon-dark)","p-id":"8421"},null,-1),i.createElementVNode("path",{d:"M655.701333 327.082667a41.216 41.216 0 0 1 57.002667-1.194667 39.082667 39.082667 0 0 1 1.109333 56.490667l-145.237333 145.92 145.237333 146.005333c13.824 13.909333 15.189333 35.072 4.266667 50.346667l-5.376 6.144a41.216 41.216 0 0 1-57.002667-1.109334L511.914667 585.130667 368.298667 729.685333a40.96 40.96 0 0 1-42.24 9.557334l-7.68-3.242667-7.082667-5.12a39.082667 39.082667 0 0 1-1.109333-56.576l145.066666-146.005333-145.066666-145.92a39.082667 39.082667 0 0 1-4.266667-50.346667l5.376-6.144a41.216 41.216 0 0 1 57.002667 1.194667L512 471.381333z",fill:"#FFFFFF","p-id":"8422"},null,-1)];function Ty(t,e){return i.openBlock(),i.createElementBlock("svg",xy,Ny)}const Vy=K(Dy,[["render",Ty]]),Ry={},Iy={t:"1710904463698",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7124",width:"200",height:"200"},By=[i.createElementVNode("path",{d:"M512 512a235.392 235.392 0 0 0 235.2-235.52A235.392 235.392 0 0 0 512 40.96a235.392 235.392 0 0 0-235.2 235.52A235.392 235.392 0 0 0 512 512z",fill:"var(--ik-color-icon-light-hover)","p-id":"7125"},null,-1),i.createElementVNode("path",{d:"M41.984 901.12c0 57.408 46.784 103.872 104.512 103.872h731.52c57.664 0 104.448-46.464 104.448-103.808v-51.968c0-143.36-116.992-259.648-261.248-259.648H303.232c-144.256 0-261.248 116.224-261.248 259.648v51.968z",fill:"var(--ik-color-tag-primary)","p-id":"7126"},null,-1)];function Oy(t,e){return i.openBlock(),i.createElementBlock("svg",Iy,By)}const My=K(Ry,[["render",Oy]]),Ly={},zy={t:"1710904436436",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6989",width:"200",height:"200"},Py=[i.createElementVNode("path",{d:"M421.952281 288.898297a42.687867 42.687867 0 0 0-42.111868 31.167903l-122.367618 461.694557a49.919844 49.919844 0 0 0 19.19994 52.223837l232.319274 173.503458a57.59982 57.59982 0 0 0 67.45579 0.447998l234.175268-169.59947a49.983844 49.983844 0 0 0 19.967937-52.351836l-118.783628-465.598545a42.623867 42.623867 0 0 0-41.919869-31.487902H421.952281z",fill:"var(--ik-color-tag-primary)","p-id":"6990"},null,-1),i.createElementVNode("path",{d:"M354.048494 0.0032a44.67186 44.67186 0 0 0-36.479886 18.175943 39.103878 39.103878 0 0 0-4.223987 38.59188L377.792419 206.722554c6.591979 15.359952 22.39993 25.47192 40.127875 25.407921h255.487202c17.919944 0 33.919894-10.431967 40.319874-26.239918L774.39918 56.003025a39.167878 39.167878 0 0 0-4.863985-38.079881A44.67186 44.67186 0 0 0 733.439308 0.0032H354.048494z",fill:"var(--ik-color-icon-light-hover)","p-id":"6991"},null,-1)];function Fy(t,e){return i.openBlock(),i.createElementBlock("svg",zy,Py)}const $y=K(Ly,[["render",Fy]]),Hy={},jy={t:"1710904287393",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6854",width:"200",height:"200"},Uy=[i.createElementVNode("path",{d:"M512 271.296c27.264 0 49.792 22.336 51.136 50.816l0.064 2.688v147.072H832c62.272 0 113.28 51.776 115.2 116.8v103.872c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752l-0.064-2.688V592.256a13.184 13.184 0 0 0-11.328-13.312L832 578.88H563.2v113.664c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L460.8 692.48V578.88H192a12.992 12.992 0 0 0-12.736 11.776l-0.064 1.6v100.288c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L76.8 692.48V592.256c0-65.088 49.536-118.4 111.808-120.32H460.8v-147.2c0-29.504 22.912-53.44 51.2-53.44z",fill:"var(--ik-color-icon-light-hover)","p-id":"6855"},null,-1),i.createElementVNode("path",{d:"M204.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H51.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM588.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H435.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM972.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504h-153.6c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM665.6 64c28.288 0 51.2 23.936 51.2 53.504v213.952c0 29.568-22.912 53.504-51.2 53.504H358.4c-28.288 0-51.2-23.936-51.2-53.504V117.504c0-29.568 22.912-53.504 51.2-53.504h307.2z",fill:"var(--ik-color-tag-primary)","p-id":"6856"},null,-1)];function Wy(t,e){return i.openBlock(),i.createElementBlock("svg",jy,Uy)}const Gy=K(Hy,[["render",Wy]]),qy={class:"avatar"},Yy={key:3,class:"user_box"},Qy={key:1,class:"avatar_name"},Zy=i.defineComponent({__name:"Avatar",props:{fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},element:{type:Object,default:()=>{}},imageBaseUrl:{type:String,default:""}},setup(t){const e=t,n=`${e.imageBaseUrl}/server/oss/download?fileUrl=`||`${location.origin}/server/oss/download?fileUrl=`,o=r=>r?r.startsWith("http")?r:`${n}${r}`:"";return(r,l)=>{const a=i.resolveComponent("el-avatar");return i.openBlock(),i.createElementBlock("div",qy,[e.fixTypeOpt.group===t.element[e.fixPropOpt.type]?(i.openBlock(),i.createBlock(Gy,{key:0})):e.fixTypeOpt.role===t.element[e.fixPropOpt.type]?(i.openBlock(),i.createBlock(My,{key:1})):e.fixTypeOpt.post===t.element[e.fixPropOpt.type]?(i.openBlock(),i.createBlock($y,{key:2})):e.fixTypeOpt.user===t.element[e.fixPropOpt.type]?(i.openBlock(),i.createElementBlock("div",Yy,[t.element[t.fixPropOpt.avatar]?(i.openBlock(),i.createBlock(a,{key:0,shape:"square",src:o(t.fixPropOpt.avatar?t.element[t.fixPropOpt.avatar]:"")},null,8,["src"])):(i.openBlock(),i.createElementBlock("div",Qy,i.toDisplayString(t.element[t.fixPropOpt.name].slice(-2)),1))])):i.createCommentVNode("v-if",!0)])}}}),Iw="",xt=K(Zy,[["__scopeId","data-v-bc7cca29"]]),Qo="data:image/webp;base64,UklGRogSAABXRUJQVlA4WAoAAAAwAAAAxwAAzQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBI4gsAAAXwh21/2rb//yncJGWGwWvMXFi6wpNh8GRmZmZmZmYeMzMzlobdnuvw+SynSVvbKiTx4ViWHcly/nodz4hw4LaNIylb5mbLeTIl2S+A/+u0//zH3hUlGHLVu1GC0Ze+HyUoKPo0SnClc0aU4Ontu6IEfzzWFiVYeGWU2Ede90qU4LMfj0YH3FOvihLnl/atiQ6k/RgtzlPfPxwduCXj0yiR0j1+Sygq0Pfr6/iosA/6/M6G6PC98+5t3qiw33j5fVEhL3W81/Z2CKfi02lG/c2Q/8YX2PQh54cv1htzKe6VuBewtxW/8NBpQy5Z757y4VasjFcynoJGXLJcdef0GSJOR//Pf11kyMvKbVcu/rMDp8P+5Ogn6w241POu3Gnzglghlzz+w2IDno6Tb/T/thsrxHzp/du/gozNpZBIX3npNdkrZ+LWRlPK2POHrPuVkawOO3tWmfdX7d/fSW8yllyVtXneWfyY+I2v3HKExbE4dJ8TgI7dm7fsFMgz8OIisHXRP4YxqR77Ev0DYfWCpa0Rg13LJ0xIP7Z6W6cBLA64ebTyYqWEzllflxERWjAh13F8+44mw1nlsvan4kSsf7oqcuLv3VXWYUzL9ZTFJpyI4JcvdBt3hv/2K3gVWybyxgo+XC6/BC9j+WTjPiXv64OXcd1c495GbknAsnIiMG47Z5UDxylpVBi4XTvLjKF6CDByu+1Xq5IZNwNDtytmxiiYvBwYu3lm9kaoz5a+IQzekj6+3QpA7crftxsWJNPna/qd+DH2mcdAlLD5Vxs9mMdu744SvP9LTZTgxVUVUYJHKlQeNA30xNWfOtVkwDi7gkrc+R6PJwX4kgDgT6HWbLyv6+Mp9IxEkqQwODmc4l+8hkjMOI/Hk4XoUKBFW7viX1oMixxPoWcM8vWAJxKdbYp/8RkJtlGFHg+a3KlDQnSr4l/8rJPm8RTmumRRGiHZAL986+5dTGIZVujxDECURQDxplSNDbFG4niPpyBeVhcp5NvzwI9sUfDrELOsT494B7EVDzaVSvpIQaFJPz7AEpOXAh0Tyi9jaF2pHE4QGq3aVSgyw12/AoLQadbvzKShx3ronMZBrITiF94HJKHTsK8fY4OUmgTdExi3nwk+f4KkRuik1LQt54gsfNUccbDQR7dMZ4DpNzEx1moHt+uesXvNbEz+T57VPWsvYGQt7h51ROdcvIqZGL/uQn1jLhvNTtJ17Txdc+tfDOXAZ4byOiamujc7BLc8WaVjnv4EsHL3xvmLGnXdrs8u78sCXevmL2rRf+Oyi4qKRlr0TMeaeUv9zEyZ+MKioglWvVKwBzBmZWP1ymgdLyqZRfYjlRrS3t35LDJsVOfeM/S45GMRwj1vq6eLOzwM8tJtHZCf8zOtL4kRi0QBQrjjbfUvk2L2uOsNCKEAf15MB+u6AdIu2+sH1Nh4DnP8b7MJwfsQnfTi7o8lzch24HXV9PF85vhrotR+ZJszlwbugwmSaLTw4X4VVl3MGnkbOyA6In1PtVPglZelXXGqfkdlYi+Zwhrrx4cdgBaXUEjA0447ws5XVHyt0rJFlzPGxGXhjlT4oPWlNuJ8+VinJFlJzQcii6Tem35kVhswV4yQ2o8prJ5Pmr5H7J3yKFII/7WSQRIXZXDc8Sf42/8QOwQMbW+3EmbGjaAT4n6e+TTEHt9cznEcP3f20V5hcKdNC8kydp9JRi4oVtp9zDFuLc9xPOc7/TIQpSdxG/d5M1HWXgAkUOcr7qtYFmCM1fnyznVNdIQJNx/jg/a1JNPxi1YDALrCmrHCK1azxcXLkJ3rPwggSEVcby49QoycvVkyUGUTfuNYwlw2HNlduSYFWCfUTSXG73cAJdgeWHSaJW6eFuDk6jwnAECUIo/a9n2AEJbadARJsoruubUMYa/uE5DPprGSCuUB15vcDyFCXL4IKMELX3uYIR7/AiBkS/MKOUgOwK91wlTtsUs9j0ZBanH31c1hAGXoPZYmwwsjLAhdAtpyKX6hPijbQQh/ghK14l+QGZZNAiDIcbw4CCAEOKkf8U6oJZUUbS9URaH+z05WGHAMyPAcHGFWorL9u4AQJWscMt2yZqzwQ2uZ+fHamzJydUpvFF6QriqSO5l1xAJX7ssD4+JjQ6jXfc28IAiQP70lwAqmf7MQ5LQuPttutdkCEDk1+QUeCpCrqiLbGuvMiw5mdkC48DOMIgZAw41gR0ASCfk+601xFTkQwtc30WpPLP93pwrM/PjpXhSpqKzYI06FUHhjE70WHWcU2/MXxsdnIonEiUaO5/lT2wumQgjf2EiRLoEt8POt8HHfeRz30jZUhYc2NZ0QLmAJtXVjwu8c/6KSaYKBUn3pKVV4DgcUqHKiA8LFH+NxZaanXz0hOcGsNwRvc0NtS1NTU1NDA1TyBxdGMbrlW95aTwM0gpyAEC5/H8HRIycnJyszXvFdkpCcEW/VCx3eZq+A1dFaV1tbe7a2q+h3jntpK0rRnxDCd1fTAI0gNQKEq9/N7tOnd68Mk7pzU1OdzpgYEz3QnMvb7OU0Kgo1WCa2+55XLPGlv0EIP1xOAcXC+3eXaPaecWqW5cywiqYYp9NFa0AEvM3etoh0pYwMBCt3twS6Ic/1e4bn4FfzKJE9avRLYijoP6xJmeI1qXEiEAGwulwuogNCjq5+X0tbSAyJYd3aSR0RCNY0oBrShocCcNOSmqPtBEFn4ai8senAVhwMBbn9qvpUlps0i+QB5Gh2ulxu9QGhdaS2tfhaQ6hc+T7tl9KHBYKnalEyhgWDwdrTQDxbWbY/QAx7flGuAxmwnlAw2FEe1hhRpVv2geQJxB12l9vtjGxAiO0+nz+EyMQcwyIkIZrIHBII/nMGJWdQMBhsrEE0cDvXVBOh96QSt0KCLUMMiaHGSHW6U8ySD7AOMbncsW6bKmjD/T5/AKNPRayoLa1MEEOCYuLGxYui2OHH5Dezd4uRMvz60RRW0xQn1hOoBIc7NtZlwgcmv9/fjdemdqSwaBz+7nREZN2bR2Al0tZjicpK/Eg1u2PjYm1yYPL7WzuBrAmrKiwCK4VKpPh+XQRceF8MGuBoVDqUTlH1U0ycydcJtExENSmUGvvtKs3ccDOxQKpxEpmUTtFwxEnQdrsMrbj3hNaLBa/QzQisSXYNHR2ZELwqak1d87VGPhsg52dUK+MBlXNYCPmGYv7nSY0skBdpypWJtsjHsQYpdNn/ska+60k1ZVaEFykYa/KTLCQiX1Js5fcrtD79GNXcXxmxEyyEH6DLsec1J0aPXqSHzRTrVHiIxPto7ydf82tv+43Xm3VRGW/G+Unhy4iE0Gvehu87IhE1+KE+uqh0x2h5Rnfnmt+rItRlLr2uhy4qY830niH0wVGxtFwk0Iu5E8ea9VApBWOcnxQSlL5UEUOjpnrnVi8picmlxQPoF+wuk8b3qbqVeE564uihAxxZpWkFuSPstCtdNoWfMN5SfTTsVmLNkHP1/Udqz9SG6PTkkFHDB1jpVkorP/YZDUf5PmLdf+zA/uoA5VE5YNDAgWkRqY50sXJa9PDMwV1Hj0vX9GHx/fr06dXDTmnBjAGRPUD164Zin2b07JmTlZVsIi43xhJ2muaQRS5506U5MjPS09LT0hLNBCulAaT5AVK6X61URW/DIjE5OTkxMT4hMcUduUSHGes0hS8Jwt/WBRixjB+sBCpt+Pcpj6SaNWcqYMZuuJnEqLGZqIWsusdUslCdD+1X8kiIs1ql91E5Cy+cBBpNp2vOy2OIeNlqwryU5E1vHQY6MiKdfP8lRNRZMCu/DKGr754GrFnJg7FEMj2LifB5w48CYM8SbruQSGSWNpLnf38qB2xavxsKTCQqzcT25jlrpWSOWetzZZGNRMFE5C9OLt1Ir6SXTPaC83pHvskRLNI1fsdaaXU0AOtdMr5XpLIjrdm7rawbGIWl544ZFkeFUE1FeXUQMGUkZl+vYQP79bSQxF9TXX0UAqLGVH7Ru2ePntnpjkg7v7m+/uypU35A3lgMaempCQmJ8S6n02mzWCymYDAQ7BIEgW/z+XwtjYwviNHc/vMfAFZQOCCwBAAA8CoAnQEqyADOAD5tNpRGpD+iISw1STvwDYlpbuDAdGXYW5+xX+E/B79IvqhdnLddJLmGi5paMwD+h8p7UC/h/9K6qXoHfpyR4P/Uv3L6q0mh/qXmCC5XUh/6l+4p6WqP3L5qDkPaVIRPowOQa5RsItEnpv2qi+aEGdI5VaSY7+i3fjzySZVTfInmLOji/1JNDhsggr75HlBnTop05IyqW9k6rgDx4oGKuZLsiDqTspeWt1TThs95rEvc3BAQ2Cmm/WHPEgITWp1jDj8fnYpacUKlA2fv4bDkY96yZXMjIrnu/KsBeRwGc1mPgGXhZDn5J8bFFYquI/e5SRB/fGWHrUWxTd/6ZFoE99q2r5vdSogeBKsvZRRnOJo1DhTmQzfK+jKPl1XB61eCyIzI2T0HdI/htEFcLySPEI1rIA1ptHGDrClKq1Cj6yIjq1T8SCl5GneZHHtrpmpD/1L9y+qqAAD+ysAAAACruyAAa6B+sspLlClJkLWAAlhaOsmcS18eCdW/9MiovfLi9lIdZV4K9C2nq4XL6pGljxoATLaWY+Fdf+yp8QqRmQOm17DSnKGoocmxvW4jXk3K6solfHw92MfxE9PKbpV6k390KRXwxMKUkfODCBPOGu7AVxFQQDv/surrkKoki8usn4RG7CzImZDOrpVMMa1nuR8WstZYVtabVbc37OMP2Y5Z5xioxwALBSridUAAe2PyFxopohDSWVP/M2RAZ43b7JOT7vDiWAukTn7gZKAljHmig+HiisRYSOsqxzRcwtHuA0ihG2zggPceBgQoJ9OrQn4+9SynodSjUnN3S1msttzAbtHUyHt0dqPI8MmNPuuX8oNYGSrMU/jq1/tuwVAcRYjFSmiVtRyf52fqt8XWRriSR73+gAIbwbhZMdATlGZy0CGP2PPNUcp2aE5oBbmSjStpYBFxz4bcqxQSVdwMV0UOCxRcyEWqPkw7ZCJO8qXyf/uEHIyBNR1plTtcMWPXcI1Dmkhi0cBoqF2quLyff3S3y9RMN/xM9oPh7cT8+rNF9azivisDh4AIyAlaYTSsoJ6JFmrxFP//iZ//3US//7kyGHqb0JWaRZPd5LjuIc4b3Pdxeirqg3w8ux5nlN/CW5YYPR8ygYwahr/iqudOg0NhFAVNXbgNGCTQRj2YmxoT259SWlnA1dtgjuRe2cZOmxqn+mvuyGdvAd9XjPSV4VVEAnROrjCwrgbhyKFpb8s12Za8/F4cSrPOSuadvlSXDEdhrb27ok+DnCnJqOg8Kj9Gqlca2xL+KvTh1u+NuUBnWJWF2Y9f3+xrM9KPN55AGLwUs8yRaGNKw9ngyAAfv8bf7tO4JOhTqKsM4JbfTtFKmlQhMS77J/ZyxsS7I+u5WO0/gjo83E7/80LOn4Ple50oLNP3yW4yTSnlNCwg+COLMFER8MfaIeAHTLvnkH3eDLow61YfoXxUp6SIMiBAHJ75Y1CrZeW1DvEoWdfnDhpz06KBs12oE7Ob6wCwc+FXeaKHfhDxAz/7xTqCDxZf++IGd1QQAB/TN8qRAl4EZQF8tbRrVQIKm2g8cbO8potBMoXyVFfUtI4r31krwmWYxDz2AAAAAAAA",Zo={list:{type:Array,default:()=>[]},handList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},height:{type:String,default:"404px"},imageBaseUrl:{type:String,default:""},emptyText:{type:String,default:"暂无数据"},children:{type:Boolean,default:!0}},Ky=t=>(i.pushScopeId("data-v-9d063943"),t=t(),i.popScopeId(),t),Xy={class:"left-pick-list"},Jy={key:1,class:"post-view-list"},e2={class:"checkText"},t2={class:"iconBox"},n2={key:0,class:"userCount"},i2=["onClick"],o2={class:"ik-picker-single"},r2={class:"iconBox"},l2={key:0,class:"userCount"},a2={key:2,class:"empty"},s2=Ky(()=>i.createElementVNode("img",{src:Qo,alt:""},null,-1)),c2=i.defineComponent({__name:"GroupList",props:Zo,emits:["change","check","handChild"],setup(t,{emit:e}){var p,c;const n=t,o=i.computed(()=>{var _,g;return((_=n.handList)==null?void 0:_.length)===((g=n.list)==null?void 0:g.length)}),r=i.computed(()=>{var h,b,y,C;const _=(h=n.handList)==null?void 0:h.length,g=(b=n.list)==null?void 0:b.length;return n.multiple?l.value=n.handList.map(k=>k[n.fixPropOpt.id]):a.value=(C=(y=n.handList)==null?void 0:y[0])==null?void 0:C[n.fixPropOpt.id],_>0&&_<g}),l=i.ref(n.handList.map(_=>_[n.fixPropOpt.id])),a=i.ref((c=(p=n.handList)==null?void 0:p[0])==null?void 0:c[n.fixPropOpt.id]),s=e,d=_=>{const g=_?n.list.map(h=>h[n.fixPropOpt.id]):[];s("change",g,_?n.list:[])},f=_=>{s("change",_,n.list)},u=_=>{s("change",_,n.list)},m=(_,g)=>{g||s("handChild",_)};return(_,g)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(" 遍历list多选 "),i.createElementVNode("div",Xy,[_.multiple?(i.openBlock(),i.createBlock(i.unref(A.ElCheckbox),{key:0,modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=h=>o.value=h),indeterminate:r.value,onChange:d},{default:i.withCtx(()=>[i.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):i.createCommentVNode("v-if",!0),_.list&&_.list.length?(i.openBlock(),i.createElementBlock("ul",Jy,[_.multiple?(i.openBlock(),i.createBlock(i.unref(A.ElCheckboxGroup),{key:0,modelValue:l.value,"onUpdate:modelValue":g[1]||(g[1]=h=>l.value=h),onChange:f},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.list,h=>(i.openBlock(),i.createElementBlock("li",{key:h[n.fixPropOpt.id]},[i.createVNode(i.unref(A.ElCheckbox),{label:h[n.fixPropOpt.id]},{default:i.withCtx(()=>[i.createElementVNode("div",e2,[i.createElementVNode("div",t2,[i.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:h,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("p",null,[i.createElementVNode("span",null,i.toDisplayString(h[n.fixPropOpt.name]),1),h[n.fixPropOpt.type]===n.fixTypeOpt.group?(i.openBlock(),i.createElementBlock("span",n2,"("+i.toDisplayString(h.userCount)+")",1)):i.createCommentVNode("v-if",!0)])])]),_:2},1032,["label"]),h[n.fixPropOpt.type]===n.fixTypeOpt.group&&n.children?(i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(["nextLevel",{"is-disabled":l.value.find(b=>b===h[n.fixPropOpt.id])}]),onClick:b=>m(h,l.value.find(y=>y===h[n.fixPropOpt.id]))}," 下级",10,i2)):i.createCommentVNode("v-if",!0)]))),128))]),_:1},8,["modelValue"])):(i.openBlock(),i.createBlock(i.unref(A.ElRadioGroup),{key:1,isIndeterminate:r.value,modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=h=>a.value=h),onChange:u},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.list,h=>(i.openBlock(),i.createElementBlock("li",{class:"w-full",key:h[n.fixPropOpt.id]},[i.createVNode(i.unref(A.ElRadio),{label:h[n.fixPropOpt.id]},{default:i.withCtx(()=>[i.createElementVNode("div",o2,[i.createElementVNode("div",r2,[i.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:h,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("p",null,[i.createElementVNode("span",null,i.toDisplayString(h[n.fixPropOpt.name]),1),h[n.fixPropOpt.type]===n.fixTypeOpt.group?(i.openBlock(),i.createElementBlock("span",l2,"("+i.toDisplayString(h.userCount)+")",1)):i.createCommentVNode("v-if",!0)])])]),_:2},1032,["label"])]))),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(i.openBlock(),i.createElementBlock("div",a2,[s2,i.createElementVNode("div",null,i.toDisplayString(n.emptyText),1)]))])],2112))}}),Bw="",d2=K(c2,[["__scopeId","data-v-9d063943"]]),u2=t=>(i.pushScopeId("data-v-361d2758"),t=t(),i.popScopeId(),t),f2={class:"left-pick-list"},p2={key:1,class:"post-view-list"},h2={class:"iconBox"},m2={class:"ik-picker-single"},g2={class:"iconBox"},_2={key:2,class:"empty"},y2=u2(()=>i.createElementVNode("img",{src:Qo,alt:""},null,-1)),b2=i.defineComponent({__name:"PostList",props:Zo,emits:["change","check"],setup(t,{emit:e}){var m,p;const n=t,o=i.computed(()=>{var c,_;return((c=n.handList)==null?void 0:c.length)===((_=n.list)==null?void 0:_.length)}),r=i.computed(()=>{var g,h,b,y;const c=(g=n.handList)==null?void 0:g.length,_=(h=n.list)==null?void 0:h.length;return n.multiple?l.value=n.handList.map(C=>C[n.fixPropOpt.id]):a.value=(y=(b=n.handList)==null?void 0:b[0])==null?void 0:y[n.fixPropOpt.id],c>0&&c<_}),l=i.ref(n.handList.map(c=>c[n.fixPropOpt.id])),a=i.ref((p=(m=n.handList)==null?void 0:m[0])==null?void 0:p[n.fixPropOpt.id]),s=e,d=c=>{const _=c?n.list.map(g=>g[n.fixPropOpt.id]):[];s("change",_,c?n.list:[])},f=c=>{s("change",c,n.list)},u=c=>{s("change",c,n.list)};return(c,_)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(" 遍历list多选 "),i.createElementVNode("div",f2,[c.multiple?(i.openBlock(),i.createBlock(i.unref(A.ElCheckbox),{key:0,modelValue:o.value,"onUpdate:modelValue":_[0]||(_[0]=g=>o.value=g),indeterminate:r.value,onChange:d},{default:i.withCtx(()=>[i.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):i.createCommentVNode("v-if",!0),c.list&&c.list.length?(i.openBlock(),i.createElementBlock("ul",p2,[c.multiple?(i.openBlock(),i.createBlock(i.unref(A.ElCheckboxGroup),{key:0,modelValue:l.value,"onUpdate:modelValue":_[1]||(_[1]=g=>l.value=g),onChange:f},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(c.list,g=>(i.openBlock(),i.createElementBlock("li",{key:g[n.fixPropOpt.id]},[i.createVNode(i.unref(A.ElCheckbox),{label:g[n.fixPropOpt.id]},{default:i.withCtx(()=>[i.createElementVNode("div",h2,[i.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("p",null,i.toDisplayString(g[n.fixPropOpt.name]),1)]),_:2},1032,["label"])]))),128))]),_:1},8,["modelValue"])):(i.openBlock(),i.createBlock(i.unref(A.ElRadioGroup),{key:1,isIndeterminate:r.value,modelValue:a.value,"onUpdate:modelValue":_[2]||(_[2]=g=>a.value=g),onChange:u},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(c.list,g=>(i.openBlock(),i.createElementBlock("li",{class:"w-full",key:g[n.fixPropOpt.id]},[i.createVNode(i.unref(A.ElRadio),{label:g[n.fixPropOpt.id]},{default:i.withCtx(()=>[i.createElementVNode("div",m2,[i.createElementVNode("div",g2,[i.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("p",null,i.toDisplayString(g[n.fixPropOpt.name]),1)])]),_:2},1032,["label"])]))),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(i.openBlock(),i.createElementBlock("div",_2,[y2,i.createElementVNode("div",null,i.toDisplayString(n.emptyText),1)]))])],2112))}}),Ow="",E2=K(b2,[["__scopeId","data-v-361d2758"]]),w2=t=>(i.pushScopeId("data-v-24145e87"),t=t(),i.popScopeId(),t),C2={class:"left-pick-list"},k2={key:1,class:"role-view-list"},v2={class:"iconBox"},S2=["title"],A2={class:"ik-picker-single"},D2={class:"iconBox"},x2=["title"],N2={key:2,class:"empty"},T2=w2(()=>i.createElementVNode("img",{src:Qo,alt:""},null,-1)),V2=i.defineComponent({__name:"RoleList",props:Zo,emits:["change","check"],setup(t,{emit:e}){var m,p;const n=t,o=i.computed(()=>{var c,_;return((c=n.handList)==null?void 0:c.length)===((_=n.list)==null?void 0:_.length)}),r=i.computed(()=>{var g,h,b,y;const c=(g=n.handList)==null?void 0:g.length,_=(h=n.list)==null?void 0:h.length;return n.multiple?l.value=n.handList.map(C=>C[n.fixPropOpt.id]):a.value=(y=(b=n.handList)==null?void 0:b[0])==null?void 0:y[n.fixPropOpt.id],c>0&&c<_}),l=i.ref(n.handList.map(c=>c[n.fixPropOpt.id])),a=i.ref((p=(m=n.handList)==null?void 0:m[0])==null?void 0:p[n.fixPropOpt.id]),s=e,d=c=>{const _=c?n.list.map(g=>g[n.fixPropOpt.id]):[];s("change",_,c?n.list:[])},f=c=>{s("change",c,n.list)},u=c=>{s("change",c,n.list)};return(c,_)=>(i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(" 遍历list多选 "),i.createElementVNode("div",C2,[c.multiple?(i.openBlock(),i.createBlock(i.unref(A.ElCheckbox),{key:0,modelValue:o.value,"onUpdate:modelValue":_[0]||(_[0]=g=>o.value=g),indeterminate:r.value,onChange:d},{default:i.withCtx(()=>[i.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):i.createCommentVNode("v-if",!0),c.list&&c.list.length?(i.openBlock(),i.createElementBlock("ul",k2,[c.multiple?(i.openBlock(),i.createBlock(i.unref(A.ElCheckboxGroup),{key:0,modelValue:l.value,"onUpdate:modelValue":_[1]||(_[1]=g=>l.value=g),onChange:f},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(c.list,g=>(i.openBlock(),i.createElementBlock("li",{key:g[c.fixPropOpt.id]},[i.createVNode(i.unref(A.ElCheckbox),{label:g[c.fixPropOpt.id],value:g[c.fixPropOpt.id],disabled:g.disabled},{default:i.withCtx(()=>[i.createElementVNode("div",v2,[i.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("p",{title:g[c.fixPropOpt.name]},i.toDisplayString(g[c.fixPropOpt.name]),9,S2)]),_:2},1032,["label","value","disabled"])]))),128))]),_:1},8,["modelValue"])):(i.openBlock(),i.createBlock(i.unref(A.ElRadioGroup),{key:1,indeterminate:r.value,modelValue:a.value,"onUpdate:modelValue":_[2]||(_[2]=g=>a.value=g),onChange:u},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(c.list,g=>(i.openBlock(),i.createElementBlock("li",{class:"w-full",key:g[c.fixPropOpt.id]},[i.createVNode(i.unref(A.ElRadio),{label:g[c.fixPropOpt.id],value:g[c.fixPropOpt.id],disabled:g.disabled},{default:i.withCtx(()=>[i.createElementVNode("div",A2,[i.createElementVNode("div",D2,[i.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("p",{title:g[c.fixPropOpt.name]},i.toDisplayString(g[c.fixPropOpt.name]),9,x2)])]),_:2},1032,["label","value","disabled"])]))),128))]),_:1},8,["indeterminate","modelValue"]))])):(i.openBlock(),i.createElementBlock("div",N2,[T2,i.createElementVNode("div",null,i.toDisplayString(n.emptyText),1)]))])],2112))}}),Mw="",R2=K(V2,[["__scopeId","data-v-24145e87"]]);var bn=(t=>(t.group="group",t.role="role",t.post="post",t))(bn||{});const I2={children:{type:Boolean,default:!0},topLink:{type:Boolean,default:!0},modelValue:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},orgPid:{type:String,default:""},org:{type:Object,default:()=>null},immediate:{type:Boolean,default:!1},show:{type:Boolean,default:!1,required:!0},width:{type:String,default:"685px"},height:{type:String,default:"580px"},title:{type:String,default:"选择人员"},groupList:{type:Array,default:()=>[]},userList:{type:Array,default:()=>[]},roleList:{type:Array,default:()=>[]},postList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},tabs:{type:Array,validator:t=>{if(t===void 0)return!0;if(Array.isArray(t)){if(!(t!=null&&t.length))return!1}else return console.error("IkingPicker参数错误:tabs必须是Array类型"),!1;return!0},default:()=>["group","role","post"]},chooseType:{type:Array,default:()=>["dep"]},api:{type:Object,default:()=>({methods:"post",headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:"Bearer 9aa65e31e86f4232ac4e4136fb1d3413"},url:`${location.origin}${location.pathname}/serve/component/pick/mix`,param:null,paramKey:"type"})},typeOption:{type:Object,default:()=>{}},propOption:{type:Object,default:()=>null},search:{type:Boolean,default:!0},lazy:{type:Boolean,default:!0},imageBaseUrl:{type:String,default:""},placeholder:{type:String,default:"请输入"},emptyText:{type:String,default:"暂无数据"}},Qs=t=>{const e=window.location.search;return new URLSearchParams(e).get(t)},B2=t=>{const e=z.ikStore.local.getItem("x_domain");e&&(t["X-DOMAIN"]=e)},O2=t=>{var o;const e=Qs("domain");if(e){t["X-DOMAIN"]=e;const r=Qs("code");e==="APPLICATION"&&(t["X-APP"]=r)}else B2(t);const n=(o=z.ikStore.local.getItem("tenant"))==null?void 0:o.code;n&&(t["X-TENANT"]=n)},M2=(t,e)=>{const n=i.ref([]),o=async(l,a)=>{var x,w;const{url:s,methods:d,headers:f,param:u}=t.value||{},m={...u||{},parentDepartmentId:l||"",name:a||""},p={method:d,url:s,headers:{"Content-Type":"application/json;charset=UTF-8",...f},data:JSON.stringify(m)};O2(p.headers);const c=await pd(p),{success:_,data:g}=c.data;if(!_)return{groupList:[],roleList:[],postList:[],userList:[],rootOrganization:{},rootDepartment:{}};const{departments:h,roles:b,posts:y,users:C,rootOrganization:k,rootDepartment:B}=g,S=k||B;return n.value.length===0&&(n.value[0]=e.org?{...e.org,id:e.elementId,elementType:(w=(x=e.org)==null?void 0:x.elementType)==null?void 0:w.toLocaleUpperCase()}:{...S,id:S.elementId}),{groupList:z._.cloneDeep(h),roleList:z._.cloneDeep(b),postList:z._.cloneDeep(y),userList:z._.cloneDeep(C),rootOrganization:k,rootDepartment:B}};return{handData:o,handSetChild:(l,a)=>{o(l==null?void 0:l.elementId,a)},bannerList:n}},L2={shadow:"hover",class:"sel-list"},z2={key:0},P2=i.createElementVNode("div",{class:"split-div"},null,-1),F2={class:"choose-list"},$2={class:"choose-item"},H2=i.createElementVNode("div",null,"已选",-1),j2={class:"choose-box"},U2={class:"list-group-item"},W2={class:""},G2={class:"avatar_box"},q2={class:"dialog-footer"},Y2=i.defineComponent({__name:"picker",props:I2,emits:["handChild","update:show","update:modelValue","ok","search"],setup(t,{expose:e,emit:n}){i.useCssVars(T=>({"6abbdda2":Qe.value}));const o=t,r=i.ref(""),l=i.ref(""),a=i.ref([]),s=i.ref([]),d=i.ref([]),f=i.ref([]),u=i.ref(!1),m=i.computed(()=>s.value.concat(a.value));i.watch(()=>o.api,()=>{o.show&&x("")});const p=i.computed(()=>({name:"name",type:"type",id:"id",avatar:"avatar",...o.propOption})),c=i.computed(()=>({user:"USER",role:"ROLE",post:"POST",group:"DEPT",...o.typeOption})),_=i.ref([]),g=M2(i.toRef(o,"api"),o),h=g.handData,b=g.bannerList;o.immediate&&h(l.value,r.value);const y=T=>(T.forEach(M=>{var W,q;M.disabled=((q=(W=o.modelValue)==null?void 0:W.find(X=>X[p.value.id]===M[p.value.id]))==null?void 0:q.disabled)||!1}),T),C=async()=>{var T,M,W,q,X,Ze,vr,fd;u.value=!0;try{if((T=o.groupList)!=null&&T.length||(M=o.userList)!=null&&M.length||(W=o.roleList)!=null&&W.length||(q=o.postList)!=null&&q.length){a.value=(X=o.userList)==null?void 0:X.filter(Ke=>Ke[p.value.name].includes(r.value)),s.value=(Ze=o.groupList)==null?void 0:Ze.filter(Ke=>Ke[p.value.name].includes(r.value)),d.value=(vr=o.roleList)==null?void 0:vr.filter(Ke=>Ke[p.value.name].includes(r.value)),f.value=(fd=o.postList)==null?void 0:fd.filter(Ke=>Ke[p.value.name].includes(r.value)),H(),u.value=!1;return}const xe=await h(l.value,r.value);try{a.value=y((xe==null?void 0:xe.userList)||[]),s.value=y((xe==null?void 0:xe.groupList)||[]),d.value=y((xe==null?void 0:xe.roleList)||[]),f.value=y((xe==null?void 0:xe.postList)||[])}catch(Ke){u.value=!1,console.info("error: ",Ke)}H(),u.value=!1}catch{u.value=!1}},k=i.reactive({group:new Map,user:new Map,role:new Map,post:new Map,trans:[],single:""}),B=i.reactive({indeterminate:!1,checkAll:0}),S=T=>k.group.has(T)||k.user.has(T)||k.role.has(T)||k.post.has(T),x=z.ikEvent.debounce(C,300),w=i.computed(()=>{const T=Array.from(k.group.values()),M=Array.from(k.role.values()),W=Array.from(k.user.values()),q=Array.from(k.post.values());return _.value=[...M,...q,...W,...T],{list:[...M,...W,...q,...T],role:{list:M,len:M.length},user:{list:W,len:W.length},post:{list:q,len:q.length},groups:{list:T,len:T.length}}}),N=i.computed(()=>[...o.chooseType.map(W=>W.toLocaleLowerCase())]),D=i.ref([]),O=T=>{D.value=T,D.value.forEach(M=>{M.readonly=M==null?void 0:M.disabled})},V=n,L=i.ref(!1),H=(T=!1)=>{var W;const M=(W=o==null?void 0:o.userList)!=null&&W.length?z._.cloneDeep([...o==null?void 0:o.userList,...o==null?void 0:o.groupList]):[...s.value,...a.value];return!T&&O(M),M};i.watch(()=>o.show,async T=>{var M;if(L.value=T,T){l.value=((M=o.org)==null?void 0:M.elementId)||o.orgPid,!o.userList.length&&!o.groupList.length&&!o.roleList.length&&!o.postList.length?await C():(a.value=o.userList,s.value=o.groupList,d.value=o.roleList,f.value=o.postList),k.trans=[],B.checkAll=0,B.indeterminate=!1;const W=H(!0);for(const X of W)S(X[p.value.id])&&k.trans.push(X[p.value.id]);const q=W.length===k.trans.length;B.indeterminate=!!(W.length&&!q),B.checkAll=Number(W.length&&q),i.nextTick(()=>{var X;(X=o.modelValue)!=null&&X.length?o.modelValue.forEach(Ze=>{ke(Ze),o.multiple?k.trans.push(Ze[p.value.id]):k.single=Ze[p.value.id]}):G()})}else G()}),i.watchEffect(()=>{let T;T=D.value.length;const M=k.trans.length;B.indeterminate=k.trans.length?M!==T:!1,B.checkAll=+(T!==0&&M===T)});const I=T=>{if(T){if(k.single="",T[p.value.id]){const M=k.trans.findIndex(W=>W===T[p.value.id]);M!==-1&&k.trans.splice(M,1)}switch(T[p.value.type]){case c.value.user:return k.user.delete(T[p.value.id]);case c.value.role:return k.role.delete(T[p.value.id]);case c.value.post:return k.post.delete(T[p.value.id]);case c.value.group:return k.group.delete(T[p.value.id]);default:return}}},ee=T=>{I(T)},ke=T=>{if(!S(T[p.value.id])){const M={...T};switch(T[p.value.type]){case c.value.user:return k.group.set(T[p.value.id],M);case c.value.role:return k.role.set(T[p.value.id],M);case c.value.post:return k.post.set(T[p.value.id],M);case c.value.group:return k.group.set(T[p.value.id],M);default:return}}},Ot=T=>[c.value.group].includes(T[p.value.type])?T.hasOwnProperty("disabled"):!1;i.watch(()=>k.trans,T=>{if(!T.length)D.value.forEach(M=>{M.disabled=!1;try{o.multiple&&I(M)}catch{}});else{const M=D.value.filter(q=>!T.includes(q[p.value.id]));for(const q of M)q.disabled=!1,o.multiple&&I(q);const W=D.value.filter(q=>T.includes(q[p.value.id]));for(const q of W)q.disabled=Ot(q),ke(q)}},{deep:!0}),i.watch(()=>k.single,T=>{if(T){const M=D.value.find(W=>W[p.value.id]===T);M&&(k.user.clear(),k.role.clear(),k.post.clear(),k.group.clear(),k.trans=[],i.nextTick(()=>{ke(M)}))}});const Nn=T=>{l.value=T==null?void 0:T.elementId,C(),b.value.push(T)},Mt=i.computed(()=>b.value.length),ce=(T,M)=>{!M&&!o.topLink||M!==Mt.value-1&&(l.value=T==null?void 0:T.elementId,C(),b.value.splice(M+1))},R=i.computed(()=>o.chooseType.includes("role")&&o.chooseType.length===1),Y=i.computed(()=>o.chooseType.includes("post")&&o.chooseType.length===1),U=i.ref(o.tabs[0]),$=i.ref(o.tabs[0]);i.watchEffect(()=>($.value=R.value?o.tabs[1]:Y.value?o.tabs[2]:U.value,$.value));const G=()=>{k.user.clear(),k.role.clear(),k.post.clear(),k.group.clear(),k.trans=[],zt.value=[],De.value=[],U.value=o.tabs[0],$.value=o.tabs[0],r.value="",l.value=o.orgPid,b.value.splice(1,b.value.length),k.single="",_.value=[]},le=()=>{var T;V("ok",z._.cloneDeep({...w.value,sort:_.value})),V("update:modelValue",z._.cloneDeep(((T=w.value)==null?void 0:T.list)||[])),V("update:show",!1),G()},ae=()=>{V("update:show",!1),G()};e({handClear:G,handRomeve:ee,handDelete:I});const te=i.computed(()=>{const T=N.value;return!!((T.includes("post")||T.includes("role"))&&T.length>1)}),ne=i.computed(()=>[{name:"group",label:"组织架构"},{name:"role",label:"角色列表"},{name:"post",label:"岗位列表"}].filter(T=>o.tabs.includes(T.name))),Qe=i.computed(()=>`${typeof o.height=="string"?Number.parseInt(o.height):o.height}px`),Lt=()=>{o.multiple||(k.post.clear(),k.role.clear(),k.user.clear(),k.group.clear(),k.single="")},nn=i.ref([]),Tn=(T,M)=>{o.multiple||(k.single="");const W=o.multiple?T:[T];if(!W.length){k.group.clear();return}Lt(),M.forEach(q=>{W!=null&&W.includes(q[p.value.id])?ke(q):I(q)})};i.watch(()=>w.value.groups.len,T=>{nn.value=z._.cloneDeep(w.value.groups.list)});const zt=i.ref([]),ht=(T,M)=>{o.multiple||(k.single="");const W=o.multiple?T:[T];if(!W.length){k.role.clear();return}Lt(),M.forEach(q=>{W!=null&&W.includes(q[p.value.id])?ke(q):I(q)})};i.watch(()=>w.value.role.len,T=>{zt.value=z._.cloneDeep(w.value.role.list)});const De=i.ref([]),mt=(T,M)=>{o.multiple||(k.single="");const W=o.multiple?T:[T];if(!W.length){k.post.clear();return}Lt(),M.forEach(q=>{W!=null&&W.includes(q[p.value.id])?ke(q):I(q)})};return i.watch(()=>w.value.post.len,T=>{De.value=z._.cloneDeep(w.value.post.list)}),i.watch(()=>r.value,T=>{x("")}),(T,M)=>{const W=i.resolveComponent("el-tab-pane"),q=i.resolveComponent("el-tabs");return i.openBlock(),i.createBlock(i.unref(A.ElDialog),{modelValue:L.value,"onUpdate:modelValue":M[2]||(M[2]=X=>L.value=X),title:T.title,"destroy-on-close":"","close-on-click-modal":!1,"close-on-click-escape":!1,draggable:"","align-center":"",width:typeof T.width=="string"?T.width:`${T.width}%`,class:"p_p_picker-dialog","modal-class":"p_p_picker-dialog-modal-user",onClose:ae},{footer:i.withCtx(()=>[i.createElementVNode("span",q2,[i.createVNode(i.unref(A.ElButton),{onClick:i.withModifiers(ae,["stop"])},{default:i.withCtx(()=>[i.createTextVNode("取消")]),_:1}),i.createVNode(i.unref(A.ElButton),{type:"primary",onClick:i.withModifiers(le,["stop"])},{default:i.withCtx(()=>[i.createTextVNode(" 确定 ")]),_:1})])]),default:i.withCtx(()=>[i.createElementVNode("div",{class:"dep-use-picker",style:i.normalizeStyle({height:Qe.value})},[i.createElementVNode("div",L2,[i.createElementVNode("div",null,[i.createVNode(i.unref(A.ElInput),{modelValue:r.value,"onUpdate:modelValue":M[0]||(M[0]=X=>r.value=X),clearable:"",placeholder:T.placeholder,"suffix-icon":Ay},null,8,["modelValue","placeholder"]),te.value?(i.openBlock(),i.createBlock(q,{key:0,modelValue:U.value,"onUpdate:modelValue":M[1]||(M[1]=X=>U.value=X),class:"ik-picker-tab"},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(ne.value,X=>(i.openBlock(),i.createBlock(W,{label:X.label,name:X.name,key:X.label},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):i.createCommentVNode("v-if",!0)]),i.createCommentVNode(" 过滤 "),$.value===i.unref(bn).group?(i.openBlock(),i.createElementBlock("div",z2,[i.createCommentVNode(" 面包屑 全选 "),i.createVNode(i.unref(A.ElBreadcrumb),{separator:">",class:i.normalizeClass(["banner",{"top-unlink":!T.topLink}])},{default:i.withCtx(()=>[Mt.value?(i.openBlock(!0),i.createElementBlock(i.Fragment,{key:0},i.renderList(i.unref(b),(X,Ze)=>(i.openBlock(),i.createBlock(i.unref(A.ElBreadcrumbItem),{key:X[p.value.id],onClick:i.withModifiers(vr=>ce(X,Ze),["stop"])},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(X[p.value.name]),1)]),_:2},1032,["onClick"]))),128)):i.createCommentVNode("v-if",!0)]),_:1},8,["class"])])):i.createCommentVNode("v-if",!0),i.createCommentVNode(" 左侧列表 "),i.createCommentVNode(" 组织架构 "),$.value===i.unref(bn).group?i.withDirectives((i.openBlock(),i.createBlock(d2,{key:1,fixPropOpt:p.value,fixTypeOpt:c.value,list:m.value,max:T.max,multiple:T.multiple,"hand-list":nn.value,imageBaseUrl:o.imageBaseUrl,emptyText:o.emptyText,children:o.children,onHandChild:Nn,onChange:Tn},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","children"])),[[i.unref(A.vLoading),u.value]]):$.value===i.unref(bn).role?(i.openBlock(),i.createElementBlock(i.Fragment,{key:2},[i.createCommentVNode(" 角色 "),i.withDirectives(i.createVNode(R2,{fixPropOpt:p.value,fixTypeOpt:c.value,list:d.value,max:T.max,multiple:T.multiple,"hand-list":zt.value,imageBaseUrl:o.imageBaseUrl,emptyText:o.emptyText,onChange:ht},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText"]),[[i.unref(A.vLoading),u.value]])],64)):$.value===i.unref(bn).post?(i.openBlock(),i.createElementBlock(i.Fragment,{key:3},[i.createCommentVNode(" 岗位 "),i.withDirectives(i.createVNode(E2,{fixPropOpt:p.value,fixTypeOpt:c.value,list:f.value,max:T.max,multiple:T.multiple,"hand-list":De.value,imageBaseUrl:o.imageBaseUrl,emptyText:o.emptyText,onChange:mt},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText"]),[[i.unref(A.vLoading),u.value]])],64)):i.createCommentVNode("v-if",!0)]),P2,i.createCommentVNode(" 已选列表 "),i.createElementVNode("div",F2,[i.createElementVNode("div",$2,[H2,i.createVNode(i.unref(A.ElButton),{type:"primary",link:"",onClick:i.withModifiers(G,["stop"])},{default:i.withCtx(()=>[i.createTextVNode("清空")]),_:1})]),i.createElementVNode("ul",j2,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.value,X=>(i.openBlock(),i.createElementBlock("li",U2,[i.createElementVNode("div",W2,[i.createCommentVNode(" icon前缀 "),i.createElementVNode("div",G2,[i.createVNode(xt,{fixTypeOpt:c.value,fixPropOpt:p.value,element:X,imageBaseUrl:o.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),i.createElementVNode("span",null,i.toDisplayString(X[p.value.name]),1)]),i.withDirectives(i.createVNode(Vy,{class:"close",onClick:i.withModifiers(Ze=>ee(X),["stop"])},null,8,["onClick"]),[[i.vShow,!(X!=null&&X.readonly)]])]))),256))])])],4)]),_:1},8,["modelValue","title","width"])}}}),Lw="",En=oe(Y2),zw="",Q2=oe(i.defineComponent({name:"IkBtnContent",components:{MoreFilled:Rr},props:{num:{type:Number,default:3},trigger:{type:String,default:"click"},placement:{type:String,default:"bottom"}},setup(t,{slots:e,attrs:n}){const o=i.ref(null),r=i.ref(0),l=a=>a==null?void 0:a.filter(s=>typeof s.children!="string");return i.watchEffect(()=>{var a,s,d;o.value=(s=(a=e.default)==null?void 0:a.call(e))==null?void 0:s.filter(f=>typeof f.children!="string"),r.value=((d=o.value)==null?void 0:d.length)||0}),()=>{var a,s;return i.createVNode("div",{class:"flex"},[(s=l((a=e.default)==null?void 0:a.call(e)))==null?void 0:s.map((d,f)=>f+1>t.num?null:d),r.value>t.num?i.createVNode(i.resolveComponent("el-dropdown"),{trigger:t.trigger,"popper-class":"gl-btn-content"},{default:()=>i.createVNode(i.resolveComponent("el-icon"),{title:"更多",class:"ml-[12px] more-operate"},{default:()=>[i.createVNode(Rr,null,null)]}),dropdown:()=>i.createVNode(i.resolveComponent("el-dropdown-menu"),null,{default:()=>{var d,f;return[r.value>t.num?(f=l((d=e.default)==null?void 0:d.call(e)))==null?void 0:f.map((u,m)=>m<t.num?null:i.createVNode(i.resolveComponent("el-dropdown-item"),null,{default:()=>{var p,c;return[i.withDirectives(i.createVNode(i.resolveComponent("el-button"),i.mergeProps(u==null?void 0:u.props,{link:!0}),{default:()=>{var _,g;return[((_=u==null?void 0:u.props)==null?void 0:_.title)||((g=u==null?void 0:u.props)==null?void 0:g.label)]}}),[[i.resolveDirective("role"),(c=(p=u==null?void 0:u.dirs)==null?void 0:p[0])==null?void 0:c.value]])]}})):null]}})}):null])}}})),Z2=i.defineComponent({__name:"index",props:{title:{type:String,default:""},type:{type:String,default:"success"},color:{type:String,default:""},background:{type:String,default:""},effect:{type:String,default:"light"},circle:{type:Boolean,default:!1},circleW:{type:Number,default:8},circleH:{type:Number,default:8},borderWidth:{type:Number,default:1},borderType:{type:String,default:"solid"}},setup(t){const e=t,n=i.computed(()=>e.type?"":{color:e.color,backgroundColor:e.background,borderColor:e.color});return(o,r)=>{const l=i.resolveComponent("el-tag");return i.openBlock(),i.createElementBlock(i.Fragment,null,[i.createCommentVNode(' <div :style="{ border: `${borderWidth}px ${borderType} ${comColor}` }">\r\n <span :style="{ backgroundColor: comColor }"></span>\r\n <p>{{ title }}</p>\r\n </div> '),i.createVNode(l,{effect:t.effect,class:"ik-statu-tag",type:t.type,style:i.normalizeStyle(n.value)},{default:i.withCtx(()=>[t.circle?(i.openBlock(),i.createElementBlock("span",{key:0,class:"inline-block rounded-full",style:i.normalizeStyle({backgroundColor:`var(--el-color-${t.type})`,width:`${t.circleW}px`,height:`${t.circleH}px`})},null,4)):i.createCommentVNode("v-if",!0),i.createTextVNode(" "+i.toDisplayString(t.title),1)]),_:1},8,["effect","type","style"])],2112)}}}),$w="",K2=oe(K(Z2,[["__scopeId","data-v-241ac18b"]])),X2=oe(i.defineComponent({__name:"index",props:{effect:{type:String,default:"dark"},content:{type:String,default:""},placement:{type:String,default:"bottom-start"}},setup(t){const e=t,n=i.computed(()=>e.effect);return(o,r)=>{const l=i.resolveComponent("el-tooltip");return i.openBlock(),i.createBlock(l,{class:"gl-tooltip",effect:n.value,content:t.content,placement:t.placement,enterable:!1},{default:i.withCtx(()=>[i.renderSlot(o.$slots,"default")]),_:3},8,["effect","content","placement"])}}})),J2=(t=>(i.pushScopeId("data-v-eb2bacf7"),t=t(),i.popScopeId(),t))(()=>i.createElementVNode("i",{class:"ik ik-shezhi"},null,-1)),eb={class:"check-right"},tb={class:"dialog-footer"},nb=i.defineComponent({__name:"IkBtnSetting",props:i.mergeModels({list:{type:Array,default:()=>[]},tab:{type:[String,Number],default:""},type:{type:String,default:"primary"},btnType:{type:String,default:"icon"},circle:{type:Boolean,default:!0},inline:{type:Boolean,default:!1},role:{type:String,default:""},config:{type:Object,default:()=>({t:t=>t,dialog:{l:"700px",sl:"600px"},path:"user_0",user:{id:"111"}})}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:i.mergeModels(["sort"],["update:modelValue"]),setup(t,{emit:e}){const n=t,o=e,r=i.useModel(t,"modelValue"),{t:l,dialog:a,path:s,user:d}=n.config,f=i.computed(()=>`${d==null?void 0:d.id}_${s}${n.tab!==""?`_${n.tab}`:""}`),u=i.ref([]),m=i.ref([]),p=i.ref([]),c=new Map,_=i.ref(!1),g=i.computed(()=>{const x=m.value.length&&m.value.length!==n.list.length;return!x&&m.value.length&&(_.value=!0),!!x}),h=x=>{var N;const w=z._.cloneDeep(p.value);w==null||w.forEach(D=>{var O;if(!m.value.length)p.value=[];else if(!m.value.includes(D==null?void 0:D.key)){const V=(O=p.value)==null?void 0:O.findIndex(L=>L.key===D.key);V!==-1&&p.value.splice(V,1),D.show=!1,c.set(D.key,D)}}),m.value.forEach(D=>{var V;if(((V=p.value)==null?void 0:V.findIndex(L=>(L==null?void 0:L.key)===D))===-1){const L=c.get(D);L&&(L.show=!0,p.value.push(L))}}),(N=p.value)!=null&&N.length||(p.value=z._.cloneDeep(n.list)),x===!0&&(o("sort",z._.cloneDeep(p.value)),r.value=z._.cloneDeep(p.value))},b=x=>{if(x)m.value=n.list.map(w=>w.key);else{const w=n.list.find(N=>!N.key||N.label==="操作");m.value=w?[w.key]:[]}h()},y=()=>{const x=z.ikStore.local.getItem(f.value);try{const w=z._.cloneDeep(n==null?void 0:n.list);if((!x||!(x!=null&&x.length))&&z.ikStore.local.setItem(f.value,w.map(({show:N,type:D,key:O,label:V,width:L,minWidth:H,align:I})=>({show:N,key:O,type:D,label:V,width:L,minWidth:H,align:I}))),u.value=[...(w==null?void 0:w.map(N=>(c.set(N.key,N),{...N,show:N.show||!1})))||[]],x){const N=x.filter(D=>D.show).map(D=>D.key);m.value=[...N]}else{const N=u.value.filter(D=>D.show);m.value=N.map(D=>D.key)}h(!0)}catch(w){console.info("error: ",w)}};y(),i.watch(()=>n.list,()=>{y()},{deep:!0});const C=i.ref(!1),k=()=>{C.value=!0},B=x=>{p.value=x},S=()=>{C.value=!1,z.ikStore.local.setItem(f.value,p.value.map(({show:x,key:w,label:N,value:D,width:O,minWidth:V,align:L})=>({show:x,key:w,label:N,value:D,width:O,minWidth:V,align:L}))),console.log("sortList ",p),o("sort",z._.cloneDeep(p.value)),r.value=z._.cloneDeep(p.value)};return(x,w)=>{const N=i.resolveComponent("el-button"),D=i.resolveComponent("el-checkbox"),O=i.resolveComponent("el-checkbox-group"),V=i.resolveComponent("el-dialog"),L=i.resolveDirective("role");return i.openBlock(),i.createElementBlock(i.Fragment,null,[t.btnType==="button"?i.withDirectives((i.openBlock(),i.createBlock(N,i.mergeProps({key:0},x.$attrs,{circle:t.circle,type:t.type,style:{minWidth:t.circle?"40px":"",minHeight:t.circle?"40px":""},onClick:k}),i.createSlots({icon:i.withCtx(()=>[J2]),_:2},[t.circle?void 0:{name:"default",fn:i.withCtx(()=>[i.createCommentVNode(' {{ t("action.setting") }} '),i.createTextVNode(" "+i.toDisplayString(i.unref(l)("设置")),1)]),key:"0"}]),1040,["circle","type","style"])),[[L,x.$props.role]]):i.createCommentVNode("v-if",!0),t.btnType==="icon"?i.withDirectives((i.openBlock(),i.createBlock(i.unref(fe),i.mergeProps({key:1,name:"iksvg_shezhi-daohang","show-bg":"",size:"default"},x.$attrs,{onClick:k}),null,16)),[[L,x.$props.role]]):i.createCommentVNode("v-if",!0),i.createVNode(V,{modelValue:C.value,"onUpdate:modelValue":w[3]||(w[3]=H=>C.value=H),draggable:"",width:t.inline?i.unref(a).l:i.unref(a).sl,"close-on-click-modal":!1,"close-on-press-escape":!1,title:"显示字段","append-to-body":"",onOpen:y},{footer:i.withCtx(()=>[i.createElementVNode("div",tb,[i.createVNode(N,{onClick:w[2]||(w[2]=H=>C.value=!1)},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(l)("关闭"))+" ",1),i.createCommentVNode(' {{ t("action.close") }} ')]),_:1}),i.createVNode(N,{type:"primary",disabled:p.value.length<2,onClick:S},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(p.value.length<2?"至少选择一个字段":i.unref(l)("确定")),1)]),_:1},8,["disabled"])])]),default:i.withCtx(()=>[i.createElementVNode("div",{class:i.normalizeClass(["view-fields",[t.inline?null:"un-inline"]])},[i.createElementVNode("div",{style:i.normalizeStyle({flex:t.inline?2:1})},[i.createVNode(D,{modelValue:_.value,"onUpdate:modelValue":w[0]||(w[0]=H=>_.value=H),class:"single-line",indeterminate:g.value,onChange:b},{default:i.withCtx(()=>[i.createTextVNode(" 全选 ")]),_:1},8,["modelValue","indeterminate"]),i.createVNode(O,{modelValue:m.value,"onUpdate:modelValue":w[1]||(w[1]=H=>m.value=H),onChange:h},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(u.value,H=>(i.openBlock(),i.createBlock(D,{key:H.key,disabled:!H.key,label:H.key},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(H.label),1)]),_:2},1032,["disabled","label"]))),128))]),_:1},8,["modelValue"])],4),i.createElementVNode("div",eb,[i.createVNode(i.unref(Xs),{list:p.value,"item-style":{bottom:4},onChange:B},null,8,["list"])])],2)]),_:1},8,["modelValue","width"])],64)}}}),Ww="",Zs=oe(K(nb,[["__scopeId","data-v-eb2bacf7"]])),Ks={animation:200,group:"gl",disabled:!1,ghostClass:"ghost",sort:!0,delay:100,showIcon:!0,itemStyle:{radius:4,bottom:8,background:"var(--ik-sub-sidebar-menu-bg)"}},ib={list:{required:!0,type:Array,default:[]},group:{type:String,default:"draggable"},sort:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},delay:{type:Number,default:0},touchStartThreshold:{type:Number,default:0},disabled:{type:Boolean,default:!1},animation:{type:Number,default:200},handle:{type:String,default:".mover"},filter:{type:String,default:".unmover"},draggable:{type:String,default:".item"},ghostClass:{type:String,default:"ghost"},chosenClass:{type:String,default:"chosen"},dragClass:{type:String,default:"drag"},forceFallback:{type:Boolean,default:!1},fallbackClass:{type:String,default:"fallback"},fallbackOnBody:{type:Boolean,default:!1},fallbackTolerance:{type:Number,default:8},scroll:{type:Boolean,default:!0},scrollFn:{type:Function,default:()=>{}},scrollFensitivity:{type:Number,default:30},scrollSpeed:{type:Number,default:30},itemClass:{type:String,default:""},groupClass:{type:String,default:""},itemStyle:{type:Object,default:()=>({radius:{type:Number,default:30},bottom:{type:Number,default:8},background:{type:String,default:"var(--ik-sub-sidebar-menu-bg)"}})}},ob=i.defineComponent({__name:"IkDragList",props:ib,emits:["change"],setup(t,{emit:e}){const n=t,o=e,r=i.ref([]);i.watch(()=>n.list,f=>{r.value=z._.cloneDeep(f)},{immediate:!0,deep:!0});const l=i.computed(()=>({...Ks,...n,itemStyle:{...Ks.itemStyle,...n.itemStyle}})),a=i.ref(!1),s=()=>{a.value=!0},d=f=>{a.value=!1;const u=n.list[f.oldIndex];o("change",r.value,{...u,oldIndex:f.oldIndex,newIndex:f.newIndex})};return(f,u)=>{const m=i.resolveComponent("el-icon");return i.openBlock(),i.createBlock(i.unref(hd),{modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=p=>r.value=p),class:i.normalizeClass(["list-group",[l.value.groupClass]]),tag:"ul",attrs:l.value,animation:l.value.animation,group:l.value.group,disabled:l.value.disabled,"ghost-class":l.value.ghostClass,"force-fallback":l.value.ghostClass,"item-key":"order",onStart:s,onEnd:d},{item:i.withCtx(({element:p})=>[i.createVNode(i.Transition,{type:"transition",name:"flip-list"},{default:i.withCtx(()=>[f.$slots.item?i.renderSlot(f.$slots,"item",{key:0,item:p},void 0,!0):(i.openBlock(),i.createElementBlock("li",{key:1,class:i.normalizeClass(["list-group-item",[l.value.itemClass]]),style:i.normalizeStyle({borderRadius:`${l.value.itemStyle.radius}px`,marginBottom:`${l.value.itemStyle.bottom}px`,backgroundColor:`${l.value.itemStyle.background}`})},[l.value.showIcon&&!f.$slots.icon?(i.openBlock(),i.createBlock(m,{key:0},{default:i.withCtx(()=>[i.createVNode(i.unref(xd))]),_:1})):i.renderSlot(f.$slots,"icon",{key:1},void 0,!0),i.createTextVNode(" "+i.toDisplayString(p.label),1)],6))]),_:2},1024)]),_:3},8,["modelValue","class","attrs","animation","group","disabled","ghost-class","force-fallback"])}}}),qw="",Xs=oe(K(ob,[["__scopeId","data-v-3716c05e"]])),Js={id:"4383166",name:"中台-双色图标",font_family:"iconfont",css_prefix_text:"iksvg_",description:"",glyphs:[{icon_id:"39724789",name:"停用",font_class:"tingyong2",unicode:"e6d8",unicode_decimal:59096},{icon_id:"39724779",name:"编辑",font_class:"bianji1",unicode:"e6d9",unicode_decimal:59097},{icon_id:"39724780",name:"移动",font_class:"yidong",unicode:"e6da",unicode_decimal:59098},{icon_id:"39724778",name:"下载",font_class:"xiazai2",unicode:"e6db",unicode_decimal:59099},{icon_id:"39720820",name:"关闭弹窗",font_class:"guanbidanchuang",unicode:"e6cd",unicode_decimal:59085},{icon_id:"705695",name:"眼睛",font_class:"yanjing",unicode:"e62b",unicode_decimal:58923},{icon_id:"1511006",name:"星星",font_class:"xingxing",unicode:"e602",unicode_decimal:58882},{icon_id:"9591222",name:"收藏",font_class:"shoucang",unicode:"e601",unicode_decimal:58881},{icon_id:"15640548",name:"取消收藏",font_class:"quxiaoshoucang",unicode:"e621",unicode_decimal:58913},{icon_id:"35556399",name:"取消固定",font_class:"quxiaoguding",unicode:"e6f6",unicode_decimal:59126},{icon_id:"36537322",name:"固定",font_class:"guding",unicode:"e6c7",unicode_decimal:59079},{icon_id:"27732960",name:"月亮",font_class:"yueliang",unicode:"e689",unicode_decimal:59017},{icon_id:"38956241",name:"消息模板",font_class:"xiaoximoban",unicode:"e6d7",unicode_decimal:59095},{icon_id:"38953952",name:"组织管理",font_class:"zuzhiguanli",unicode:"e6d6",unicode_decimal:59094},{icon_id:"38921721",name:"流程表单",font_class:"liuchengbiaodan",unicode:"e6ce",unicode_decimal:59086},{icon_id:"38153077",name:"设备管理 2",font_class:"a-shebeiguanli2",unicode:"e750",unicode_decimal:59216},{icon_id:"38153087",name:"巡线系统",font_class:"xunxianxitong",unicode:"e751",unicode_decimal:59217},{icon_id:"38153082",name:"隐患报表",font_class:"yinhuanbaobiao",unicode:"e752",unicode_decimal:59218},{icon_id:"38153079",name:"第三方施工管理",font_class:"disanfangshigongguanli",unicode:"e753",unicode_decimal:59219},{icon_id:"38153080",name:"考勤规则",font_class:"kaoqinguize",unicode:"e754",unicode_decimal:59220},{icon_id:"38153074",name:"人员监控",font_class:"renyuanjiankong",unicode:"e755",unicode_decimal:59221},{icon_id:"38153081",name:"应急预案管理",font_class:"yingjiyuanguanli",unicode:"e756",unicode_decimal:59222},{icon_id:"38153078",name:"维护保养",font_class:"weihubaoyang",unicode:"e757",unicode_decimal:59223},{icon_id:"38153075",name:"事故管理",font_class:"shiguguanli",unicode:"e758",unicode_decimal:59224},{icon_id:"38153076",name:"审批配置、巡线计划",font_class:"xunxianjihua1",unicode:"e759",unicode_decimal:59225},{icon_id:"38153073",name:"考勤统计",font_class:"kaoqintongji",unicode:"e75a",unicode_decimal:59226},{icon_id:"38153097",name:"隐患管理",font_class:"yinhuanguanli1",unicode:"e742",unicode_decimal:59202},{icon_id:"38153096",name:"型号管理",font_class:"xinghaoguanli",unicode:"e743",unicode_decimal:59203},{icon_id:"38153095",name:"设备管理",font_class:"shebeiguanli1",unicode:"e744",unicode_decimal:59204},{icon_id:"38153092",name:"证照管理",font_class:"zhengzhaoguanli",unicode:"e745",unicode_decimal:59205},{icon_id:"38153094",name:"SCAD场站监控",font_class:"SCADchangzhanjiankong",unicode:"e746",unicode_decimal:59206},{icon_id:"38153093",name:"巡线报表",font_class:"xunxianbaobiao",unicode:"e747",unicode_decimal:59207},{icon_id:"38153085",name:"视频管理",font_class:"shipinguanli",unicode:"e748",unicode_decimal:59208},{icon_id:"38153090",name:"证件管理",font_class:"zhengjianguanli",unicode:"e749",unicode_decimal:59209},{icon_id:"38153091",name:"维护报表",font_class:"weihubaobiao",unicode:"e74a",unicode_decimal:59210},{icon_id:"38153084",name:"视频配置",font_class:"shipinpeizhi",unicode:"e74b",unicode_decimal:59211},{icon_id:"38153089",name:"推送记录、预案管理",font_class:"yuanguanli",unicode:"e74c",unicode_decimal:59212},{icon_id:"38153088",name:"视频监控",font_class:"shipinjiankong",unicode:"e74d",unicode_decimal:59213},{icon_id:"38153083",name:"GIS管网系统",font_class:"GISguanwangxitong",unicode:"e74e",unicode_decimal:59214},{icon_id:"38153086",name:"车辆轨迹",font_class:"cheliangguiji",unicode:"e74f",unicode_decimal:59215},{icon_id:"37811065",name:"停用",font_class:"tingyong1",unicode:"e776",unicode_decimal:59254},{icon_id:"37810944",name:"停用",font_class:"tingyong",unicode:"e775",unicode_decimal:59253},{icon_id:"37809704",name:"启用",font_class:"qiyong",unicode:"e772",unicode_decimal:59250},{icon_id:"37768743",name:"复制",font_class:"fuzhi",unicode:"e741",unicode_decimal:59201},{icon_id:"37648812",name:"隐藏",font_class:"yincang",unicode:"e740",unicode_decimal:59200},{icon_id:"37428721",name:"知识库",font_class:"zhishiku",unicode:"e739",unicode_decimal:59193},{icon_id:"37428720",name:"巡线计划",font_class:"xunxianjihua",unicode:"e73a",unicode_decimal:59194},{icon_id:"37428719",name:"维保管理",font_class:"weibaoguanli",unicode:"e73b",unicode_decimal:59195},{icon_id:"37428718",name:"系统管理",font_class:"xitongguanli1",unicode:"e73c",unicode_decimal:59196},{icon_id:"37428717",name:"隐患管理",font_class:"yinhuanguanli",unicode:"e73d",unicode_decimal:59197},{icon_id:"37428716",name:"设备管理",font_class:"shebeiguanli",unicode:"e73e",unicode_decimal:59198},{icon_id:"37428715",name:"考勤管理",font_class:"kaoqinguanli",unicode:"e73f",unicode_decimal:59199},{icon_id:"37033301",name:"卡片",font_class:"kapian",unicode:"e738",unicode_decimal:59192},{icon_id:"37033317",name:"功能设计",font_class:"gongnengsheji",unicode:"e72c",unicode_decimal:59180},{icon_id:"37033319",name:"用户管理",font_class:"yonghuguanli",unicode:"e72d",unicode_decimal:59181},{icon_id:"37033316",name:"审批列表",font_class:"shenpiliebiao",unicode:"e72e",unicode_decimal:59182},{icon_id:"37033311",name:"菜单管理",font_class:"caidanguanli",unicode:"e72f",unicode_decimal:59183},{icon_id:"37033313",name:"参数管理",font_class:"canshuguanli",unicode:"e730",unicode_decimal:59184},{icon_id:"37033314",name:"日志管理",font_class:"rizhiguanli",unicode:"e731",unicode_decimal:59185},{icon_id:"37033315",name:"数据源管理",font_class:"shujuyuanguanli",unicode:"e732",unicode_decimal:59186},{icon_id:"37033310",name:"审批中心",font_class:"shenpizhongxin",unicode:"e733",unicode_decimal:59187},{icon_id:"37033312",name:"角色管理",font_class:"jiaoseguanli",unicode:"e734",unicode_decimal:59188},{icon_id:"37033304",name:"二维码",font_class:"erweima",unicode:"e735",unicode_decimal:59189},{icon_id:"37033303",name:"地址",font_class:"dizhi",unicode:"e736",unicode_decimal:59190},{icon_id:"37033302",name:"GIS",font_class:"GIS",unicode:"e737",unicode_decimal:59191},{icon_id:"37033323",name:"开发工具",font_class:"kaifagongju",unicode:"e6aa",unicode_decimal:59050},{icon_id:"37033324",name:"字典管理",font_class:"zidianguanli",unicode:"e6ae",unicode_decimal:59054},{icon_id:"37033325",name:"租户管理",font_class:"zuhuguanli",unicode:"e6bc",unicode_decimal:59068},{icon_id:"37033322",name:"岗位管理",font_class:"gangweiguanli",unicode:"e728",unicode_decimal:59176},{icon_id:"37033321",name:"系统管理",font_class:"xitongguanli",unicode:"e729",unicode_decimal:59177},{icon_id:"37033320",name:"部门管理",font_class:"bumenguanli",unicode:"e72a",unicode_decimal:59178},{icon_id:"37033318",name:"设置",font_class:"shenpipeizhi",unicode:"e72b",unicode_decimal:59179},{icon_id:"37012624",name:"通用2",font_class:"tongyong2",unicode:"e723",unicode_decimal:59171},{icon_id:"37012622",name:"通用1",font_class:"tongyong1",unicode:"e724",unicode_decimal:59172},{icon_id:"37012623",name:"通用3",font_class:"tongyong3",unicode:"e725",unicode_decimal:59173},{icon_id:"37012621",name:"通用5",font_class:"tongyong5",unicode:"e726",unicode_decimal:59174},{icon_id:"37012620",name:"通用4",font_class:"tongyong4",unicode:"e727",unicode_decimal:59175},{icon_id:"1268",name:"减",font_class:"jian",unicode:"e600",unicode_decimal:58880},{icon_id:"36715193",name:"减-copy",font_class:"jian-copy",unicode:"e722",unicode_decimal:59170},{icon_id:"36651388",name:"评论",font_class:"pinglun",unicode:"e717",unicode_decimal:59159},{icon_id:"36651387",name:"拒绝",font_class:"jujue",unicode:"e718",unicode_decimal:59160},{icon_id:"36651383",name:"同意",font_class:"tongyi",unicode:"e719",unicode_decimal:59161},{icon_id:"36651384",name:"发起",font_class:"faqi",unicode:"e71a",unicode_decimal:59162},{icon_id:"36651382",name:"退回",font_class:"tuihui",unicode:"e71b",unicode_decimal:59163},{icon_id:"36651385",name:"加签",font_class:"jiaqian",unicode:"e71c",unicode_decimal:59164},{icon_id:"36651386",name:"转交",font_class:"zhuanjiao",unicode:"e71d",unicode_decimal:59165},{icon_id:"36651381",name:"等待",font_class:"dengdai",unicode:"e71e",unicode_decimal:59166},{icon_id:"36649809",name:"中英文-导航",font_class:"zhongyingwen-daohang",unicode:"e6d5",unicode_decimal:59093},{icon_id:"36649527",name:"全屏-导航",font_class:"quanping-daohang",unicode:"e6d0",unicode_decimal:59088},{icon_id:"36649526",name:"消息-导航",font_class:"xiaoxi-daohang",unicode:"e6d1",unicode_decimal:59089},{icon_id:"36649523",name:"搜索-导航",font_class:"sousuo-daohang",unicode:"e6d2",unicode_decimal:59090},{icon_id:"36649524",name:"刷新-导航",font_class:"shuaxin-daohang",unicode:"e6d3",unicode_decimal:59091},{icon_id:"36649525",name:"切换-导航",font_class:"qiehuan-daohang",unicode:"e6d4",unicode_decimal:59092},{icon_id:"36649529",name:"太阳-导航",font_class:"taiyang-daohang",unicode:"e679",unicode_decimal:59001},{icon_id:"36649528",name:"设置-导航",font_class:"shezhi-daohang",unicode:"e6cf",unicode_decimal:59087},{icon_id:"36058666",name:"更多",font_class:"gengduo1",unicode:"e6be",unicode_decimal:59070},{icon_id:"36058667",name:"上移",font_class:"shangyi",unicode:"e6bf",unicode_decimal:59071},{icon_id:"36058668",name:"关闭备份",font_class:"guanbibeifen",unicode:"e6c0",unicode_decimal:59072},{icon_id:"36058669",name:"下移",font_class:"xiayi",unicode:"e6c1",unicode_decimal:59073},{icon_id:"36058670",name:"右移",font_class:"youyi",unicode:"e6c2",unicode_decimal:59074},{icon_id:"36058671",name:"展开",font_class:"zhankai",unicode:"e6c3",unicode_decimal:59075},{icon_id:"36058672",name:"返回",font_class:"fanhui",unicode:"e6c4",unicode_decimal:59076},{icon_id:"36058673",name:"关闭",font_class:"guanbi",unicode:"e6c5",unicode_decimal:59077},{icon_id:"36058674",name:"左移",font_class:"zuoyi",unicode:"e6c6",unicode_decimal:59078},{icon_id:"36058676",name:"菜单展开",font_class:"caidanzhankai",unicode:"e6c8",unicode_decimal:59080},{icon_id:"36058677",name:"刷新",font_class:"shuaxin2",unicode:"e6c9",unicode_decimal:59081},{icon_id:"36058678",name:"菜单收起",font_class:"caidanshouqi",unicode:"e6ca",unicode_decimal:59082},{icon_id:"36058679",name:"重置",font_class:"zhongzhi1",unicode:"e6cb",unicode_decimal:59083},{icon_id:"36058680",name:"行高设置",font_class:"hanggaoshezhi",unicode:"e6cc",unicode_decimal:59084},{icon_id:"36058554",name:"电脑",font_class:"diannao",unicode:"e6b6",unicode_decimal:59062},{icon_id:"36058392",name:"时间",font_class:"shijian",unicode:"e6a8",unicode_decimal:59048},{icon_id:"36058393",name:"日历",font_class:"rili1",unicode:"e6a9",unicode_decimal:59049},{icon_id:"36058395",name:"解锁",font_class:"jiesuo",unicode:"e6ab",unicode_decimal:59051},{icon_id:"36058396",name:"全屏",font_class:"quanping",unicode:"e6ac",unicode_decimal:59052},{icon_id:"36058397",name:"汽车",font_class:"qiche",unicode:"e6ad",unicode_decimal:59053},{icon_id:"36058399",name:"列表",font_class:"liebiao",unicode:"e6af",unicode_decimal:59055},{icon_id:"36058400",name:"播放",font_class:"bofang",unicode:"e6b0",unicode_decimal:59056},{icon_id:"36058401",name:"暂停",font_class:"zanting",unicode:"e6b1",unicode_decimal:59057},{icon_id:"36058402",name:"返回顶部",font_class:"fanhuidingbu",unicode:"e6b2",unicode_decimal:59058},{icon_id:"36058403",name:"锁屏",font_class:"suoping",unicode:"e6b3",unicode_decimal:59059},{icon_id:"36058404",name:"归档",font_class:"guidang",unicode:"e6b4",unicode_decimal:59060},{icon_id:"36058405",name:"飞机",font_class:"feiji",unicode:"e6b5",unicode_decimal:59061},{icon_id:"36058407",name:"足迹",font_class:"zuji",unicode:"e6b7",unicode_decimal:59063},{icon_id:"36058408",name:"退出全屏",font_class:"tuichuquanping",unicode:"e6b8",unicode_decimal:59064},{icon_id:"36058409",name:"审核",font_class:"shenhe",unicode:"e6b9",unicode_decimal:59065},{icon_id:"36058410",name:"电话",font_class:"dianhua",unicode:"e6ba",unicode_decimal:59066},{icon_id:"36058411",name:"个人消息、信息",font_class:"xinxi1",unicode:"e6bb",unicode_decimal:59067},{icon_id:"36058413",name:"手机",font_class:"shouji",unicode:"e6bd",unicode_decimal:59069},{icon_id:"36058296",name:"登出",font_class:"dengchu1",unicode:"e6a7",unicode_decimal:59047},{icon_id:"36057796",name:"消息通知",font_class:"xiaoxitongzhi",unicode:"e68f",unicode_decimal:59023},{icon_id:"36057797",name:"详情",font_class:"xiangqing",unicode:"e690",unicode_decimal:59024},{icon_id:"36057798",name:"用户",font_class:"yonghu1",unicode:"e691",unicode_decimal:59025},{icon_id:"36057799",name:"表单",font_class:"biaodan",unicode:"e692",unicode_decimal:59026},{icon_id:"36057800",name:"主页",font_class:"zhuye",unicode:"e693",unicode_decimal:59027},{icon_id:"36057801",name:"成功",font_class:"chenggong",unicode:"e694",unicode_decimal:59028},{icon_id:"36057802",name:"登录",font_class:"denglu",unicode:"e695",unicode_decimal:59029},{icon_id:"36057803",name:"仪表盘",font_class:"yibiaopan",unicode:"e696",unicode_decimal:59030},{icon_id:"36057804",name:"校验码",font_class:"xiaoyanma",unicode:"e697",unicode_decimal:59031},{icon_id:"36057805",name:"文本",font_class:"wenben",unicode:"e698",unicode_decimal:59032},{icon_id:"36057806",name:"警告",font_class:"jinggao",unicode:"e699",unicode_decimal:59033},{icon_id:"36057807",name:"未知文件",font_class:"weizhiwenjian",unicode:"e69a",unicode_decimal:59034},{icon_id:"36057808",name:"登出",font_class:"dengchu",unicode:"e69b",unicode_decimal:59035},{icon_id:"36057809",name:"excel",font_class:"excel",unicode:"e69c",unicode_decimal:59036},{icon_id:"36057810",name:"图片",font_class:"tupian",unicode:"e69d",unicode_decimal:59037},{icon_id:"36057811",name:"失败",font_class:"shibai",unicode:"e69e",unicode_decimal:59038},{icon_id:"36057812",name:"ppt",font_class:"ppt",unicode:"e69f",unicode_decimal:59039},{icon_id:"36057813",name:"音乐",font_class:"yinle",unicode:"e6a0",unicode_decimal:59040},{icon_id:"36057814",name:"压缩包",font_class:"yasuobao",unicode:"e6a1",unicode_decimal:59041},{icon_id:"36057815",name:"word",font_class:"word",unicode:"e6a2",unicode_decimal:59042},{icon_id:"36057816",name:"mov",font_class:"mov",unicode:"e6a3",unicode_decimal:59043},{icon_id:"36057817",name:"zip",font_class:"zip",unicode:"e6a4",unicode_decimal:59044},{icon_id:"36057818",name:"密码",font_class:"mima",unicode:"e6a5",unicode_decimal:59045},{icon_id:"36057819",name:"pdf",font_class:"pdf",unicode:"e6a6",unicode_decimal:59046},{icon_id:"36057137",name:"点赞",font_class:"dianzan",unicode:"e674",unicode_decimal:58996},{icon_id:"36057139",name:"文件夹",font_class:"wenjianjia",unicode:"e67a",unicode_decimal:59002},{icon_id:"36057140",name:"删除",font_class:"shanchu1",unicode:"e67b",unicode_decimal:59003},{icon_id:"36057141",name:"分享",font_class:"fenxiang",unicode:"e67c",unicode_decimal:59004},{icon_id:"36057143",name:"下载",font_class:"xiazai1",unicode:"e67e",unicode_decimal:59006},{icon_id:"36057145",name:"查询",font_class:"chaxun",unicode:"e680",unicode_decimal:59008},{icon_id:"36057146",name:"上传",font_class:"shangchuan",unicode:"e681",unicode_decimal:59009},{icon_id:"36057147",name:"关注",font_class:"guanzhu",unicode:"e682",unicode_decimal:59010},{icon_id:"36057148",name:"功能导航",font_class:"gongnengdaohang",unicode:"e683",unicode_decimal:59011},{icon_id:"36057150",name:"提示说明",font_class:"tishishuoming",unicode:"e685",unicode_decimal:59013},{icon_id:"36057151",name:"统计分析",font_class:"tongjifenxi",unicode:"e686",unicode_decimal:59014},{icon_id:"36057152",name:"导出",font_class:"daochu",unicode:"e687",unicode_decimal:59015},{icon_id:"36057153",name:"预览",font_class:"yulan",unicode:"e688",unicode_decimal:59016},{icon_id:"36057155",name:"导入",font_class:"daoru",unicode:"e68a",unicode_decimal:59018},{icon_id:"36057156",name:"修改",font_class:"xiugai",unicode:"e68b",unicode_decimal:59019},{icon_id:"36057157",name:"显示字段",font_class:"xianshiziduan",unicode:"e68c",unicode_decimal:59020},{icon_id:"36057158",name:"帮助",font_class:"bangzhu",unicode:"e68d",unicode_decimal:59021},{icon_id:"36057159",name:"筛选",font_class:"shaixuan1",unicode:"e68e",unicode_decimal:59022},{icon_id:"35654050",name:"日历",font_class:"rili",unicode:"e672",unicode_decimal:58994},{icon_id:"35653603",name:"更多",font_class:"gengduo",unicode:"e673",unicode_decimal:58995},{icon_id:"35653605",name:"信息提示",font_class:"xinxitishi",unicode:"e675",unicode_decimal:58997},{icon_id:"35653606",name:"删除",font_class:"shanchu",unicode:"e676",unicode_decimal:58998},{icon_id:"35653607",name:"刷新",font_class:"shuaxin1",unicode:"e677",unicode_decimal:58999},{icon_id:"35653608",name:"编辑",font_class:"bianji",unicode:"e678",unicode_decimal:59e3},{icon_id:"35653535",name:"筛选",font_class:"shaixuan",unicode:"e66a",unicode_decimal:58986},{icon_id:"35653536",name:"搜索",font_class:"sousuo1",unicode:"e66b",unicode_decimal:58987},{icon_id:"35653537",name:"重置",font_class:"zhongzhi",unicode:"e66c",unicode_decimal:58988},{icon_id:"35653538",name:"收起",font_class:"shouqi1",unicode:"e66d",unicode_decimal:58989},{icon_id:"35653539",name:"新增",font_class:"xinzeng",unicode:"e66e",unicode_decimal:58990},{icon_id:"35653540",name:"行高",font_class:"hanggao",unicode:"e66f",unicode_decimal:58991},{icon_id:"35653541",name:"设置",font_class:"shezhi1",unicode:"e670",unicode_decimal:58992},{icon_id:"35653542",name:"刷新",font_class:"shuaxin",unicode:"e671",unicode_decimal:58993},{icon_id:"35649462",name:"下载",font_class:"xiazai",unicode:"e669",unicode_decimal:58985},{icon_id:"35649230",name:"动态设置",font_class:"dongtaishezhi",unicode:"e65a",unicode_decimal:58970},{icon_id:"35649231",name:"收起",font_class:"shouqi",unicode:"e65b",unicode_decimal:58971},{icon_id:"35649233",name:"排序",font_class:"paixu",unicode:"e65d",unicode_decimal:58973},{icon_id:"35649235",name:"消息模板、信息",font_class:"xinxi",unicode:"e65f",unicode_decimal:58975},{icon_id:"35649236",name:"用户",font_class:"yonghu",unicode:"e660",unicode_decimal:58976},{icon_id:"35649237",name:"白天",font_class:"baitian",unicode:"e661",unicode_decimal:58977},{icon_id:"35649238",name:"数据",font_class:"shuju",unicode:"e662",unicode_decimal:58978},{icon_id:"35649241",name:"关闭-页面标签",font_class:"guanbi-yemianbiaoqian",unicode:"e665",unicode_decimal:58981},{icon_id:"35649242",name:"资源列表",font_class:"ziyuanliebiao",unicode:"e666",unicode_decimal:58982},{icon_id:"35649243",name:"设置",font_class:"shezhi",unicode:"e667",unicode_decimal:58983},{icon_id:"35649244",name:"展开-导航",font_class:"zhankai-daohang",unicode:"e668",unicode_decimal:58984}]},ec={id:"4383216",name:"中台-单色图标",font_family:"iconfont",css_prefix_text:"iksig_",description:"",glyphs:[{icon_id:"39081266",name:"对勾",font_class:"duigou",unicode:"e6ae",unicode_decimal:59054},{icon_id:"39017971",name:"分页更多",font_class:"diandian",unicode:"e78f",unicode_decimal:59279},{icon_id:"38921765",name:"更多",font_class:"gengduo",unicode:"e6aa",unicode_decimal:59050},{icon_id:"38825218",name:"向左",font_class:"a-shouqibeifen2",unicode:"e6a8",unicode_decimal:59048},{icon_id:"38824809",name:"向右、更多",font_class:"a-shouqibeifen3",unicode:"e6a7",unicode_decimal:59047},{icon_id:"38761726",name:"分栏",font_class:"fenlan",unicode:"e6a6",unicode_decimal:59046},{icon_id:"38757737",name:"时间范围",font_class:"shijianfanwei1",unicode:"e6a5",unicode_decimal:59045},{icon_id:"38660326",name:"大纲",font_class:"dagang",unicode:"e789",unicode_decimal:59273},{icon_id:"38660327",name:"物料",font_class:"wuliao",unicode:"e78a",unicode_decimal:59274},{icon_id:"38660325",name:"数据源",font_class:"shujuyuan",unicode:"e78b",unicode_decimal:59275},{icon_id:"38660101",name:"电脑",font_class:"diannao1",unicode:"e784",unicode_decimal:59268},{icon_id:"38660097",name:"手机",font_class:"shouji1",unicode:"e785",unicode_decimal:59269},{icon_id:"38660099",name:"右侧面板向左关闭",font_class:"youcemianbanxiangzuoguanbi",unicode:"e786",unicode_decimal:59270},{icon_id:"38660100",name:"帮助",font_class:"bangzhu1",unicode:"e787",unicode_decimal:59271},{icon_id:"38660098",name:"左侧面板向左关闭",font_class:"zuocemianbanxiangzuoguanbi",unicode:"e788",unicode_decimal:59272},{icon_id:"38659549",name:"级联选项",font_class:"jilianxuanxiang",unicode:"e77a",unicode_decimal:59258},{icon_id:"38659548",name:"计数器",font_class:"jishuqi",unicode:"e77b",unicode_decimal:59259},{icon_id:"38659545",name:"单行文本",font_class:"danhangwenben1",unicode:"e77c",unicode_decimal:59260},{icon_id:"38659542",name:"下拉",font_class:"xiala1",unicode:"e77d",unicode_decimal:59261},{icon_id:"38659547",name:"日期范围",font_class:"shijianfanwei",unicode:"e77e",unicode_decimal:59262},{icon_id:"38659546",name:"单选",font_class:"danxuan1",unicode:"e77f",unicode_decimal:59263},{icon_id:"38659540",name:"多行文本",font_class:"duohangwenben1",unicode:"e780",unicode_decimal:59264},{icon_id:"38659543",name:"时间",font_class:"shijian2",unicode:"e781",unicode_decimal:59265},{icon_id:"38659544",name:"开关",font_class:"kaiguan1",unicode:"e782",unicode_decimal:59266},{icon_id:"38659541",name:"多选",font_class:"duoxuan1",unicode:"e783",unicode_decimal:59267},{icon_id:"38659943",name:"HTML",font_class:"HTML",unicode:"e76c",unicode_decimal:59244},{icon_id:"38659942",name:"按钮",font_class:"anniu",unicode:"e76d",unicode_decimal:59245},{icon_id:"38659941",name:"滑块",font_class:"huakuai1",unicode:"e76e",unicode_decimal:59246},{icon_id:"38659937",name:"树形选择",font_class:"shuxingxuanze",unicode:"e76f",unicode_decimal:59247},{icon_id:"38659939",name:"颜色选择器",font_class:"yansexuanzeqi",unicode:"e770",unicode_decimal:59248},{icon_id:"38659940",name:"分隔线",font_class:"fengexian",unicode:"e771",unicode_decimal:59249},{icon_id:"38659938",name:"文件上传",font_class:"wenjianshangchuan",unicode:"e777",unicode_decimal:59255},{icon_id:"38659936",name:"评分",font_class:"pingfen1",unicode:"e778",unicode_decimal:59256},{icon_id:"38659935",name:"图片",font_class:"tupian2",unicode:"e779",unicode_decimal:59257},{icon_id:"38660004",name:"查询表格页",font_class:"chaxunbiaogeye",unicode:"e769",unicode_decimal:59241},{icon_id:"38660003",name:"富文本",font_class:"fuwenben",unicode:"e76a",unicode_decimal:59242},{icon_id:"38659989",name:"静态文字",font_class:"jingtaiwenzi",unicode:"e76b",unicode_decimal:59243},{icon_id:"38660011",name:"审批对话框",font_class:"shenpiduihuakuang",unicode:"e762",unicode_decimal:59234},{icon_id:"38660010",name:"人员",font_class:"renyuan",unicode:"e763",unicode_decimal:59235},{icon_id:"38660009",name:"单位",font_class:"danwei",unicode:"e764",unicode_decimal:59236},{icon_id:"38660008",name:"详情页",font_class:"xiangqingye",unicode:"e765",unicode_decimal:59237},{icon_id:"38660006",name:"职务",font_class:"zhiwu",unicode:"e766",unicode_decimal:59238},{icon_id:"38660007",name:"组织",font_class:"zuzhi",unicode:"e767",unicode_decimal:59239},{icon_id:"38660005",name:"角色",font_class:"jiaose",unicode:"e768",unicode_decimal:59240},{icon_id:"38659449",name:"数据表格",font_class:"shujubiaoge",unicode:"e75c",unicode_decimal:59228},{icon_id:"38659453",name:"弹出窗口",font_class:"danchuchuangkou",unicode:"e75d",unicode_decimal:59229},{icon_id:"38659454",name:"侧滑抽屉",font_class:"cehuachouti",unicode:"e75e",unicode_decimal:59230},{icon_id:"38659452",name:"栅格",font_class:"zhage",unicode:"e75f",unicode_decimal:59231},{icon_id:"38659451",name:"卡片",font_class:"kapian1",unicode:"e760",unicode_decimal:59232},{icon_id:"38659450",name:"表单",font_class:"biaodan1",unicode:"e761",unicode_decimal:59233},{icon_id:"38659455",name:"单行子表单",font_class:"danhangzibiaodan",unicode:"e75b",unicode_decimal:59227},{icon_id:"35104115",name:"箭头下",font_class:"jiantouxia",unicode:"e607",unicode_decimal:58887},{icon_id:"35104157",name:"箭头上",font_class:"jiantoushang",unicode:"e608",unicode_decimal:58888},{icon_id:"35104165",name:"缩小",font_class:"suoxiao",unicode:"e60a",unicode_decimal:58890},{icon_id:"36714058",name:"箭头下-copy",font_class:"jiantouyou-copy",unicode:"e720",unicode_decimal:59168},{icon_id:"36714060",name:"箭头上-copy",font_class:"jiantouzuo-copy",unicode:"e721",unicode_decimal:59169},{icon_id:"36651222",name:"售后工单",font_class:"shouhougongdan",unicode:"e705",unicode_decimal:59141},{icon_id:"36651223",name:"离职交接",font_class:"lizhijiaojie",unicode:"e706",unicode_decimal:59142},{icon_id:"36651206",name:"活动经费",font_class:"huodongjingfei",unicode:"e707",unicode_decimal:59143},{icon_id:"36651220",name:"绩效自评备份",font_class:"jixiaozipingbeifen",unicode:"e708",unicode_decimal:59144},{icon_id:"36651221",name:"请假",font_class:"qingjia",unicode:"e709",unicode_decimal:59145},{icon_id:"36651208",name:"抄送人",font_class:"chaosongren",unicode:"e70a",unicode_decimal:59146},{icon_id:"36651216",name:"设备巡查",font_class:"shebeixuncha",unicode:"e70b",unicode_decimal:59147},{icon_id:"36651219",name:"付款",font_class:"fukuan",unicode:"e70c",unicode_decimal:59148},{icon_id:"36651204",name:"工作流测试",font_class:"gongzuoliuceshi",unicode:"e70d",unicode_decimal:59149},{icon_id:"36651217",name:"离职",font_class:"lizhi",unicode:"e70e",unicode_decimal:59150},{icon_id:"36651214",name:"采购",font_class:"caigou",unicode:"e70f",unicode_decimal:59151},{icon_id:"36651203",name:"报销",font_class:"baoxiao",unicode:"e710",unicode_decimal:59152},{icon_id:"36651215",name:"加班",font_class:"jiaban",unicode:"e711",unicode_decimal:59153},{icon_id:"36651210",name:"会议室预定",font_class:"huiyishiyuding",unicode:"e712",unicode_decimal:59154},{icon_id:"36651213",name:"库存盘点",font_class:"kucunpandian",unicode:"e713",unicode_decimal:59155},{icon_id:"36651205",name:"出差",font_class:"chucha",unicode:"e714",unicode_decimal:59156},{icon_id:"36651209",name:"合同审批",font_class:"hetongshenpi",unicode:"e715",unicode_decimal:59157},{icon_id:"36651207",name:"调岗",font_class:"tiaogang",unicode:"e716",unicode_decimal:59158},{icon_id:"36651235",name:"转正",font_class:"zhuanzheng",unicode:"e6f5",unicode_decimal:59125},{icon_id:"36651234",name:"物品领用",font_class:"wupinlingyong",unicode:"e6f6",unicode_decimal:59126},{icon_id:"36651202",name:"补卡",font_class:"buka",unicode:"e6f7",unicode_decimal:59127},{icon_id:"36651233",name:"办理/立项申请",font_class:"lixiangshenqing",unicode:"e6f8",unicode_decimal:59128},{icon_id:"36651231",name:"外出",font_class:"waichu",unicode:"e6f9",unicode_decimal:59129},{icon_id:"36651218",name:"公文流转",font_class:"gongwenliuzhuan",unicode:"e6fa",unicode_decimal:59130},{icon_id:"36651227",name:"发起人/入职",font_class:"ruzhi",unicode:"e6fb",unicode_decimal:59131},{icon_id:"36651232",name:"用车",font_class:"yongche",unicode:"e6fc",unicode_decimal:59132},{icon_id:"36651229",name:"设备维修",font_class:"shebeiweixiu",unicode:"e6fd",unicode_decimal:59133},{icon_id:"36651230",name:"审批",font_class:"shenpi",unicode:"e6fe",unicode_decimal:59134},{icon_id:"36651224",name:"条件分支",font_class:"tiaojianfenzhi",unicode:"e6ff",unicode_decimal:59135},{icon_id:"36651228",name:"绩效自评",font_class:"jixiaoziping",unicode:"e700",unicode_decimal:59136},{icon_id:"36651226",name:"招聘要求",font_class:"zhaopinyaoqiu",unicode:"e701",unicode_decimal:59137},{icon_id:"36651225",name:"用章",font_class:"yongzhang",unicode:"e702",unicode_decimal:59138},{icon_id:"36651212",name:"换班",font_class:"huanban",unicode:"e703",unicode_decimal:59139},{icon_id:"36651211",name:"费用申请",font_class:"feiyongshenqing",unicode:"e704",unicode_decimal:59140},{icon_id:"36650753",name:"开关",font_class:"kaiguan",unicode:"e6f0",unicode_decimal:59120},{icon_id:"36650761",name:"说明",font_class:"shuoming",unicode:"e6f1",unicode_decimal:59121},{icon_id:"36650757",name:"滑块",font_class:"huakuai",unicode:"e6f2",unicode_decimal:59122},{icon_id:"36650755",name:"收款账号",font_class:"shoukuanzhanghao",unicode:"e6f3",unicode_decimal:59123},{icon_id:"36650754",name:"金额",font_class:"jine",unicode:"e6f4",unicode_decimal:59124},{icon_id:"36650775",name:"评分",font_class:"pingfen",unicode:"e6e2",unicode_decimal:59106},{icon_id:"36650773",name:"日期",font_class:"shijian1",unicode:"e6e3",unicode_decimal:59107},{icon_id:"36650764",name:"省市区",font_class:"shengshiqu",unicode:"e6e4",unicode_decimal:59108},{icon_id:"36650769",name:"位置",font_class:"weizhi",unicode:"e6e5",unicode_decimal:59109},{icon_id:"36650768",name:"电话",font_class:"dianhua1",unicode:"e6e6",unicode_decimal:59110},{icon_id:"36650758",name:"单选",font_class:"danxuan",unicode:"e6e7",unicode_decimal:59111},{icon_id:"36650766",name:"多行文本",font_class:"duohangwenben",unicode:"e6e8",unicode_decimal:59112},{icon_id:"36650767",name:"邮箱",font_class:"youxiang",unicode:"e6e9",unicode_decimal:59113},{icon_id:"36650763",name:"附件",font_class:"fujian",unicode:"e6ea",unicode_decimal:59114},{icon_id:"36650765",name:"手写签名",font_class:"shouxieqianming",unicode:"e6eb",unicode_decimal:59115},{icon_id:"36650760",name:"多选",font_class:"duoxuan",unicode:"e6ec",unicode_decimal:59116},{icon_id:"36650762",name:"计算公式",font_class:"jisuangongshi",unicode:"e6ef",unicode_decimal:59119},{icon_id:"36650771",name:"明细",font_class:"mingxi",unicode:"e6e0",unicode_decimal:59104},{icon_id:"36650770",name:"单行文本",font_class:"danhangwenben",unicode:"e6e1",unicode_decimal:59105},{icon_id:"36650781",name:"联系人",font_class:"lianxiren",unicode:"e6d6",unicode_decimal:59094},{icon_id:"36650772",name:"部门",font_class:"bumen",unicode:"e6d7",unicode_decimal:59095},{icon_id:"36650783",name:"图片",font_class:"tupian1",unicode:"e6d8",unicode_decimal:59096},{icon_id:"36650782",name:"下拉",font_class:"xiala",unicode:"e6d9",unicode_decimal:59097},{icon_id:"36650780",name:"关联",font_class:"guanlian",unicode:"e6da",unicode_decimal:59098},{icon_id:"36650778",name:"分类",font_class:"fenlei",unicode:"e6dc",unicode_decimal:59100},{icon_id:"36650774",name:"身份证",font_class:"shenfenzheng",unicode:"e6dd",unicode_decimal:59101},{icon_id:"36650777",name:"颜色",font_class:"yanse",unicode:"e6de",unicode_decimal:59102},{icon_id:"36650776",name:"数字",font_class:"shuzi",unicode:"e6df",unicode_decimal:59103},{icon_id:"36649735",name:"固定",font_class:"guding",unicode:"e6ce",unicode_decimal:59086},{icon_id:"36649523",name:"搜索-导航",font_class:"sousuo-daohang",unicode:"e6d2",unicode_decimal:59090},{icon_id:"36058668",name:"关闭备份",font_class:"guanbibeifen",unicode:"e6c0",unicode_decimal:59072},{icon_id:"36058671",name:"展开",font_class:"zhankai",unicode:"e6c3",unicode_decimal:59075},{icon_id:"36058675",name:"收起",font_class:"shouqi2",unicode:"e6c7",unicode_decimal:59079},{icon_id:"36057144",name:"收藏",font_class:"shoucang",unicode:"e67f",unicode_decimal:59007},{icon_id:"35649231",name:"收起",font_class:"shouqi",unicode:"e65b",unicode_decimal:58971},{icon_id:"35649233",name:"排序",font_class:"paixu",unicode:"e65d",unicode_decimal:58973},{icon_id:"35649234",name:"展开-页面标签",font_class:"zhankai-yemianbiaoqian",unicode:"e65e",unicode_decimal:58974},{icon_id:"35649241",name:"关闭-页面标签",font_class:"guanbi-yemianbiaoqian",unicode:"e665",unicode_decimal:58981}]},aC="";var tc;const nc=typeof window<"u",rb=t=>typeof t=="string",ic=()=>{},lb=nc&&((tc=window==null?void 0:window.navigator)==null?void 0:tc.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function oc(t){return typeof t=="function"?t():i.unref(t)}function ab(t){return t}function sb(t){return i.getCurrentScope()?(i.onScopeDispose(t),!0):!1}function wn(t){var e;const n=oc(t);return(e=n==null?void 0:n.$el)!=null?e:n}const rc=nc?window:void 0;function Ko(...t){let e,n,o,r;if(rb(t[0])||Array.isArray(t[0])?([n,o,r]=t,e=rc):[e,n,o,r]=t,!e)return ic;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const l=[],a=()=>{l.forEach(u=>u()),l.length=0},s=(u,m,p,c)=>(u.addEventListener(m,p,c),()=>u.removeEventListener(m,p,c)),d=i.watch(()=>[wn(e),oc(r)],([u,m])=>{a(),u&&l.push(...n.flatMap(p=>o.map(c=>s(u,p,c,m))))},{immediate:!0,flush:"post"}),f=()=>{d(),a()};return sb(f),f}let lc=!1;function cb(t,e,n={}){const{window:o=rc,ignore:r=[],capture:l=!0,detectIframe:a=!1}=n;if(!o)return;lb&&!lc&&(lc=!0,Array.from(o.document.body.children).forEach(p=>p.addEventListener("click",ic)));let s=!0;const d=p=>r.some(c=>{if(typeof c=="string")return Array.from(o.document.querySelectorAll(c)).some(_=>_===p.target||p.composedPath().includes(_));{const _=wn(c);return _&&(p.target===_||p.composedPath().includes(_))}}),u=[Ko(o,"click",p=>{const c=wn(t);if(!(!c||c===p.target||p.composedPath().includes(c))){if(p.detail===0&&(s=!d(p)),!s){s=!0;return}e(p)}},{passive:!0,capture:l}),Ko(o,"pointerdown",p=>{const c=wn(t);c&&(s=!p.composedPath().includes(c)&&!d(p))},{passive:!0}),a&&Ko(o,"blur",p=>{var c;const _=wn(t);((c=o.document.activeElement)==null?void 0:c.tagName)==="IFRAME"&&!(_!=null&&_.contains(o.document.activeElement))&&e(p)})].filter(Boolean);return()=>u.forEach(p=>p())}const ac=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sc="__vueuse_ssr_handlers__";ac[sc]=ac[sc]||{};var cc;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(cc||(cc={}));var db=Object.defineProperty,dc=Object.getOwnPropertySymbols,ub=Object.prototype.hasOwnProperty,fb=Object.prototype.propertyIsEnumerable,uc=(t,e,n)=>e in t?db(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pb=(t,e)=>{for(var n in e||(e={}))ub.call(e,n)&&uc(t,n,e[n]);if(dc)for(var n of dc(e))fb.call(e,n)&&uc(t,n,e[n]);return t};pb({linear:ab},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function hb(t,e){const n=new Set(t.split(","));return e?o=>n.has(o.toLowerCase()):o=>n.has(o)}const lt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Nt=()=>{},mb=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Pe=Object.assign,gb=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_b=Object.prototype.hasOwnProperty,pe=(t,e)=>_b.call(t,e),ue=Array.isArray,Qt=t=>hi(t)==="[object Map]",yb=t=>hi(t)==="[object Set]",ge=t=>typeof t=="function",Ve=t=>typeof t=="string",pi=t=>typeof t=="symbol",Re=t=>t!==null&&typeof t=="object",bb=t=>(Re(t)||ge(t))&&ge(t.then)&&ge(t.catch),Eb=Object.prototype.toString,hi=t=>Eb.call(t),fc=t=>hi(t).slice(8,-1),wb=t=>hi(t)==="[object Object]",Xo=t=>Ve(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Cb=(t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))})(t=>t.charAt(0).toUpperCase()+t.slice(1)),at=(t,e)=>!Object.is(t,e),kb=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})};let pc;const hc=()=>pc||(pc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(t){if(ue(t)){const e={};for(let n=0;n<t.length;n++){const o=t[n],r=Ve(o)?Db(o):Jo(o);if(r)for(const l in r)e[l]=r[l]}return e}else if(Ve(t)||Re(t))return t}const vb=/;(?![^(]*\))/g,Sb=/:([^]+)/,Ab=/\/\*[^]*?\*\//g;function Db(t){const e={};return t.replace(Ab,"").split(vb).forEach(n=>{if(n){const o=n.split(Sb);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function er(t){let e="";if(Ve(t))e=t;else if(ue(t))for(let n=0;n<t.length;n++){const o=er(t[n]);o&&(e+=o+" ")}else if(Re(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function mc(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let gc;function xb(t,e=gc){e&&e.active&&e.effects.push(t)}function Nb(){return gc}let Tt;class _c{constructor(e,n,o,r){this.fn=e,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,xb(this,r)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,nr();for(const e of this.deps)if(e.computed&&(Tb(e.computed),this._dirtyLevel>=2))break;ir(),this._queryings--}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=st,n=Tt;try{return st=!0,Tt=this,this._runnings++,yc(this),this.fn()}finally{bc(this),this._runnings--,Tt=n,st=e}}stop(){var e;this.active&&(yc(this),bc(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function Tb(t){return t.value}function yc(t){t._trackId++,t._depsLength=0}function bc(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Ec(t.deps[e],t);t.deps.length=t._depsLength}}function Ec(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let st=!0,tr=0;const wc=[];function nr(){wc.push(st),st=!1}function ir(){const t=wc.pop();st=t===void 0?!0:t}function or(){tr++}function rr(){for(tr--;!tr&&lr.length;)lr.shift()()}function Cc(t,e,n){var o;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&Ec(r,t),t.deps[t._depsLength++]=e):t._depsLength++,process.env.NODE_ENV!=="production"&&((o=t.onTrack)==null||o.call(t,Pe({effect:t},n)))}}const lr=[];function kc(t,e,n){var o;or();for(const r of t.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel<e&&(!r._runnings||e!==2)){const l=r._dirtyLevel;r._dirtyLevel=e,l===0&&(!r._queryings||e!==2)&&(process.env.NODE_ENV!=="production"&&((o=r.onTrigger)==null||o.call(r,Pe({effect:r},n))),r.trigger(),r.scheduler&&lr.push(r.scheduler))}rr()}const vc=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},ar=new WeakMap,Vt=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),sr=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ce(t,e,n){if(st&&Tt){let o=ar.get(t);o||ar.set(t,o=new Map);let r=o.get(n);r||o.set(n,r=vc(()=>o.delete(n))),Cc(Tt,r,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n}:void 0)}}function ct(t,e,n,o,r,l){const a=ar.get(t);if(!a)return;let s=[];if(e==="clear")s=[...a.values()];else if(n==="length"&&ue(t)){const d=Number(o);a.forEach((f,u)=>{(u==="length"||!pi(u)&&u>=d)&&s.push(f)})}else switch(n!==void 0&&s.push(a.get(n)),e){case"add":ue(t)?Xo(n)&&s.push(a.get("length")):(s.push(a.get(Vt)),Qt(t)&&s.push(a.get(sr)));break;case"delete":ue(t)||(s.push(a.get(Vt)),Qt(t)&&s.push(a.get(sr)));break;case"set":Qt(t)&&s.push(a.get(Vt));break}or();for(const d of s)d&&kc(d,3,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:o,oldValue:r,oldTarget:l}:void 0);rr()}const Vb=hb("__proto__,__v_isRef,__isVue"),Sc=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(pi)),Ac=Rb();function Rb(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const o=Z(this);for(let l=0,a=this.length;l<a;l++)Ce(o,"get",l+"");const r=o[e](...n);return r===-1||r===!1?o[e](...n.map(Z)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){nr(),or();const o=Z(this)[e].apply(this,n);return rr(),ir(),o}}),t}function Ib(t){const e=Z(this);return Ce(e,"has",t),e.hasOwnProperty(t)}class Dc{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,o){const r=this._isReadonly,l=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return l;if(n==="__v_raw")return o===(r?l?Mc:Oc:l?Gb:Bc).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const a=ue(e);if(!r){if(a&&pe(Ac,n))return Reflect.get(Ac,n,o);if(n==="hasOwnProperty")return Ib}const s=Reflect.get(e,n,o);return(pi(n)?Sc.has(n):Vb(n))||(r||Ce(e,"get",n),l)?s:Ne(s)?a&&Xo(n)?s:s.value:Re(s)?r?zc(s):Lc(s):s}}class Bb extends Dc{constructor(e=!1){super(!1,e)}set(e,n,o,r){let l=e[n];if(!this._shallow){const d=Kt(l);if(!Xt(o)&&!Kt(o)&&(l=Z(l),o=Z(o)),!ue(e)&&Ne(l)&&!Ne(o))return d?!1:(l.value=o,!0)}const a=ue(e)&&Xo(n)?Number(n)<e.length:pe(e,n),s=Reflect.set(e,n,o,r);return e===Z(r)&&(a?at(o,l)&&ct(e,"set",n,o,l):ct(e,"add",n,o)),s}deleteProperty(e,n){const o=pe(e,n),r=e[n],l=Reflect.deleteProperty(e,n);return l&&o&&ct(e,"delete",n,void 0,r),l}has(e,n){const o=Reflect.has(e,n);return(!pi(n)||!Sc.has(n))&&Ce(e,"has",n),o}ownKeys(e){return Ce(e,"iterate",ue(e)?"length":Vt),Reflect.ownKeys(e)}}class xc extends Dc{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&mc(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&mc(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const Ob=new Bb,Mb=new xc,Lb=new xc(!0),cr=t=>t,mi=t=>Reflect.getPrototypeOf(t);function gi(t,e,n=!1,o=!1){t=t.__v_raw;const r=Z(t),l=Z(e);n||(at(e,l)&&Ce(r,"get",e),Ce(r,"get",l));const{has:a}=mi(r),s=o?cr:n?pr:Cn;if(a.call(r,e))return s(t.get(e));if(a.call(r,l))return s(t.get(l));t!==r&&t.get(e)}function _i(t,e=!1){const n=this.__v_raw,o=Z(n),r=Z(t);return e||(at(t,r)&&Ce(o,"has",t),Ce(o,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function yi(t,e=!1){return t=t.__v_raw,!e&&Ce(Z(t),"iterate",Vt),Reflect.get(t,"size",t)}function Nc(t){t=Z(t);const e=Z(this);return mi(e).has.call(e,t)||(e.add(t),ct(e,"add",t,t)),this}function Tc(t,e){e=Z(e);const n=Z(this),{has:o,get:r}=mi(n);let l=o.call(n,t);l?process.env.NODE_ENV!=="production"&&Ic(n,o,t):(t=Z(t),l=o.call(n,t));const a=r.call(n,t);return n.set(t,e),l?at(e,a)&&ct(n,"set",t,e,a):ct(n,"add",t,e),this}function Vc(t){const e=Z(this),{has:n,get:o}=mi(e);let r=n.call(e,t);r?process.env.NODE_ENV!=="production"&&Ic(e,n,t):(t=Z(t),r=n.call(e,t));const l=o?o.call(e,t):void 0,a=e.delete(t);return r&&ct(e,"delete",t,void 0,l),a}function Rc(){const t=Z(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?Qt(t)?new Map(t):new Set(t):void 0,o=t.clear();return e&&ct(t,"clear",void 0,void 0,n),o}function bi(t,e){return function(o,r){const l=this,a=l.__v_raw,s=Z(a),d=e?cr:t?pr:Cn;return!t&&Ce(s,"iterate",Vt),a.forEach((f,u)=>o.call(r,d(f),d(u),l))}}function Ei(t,e,n){return function(...o){const r=this.__v_raw,l=Z(r),a=Qt(l),s=t==="entries"||t===Symbol.iterator&&a,d=t==="keys"&&a,f=r[t](...o),u=n?cr:e?pr:Cn;return!e&&Ce(l,"iterate",d?sr:Vt),{next(){const{value:m,done:p}=f.next();return p?{value:m,done:p}:{value:s?[u(m[0]),u(m[1])]:u(m),done:p}},[Symbol.iterator](){return this}}}}function dt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";console.warn(`${Cb(t)} operation ${n}failed: target is readonly.`,Z(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function zb(){const t={get(l){return gi(this,l)},get size(){return yi(this)},has:_i,add:Nc,set:Tc,delete:Vc,clear:Rc,forEach:bi(!1,!1)},e={get(l){return gi(this,l,!1,!0)},get size(){return yi(this)},has:_i,add:Nc,set:Tc,delete:Vc,clear:Rc,forEach:bi(!1,!0)},n={get(l){return gi(this,l,!0)},get size(){return yi(this,!0)},has(l){return _i.call(this,l,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:bi(!0,!1)},o={get(l){return gi(this,l,!0,!0)},get size(){return yi(this,!0)},has(l){return _i.call(this,l,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:bi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{t[l]=Ei(l,!1,!1),n[l]=Ei(l,!0,!1),e[l]=Ei(l,!1,!0),o[l]=Ei(l,!0,!0)}),[t,n,e,o]}const[Pb,Fb,$b,Hb]=zb();function dr(t,e){const n=e?t?Hb:$b:t?Fb:Pb;return(o,r,l)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?o:Reflect.get(pe(n,r)&&r in o?n:o,r,l)}const jb={get:dr(!1,!1)},Ub={get:dr(!0,!1)},Wb={get:dr(!0,!0)};function Ic(t,e,n){const o=Z(n);if(o!==n&&e.call(t,o)){const r=fc(t);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Bc=new WeakMap,Gb=new WeakMap,Oc=new WeakMap,Mc=new WeakMap;function qb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yb(t){return t.__v_skip||!Object.isExtensible(t)?0:qb(fc(t))}function Lc(t){return Kt(t)?t:ur(t,!1,Ob,jb,Bc)}function zc(t){return ur(t,!0,Mb,Ub,Oc)}function wi(t){return ur(t,!0,Lb,Wb,Mc)}function ur(t,e,n,o,r){if(!Re(t))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const l=r.get(t);if(l)return l;const a=Yb(t);if(a===0)return t;const s=new Proxy(t,a===2?o:n);return r.set(t,s),s}function Zt(t){return Kt(t)?Zt(t.__v_raw):!!(t&&t.__v_isReactive)}function Kt(t){return!!(t&&t.__v_isReadonly)}function Xt(t){return!!(t&&t.__v_isShallow)}function fr(t){return Zt(t)||Kt(t)}function Z(t){const e=t&&t.__v_raw;return e?Z(e):t}function Qb(t){return kb(t,"__v_skip",!0),t}const Cn=t=>Re(t)?Lc(t):t,pr=t=>Re(t)?zc(t):t;class Zb{constructor(e,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new _c(()=>e(this._value),()=>hr(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const e=Z(this);return Pc(e),(!e._cacheable||e.effect.dirty)&&at(e._value,e._value=e.effect.run())&&hr(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pc(t){st&&Tt&&(t=Z(t),Cc(Tt,t.dep||(t.dep=vc(()=>t.dep=void 0,t instanceof Zb?t:void 0)),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function hr(t,e=3,n){t=Z(t);const o=t.dep;o&&kc(o,e,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:n}:void 0)}function Ne(t){return!!(t&&t.__v_isRef===!0)}function kn(t){return Kb(t,!1)}function Kb(t,e){return Ne(t)?t:new Xb(t,e)}class Xb{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Z(e),this._value=n?e:Cn(e)}get value(){return Pc(this),this._value}set value(e){const n=this.__v_isShallow||Xt(e)||Kt(e);e=n?e:Z(e),at(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Cn(e),hr(this,3,e))}}function Jb(t){return Ne(t)?t.value:t}const eE={get:(t,e,n)=>Jb(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const r=t[e];return Ne(r)&&!Ne(n)?(r.value=n,!0):Reflect.set(t,e,n,o)}};function tE(t){return Zt(t)?t:new Proxy(t,eE)}const Rt=[];function nE(t){Rt.push(t)}function iE(){Rt.pop()}function he(t,...e){nr();const n=Rt.length?Rt[Rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=oE();if(o)It(o,n,11,[t+e.join(""),n&&n.proxy,r.map(({vnode:l})=>`at <${dd(n,l.type)}>`).join(`
50
+ /> `)],64)}}}),vw="",wy=oe(K(Ey,[["__scopeId","data-v-a4dd744c"]])),Cy={},ky={t:"1672194715727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1","p-id":"2667"},vy=[o.createElementVNode("path",{d:"M809.246403 771.926938 777.737782 803.458071 924.965961 950.667831 956.476629 919.157163Z",fill:"#5D5D5D","p-id":"2668"},null,-1),o.createElementVNode("path",{d:"M454.878536 70.285786C239.51556 70.285786 64.93236 244.847497 64.93236 460.231963c0 215.341486 174.583201 389.945153 389.945153 389.945153 215.362976 0 389.9472-174.603667 389.9472-389.945153C844.825736 244.847497 670.241512 70.285786 454.878536 70.285786zM454.878536 805.611108c-190.750415 0-345.381192-154.626683-345.381192-345.379145 0-190.751439 154.629753-345.380168 345.381192-345.380168 190.752462 0 345.382215 154.62873 345.382215 345.380168C800.259728 650.983401 645.630998 805.611108 454.878536 805.611108z",fill:"#5D5D5D","p-id":"2669"},null,-1)];function Sy(t,e){return o.openBlock(),o.createElementBlock("svg",ky,vy)}const Ay=K(Cy,[["render",Sy]]),Dy={},xy={t:"1710907270798",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8420",width:"200",height:"200"},Ny=[o.createElementVNode("path",{d:"M512 1024A512 512 0 1 0 512 0a512 512 0 0 0 0 1024z",fill:"var(--ik-color-icon-dark)","p-id":"8421"},null,-1),o.createElementVNode("path",{d:"M655.701333 327.082667a41.216 41.216 0 0 1 57.002667-1.194667 39.082667 39.082667 0 0 1 1.109333 56.490667l-145.237333 145.92 145.237333 146.005333c13.824 13.909333 15.189333 35.072 4.266667 50.346667l-5.376 6.144a41.216 41.216 0 0 1-57.002667-1.109334L511.914667 585.130667 368.298667 729.685333a40.96 40.96 0 0 1-42.24 9.557334l-7.68-3.242667-7.082667-5.12a39.082667 39.082667 0 0 1-1.109333-56.576l145.066666-146.005333-145.066666-145.92a39.082667 39.082667 0 0 1-4.266667-50.346667l5.376-6.144a41.216 41.216 0 0 1 57.002667 1.194667L512 471.381333z",fill:"#FFFFFF","p-id":"8422"},null,-1)];function Ty(t,e){return o.openBlock(),o.createElementBlock("svg",xy,Ny)}const Vy=K(Dy,[["render",Ty]]),Ry={},Iy={t:"1710904463698",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7124",width:"200",height:"200"},By=[o.createElementVNode("path",{d:"M512 512a235.392 235.392 0 0 0 235.2-235.52A235.392 235.392 0 0 0 512 40.96a235.392 235.392 0 0 0-235.2 235.52A235.392 235.392 0 0 0 512 512z",fill:"var(--ik-color-icon-light-hover)","p-id":"7125"},null,-1),o.createElementVNode("path",{d:"M41.984 901.12c0 57.408 46.784 103.872 104.512 103.872h731.52c57.664 0 104.448-46.464 104.448-103.808v-51.968c0-143.36-116.992-259.648-261.248-259.648H303.232c-144.256 0-261.248 116.224-261.248 259.648v51.968z",fill:"var(--ik-color-tag-primary)","p-id":"7126"},null,-1)];function Oy(t,e){return o.openBlock(),o.createElementBlock("svg",Iy,By)}const My=K(Ry,[["render",Oy]]),Ly={},zy={t:"1710904436436",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6989",width:"200",height:"200"},Py=[o.createElementVNode("path",{d:"M421.952281 288.898297a42.687867 42.687867 0 0 0-42.111868 31.167903l-122.367618 461.694557a49.919844 49.919844 0 0 0 19.19994 52.223837l232.319274 173.503458a57.59982 57.59982 0 0 0 67.45579 0.447998l234.175268-169.59947a49.983844 49.983844 0 0 0 19.967937-52.351836l-118.783628-465.598545a42.623867 42.623867 0 0 0-41.919869-31.487902H421.952281z",fill:"var(--ik-color-tag-primary)","p-id":"6990"},null,-1),o.createElementVNode("path",{d:"M354.048494 0.0032a44.67186 44.67186 0 0 0-36.479886 18.175943 39.103878 39.103878 0 0 0-4.223987 38.59188L377.792419 206.722554c6.591979 15.359952 22.39993 25.47192 40.127875 25.407921h255.487202c17.919944 0 33.919894-10.431967 40.319874-26.239918L774.39918 56.003025a39.167878 39.167878 0 0 0-4.863985-38.079881A44.67186 44.67186 0 0 0 733.439308 0.0032H354.048494z",fill:"var(--ik-color-icon-light-hover)","p-id":"6991"},null,-1)];function Fy(t,e){return o.openBlock(),o.createElementBlock("svg",zy,Py)}const $y=K(Ly,[["render",Fy]]),Hy={},jy={t:"1710904287393",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6854",width:"200",height:"200"},Uy=[o.createElementVNode("path",{d:"M512 271.296c27.264 0 49.792 22.336 51.136 50.816l0.064 2.688v147.072H832c62.272 0 113.28 51.776 115.2 116.8v103.872c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752l-0.064-2.688V592.256a13.184 13.184 0 0 0-11.328-13.312L832 578.88H563.2v113.664c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L460.8 692.48V578.88H192a12.992 12.992 0 0 0-12.736 11.776l-0.064 1.6v100.288c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L76.8 692.48V592.256c0-65.088 49.536-118.4 111.808-120.32H460.8v-147.2c0-29.504 22.912-53.44 51.2-53.44z",fill:"var(--ik-color-icon-light-hover)","p-id":"6855"},null,-1),o.createElementVNode("path",{d:"M204.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H51.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM588.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H435.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM972.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504h-153.6c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM665.6 64c28.288 0 51.2 23.936 51.2 53.504v213.952c0 29.568-22.912 53.504-51.2 53.504H358.4c-28.288 0-51.2-23.936-51.2-53.504V117.504c0-29.568 22.912-53.504 51.2-53.504h307.2z",fill:"var(--ik-color-tag-primary)","p-id":"6856"},null,-1)];function Wy(t,e){return o.openBlock(),o.createElementBlock("svg",jy,Uy)}const Gy=K(Hy,[["render",Wy]]),qy={class:"avatar"},Yy={key:3,class:"user_box"},Qy={key:1,class:"avatar_name"},Zy=o.defineComponent({__name:"Avatar",props:{fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},element:{type:Object,default:()=>{}},imageBaseUrl:{type:String,default:""}},setup(t){const e=t,n=`${e.imageBaseUrl}/server/oss/download?fileUrl=`||`${location.origin}/server/oss/download?fileUrl=`,i=r=>r?r.startsWith("http")?r:`${n}${r}`:"";return(r,l)=>{const a=o.resolveComponent("el-avatar");return o.openBlock(),o.createElementBlock("div",qy,[e.fixTypeOpt.group===t.element[e.fixPropOpt.type]?(o.openBlock(),o.createBlock(Gy,{key:0})):e.fixTypeOpt.role===t.element[e.fixPropOpt.type]?(o.openBlock(),o.createBlock(My,{key:1})):e.fixTypeOpt.post===t.element[e.fixPropOpt.type]?(o.openBlock(),o.createBlock($y,{key:2})):e.fixTypeOpt.user===t.element[e.fixPropOpt.type]?(o.openBlock(),o.createElementBlock("div",Yy,[t.element[t.fixPropOpt.avatar]?(o.openBlock(),o.createBlock(a,{key:0,shape:"square",src:i(t.fixPropOpt.avatar?t.element[t.fixPropOpt.avatar]:"")},null,8,["src"])):(o.openBlock(),o.createElementBlock("div",Qy,o.toDisplayString(t.element[t.fixPropOpt.name].slice(-2)),1))])):o.createCommentVNode("v-if",!0)])}}}),Mw="",xt=K(Zy,[["__scopeId","data-v-bc7cca29"]]),Qi="data:image/webp;base64,UklGRogSAABXRUJQVlA4WAoAAAAwAAAAxwAAzQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBI4gsAAAXwh21/2rb//yncJGWGwWvMXFi6wpNh8GRmZmZmZmYeMzMzlobdnuvw+SynSVvbKiTx4ViWHcly/nodz4hw4LaNIylb5mbLeTIl2S+A/+u0//zH3hUlGHLVu1GC0Ze+HyUoKPo0SnClc0aU4Ontu6IEfzzWFiVYeGWU2Ede90qU4LMfj0YH3FOvihLnl/atiQ6k/RgtzlPfPxwduCXj0yiR0j1+Sygq0Pfr6/iosA/6/M6G6PC98+5t3qiw33j5fVEhL3W81/Z2CKfi02lG/c2Q/8YX2PQh54cv1htzKe6VuBewtxW/8NBpQy5Z757y4VasjFcynoJGXLJcdef0GSJOR//Pf11kyMvKbVcu/rMDp8P+5Ogn6w241POu3Gnzglghlzz+w2IDno6Tb/T/thsrxHzp/du/gozNpZBIX3npNdkrZ+LWRlPK2POHrPuVkawOO3tWmfdX7d/fSW8yllyVtXneWfyY+I2v3HKExbE4dJ8TgI7dm7fsFMgz8OIisHXRP4YxqR77Ev0DYfWCpa0Rg13LJ0xIP7Z6W6cBLA64ebTyYqWEzllflxERWjAh13F8+44mw1nlsvan4kSsf7oqcuLv3VXWYUzL9ZTFJpyI4JcvdBt3hv/2K3gVWybyxgo+XC6/BC9j+WTjPiXv64OXcd1c495GbknAsnIiMG47Z5UDxylpVBi4XTvLjKF6CDByu+1Xq5IZNwNDtytmxiiYvBwYu3lm9kaoz5a+IQzekj6+3QpA7crftxsWJNPna/qd+DH2mcdAlLD5Vxs9mMdu744SvP9LTZTgxVUVUYJHKlQeNA30xNWfOtVkwDi7gkrc+R6PJwX4kgDgT6HWbLyv6+Mp9IxEkqQwODmc4l+8hkjMOI/Hk4XoUKBFW7viX1oMixxPoWcM8vWAJxKdbYp/8RkJtlGFHg+a3KlDQnSr4l/8rJPm8RTmumRRGiHZAL986+5dTGIZVujxDECURQDxplSNDbFG4niPpyBeVhcp5NvzwI9sUfDrELOsT494B7EVDzaVSvpIQaFJPz7AEpOXAh0Tyi9jaF2pHE4QGq3aVSgyw12/AoLQadbvzKShx3ronMZBrITiF94HJKHTsK8fY4OUmgTdExi3nwk+f4KkRuik1LQt54gsfNUccbDQR7dMZ4DpNzEx1moHt+uesXvNbEz+T57VPWsvYGQt7h51ROdcvIqZGL/uQn1jLhvNTtJ17Txdc+tfDOXAZ4byOiamujc7BLc8WaVjnv4EsHL3xvmLGnXdrs8u78sCXevmL2rRf+Oyi4qKRlr0TMeaeUv9zEyZ+MKioglWvVKwBzBmZWP1ymgdLyqZRfYjlRrS3t35LDJsVOfeM/S45GMRwj1vq6eLOzwM8tJtHZCf8zOtL4kRi0QBQrjjbfUvk2L2uOsNCKEAf15MB+u6AdIu2+sH1Nh4DnP8b7MJwfsQnfTi7o8lzch24HXV9PF85vhrotR+ZJszlwbugwmSaLTw4X4VVl3MGnkbOyA6In1PtVPglZelXXGqfkdlYi+Zwhrrx4cdgBaXUEjA0447ws5XVHyt0rJFlzPGxGXhjlT4oPWlNuJ8+VinJFlJzQcii6Tem35kVhswV4yQ2o8prJ5Pmr5H7J3yKFII/7WSQRIXZXDc8Sf42/8QOwQMbW+3EmbGjaAT4n6e+TTEHt9cznEcP3f20V5hcKdNC8kydp9JRi4oVtp9zDFuLc9xPOc7/TIQpSdxG/d5M1HWXgAkUOcr7qtYFmCM1fnyznVNdIQJNx/jg/a1JNPxi1YDALrCmrHCK1azxcXLkJ3rPwggSEVcby49QoycvVkyUGUTfuNYwlw2HNlduSYFWCfUTSXG73cAJdgeWHSaJW6eFuDk6jwnAECUIo/a9n2AEJbadARJsoruubUMYa/uE5DPprGSCuUB15vcDyFCXL4IKMELX3uYIR7/AiBkS/MKOUgOwK91wlTtsUs9j0ZBanH31c1hAGXoPZYmwwsjLAhdAtpyKX6hPijbQQh/ghK14l+QGZZNAiDIcbw4CCAEOKkf8U6oJZUUbS9URaH+z05WGHAMyPAcHGFWorL9u4AQJWscMt2yZqzwQ2uZ+fHamzJydUpvFF6QriqSO5l1xAJX7ssD4+JjQ6jXfc28IAiQP70lwAqmf7MQ5LQuPttutdkCEDk1+QUeCpCrqiLbGuvMiw5mdkC48DOMIgZAw41gR0ASCfk+601xFTkQwtc30WpPLP93pwrM/PjpXhSpqKzYI06FUHhjE70WHWcU2/MXxsdnIonEiUaO5/lT2wumQgjf2EiRLoEt8POt8HHfeRz30jZUhYc2NZ0QLmAJtXVjwu8c/6KSaYKBUn3pKVV4DgcUqHKiA8LFH+NxZaanXz0hOcGsNwRvc0NtS1NTU1NDA1TyBxdGMbrlW95aTwM0gpyAEC5/H8HRIycnJyszXvFdkpCcEW/VCx3eZq+A1dFaV1tbe7a2q+h3jntpK0rRnxDCd1fTAI0gNQKEq9/N7tOnd68Mk7pzU1OdzpgYEz3QnMvb7OU0Kgo1WCa2+55XLPGlv0EIP1xOAcXC+3eXaPaecWqW5cywiqYYp9NFa0AEvM3etoh0pYwMBCt3twS6Ic/1e4bn4FfzKJE9avRLYijoP6xJmeI1qXEiEAGwulwuogNCjq5+X0tbSAyJYd3aSR0RCNY0oBrShocCcNOSmqPtBEFn4ai8senAVhwMBbn9qvpUlps0i+QB5Gh2ulxu9QGhdaS2tfhaQ6hc+T7tl9KHBYKnalEyhgWDwdrTQDxbWbY/QAx7flGuAxmwnlAw2FEe1hhRpVv2geQJxB12l9vtjGxAiO0+nz+EyMQcwyIkIZrIHBII/nMGJWdQMBhsrEE0cDvXVBOh96QSt0KCLUMMiaHGSHW6U8ySD7AOMbncsW6bKmjD/T5/AKNPRayoLa1MEEOCYuLGxYui2OHH5Dezd4uRMvz60RRW0xQn1hOoBIc7NtZlwgcmv9/fjdemdqSwaBz+7nREZN2bR2Al0tZjicpK/Eg1u2PjYm1yYPL7WzuBrAmrKiwCK4VKpPh+XQRceF8MGuBoVDqUTlH1U0ycydcJtExENSmUGvvtKs3ccDOxQKpxEpmUTtFwxEnQdrsMrbj3hNaLBa/QzQisSXYNHR2ZELwqak1d87VGPhsg52dUK+MBlXNYCPmGYv7nSY0skBdpypWJtsjHsQYpdNn/ska+60k1ZVaEFykYa/KTLCQiX1Js5fcrtD79GNXcXxmxEyyEH6DLsec1J0aPXqSHzRTrVHiIxPto7ydf82tv+43Xm3VRGW/G+Unhy4iE0Gvehu87IhE1+KE+uqh0x2h5Rnfnmt+rItRlLr2uhy4qY830niH0wVGxtFwk0Iu5E8ea9VApBWOcnxQSlL5UEUOjpnrnVi8picmlxQPoF+wuk8b3qbqVeE564uihAxxZpWkFuSPstCtdNoWfMN5SfTTsVmLNkHP1/Udqz9SG6PTkkFHDB1jpVkorP/YZDUf5PmLdf+zA/uoA5VE5YNDAgWkRqY50sXJa9PDMwV1Hj0vX9GHx/fr06dXDTmnBjAGRPUD164Zin2b07JmTlZVsIi43xhJ2muaQRS5506U5MjPS09LT0hLNBCulAaT5AVK6X61URW/DIjE5OTkxMT4hMcUduUSHGes0hS8Jwt/WBRixjB+sBCpt+Pcpj6SaNWcqYMZuuJnEqLGZqIWsusdUslCdD+1X8kiIs1ql91E5Cy+cBBpNp2vOy2OIeNlqwryU5E1vHQY6MiKdfP8lRNRZMCu/DKGr754GrFnJg7FEMj2LifB5w48CYM8SbruQSGSWNpLnf38qB2xavxsKTCQqzcT25jlrpWSOWetzZZGNRMFE5C9OLt1Ir6SXTPaC83pHvskRLNI1fsdaaXU0AOtdMr5XpLIjrdm7rawbGIWl544ZFkeFUE1FeXUQMGUkZl+vYQP79bSQxF9TXX0UAqLGVH7Ru2ePntnpjkg7v7m+/uypU35A3lgMaempCQmJ8S6n02mzWCymYDAQ7BIEgW/z+XwtjYwviNHc/vMfAFZQOCCwBAAA8CoAnQEqyADOAD5tNpRGpD+iISw1STvwDYlpbuDAdGXYW5+xX+E/B79IvqhdnLddJLmGi5paMwD+h8p7UC/h/9K6qXoHfpyR4P/Uv3L6q0mh/qXmCC5XUh/6l+4p6WqP3L5qDkPaVIRPowOQa5RsItEnpv2qi+aEGdI5VaSY7+i3fjzySZVTfInmLOji/1JNDhsggr75HlBnTop05IyqW9k6rgDx4oGKuZLsiDqTspeWt1TThs95rEvc3BAQ2Cmm/WHPEgITWp1jDj8fnYpacUKlA2fv4bDkY96yZXMjIrnu/KsBeRwGc1mPgGXhZDn5J8bFFYquI/e5SRB/fGWHrUWxTd/6ZFoE99q2r5vdSogeBKsvZRRnOJo1DhTmQzfK+jKPl1XB61eCyIzI2T0HdI/htEFcLySPEI1rIA1ptHGDrClKq1Cj6yIjq1T8SCl5GneZHHtrpmpD/1L9y+qqAAD+ysAAAACruyAAa6B+sspLlClJkLWAAlhaOsmcS18eCdW/9MiovfLi9lIdZV4K9C2nq4XL6pGljxoATLaWY+Fdf+yp8QqRmQOm17DSnKGoocmxvW4jXk3K6solfHw92MfxE9PKbpV6k390KRXwxMKUkfODCBPOGu7AVxFQQDv/surrkKoki8usn4RG7CzImZDOrpVMMa1nuR8WstZYVtabVbc37OMP2Y5Z5xioxwALBSridUAAe2PyFxopohDSWVP/M2RAZ43b7JOT7vDiWAukTn7gZKAljHmig+HiisRYSOsqxzRcwtHuA0ihG2zggPceBgQoJ9OrQn4+9SynodSjUnN3S1msttzAbtHUyHt0dqPI8MmNPuuX8oNYGSrMU/jq1/tuwVAcRYjFSmiVtRyf52fqt8XWRriSR73+gAIbwbhZMdATlGZy0CGP2PPNUcp2aE5oBbmSjStpYBFxz4bcqxQSVdwMV0UOCxRcyEWqPkw7ZCJO8qXyf/uEHIyBNR1plTtcMWPXcI1Dmkhi0cBoqF2quLyff3S3y9RMN/xM9oPh7cT8+rNF9azivisDh4AIyAlaYTSsoJ6JFmrxFP//iZ//3US//7kyGHqb0JWaRZPd5LjuIc4b3Pdxeirqg3w8ux5nlN/CW5YYPR8ygYwahr/iqudOg0NhFAVNXbgNGCTQRj2YmxoT259SWlnA1dtgjuRe2cZOmxqn+mvuyGdvAd9XjPSV4VVEAnROrjCwrgbhyKFpb8s12Za8/F4cSrPOSuadvlSXDEdhrb27ok+DnCnJqOg8Kj9Gqlca2xL+KvTh1u+NuUBnWJWF2Y9f3+xrM9KPN55AGLwUs8yRaGNKw9ngyAAfv8bf7tO4JOhTqKsM4JbfTtFKmlQhMS77J/ZyxsS7I+u5WO0/gjo83E7/80LOn4Ple50oLNP3yW4yTSnlNCwg+COLMFER8MfaIeAHTLvnkH3eDLow61YfoXxUp6SIMiBAHJ75Y1CrZeW1DvEoWdfnDhpz06KBs12oE7Ob6wCwc+FXeaKHfhDxAz/7xTqCDxZf++IGd1QQAB/TN8qRAl4EZQF8tbRrVQIKm2g8cbO8potBMoXyVFfUtI4r31krwmWYxDz2AAAAAAAA",Zi={list:{type:Array,default:()=>[]},handList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},fixPropOpt:{type:Object,default:()=>{}},fixTypeOpt:{type:Object,default:()=>{}},height:{type:String,default:"404px"},imageBaseUrl:{type:String,default:""},emptyText:{type:String,default:"暂无数据"},children:{type:Boolean,default:!0}},Ky=t=>(o.pushScopeId("data-v-9d063943"),t=t(),o.popScopeId(),t),Xy={class:"left-pick-list"},Jy={key:1,class:"post-view-list"},e2={class:"checkText"},t2={class:"iconBox"},n2={key:0,class:"userCount"},o2=["onClick"],i2={class:"ik-picker-single"},r2={class:"iconBox"},l2={key:0,class:"userCount"},a2={key:2,class:"empty"},s2=Ky(()=>o.createElementVNode("img",{src:Qi,alt:""},null,-1)),c2=o.defineComponent({__name:"GroupList",props:Zi,emits:["change","check","handChild"],setup(t,{emit:e}){var p,c;const n=t,i=o.computed(()=>{var _,g;return((_=n.handList)==null?void 0:_.length)===((g=n.list)==null?void 0:g.length)}),r=o.computed(()=>{var h,b,y,C;const _=(h=n.handList)==null?void 0:h.length,g=(b=n.list)==null?void 0:b.length;return n.multiple?l.value=n.handList.map(k=>k[n.fixPropOpt.id]):a.value=(C=(y=n.handList)==null?void 0:y[0])==null?void 0:C[n.fixPropOpt.id],_>0&&_<g}),l=o.ref(n.handList.map(_=>_[n.fixPropOpt.id])),a=o.ref((c=(p=n.handList)==null?void 0:p[0])==null?void 0:c[n.fixPropOpt.id]),s=e,d=_=>{const g=_?n.list.map(h=>h[n.fixPropOpt.id]):[];s("change",g,_?n.list:[])},f=_=>{s("change",_,n.list)},u=_=>{s("change",_,n.list)},m=(_,g)=>{g||s("handChild",_)};return(_,g)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(" 遍历list多选 "),o.createElementVNode("div",Xy,[_.multiple?(o.openBlock(),o.createBlock(o.unref(A.ElCheckbox),{key:0,modelValue:i.value,"onUpdate:modelValue":g[0]||(g[0]=h=>i.value=h),indeterminate:r.value,onChange:d},{default:o.withCtx(()=>[o.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):o.createCommentVNode("v-if",!0),_.list&&_.list.length?(o.openBlock(),o.createElementBlock("ul",Jy,[_.multiple?(o.openBlock(),o.createBlock(o.unref(A.ElCheckboxGroup),{key:0,modelValue:l.value,"onUpdate:modelValue":g[1]||(g[1]=h=>l.value=h),onChange:f},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(_.list,h=>(o.openBlock(),o.createElementBlock("li",{key:h[n.fixPropOpt.id]},[o.createVNode(o.unref(A.ElCheckbox),{label:h[n.fixPropOpt.id]},{default:o.withCtx(()=>[o.createElementVNode("div",e2,[o.createElementVNode("div",t2,[o.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:h,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("p",null,[o.createElementVNode("span",null,o.toDisplayString(h[n.fixPropOpt.name]),1),h[n.fixPropOpt.type]===n.fixTypeOpt.group?(o.openBlock(),o.createElementBlock("span",n2,"("+o.toDisplayString(h.userCount)+")",1)):o.createCommentVNode("v-if",!0)])])]),_:2},1032,["label"]),h[n.fixPropOpt.type]===n.fixTypeOpt.group&&n.children?(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["nextLevel",{"is-disabled":l.value.find(b=>b===h[n.fixPropOpt.id])}]),onClick:b=>m(h,l.value.find(y=>y===h[n.fixPropOpt.id]))}," 下级",10,o2)):o.createCommentVNode("v-if",!0)]))),128))]),_:1},8,["modelValue"])):(o.openBlock(),o.createBlock(o.unref(A.ElRadioGroup),{key:1,isIndeterminate:r.value,modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=h=>a.value=h),onChange:u},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(_.list,h=>(o.openBlock(),o.createElementBlock("li",{class:"w-full",key:h[n.fixPropOpt.id]},[o.createVNode(o.unref(A.ElRadio),{label:h[n.fixPropOpt.id]},{default:o.withCtx(()=>[o.createElementVNode("div",i2,[o.createElementVNode("div",r2,[o.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:h,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("p",null,[o.createElementVNode("span",null,o.toDisplayString(h[n.fixPropOpt.name]),1),h[n.fixPropOpt.type]===n.fixTypeOpt.group?(o.openBlock(),o.createElementBlock("span",l2,"("+o.toDisplayString(h.userCount)+")",1)):o.createCommentVNode("v-if",!0)])])]),_:2},1032,["label"])]))),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(o.openBlock(),o.createElementBlock("div",a2,[s2,o.createElementVNode("div",null,o.toDisplayString(n.emptyText),1)]))])],2112))}}),Lw="",d2=K(c2,[["__scopeId","data-v-9d063943"]]),u2=t=>(o.pushScopeId("data-v-361d2758"),t=t(),o.popScopeId(),t),f2={class:"left-pick-list"},p2={key:1,class:"post-view-list"},h2={class:"iconBox"},m2={class:"ik-picker-single"},g2={class:"iconBox"},_2={key:2,class:"empty"},y2=u2(()=>o.createElementVNode("img",{src:Qi,alt:""},null,-1)),b2=o.defineComponent({__name:"PostList",props:Zi,emits:["change","check"],setup(t,{emit:e}){var m,p;const n=t,i=o.computed(()=>{var c,_;return((c=n.handList)==null?void 0:c.length)===((_=n.list)==null?void 0:_.length)}),r=o.computed(()=>{var g,h,b,y;const c=(g=n.handList)==null?void 0:g.length,_=(h=n.list)==null?void 0:h.length;return n.multiple?l.value=n.handList.map(C=>C[n.fixPropOpt.id]):a.value=(y=(b=n.handList)==null?void 0:b[0])==null?void 0:y[n.fixPropOpt.id],c>0&&c<_}),l=o.ref(n.handList.map(c=>c[n.fixPropOpt.id])),a=o.ref((p=(m=n.handList)==null?void 0:m[0])==null?void 0:p[n.fixPropOpt.id]),s=e,d=c=>{const _=c?n.list.map(g=>g[n.fixPropOpt.id]):[];s("change",_,c?n.list:[])},f=c=>{s("change",c,n.list)},u=c=>{s("change",c,n.list)};return(c,_)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(" 遍历list多选 "),o.createElementVNode("div",f2,[c.multiple?(o.openBlock(),o.createBlock(o.unref(A.ElCheckbox),{key:0,modelValue:i.value,"onUpdate:modelValue":_[0]||(_[0]=g=>i.value=g),indeterminate:r.value,onChange:d},{default:o.withCtx(()=>[o.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):o.createCommentVNode("v-if",!0),c.list&&c.list.length?(o.openBlock(),o.createElementBlock("ul",p2,[c.multiple?(o.openBlock(),o.createBlock(o.unref(A.ElCheckboxGroup),{key:0,modelValue:l.value,"onUpdate:modelValue":_[1]||(_[1]=g=>l.value=g),onChange:f},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.list,g=>(o.openBlock(),o.createElementBlock("li",{key:g[n.fixPropOpt.id]},[o.createVNode(o.unref(A.ElCheckbox),{label:g[n.fixPropOpt.id]},{default:o.withCtx(()=>[o.createElementVNode("div",h2,[o.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("p",null,o.toDisplayString(g[n.fixPropOpt.name]),1)]),_:2},1032,["label"])]))),128))]),_:1},8,["modelValue"])):(o.openBlock(),o.createBlock(o.unref(A.ElRadioGroup),{key:1,isIndeterminate:r.value,modelValue:a.value,"onUpdate:modelValue":_[2]||(_[2]=g=>a.value=g),onChange:u},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.list,g=>(o.openBlock(),o.createElementBlock("li",{class:"w-full",key:g[n.fixPropOpt.id]},[o.createVNode(o.unref(A.ElRadio),{label:g[n.fixPropOpt.id]},{default:o.withCtx(()=>[o.createElementVNode("div",m2,[o.createElementVNode("div",g2,[o.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("p",null,o.toDisplayString(g[n.fixPropOpt.name]),1)])]),_:2},1032,["label"])]))),128))]),_:1},8,["isIndeterminate","modelValue"]))])):(o.openBlock(),o.createElementBlock("div",_2,[y2,o.createElementVNode("div",null,o.toDisplayString(n.emptyText),1)]))])],2112))}}),zw="",E2=K(b2,[["__scopeId","data-v-361d2758"]]),w2=t=>(o.pushScopeId("data-v-24145e87"),t=t(),o.popScopeId(),t),C2={class:"left-pick-list"},k2={key:1,class:"role-view-list"},v2={class:"iconBox"},S2=["title"],A2={class:"ik-picker-single"},D2={class:"iconBox"},x2=["title"],N2={key:2,class:"empty"},T2=w2(()=>o.createElementVNode("img",{src:Qi,alt:""},null,-1)),V2=o.defineComponent({__name:"RoleList",props:Zi,emits:["change","check"],setup(t,{emit:e}){var m,p;const n=t,i=o.computed(()=>{var c,_;return((c=n.handList)==null?void 0:c.length)===((_=n.list)==null?void 0:_.length)}),r=o.computed(()=>{var g,h,b,y;const c=(g=n.handList)==null?void 0:g.length,_=(h=n.list)==null?void 0:h.length;return n.multiple?l.value=n.handList.map(C=>C[n.fixPropOpt.id]):a.value=(y=(b=n.handList)==null?void 0:b[0])==null?void 0:y[n.fixPropOpt.id],c>0&&c<_}),l=o.ref(n.handList.map(c=>c[n.fixPropOpt.id])),a=o.ref((p=(m=n.handList)==null?void 0:m[0])==null?void 0:p[n.fixPropOpt.id]),s=e,d=c=>{const _=c?n.list.map(g=>g[n.fixPropOpt.id]):[];s("change",_,c?n.list:[])},f=c=>{s("change",c,n.list)},u=c=>{s("change",c,n.list)};return(c,_)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(" 遍历list多选 "),o.createElementVNode("div",C2,[c.multiple?(o.openBlock(),o.createBlock(o.unref(A.ElCheckbox),{key:0,modelValue:i.value,"onUpdate:modelValue":_[0]||(_[0]=g=>i.value=g),indeterminate:r.value,onChange:d},{default:o.withCtx(()=>[o.createTextVNode("全选")]),_:1},8,["modelValue","indeterminate"])):o.createCommentVNode("v-if",!0),c.list&&c.list.length?(o.openBlock(),o.createElementBlock("ul",k2,[c.multiple?(o.openBlock(),o.createBlock(o.unref(A.ElCheckboxGroup),{key:0,modelValue:l.value,"onUpdate:modelValue":_[1]||(_[1]=g=>l.value=g),onChange:f},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.list,g=>(o.openBlock(),o.createElementBlock("li",{key:g[c.fixPropOpt.id]},[o.createVNode(o.unref(A.ElCheckbox),{label:g[c.fixPropOpt.id],value:g[c.fixPropOpt.id],disabled:g.disabled},{default:o.withCtx(()=>[o.createElementVNode("div",v2,[o.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("p",{title:g[c.fixPropOpt.name]},o.toDisplayString(g[c.fixPropOpt.name]),9,S2)]),_:2},1032,["label","value","disabled"])]))),128))]),_:1},8,["modelValue"])):(o.openBlock(),o.createBlock(o.unref(A.ElRadioGroup),{key:1,indeterminate:r.value,modelValue:a.value,"onUpdate:modelValue":_[2]||(_[2]=g=>a.value=g),onChange:u},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.list,g=>(o.openBlock(),o.createElementBlock("li",{class:"w-full",key:g[c.fixPropOpt.id]},[o.createVNode(o.unref(A.ElRadio),{label:g[c.fixPropOpt.id],value:g[c.fixPropOpt.id],disabled:g.disabled},{default:o.withCtx(()=>[o.createElementVNode("div",A2,[o.createElementVNode("div",D2,[o.createVNode(xt,{fixTypeOpt:n.fixTypeOpt,fixPropOpt:n.fixPropOpt,element:g,imageBaseUrl:n.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("p",{title:g[c.fixPropOpt.name]},o.toDisplayString(g[c.fixPropOpt.name]),9,x2)])]),_:2},1032,["label","value","disabled"])]))),128))]),_:1},8,["indeterminate","modelValue"]))])):(o.openBlock(),o.createElementBlock("div",N2,[T2,o.createElementVNode("div",null,o.toDisplayString(n.emptyText),1)]))])],2112))}}),Pw="",R2=K(V2,[["__scopeId","data-v-24145e87"]]);var bn=(t=>(t.group="group",t.role="role",t.post="post",t))(bn||{});const I2={children:{type:Boolean,default:!0},topLink:{type:Boolean,default:!0},modelValue:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},orgPid:{type:String,default:""},org:{type:Object,default:()=>null},immediate:{type:Boolean,default:!1},show:{type:Boolean,default:!1,required:!0},width:{type:String,default:"685px"},height:{type:String,default:"580px"},title:{type:String,default:"选择人员"},groupList:{type:Array,default:()=>[]},userList:{type:Array,default:()=>[]},roleList:{type:Array,default:()=>[]},postList:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!0},max:{type:Number,default:0},tabs:{type:Array,validator:t=>{if(t===void 0)return!0;if(Array.isArray(t)){if(!(t!=null&&t.length))return!1}else return console.error("IkingPicker参数错误:tabs必须是Array类型"),!1;return!0},default:()=>["group","role","post"]},chooseType:{type:Array,default:()=>["dep"]},api:{type:Object,default:()=>({methods:"post",headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:"Bearer 9aa65e31e86f4232ac4e4136fb1d3413"},url:`${location.origin}${location.pathname}/serve/component/pick/mix`,param:null,paramKey:"type"})},typeOption:{type:Object,default:()=>{}},propOption:{type:Object,default:()=>null},search:{type:Boolean,default:!0},lazy:{type:Boolean,default:!0},imageBaseUrl:{type:String,default:""},placeholder:{type:String,default:"请输入"},emptyText:{type:String,default:"暂无数据"}},Zs=t=>{const e=window.location.search;return new URLSearchParams(e).get(t)},B2=t=>{const e=z.ikStore.local.getItem("x_domain");e&&(t["X-DOMAIN"]=e)},O2=t=>{var i;const e=Zs("domain");if(e){t["X-DOMAIN"]=e;const r=Zs("code");e==="APPLICATION"&&(t["X-APP"]=r)}else B2(t);const n=(i=z.ikStore.local.getItem("tenant"))==null?void 0:i.code;n&&(t["X-TENANT"]=n)},M2=(t,e)=>{const n=o.ref([]),i=async(l,a)=>{var x,w;const{url:s,methods:d,headers:f,param:u}=t.value||{},m={...u||{},parentDepartmentId:l||"",name:a||""},p={method:d,url:s,headers:{"Content-Type":"application/json;charset=UTF-8",...f},data:JSON.stringify(m)};O2(p.headers);const c=await pd(p),{success:_,data:g}=c.data;if(!_)return{groupList:[],roleList:[],postList:[],userList:[],rootOrganization:{},rootDepartment:{}};const{departments:h,roles:b,posts:y,users:C,rootOrganization:k,rootDepartment:B}=g,S=k||B;return n.value.length===0&&(n.value[0]=e.org?{...e.org,id:e.elementId,elementType:(w=(x=e.org)==null?void 0:x.elementType)==null?void 0:w.toLocaleUpperCase()}:{...S,id:S.elementId}),{groupList:z._.cloneDeep(h),roleList:z._.cloneDeep(b),postList:z._.cloneDeep(y),userList:z._.cloneDeep(C),rootOrganization:k,rootDepartment:B}};return{handData:i,handSetChild:(l,a)=>{i(l==null?void 0:l.elementId,a)},bannerList:n}},L2={shadow:"hover",class:"sel-list"},z2={key:0},P2=o.createElementVNode("div",{class:"split-div"},null,-1),F2={class:"choose-list"},$2={class:"choose-item"},H2=o.createElementVNode("div",null,"已选",-1),j2={class:"choose-box"},U2={class:"list-group-item"},W2={class:""},G2={class:"avatar_box"},q2={class:"dialog-footer"},Y2=o.defineComponent({__name:"picker",props:I2,emits:["handChild","update:show","update:modelValue","ok","search"],setup(t,{expose:e,emit:n}){o.useCssVars(T=>({"6abbdda2":Qe.value}));const i=t,r=o.ref(""),l=o.ref(""),a=o.ref([]),s=o.ref([]),d=o.ref([]),f=o.ref([]),u=o.ref(!1),m=o.computed(()=>s.value.concat(a.value));o.watch(()=>i.api,()=>{i.show&&x("")});const p=o.computed(()=>({name:"name",type:"type",id:"id",avatar:"avatar",...i.propOption})),c=o.computed(()=>({user:"USER",role:"ROLE",post:"POST",group:"DEPT",...i.typeOption})),_=o.ref([]),g=M2(o.toRef(i,"api"),i),h=g.handData,b=g.bannerList;i.immediate&&h(l.value,r.value);const y=T=>(T.forEach(M=>{var W,q;M.disabled=((q=(W=i.modelValue)==null?void 0:W.find(X=>X[p.value.id]===M[p.value.id]))==null?void 0:q.disabled)||!1}),T),C=async()=>{var T,M,W,q,X,Ze,Sr,fd;u.value=!0;try{if((T=i.groupList)!=null&&T.length||(M=i.userList)!=null&&M.length||(W=i.roleList)!=null&&W.length||(q=i.postList)!=null&&q.length){a.value=(X=i.userList)==null?void 0:X.filter(Ke=>Ke[p.value.name].includes(r.value)),s.value=(Ze=i.groupList)==null?void 0:Ze.filter(Ke=>Ke[p.value.name].includes(r.value)),d.value=(Sr=i.roleList)==null?void 0:Sr.filter(Ke=>Ke[p.value.name].includes(r.value)),f.value=(fd=i.postList)==null?void 0:fd.filter(Ke=>Ke[p.value.name].includes(r.value)),H(),u.value=!1;return}const xe=await h(l.value,r.value);try{a.value=y((xe==null?void 0:xe.userList)||[]),s.value=y((xe==null?void 0:xe.groupList)||[]),d.value=y((xe==null?void 0:xe.roleList)||[]),f.value=y((xe==null?void 0:xe.postList)||[])}catch(Ke){u.value=!1,console.info("error: ",Ke)}H(),u.value=!1}catch{u.value=!1}},k=o.reactive({group:new Map,user:new Map,role:new Map,post:new Map,trans:[],single:""}),B=o.reactive({indeterminate:!1,checkAll:0}),S=T=>k.group.has(T)||k.user.has(T)||k.role.has(T)||k.post.has(T),x=z.ikEvent.debounce(C,300),w=o.computed(()=>{const T=Array.from(k.group.values()),M=Array.from(k.role.values()),W=Array.from(k.user.values()),q=Array.from(k.post.values());return _.value=[...M,...q,...W,...T],{list:[...M,...W,...q,...T],role:{list:M,len:M.length},user:{list:W,len:W.length},post:{list:q,len:q.length},groups:{list:T,len:T.length}}}),N=o.computed(()=>[...i.chooseType.map(W=>W.toLocaleLowerCase())]),D=o.ref([]),O=T=>{D.value=T,D.value.forEach(M=>{M.readonly=M==null?void 0:M.disabled})},V=n,L=o.ref(!1),H=(T=!1)=>{var W;const M=(W=i==null?void 0:i.userList)!=null&&W.length?z._.cloneDeep([...i==null?void 0:i.userList,...i==null?void 0:i.groupList]):[...s.value,...a.value];return!T&&O(M),M};o.watch(()=>i.show,async T=>{var M;if(L.value=T,T){l.value=((M=i.org)==null?void 0:M.elementId)||i.orgPid,!i.userList.length&&!i.groupList.length&&!i.roleList.length&&!i.postList.length?await C():(a.value=i.userList,s.value=i.groupList,d.value=i.roleList,f.value=i.postList),k.trans=[],B.checkAll=0,B.indeterminate=!1;const W=H(!0);for(const X of W)S(X[p.value.id])&&k.trans.push(X[p.value.id]);const q=W.length===k.trans.length;B.indeterminate=!!(W.length&&!q),B.checkAll=Number(W.length&&q),o.nextTick(()=>{var X;(X=i.modelValue)!=null&&X.length?i.modelValue.forEach(Ze=>{ke(Ze),i.multiple?k.trans.push(Ze[p.value.id]):k.single=Ze[p.value.id]}):G()})}else G()}),o.watchEffect(()=>{let T;T=D.value.length;const M=k.trans.length;B.indeterminate=k.trans.length?M!==T:!1,B.checkAll=+(T!==0&&M===T)});const I=T=>{if(T){if(k.single="",T[p.value.id]){const M=k.trans.findIndex(W=>W===T[p.value.id]);M!==-1&&k.trans.splice(M,1)}switch(T[p.value.type]){case c.value.user:return k.user.delete(T[p.value.id]);case c.value.role:return k.role.delete(T[p.value.id]);case c.value.post:return k.post.delete(T[p.value.id]);case c.value.group:return k.group.delete(T[p.value.id]);default:return}}},ee=T=>{I(T)},ke=T=>{if(!S(T[p.value.id])){const M={...T};switch(T[p.value.type]){case c.value.user:return k.group.set(T[p.value.id],M);case c.value.role:return k.role.set(T[p.value.id],M);case c.value.post:return k.post.set(T[p.value.id],M);case c.value.group:return k.group.set(T[p.value.id],M);default:return}}},Ot=T=>[c.value.group].includes(T[p.value.type])?T.hasOwnProperty("disabled"):!1;o.watch(()=>k.trans,T=>{if(!T.length)D.value.forEach(M=>{M.disabled=!1;try{i.multiple&&I(M)}catch{}});else{const M=D.value.filter(q=>!T.includes(q[p.value.id]));for(const q of M)q.disabled=!1,i.multiple&&I(q);const W=D.value.filter(q=>T.includes(q[p.value.id]));for(const q of W)q.disabled=Ot(q),ke(q)}},{deep:!0}),o.watch(()=>k.single,T=>{if(T){const M=D.value.find(W=>W[p.value.id]===T);M&&(k.user.clear(),k.role.clear(),k.post.clear(),k.group.clear(),k.trans=[],o.nextTick(()=>{ke(M)}))}});const Nn=T=>{l.value=T==null?void 0:T.elementId,C(),b.value.push(T)},Mt=o.computed(()=>b.value.length),ce=(T,M)=>{!M&&!i.topLink||M!==Mt.value-1&&(l.value=T==null?void 0:T.elementId,C(),b.value.splice(M+1))},R=o.computed(()=>i.chooseType.includes("role")&&i.chooseType.length===1),Y=o.computed(()=>i.chooseType.includes("post")&&i.chooseType.length===1),U=o.ref(i.tabs[0]),$=o.ref(i.tabs[0]);o.watchEffect(()=>($.value=R.value?i.tabs[1]:Y.value?i.tabs[2]:U.value,$.value));const G=()=>{k.user.clear(),k.role.clear(),k.post.clear(),k.group.clear(),k.trans=[],zt.value=[],De.value=[],U.value=i.tabs[0],$.value=i.tabs[0],r.value="",l.value=i.orgPid,b.value.splice(1,b.value.length),k.single="",_.value=[]},le=()=>{var T;V("ok",z._.cloneDeep({...w.value,sort:_.value})),V("update:modelValue",z._.cloneDeep(((T=w.value)==null?void 0:T.list)||[])),V("update:show",!1),G()},ae=()=>{V("update:show",!1),G()};e({handClear:G,handRomeve:ee,handDelete:I});const te=o.computed(()=>{const T=N.value;return!!((T.includes("post")||T.includes("role"))&&T.length>1)}),ne=o.computed(()=>[{name:"group",label:"组织架构"},{name:"role",label:"角色列表"},{name:"post",label:"岗位列表"}].filter(T=>i.tabs.includes(T.name))),Qe=o.computed(()=>`${typeof i.height=="string"?Number.parseInt(i.height):i.height}px`),Lt=()=>{i.multiple||(k.post.clear(),k.role.clear(),k.user.clear(),k.group.clear(),k.single="")},nn=o.ref([]),Tn=(T,M)=>{i.multiple||(k.single="");const W=i.multiple?T:[T];if(!W.length){k.group.clear();return}Lt(),M.forEach(q=>{W!=null&&W.includes(q[p.value.id])?ke(q):I(q)})};o.watch(()=>w.value.groups.len,T=>{nn.value=z._.cloneDeep(w.value.groups.list)});const zt=o.ref([]),ht=(T,M)=>{i.multiple||(k.single="");const W=i.multiple?T:[T];if(!W.length){k.role.clear();return}Lt(),M.forEach(q=>{W!=null&&W.includes(q[p.value.id])?ke(q):I(q)})};o.watch(()=>w.value.role.len,T=>{zt.value=z._.cloneDeep(w.value.role.list)});const De=o.ref([]),mt=(T,M)=>{i.multiple||(k.single="");const W=i.multiple?T:[T];if(!W.length){k.post.clear();return}Lt(),M.forEach(q=>{W!=null&&W.includes(q[p.value.id])?ke(q):I(q)})};return o.watch(()=>w.value.post.len,T=>{De.value=z._.cloneDeep(w.value.post.list)}),o.watch(()=>r.value,T=>{x("")}),(T,M)=>{const W=o.resolveComponent("el-tab-pane"),q=o.resolveComponent("el-tabs");return o.openBlock(),o.createBlock(o.unref(A.ElDialog),{modelValue:L.value,"onUpdate:modelValue":M[2]||(M[2]=X=>L.value=X),title:T.title,"destroy-on-close":"","close-on-click-modal":!1,"close-on-click-escape":!1,draggable:"","align-center":"",width:typeof T.width=="string"?T.width:`${T.width}%`,class:"p_p_picker-dialog","modal-class":"p_p_picker-dialog-modal-user",onClose:ae},{footer:o.withCtx(()=>[o.createElementVNode("span",q2,[o.createVNode(o.unref(A.ElButton),{onClick:o.withModifiers(ae,["stop"])},{default:o.withCtx(()=>[o.createTextVNode("取消")]),_:1}),o.createVNode(o.unref(A.ElButton),{type:"primary",onClick:o.withModifiers(le,["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 确定 ")]),_:1})])]),default:o.withCtx(()=>[o.createElementVNode("div",{class:"dep-use-picker",style:o.normalizeStyle({height:Qe.value})},[o.createElementVNode("div",L2,[o.createElementVNode("div",null,[o.createVNode(o.unref(A.ElInput),{modelValue:r.value,"onUpdate:modelValue":M[0]||(M[0]=X=>r.value=X),clearable:"",placeholder:T.placeholder,"suffix-icon":Ay},null,8,["modelValue","placeholder"]),te.value?(o.openBlock(),o.createBlock(q,{key:0,modelValue:U.value,"onUpdate:modelValue":M[1]||(M[1]=X=>U.value=X),class:"ik-picker-tab"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(ne.value,X=>(o.openBlock(),o.createBlock(W,{label:X.label,name:X.name,key:X.label},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):o.createCommentVNode("v-if",!0)]),o.createCommentVNode(" 过滤 "),$.value===o.unref(bn).group?(o.openBlock(),o.createElementBlock("div",z2,[o.createCommentVNode(" 面包屑 全选 "),o.createVNode(o.unref(A.ElBreadcrumb),{separator:">",class:o.normalizeClass(["banner",{"top-unlink":!T.topLink}])},{default:o.withCtx(()=>[Mt.value?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(o.unref(b),(X,Ze)=>(o.openBlock(),o.createBlock(o.unref(A.ElBreadcrumbItem),{key:X[p.value.id],onClick:o.withModifiers(Sr=>ce(X,Ze),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(X[p.value.name]),1)]),_:2},1032,["onClick"]))),128)):o.createCommentVNode("v-if",!0)]),_:1},8,["class"])])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 左侧列表 "),o.createCommentVNode(" 组织架构 "),$.value===o.unref(bn).group?o.withDirectives((o.openBlock(),o.createBlock(d2,{key:1,fixPropOpt:p.value,fixTypeOpt:c.value,list:m.value,max:T.max,multiple:T.multiple,"hand-list":nn.value,imageBaseUrl:i.imageBaseUrl,emptyText:i.emptyText,children:i.children,onHandChild:Nn,onChange:Tn},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText","children"])),[[o.unref(A.vLoading),u.value]]):$.value===o.unref(bn).role?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[o.createCommentVNode(" 角色 "),o.withDirectives(o.createVNode(R2,{fixPropOpt:p.value,fixTypeOpt:c.value,list:d.value,max:T.max,multiple:T.multiple,"hand-list":zt.value,imageBaseUrl:i.imageBaseUrl,emptyText:i.emptyText,onChange:ht},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText"]),[[o.unref(A.vLoading),u.value]])],64)):$.value===o.unref(bn).post?(o.openBlock(),o.createElementBlock(o.Fragment,{key:3},[o.createCommentVNode(" 岗位 "),o.withDirectives(o.createVNode(E2,{fixPropOpt:p.value,fixTypeOpt:c.value,list:f.value,max:T.max,multiple:T.multiple,"hand-list":De.value,imageBaseUrl:i.imageBaseUrl,emptyText:i.emptyText,onChange:mt},null,8,["fixPropOpt","fixTypeOpt","list","max","multiple","hand-list","imageBaseUrl","emptyText"]),[[o.unref(A.vLoading),u.value]])],64)):o.createCommentVNode("v-if",!0)]),P2,o.createCommentVNode(" 已选列表 "),o.createElementVNode("div",F2,[o.createElementVNode("div",$2,[H2,o.createVNode(o.unref(A.ElButton),{type:"primary",link:"",onClick:o.withModifiers(G,["stop"])},{default:o.withCtx(()=>[o.createTextVNode("清空")]),_:1})]),o.createElementVNode("ul",j2,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(_.value,X=>(o.openBlock(),o.createElementBlock("li",U2,[o.createElementVNode("div",W2,[o.createCommentVNode(" icon前缀 "),o.createElementVNode("div",G2,[o.createVNode(xt,{fixTypeOpt:c.value,fixPropOpt:p.value,element:X,imageBaseUrl:i.imageBaseUrl},null,8,["fixTypeOpt","fixPropOpt","element","imageBaseUrl"])]),o.createElementVNode("span",null,o.toDisplayString(X[p.value.name]),1)]),o.withDirectives(o.createVNode(Vy,{class:"close",onClick:o.withModifiers(Ze=>ee(X),["stop"])},null,8,["onClick"]),[[o.vShow,!(X!=null&&X.readonly)]])]))),256))])])],4)]),_:1},8,["modelValue","title","width"])}}}),Fw="",En=oe(Y2),$w="",Q2=oe(o.defineComponent({name:"IkBtnContent",components:{MoreFilled:Ir},props:{num:{type:Number,default:3},trigger:{type:String,default:"click"},placement:{type:String,default:"bottom"}},setup(t,{slots:e,attrs:n}){const i=o.ref(null),r=o.ref(0),l=a=>a==null?void 0:a.filter(s=>typeof s.children!="string");return o.watchEffect(()=>{var a,s,d;i.value=(s=(a=e.default)==null?void 0:a.call(e))==null?void 0:s.filter(f=>typeof f.children!="string"),r.value=((d=i.value)==null?void 0:d.length)||0}),()=>{var a,s;return o.createVNode("div",{class:"flex"},[(s=l((a=e.default)==null?void 0:a.call(e)))==null?void 0:s.map((d,f)=>f+1>t.num?null:d),r.value>t.num?o.createVNode(o.resolveComponent("el-dropdown"),{trigger:t.trigger,"popper-class":"gl-btn-content"},{default:()=>o.createVNode(o.resolveComponent("el-icon"),{title:"更多",class:"ml-[12px] more-operate"},{default:()=>[o.createVNode(Ir,null,null)]}),dropdown:()=>o.createVNode(o.resolveComponent("el-dropdown-menu"),null,{default:()=>{var d,f;return[r.value>t.num?(f=l((d=e.default)==null?void 0:d.call(e)))==null?void 0:f.map((u,m)=>m<t.num?null:o.createVNode(o.resolveComponent("el-dropdown-item"),null,{default:()=>{var p,c;return[o.withDirectives(o.createVNode(o.resolveComponent("el-button"),o.mergeProps(u==null?void 0:u.props,{link:!0}),{default:()=>{var _,g;return[((_=u==null?void 0:u.props)==null?void 0:_.title)||((g=u==null?void 0:u.props)==null?void 0:g.label)]}}),[[o.resolveDirective("role"),(c=(p=u==null?void 0:u.dirs)==null?void 0:p[0])==null?void 0:c.value]])]}})):null]}})}):null])}}})),Z2=o.defineComponent({__name:"index",props:{title:{type:String,default:""},type:{type:String,default:"success"},color:{type:String,default:""},background:{type:String,default:""},effect:{type:String,default:"light"},circle:{type:Boolean,default:!1},circleW:{type:Number,default:8},circleH:{type:Number,default:8},borderWidth:{type:Number,default:1},borderType:{type:String,default:"solid"}},setup(t){const e=t,n=o.computed(()=>e.type?"":{color:e.color,backgroundColor:e.background,borderColor:e.color});return(i,r)=>{const l=o.resolveComponent("el-tag");return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createCommentVNode(' <div :style="{ border: `${borderWidth}px ${borderType} ${comColor}` }">\r\n <span :style="{ backgroundColor: comColor }"></span>\r\n <p>{{ title }}</p>\r\n </div> '),o.createVNode(l,{effect:t.effect,class:"ik-statu-tag",type:t.type,style:o.normalizeStyle(n.value)},{default:o.withCtx(()=>[t.circle?(o.openBlock(),o.createElementBlock("span",{key:0,class:"inline-block rounded-full",style:o.normalizeStyle({backgroundColor:`var(--el-color-${t.type})`,width:`${t.circleW}px`,height:`${t.circleH}px`})},null,4)):o.createCommentVNode("v-if",!0),o.createTextVNode(" "+o.toDisplayString(t.title),1)]),_:1},8,["effect","type","style"])],2112)}}}),Uw="",K2=oe(K(Z2,[["__scopeId","data-v-241ac18b"]])),X2=oe(o.defineComponent({__name:"index",props:{effect:{type:String,default:"dark"},content:{type:String,default:""},placement:{type:String,default:"bottom-start"}},setup(t){const e=t,n=o.computed(()=>e.effect);return(i,r)=>{const l=o.resolveComponent("el-tooltip");return o.openBlock(),o.createBlock(l,{class:"gl-tooltip",effect:n.value,content:t.content,placement:t.placement,enterable:!1},{default:o.withCtx(()=>[o.renderSlot(i.$slots,"default")]),_:3},8,["effect","content","placement"])}}})),J2=(t=>(o.pushScopeId("data-v-eb2bacf7"),t=t(),o.popScopeId(),t))(()=>o.createElementVNode("i",{class:"ik ik-shezhi"},null,-1)),eb={class:"check-right"},tb={class:"dialog-footer"},nb=o.defineComponent({__name:"IkBtnSetting",props:o.mergeModels({list:{type:Array,default:()=>[]},tab:{type:[String,Number],default:""},type:{type:String,default:"primary"},btnType:{type:String,default:"icon"},circle:{type:Boolean,default:!0},inline:{type:Boolean,default:!1},role:{type:String,default:""},config:{type:Object,default:()=>({t:t=>t,dialog:{l:"700px",sl:"600px"},path:"user_0",user:{id:"111"}})}},{modelValue:{type:Array,default:()=>[]},modelModifiers:{}}),emits:o.mergeModels(["sort"],["update:modelValue"]),setup(t,{emit:e}){const n=t,i=e,r=o.useModel(t,"modelValue"),{t:l,dialog:a,path:s,user:d}=n.config,f=o.computed(()=>`${d==null?void 0:d.id}_${s}${n.tab!==""?`_${n.tab}`:""}`),u=o.ref([]),m=o.ref([]),p=o.ref([]),c=new Map,_=o.ref(!1),g=o.computed(()=>{const x=m.value.length&&m.value.length!==n.list.length;return!x&&m.value.length&&(_.value=!0),!!x}),h=x=>{var N;const w=z._.cloneDeep(p.value);w==null||w.forEach(D=>{var O;if(!m.value.length)p.value=[];else if(!m.value.includes(D==null?void 0:D.key)){const V=(O=p.value)==null?void 0:O.findIndex(L=>L.key===D.key);V!==-1&&p.value.splice(V,1),D.show=!1,c.set(D.key,D)}}),m.value.forEach(D=>{var V;if(((V=p.value)==null?void 0:V.findIndex(L=>(L==null?void 0:L.key)===D))===-1){const L=c.get(D);L&&(L.show=!0,p.value.push(L))}}),(N=p.value)!=null&&N.length||(p.value=z._.cloneDeep(n.list)),x===!0&&(i("sort",z._.cloneDeep(p.value)),r.value=z._.cloneDeep(p.value))},b=x=>{if(x)m.value=n.list.map(w=>w.key);else{const w=n.list.find(N=>!N.key||N.label==="操作");m.value=w?[w.key]:[]}h()},y=()=>{const x=z.ikStore.local.getItem(f.value);try{const w=z._.cloneDeep(n==null?void 0:n.list);if((!x||!(x!=null&&x.length))&&z.ikStore.local.setItem(f.value,w.map(({show:N,type:D,key:O,label:V,width:L,minWidth:H,align:I})=>({show:N,key:O,type:D,label:V,width:L,minWidth:H,align:I}))),u.value=[...(w==null?void 0:w.map(N=>(c.set(N.key,N),{...N,show:N.show||!1})))||[]],x){const N=x.filter(D=>D.show).map(D=>D.key);m.value=[...N]}else{const N=u.value.filter(D=>D.show);m.value=N.map(D=>D.key)}h(!0)}catch(w){console.info("error: ",w)}};y(),o.watch(()=>n.list,()=>{y()},{deep:!0});const C=o.ref(!1),k=()=>{C.value=!0},B=x=>{p.value=x},S=()=>{C.value=!1,z.ikStore.local.setItem(f.value,p.value.map(({show:x,key:w,label:N,value:D,width:O,minWidth:V,align:L})=>({show:x,key:w,label:N,value:D,width:O,minWidth:V,align:L}))),console.log("sortList ",p),i("sort",z._.cloneDeep(p.value)),r.value=z._.cloneDeep(p.value)};return(x,w)=>{const N=o.resolveComponent("el-button"),D=o.resolveComponent("el-checkbox"),O=o.resolveComponent("el-checkbox-group"),V=o.resolveComponent("el-dialog"),L=o.resolveDirective("role");return o.openBlock(),o.createElementBlock(o.Fragment,null,[t.btnType==="button"?o.withDirectives((o.openBlock(),o.createBlock(N,o.mergeProps({key:0},x.$attrs,{circle:t.circle,type:t.type,style:{minWidth:t.circle?"40px":"",minHeight:t.circle?"40px":""},onClick:k}),o.createSlots({icon:o.withCtx(()=>[J2]),_:2},[t.circle?void 0:{name:"default",fn:o.withCtx(()=>[o.createCommentVNode(' {{ t("action.setting") }} '),o.createTextVNode(" "+o.toDisplayString(o.unref(l)("设置")),1)]),key:"0"}]),1040,["circle","type","style"])),[[L,x.$props.role]]):o.createCommentVNode("v-if",!0),t.btnType==="icon"?o.withDirectives((o.openBlock(),o.createBlock(o.unref(ue),o.mergeProps({key:1,name:"iksvg_shezhi-daohang","show-bg":"",size:"default"},x.$attrs,{onClick:k}),null,16)),[[L,x.$props.role]]):o.createCommentVNode("v-if",!0),o.createVNode(V,{modelValue:C.value,"onUpdate:modelValue":w[3]||(w[3]=H=>C.value=H),draggable:"",width:t.inline?o.unref(a).l:o.unref(a).sl,"close-on-click-modal":!1,"close-on-press-escape":!1,title:"显示字段","append-to-body":"",onOpen:y},{footer:o.withCtx(()=>[o.createElementVNode("div",tb,[o.createVNode(N,{onClick:w[2]||(w[2]=H=>C.value=!1)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(l)("关闭"))+" ",1),o.createCommentVNode(' {{ t("action.close") }} ')]),_:1}),o.createVNode(N,{type:"primary",disabled:p.value.length<2,onClick:S},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(p.value.length<2?"至少选择一个字段":o.unref(l)("确定")),1)]),_:1},8,["disabled"])])]),default:o.withCtx(()=>[o.createElementVNode("div",{class:o.normalizeClass(["view-fields",[t.inline?null:"un-inline"]])},[o.createElementVNode("div",{style:o.normalizeStyle({flex:t.inline?2:1})},[o.createVNode(D,{modelValue:_.value,"onUpdate:modelValue":w[0]||(w[0]=H=>_.value=H),class:"single-line",indeterminate:g.value,onChange:b},{default:o.withCtx(()=>[o.createTextVNode(" 全选 ")]),_:1},8,["modelValue","indeterminate"]),o.createVNode(O,{modelValue:m.value,"onUpdate:modelValue":w[1]||(w[1]=H=>m.value=H),onChange:h},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,H=>(o.openBlock(),o.createBlock(D,{key:H.key,disabled:!H.key,label:H.key},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(H.label),1)]),_:2},1032,["disabled","label"]))),128))]),_:1},8,["modelValue"])],4),o.createElementVNode("div",eb,[o.createVNode(o.unref(Js),{list:p.value,"item-style":{bottom:4},onChange:B},null,8,["list"])])],2)]),_:1},8,["modelValue","width"])],64)}}}),Yw="",Ks=oe(K(nb,[["__scopeId","data-v-eb2bacf7"]])),Xs={animation:200,group:"gl",disabled:!1,ghostClass:"ghost",sort:!0,delay:100,showIcon:!0,itemStyle:{radius:4,bottom:8,background:"var(--ik-sub-sidebar-menu-bg)"}},ob={list:{required:!0,type:Array,default:[]},group:{type:String,default:"draggable"},sort:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},delay:{type:Number,default:0},touchStartThreshold:{type:Number,default:0},disabled:{type:Boolean,default:!1},animation:{type:Number,default:200},handle:{type:String,default:".mover"},filter:{type:String,default:".unmover"},draggable:{type:String,default:".item"},ghostClass:{type:String,default:"ghost"},chosenClass:{type:String,default:"chosen"},dragClass:{type:String,default:"drag"},forceFallback:{type:Boolean,default:!1},fallbackClass:{type:String,default:"fallback"},fallbackOnBody:{type:Boolean,default:!1},fallbackTolerance:{type:Number,default:8},scroll:{type:Boolean,default:!0},scrollFn:{type:Function,default:()=>{}},scrollFensitivity:{type:Number,default:30},scrollSpeed:{type:Number,default:30},itemClass:{type:String,default:""},groupClass:{type:String,default:""},itemStyle:{type:Object,default:()=>({radius:{type:Number,default:30},bottom:{type:Number,default:8},background:{type:String,default:"var(--ik-sub-sidebar-menu-bg)"}})}},ib=o.defineComponent({__name:"IkDragList",props:ob,emits:["change"],setup(t,{emit:e}){const n=t,i=e,r=o.ref([]);o.watch(()=>n.list,f=>{r.value=z._.cloneDeep(f)},{immediate:!0,deep:!0});const l=o.computed(()=>({...Xs,...n,itemStyle:{...Xs.itemStyle,...n.itemStyle}})),a=o.ref(!1),s=()=>{a.value=!0},d=f=>{a.value=!1;const u=n.list[f.oldIndex];i("change",r.value,{...u,oldIndex:f.oldIndex,newIndex:f.newIndex})};return(f,u)=>{const m=o.resolveComponent("el-icon");return o.openBlock(),o.createBlock(o.unref(hd),{modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=p=>r.value=p),class:o.normalizeClass(["list-group",[l.value.groupClass]]),tag:"ul",attrs:l.value,animation:l.value.animation,group:l.value.group,disabled:l.value.disabled,"ghost-class":l.value.ghostClass,"force-fallback":l.value.ghostClass,"item-key":"order",onStart:s,onEnd:d},{item:o.withCtx(({element:p})=>[o.createVNode(o.Transition,{type:"transition",name:"flip-list"},{default:o.withCtx(()=>[f.$slots.item?o.renderSlot(f.$slots,"item",{key:0,item:p},void 0,!0):(o.openBlock(),o.createElementBlock("li",{key:1,class:o.normalizeClass(["list-group-item",[l.value.itemClass]]),style:o.normalizeStyle({borderRadius:`${l.value.itemStyle.radius}px`,marginBottom:`${l.value.itemStyle.bottom}px`,backgroundColor:`${l.value.itemStyle.background}`})},[l.value.showIcon&&!f.$slots.icon?(o.openBlock(),o.createBlock(m,{key:0},{default:o.withCtx(()=>[o.createVNode(o.unref(xd))]),_:1})):o.renderSlot(f.$slots,"icon",{key:1},void 0,!0),o.createTextVNode(" "+o.toDisplayString(p.label),1)],6))]),_:2},1024)]),_:3},8,["modelValue","class","attrs","animation","group","disabled","ghost-class","force-fallback"])}}}),Zw="",Js=oe(K(ib,[["__scopeId","data-v-3716c05e"]])),rb=o.defineComponent({__name:"CloseIcon",setup(t){return(e,n)=>(o.openBlock(),o.createBlock(o.unref(ue),{name:"iksvg_guanbidanchuang",warning:"",title:"关闭"}))}}),Xw="",lb=K(rb,[["__scopeId","data-v-c39a4108"]]),ab=oe(o.defineComponent({__name:"IkBaseDialog",props:o.mergeModels({title:{default:""},cancelText:{default:"取消"},confirmText:{default:"确认"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue"),n=o.ref(!1),i=()=>{n.value=!n.value};return(r,l)=>{const a=o.resolveComponent("IkSvgIcon"),s=o.resolveComponent("el-dialog");return o.openBlock(),o.createBlock(s,o.mergeProps({modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=d=>e.value=d)},r.$attrs,{"close-icon":lb,fullscreen:n.value}),o.createSlots({header:o.withCtx(()=>[o.createElementVNode("div",null,[o.renderSlot(r.$slots,"header",{},()=>[o.createTextVNode(o.toDisplayString(r.title),1)])]),r.$attrs.showClose?(o.openBlock(),o.createBlock(a,{key:0,onClick:i,name:n.value?"iksvg_tuichuquanping":"iksvg_quanping-daohang",class:"absolute! top-[18px] right-[50px] icon-dialog-full",title:n.value?"退出全屏":"全屏"},null,8,["name","title"])):o.createCommentVNode("v-if",!0)]),default:o.withCtx(()=>[o.renderSlot(r.$slots,"default")]),_:2},[r.$slots.footer?{name:"footer",fn:o.withCtx(()=>[o.renderSlot(r.$slots,"footer")]),key:"0"}:void 0]),1040,["modelValue","fullscreen"])}}})),Ki={id:"4383166",name:"中台-双色图标",font_family:"iconfont",css_prefix_text:"iksvg_",description:"",glyphs:[{icon_id:"39724789",name:"停用",font_class:"tingyong2",unicode:"e6d8",unicode_decimal:59096},{icon_id:"39724779",name:"编辑",font_class:"bianji1",unicode:"e6d9",unicode_decimal:59097},{icon_id:"39724780",name:"移动",font_class:"yidong",unicode:"e6da",unicode_decimal:59098},{icon_id:"39724778",name:"下载",font_class:"xiazai2",unicode:"e6db",unicode_decimal:59099},{icon_id:"39720820",name:"关闭弹窗",font_class:"guanbidanchuang",unicode:"e6cd",unicode_decimal:59085},{icon_id:"705695",name:"眼睛",font_class:"yanjing",unicode:"e62b",unicode_decimal:58923},{icon_id:"1511006",name:"星星",font_class:"xingxing",unicode:"e602",unicode_decimal:58882},{icon_id:"9591222",name:"收藏",font_class:"shoucang",unicode:"e601",unicode_decimal:58881},{icon_id:"15640548",name:"取消收藏",font_class:"quxiaoshoucang",unicode:"e621",unicode_decimal:58913},{icon_id:"35556399",name:"取消固定",font_class:"quxiaoguding",unicode:"e6f6",unicode_decimal:59126},{icon_id:"36537322",name:"固定",font_class:"guding",unicode:"e6c7",unicode_decimal:59079},{icon_id:"27732960",name:"月亮",font_class:"yueliang",unicode:"e689",unicode_decimal:59017},{icon_id:"38956241",name:"消息模板",font_class:"xiaoximoban",unicode:"e6d7",unicode_decimal:59095},{icon_id:"38953952",name:"组织管理",font_class:"zuzhiguanli",unicode:"e6d6",unicode_decimal:59094},{icon_id:"38921721",name:"流程表单",font_class:"liuchengbiaodan",unicode:"e6ce",unicode_decimal:59086},{icon_id:"38153077",name:"设备管理 2",font_class:"a-shebeiguanli2",unicode:"e750",unicode_decimal:59216},{icon_id:"38153087",name:"巡线系统",font_class:"xunxianxitong",unicode:"e751",unicode_decimal:59217},{icon_id:"38153082",name:"隐患报表",font_class:"yinhuanbaobiao",unicode:"e752",unicode_decimal:59218},{icon_id:"38153079",name:"第三方施工管理",font_class:"disanfangshigongguanli",unicode:"e753",unicode_decimal:59219},{icon_id:"38153080",name:"考勤规则",font_class:"kaoqinguize",unicode:"e754",unicode_decimal:59220},{icon_id:"38153074",name:"人员监控",font_class:"renyuanjiankong",unicode:"e755",unicode_decimal:59221},{icon_id:"38153081",name:"应急预案管理",font_class:"yingjiyuanguanli",unicode:"e756",unicode_decimal:59222},{icon_id:"38153078",name:"维护保养",font_class:"weihubaoyang",unicode:"e757",unicode_decimal:59223},{icon_id:"38153075",name:"事故管理",font_class:"shiguguanli",unicode:"e758",unicode_decimal:59224},{icon_id:"38153076",name:"审批配置、巡线计划",font_class:"xunxianjihua1",unicode:"e759",unicode_decimal:59225},{icon_id:"38153073",name:"考勤统计",font_class:"kaoqintongji",unicode:"e75a",unicode_decimal:59226},{icon_id:"38153097",name:"隐患管理",font_class:"yinhuanguanli1",unicode:"e742",unicode_decimal:59202},{icon_id:"38153096",name:"型号管理",font_class:"xinghaoguanli",unicode:"e743",unicode_decimal:59203},{icon_id:"38153095",name:"设备管理",font_class:"shebeiguanli1",unicode:"e744",unicode_decimal:59204},{icon_id:"38153092",name:"证照管理",font_class:"zhengzhaoguanli",unicode:"e745",unicode_decimal:59205},{icon_id:"38153094",name:"SCAD场站监控",font_class:"SCADchangzhanjiankong",unicode:"e746",unicode_decimal:59206},{icon_id:"38153093",name:"巡线报表",font_class:"xunxianbaobiao",unicode:"e747",unicode_decimal:59207},{icon_id:"38153085",name:"视频管理",font_class:"shipinguanli",unicode:"e748",unicode_decimal:59208},{icon_id:"38153090",name:"证件管理",font_class:"zhengjianguanli",unicode:"e749",unicode_decimal:59209},{icon_id:"38153091",name:"维护报表",font_class:"weihubaobiao",unicode:"e74a",unicode_decimal:59210},{icon_id:"38153084",name:"视频配置",font_class:"shipinpeizhi",unicode:"e74b",unicode_decimal:59211},{icon_id:"38153089",name:"推送记录、预案管理",font_class:"yuanguanli",unicode:"e74c",unicode_decimal:59212},{icon_id:"38153088",name:"视频监控",font_class:"shipinjiankong",unicode:"e74d",unicode_decimal:59213},{icon_id:"38153083",name:"GIS管网系统",font_class:"GISguanwangxitong",unicode:"e74e",unicode_decimal:59214},{icon_id:"38153086",name:"车辆轨迹",font_class:"cheliangguiji",unicode:"e74f",unicode_decimal:59215},{icon_id:"37811065",name:"停用",font_class:"tingyong1",unicode:"e776",unicode_decimal:59254},{icon_id:"37810944",name:"停用",font_class:"tingyong",unicode:"e775",unicode_decimal:59253},{icon_id:"37809704",name:"启用",font_class:"qiyong",unicode:"e772",unicode_decimal:59250},{icon_id:"37768743",name:"复制",font_class:"fuzhi",unicode:"e741",unicode_decimal:59201},{icon_id:"37648812",name:"隐藏",font_class:"yincang",unicode:"e740",unicode_decimal:59200},{icon_id:"37428721",name:"知识库",font_class:"zhishiku",unicode:"e739",unicode_decimal:59193},{icon_id:"37428720",name:"巡线计划",font_class:"xunxianjihua",unicode:"e73a",unicode_decimal:59194},{icon_id:"37428719",name:"维保管理",font_class:"weibaoguanli",unicode:"e73b",unicode_decimal:59195},{icon_id:"37428718",name:"系统管理",font_class:"xitongguanli1",unicode:"e73c",unicode_decimal:59196},{icon_id:"37428717",name:"隐患管理",font_class:"yinhuanguanli",unicode:"e73d",unicode_decimal:59197},{icon_id:"37428716",name:"设备管理",font_class:"shebeiguanli",unicode:"e73e",unicode_decimal:59198},{icon_id:"37428715",name:"考勤管理",font_class:"kaoqinguanli",unicode:"e73f",unicode_decimal:59199},{icon_id:"37033301",name:"卡片",font_class:"kapian",unicode:"e738",unicode_decimal:59192},{icon_id:"37033317",name:"功能设计",font_class:"gongnengsheji",unicode:"e72c",unicode_decimal:59180},{icon_id:"37033319",name:"用户管理",font_class:"yonghuguanli",unicode:"e72d",unicode_decimal:59181},{icon_id:"37033316",name:"审批列表",font_class:"shenpiliebiao",unicode:"e72e",unicode_decimal:59182},{icon_id:"37033311",name:"菜单管理",font_class:"caidanguanli",unicode:"e72f",unicode_decimal:59183},{icon_id:"37033313",name:"参数管理",font_class:"canshuguanli",unicode:"e730",unicode_decimal:59184},{icon_id:"37033314",name:"日志管理",font_class:"rizhiguanli",unicode:"e731",unicode_decimal:59185},{icon_id:"37033315",name:"数据源管理",font_class:"shujuyuanguanli",unicode:"e732",unicode_decimal:59186},{icon_id:"37033310",name:"审批中心",font_class:"shenpizhongxin",unicode:"e733",unicode_decimal:59187},{icon_id:"37033312",name:"角色管理",font_class:"jiaoseguanli",unicode:"e734",unicode_decimal:59188},{icon_id:"37033304",name:"二维码",font_class:"erweima",unicode:"e735",unicode_decimal:59189},{icon_id:"37033303",name:"地址",font_class:"dizhi",unicode:"e736",unicode_decimal:59190},{icon_id:"37033302",name:"GIS",font_class:"GIS",unicode:"e737",unicode_decimal:59191},{icon_id:"37033323",name:"开发工具",font_class:"kaifagongju",unicode:"e6aa",unicode_decimal:59050},{icon_id:"37033324",name:"字典管理",font_class:"zidianguanli",unicode:"e6ae",unicode_decimal:59054},{icon_id:"37033325",name:"租户管理",font_class:"zuhuguanli",unicode:"e6bc",unicode_decimal:59068},{icon_id:"37033322",name:"岗位管理",font_class:"gangweiguanli",unicode:"e728",unicode_decimal:59176},{icon_id:"37033321",name:"系统管理",font_class:"xitongguanli",unicode:"e729",unicode_decimal:59177},{icon_id:"37033320",name:"部门管理",font_class:"bumenguanli",unicode:"e72a",unicode_decimal:59178},{icon_id:"37033318",name:"设置",font_class:"shenpipeizhi",unicode:"e72b",unicode_decimal:59179},{icon_id:"37012624",name:"通用2",font_class:"tongyong2",unicode:"e723",unicode_decimal:59171},{icon_id:"37012622",name:"通用1",font_class:"tongyong1",unicode:"e724",unicode_decimal:59172},{icon_id:"37012623",name:"通用3",font_class:"tongyong3",unicode:"e725",unicode_decimal:59173},{icon_id:"37012621",name:"通用5",font_class:"tongyong5",unicode:"e726",unicode_decimal:59174},{icon_id:"37012620",name:"通用4",font_class:"tongyong4",unicode:"e727",unicode_decimal:59175},{icon_id:"1268",name:"减",font_class:"jian",unicode:"e600",unicode_decimal:58880},{icon_id:"36715193",name:"减-copy",font_class:"jian-copy",unicode:"e722",unicode_decimal:59170},{icon_id:"36651388",name:"评论",font_class:"pinglun",unicode:"e717",unicode_decimal:59159},{icon_id:"36651387",name:"拒绝",font_class:"jujue",unicode:"e718",unicode_decimal:59160},{icon_id:"36651383",name:"同意",font_class:"tongyi",unicode:"e719",unicode_decimal:59161},{icon_id:"36651384",name:"发起",font_class:"faqi",unicode:"e71a",unicode_decimal:59162},{icon_id:"36651382",name:"退回",font_class:"tuihui",unicode:"e71b",unicode_decimal:59163},{icon_id:"36651385",name:"加签",font_class:"jiaqian",unicode:"e71c",unicode_decimal:59164},{icon_id:"36651386",name:"转交",font_class:"zhuanjiao",unicode:"e71d",unicode_decimal:59165},{icon_id:"36651381",name:"等待",font_class:"dengdai",unicode:"e71e",unicode_decimal:59166},{icon_id:"36649809",name:"中英文-导航",font_class:"zhongyingwen-daohang",unicode:"e6d5",unicode_decimal:59093},{icon_id:"36649527",name:"全屏-导航",font_class:"quanping-daohang",unicode:"e6d0",unicode_decimal:59088},{icon_id:"36649526",name:"消息-导航",font_class:"xiaoxi-daohang",unicode:"e6d1",unicode_decimal:59089},{icon_id:"36649523",name:"搜索-导航",font_class:"sousuo-daohang",unicode:"e6d2",unicode_decimal:59090},{icon_id:"36649524",name:"刷新-导航",font_class:"shuaxin-daohang",unicode:"e6d3",unicode_decimal:59091},{icon_id:"36649525",name:"切换-导航",font_class:"qiehuan-daohang",unicode:"e6d4",unicode_decimal:59092},{icon_id:"36649529",name:"太阳-导航",font_class:"taiyang-daohang",unicode:"e679",unicode_decimal:59001},{icon_id:"36649528",name:"设置-导航",font_class:"shezhi-daohang",unicode:"e6cf",unicode_decimal:59087},{icon_id:"36058666",name:"更多",font_class:"gengduo1",unicode:"e6be",unicode_decimal:59070},{icon_id:"36058667",name:"上移",font_class:"shangyi",unicode:"e6bf",unicode_decimal:59071},{icon_id:"36058668",name:"关闭备份",font_class:"guanbibeifen",unicode:"e6c0",unicode_decimal:59072},{icon_id:"36058669",name:"下移",font_class:"xiayi",unicode:"e6c1",unicode_decimal:59073},{icon_id:"36058670",name:"右移",font_class:"youyi",unicode:"e6c2",unicode_decimal:59074},{icon_id:"36058671",name:"展开",font_class:"zhankai",unicode:"e6c3",unicode_decimal:59075},{icon_id:"36058672",name:"返回",font_class:"fanhui",unicode:"e6c4",unicode_decimal:59076},{icon_id:"36058673",name:"关闭",font_class:"guanbi",unicode:"e6c5",unicode_decimal:59077},{icon_id:"36058674",name:"左移",font_class:"zuoyi",unicode:"e6c6",unicode_decimal:59078},{icon_id:"36058676",name:"菜单展开",font_class:"caidanzhankai",unicode:"e6c8",unicode_decimal:59080},{icon_id:"36058677",name:"刷新",font_class:"shuaxin2",unicode:"e6c9",unicode_decimal:59081},{icon_id:"36058678",name:"菜单收起",font_class:"caidanshouqi",unicode:"e6ca",unicode_decimal:59082},{icon_id:"36058679",name:"重置",font_class:"zhongzhi1",unicode:"e6cb",unicode_decimal:59083},{icon_id:"36058680",name:"行高设置",font_class:"hanggaoshezhi",unicode:"e6cc",unicode_decimal:59084},{icon_id:"36058554",name:"电脑",font_class:"diannao",unicode:"e6b6",unicode_decimal:59062},{icon_id:"36058392",name:"时间",font_class:"shijian",unicode:"e6a8",unicode_decimal:59048},{icon_id:"36058393",name:"日历",font_class:"rili1",unicode:"e6a9",unicode_decimal:59049},{icon_id:"36058395",name:"解锁",font_class:"jiesuo",unicode:"e6ab",unicode_decimal:59051},{icon_id:"36058396",name:"全屏",font_class:"quanping",unicode:"e6ac",unicode_decimal:59052},{icon_id:"36058397",name:"汽车",font_class:"qiche",unicode:"e6ad",unicode_decimal:59053},{icon_id:"36058399",name:"列表",font_class:"liebiao",unicode:"e6af",unicode_decimal:59055},{icon_id:"36058400",name:"播放",font_class:"bofang",unicode:"e6b0",unicode_decimal:59056},{icon_id:"36058401",name:"暂停",font_class:"zanting",unicode:"e6b1",unicode_decimal:59057},{icon_id:"36058402",name:"返回顶部",font_class:"fanhuidingbu",unicode:"e6b2",unicode_decimal:59058},{icon_id:"36058403",name:"锁屏",font_class:"suoping",unicode:"e6b3",unicode_decimal:59059},{icon_id:"36058404",name:"归档",font_class:"guidang",unicode:"e6b4",unicode_decimal:59060},{icon_id:"36058405",name:"飞机",font_class:"feiji",unicode:"e6b5",unicode_decimal:59061},{icon_id:"36058407",name:"足迹",font_class:"zuji",unicode:"e6b7",unicode_decimal:59063},{icon_id:"36058408",name:"退出全屏",font_class:"tuichuquanping",unicode:"e6b8",unicode_decimal:59064},{icon_id:"36058409",name:"审核",font_class:"shenhe",unicode:"e6b9",unicode_decimal:59065},{icon_id:"36058410",name:"电话",font_class:"dianhua",unicode:"e6ba",unicode_decimal:59066},{icon_id:"36058411",name:"个人消息、信息",font_class:"xinxi1",unicode:"e6bb",unicode_decimal:59067},{icon_id:"36058413",name:"手机",font_class:"shouji",unicode:"e6bd",unicode_decimal:59069},{icon_id:"36058296",name:"登出",font_class:"dengchu1",unicode:"e6a7",unicode_decimal:59047},{icon_id:"36057796",name:"消息通知",font_class:"xiaoxitongzhi",unicode:"e68f",unicode_decimal:59023},{icon_id:"36057797",name:"详情",font_class:"xiangqing",unicode:"e690",unicode_decimal:59024},{icon_id:"36057798",name:"用户",font_class:"yonghu1",unicode:"e691",unicode_decimal:59025},{icon_id:"36057799",name:"表单",font_class:"biaodan",unicode:"e692",unicode_decimal:59026},{icon_id:"36057800",name:"主页",font_class:"zhuye",unicode:"e693",unicode_decimal:59027},{icon_id:"36057801",name:"成功",font_class:"chenggong",unicode:"e694",unicode_decimal:59028},{icon_id:"36057802",name:"登录",font_class:"denglu",unicode:"e695",unicode_decimal:59029},{icon_id:"36057803",name:"仪表盘",font_class:"yibiaopan",unicode:"e696",unicode_decimal:59030},{icon_id:"36057804",name:"校验码",font_class:"xiaoyanma",unicode:"e697",unicode_decimal:59031},{icon_id:"36057805",name:"文本",font_class:"wenben",unicode:"e698",unicode_decimal:59032},{icon_id:"36057806",name:"警告",font_class:"jinggao",unicode:"e699",unicode_decimal:59033},{icon_id:"36057807",name:"未知文件",font_class:"weizhiwenjian",unicode:"e69a",unicode_decimal:59034},{icon_id:"36057808",name:"登出",font_class:"dengchu",unicode:"e69b",unicode_decimal:59035},{icon_id:"36057809",name:"excel",font_class:"excel",unicode:"e69c",unicode_decimal:59036},{icon_id:"36057810",name:"图片",font_class:"tupian",unicode:"e69d",unicode_decimal:59037},{icon_id:"36057811",name:"失败",font_class:"shibai",unicode:"e69e",unicode_decimal:59038},{icon_id:"36057812",name:"ppt",font_class:"ppt",unicode:"e69f",unicode_decimal:59039},{icon_id:"36057813",name:"音乐",font_class:"yinle",unicode:"e6a0",unicode_decimal:59040},{icon_id:"36057814",name:"压缩包",font_class:"yasuobao",unicode:"e6a1",unicode_decimal:59041},{icon_id:"36057815",name:"word",font_class:"word",unicode:"e6a2",unicode_decimal:59042},{icon_id:"36057816",name:"mov",font_class:"mov",unicode:"e6a3",unicode_decimal:59043},{icon_id:"36057817",name:"zip",font_class:"zip",unicode:"e6a4",unicode_decimal:59044},{icon_id:"36057818",name:"密码",font_class:"mima",unicode:"e6a5",unicode_decimal:59045},{icon_id:"36057819",name:"pdf",font_class:"pdf",unicode:"e6a6",unicode_decimal:59046},{icon_id:"36057137",name:"点赞",font_class:"dianzan",unicode:"e674",unicode_decimal:58996},{icon_id:"36057139",name:"文件夹",font_class:"wenjianjia",unicode:"e67a",unicode_decimal:59002},{icon_id:"36057140",name:"删除",font_class:"shanchu1",unicode:"e67b",unicode_decimal:59003},{icon_id:"36057141",name:"分享",font_class:"fenxiang",unicode:"e67c",unicode_decimal:59004},{icon_id:"36057143",name:"下载",font_class:"xiazai1",unicode:"e67e",unicode_decimal:59006},{icon_id:"36057145",name:"查询",font_class:"chaxun",unicode:"e680",unicode_decimal:59008},{icon_id:"36057146",name:"上传",font_class:"shangchuan",unicode:"e681",unicode_decimal:59009},{icon_id:"36057147",name:"关注",font_class:"guanzhu",unicode:"e682",unicode_decimal:59010},{icon_id:"36057148",name:"功能导航",font_class:"gongnengdaohang",unicode:"e683",unicode_decimal:59011},{icon_id:"36057150",name:"提示说明",font_class:"tishishuoming",unicode:"e685",unicode_decimal:59013},{icon_id:"36057151",name:"统计分析",font_class:"tongjifenxi",unicode:"e686",unicode_decimal:59014},{icon_id:"36057152",name:"导出",font_class:"daochu",unicode:"e687",unicode_decimal:59015},{icon_id:"36057153",name:"预览",font_class:"yulan",unicode:"e688",unicode_decimal:59016},{icon_id:"36057155",name:"导入",font_class:"daoru",unicode:"e68a",unicode_decimal:59018},{icon_id:"36057156",name:"修改",font_class:"xiugai",unicode:"e68b",unicode_decimal:59019},{icon_id:"36057157",name:"显示字段",font_class:"xianshiziduan",unicode:"e68c",unicode_decimal:59020},{icon_id:"36057158",name:"帮助",font_class:"bangzhu",unicode:"e68d",unicode_decimal:59021},{icon_id:"36057159",name:"筛选",font_class:"shaixuan1",unicode:"e68e",unicode_decimal:59022},{icon_id:"35654050",name:"日历",font_class:"rili",unicode:"e672",unicode_decimal:58994},{icon_id:"35653603",name:"更多",font_class:"gengduo",unicode:"e673",unicode_decimal:58995},{icon_id:"35653605",name:"信息提示",font_class:"xinxitishi",unicode:"e675",unicode_decimal:58997},{icon_id:"35653606",name:"删除",font_class:"shanchu",unicode:"e676",unicode_decimal:58998},{icon_id:"35653607",name:"刷新",font_class:"shuaxin1",unicode:"e677",unicode_decimal:58999},{icon_id:"35653608",name:"编辑",font_class:"bianji",unicode:"e678",unicode_decimal:59e3},{icon_id:"35653535",name:"筛选",font_class:"shaixuan",unicode:"e66a",unicode_decimal:58986},{icon_id:"35653536",name:"搜索",font_class:"sousuo1",unicode:"e66b",unicode_decimal:58987},{icon_id:"35653537",name:"重置",font_class:"zhongzhi",unicode:"e66c",unicode_decimal:58988},{icon_id:"35653538",name:"收起",font_class:"shouqi1",unicode:"e66d",unicode_decimal:58989},{icon_id:"35653539",name:"新增",font_class:"xinzeng",unicode:"e66e",unicode_decimal:58990},{icon_id:"35653540",name:"行高",font_class:"hanggao",unicode:"e66f",unicode_decimal:58991},{icon_id:"35653541",name:"设置",font_class:"shezhi1",unicode:"e670",unicode_decimal:58992},{icon_id:"35653542",name:"刷新",font_class:"shuaxin",unicode:"e671",unicode_decimal:58993},{icon_id:"35649462",name:"下载",font_class:"xiazai",unicode:"e669",unicode_decimal:58985},{icon_id:"35649230",name:"动态设置",font_class:"dongtaishezhi",unicode:"e65a",unicode_decimal:58970},{icon_id:"35649231",name:"收起",font_class:"shouqi",unicode:"e65b",unicode_decimal:58971},{icon_id:"35649233",name:"排序",font_class:"paixu",unicode:"e65d",unicode_decimal:58973},{icon_id:"35649235",name:"消息模板、信息",font_class:"xinxi",unicode:"e65f",unicode_decimal:58975},{icon_id:"35649236",name:"用户",font_class:"yonghu",unicode:"e660",unicode_decimal:58976},{icon_id:"35649237",name:"白天",font_class:"baitian",unicode:"e661",unicode_decimal:58977},{icon_id:"35649238",name:"数据",font_class:"shuju",unicode:"e662",unicode_decimal:58978},{icon_id:"35649241",name:"关闭-页面标签",font_class:"guanbi-yemianbiaoqian",unicode:"e665",unicode_decimal:58981},{icon_id:"35649242",name:"资源列表",font_class:"ziyuanliebiao",unicode:"e666",unicode_decimal:58982},{icon_id:"35649243",name:"设置",font_class:"shezhi",unicode:"e667",unicode_decimal:58983},{icon_id:"35649244",name:"展开-导航",font_class:"zhankai-daohang",unicode:"e668",unicode_decimal:58984}]},ec={id:"4383216",name:"中台-单色图标",font_family:"iconfont",css_prefix_text:"iksig_",description:"",glyphs:[{icon_id:"39081266",name:"对勾",font_class:"duigou",unicode:"e6ae",unicode_decimal:59054},{icon_id:"39017971",name:"分页更多",font_class:"diandian",unicode:"e78f",unicode_decimal:59279},{icon_id:"38921765",name:"更多",font_class:"gengduo",unicode:"e6aa",unicode_decimal:59050},{icon_id:"38825218",name:"向左",font_class:"a-shouqibeifen2",unicode:"e6a8",unicode_decimal:59048},{icon_id:"38824809",name:"向右、更多",font_class:"a-shouqibeifen3",unicode:"e6a7",unicode_decimal:59047},{icon_id:"38761726",name:"分栏",font_class:"fenlan",unicode:"e6a6",unicode_decimal:59046},{icon_id:"38757737",name:"时间范围",font_class:"shijianfanwei1",unicode:"e6a5",unicode_decimal:59045},{icon_id:"38660326",name:"大纲",font_class:"dagang",unicode:"e789",unicode_decimal:59273},{icon_id:"38660327",name:"物料",font_class:"wuliao",unicode:"e78a",unicode_decimal:59274},{icon_id:"38660325",name:"数据源",font_class:"shujuyuan",unicode:"e78b",unicode_decimal:59275},{icon_id:"38660101",name:"电脑",font_class:"diannao1",unicode:"e784",unicode_decimal:59268},{icon_id:"38660097",name:"手机",font_class:"shouji1",unicode:"e785",unicode_decimal:59269},{icon_id:"38660099",name:"右侧面板向左关闭",font_class:"youcemianbanxiangzuoguanbi",unicode:"e786",unicode_decimal:59270},{icon_id:"38660100",name:"帮助",font_class:"bangzhu1",unicode:"e787",unicode_decimal:59271},{icon_id:"38660098",name:"左侧面板向左关闭",font_class:"zuocemianbanxiangzuoguanbi",unicode:"e788",unicode_decimal:59272},{icon_id:"38659549",name:"级联选项",font_class:"jilianxuanxiang",unicode:"e77a",unicode_decimal:59258},{icon_id:"38659548",name:"计数器",font_class:"jishuqi",unicode:"e77b",unicode_decimal:59259},{icon_id:"38659545",name:"单行文本",font_class:"danhangwenben1",unicode:"e77c",unicode_decimal:59260},{icon_id:"38659542",name:"下拉",font_class:"xiala1",unicode:"e77d",unicode_decimal:59261},{icon_id:"38659547",name:"日期范围",font_class:"shijianfanwei",unicode:"e77e",unicode_decimal:59262},{icon_id:"38659546",name:"单选",font_class:"danxuan1",unicode:"e77f",unicode_decimal:59263},{icon_id:"38659540",name:"多行文本",font_class:"duohangwenben1",unicode:"e780",unicode_decimal:59264},{icon_id:"38659543",name:"时间",font_class:"shijian2",unicode:"e781",unicode_decimal:59265},{icon_id:"38659544",name:"开关",font_class:"kaiguan1",unicode:"e782",unicode_decimal:59266},{icon_id:"38659541",name:"多选",font_class:"duoxuan1",unicode:"e783",unicode_decimal:59267},{icon_id:"38659943",name:"HTML",font_class:"HTML",unicode:"e76c",unicode_decimal:59244},{icon_id:"38659942",name:"按钮",font_class:"anniu",unicode:"e76d",unicode_decimal:59245},{icon_id:"38659941",name:"滑块",font_class:"huakuai1",unicode:"e76e",unicode_decimal:59246},{icon_id:"38659937",name:"树形选择",font_class:"shuxingxuanze",unicode:"e76f",unicode_decimal:59247},{icon_id:"38659939",name:"颜色选择器",font_class:"yansexuanzeqi",unicode:"e770",unicode_decimal:59248},{icon_id:"38659940",name:"分隔线",font_class:"fengexian",unicode:"e771",unicode_decimal:59249},{icon_id:"38659938",name:"文件上传",font_class:"wenjianshangchuan",unicode:"e777",unicode_decimal:59255},{icon_id:"38659936",name:"评分",font_class:"pingfen1",unicode:"e778",unicode_decimal:59256},{icon_id:"38659935",name:"图片",font_class:"tupian2",unicode:"e779",unicode_decimal:59257},{icon_id:"38660004",name:"查询表格页",font_class:"chaxunbiaogeye",unicode:"e769",unicode_decimal:59241},{icon_id:"38660003",name:"富文本",font_class:"fuwenben",unicode:"e76a",unicode_decimal:59242},{icon_id:"38659989",name:"静态文字",font_class:"jingtaiwenzi",unicode:"e76b",unicode_decimal:59243},{icon_id:"38660011",name:"审批对话框",font_class:"shenpiduihuakuang",unicode:"e762",unicode_decimal:59234},{icon_id:"38660010",name:"人员",font_class:"renyuan",unicode:"e763",unicode_decimal:59235},{icon_id:"38660009",name:"单位",font_class:"danwei",unicode:"e764",unicode_decimal:59236},{icon_id:"38660008",name:"详情页",font_class:"xiangqingye",unicode:"e765",unicode_decimal:59237},{icon_id:"38660006",name:"职务",font_class:"zhiwu",unicode:"e766",unicode_decimal:59238},{icon_id:"38660007",name:"组织",font_class:"zuzhi",unicode:"e767",unicode_decimal:59239},{icon_id:"38660005",name:"角色",font_class:"jiaose",unicode:"e768",unicode_decimal:59240},{icon_id:"38659449",name:"数据表格",font_class:"shujubiaoge",unicode:"e75c",unicode_decimal:59228},{icon_id:"38659453",name:"弹出窗口",font_class:"danchuchuangkou",unicode:"e75d",unicode_decimal:59229},{icon_id:"38659454",name:"侧滑抽屉",font_class:"cehuachouti",unicode:"e75e",unicode_decimal:59230},{icon_id:"38659452",name:"栅格",font_class:"zhage",unicode:"e75f",unicode_decimal:59231},{icon_id:"38659451",name:"卡片",font_class:"kapian1",unicode:"e760",unicode_decimal:59232},{icon_id:"38659450",name:"表单",font_class:"biaodan1",unicode:"e761",unicode_decimal:59233},{icon_id:"38659455",name:"单行子表单",font_class:"danhangzibiaodan",unicode:"e75b",unicode_decimal:59227},{icon_id:"35104115",name:"箭头下",font_class:"jiantouxia",unicode:"e607",unicode_decimal:58887},{icon_id:"35104157",name:"箭头上",font_class:"jiantoushang",unicode:"e608",unicode_decimal:58888},{icon_id:"35104165",name:"缩小",font_class:"suoxiao",unicode:"e60a",unicode_decimal:58890},{icon_id:"36714058",name:"箭头下-copy",font_class:"jiantouyou-copy",unicode:"e720",unicode_decimal:59168},{icon_id:"36714060",name:"箭头上-copy",font_class:"jiantouzuo-copy",unicode:"e721",unicode_decimal:59169},{icon_id:"36651222",name:"售后工单",font_class:"shouhougongdan",unicode:"e705",unicode_decimal:59141},{icon_id:"36651223",name:"离职交接",font_class:"lizhijiaojie",unicode:"e706",unicode_decimal:59142},{icon_id:"36651206",name:"活动经费",font_class:"huodongjingfei",unicode:"e707",unicode_decimal:59143},{icon_id:"36651220",name:"绩效自评备份",font_class:"jixiaozipingbeifen",unicode:"e708",unicode_decimal:59144},{icon_id:"36651221",name:"请假",font_class:"qingjia",unicode:"e709",unicode_decimal:59145},{icon_id:"36651208",name:"抄送人",font_class:"chaosongren",unicode:"e70a",unicode_decimal:59146},{icon_id:"36651216",name:"设备巡查",font_class:"shebeixuncha",unicode:"e70b",unicode_decimal:59147},{icon_id:"36651219",name:"付款",font_class:"fukuan",unicode:"e70c",unicode_decimal:59148},{icon_id:"36651204",name:"工作流测试",font_class:"gongzuoliuceshi",unicode:"e70d",unicode_decimal:59149},{icon_id:"36651217",name:"离职",font_class:"lizhi",unicode:"e70e",unicode_decimal:59150},{icon_id:"36651214",name:"采购",font_class:"caigou",unicode:"e70f",unicode_decimal:59151},{icon_id:"36651203",name:"报销",font_class:"baoxiao",unicode:"e710",unicode_decimal:59152},{icon_id:"36651215",name:"加班",font_class:"jiaban",unicode:"e711",unicode_decimal:59153},{icon_id:"36651210",name:"会议室预定",font_class:"huiyishiyuding",unicode:"e712",unicode_decimal:59154},{icon_id:"36651213",name:"库存盘点",font_class:"kucunpandian",unicode:"e713",unicode_decimal:59155},{icon_id:"36651205",name:"出差",font_class:"chucha",unicode:"e714",unicode_decimal:59156},{icon_id:"36651209",name:"合同审批",font_class:"hetongshenpi",unicode:"e715",unicode_decimal:59157},{icon_id:"36651207",name:"调岗",font_class:"tiaogang",unicode:"e716",unicode_decimal:59158},{icon_id:"36651235",name:"转正",font_class:"zhuanzheng",unicode:"e6f5",unicode_decimal:59125},{icon_id:"36651234",name:"物品领用",font_class:"wupinlingyong",unicode:"e6f6",unicode_decimal:59126},{icon_id:"36651202",name:"补卡",font_class:"buka",unicode:"e6f7",unicode_decimal:59127},{icon_id:"36651233",name:"办理/立项申请",font_class:"lixiangshenqing",unicode:"e6f8",unicode_decimal:59128},{icon_id:"36651231",name:"外出",font_class:"waichu",unicode:"e6f9",unicode_decimal:59129},{icon_id:"36651218",name:"公文流转",font_class:"gongwenliuzhuan",unicode:"e6fa",unicode_decimal:59130},{icon_id:"36651227",name:"发起人/入职",font_class:"ruzhi",unicode:"e6fb",unicode_decimal:59131},{icon_id:"36651232",name:"用车",font_class:"yongche",unicode:"e6fc",unicode_decimal:59132},{icon_id:"36651229",name:"设备维修",font_class:"shebeiweixiu",unicode:"e6fd",unicode_decimal:59133},{icon_id:"36651230",name:"审批",font_class:"shenpi",unicode:"e6fe",unicode_decimal:59134},{icon_id:"36651224",name:"条件分支",font_class:"tiaojianfenzhi",unicode:"e6ff",unicode_decimal:59135},{icon_id:"36651228",name:"绩效自评",font_class:"jixiaoziping",unicode:"e700",unicode_decimal:59136},{icon_id:"36651226",name:"招聘要求",font_class:"zhaopinyaoqiu",unicode:"e701",unicode_decimal:59137},{icon_id:"36651225",name:"用章",font_class:"yongzhang",unicode:"e702",unicode_decimal:59138},{icon_id:"36651212",name:"换班",font_class:"huanban",unicode:"e703",unicode_decimal:59139},{icon_id:"36651211",name:"费用申请",font_class:"feiyongshenqing",unicode:"e704",unicode_decimal:59140},{icon_id:"36650753",name:"开关",font_class:"kaiguan",unicode:"e6f0",unicode_decimal:59120},{icon_id:"36650761",name:"说明",font_class:"shuoming",unicode:"e6f1",unicode_decimal:59121},{icon_id:"36650757",name:"滑块",font_class:"huakuai",unicode:"e6f2",unicode_decimal:59122},{icon_id:"36650755",name:"收款账号",font_class:"shoukuanzhanghao",unicode:"e6f3",unicode_decimal:59123},{icon_id:"36650754",name:"金额",font_class:"jine",unicode:"e6f4",unicode_decimal:59124},{icon_id:"36650775",name:"评分",font_class:"pingfen",unicode:"e6e2",unicode_decimal:59106},{icon_id:"36650773",name:"日期",font_class:"shijian1",unicode:"e6e3",unicode_decimal:59107},{icon_id:"36650764",name:"省市区",font_class:"shengshiqu",unicode:"e6e4",unicode_decimal:59108},{icon_id:"36650769",name:"位置",font_class:"weizhi",unicode:"e6e5",unicode_decimal:59109},{icon_id:"36650768",name:"电话",font_class:"dianhua1",unicode:"e6e6",unicode_decimal:59110},{icon_id:"36650758",name:"单选",font_class:"danxuan",unicode:"e6e7",unicode_decimal:59111},{icon_id:"36650766",name:"多行文本",font_class:"duohangwenben",unicode:"e6e8",unicode_decimal:59112},{icon_id:"36650767",name:"邮箱",font_class:"youxiang",unicode:"e6e9",unicode_decimal:59113},{icon_id:"36650763",name:"附件",font_class:"fujian",unicode:"e6ea",unicode_decimal:59114},{icon_id:"36650765",name:"手写签名",font_class:"shouxieqianming",unicode:"e6eb",unicode_decimal:59115},{icon_id:"36650760",name:"多选",font_class:"duoxuan",unicode:"e6ec",unicode_decimal:59116},{icon_id:"36650762",name:"计算公式",font_class:"jisuangongshi",unicode:"e6ef",unicode_decimal:59119},{icon_id:"36650771",name:"明细",font_class:"mingxi",unicode:"e6e0",unicode_decimal:59104},{icon_id:"36650770",name:"单行文本",font_class:"danhangwenben",unicode:"e6e1",unicode_decimal:59105},{icon_id:"36650781",name:"联系人",font_class:"lianxiren",unicode:"e6d6",unicode_decimal:59094},{icon_id:"36650772",name:"部门",font_class:"bumen",unicode:"e6d7",unicode_decimal:59095},{icon_id:"36650783",name:"图片",font_class:"tupian1",unicode:"e6d8",unicode_decimal:59096},{icon_id:"36650782",name:"下拉",font_class:"xiala",unicode:"e6d9",unicode_decimal:59097},{icon_id:"36650780",name:"关联",font_class:"guanlian",unicode:"e6da",unicode_decimal:59098},{icon_id:"36650778",name:"分类",font_class:"fenlei",unicode:"e6dc",unicode_decimal:59100},{icon_id:"36650774",name:"身份证",font_class:"shenfenzheng",unicode:"e6dd",unicode_decimal:59101},{icon_id:"36650777",name:"颜色",font_class:"yanse",unicode:"e6de",unicode_decimal:59102},{icon_id:"36650776",name:"数字",font_class:"shuzi",unicode:"e6df",unicode_decimal:59103},{icon_id:"36649735",name:"固定",font_class:"guding",unicode:"e6ce",unicode_decimal:59086},{icon_id:"36649523",name:"搜索-导航",font_class:"sousuo-daohang",unicode:"e6d2",unicode_decimal:59090},{icon_id:"36058668",name:"关闭备份",font_class:"guanbibeifen",unicode:"e6c0",unicode_decimal:59072},{icon_id:"36058671",name:"展开",font_class:"zhankai",unicode:"e6c3",unicode_decimal:59075},{icon_id:"36058675",name:"收起",font_class:"shouqi2",unicode:"e6c7",unicode_decimal:59079},{icon_id:"36057144",name:"收藏",font_class:"shoucang",unicode:"e67f",unicode_decimal:59007},{icon_id:"35649231",name:"收起",font_class:"shouqi",unicode:"e65b",unicode_decimal:58971},{icon_id:"35649233",name:"排序",font_class:"paixu",unicode:"e65d",unicode_decimal:58973},{icon_id:"35649234",name:"展开-页面标签",font_class:"zhankai-yemianbiaoqian",unicode:"e65e",unicode_decimal:58974},{icon_id:"35649241",name:"关闭-页面标签",font_class:"guanbi-yemianbiaoqian",unicode:"e665",unicode_decimal:58981}]},fC="";var tc;const nc=typeof window<"u",sb=t=>typeof t=="string",oc=()=>{},cb=nc&&((tc=window==null?void 0:window.navigator)==null?void 0:tc.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ic(t){return typeof t=="function"?t():o.unref(t)}function db(t){return t}function ub(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function wn(t){var e;const n=ic(t);return(e=n==null?void 0:n.$el)!=null?e:n}const rc=nc?window:void 0;function Xi(...t){let e,n,i,r;if(sb(t[0])||Array.isArray(t[0])?([n,i,r]=t,e=rc):[e,n,i,r]=t,!e)return oc;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const l=[],a=()=>{l.forEach(u=>u()),l.length=0},s=(u,m,p,c)=>(u.addEventListener(m,p,c),()=>u.removeEventListener(m,p,c)),d=o.watch(()=>[wn(e),ic(r)],([u,m])=>{a(),u&&l.push(...n.flatMap(p=>i.map(c=>s(u,p,c,m))))},{immediate:!0,flush:"post"}),f=()=>{d(),a()};return ub(f),f}let lc=!1;function fb(t,e,n={}){const{window:i=rc,ignore:r=[],capture:l=!0,detectIframe:a=!1}=n;if(!i)return;cb&&!lc&&(lc=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",oc)));let s=!0;const d=p=>r.some(c=>{if(typeof c=="string")return Array.from(i.document.querySelectorAll(c)).some(_=>_===p.target||p.composedPath().includes(_));{const _=wn(c);return _&&(p.target===_||p.composedPath().includes(_))}}),u=[Xi(i,"click",p=>{const c=wn(t);if(!(!c||c===p.target||p.composedPath().includes(c))){if(p.detail===0&&(s=!d(p)),!s){s=!0;return}e(p)}},{passive:!0,capture:l}),Xi(i,"pointerdown",p=>{const c=wn(t);c&&(s=!p.composedPath().includes(c)&&!d(p))},{passive:!0}),a&&Xi(i,"blur",p=>{var c;const _=wn(t);((c=i.document.activeElement)==null?void 0:c.tagName)==="IFRAME"&&!(_!=null&&_.contains(i.document.activeElement))&&e(p)})].filter(Boolean);return()=>u.forEach(p=>p())}const ac=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sc="__vueuse_ssr_handlers__";ac[sc]=ac[sc]||{};var cc;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(cc||(cc={}));var pb=Object.defineProperty,dc=Object.getOwnPropertySymbols,hb=Object.prototype.hasOwnProperty,mb=Object.prototype.propertyIsEnumerable,uc=(t,e,n)=>e in t?pb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,gb=(t,e)=>{for(var n in e||(e={}))hb.call(e,n)&&uc(t,n,e[n]);if(dc)for(var n of dc(e))mb.call(e,n)&&uc(t,n,e[n]);return t};gb({linear:db},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function _b(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const lt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Nt=()=>{},yb=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Pe=Object.assign,bb=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Eb=Object.prototype.hasOwnProperty,pe=(t,e)=>Eb.call(t,e),fe=Array.isArray,Qt=t=>mo(t)==="[object Map]",wb=t=>mo(t)==="[object Set]",ge=t=>typeof t=="function",Ve=t=>typeof t=="string",ho=t=>typeof t=="symbol",Re=t=>t!==null&&typeof t=="object",Cb=t=>(Re(t)||ge(t))&&ge(t.then)&&ge(t.catch),kb=Object.prototype.toString,mo=t=>kb.call(t),fc=t=>mo(t).slice(8,-1),vb=t=>mo(t)==="[object Object]",Ji=t=>Ve(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Sb=(t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))})(t=>t.charAt(0).toUpperCase()+t.slice(1)),at=(t,e)=>!Object.is(t,e),Ab=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})};let pc;const hc=()=>pc||(pc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function er(t){if(fe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=Ve(i)?Tb(i):er(i);if(r)for(const l in r)e[l]=r[l]}return e}else if(Ve(t)||Re(t))return t}const Db=/;(?![^(]*\))/g,xb=/:([^]+)/,Nb=/\/\*[^]*?\*\//g;function Tb(t){const e={};return t.replace(Nb,"").split(Db).forEach(n=>{if(n){const i=n.split(xb);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function tr(t){let e="";if(Ve(t))e=t;else if(fe(t))for(let n=0;n<t.length;n++){const i=tr(t[n]);i&&(e+=i+" ")}else if(Re(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function mc(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let gc;function Vb(t,e=gc){e&&e.active&&e.effects.push(t)}function Rb(){return gc}let Tt;class _c{constructor(e,n,i,r){this.fn=e,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,Vb(this,r)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,or();for(const e of this.deps)if(e.computed&&(Ib(e.computed),this._dirtyLevel>=2))break;ir(),this._queryings--}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=st,n=Tt;try{return st=!0,Tt=this,this._runnings++,yc(this),this.fn()}finally{bc(this),this._runnings--,Tt=n,st=e}}stop(){var e;this.active&&(yc(this),bc(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function Ib(t){return t.value}function yc(t){t._trackId++,t._depsLength=0}function bc(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Ec(t.deps[e],t);t.deps.length=t._depsLength}}function Ec(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let st=!0,nr=0;const wc=[];function or(){wc.push(st),st=!1}function ir(){const t=wc.pop();st=t===void 0?!0:t}function rr(){nr++}function lr(){for(nr--;!nr&&ar.length;)ar.shift()()}function Cc(t,e,n){var i;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&Ec(r,t),t.deps[t._depsLength++]=e):t._depsLength++,process.env.NODE_ENV!=="production"&&((i=t.onTrack)==null||i.call(t,Pe({effect:t},n)))}}const ar=[];function kc(t,e,n){var i;rr();for(const r of t.keys())if(!(!r.allowRecurse&&r._runnings)&&r._dirtyLevel<e&&(!r._runnings||e!==2)){const l=r._dirtyLevel;r._dirtyLevel=e,l===0&&(!r._queryings||e!==2)&&(process.env.NODE_ENV!=="production"&&((i=r.onTrigger)==null||i.call(r,Pe({effect:r},n))),r.trigger(),r.scheduler&&ar.push(r.scheduler))}lr()}const vc=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},sr=new WeakMap,Vt=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),cr=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ce(t,e,n){if(st&&Tt){let i=sr.get(t);i||sr.set(t,i=new Map);let r=i.get(n);r||i.set(n,r=vc(()=>i.delete(n))),Cc(Tt,r,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n}:void 0)}}function ct(t,e,n,i,r,l){const a=sr.get(t);if(!a)return;let s=[];if(e==="clear")s=[...a.values()];else if(n==="length"&&fe(t)){const d=Number(i);a.forEach((f,u)=>{(u==="length"||!ho(u)&&u>=d)&&s.push(f)})}else switch(n!==void 0&&s.push(a.get(n)),e){case"add":fe(t)?Ji(n)&&s.push(a.get("length")):(s.push(a.get(Vt)),Qt(t)&&s.push(a.get(cr)));break;case"delete":fe(t)||(s.push(a.get(Vt)),Qt(t)&&s.push(a.get(cr)));break;case"set":Qt(t)&&s.push(a.get(Vt));break}rr();for(const d of s)d&&kc(d,3,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:i,oldValue:r,oldTarget:l}:void 0);lr()}const Bb=_b("__proto__,__v_isRef,__isVue"),Sc=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ho)),Ac=Ob();function Ob(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=Z(this);for(let l=0,a=this.length;l<a;l++)Ce(i,"get",l+"");const r=i[e](...n);return r===-1||r===!1?i[e](...n.map(Z)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){or(),rr();const i=Z(this)[e].apply(this,n);return lr(),ir(),i}}),t}function Mb(t){const e=Z(this);return Ce(e,"has",t),e.hasOwnProperty(t)}class Dc{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,i){const r=this._isReadonly,l=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return l;if(n==="__v_raw")return i===(r?l?Mc:Oc:l?Qb:Bc).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const a=fe(e);if(!r){if(a&&pe(Ac,n))return Reflect.get(Ac,n,i);if(n==="hasOwnProperty")return Mb}const s=Reflect.get(e,n,i);return(ho(n)?Sc.has(n):Bb(n))||(r||Ce(e,"get",n),l)?s:Ne(s)?a&&Ji(n)?s:s.value:Re(s)?r?zc(s):Lc(s):s}}class Lb extends Dc{constructor(e=!1){super(!1,e)}set(e,n,i,r){let l=e[n];if(!this._shallow){const d=Kt(l);if(!Xt(i)&&!Kt(i)&&(l=Z(l),i=Z(i)),!fe(e)&&Ne(l)&&!Ne(i))return d?!1:(l.value=i,!0)}const a=fe(e)&&Ji(n)?Number(n)<e.length:pe(e,n),s=Reflect.set(e,n,i,r);return e===Z(r)&&(a?at(i,l)&&ct(e,"set",n,i,l):ct(e,"add",n,i)),s}deleteProperty(e,n){const i=pe(e,n),r=e[n],l=Reflect.deleteProperty(e,n);return l&&i&&ct(e,"delete",n,void 0,r),l}has(e,n){const i=Reflect.has(e,n);return(!ho(n)||!Sc.has(n))&&Ce(e,"has",n),i}ownKeys(e){return Ce(e,"iterate",fe(e)?"length":Vt),Reflect.ownKeys(e)}}class xc extends Dc{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&mc(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&mc(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const zb=new Lb,Pb=new xc,Fb=new xc(!0),dr=t=>t,go=t=>Reflect.getPrototypeOf(t);function _o(t,e,n=!1,i=!1){t=t.__v_raw;const r=Z(t),l=Z(e);n||(at(e,l)&&Ce(r,"get",e),Ce(r,"get",l));const{has:a}=go(r),s=i?dr:n?hr:Cn;if(a.call(r,e))return s(t.get(e));if(a.call(r,l))return s(t.get(l));t!==r&&t.get(e)}function yo(t,e=!1){const n=this.__v_raw,i=Z(n),r=Z(t);return e||(at(t,r)&&Ce(i,"has",t),Ce(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function bo(t,e=!1){return t=t.__v_raw,!e&&Ce(Z(t),"iterate",Vt),Reflect.get(t,"size",t)}function Nc(t){t=Z(t);const e=Z(this);return go(e).has.call(e,t)||(e.add(t),ct(e,"add",t,t)),this}function Tc(t,e){e=Z(e);const n=Z(this),{has:i,get:r}=go(n);let l=i.call(n,t);l?process.env.NODE_ENV!=="production"&&Ic(n,i,t):(t=Z(t),l=i.call(n,t));const a=r.call(n,t);return n.set(t,e),l?at(e,a)&&ct(n,"set",t,e,a):ct(n,"add",t,e),this}function Vc(t){const e=Z(this),{has:n,get:i}=go(e);let r=n.call(e,t);r?process.env.NODE_ENV!=="production"&&Ic(e,n,t):(t=Z(t),r=n.call(e,t));const l=i?i.call(e,t):void 0,a=e.delete(t);return r&&ct(e,"delete",t,void 0,l),a}function Rc(){const t=Z(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?Qt(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&ct(t,"clear",void 0,void 0,n),i}function Eo(t,e){return function(i,r){const l=this,a=l.__v_raw,s=Z(a),d=e?dr:t?hr:Cn;return!t&&Ce(s,"iterate",Vt),a.forEach((f,u)=>i.call(r,d(f),d(u),l))}}function wo(t,e,n){return function(...i){const r=this.__v_raw,l=Z(r),a=Qt(l),s=t==="entries"||t===Symbol.iterator&&a,d=t==="keys"&&a,f=r[t](...i),u=n?dr:e?hr:Cn;return!e&&Ce(l,"iterate",d?cr:Vt),{next(){const{value:m,done:p}=f.next();return p?{value:m,done:p}:{value:s?[u(m[0]),u(m[1])]:u(m),done:p}},[Symbol.iterator](){return this}}}}function dt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";console.warn(`${Sb(t)} operation ${n}failed: target is readonly.`,Z(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function $b(){const t={get(l){return _o(this,l)},get size(){return bo(this)},has:yo,add:Nc,set:Tc,delete:Vc,clear:Rc,forEach:Eo(!1,!1)},e={get(l){return _o(this,l,!1,!0)},get size(){return bo(this)},has:yo,add:Nc,set:Tc,delete:Vc,clear:Rc,forEach:Eo(!1,!0)},n={get(l){return _o(this,l,!0)},get size(){return bo(this,!0)},has(l){return yo.call(this,l,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:Eo(!0,!1)},i={get(l){return _o(this,l,!0,!0)},get size(){return bo(this,!0)},has(l){return yo.call(this,l,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:Eo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{t[l]=wo(l,!1,!1),n[l]=wo(l,!0,!1),e[l]=wo(l,!1,!0),i[l]=wo(l,!0,!0)}),[t,n,e,i]}const[Hb,jb,Ub,Wb]=$b();function ur(t,e){const n=e?t?Wb:Ub:t?jb:Hb;return(i,r,l)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(pe(n,r)&&r in i?n:i,r,l)}const Gb={get:ur(!1,!1)},qb={get:ur(!0,!1)},Yb={get:ur(!0,!0)};function Ic(t,e,n){const i=Z(n);if(i!==n&&e.call(t,i)){const r=fc(t);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Bc=new WeakMap,Qb=new WeakMap,Oc=new WeakMap,Mc=new WeakMap;function Zb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kb(t){return t.__v_skip||!Object.isExtensible(t)?0:Zb(fc(t))}function Lc(t){return Kt(t)?t:fr(t,!1,zb,Gb,Bc)}function zc(t){return fr(t,!0,Pb,qb,Oc)}function Co(t){return fr(t,!0,Fb,Yb,Mc)}function fr(t,e,n,i,r){if(!Re(t))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const l=r.get(t);if(l)return l;const a=Kb(t);if(a===0)return t;const s=new Proxy(t,a===2?i:n);return r.set(t,s),s}function Zt(t){return Kt(t)?Zt(t.__v_raw):!!(t&&t.__v_isReactive)}function Kt(t){return!!(t&&t.__v_isReadonly)}function Xt(t){return!!(t&&t.__v_isShallow)}function pr(t){return Zt(t)||Kt(t)}function Z(t){const e=t&&t.__v_raw;return e?Z(e):t}function Xb(t){return Ab(t,"__v_skip",!0),t}const Cn=t=>Re(t)?Lc(t):t,hr=t=>Re(t)?zc(t):t;class Jb{constructor(e,n,i,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new _c(()=>e(this._value),()=>mr(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=i}get value(){const e=Z(this);return Pc(e),(!e._cacheable||e.effect.dirty)&&at(e._value,e._value=e.effect.run())&&mr(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Pc(t){st&&Tt&&(t=Z(t),Cc(Tt,t.dep||(t.dep=vc(()=>t.dep=void 0,t instanceof Jb?t:void 0)),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function mr(t,e=3,n){t=Z(t);const i=t.dep;i&&kc(i,e,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:n}:void 0)}function Ne(t){return!!(t&&t.__v_isRef===!0)}function kn(t){return eE(t,!1)}function eE(t,e){return Ne(t)?t:new tE(t,e)}class tE{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Z(e),this._value=n?e:Cn(e)}get value(){return Pc(this),this._value}set value(e){const n=this.__v_isShallow||Xt(e)||Kt(e);e=n?e:Z(e),at(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Cn(e),mr(this,3,e))}}function nE(t){return Ne(t)?t.value:t}const oE={get:(t,e,n)=>nE(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return Ne(r)&&!Ne(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function iE(t){return Zt(t)?t:new Proxy(t,oE)}const Rt=[];function rE(t){Rt.push(t)}function lE(){Rt.pop()}function he(t,...e){or();const n=Rt.length?Rt[Rt.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=aE();if(i)It(i,n,11,[t+e.join(""),n&&n.proxy,r.map(({vnode:l})=>`at <${dd(n,l.type)}>`).join(`
51
51
  `),r]);else{const l=[`[Vue warn]: ${t}`,...e];r.length&&l.push(`
52
- `,...rE(r)),console.warn(...l)}ir()}function oE(){let t=Rt[Rt.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const o=t.component&&t.component.parent;t=o&&o.vnode}return e}function rE(t){const e=[];return t.forEach((n,o)=>{e.push(...o===0?[]:[`
53
- `],...lE(n))}),e}function lE({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",o=t.component?t.component.parent==null:!1,r=` at <${dd(t.component,t.type,o)}`,l=">"+n;return t.props?[r,...aE(t.props),l]:[r+l]}function aE(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(o=>{e.push(...Fc(o,t[o]))}),n.length>3&&e.push(" ..."),e}function Fc(t,e,n){return Ve(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Ne(e)?(e=Fc(t,Z(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):ge(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Z(e),n?e:[`${t}=`,e])}const $c={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function It(t,e,n,o){let r;try{r=o?t(...o):t()}catch(l){mr(l,e,n)}return r}function Ci(t,e,n,o){if(ge(t)){const l=It(t,e,n,o);return l&&bb(l)&&l.catch(a=>{mr(a,e,n)}),l}const r=[];for(let l=0;l<t.length;l++)r.push(Ci(t[l],e,n,o));return r}function mr(t,e,n,o=!0){const r=e?e.vnode:null;if(e){let l=e.parent;const a=e.proxy,s=process.env.NODE_ENV!=="production"?$c[n]:`https://vuejs.org/errors/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](t,a,s)===!1)return}l=l.parent}const d=e.appContext.config.errorHandler;if(d){It(d,null,10,[t,a,s]);return}}sE(t,n,r,o)}function sE(t,e,n,o=!0){if(process.env.NODE_ENV!=="production"){const r=$c[e];if(n&&nE(n),he(`Unhandled error${r?` during execution of ${r}`:""}`),n&&iE(),o)throw t;console.error(t)}else console.error(t)}let ki=!1,gr=!1;const Ie=[];let ut=0;const Jt=[];let Fe=null,ft=0;const Hc=Promise.resolve();let _r=null;const cE=100;function dE(t){const e=_r||Hc;return t?e.then(this?t.bind(this):t):e}function uE(t){let e=ut+1,n=Ie.length;for(;e<n;){const o=e+n>>>1,r=Ie[o],l=vn(r);l<t||l===t&&r.pre?e=o+1:n=o}return e}function yr(t){(!Ie.length||!Ie.includes(t,ki&&t.allowRecurse?ut+1:ut))&&(t.id==null?Ie.push(t):Ie.splice(uE(t.id),0,t),jc())}function jc(){!ki&&!gr&&(gr=!0,_r=Hc.then(Wc))}function Uc(t){ue(t)?Jt.push(...t):(!Fe||!Fe.includes(t,t.allowRecurse?ft+1:ft))&&Jt.push(t),jc()}function fE(t){if(Jt.length){const e=[...new Set(Jt)];if(Jt.length=0,Fe){Fe.push(...e);return}for(Fe=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),Fe.sort((n,o)=>vn(n)-vn(o)),ft=0;ft<Fe.length;ft++)process.env.NODE_ENV!=="production"&&Gc(t,Fe[ft])||Fe[ft]();Fe=null,ft=0}}const vn=t=>t.id==null?1/0:t.id,pE=(t,e)=>{const n=vn(t)-vn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Wc(t){gr=!1,ki=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),Ie.sort(pE);const e=process.env.NODE_ENV!=="production"?n=>Gc(t,n):Nt;try{for(ut=0;ut<Ie.length;ut++){const n=Ie[ut];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;It(n,null,14)}}}finally{ut=0,Ie.length=0,fE(t),ki=!1,_r=null,(Ie.length||Jt.length)&&Wc(t)}}function Gc(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>cE){const o=e.ownerInstance,r=o&&cd(o.type);return mr(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}const Sn=new Set;process.env.NODE_ENV!=="production"&&(hc().__VUE_HMR_RUNTIME__={createRecord:br(hE),rerender:br(mE),reload:br(gE)});const vi=new Map;function hE(t,e){return vi.has(t)?!1:(vi.set(t,{initialDef:An(e),instances:new Set}),!0)}function An(t){return ud(t)?t.__vccOpts:t}function mE(t,e){const n=vi.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(o=>{e&&(o.render=e,An(o.type).render=e),o.renderCache=[],o.effect.dirty=!0,o.update()}))}function gE(t,e){const n=vi.get(t);if(!n)return;e=An(e),qc(n.initialDef,e);const o=[...n.instances];for(const r of o){const l=An(r.type);Sn.has(l)||(l!==n.initialDef&&qc(l,e),Sn.add(l)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(Sn.add(l),r.ceReload(e.styles),Sn.delete(l)):r.parent?(r.parent.effect.dirty=!0,yr(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Uc(()=>{for(const r of o)Sn.delete(An(r.type))})}function qc(t,e){Pe(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function br(t){return(e,n)=>{try{return t(e,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let en,Si=[];function Yc(t,e){var n,o;en=t,en?(en.enabled=!0,Si.forEach(({event:r,args:l})=>en.emit(r,...l)),Si=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(l=>{Yc(l,e)}),setTimeout(()=>{en||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Si=[])},3e3)):Si=[]}let Ye=null,_E=null;function dC(){}const yE=Symbol.for("v-ndc"),bE=t=>t.__isSuspense;function EE(t,e){e&&e.pendingBranch?ue(t)?e.effects.push(...t):e.effects.push(t):Uc(t)}const wE=Symbol.for("v-scx"),CE=()=>{{const t=RE(wE);return t||process.env.NODE_ENV!=="production"&&he("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},Ai={};function kE(t,e,n){return process.env.NODE_ENV!=="production"&&!ge(e)&&he("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Qc(t,e,n)}function Qc(t,e,{immediate:n,deep:o,flush:r,once:l,onTrack:a,onTrigger:s}=lt){var d;if(e&&l){const S=e;e=(...x)=>{S(...x),B()}}process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&he('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&he('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),l!==void 0&&he('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const f=S=>{he("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=Nb()===((d=Bt)==null?void 0:d.scope)?Bt:null;let m,p=!1,c=!1;if(Ne(t)?(m=()=>t.value,p=Xt(t)):Zt(t)?(m=Xt(t)||o===!1?()=>pt(t,1):()=>pt(t),p=!0):ue(t)?(c=!0,p=t.some(S=>Zt(S)||Xt(S)),m=()=>t.map(S=>{if(Ne(S))return S.value;if(Zt(S))return pt(S,Xt(S)||o===!1?1:void 0);if(ge(S))return It(S,u,2);process.env.NODE_ENV!=="production"&&f(S)})):ge(t)?e?m=()=>It(t,u,2):m=()=>{if(!(u&&u.isUnmounted))return _&&_(),Ci(t,u,3,[g])}:(m=Nt,process.env.NODE_ENV!=="production"&&f(t)),e&&o){const S=m;m=()=>pt(S())}let _,g=S=>{_=k.onStop=()=>{It(S,u,4),_=k.onStop=void 0}},h;if(sd)if(g=Nt,e?n&&Ci(e,u,3,[m(),c?[]:void 0,g]):m(),r==="sync"){const S=CE();h=S.__watcherHandles||(S.__watcherHandles=[])}else return Nt;let b=c?new Array(t.length).fill(Ai):Ai;const y=()=>{if(!(!k.active||!k.dirty))if(e){const S=k.run();(o||p||(c?S.some((x,w)=>at(x,b[w])):at(S,b)))&&(_&&_(),Ci(e,u,3,[S,b===Ai?void 0:c&&b[0]===Ai?[]:b,g]),b=S)}else k.run()};y.allowRecurse=!!e;let C;r==="sync"?C=y:r==="post"?C=()=>td(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),C=()=>yr(y));const k=new _c(m,Nt,C),B=()=>{k.stop(),u&&u.scope&&gb(u.scope.effects,k)};return process.env.NODE_ENV!=="production"&&(k.onTrack=a,k.onTrigger=s),e?n?y():b=k.run():r==="post"?td(k.run.bind(k),u&&u.suspense):k.run(),h&&h.push(B),B}function vE(t,e,n){const o=this.proxy,r=Ve(t)?t.includes(".")?SE(o,t):()=>o[t]:t.bind(o,o);let l;ge(e)?l=e:(l=e.handler,n=e);const a=Bt;ad(this);const s=Qc(r,l.bind(o),n);return a?ad(a):jE(),s}function SE(t,e){const n=e.split(".");return()=>{let o=t;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function pt(t,e,n=0,o){if(!Re(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(o=o||new Set,o.has(t))return t;if(o.add(t),Ne(t))pt(t.value,e,n,o);else if(ue(t))for(let r=0;r<t.length;r++)pt(t[r],e,n,o);else if(yb(t)||Qt(t))t.forEach(r=>{pt(r,e,n,o)});else if(wb(t))for(const r in t)pt(t[r],e,n,o);return t}const Er=t=>t?UE(t)?WE(t)||t.proxy:Er(t.parent):null,Dn=Pe(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?wi(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?wi(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?wi(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?wi(t.refs):t.refs,$parent:t=>Er(t.parent),$root:t=>Er(t.root),$emit:t=>t.emit,$options:t=>xE(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,yr(t.update)}),$nextTick:t=>t.n||(t.n=dE.bind(t.proxy)),$watch:t=>vE.bind(t)}),AE=t=>t==="_"||t==="$",wr=(t,e)=>t!==lt&&!t.__isScriptSetup&&pe(t,e),DE={get({_:t},e){const{ctx:n,setupState:o,data:r,props:l,accessCache:a,type:s,appContext:d}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let f;if(e[0]!=="$"){const c=a[e];if(c!==void 0)switch(c){case 1:return o[e];case 2:return r[e];case 4:return n[e];case 3:return l[e]}else{if(wr(o,e))return a[e]=1,o[e];if(r!==lt&&pe(r,e))return a[e]=2,r[e];if((f=t.propsOptions[0])&&pe(f,e))return a[e]=3,l[e];if(n!==lt&&pe(n,e))return a[e]=4,n[e];a[e]=0}}const u=Dn[e];let m,p;if(u)return e==="$attrs"?(Ce(t,"get",e),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Ce(t,"get",e),u(t);if((m=s.__cssModules)&&(m=m[e]))return m;if(n!==lt&&pe(n,e))return a[e]=4,n[e];if(p=d.config.globalProperties,pe(p,e))return p[e];process.env.NODE_ENV!=="production"&&Ye&&(!Ve(e)||e.indexOf("__v")!==0)&&(r!==lt&&AE(e[0])&&pe(r,e)?he(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===Ye&&he(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:o,setupState:r,ctx:l}=t;return wr(r,e)?(r[e]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&pe(r,e)?(he(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):o!==lt&&pe(o,e)?(o[e]=n,!0):pe(t.props,e)?(process.env.NODE_ENV!=="production"&&he(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&he(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(l,e,{enumerable:!0,configurable:!0,value:n}):l[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:r,propsOptions:l}},a){let s;return!!n[a]||t!==lt&&pe(t,a)||wr(e,a)||(s=l[0])&&pe(s,a)||pe(o,a)||pe(Dn,a)||pe(r.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:pe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(DE.ownKeys=t=>(he("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function Zc(t){return ue(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function xE(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:r,optionsCache:l,config:{optionMergeStrategies:a}}=t.appContext,s=l.get(e);let d;return s?d=s:!r.length&&!n&&!o?d=e:(d={},r.length&&r.forEach(f=>Di(d,f,a,!0)),Di(d,e,a)),Re(e)&&l.set(e,d),d}function Di(t,e,n,o=!1){const{mixins:r,extends:l}=e;l&&Di(t,l,n,!0),r&&r.forEach(a=>Di(t,a,n,!0));for(const a in e)if(o&&a==="expose")process.env.NODE_ENV!=="production"&&he('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=NE[a]||n&&n[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const NE={data:Kc,props:Jc,emits:Jc,methods:xn,computed:xn,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:xn,directives:xn,watch:VE,provide:Kc,inject:TE};function Kc(t,e){return e?t?function(){return Pe(ge(t)?t.call(this,this):t,ge(e)?e.call(this,this):e)}:e:t}function TE(t,e){return xn(Xc(t),Xc(e))}function Xc(t){if(ue(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ee(t,e){return t?[...new Set([].concat(t,e))]:e}function xn(t,e){return t?Pe(Object.create(null),t,e):e}function Jc(t,e){return t?ue(t)&&ue(e)?[...new Set([...t,...e])]:Pe(Object.create(null),Zc(t),Zc(e??{})):e}function VE(t,e){if(!t)return e;if(!e)return t;const n=Pe(Object.create(null),t);for(const o in e)n[o]=Ee(t[o],e[o]);return n}let ed=null;function RE(t,e,n=!1){const o=Bt||Ye;if(o||ed){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:ed._context.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&ge(e)?e.call(o&&o.proxy):e;process.env.NODE_ENV!=="production"&&he(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&he("inject() can only be used inside setup() or functional components.")}const td=EE,IE=t=>t.__isTeleport,nd=Symbol.for("v-fgt"),BE=Symbol.for("v-txt"),OE=Symbol.for("v-cmt");let tn=null;function ME(t){return t?t.__v_isVNode===!0:!1}const LE=(...t)=>rd(...t),id="__vInternal",od=({key:t})=>t??null,xi=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ve(t)||Ne(t)||ge(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function zE(t,e=null,n=null,o=0,r=null,l=t===nd?0:1,a=!1,s=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&od(e),ref:e&&xi(e),scopeId:_E,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ye};return s?(Cr(d,n),l&128&&t.normalize(d)):n&&(d.shapeFlag|=Ve(n)?8:16),process.env.NODE_ENV!=="production"&&d.key!==d.key&&he("VNode created with invalid key (NaN). VNode type:",d.type),!a&&tn&&(d.patchFlag>0||l&6)&&d.patchFlag!==32&&tn.push(d),d}const PE=process.env.NODE_ENV!=="production"?LE:rd;function rd(t,e=null,n=null,o=0,r=null,l=!1){if((!t||t===yE)&&(process.env.NODE_ENV!=="production"&&!t&&he(`Invalid vnode type when creating vnode: ${t}.`),t=OE),ME(t)){const s=Ni(t,e,!0);return n&&Cr(s,n),!l&&tn&&(s.shapeFlag&6?tn[tn.indexOf(t)]=s:tn.push(s)),s.patchFlag|=-2,s}if(ud(t)&&(t=t.__vccOpts),e){e=FE(e);let{class:s,style:d}=e;s&&!Ve(s)&&(e.class=er(s)),Re(d)&&(fr(d)&&!ue(d)&&(d=Pe({},d)),e.style=Jo(d))}const a=Ve(t)?1:bE(t)?128:IE(t)?64:Re(t)?4:ge(t)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&fr(t)&&(t=Z(t),he("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
54
- Component that was made reactive: `,t)),zE(t,e,n,o,r,a,l,!0)}function FE(t){return t?fr(t)||id in t?Pe({},t):t:null}function Ni(t,e,n=!1){const{props:o,ref:r,patchFlag:l,children:a}=t,s=e?HE(o||{},e):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&od(s),ref:e&&e.ref?n&&r?ue(r)?r.concat(xi(e)):[r,xi(e)]:xi(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&l===-1&&ue(a)?a.map(ld):a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==nd?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ni(t.ssContent),ssFallback:t.ssFallback&&Ni(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ld(t){const e=Ni(t);return ue(t.children)&&(e.children=t.children.map(ld)),e}function $E(t=" ",e=0){return PE(BE,null,t,e)}function Cr(t,e){let n=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(ue(e))n=16;else if(typeof e=="object")if(o&65){const r=e.default;r&&(r._c&&(r._d=!1),Cr(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(id in e)?e._ctx=Ye:r===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ge(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),o&64?(n=16,e=[$E(e)]):n=8);t.children=e,t.shapeFlag|=n}function HE(...t){const e={};for(let n=0;n<t.length;n++){const o=t[n];for(const r in o)if(r==="class")e.class!==o.class&&(e.class=er([e.class,o.class]));else if(r==="style")e.style=Jo([e.style,o.style]);else if(mb(r)){const l=e[r],a=o[r];a&&l!==a&&!(ue(l)&&l.includes(a))&&(e[r]=l?[].concat(l,a):a)}else r!==""&&(e[r]=o[r])}return e}let Bt=null,kr;{const t=hc(),e=(n,o)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(o),l=>{r.length>1?r.forEach(a=>a(l)):r[0](l)}};kr=e("__VUE_INSTANCE_SETTERS__",n=>Bt=n),e("__VUE_SSR_SETTERS__",n=>sd=n)}const ad=t=>{kr(t),t.scope.on()},jE=()=>{Bt&&Bt.scope.off(),kr(null)};function UE(t){return t.vnode.shapeFlag&4}let sd=!1;function WE(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(tE(Qb(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Dn)return Dn[n](t)},has(e,n){return n in e||n in Dn}}))}const GE=/(?:^|[-_])(\w)/g,qE=t=>t.replace(GE,e=>e.toUpperCase()).replace(/[-_]/g,"");function cd(t,e=!0){return ge(t)?t.displayName||t.name:t.name||e&&t.__name}function dd(t,e,n=!1){let o=cd(e);if(!o&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&t&&t.parent){const r=l=>{for(const a in l)if(l[a]===e)return a};o=r(t.components||t.parent.type.components)||r(t.appContext.components)}return o?qE(o):n?"App":"Anonymous"}function ud(t){return ge(t)&&"__vccOpts"in t}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;const YE=i.defineComponent({__name:"index",props:{modelValue:{type:String,default:""},modelModifiers:{}},emits:["update:modelValue"],setup(t){const e=i.useModel(t,"modelValue"),n=kn(!1);let o={};const r=kn({}),l=kn(null);cb(l,p=>{var c,_,g,h;try{if(((c=p==null?void 0:p.target)==null?void 0:c.className)==="icon-list"||((_=p==null?void 0:p.target)==null?void 0:_.nodeName)==="INPUT"||(h=(g=p==null?void 0:p.target)==null?void 0:g.className)!=null&&h.includes("el-tabs__item"))return;n.value=!1}catch{}}),function(){o={double:Js.glyphs.map(c=>({...c,class:`${Js.css_prefix_text}${c.font_class}`})),single:ec.glyphs.map(c=>({...c,class:`${ec.css_prefix_text}${c.font_class}`}))},r.value=z._.cloneDeep(o)}();function a(p){e.value=p.class}function s(){e.value=""}const d=kn("");kE(d,p=>{r.value={single:o.single.filter(c=>{var _;return(_=c.name)==null?void 0:_.includes(p)}),double:o.double.filter(c=>{var _;return(_=c.name)==null?void 0:_.includes(p)})}});const f=()=>{n.value=!0},u=()=>{n.value=!1},m=kn("double");return(p,c)=>{const _=i.resolveComponent("el-input"),g=i.resolveComponent("el-tab-pane"),h=i.resolveComponent("el-tabs"),b=i.resolveComponent("el-popover");return i.openBlock(),i.createBlock(b,{title:"",visible:i.unref(n),ref_key:"target",ref:l,"popper-class":"icon-picker-pop",width:400,trigger:"click"},{reference:i.withCtx(()=>[i.createElementVNode("div",{class:"icon-picker-header line-height-[0] font-size-[var(--ik-margin-m-28)]",onClick:f},[e.value?(i.openBlock(),i.createBlock(i.unref(fe),{key:0,name:e.value},null,8,["name"])):(i.openBlock(),i.createBlock(i.unref(fe),{key:1,name:"iksvg_guanbibeifen",size:14})),e.value?(i.openBlock(),i.createBlock(i.unref(fe),{key:2,title:"删除图标",onClick:i.withModifiers(s,["stop"]),name:"iksvg_guanbi",warning:"",class:"icon-delete"})):i.createCommentVNode("v-if",!0)])]),default:i.withCtx(()=>[i.createVNode(_,{modelValue:i.unref(d),"onUpdate:modelValue":c[0]||(c[0]=y=>i.isRef(d)?d.value=y:null),clearable:"",placeholder:"输入图标名称检索"},{suffix:i.withCtx(()=>[i.createVNode(i.unref(fe),{name:"iksvg_sousuo-daohang"})]),_:1},8,["modelValue"]),i.createVNode(h,{modelValue:i.unref(m),"onUpdate:modelValue":c[1]||(c[1]=y=>i.isRef(m)?m.value=y:null)},{default:i.withCtx(()=>[i.createVNode(g,{label:"双色图标",name:"double"},{default:i.withCtx(()=>[i.createElementVNode("div",{class:"icon-list",onClick:i.withModifiers(u,["stop"])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(r).double,y=>(i.openBlock(),i.createBlock(i.unref(fe),{size:20,title:y.name,key:y.name,name:y.class,onClick:C=>a(y)},null,8,["title","name","onClick"]))),128))])]),_:1}),i.createVNode(g,{label:"单色图标",name:"single"},{default:i.withCtx(()=>[i.createElementVNode("div",{class:"icon-list",onClick:i.withModifiers(u,["stop"])},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(r).single,y=>(i.openBlock(),i.createBlock(i.unref(fe),{size:20,title:y.name,key:y.name,name:y.class,onClick:C=>a(y)},null,8,["title","name","onClick"]))),128))])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["visible"])}}}),uC="",fC="",QE=oe(K(YE,[["__scopeId","data-v-5ab84aea"]])),ZE=i.defineComponent({__name:"index",props:i.mergeModels({list:{type:Array},isButton:{type:Boolean,default:!0}},{modelValue:{type:String,default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=i.useModel(t,"modelValue");return(n,o)=>{const r=i.resolveComponent("el-radio-button"),l=i.resolveComponent("el-radio-group");return i.openBlock(),i.createBlock(l,{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=a=>e.value=a),class:"ik-radio-btn"},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(t.list,(a,s)=>(i.openBlock(),i.createBlock(r,{key:s,label:a.value},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(a.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])}}}),hC="",KE=oe(K(ZE,[["__scopeId","data-v-186a428a"]]));j.EAlign=Br,j.EDateType=Xe,j.EType=Be,j.Event=R1,j.IKApprovalProcess=Hf,j.IKApprovalProcessDetail=gf,j.IKCalendar=F_,j.IKHorizontalStepBar=G_,j.IKSearch=su,j.IKSearchHead=cu,j.IKVerticalStepBar=gu,j.IkBtnContent=Q2,j.IkBtnSetting=Zs,j.IkDragList=Xs,j.IkFullCalendar=Gs,j.IkIconPicker=QE,j.IkPageFull=wy,j.IkPageTabs=ry,j.IkPreviewFile=n6,j.IkPrintConfig=_1,j.IkPrintView=w1,j.IkRadioGroup=KE,j.IkSchedule=ny,j.IkStatu=K2,j.IkSvgIcon=fe,j.IkTooltip=X2,j.IkUploadFile=Q6,j.IkUploadImage=p1,j.IkingPickerUser=En,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
52
+ `,...sE(r)),console.warn(...l)}ir()}function aE(){let t=Rt[Rt.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function sE(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
53
+ `],...cE(n))}),e}function cE({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${dd(t.component,t.type,i)}`,l=">"+n;return t.props?[r,...dE(t.props),l]:[r+l]}function dE(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Fc(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Fc(t,e,n){return Ve(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Ne(e)?(e=Fc(t,Z(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):ge(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Z(e),n?e:[`${t}=`,e])}const $c={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function It(t,e,n,i){let r;try{r=i?t(...i):t()}catch(l){gr(l,e,n)}return r}function ko(t,e,n,i){if(ge(t)){const l=It(t,e,n,i);return l&&Cb(l)&&l.catch(a=>{gr(a,e,n)}),l}const r=[];for(let l=0;l<t.length;l++)r.push(ko(t[l],e,n,i));return r}function gr(t,e,n,i=!0){const r=e?e.vnode:null;if(e){let l=e.parent;const a=e.proxy,s=process.env.NODE_ENV!=="production"?$c[n]:`https://vuejs.org/errors/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](t,a,s)===!1)return}l=l.parent}const d=e.appContext.config.errorHandler;if(d){It(d,null,10,[t,a,s]);return}}uE(t,n,r,i)}function uE(t,e,n,i=!0){if(process.env.NODE_ENV!=="production"){const r=$c[e];if(n&&rE(n),he(`Unhandled error${r?` during execution of ${r}`:""}`),n&&lE(),i)throw t;console.error(t)}else console.error(t)}let vo=!1,_r=!1;const Ie=[];let ut=0;const Jt=[];let Fe=null,ft=0;const Hc=Promise.resolve();let yr=null;const fE=100;function pE(t){const e=yr||Hc;return t?e.then(this?t.bind(this):t):e}function hE(t){let e=ut+1,n=Ie.length;for(;e<n;){const i=e+n>>>1,r=Ie[i],l=vn(r);l<t||l===t&&r.pre?e=i+1:n=i}return e}function br(t){(!Ie.length||!Ie.includes(t,vo&&t.allowRecurse?ut+1:ut))&&(t.id==null?Ie.push(t):Ie.splice(hE(t.id),0,t),jc())}function jc(){!vo&&!_r&&(_r=!0,yr=Hc.then(Wc))}function Uc(t){fe(t)?Jt.push(...t):(!Fe||!Fe.includes(t,t.allowRecurse?ft+1:ft))&&Jt.push(t),jc()}function mE(t){if(Jt.length){const e=[...new Set(Jt)];if(Jt.length=0,Fe){Fe.push(...e);return}for(Fe=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),Fe.sort((n,i)=>vn(n)-vn(i)),ft=0;ft<Fe.length;ft++)process.env.NODE_ENV!=="production"&&Gc(t,Fe[ft])||Fe[ft]();Fe=null,ft=0}}const vn=t=>t.id==null?1/0:t.id,gE=(t,e)=>{const n=vn(t)-vn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Wc(t){_r=!1,vo=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),Ie.sort(gE);const e=process.env.NODE_ENV!=="production"?n=>Gc(t,n):Nt;try{for(ut=0;ut<Ie.length;ut++){const n=Ie[ut];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;It(n,null,14)}}}finally{ut=0,Ie.length=0,mE(t),vo=!1,yr=null,(Ie.length||Jt.length)&&Wc(t)}}function Gc(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>fE){const i=e.ownerInstance,r=i&&cd(i.type);return gr(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}const Sn=new Set;process.env.NODE_ENV!=="production"&&(hc().__VUE_HMR_RUNTIME__={createRecord:Er(_E),rerender:Er(yE),reload:Er(bE)});const So=new Map;function _E(t,e){return So.has(t)?!1:(So.set(t,{initialDef:An(e),instances:new Set}),!0)}function An(t){return ud(t)?t.__vccOpts:t}function yE(t,e){const n=So.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,An(i.type).render=e),i.renderCache=[],i.effect.dirty=!0,i.update()}))}function bE(t,e){const n=So.get(t);if(!n)return;e=An(e),qc(n.initialDef,e);const i=[...n.instances];for(const r of i){const l=An(r.type);Sn.has(l)||(l!==n.initialDef&&qc(l,e),Sn.add(l)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(Sn.add(l),r.ceReload(e.styles),Sn.delete(l)):r.parent?(r.parent.effect.dirty=!0,br(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Uc(()=>{for(const r of i)Sn.delete(An(r.type))})}function qc(t,e){Pe(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function Er(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let en,Ao=[];function Yc(t,e){var n,i;en=t,en?(en.enabled=!0,Ao.forEach(({event:r,args:l})=>en.emit(r,...l)),Ao=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(l=>{Yc(l,e)}),setTimeout(()=>{en||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ao=[])},3e3)):Ao=[]}let Ye=null,EE=null;function mC(){}const wE=Symbol.for("v-ndc"),CE=t=>t.__isSuspense;function kE(t,e){e&&e.pendingBranch?fe(t)?e.effects.push(...t):e.effects.push(t):Uc(t)}const vE=Symbol.for("v-scx"),SE=()=>{{const t=OE(vE);return t||process.env.NODE_ENV!=="production"&&he("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},Do={};function AE(t,e,n){return process.env.NODE_ENV!=="production"&&!ge(e)&&he("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Qc(t,e,n)}function Qc(t,e,{immediate:n,deep:i,flush:r,once:l,onTrack:a,onTrigger:s}=lt){var d;if(e&&l){const S=e;e=(...x)=>{S(...x),B()}}process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&he('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&he('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),l!==void 0&&he('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const f=S=>{he("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=Rb()===((d=Bt)==null?void 0:d.scope)?Bt:null;let m,p=!1,c=!1;if(Ne(t)?(m=()=>t.value,p=Xt(t)):Zt(t)?(m=Xt(t)||i===!1?()=>pt(t,1):()=>pt(t),p=!0):fe(t)?(c=!0,p=t.some(S=>Zt(S)||Xt(S)),m=()=>t.map(S=>{if(Ne(S))return S.value;if(Zt(S))return pt(S,Xt(S)||i===!1?1:void 0);if(ge(S))return It(S,u,2);process.env.NODE_ENV!=="production"&&f(S)})):ge(t)?e?m=()=>It(t,u,2):m=()=>{if(!(u&&u.isUnmounted))return _&&_(),ko(t,u,3,[g])}:(m=Nt,process.env.NODE_ENV!=="production"&&f(t)),e&&i){const S=m;m=()=>pt(S())}let _,g=S=>{_=k.onStop=()=>{It(S,u,4),_=k.onStop=void 0}},h;if(sd)if(g=Nt,e?n&&ko(e,u,3,[m(),c?[]:void 0,g]):m(),r==="sync"){const S=SE();h=S.__watcherHandles||(S.__watcherHandles=[])}else return Nt;let b=c?new Array(t.length).fill(Do):Do;const y=()=>{if(!(!k.active||!k.dirty))if(e){const S=k.run();(i||p||(c?S.some((x,w)=>at(x,b[w])):at(S,b)))&&(_&&_(),ko(e,u,3,[S,b===Do?void 0:c&&b[0]===Do?[]:b,g]),b=S)}else k.run()};y.allowRecurse=!!e;let C;r==="sync"?C=y:r==="post"?C=()=>td(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),C=()=>br(y));const k=new _c(m,Nt,C),B=()=>{k.stop(),u&&u.scope&&bb(u.scope.effects,k)};return process.env.NODE_ENV!=="production"&&(k.onTrack=a,k.onTrigger=s),e?n?y():b=k.run():r==="post"?td(k.run.bind(k),u&&u.suspense):k.run(),h&&h.push(B),B}function DE(t,e,n){const i=this.proxy,r=Ve(t)?t.includes(".")?xE(i,t):()=>i[t]:t.bind(i,i);let l;ge(e)?l=e:(l=e.handler,n=e);const a=Bt;ad(this);const s=Qc(r,l.bind(i),n);return a?ad(a):GE(),s}function xE(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function pt(t,e,n=0,i){if(!Re(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(i=i||new Set,i.has(t))return t;if(i.add(t),Ne(t))pt(t.value,e,n,i);else if(fe(t))for(let r=0;r<t.length;r++)pt(t[r],e,n,i);else if(wb(t)||Qt(t))t.forEach(r=>{pt(r,e,n,i)});else if(vb(t))for(const r in t)pt(t[r],e,n,i);return t}const wr=t=>t?qE(t)?YE(t)||t.proxy:wr(t.parent):null,Dn=Pe(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?Co(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?Co(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?Co(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?Co(t.refs):t.refs,$parent:t=>wr(t.parent),$root:t=>wr(t.root),$emit:t=>t.emit,$options:t=>VE(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,br(t.update)}),$nextTick:t=>t.n||(t.n=pE.bind(t.proxy)),$watch:t=>DE.bind(t)}),NE=t=>t==="_"||t==="$",Cr=(t,e)=>t!==lt&&!t.__isScriptSetup&&pe(t,e),TE={get({_:t},e){const{ctx:n,setupState:i,data:r,props:l,accessCache:a,type:s,appContext:d}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let f;if(e[0]!=="$"){const c=a[e];if(c!==void 0)switch(c){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return l[e]}else{if(Cr(i,e))return a[e]=1,i[e];if(r!==lt&&pe(r,e))return a[e]=2,r[e];if((f=t.propsOptions[0])&&pe(f,e))return a[e]=3,l[e];if(n!==lt&&pe(n,e))return a[e]=4,n[e];a[e]=0}}const u=Dn[e];let m,p;if(u)return e==="$attrs"?(Ce(t,"get",e),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Ce(t,"get",e),u(t);if((m=s.__cssModules)&&(m=m[e]))return m;if(n!==lt&&pe(n,e))return a[e]=4,n[e];if(p=d.config.globalProperties,pe(p,e))return p[e];process.env.NODE_ENV!=="production"&&Ye&&(!Ve(e)||e.indexOf("__v")!==0)&&(r!==lt&&NE(e[0])&&pe(r,e)?he(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===Ye&&he(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:r,ctx:l}=t;return Cr(r,e)?(r[e]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&pe(r,e)?(he(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==lt&&pe(i,e)?(i[e]=n,!0):pe(t.props,e)?(process.env.NODE_ENV!=="production"&&he(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&he(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(l,e,{enumerable:!0,configurable:!0,value:n}):l[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:l}},a){let s;return!!n[a]||t!==lt&&pe(t,a)||Cr(e,a)||(s=l[0])&&pe(s,a)||pe(i,a)||pe(Dn,a)||pe(r.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:pe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(TE.ownKeys=t=>(he("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function Zc(t){return fe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function VE(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:l,config:{optionMergeStrategies:a}}=t.appContext,s=l.get(e);let d;return s?d=s:!r.length&&!n&&!i?d=e:(d={},r.length&&r.forEach(f=>xo(d,f,a,!0)),xo(d,e,a)),Re(e)&&l.set(e,d),d}function xo(t,e,n,i=!1){const{mixins:r,extends:l}=e;l&&xo(t,l,n,!0),r&&r.forEach(a=>xo(t,a,n,!0));for(const a in e)if(i&&a==="expose")process.env.NODE_ENV!=="production"&&he('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const s=RE[a]||n&&n[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const RE={data:Kc,props:Jc,emits:Jc,methods:xn,computed:xn,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:xn,directives:xn,watch:BE,provide:Kc,inject:IE};function Kc(t,e){return e?t?function(){return Pe(ge(t)?t.call(this,this):t,ge(e)?e.call(this,this):e)}:e:t}function IE(t,e){return xn(Xc(t),Xc(e))}function Xc(t){if(fe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ee(t,e){return t?[...new Set([].concat(t,e))]:e}function xn(t,e){return t?Pe(Object.create(null),t,e):e}function Jc(t,e){return t?fe(t)&&fe(e)?[...new Set([...t,...e])]:Pe(Object.create(null),Zc(t),Zc(e??{})):e}function BE(t,e){if(!t)return e;if(!e)return t;const n=Pe(Object.create(null),t);for(const i in e)n[i]=Ee(t[i],e[i]);return n}let ed=null;function OE(t,e,n=!1){const i=Bt||Ye;if(i||ed){const r=i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:ed._context.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&ge(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&he(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&he("inject() can only be used inside setup() or functional components.")}const td=kE,ME=t=>t.__isTeleport,nd=Symbol.for("v-fgt"),LE=Symbol.for("v-txt"),zE=Symbol.for("v-cmt");let tn=null;function PE(t){return t?t.__v_isVNode===!0:!1}const FE=(...t)=>rd(...t),od="__vInternal",id=({key:t})=>t??null,No=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ve(t)||Ne(t)||ge(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function $E(t,e=null,n=null,i=0,r=null,l=t===nd?0:1,a=!1,s=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&id(e),ref:e&&No(e),scopeId:EE,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ye};return s?(kr(d,n),l&128&&t.normalize(d)):n&&(d.shapeFlag|=Ve(n)?8:16),process.env.NODE_ENV!=="production"&&d.key!==d.key&&he("VNode created with invalid key (NaN). VNode type:",d.type),!a&&tn&&(d.patchFlag>0||l&6)&&d.patchFlag!==32&&tn.push(d),d}const HE=process.env.NODE_ENV!=="production"?FE:rd;function rd(t,e=null,n=null,i=0,r=null,l=!1){if((!t||t===wE)&&(process.env.NODE_ENV!=="production"&&!t&&he(`Invalid vnode type when creating vnode: ${t}.`),t=zE),PE(t)){const s=To(t,e,!0);return n&&kr(s,n),!l&&tn&&(s.shapeFlag&6?tn[tn.indexOf(t)]=s:tn.push(s)),s.patchFlag|=-2,s}if(ud(t)&&(t=t.__vccOpts),e){e=jE(e);let{class:s,style:d}=e;s&&!Ve(s)&&(e.class=tr(s)),Re(d)&&(pr(d)&&!fe(d)&&(d=Pe({},d)),e.style=er(d))}const a=Ve(t)?1:CE(t)?128:ME(t)?64:Re(t)?4:ge(t)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&pr(t)&&(t=Z(t),he("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
54
+ Component that was made reactive: `,t)),$E(t,e,n,i,r,a,l,!0)}function jE(t){return t?pr(t)||od in t?Pe({},t):t:null}function To(t,e,n=!1){const{props:i,ref:r,patchFlag:l,children:a}=t,s=e?WE(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&id(s),ref:e&&e.ref?n&&r?fe(r)?r.concat(No(e)):[r,No(e)]:No(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&l===-1&&fe(a)?a.map(ld):a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==nd?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&To(t.ssContent),ssFallback:t.ssFallback&&To(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ld(t){const e=To(t);return fe(t.children)&&(e.children=t.children.map(ld)),e}function UE(t=" ",e=0){return HE(LE,null,t,e)}function kr(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(fe(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),kr(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!(od in e)?e._ctx=Ye:r===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ge(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),i&64?(n=16,e=[UE(e)]):n=8);t.children=e,t.shapeFlag|=n}function WE(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=tr([e.class,i.class]));else if(r==="style")e.style=er([e.style,i.style]);else if(yb(r)){const l=e[r],a=i[r];a&&l!==a&&!(fe(l)&&l.includes(a))&&(e[r]=l?[].concat(l,a):a)}else r!==""&&(e[r]=i[r])}return e}let Bt=null,vr;{const t=hc(),e=(n,i)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(i),l=>{r.length>1?r.forEach(a=>a(l)):r[0](l)}};vr=e("__VUE_INSTANCE_SETTERS__",n=>Bt=n),e("__VUE_SSR_SETTERS__",n=>sd=n)}const ad=t=>{vr(t),t.scope.on()},GE=()=>{Bt&&Bt.scope.off(),vr(null)};function qE(t){return t.vnode.shapeFlag&4}let sd=!1;function YE(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(iE(Xb(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Dn)return Dn[n](t)},has(e,n){return n in e||n in Dn}}))}const QE=/(?:^|[-_])(\w)/g,ZE=t=>t.replace(QE,e=>e.toUpperCase()).replace(/[-_]/g,"");function cd(t,e=!0){return ge(t)?t.displayName||t.name:t.name||e&&t.__name}function dd(t,e,n=!1){let i=cd(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=l=>{for(const a in l)if(l[a]===e)return a};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?ZE(i):n?"App":"Anonymous"}function ud(t){return ge(t)&&"__vccOpts"in t}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;const KE=o.defineComponent({__name:"index",props:{modelValue:{type:String,default:""},modelModifiers:{}},emits:["update:modelValue"],setup(t){console.log("IconJsons",Ki);const e=o.useModel(t,"modelValue"),n=kn(!1);let i={};const r=kn({}),l=kn(null);fb(l,p=>{var c,_,g,h;try{if(((c=p==null?void 0:p.target)==null?void 0:c.className)==="icon-list"||((_=p==null?void 0:p.target)==null?void 0:_.nodeName)==="INPUT"||(h=(g=p==null?void 0:p.target)==null?void 0:g.className)!=null&&h.includes("el-tabs__item"))return;n.value=!1}catch{}}),function(){i={double:Ki.glyphs.map(c=>({...c,class:`${Ki.css_prefix_text}${c.font_class}`})),single:ec.glyphs.map(c=>({...c,class:`${ec.css_prefix_text}${c.font_class}`}))},r.value=z._.cloneDeep(i)}();function a(p){e.value=p.class}function s(){e.value=""}const d=kn("");AE(d,p=>{r.value={single:i.single.filter(c=>{var _;return(_=c.name)==null?void 0:_.includes(p)}),double:i.double.filter(c=>{var _;return(_=c.name)==null?void 0:_.includes(p)})}});const f=()=>{n.value=!0},u=()=>{n.value=!1},m=kn("double");return(p,c)=>{const _=o.resolveComponent("el-input"),g=o.resolveComponent("el-tab-pane"),h=o.resolveComponent("el-tabs"),b=o.resolveComponent("el-popover");return o.openBlock(),o.createBlock(b,{title:"",visible:o.unref(n),ref_key:"target",ref:l,"popper-class":"icon-picker-pop",width:400,trigger:"click"},{reference:o.withCtx(()=>[o.createElementVNode("div",{class:"icon-picker-header line-height-[0] font-size-[var(--ik-margin-m-28)]",onClick:f},[e.value?(o.openBlock(),o.createBlock(o.unref(ue),{key:0,name:e.value},null,8,["name"])):(o.openBlock(),o.createBlock(o.unref(ue),{key:1,name:"iksvg_guanbibeifen",size:14})),e.value?(o.openBlock(),o.createBlock(o.unref(ue),{key:2,title:"删除图标",onClick:o.withModifiers(s,["stop"]),name:"iksvg_guanbi",warning:"",class:"icon-delete"})):o.createCommentVNode("v-if",!0)])]),default:o.withCtx(()=>[o.createVNode(_,{modelValue:o.unref(d),"onUpdate:modelValue":c[0]||(c[0]=y=>o.isRef(d)?d.value=y:null),clearable:"",placeholder:"输入图标名称检索"},{suffix:o.withCtx(()=>[o.createVNode(o.unref(ue),{name:"iksvg_sousuo-daohang"})]),_:1},8,["modelValue"]),o.createVNode(h,{modelValue:o.unref(m),"onUpdate:modelValue":c[1]||(c[1]=y=>o.isRef(m)?m.value=y:null)},{default:o.withCtx(()=>[o.createVNode(g,{label:"双色图标",name:"double"},{default:o.withCtx(()=>[o.createElementVNode("div",{class:"icon-list",onClick:o.withModifiers(u,["stop"])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(r).double,y=>(o.openBlock(),o.createBlock(o.unref(ue),{size:20,title:y.name,key:y.name,name:y.class,onClick:C=>a(y)},null,8,["title","name","onClick"]))),128))])]),_:1}),o.createVNode(g,{label:"单色图标",name:"single"},{default:o.withCtx(()=>[o.createElementVNode("div",{class:"icon-list",onClick:o.withModifiers(u,["stop"])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(r).single,y=>(o.openBlock(),o.createBlock(o.unref(ue),{size:20,title:y.name,key:y.name,name:y.class,onClick:C=>a(y)},null,8,["title","name","onClick"]))),128))])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["visible"])}}}),gC="",_C="",XE=oe(K(KE,[["__scopeId","data-v-c58251dd"]])),JE=o.defineComponent({__name:"index",props:o.mergeModels({list:{type:Array},isButton:{type:Boolean,default:!0}},{modelValue:{type:String,default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=o.useModel(t,"modelValue");return(n,i)=>{const r=o.resolveComponent("el-radio-button"),l=o.resolveComponent("el-radio-group");return o.openBlock(),o.createBlock(l,{modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=a=>e.value=a),class:"ik-radio-btn"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.list,(a,s)=>(o.openBlock(),o.createBlock(r,{key:s,label:a.value},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(a.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])}}}),bC="",e4=oe(K(JE,[["__scopeId","data-v-186a428a"]]));j.EAlign=Or,j.EDateType=Xe,j.EType=Be,j.Event=R1,j.IKApprovalProcess=Hf,j.IKApprovalProcessDetail=gf,j.IKCalendar=F3,j.IKHorizontalStepBar=G3,j.IKSearch=su,j.IKSearchHead=cu,j.IKVerticalStepBar=gu,j.IkBaseDialog=ab,j.IkBtnContent=Q2,j.IkBtnSetting=Ks,j.IkDragList=Js,j.IkFullCalendar=qs,j.IkIconPicker=XE,j.IkPageFull=wy,j.IkPageTabs=ry,j.IkPreviewFile=n6,j.IkPrintConfig=_1,j.IkPrintView=w1,j.IkRadioGroup=e4,j.IkSchedule=ny,j.IkStatu=K2,j.IkSvgIcon=ue,j.IkTooltip=X2,j.IkUploadFile=Q6,j.IkUploadImage=p1,j.IkingPickerUser=En,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});