pangea-lib 4.0.186 → 4.0.187
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/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +1 -1
- package/package.json +1 -1
package/dist/main.cjs.js
CHANGED
|
@@ -821,7 +821,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
821
821
|
|
|
822
822
|
`)){var k1=u1.offsetHeight+parseFloat(W(u1).marginTop)+parseFloat(W(u1).marginBottom);u1.nextElementSibling.offsetTop>u1.offsetTop+k1*1.5&&g1.insert(`
|
|
823
823
|
`)}return g1}function l1(u1,g1){var k1={},b1=u1.style||{};return b1.fontStyle&&W(u1).fontStyle==="italic"&&(k1.italic=!0),b1.fontWeight&&(W(u1).fontWeight.startsWith("bold")||parseInt(W(u1).fontWeight)>=700)&&(k1.bold=!0),Object.keys(k1).length>0&&(g1=L(g1,k1)),parseFloat(b1.textIndent||0)>0&&(g1=new d.default().insert(" ").concat(g1)),g1}function f1(u1,g1){var k1=u1.data;if(u1.parentNode.tagName==="O:P")return g1.insert(k1.trim());if(k1.trim().length===0&&u1.parentNode.classList.contains("ql-clipboard"))return g1;if(!W(u1.parentNode).whiteSpace.startsWith("pre")){var b1=function(R1,$1){return $1=$1.replace(/[^\u00a0]/g,""),$1.length<1&&R1?" ":$1};k1=k1.replace(/\r\n/g," ").replace(/\n/g," "),k1=k1.replace(/\s\s+/g,b1.bind(b1,!0)),(u1.previousSibling==null&&T(u1.parentNode)||u1.previousSibling!=null&&T(u1.previousSibling))&&(k1=k1.replace(/^\s+/,b1.bind(b1,!1))),(u1.nextSibling==null&&T(u1.parentNode)||u1.nextSibling!=null&&T(u1.nextSibling))&&(k1=k1.replace(/\s+$/,b1.bind(b1,!1)))}return g1.insert(k1)}r.default=A,r.matchAttributor=n1,r.matchBlot=t1,r.matchNewline=z1,r.matchSpacing=h1,r.matchText=f1},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function v(p,g){for(var y=0;y<g.length;y++){var x=g[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,y){return g&&v(p.prototype,g),y&&v(p,y),p}}(),i=function v(p,g,y){p===null&&(p=Function.prototype);var x=Object.getOwnPropertyDescriptor(p,g);if(x===void 0){var C=Object.getPrototypeOf(p);return C===null?void 0:v(C,g,y)}else{if("value"in x)return x.value;var b=x.get;return b===void 0?void 0:b.call(y)}},s=n(6),l=f(s);function f(v){return v&&v.__esModule?v:{default:v}}function u(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function d(v,p){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:v}function h(v,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);v.prototype=Object.create(p&&p.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(v,p):v.__proto__=p)}var m=function(v){h(p,v);function p(){return u(this,p),d(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return c(p,[{key:"optimize",value:function(y){i(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"optimize",this).call(this,y),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),p}(l.default);m.blotName="bold",m.tagName=["STRONG","B"],r.default=m},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.addControls=r.default=void 0;var c=function(){function H(w,E){var j=[],P=!0,O=!1,F=void 0;try{for(var Z=w[Symbol.iterator](),q;!(P=(q=Z.next()).done)&&(j.push(q.value),!(E&&j.length===E));P=!0);}catch(G){O=!0,F=G}finally{try{!P&&Z.return&&Z.return()}finally{if(O)throw F}}return j}return function(w,E){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return H(w,E);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function H(w,E){for(var j=0;j<E.length;j++){var P=E[j];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(w,P.key,P)}}return function(w,E,j){return E&&H(w.prototype,E),j&&H(w,j),w}}(),s=n(2),l=y(s),f=n(0),u=y(f),d=n(5),h=y(d),m=n(10),v=y(m),p=n(9),g=y(p);function y(H){return H&&H.__esModule?H:{default:H}}function x(H,w,E){return w in H?Object.defineProperty(H,w,{value:E,enumerable:!0,configurable:!0,writable:!0}):H[w]=E,H}function C(H,w){if(!(H instanceof w))throw new TypeError("Cannot call a class as a function")}function b(H,w){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:H}function M(H,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);H.prototype=Object.create(w&&w.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(H,w):H.__proto__=w)}var _=(0,v.default)("quill:toolbar"),z=function(H){M(w,H);function w(E,j){C(this,w);var P=b(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,E,j));if(Array.isArray(P.options.container)){var O=document.createElement("div");S(O,P.options.container),E.container.parentNode.insertBefore(O,E.container),P.container=O}else typeof P.options.container=="string"?P.container=document.querySelector(P.options.container):P.container=P.options.container;if(!(P.container instanceof HTMLElement)){var F;return F=_.error("Container required for toolbar",P.options),b(P,F)}return P.container.classList.add("ql-toolbar"),P.controls=[],P.handlers={},Object.keys(P.options.handlers).forEach(function(Z){P.addHandler(Z,P.options.handlers[Z])}),[].forEach.call(P.container.querySelectorAll("button, select"),function(Z){P.attach(Z)}),P.quill.on(h.default.events.EDITOR_CHANGE,function(Z,q){Z===h.default.events.SELECTION_CHANGE&&P.update(q)}),P.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){var Z=P.quill.selection.getRange(),q=c(Z,1),G=q[0];P.update(G)}),P}return i(w,[{key:"addHandler",value:function(j,P){this.handlers[j]=P}},{key:"attach",value:function(j){var P=this,O=[].find.call(j.classList,function(Z){return Z.indexOf("ql-")===0});if(O){if(O=O.slice(3),j.tagName==="BUTTON"&&j.setAttribute("type","button"),this.handlers[O]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[O]==null){_.warn("ignoring attaching to disabled format",O,j);return}if(u.default.query(O)==null){_.warn("ignoring attaching to nonexistent format",O,j);return}}var F=j.tagName==="SELECT"?"change":"click";j.addEventListener(F,function(Z){var q=void 0;if(j.tagName==="SELECT"){if(j.selectedIndex<0)return;var G=j.options[j.selectedIndex];G.hasAttribute("selected")?q=!1:q=G.value||!1}else j.classList.contains("ql-active")?q=!1:q=j.value||!j.hasAttribute("value"),Z.preventDefault();P.quill.focus();var N=P.quill.selection.getRange(),A=c(N,1),L=A[0];if(P.handlers[O]!=null)P.handlers[O].call(P,q);else if(u.default.query(O).prototype instanceof u.default.Embed){if(q=prompt("Enter "+O),!q)return;P.quill.updateContents(new l.default().retain(L.index).delete(L.length).insert(x({},O,q)),h.default.sources.USER)}else P.quill.format(O,q,h.default.sources.USER);P.update(L)}),this.controls.push([O,j])}}},{key:"update",value:function(j){var P=j==null?{}:this.quill.getFormat(j);this.controls.forEach(function(O){var F=c(O,2),Z=F[0],q=F[1];if(q.tagName==="SELECT"){var G=void 0;if(j==null)G=null;else if(P[Z]==null)G=q.querySelector("option[selected]");else if(!Array.isArray(P[Z])){var N=P[Z];typeof N=="string"&&(N=N.replace(/\"/g,'\\"')),G=q.querySelector('option[value="'+N+'"]')}G==null?(q.value="",q.selectedIndex=-1):G.selected=!0}else if(j==null)q.classList.remove("ql-active");else if(q.hasAttribute("value")){var A=P[Z]===q.getAttribute("value")||P[Z]!=null&&P[Z].toString()===q.getAttribute("value")||P[Z]==null&&!q.getAttribute("value");q.classList.toggle("ql-active",A)}else q.classList.toggle("ql-active",P[Z]!=null)})}}]),w}(g.default);z.DEFAULTS={};function k(H,w,E){var j=document.createElement("button");j.setAttribute("type","button"),j.classList.add("ql-"+w),E!=null&&(j.value=E),H.appendChild(j)}function S(H,w){Array.isArray(w[0])||(w=[w]),w.forEach(function(E){var j=document.createElement("span");j.classList.add("ql-formats"),E.forEach(function(P){if(typeof P=="string")k(j,P);else{var O=Object.keys(P)[0],F=P[O];Array.isArray(F)?V(j,O,F):k(j,O,F)}}),H.appendChild(j)})}function V(H,w,E){var j=document.createElement("select");j.classList.add("ql-"+w),E.forEach(function(P){var O=document.createElement("option");P!==!1?O.setAttribute("value",P):O.setAttribute("selected","selected"),j.appendChild(O)}),H.appendChild(j)}z.DEFAULTS={container:null,handlers:{clean:function(){var w=this,E=this.quill.getSelection();if(E!=null)if(E.length==0){var j=this.quill.getFormat();Object.keys(j).forEach(function(P){u.default.query(P,u.default.Scope.INLINE)!=null&&w.quill.format(P,!1)})}else this.quill.removeFormat(E,h.default.sources.USER)},direction:function(w){var E=this.quill.getFormat().align;w==="rtl"&&E==null?this.quill.format("align","right",h.default.sources.USER):!w&&E==="right"&&this.quill.format("align",!1,h.default.sources.USER),this.quill.format("direction",w,h.default.sources.USER)},indent:function(w){var E=this.quill.getSelection(),j=this.quill.getFormat(E),P=parseInt(j.indent||0);if(w==="+1"||w==="-1"){var O=w==="+1"?1:-1;j.direction==="rtl"&&(O*=-1),this.quill.format("indent",P+O,h.default.sources.USER)}},link:function(w){w===!0&&(w=prompt("Enter link URL:")),this.quill.format("link",w,h.default.sources.USER)},list:function(w){var E=this.quill.getSelection(),j=this.quill.getFormat(E);w==="check"?j.list==="checked"||j.list==="unchecked"?this.quill.format("list",!1,h.default.sources.USER):this.quill.format("list","unchecked",h.default.sources.USER):this.quill.format("list",w,h.default.sources.USER)}}},r.default=z,r.addControls=S},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function v(p,g){for(var y=0;y<g.length;y++){var x=g[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,y){return g&&v(p.prototype,g),y&&v(p,y),p}}(),i=function v(p,g,y){p===null&&(p=Function.prototype);var x=Object.getOwnPropertyDescriptor(p,g);if(x===void 0){var C=Object.getPrototypeOf(p);return C===null?void 0:v(C,g,y)}else{if("value"in x)return x.value;var b=x.get;return b===void 0?void 0:b.call(y)}},s=n(28),l=f(s);function f(v){return v&&v.__esModule?v:{default:v}}function u(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function d(v,p){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:v}function h(v,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);v.prototype=Object.create(p&&p.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(v,p):v.__proto__=p)}var m=function(v){h(p,v);function p(g,y){u(this,p);var x=d(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g));return x.label.innerHTML=y,x.container.classList.add("ql-color-picker"),[].slice.call(x.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(C){C.classList.add("ql-primary")}),x}return c(p,[{key:"buildItem",value:function(y){var x=i(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"buildItem",this).call(this,y);return x.style.backgroundColor=y.getAttribute("value")||"",x}},{key:"selectItem",value:function(y,x){i(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"selectItem",this).call(this,y,x);var C=this.label.querySelector(".ql-color-label"),b=y&&y.getAttribute("data-value")||"";C&&(C.tagName==="line"?C.style.stroke=b:C.style.fill=b)}}]),p}(l.default);r.default=m},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function v(p,g){for(var y=0;y<g.length;y++){var x=g[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,y){return g&&v(p.prototype,g),y&&v(p,y),p}}(),i=function v(p,g,y){p===null&&(p=Function.prototype);var x=Object.getOwnPropertyDescriptor(p,g);if(x===void 0){var C=Object.getPrototypeOf(p);return C===null?void 0:v(C,g,y)}else{if("value"in x)return x.value;var b=x.get;return b===void 0?void 0:b.call(y)}},s=n(28),l=f(s);function f(v){return v&&v.__esModule?v:{default:v}}function u(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function d(v,p){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:v}function h(v,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);v.prototype=Object.create(p&&p.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(v,p):v.__proto__=p)}var m=function(v){h(p,v);function p(g,y){u(this,p);var x=d(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,g));return x.container.classList.add("ql-icon-picker"),[].forEach.call(x.container.querySelectorAll(".ql-picker-item"),function(C){C.innerHTML=y[C.getAttribute("data-value")||""]}),x.defaultItem=x.container.querySelector(".ql-selected"),x.selectItem(x.defaultItem),x}return c(p,[{key:"selectItem",value:function(y,x){i(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"selectItem",this).call(this,y,x),y=y||this.defaultItem,this.label.innerHTML=y.innerHTML}}]),p}(l.default);r.default=m},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function l(f,u){for(var d=0;d<u.length;d++){var h=u[d];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(f,h.key,h)}}return function(f,u,d){return u&&l(f.prototype,u),d&&l(f,d),f}}();function i(l,f){if(!(l instanceof f))throw new TypeError("Cannot call a class as a function")}var s=function(){function l(f,u){var d=this;i(this,l),this.quill=f,this.boundsContainer=u||document.body,this.root=f.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){d.root.style.marginTop=-1*d.quill.root.scrollTop+"px"}),this.hide()}return c(l,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(u){var d=u.left+u.width/2-this.root.offsetWidth/2,h=u.bottom+this.quill.root.scrollTop;this.root.style.left=d+"px",this.root.style.top=h+"px",this.root.classList.remove("ql-flip");var m=this.boundsContainer.getBoundingClientRect(),v=this.root.getBoundingClientRect(),p=0;if(v.right>m.right&&(p=m.right-v.right,this.root.style.left=d+p+"px"),v.left<m.left&&(p=m.left-v.left,this.root.style.left=d+p+"px"),v.bottom>m.bottom){var g=v.bottom-v.top,y=u.bottom-u.top+g;this.root.style.top=h-y+"px",this.root.classList.add("ql-flip")}return p}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),l}();r.default=s},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function V(H,w){var E=[],j=!0,P=!1,O=void 0;try{for(var F=H[Symbol.iterator](),Z;!(j=(Z=F.next()).done)&&(E.push(Z.value),!(w&&E.length===w));j=!0);}catch(q){P=!0,O=q}finally{try{!j&&F.return&&F.return()}finally{if(P)throw O}}return E}return function(H,w){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return V(H,w);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function V(H,w,E){H===null&&(H=Function.prototype);var j=Object.getOwnPropertyDescriptor(H,w);if(j===void 0){var P=Object.getPrototypeOf(H);return P===null?void 0:V(P,w,E)}else{if("value"in j)return j.value;var O=j.get;return O===void 0?void 0:O.call(E)}},s=function(){function V(H,w){for(var E=0;E<w.length;E++){var j=w[E];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(H,j.key,j)}}return function(H,w,E){return w&&V(H.prototype,w),E&&V(H,E),H}}(),l=n(3),f=C(l),u=n(8),d=C(u),h=n(43),m=C(h),v=n(27),p=C(v),g=n(15),y=n(41),x=C(y);function C(V){return V&&V.__esModule?V:{default:V}}function b(V,H){if(!(V instanceof H))throw new TypeError("Cannot call a class as a function")}function M(V,H){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return H&&(typeof H=="object"||typeof H=="function")?H:V}function _(V,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof H);V.prototype=Object.create(H&&H.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),H&&(Object.setPrototypeOf?Object.setPrototypeOf(V,H):V.__proto__=H)}var z=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],k=function(V){_(H,V);function H(w,E){b(this,H),E.modules.toolbar!=null&&E.modules.toolbar.container==null&&(E.modules.toolbar.container=z);var j=M(this,(H.__proto__||Object.getPrototypeOf(H)).call(this,w,E));return j.quill.container.classList.add("ql-snow"),j}return s(H,[{key:"extendToolbar",value:function(E){E.container.classList.add("ql-snow"),this.buildButtons([].slice.call(E.container.querySelectorAll("button")),x.default),this.buildPickers([].slice.call(E.container.querySelectorAll("select")),x.default),this.tooltip=new S(this.quill,this.options.bounds),E.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(j,P){E.handlers.link.call(E,!P.format.link)})}}]),H}(m.default);k.DEFAULTS=(0,f.default)(!0,{},m.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(H){if(H){var w=this.quill.getSelection();if(w==null||w.length==0)return;var E=this.quill.getText(w);/^\S+@\S+\.\S+$/.test(E)&&E.indexOf("mailto:")!==0&&(E="mailto:"+E);var j=this.quill.theme.tooltip;j.edit("link",E)}else this.quill.format("link",!1)}}}}});var S=function(V){_(H,V);function H(w,E){b(this,H);var j=M(this,(H.__proto__||Object.getPrototypeOf(H)).call(this,w,E));return j.preview=j.root.querySelector("a.ql-preview"),j}return s(H,[{key:"listen",value:function(){var E=this;i(H.prototype.__proto__||Object.getPrototypeOf(H.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(j){E.root.classList.contains("ql-editing")?E.save():E.edit("link",E.preview.textContent),j.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(j){if(E.linkRange!=null){var P=E.linkRange;E.restoreFocus(),E.quill.formatText(P,"link",!1,d.default.sources.USER),delete E.linkRange}j.preventDefault(),E.hide()}),this.quill.on(d.default.events.SELECTION_CHANGE,function(j,P,O){if(j!=null){if(j.length===0&&O===d.default.sources.USER){var F=E.quill.scroll.descendant(p.default,j.index),Z=c(F,2),q=Z[0],G=Z[1];if(q!=null){E.linkRange=new g.Range(j.index-G,q.length());var N=p.default.formats(q.domNode);E.preview.textContent=N,E.preview.setAttribute("href",N),E.show(),E.position(E.quill.getBounds(E.linkRange));return}}else delete E.linkRange;E.hide()}})}},{key:"show",value:function(){i(H.prototype.__proto__||Object.getPrototypeOf(H.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),H}(h.BaseTooltip);S.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),r.default=k},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=n(29),i=H1(c),s=n(36),l=n(38),f=n(64),u=n(65),d=H1(u),h=n(66),m=H1(h),v=n(67),p=H1(v),g=n(37),y=n(26),x=n(39),C=n(40),b=n(56),M=H1(b),_=n(68),z=H1(_),k=n(27),S=H1(k),V=n(69),H=H1(V),w=n(70),E=H1(w),j=n(71),P=H1(j),O=n(72),F=H1(O),Z=n(73),q=H1(Z),G=n(13),N=H1(G),A=n(74),L=H1(A),W=n(75),Y=H1(W),T=n(57),I=H1(T),a1=n(41),n1=H1(a1),t1=n(28),d1=H1(t1),R=n(59),p1=H1(R),z1=n(60),h1=H1(z1),l1=n(61),f1=H1(l1),u1=n(108),g1=H1(u1),k1=n(62),b1=H1(k1);function H1(R1){return R1&&R1.__esModule?R1:{default:R1}}i.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":s.AlignClass,"attributors/class/background":g.BackgroundClass,"attributors/class/color":y.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":x.FontClass,"attributors/class/size":C.SizeClass,"attributors/style/align":s.AlignStyle,"attributors/style/background":g.BackgroundStyle,"attributors/style/color":y.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":x.FontStyle,"attributors/style/size":C.SizeStyle},!0),i.default.register({"formats/align":s.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":f.IndentClass,"formats/background":g.BackgroundStyle,"formats/color":y.ColorStyle,"formats/font":x.FontClass,"formats/size":C.SizeClass,"formats/blockquote":d.default,"formats/code-block":N.default,"formats/header":m.default,"formats/list":p.default,"formats/bold":M.default,"formats/code":G.Code,"formats/italic":z.default,"formats/link":S.default,"formats/script":H.default,"formats/strike":E.default,"formats/underline":P.default,"formats/image":F.default,"formats/video":q.default,"formats/list/item":v.ListItem,"modules/formula":L.default,"modules/syntax":Y.default,"modules/toolbar":I.default,"themes/bubble":g1.default,"themes/snow":b1.default,"ui/icons":n1.default,"ui/picker":d1.default,"ui/icon-picker":h1.default,"ui/color-picker":p1.default,"ui/tooltip":f1.default},!0),r.default=i.default},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.IndentClass=void 0;var c=function(){function p(g,y){for(var x=0;x<y.length;x++){var C=y[x];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(g,C.key,C)}}return function(g,y,x){return y&&p(g.prototype,y),x&&p(g,x),g}}(),i=function p(g,y,x){g===null&&(g=Function.prototype);var C=Object.getOwnPropertyDescriptor(g,y);if(C===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:p(b,y,x)}else{if("value"in C)return C.value;var M=C.get;return M===void 0?void 0:M.call(x)}},s=n(0),l=f(s);function f(p){return p&&p.__esModule?p:{default:p}}function u(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function d(p,g){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:p}function h(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(p,g):p.__proto__=g)}var m=function(p){h(g,p);function g(){return u(this,g),d(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return c(g,[{key:"add",value:function(x,C){if(C==="+1"||C==="-1"){var b=this.value(x)||0;C=C==="+1"?b+1:b-1}return C===0?(this.remove(x),!0):i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"add",this).call(this,x,C)}},{key:"canAdd",value:function(x,C){return i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"canAdd",this).call(this,x,C)||i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"canAdd",this).call(this,x,parseInt(C))}},{key:"value",value:function(x){return parseInt(i(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"value",this).call(this,x))||void 0}}]),g}(l.default.Attributor.Class),v=new m("indent","ql-indent",{scope:l.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});r.IndentClass=v},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=n(4),i=s(c);function s(h){return h&&h.__esModule?h:{default:h}}function l(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function f(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var d=function(h){u(m,h);function m(){return l(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return m}(i.default);d.blotName="blockquote",d.tagName="blockquote",r.default=d},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function m(v,p){for(var g=0;g<p.length;g++){var y=p[g];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(v,y.key,y)}}return function(v,p,g){return p&&m(v.prototype,p),g&&m(v,g),v}}(),i=n(4),s=l(i);function l(m){return m&&m.__esModule?m:{default:m}}function f(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function u(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function d(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var h=function(m){d(v,m);function v(){return f(this,v),u(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return c(v,null,[{key:"formats",value:function(g){return this.tagName.indexOf(g.tagName)+1}}]),v}(s.default);h.blotName="header",h.tagName=["H1","H2","H3","H4","H5","H6"],r.default=h},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ListItem=void 0;var c=function(){function b(M,_){for(var z=0;z<_.length;z++){var k=_[z];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(M,k.key,k)}}return function(M,_,z){return _&&b(M.prototype,_),z&&b(M,z),M}}(),i=function b(M,_,z){M===null&&(M=Function.prototype);var k=Object.getOwnPropertyDescriptor(M,_);if(k===void 0){var S=Object.getPrototypeOf(M);return S===null?void 0:b(S,_,z)}else{if("value"in k)return k.value;var V=k.get;return V===void 0?void 0:V.call(z)}},s=n(0),l=m(s),f=n(4),u=m(f),d=n(25),h=m(d);function m(b){return b&&b.__esModule?b:{default:b}}function v(b,M,_){return M in b?Object.defineProperty(b,M,{value:_,enumerable:!0,configurable:!0,writable:!0}):b[M]=_,b}function p(b,M){if(!(b instanceof M))throw new TypeError("Cannot call a class as a function")}function g(b,M){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:b}function y(b,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);b.prototype=Object.create(M&&M.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(b,M):b.__proto__=M)}var x=function(b){y(M,b);function M(){return p(this,M),g(this,(M.__proto__||Object.getPrototypeOf(M)).apply(this,arguments))}return c(M,[{key:"format",value:function(z,k){z===C.blotName&&!k?this.replaceWith(l.default.create(this.statics.scope)):i(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"format",this).call(this,z,k)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():i(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(z,k){return this.parent.isolate(this.offset(this.parent),this.length()),z===this.parent.statics.blotName?(this.parent.replaceWith(z,k),this):(this.parent.unwrap(),i(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"replaceWith",this).call(this,z,k))}}],[{key:"formats",value:function(z){return z.tagName===this.tagName?void 0:i(M.__proto__||Object.getPrototypeOf(M),"formats",this).call(this,z)}}]),M}(u.default);x.blotName="list-item",x.tagName="LI";var C=function(b){y(M,b),c(M,null,[{key:"create",value:function(z){var k=z==="ordered"?"OL":"UL",S=i(M.__proto__||Object.getPrototypeOf(M),"create",this).call(this,k);return(z==="checked"||z==="unchecked")&&S.setAttribute("data-checked",z==="checked"),S}},{key:"formats",value:function(z){if(z.tagName==="OL")return"ordered";if(z.tagName==="UL")return z.hasAttribute("data-checked")?z.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function M(_){p(this,M);var z=g(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,_)),k=function(V){if(V.target.parentNode===_){var H=z.statics.formats(_),w=l.default.find(V.target);H==="checked"?w.format("list","unchecked"):H==="unchecked"&&w.format("list","checked")}};return _.addEventListener("touchstart",k),_.addEventListener("mousedown",k),z}return c(M,[{key:"format",value:function(z,k){this.children.length>0&&this.children.tail.format(z,k)}},{key:"formats",value:function(){return v({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(z,k){if(z instanceof x)i(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"insertBefore",this).call(this,z,k);else{var S=k==null?this.length():k.offset(this),V=this.split(S);V.parent.insertBefore(z,V)}}},{key:"optimize",value:function(z){i(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"optimize",this).call(this,z);var k=this.next;k!=null&&k.prev===this&&k.statics.blotName===this.statics.blotName&&k.domNode.tagName===this.domNode.tagName&&k.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(k.moveChildren(this),k.remove())}},{key:"replace",value:function(z){if(z.statics.blotName!==this.statics.blotName){var k=l.default.create(this.statics.defaultChild);z.moveChildren(k),this.appendChild(k)}i(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"replace",this).call(this,z)}}]),M}(h.default);C.blotName="list",C.scope=l.default.Scope.BLOCK_BLOT,C.tagName=["OL","UL"],C.defaultChild="list-item",C.allowedChildren=[x],r.ListItem=x,r.default=C},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=n(56),i=s(c);function s(h){return h&&h.__esModule?h:{default:h}}function l(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function f(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var d=function(h){u(m,h);function m(){return l(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return m}(i.default);d.blotName="italic",d.tagName=["EM","I"],r.default=d},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function v(p,g){for(var y=0;y<g.length;y++){var x=g[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}return function(p,g,y){return g&&v(p.prototype,g),y&&v(p,y),p}}(),i=function v(p,g,y){p===null&&(p=Function.prototype);var x=Object.getOwnPropertyDescriptor(p,g);if(x===void 0){var C=Object.getPrototypeOf(p);return C===null?void 0:v(C,g,y)}else{if("value"in x)return x.value;var b=x.get;return b===void 0?void 0:b.call(y)}},s=n(6),l=f(s);function f(v){return v&&v.__esModule?v:{default:v}}function u(v,p){if(!(v instanceof p))throw new TypeError("Cannot call a class as a function")}function d(v,p){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:v}function h(v,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);v.prototype=Object.create(p&&p.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(v,p):v.__proto__=p)}var m=function(v){h(p,v);function p(){return u(this,p),d(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return c(p,null,[{key:"create",value:function(y){return y==="super"?document.createElement("sup"):y==="sub"?document.createElement("sub"):i(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this,y)}},{key:"formats",value:function(y){if(y.tagName==="SUB")return"sub";if(y.tagName==="SUP")return"super"}}]),p}(l.default);m.blotName="script",m.tagName=["SUB","SUP"],r.default=m},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=n(6),i=s(c);function s(h){return h&&h.__esModule?h:{default:h}}function l(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function f(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var d=function(h){u(m,h);function m(){return l(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return m}(i.default);d.blotName="strike",d.tagName="S",r.default=d},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=n(6),i=s(c);function s(h){return h&&h.__esModule?h:{default:h}}function l(h,m){if(!(h instanceof m))throw new TypeError("Cannot call a class as a function")}function f(h,m){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:h}function u(h,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);h.prototype=Object.create(m&&m.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(h,m):h.__proto__=m)}var d=function(h){u(m,h);function m(){return l(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return m}(i.default);d.blotName="underline",d.tagName="U",r.default=d},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function g(y,x){for(var C=0;C<x.length;C++){var b=x[C];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(y,b.key,b)}}return function(y,x,C){return x&&g(y.prototype,x),C&&g(y,C),y}}(),i=function g(y,x,C){y===null&&(y=Function.prototype);var b=Object.getOwnPropertyDescriptor(y,x);if(b===void 0){var M=Object.getPrototypeOf(y);return M===null?void 0:g(M,x,C)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(C)}},s=n(0),l=u(s),f=n(27);function u(g){return g&&g.__esModule?g:{default:g}}function d(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:g}function m(g,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}var v=["alt","height","width"],p=function(g){m(y,g);function y(){return d(this,y),h(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return c(y,[{key:"format",value:function(C,b){v.indexOf(C)>-1?b?this.domNode.setAttribute(C,b):this.domNode.removeAttribute(C):i(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"format",this).call(this,C,b)}}],[{key:"create",value:function(C){var b=i(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,C);return typeof C=="string"&&b.setAttribute("src",this.sanitize(C)),b}},{key:"formats",value:function(C){return v.reduce(function(b,M){return C.hasAttribute(M)&&(b[M]=C.getAttribute(M)),b},{})}},{key:"match",value:function(C){return/\.(jpe?g|gif|png)$/.test(C)||/^data:image\/.+;base64/.test(C)}},{key:"sanitize",value:function(C){return(0,f.sanitize)(C,["http","https","data"])?C:"//:0"}},{key:"value",value:function(C){return C.getAttribute("src")}}]),y}(l.default.Embed);p.blotName="image",p.tagName="IMG",r.default=p},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0});var c=function(){function g(y,x){for(var C=0;C<x.length;C++){var b=x[C];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(y,b.key,b)}}return function(y,x,C){return x&&g(y.prototype,x),C&&g(y,C),y}}(),i=function g(y,x,C){y===null&&(y=Function.prototype);var b=Object.getOwnPropertyDescriptor(y,x);if(b===void 0){var M=Object.getPrototypeOf(y);return M===null?void 0:g(M,x,C)}else{if("value"in b)return b.value;var _=b.get;return _===void 0?void 0:_.call(C)}},s=n(4),l=n(27),f=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function d(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")}function h(g,y){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:g}function m(g,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);g.prototype=Object.create(y&&y.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(g,y):g.__proto__=y)}var v=["height","width"],p=function(g){m(y,g);function y(){return d(this,y),h(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return c(y,[{key:"format",value:function(C,b){v.indexOf(C)>-1?b?this.domNode.setAttribute(C,b):this.domNode.removeAttribute(C):i(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"format",this).call(this,C,b)}}],[{key:"create",value:function(C){var b=i(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,C);return b.setAttribute("frameborder","0"),b.setAttribute("allowfullscreen",!0),b.setAttribute("src",this.sanitize(C)),b}},{key:"formats",value:function(C){return v.reduce(function(b,M){return C.hasAttribute(M)&&(b[M]=C.getAttribute(M)),b},{})}},{key:"sanitize",value:function(C){return f.default.sanitize(C)}},{key:"value",value:function(C){return C.getAttribute("src")}}]),y}(s.BlockEmbed);p.blotName="video",p.className="ql-video",p.tagName="IFRAME",r.default=p},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.FormulaBlot=void 0;var c=function(){function C(b,M){for(var _=0;_<M.length;_++){var z=M[_];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(b,z.key,z)}}return function(b,M,_){return M&&C(b.prototype,M),_&&C(b,_),b}}(),i=function C(b,M,_){b===null&&(b=Function.prototype);var z=Object.getOwnPropertyDescriptor(b,M);if(z===void 0){var k=Object.getPrototypeOf(b);return k===null?void 0:C(k,M,_)}else{if("value"in z)return z.value;var S=z.get;return S===void 0?void 0:S.call(_)}},s=n(35),l=m(s),f=n(5),u=m(f),d=n(9),h=m(d);function m(C){return C&&C.__esModule?C:{default:C}}function v(C,b){if(!(C instanceof b))throw new TypeError("Cannot call a class as a function")}function p(C,b){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:C}function g(C,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);C.prototype=Object.create(b&&b.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(C,b):C.__proto__=b)}var y=function(C){g(b,C);function b(){return v(this,b),p(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return c(b,null,[{key:"create",value:function(_){var z=i(b.__proto__||Object.getPrototypeOf(b),"create",this).call(this,_);return typeof _=="string"&&(window.katex.render(_,z,{throwOnError:!1,errorColor:"#f00"}),z.setAttribute("data-value",_)),z}},{key:"value",value:function(_){return _.getAttribute("data-value")}}]),b}(l.default);y.blotName="formula",y.className="ql-formula",y.tagName="SPAN";var x=function(C){g(b,C),c(b,null,[{key:"register",value:function(){u.default.register(y,!0)}}]);function b(){v(this,b);var M=p(this,(b.__proto__||Object.getPrototypeOf(b)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return M}return b}(h.default);r.FormulaBlot=y,r.default=x},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.CodeToken=r.CodeBlock=void 0;var c=function(){function _(z,k){for(var S=0;S<k.length;S++){var V=k[S];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(z,V.key,V)}}return function(z,k,S){return k&&_(z.prototype,k),S&&_(z,S),z}}(),i=function _(z,k,S){z===null&&(z=Function.prototype);var V=Object.getOwnPropertyDescriptor(z,k);if(V===void 0){var H=Object.getPrototypeOf(z);return H===null?void 0:_(H,k,S)}else{if("value"in V)return V.value;var w=V.get;return w===void 0?void 0:w.call(S)}},s=n(0),l=p(s),f=n(5),u=p(f),d=n(9),h=p(d),m=n(13),v=p(m);function p(_){return _&&_.__esModule?_:{default:_}}function g(_,z){if(!(_ instanceof z))throw new TypeError("Cannot call a class as a function")}function y(_,z){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:_}function x(_,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);_.prototype=Object.create(z&&z.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(_,z):_.__proto__=z)}var C=function(_){x(z,_);function z(){return g(this,z),y(this,(z.__proto__||Object.getPrototypeOf(z)).apply(this,arguments))}return c(z,[{key:"replaceWith",value:function(S){this.domNode.textContent=this.domNode.textContent,this.attach(),i(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"replaceWith",this).call(this,S)}},{key:"highlight",value:function(S){var V=this.domNode.textContent;this.cachedText!==V&&((V.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=S(V),this.domNode.normalize(),this.attach()),this.cachedText=V)}}]),z}(v.default);C.className="ql-syntax";var b=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE}),M=function(_){x(z,_),c(z,null,[{key:"register",value:function(){u.default.register(b,!0),u.default.register(C,!0)}}]);function z(k,S){g(this,z);var V=y(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,k,S));if(typeof V.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var H=null;return V.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(H),H=setTimeout(function(){V.highlight(),H=null},V.options.interval)}),V.highlight(),V}return c(z,[{key:"highlight",value:function(){var S=this;if(!this.quill.selection.composing){this.quill.update(u.default.sources.USER);var V=this.quill.getSelection();this.quill.scroll.descendants(C).forEach(function(H){H.highlight(S.options.highlight)}),this.quill.update(u.default.sources.SILENT),V!=null&&this.quill.setSelection(V,u.default.sources.SILENT)}}}]),z}(h.default);M.DEFAULTS={highlight:function(){return window.hljs==null?null:function(_){var z=window.hljs.highlightAuto(_);return z.value}}(),interval:1e3},r.CodeBlock=C,r.CodeToken=b,r.default=M},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(a,r){a.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(a,r){a.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(a,r){a.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(a,r){a.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(a,r){a.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BubbleTooltip=void 0;var c=function z(k,S,V){k===null&&(k=Function.prototype);var H=Object.getOwnPropertyDescriptor(k,S);if(H===void 0){var w=Object.getPrototypeOf(k);return w===null?void 0:z(w,S,V)}else{if("value"in H)return H.value;var E=H.get;return E===void 0?void 0:E.call(V)}},i=function(){function z(k,S){for(var V=0;V<S.length;V++){var H=S[V];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(k,H.key,H)}}return function(k,S,V){return S&&z(k.prototype,S),V&&z(k,V),k}}(),s=n(3),l=g(s),f=n(8),u=g(f),d=n(43),h=g(d),m=n(15),v=n(41),p=g(v);function g(z){return z&&z.__esModule?z:{default:z}}function y(z,k){if(!(z instanceof k))throw new TypeError("Cannot call a class as a function")}function x(z,k){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:z}function C(z,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);z.prototype=Object.create(k&&k.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(z,k):z.__proto__=k)}var b=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],M=function(z){C(k,z);function k(S,V){y(this,k),V.modules.toolbar!=null&&V.modules.toolbar.container==null&&(V.modules.toolbar.container=b);var H=x(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,S,V));return H.quill.container.classList.add("ql-bubble"),H}return i(k,[{key:"extendToolbar",value:function(V){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(V.container),this.buildButtons([].slice.call(V.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(V.container.querySelectorAll("select")),p.default)}}]),k}(h.default);M.DEFAULTS=(0,l.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(k){k?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(z){C(k,z);function k(S,V){y(this,k);var H=x(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,S,V));return H.quill.on(u.default.events.EDITOR_CHANGE,function(w,E,j,P){if(w===u.default.events.SELECTION_CHANGE)if(E!=null&&E.length>0&&P===u.default.sources.USER){H.show(),H.root.style.left="0px",H.root.style.width="",H.root.style.width=H.root.offsetWidth+"px";var O=H.quill.getLines(E.index,E.length);if(O.length===1)H.position(H.quill.getBounds(E));else{var F=O[O.length-1],Z=H.quill.getIndex(F),q=Math.min(F.length()-1,E.index+E.length-Z),G=H.quill.getBounds(new m.Range(Z,q));H.position(G)}}else document.activeElement!==H.textbox&&H.quill.hasFocus()&&H.hide()}),H}return i(k,[{key:"listen",value:function(){var V=this;c(k.prototype.__proto__||Object.getPrototypeOf(k.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){V.root.classList.remove("ql-editing")}),this.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!V.root.classList.contains("ql-hidden")){var H=V.quill.getSelection();H!=null&&V.position(V.quill.getBounds(H))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(V){var H=c(k.prototype.__proto__||Object.getPrototypeOf(k.prototype),"position",this).call(this,V),w=this.root.querySelector(".ql-tooltip-arrow");if(w.style.marginLeft="",H===0)return H;w.style.marginLeft=-1*H-w.offsetWidth/2+"px"}}]),k}(d.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),r.BubbleTooltip=_,r.default=M},function(a,r,n){a.exports=n(63)}]).default})})(by);var u$=by.exports;const d$=lT(u$);const h$={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert content here ...",readOnly:!1},m$={name:"quill-editor",props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})}},emits:["ready","change","input","blur","focus","update:value"],setup(e,t){const a={editorOption:{},quill:null};let r="";o.watch(()=>e.value,s=>{a.quill&&(s&&s!==r?(r=s,a.quill.pasteHTML(s)):s||a.quill.setText(""))}),o.watch(()=>e.content,s=>{a.quill&&(s&&s!==r?(r=s,a.quill.pasteHTML(s)):s||a.quill.setText(""))}),o.watch(()=>e.disabled,s=>{a.quill&&a.quill.enable(!s)});const n=o.ref(null),c=(s,l)=>{for(const f in l)!s[f]||f!=="modules"?s[f]=l[f]:c(s[f],l[f]);return s},i=()=>{n.value&&(a.editorOption=c(h$,e.options),a.editorOption.readOnly=!!e.disabled,a.quill=new d$(n.value,a.editorOption),e.value&&a.quill.pasteHTML(e.value),a.quill.on("selection-change",s=>{s?t.emit("focus",a.quill):t.emit("blur",a.quill)}),a.quill.on("text-change",()=>{e.disabled&&a.quill.enable(!1);let s=n.value.children[0].innerHTML;const l=a.quill,f=a.quill.getText();s==="<p><br></p>"&&(s=""),r=s,t.emit("update:value",r),t.emit("change",{html:s,text:f,quill:l})}),t.emit("ready",a.quill))};return o.onBeforeUnmount(()=>{const s=n.value.previousSibling;s&&s.nodeType===1&&s.className.indexOf("ql-toolbar")>-1&&s.parentNode.removeChild(s)}),o.onMounted(()=>{i()}),o.onUnmounted(()=>{a.quill=null}),{editor:n}}},p$={ref:"editor"};function v$(e,t,a,r,n,c){return o.openBlock(),o.createElementBlock("section",p$,null,512)}const Q8=P1(m$,[["render",v$]]);Q8.install=function(e){e.component(Q8.name,Q8)};const g$=o.defineComponent({__name:"PgaMaxLength",props:{content:{},maxLength:{}},setup(e){const t=e,a=o.computed(()=>{var n;return((n=t.content)==null?void 0:n.length)||0}),r=o.computed(()=>a.value>t.maxLength);return(n,c)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["pga-max-length",{"pga-max-length--error":r.value}])},o.toDisplayString(`${a.value} / ${n.maxLength}`),3))}});const fl=P1(g$,[["__scopeId","data-v-4e8a2dd8"]]),y$={class:"pga-editor"},x$={class:"editor__container"},b$={class:"editor__footer"},C$=o.defineComponent({__name:"PgaEditor",props:o.mergeModels({saveFn:{type:Function},maxContentLength:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=o.useModel(e,"modelValue"),a=e,r=we.getConfig(),n=x2("pgaEditor"),c={placeholder:"",modules:{toolbar:[[{header:[!1,1,2,3,4,5,6]}],["bold","italic","underline","strike"],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["blockquote"],[{list:"ordered"},{list:"bullet"}],[{color:[]},{background:[]}],["link"],["clean"]]}},i=o.ref(t.value),s=o.ref(!1);let l;const f=o.ref(!1),u=o.ref(!1),d=o.computed(()=>a.maxContentLength||r.stringLengths.hyperLong),h=o.computed(()=>vv(t.value)),m=o.computed(()=>h.value.length),v=o.computed(()=>m.value>d.value);o.watch(t,()=>{f.value=!1,u.value=!1,clearTimeout(l),l=setTimeout(()=>p(),1e3*3)});async function p(){if(i.value!==t.value){if(v.value){u.value=!0;return}try{s.value=!0,i.value=await a.saveFn(t.value),f.value=!0,setTimeout(()=>f.value=!1,1e3*3)}finally{s.value=!1}}}return(g,y)=>(o.openBlock(),o.createElementBlock("div",y$,[o.createElementVNode("div",x$,[o.createVNode(o.unref(Q8),{value:t.value,"onUpdate:value":y[0]||(y[0]=x=>t.value=x),options:c},null,8,["value"])]),o.createElementVNode("div",b$,[o.createVNode(fl,{content:h.value,maxLength:d.value},null,8,["content","maxLength"]),s.value?(o.openBlock(),o.createBlock(Lt,{key:0,size:"m",preventCenter:""})):f.value?(o.openBlock(),o.createBlock(q2,{key:1,icon:"save",text:o.unref(n)("savedMsg"),color:"success"},null,8,["text"])):u.value?(o.openBlock(),o.createBlock(q2,{key:2,icon:"circle-xmark",text:o.unref(n)("saveErrorMsg"),color:"danger"},null,8,["text"])):o.createCommentVNode("",!0)])]))}});const M$=P1(C$,[["__scopeId","data-v-4b498289"]]),z$={class:"pga-info-card"},_$={key:1,class:"info-card__content"},w$=o.defineComponent({__name:"PgaInfoCard",props:{type:{default:"success"},title:{},description:{},isLoading:{type:Boolean}},setup(e){return(t,a)=>(o.openBlock(),o.createElementBlock("div",z$,[t.isLoading?(o.openBlock(),o.createBlock(Lt,{key:0})):(o.openBlock(),o.createElementBlock("div",_$,[o.createVNode(_e,{icon:t.type==="success"?"circle-check":"circle-xmark",color:t.type,size:"1.9rem"},null,8,["icon","color"]),o.createVNode(q2,{class:"info-card__title",text:t.title},null,8,["text"]),t.description?(o.openBlock(),o.createBlock(q2,{key:0,class:"info-card__description",text:t.description},null,8,["text"])):o.createCommentVNode("",!0),o.renderSlot(t.$slots,"default",{},void 0,!0)]))]))}});const k$=P1(w$,[["__scopeId","data-v-48bac905"]]),Ni=o.defineComponent({__name:"PgaInfoTooltip",props:{info:{},size:{default:"0.9rem"}},setup(e){const t=e,a=o.computed(()=>pe(t.info));return(r,n)=>{const c=o.resolveDirective("tooltip");return a.value?o.withDirectives((o.openBlock(),o.createBlock(_e,{key:0,icon:["far","circle-question"],size:r.size},null,8,["size"])),[[c,{content:a.value,html:!0}]]):o.createCommentVNode("",!0)}}}),H$=o.defineComponent({__name:"PgaIsEnabled",props:{isEnabled:{type:Boolean}},setup(e){const t=e;return(a,r)=>(o.openBlock(),o.createBlock(_e,{icon:t.isEnabled?"circle-check":"circle-xmark",color:t.isEnabled?"success":"danger"},null,8,["icon","color"]))}}),V$=o.defineComponent({__name:"PgaItemSelected",props:o.mergeModels({items:{},item:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const a=o.useModel(e,"modelValue"),r=e;t({toggleItemSelected:c});const n=o.computed({get(){if(r.item)return!!a.value.find(s=>s.id===r.item.id);for(const i of r.items)if(!a.value.find(l=>l.id===i.id))return!1;return!0},set(i){r.item?i?a.value.push(r.item):a.value=a.value.filter(s=>s.id!==r.item.id):i?a.value=[...r.items]:a.value=[]}});function c(){n.value=!n.value}return(i,s)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["item-selected",{"item-selected--selected":n.value}]),onClick:s[0]||(s[0]=l=>c())},[n.value?(o.openBlock(),o.createBlock(_e,{key:0,class:"item-selected__check-icon",icon:"check"})):o.createCommentVNode("",!0)],2))}});const h7=P1(V$,[["__scopeId","data-v-1c9cee8f"]]),L$={class:"modal__header"},S$=["textContent"],A$={class:"modal__body"},T$={key:0,class:"modal__footer"},E$=o.defineComponent({__name:"PgaModal",props:o.mergeModels({title:{},confirmButtons:{type:Boolean},isLoading:{type:Boolean},width:{default:"auto"}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:o.mergeModels(["accept"],["update:modelValue"]),setup(e,{emit:t}){o.useCssVars(c=>({"5d16f1e6":c.width}));const a=o.useModel(e,"modelValue"),r=t,n=x2("pgaModal");return o.watch(a,c=>Ar(!c)),(c,i)=>a.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:"modal",onMousedown:i[4]||(i[4]=s=>a.value=!1)},[o.createElementVNode("div",{class:"modal__content",onMousedown:i[3]||(i[3]=o.withModifiers(()=>{},["stop"]))},[o.createElementVNode("div",L$,[o.createElementVNode("span",{class:"modal__title",textContent:o.toDisplayString(c.title)},null,8,S$),o.createElementVNode("div",{class:"close-icon",onClick:i[0]||(i[0]=s=>a.value=!1)},[o.createVNode(_e,{icon:"xmark"})])]),o.createElementVNode("div",A$,[o.renderSlot(c.$slots,"default",{},void 0,!0)]),c.confirmButtons?(o.openBlock(),o.createElementBlock("div",T$,[c.isLoading?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(u2,{key:0,text:o.unref(n)("cancelBtn"),color:"danger",variant:"flat",onClick:i[1]||(i[1]=s=>a.value=!1)},null,8,["text"])),o.createVNode(u2,{icon:"save",text:o.unref(n)("acceptBtn"),color:"success",variant:"filled",isLoading:c.isLoading,onClick:i[2]||(i[2]=s=>r("accept"))},null,8,["text","isLoading"])])):o.createCommentVNode("",!0)],32)],32)):o.createCommentVNode("",!0)}});const N$=P1(E$,[["__scopeId","data-v-48d3f248"]]),D$={class:"pga-flex-row"},O$=o.defineComponent({__name:"PgaMonthSelector",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=o.useModel(e,"modelValue"),a=o.computed({get(){return{year:t.value.datetimeFrom.getFullYear(),month:t.value.datetimeFrom.getMonth()}},set(c){const i=new Date(c.year,c.month,1);t.value={datetimeFrom:i,datetimeTo:Xe.getNextMonthStartDate(i)}}});function r(){t.value={datetimeFrom:Xe.getPreviousMonthStartDate(t.value.datetimeFrom),datetimeTo:Xe.getPreviousMonthStartDate(t.value.datetimeTo)}}function n(){t.value={datetimeFrom:Xe.getNextMonthStartDate(t.value.datetimeFrom),datetimeTo:Xe.getNextMonthStartDate(t.value.datetimeTo)}}return(c,i)=>{const s=o.resolveComponent("PgaButton"),l=o.resolveComponent("PgaMonthPicker");return o.openBlock(),o.createElementBlock("div",D$,[o.createVNode(s,{icon:"arrow-left",variant:"flat",color:"first",onClick:i[0]||(i[0]=f=>r())}),o.createVNode(l,{modelValue:a.value,"onUpdate:modelValue":i[1]||(i[1]=f=>a.value=f),notClearable:""},null,8,["modelValue"]),o.createVNode(s,{icon:"arrow-right",variant:"flat",color:"first",onClick:i[2]||(i[2]=f=>n())})])}}}),P$=o.defineComponent({__name:"PgaSeparator",props:{vertical:{type:Boolean}},setup(e){return(t,a)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["separator",{"separator--vertical":t.vertical}])},null,2))}});const B$=P1(P$,[["__scopeId","data-v-12540ee5"]]),F$={class:"pga-tabs"},R$={class:"pga-tabs__nav",role:"tablist"},I$=["onClick"],$$={class:"pga-tabs__section",role:"tabpanel"},U$=o.defineComponent({__name:"PgaTabs",props:{tabs:{}},emits:["newTabActive"],setup(e,{emit:t}){o.useCssVars(s=>({"2754d634":c.value}));const a=e,r=o.ref(0),n=o.ref([]),c=o.ref("");o.watch(()=>a.tabs,()=>{n.value=[],o.nextTick(i)},{immediate:!0,deep:!0});function i(){const s=Math.max(0,...n.value.map(l=>l.offsetWidth));c.value=`${s}px`}return(s,l)=>{const f=o.resolveComponent("PgaIcon"),u=o.resolveComponent("PgaDisplayText");return o.openBlock(),o.createElementBlock("div",F$,[o.createElementVNode("nav",R$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.tabs,(d,h)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["pga-tabs__button",{"pga-tabs__button--active":r.value===h}]),key:`tab-${h}`,ref_for:!0,ref:m=>n.value[h]=m,role:"tab",onClick:m=>r.value=h},[d.icon?(o.openBlock(),o.createBlock(f,{key:0,icon:d.icon},null,8,["icon"])):o.createCommentVNode("",!0),o.createVNode(u,{text:d.label},null,8,["text"])],10,I$))),128))]),o.createElementVNode("section",$$,[o.renderSlot(s.$slots,`panel${r.value+1}`,{},void 0,!0)])])}}});const W$=P1(U$,[["__scopeId","data-v-40e53f60"]]),q$=["accept","multiple","disabled"],j$={class:"input-file__label-container"},Y$=o.defineComponent({__name:"PgaInputFile",props:{type:{},multiple:{type:Boolean},label:{},disabled:{type:Boolean},isLoading:{type:Boolean}},emits:["newFile","newFiles"],setup(e,{expose:t,emit:a}){o.useCssVars(M=>({"6241915b":o.unref(c).input.borderColor,"027f6ccc":o.unref(c).input.borderRadius,b4ce00ce:o.unref(c).input.backgroundColor,"466eb123":o.unref(c).input.backgroundColorHover,"6910f535":o.unref(c).input.backgroundColorDisabled}));const r=e,n=a;t({click:x,resetInput:C});const{form:c}=n3(),i=x2("pgaForm"),s=(()=>r.type==="image"?["jpeg","jpg","png","webp","gif","svg","bmp","tiff","heic"]:r.type==="video"?["mp4","mov","avi","webm","mkv"]:["xls","xlsx"])(),l=s.map(M=>`.${M}`).join(","),f=o.ref(),u=o.ref([]),d=o.ref(!1),h=o.ref(!1),m=o.computed(()=>r.disabled||r.isLoading),v=o.computed(()=>!!u.value.length),p=o.computed(()=>{for(const M of u.value){const _=M.name.split(".").pop();if(!s.includes(_))return!1}return!0}),g=o.computed(()=>{const M={icon:"upload"};return!v.value||d.value&&!h.value&&!m.value?M:p.value?{icon:"circle-check",color:"success"}:{icon:"circle-xmark",color:"danger"}}),y=o.computed(()=>v.value?u.value.map(M=>M.name).join(", "):r.label?r.label:r.multiple?i("selectFilesLabel"):i("selectFileLabel"));function x(){var M;(M=f.value)==null||M.click()}function C(){u.value=[],f.value&&(f.value.value="")}function b(M){d.value=!1;const z=M.target.files;if(z.length){if(u.value=[...z],!p.value){n4("danger",()=>i("newFileError"));return}n("newFile",z[0]),n("newFiles",[...z])}}return(M,_)=>(o.openBlock(),o.createElementBlock("label",{class:o.normalizeClass(["pga-input-file",{"pga-input-file--disabled":m.value}]),onMouseenter:_[4]||(_[4]=z=>d.value=!0),onMouseleave:_[5]||(_[5]=z=>d.value=!1)},[M.isLoading?(o.openBlock(),o.createBlock(Lt,{key:0})):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("input",{ref_key:"inputRef",ref:f,class:"input-file__input",type:"file",accept:o.unref(l),multiple:M.multiple,disabled:m.value,onChange:_[0]||(_[0]=z=>b(z))},null,40,q$),o.createVNode(_e,{class:"input-file__icon",icon:g.value.icon,color:g.value.color},null,8,["icon","color"]),o.createElementVNode("div",j$,[o.createVNode(q2,{text:y.value},null,8,["text"])]),v.value?(o.openBlock(),o.createBlock(u2,{key:0,text:o.unref(i)("removeBtn"),variant:"flat",color:"danger",size:"s",disabled:m.value,onMouseenter:_[1]||(_[1]=z=>h.value=!0),onMouseleave:_[2]||(_[2]=z=>h.value=!1),onClick:_[3]||(_[3]=o.withModifiers(z=>C(),["prevent"]))},null,8,["text","disabled"])):o.createCommentVNode("",!0)],64))],34))}});const Vn=P1(Y$,[["__scopeId","data-v-cbccd13c"]]),G$={class:"pga-videos"},X$={class:"videos"},K$=["src"],Z$={key:0,class:"videos__input-container"},Q$=o.defineComponent({__name:"PgaVideos",props:o.mergeModels({maxVideosQuantity:{},uploadFn:{type:Function},deleteFn:{type:Function}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=o.useModel(e,"modelValue"),a=e,r=x2("pgaFile"),n=o.ref(),c=o.ref(!1),i=o.ref(-1),s=o.computed(()=>t.value.length),l=o.computed(()=>t.value.map(d=>typeof d=="string"?d:URL.createObjectURL(d)));async function f(d){var h;if((h=n.value)==null||h.resetInput(),s.value+d.length>a.maxVideosQuantity&&(d=d.slice(0,a.maxVideosQuantity-s.value),n4("warning",()=>r("maxVideosQuantityAlert",{maxQuantity:a.maxVideosQuantity}))),!a.uploadFn){t.value.push(...d);return}try{c.value=!0,t.value=await a.uploadFn({file:d})}finally{c.value=!1}}async function u(d){if(a.deleteFn)try{i.value=d,await a.deleteFn({index:d})}finally{i.value=-1}t.value.splice(d,1)}return(d,h)=>{const m=o.resolveComponent("PgaDeleteButton");return o.openBlock(),o.createElementBlock("div",G$,[o.createElementVNode("div",X$,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,(v,p)=>(o.openBlock(),o.createElementBlock("div",{key:v,class:"videos__video-container"},[o.createElementVNode("video",{class:"videos__video",src:v,controls:""},null,8,K$),o.createVNode(m,{class:"videos__delete-btn",variant:"filled",withoutText:"",withoutConfirm:"",isLoading:i.value===p,onDeleteConfirmed:g=>u(p)},null,8,["isLoading","onDeleteConfirmed"])]))),128)),s.value<d.maxVideosQuantity?(o.openBlock(),o.createElementBlock("div",Z$,[o.createVNode(Vn,{ref_key:"inputFileRef",ref:n,class:"videos__input",type:"video",multiple:"",label:o.unref(r)("selectVideos"),isLoading:c.value,onNewFiles:h[0]||(h[0]=v=>f(v))},null,8,["label","isLoading"])])):o.createCommentVNode("",!0)]),o.createElementVNode("span",null,o.toDisplayString(`${s.value} / ${d.maxVideosQuantity}`),1)])}}});const J$=P1(Q$,[["__scopeId","data-v-ee4ebd19"]]),eU=o.defineComponent({__name:"PgaBackButton",setup(e){const t=x2("pgaButton");return(a,r)=>(o.openBlock(),o.createBlock(u2,{text:o.unref(t)("backBtn"),icon:"arrow-left",color:"first",size:"s"},null,8,["text"]))}}),tU={class:"pga-copy"},aU=o.defineComponent({__name:"PgaCopy",props:{text:{}},setup(e){const t=e,a=x2("pgaButton"),r=o.ref(!1),n=o.computed(()=>pe(t.text));async function c(){await navigator.clipboard.writeText(n.value),r.value=!0,setTimeout(()=>r.value=!1,3e3)}return(i,s)=>{const l=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",tU,[o.createElementVNode("span",null,o.toDisplayString(n.value),1),r.value?(o.openBlock(),o.createBlock(_e,{key:1,icon:["far","circle-check"],color:"success"})):o.withDirectives((o.openBlock(),o.createBlock(u2,{key:0,color:"first",icon:"copy",size:"s",onClick:s[0]||(s[0]=f=>c())},null,512)),[[l,o.unref(a)("copyBtn")]])])}}});const rU=P1(aU,[["__scopeId","data-v-c4835bae"]]),nU=o.defineComponent({__name:"PgaCopyButton",props:{text:{},label:{}},setup(e){const t=e,a=x2("pgaButton"),r=o.computed(()=>pe(t.text)),n=o.computed(()=>t.label||a("copyBtn"));async function c(){await navigator.clipboard.writeText(r.value),n4("success",()=>a("textCopied"))}return(i,s)=>{const l=o.resolveDirective("tooltip");return o.withDirectives((o.openBlock(),o.createBlock(u2,{color:"first",icon:"copy",text:n.value,onClick:s[0]||(s[0]=f=>c())},null,8,["text"])),[[l,r.value]])}}}),cU={class:"alert"},iU={class:"alert__content"},sU=["textContent"],oU={class:"alert__buttons"},lU=o.defineComponent({__name:"Alert",props:{message:{},handleAcceptFn:{type:Function},handleCloseFn:{type:Function}},setup(e){const t=jg.directive,a=x2("alert");return o.onMounted(()=>Ar(!1)),o.onUnmounted(()=>Ar(!0)),(r,n)=>(o.openBlock(),o.createElementBlock("div",cU,[o.withDirectives((o.openBlock(),o.createElementBlock("div",iU,[o.createVNode(_e,{class:"alert__icon",icon:"land-mine-on"}),o.createElementVNode("span",{class:"alert__title",textContent:o.toDisplayString(o.unref(a)("alertTitle"))},null,8,sU),r.message?(o.openBlock(),o.createBlock(q2,{key:0,class:"alert__message",text:r.message},null,8,["text"])):o.createCommentVNode("",!0),o.createElementVNode("div",oU,[o.createVNode(u2,{class:"alert__button",text:o.unref(a)("cancelBtn"),variant:"filled",color:"grey",onClick:n[0]||(n[0]=c=>r.handleCloseFn())},null,8,["text"]),o.createVNode(u2,{class:"alert__button",text:o.unref(a)("acceptBtn"),variant:"filled",color:"danger",onClick:n[1]||(n[1]=c=>r.handleAcceptFn())},null,8,["text"])])])),[[o.unref(t),r.handleCloseFn]])]))}});const fU=P1(lU,[["__scopeId","data-v-969d5446"]]);function Cy(e,t){const a=document.createElement("div");document.body.appendChild(a);const r=o.createApp({render(){return o.h(fU,{message:e,handleAcceptFn:c,handleCloseFn:n})}});r.mount(a);function n(){r.unmount(),document.body.removeChild(a)}function c(){n(),t()}}const Di=o.defineComponent({__name:"PgaDeleteButton",props:{variant:{default:"flat"},icon:{default:"trash"},text:{},withoutText:{type:Boolean},withoutConfirm:{type:Boolean},confirmDeleteText:{}},emits:["deleteConfirmed"],setup(e,{emit:t}){const a=e,r=t,n=x2("pgaButton");function c(){if(a.withoutConfirm){r("deleteConfirmed");return}const i=a.confirmDeleteText||n("confirmDeleteText");Cy(i,()=>r("deleteConfirmed"))}return(i,s)=>(o.openBlock(),o.createBlock(u2,{class:"delete-button",variant:i.variant,icon:i.icon,text:i.withoutText?void 0:i.text||o.unref(n)("deleteBtn"),size:"s",align:"left",color:"danger",onClick:s[0]||(s[0]=l=>c())},null,8,["variant","icon","text"]))}}),m7=o.defineComponent({__name:"PgaEditButton",props:{withoutText:{type:Boolean},fullWidth:{type:Boolean}},setup(e){const t=x2("pgaButton");return(a,r)=>{const n=o.resolveDirective("tooltip");return o.withDirectives((o.openBlock(),o.createBlock(u2,{class:"edit-button",variant:"flat",color:"sky",icon:["far","pen-to-square"],text:a.withoutText?void 0:o.unref(t)("editBtn"),size:"s",fullWidth:a.fullWidth,align:"left"},null,8,["text","fullWidth"])),[[n,a.withoutText?o.unref(t)("editBtn"):""]])}}}),uU=["href","target"],dU=o.defineComponent({__name:"PgaLink",props:{text:{},href:{},target:{default:"_blank"}},setup(e){return(t,a)=>(o.openBlock(),o.createElementBlock("a",{class:"hyperlink",href:t.href,target:t.target},[o.createVNode(q2,{text:t.text,withUnderlineOnHover:""},null,8,["text"])],8,uU))}});const My=P1(dU,[["__scopeId","data-v-ec435fa7"]]),hU=o.defineComponent({__name:"PgaLogoutButton",emits:["click"],setup(e,{emit:t}){const a=t,r=x2("pgaButton");return(n,c)=>(o.openBlock(),o.createBlock(u2,{icon:["fas","right-from-bracket"],text:o.unref(r)("logoutBtn"),color:"danger",onClick:c[0]||(c[0]=i=>a("click",i))},null,8,["text"]))}}),mU=o.defineComponent({__name:"PgaRouterLink",props:{name:{},params:{},query:{},color:{default:"var(--pga-color-first)"},noFitContent:{type:Boolean},underline:{type:Boolean},noUnderlineOnHover:{type:Boolean}},setup(e){o.useCssVars(n=>({"040e9024":a.value,"75a55a4c":r.value}));const t=e,a=o.computed(()=>`var(--pga-color-${t.color})`),r=o.computed(()=>`var(--pga-color-${t.color}-09)`);return(n,c)=>{const i=o.resolveComponent("RouterLink");return o.openBlock(),o.createBlock(i,{class:o.normalizeClass(["pga-router-link",{"pga-router-link--fit-content":!n.noFitContent,"pga-router-link--underline":n.underline,"pga-router-link--underline-on-hover":!n.noUnderlineOnHover}]),to:{name:n.name,params:n.params,query:n.query},onClick:c[0]||(c[0]=s=>o.unref(Ar)(!0))},{default:o.withCtx(()=>[o.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["class","to"])}}});const Ln=P1(mU,[["__scopeId","data-v-6046ce2c"]]),zy=o.defineComponent({__name:"PgaRouterLinkButton",props:{name:{},params:{},query:{},type:{},icon:{},text:{},variant:{},size:{},align:{},color:{},heightAndWidth:{},borderRadius:{},rounded:{type:Boolean},disabled:{type:Boolean},isLoading:{type:Boolean},numberToDisplay:{},noFitContent:{type:Boolean}},setup(e){return(t,a)=>(o.openBlock(),o.createBlock(Ln,{name:t.name,params:t.params,query:t.query,noFitContent:t.noFitContent,noUnderlineOnHover:""},{default:o.withCtx(()=>[t.$slots.default?o.renderSlot(t.$slots,"default",{key:0}):(o.openBlock(),o.createBlock(u2,{key:1,type:t.type,icon:t.icon,text:t.text,variant:t.variant,size:t.size,align:t.align,color:t.color,fullWidth:!t.heightAndWidth,heightAndWidth:t.heightAndWidth,borderRadius:t.borderRadius,rounded:t.rounded,disabled:t.disabled,isLoading:t.isLoading,numberToDisplay:t.numberToDisplay},null,8,["type","icon","text","variant","size","align","color","fullWidth","heightAndWidth","borderRadius","rounded","disabled","isLoading","numberToDisplay"]))]),_:3},8,["name","params","query","noFitContent"]))}}),_y=o.defineComponent({__name:"PgaNavigateToButton",props:{id:{},toName:{},withoutText:{type:Boolean},noFitContent:{type:Boolean}},setup(e){const t=x2("pgaButton");return(a,r)=>a.toName?(o.openBlock(),o.createBlock(zy,{key:0,name:a.toName,params:{id:a.id},icon:"arrow-up-right-from-square",text:a.withoutText?void 0:o.unref(t)("navigateToBtn"),variant:"flat",size:"s",align:"left",color:"link",noFitContent:a.noFitContent},null,8,["name","params","text","noFitContent"])):o.createCommentVNode("",!0)}}),pU=o.defineComponent({__name:"PgaRemoveButton",props:{size:{default:"s"},disabled:{type:Boolean}},setup(e){return(t,a)=>(o.openBlock(),o.createBlock(u2,{variant:"flat",icon:"xmark",size:t.size,color:"danger",disabled:t.disabled},null,8,["size","disabled"]))}}),vU=o.defineComponent({__name:"PgaSeeDetailsButton",props:{withoutText:{type:Boolean}},setup(e){const t=x2("pgaButton");return(a,r)=>(o.openBlock(),o.createBlock(u2,{class:"edit-button",variant:"flat",color:"grey",icon:"eye",text:a.withoutText?void 0:o.unref(t)("seeDetailsBtn"),size:"s",align:"left"},null,8,["text"]))}}),gU=o.defineComponent({__name:"PgaToggleButton",props:o.mergeModels({text:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:o.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const a=o.useModel(e,"modelValue"),r=t,n=o.computed(()=>a.value?"outlined":"flat"),c=o.computed(()=>a.value?"primary":"grey");return o.watch(a,i=>r("change",i)),(i,s)=>(o.openBlock(),o.createBlock(u2,{variant:n.value,color:c.value,icon:"circle-check",text:i.text,size:"s",borderRadius:"1rem",onClick:s[0]||(s[0]=l=>a.value=!a.value)},null,8,["variant","color","text"]))}});var yU=Object.defineProperty,xU=(e,t,a)=>t in e?yU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,st=(e,t,a)=>xU(e,typeof t!="symbol"?t+"":t,a);const bU=(e,t,a)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((n,c)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(c.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==a?". Note that variables only represent file names one level deep.":""))))})};let Ea,rd,nd,N3,Na={},k6={};class CU{constructor(t,a=!1){st(this,"texts",{}),st(this,"dateToMinutes",r=>r.getHours()*60+r.getMinutes()),N3=this,this._texts=t,!a&&Date&&!Date.prototype.addDays&&this._initDatePrototypes()}_initDatePrototypes(){Date.prototype.addDays=function(t){return N3.addDays(this,t)},Date.prototype.subtractDays=function(t){return N3.subtractDays(this,t)},Date.prototype.addHours=function(t){return N3.addHours(this,t)},Date.prototype.subtractHours=function(t){return N3.subtractHours(this,t)},Date.prototype.addMinutes=function(t){return N3.addMinutes(this,t)},Date.prototype.subtractMinutes=function(t){return N3.subtractMinutes(this,t)},Date.prototype.getWeek=function(){return N3.getWeek(this)},Date.prototype.isToday=function(){return N3.isToday(this)},Date.prototype.isLeapYear=function(){return N3.isLeapYear(this)},Date.prototype.format=function(t="YYYY-MM-DD"){return N3.formatDate(this,t)},Date.prototype.formatTime=function(t="HH:mm"){return N3.formatTime(this,t)}}removePrototypes(){delete Date.prototype.addDays,delete Date.prototype.subtractDays,delete Date.prototype.addHours,delete Date.prototype.subtractHours,delete Date.prototype.addMinutes,delete Date.prototype.subtractMinutes,delete Date.prototype.getWeek,delete Date.prototype.isToday,delete Date.prototype.isLeapYear,delete Date.prototype.format,delete Date.prototype.formatTime}updateTexts(t){this._texts=t}_todayFormatted(){return rd!==new Date().getDate()&&(Ea=new Date,rd=Ea.getDate(),nd=`${Ea.getFullYear()}-${Ea.getMonth()}-${Ea.getDate()}`),nd}addDays(t,a){const r=new Date(t.valueOf());return r.setDate(r.getDate()+a),r}subtractDays(t,a){const r=new Date(t.valueOf());return r.setDate(r.getDate()-a),r}addHours(t,a){const r=new Date(t.valueOf());return r.setHours(r.getHours()+a),r}subtractHours(t,a){const r=new Date(t.valueOf());return r.setHours(r.getHours()-a),r}addMinutes(t,a){const r=new Date(t.valueOf());return r.setMinutes(r.getMinutes()+a),r}subtractMinutes(t,a){const r=new Date(t.valueOf());return r.setMinutes(r.getMinutes()-a),r}getWeek(t){const a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),r=a.getUTCDay()||7;a.setUTCDate(a.getUTCDate()+4-r);const n=new Date(Date.UTC(a.getUTCFullYear(),0,1));return Math.ceil(((a-n)/864e5+1)/7)}isToday(t){return`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`===this._todayFormatted()}isLeapYear(t){const a=t.getFullYear();return!(a%400)||a%100&&!(a%4)}getPreviousFirstDayOfWeek(t=null,a){const r=t&&new Date(t.valueOf())||new Date,n=a?7:6;return r.setDate(r.getDate()-(r.getDay()+n)%7),r}stringToDate(t){return t instanceof Date?t:(t.length===10&&(t+=" 00:00"),new Date(t.replace(/-/g,"/")))}countDays(t,a){typeof t=="string"&&(t=t.replace(/-/g,"/")),typeof a=="string"&&(a=a.replace(/-/g,"/")),t=new Date(t).setHours(0,0,0,0),a=new Date(a).setHours(0,0,1,0);const r=(new Date(a).getTimezoneOffset()-new Date(t).getTimezoneOffset())*60*1e3;return Math.ceil((a-t-r)/(24*3600*1e3))}datesInSameTimeStep(t,a,r){return Math.abs(t.getTime()-a.getTime())<=r*60*1e3}formatDate(t,a="YYYY-MM-DD",r=null){if(r||(r=this._texts),a||(a="YYYY-MM-DD"),a==="YYYY-MM-DD")return this.formatDateLite(t);Na={},k6={};const n={YYYY:()=>this._hydrateDateObject(t,r).YYYY,YY:()=>this._hydrateDateObject(t,r).YY(),M:()=>this._hydrateDateObject(t,r).M,MM:()=>this._hydrateDateObject(t,r).MM(),MMM:()=>this._hydrateDateObject(t,r).MMM(),MMMM:()=>this._hydrateDateObject(t,r).MMMM(),MMMMG:()=>this._hydrateDateObject(t,r).MMMMG(),D:()=>this._hydrateDateObject(t,r).D,DD:()=>this._hydrateDateObject(t,r).DD(),S:()=>this._hydrateDateObject(t,r).S(),d:()=>this._hydrateDateObject(t,r).d,dd:()=>this._hydrateDateObject(t,r).dd(),ddd:()=>this._hydrateDateObject(t,r).ddd(),dddd:()=>this._hydrateDateObject(t,r).dddd(),HH:()=>this._hydrateTimeObject(t,r).HH,H:()=>this._hydrateTimeObject(t,r).H,hh:()=>this._hydrateTimeObject(t,r).hh,h:()=>this._hydrateTimeObject(t,r).h,am:()=>this._hydrateTimeObject(t,r).am,AM:()=>this._hydrateTimeObject(t,r).AM,mm:()=>this._hydrateTimeObject(t,r).mm,m:()=>this._hydrateTimeObject(t,r).m};return a.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,(c,i)=>{const s=n[i.replace(/\{|\}/g,"")];return s!==void 0?s():i})}formatDateLite(t){const a=t.getMonth()+1,r=t.getDate();return`${t.getFullYear()}-${a<10?"0":""}${a}-${r<10?"0":""}${r}`}formatTime(t,a="HH:mm",r=null,n=!1){let c=!1;if(n){const[l,f,u]=[t.getHours(),t.getMinutes(),t.getSeconds()];l+f+u===23+59+59&&(c=!0)}if(t instanceof Date&&a==="HH:mm")return c?"24:00":this.formatTimeLite(t);k6={},r||(r=this._texts);const i=this._hydrateTimeObject(t,r),s=a.replace(/(\{[a-zA-Z]+\}|[a-zA-Z]+)/g,(l,f)=>{const u=i[f.replace(/\{|\}/g,"")];return u!==void 0?u:f});return c?s.replace("23:59","24:00"):s}formatTimeLite(t){const a=t.getHours(),r=t.getMinutes();return`${(a<10?"0":"")+a}:${(r<10?"0":"")+r}`}_nth(t){if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}_hydrateDateObject(t,a){if(Na.D)return Na;const r=t.getFullYear(),n=t.getMonth()+1,c=t.getDate(),s=(t.getDay()-1+7)%7;return Na={YYYY:r,YY:()=>r.toString().substring(2),M:n,MM:()=>(n<10?"0":"")+n,MMM:()=>a.months[n-1].substring(0,3),MMMM:()=>a.months[n-1],MMMMG:()=>(a.monthsGenitive||a.months)[n-1],D:c,DD:()=>(c<10?"0":"")+c,S:()=>this._nth(c),d:s+1,dd:()=>a.weekDays[s][0],ddd:()=>a.weekDays[s].substr(0,3),dddd:()=>a.weekDays[s]},Na}_hydrateTimeObject(t,a){if(k6.am)return k6;let r,n;t instanceof Date?(r=t.getHours(),n=t.getMinutes()):(r=Math.floor(t/60),n=Math.floor(t%60));const c=r%12?r%12:12,i=(a||{am:"am",pm:"pm"})[r===24||r<12?"am":"pm"];return k6={H:r,h:c,HH:(r<10?"0":"")+r,hh:(c<10?"0":"")+c,am:i,AM:i.toUpperCase(),m:n,mm:(n<10?"0":"")+n},k6}}const MU=24*60;class zU{constructor(t){st(this,"_vuecal",null),st(this,"selectCell",(a=!1,r,n)=>{this._vuecal.$emit("cell-click",n?{date:r,split:n}:r),this._vuecal.clickToNavigate||a?this._vuecal.switchToNarrowerView():this._vuecal.dblclickToNavigate&&"ontouchstart"in window&&(this._vuecal.domEvents.dblTapACell.taps++,setTimeout(()=>this._vuecal.domEvents.dblTapACell.taps=0,this._vuecal.domEvents.dblTapACell.timeout),this._vuecal.domEvents.dblTapACell.taps>=2&&(this._vuecal.domEvents.dblTapACell.taps=0,this._vuecal.switchToNarrowerView(),this._vuecal.$emit("cell-dblclick",n?{date:r,split:n}:r)))}),st(this,"keyPressEnterCell",(a,r)=>{this._vuecal.$emit("cell-keypress-enter",r?{date:a,split:r}:a),this._vuecal.switchToNarrowerView()}),st(this,"getPosition",a=>{const{left:r,top:n}=this._vuecal.cellsEl.getBoundingClientRect(),{clientX:c,clientY:i}="ontouchstart"in window&&a.touches?a.touches[0]:a;return{x:c-r,y:i-n}}),st(this,"minutesAtCursor",a=>{let r=0,n={x:0,y:0};const{timeStep:c,timeCellHeight:i,timeFrom:s}=this._vuecal.$props;return typeof a=="number"?r=a:typeof a=="object"&&(n=this.getPosition(a),r=Math.round(n.y*c/parseInt(i)+s)),{minutes:Math.max(Math.min(r,MU),0),cursorCoords:n}}),this._vuecal=t}}const _U=2,I5=24*60;let J2,ee,$5;class wU{constructor(t,a){st(this,"_vuecal",null),st(this,"eventDefaults",{_eid:null,start:"",startTimeMinutes:0,end:"",endTimeMinutes:0,title:"",content:"",background:!1,allDay:!1,segments:null,repeat:null,daysCount:1,deletable:!0,deleting:!1,titleEditable:!0,resizable:!0,resizing:!1,draggable:!0,dragging:!1,draggingStatic:!1,focused:!1,class:""}),this._vuecal=t,J2=a}createAnEvent(t,a,r){if(typeof t=="string"&&(t=J2.stringToDate(t)),!(t instanceof Date))return!1;const n=J2.dateToMinutes(t);a=a*1||_U*60;const c=n+a,i=J2.addMinutes(new Date(t),a);r.end&&(typeof r.end=="string"&&(r.end=J2.stringToDate(r.end)),r.endTimeMinutes=J2.dateToMinutes(r.end));const s={...this.eventDefaults,_eid:`${this._vuecal._.uid}_${this._vuecal.eventIdIncrement++}`,start:t,startTimeMinutes:n,end:i,endTimeMinutes:c,segments:null,...r};if(!(typeof this._vuecal.onEventCreate=="function"&&!this._vuecal.onEventCreate(s,()=>this.deleteAnEvent(s))))return s.startDateF!==s.endDateF&&(s.daysCount=J2.countDays(s.start,s.end)),this._vuecal.mutableEvents.push(s),this._vuecal.addEventsToView([s]),this._vuecal.emitWithEvent("event-create",s),this._vuecal.$emit("event-change",{event:this._vuecal.cleanupEvent(s),originalEvent:null}),s}addEventSegment(t){t.segments||(t.segments={},t.segments[J2.formatDateLite(t.start)]={start:t.start,startTimeMinutes:t.startTimeMinutes,endTimeMinutes:I5,isFirstDay:!0,isLastDay:!1});const a=t.segments[J2.formatDateLite(t.end)];a&&(a.isLastDay=!1,a.endTimeMinutes=I5);const r=J2.addDays(t.end,1),n=J2.formatDateLite(r);return r.setHours(0,0,0,0),t.segments[n]={start:r,startTimeMinutes:0,endTimeMinutes:t.endTimeMinutes,isFirstDay:!1,isLastDay:!0},t.end=J2.addMinutes(r,t.endTimeMinutes),t.daysCount=Object.keys(t.segments).length,n}removeEventSegment(t){let a=Object.keys(t.segments).length;if(a<=1)return J2.formatDateLite(t.end);delete t.segments[J2.formatDateLite(t.end)],a--;const r=J2.subtractDays(t.end,1),n=J2.formatDateLite(r),c=t.segments[n];return a?c&&(c.isLastDay=!0,c.endTimeMinutes=t.endTimeMinutes):t.segments=null,t.daysCount=a||1,t.end=r,n}createEventSegments(t,a,r){const n=a.getTime(),c=r.getTime();let i=t.start.getTime(),s=t.end.getTime(),l=!1,f,u,d;for(!t.end.getHours()&&!t.end.getMinutes()&&(s-=1e3),t.segments={},t.repeat?(f=n,u=Math.min(c,t.repeat.until?J2.stringToDate(t.repeat.until).getTime():c)):(f=Math.max(n,i),u=Math.min(c,s));f<=u;){let h=!1;const m=J2.addDays(new Date(f),1).setHours(0,0,0,0);let v,p,g,y;if(t.repeat){const x=new Date(f),C=J2.formatDateLite(x);(l||t.occurrences&&t.occurrences[C])&&(l||(i=t.occurrences[C].start,d=new Date(i).setHours(0,0,0,0),s=t.occurrences[C].end),l=!0,h=!0),v=f===d,p=C===J2.formatDateLite(new Date(s)),g=new Date(v?i:f),y=J2.formatDateLite(g),p&&(l=!1)}else h=!0,v=f===i,p=u===s&&m>u,g=v?t.start:new Date(f),y=J2.formatDateLite(v?t.start:g);h&&(t.segments[y]={start:g,startTimeMinutes:v?t.startTimeMinutes:0,endTimeMinutes:p?t.endTimeMinutes:I5,isFirstDay:v,isLastDay:p}),f=m}return t}deleteAnEvent(t){this._vuecal.emitWithEvent("event-delete",t),this._vuecal.mutableEvents=this._vuecal.mutableEvents.filter(a=>a._eid!==t._eid),this._vuecal.view.events=this._vuecal.view.events.filter(a=>a._eid!==t._eid)}checkCellOverlappingEvents(t,a){$5=t.slice(0),ee={},t.forEach(n=>{$5.shift(),ee[n._eid]||(ee[n._eid]={overlaps:[],start:n.start,position:0}),ee[n._eid].position=0,$5.forEach(c=>{ee[c._eid]||(ee[c._eid]={overlaps:[],start:c.start,position:0});const i=this.eventInRange(c,n.start,n.end),s=a.overlapsPerTimeStep?J2.datesInSameTimeStep(n.start,c.start,a.timeStep):1;if(!n.background&&!n.allDay&&!c.background&&!c.allDay&&i&&s)ee[n._eid].overlaps.push(c._eid),ee[n._eid].overlaps=[...new Set(ee[n._eid].overlaps)],ee[c._eid].overlaps.push(n._eid),ee[c._eid].overlaps=[...new Set(ee[c._eid].overlaps)],ee[c._eid].position++;else{let l,f;(l=(ee[n._eid]||{overlaps:[]}).overlaps.indexOf(c._eid))>-1&&ee[n._eid].overlaps.splice(l,1),(f=(ee[c._eid]||{overlaps:[]}).overlaps.indexOf(n._eid))>-1&&ee[c._eid].overlaps.splice(f,1),ee[c._eid].position--}})});let r=0;for(const n in ee){const c=ee[n],i=c.overlaps.map(s=>({id:s,start:ee[s].start}));i.push({id:n,start:c.start}),i.sort((s,l)=>s.start<l.start?-1:s.start>l.start?1:s.id>l.id?-1:1),c.position=i.findIndex(s=>s.id===n),r=Math.max(this.getOverlapsStreak(c,ee),r)}return[ee,r]}getOverlapsStreak(t,a={}){let r=t.overlaps.length+1,n=[];return t.overlaps.forEach(c=>{n.includes(c)||t.overlaps.filter(s=>s!==c).forEach(s=>{a[s].overlaps.includes(c)||n.push(s)})}),n=[...new Set(n)],r-=n.length,r}eventInRange(t,a,r){if(t.allDay||!this._vuecal.time){const i=new Date(t.start).setHours(0,0,0,0);return new Date(t.end).setHours(23,59,0,0)>=new Date(a).setHours(0,0,0,0)&&i<=new Date(r).setHours(0,0,0,0)}const n=t.start.getTime(),c=t.end.getTime();return n<r.getTime()&&c>a.getTime()}}const kU={class:"vuecal__flex vuecal__weekdays-headings"},HU=["onClick"],VU={class:"vuecal__flex weekday-label",grow:""},LU={class:"full"},SU={class:"small"},AU={class:"xsmall"},TU={key:0},EU={key:0,class:"vuecal__flex vuecal__split-days-headers",grow:""};function NU(e,t,a,r,n,c){return o.openBlock(),o.createElementBlock("div",kU,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.headings,(i,s)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:s},[i.hide?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["vuecal__flex vuecal__heading",{today:i.today,clickable:c.cellHeadingsClickable}]),style:o.normalizeStyle(c.weekdayCellStyles),onClick:l=>c.view.id==="week"&&c.selectCell(i.date,l),onDblclick:t[0]||(t[0]=l=>c.view.id==="week"&&c.vuecal.dblclickToNavigate&&a.switchToNarrowerView())},[o.createVNode(o.Transition,{name:`slide-fade--${a.transitionDirection}`,appear:c.vuecal.transitions},{default:o.withCtx(()=>[(o.openBlock(),o.createElementBlock("div",{class:"vuecal__flex",column:"",key:c.vuecal.transitions?`${s}-${i.dayOfMonth}`:!1},[o.createElementVNode("div",VU,[o.renderSlot(e.$slots,"weekday-heading",{heading:c.cleanupHeading(i),view:c.view},()=>[o.createElementVNode("span",LU,o.toDisplayString(i.full),1),o.createElementVNode("span",SU,o.toDisplayString(i.small),1),o.createElementVNode("span",AU,o.toDisplayString(i.xsmall),1),i.dayOfMonth?(o.openBlock(),o.createElementBlock("span",TU," "+o.toDisplayString(i.dayOfMonth),1)):o.createCommentVNode("",!0)])]),c.vuecal.hasSplits&&c.vuecal.stickySplitLabels?(o.openBlock(),o.createElementBlock("div",EU,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.vuecal.daySplits,(l,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["day-split-header",l.class||!1]),key:f},[o.renderSlot(e.$slots,"split-label",{split:l,view:c.view},()=>[o.createTextVNode(o.toDisplayString(l.label),1)])],2))),128))])):o.createCommentVNode("",!0)]))]),_:2},1032,["name","appear"])],46,HU))],64))),128))])}const ba=(e,t)=>{const a=e.__vccOpts||e;for(const[r,n]of t)a[r]=n;return a},DU={inject:["vuecal","utils","view"],props:{transitionDirection:{type:String,default:"right"},weekDays:{type:Array,default:()=>[]},switchToNarrowerView:{type:Function,default:()=>{}}},methods:{selectCell(e,t){e.getTime()!==this.view.selectedDate.getTime()&&(this.view.selectedDate=e),this.utils.cell.selectCell(!1,e,t)},cleanupHeading:e=>({label:e.full,date:e.date,...e.today?{today:e.today}:{}})},computed:{headings(){if(!["month","week"].includes(this.view.id))return[];let e=!1;return this.weekDays.map((a,r)=>{const n=this.utils.date.addDays(this.view.startDate,this.vuecal.startWeekOnSunday&&this.vuecal.hideWeekends?r-1:r);return{hide:a.hide,full:a.label,small:a.short||a.label.substr(0,3),xsmall:a.short||a.label.substr(0,1),...this.view.id==="week"?{dayOfMonth:n.getDate(),date:n,today:!e&&this.utils.date.isToday(n)&&!e++}:{}}})},cellWidth(){return 100/(7-this.weekDays.reduce((e,t)=>e+t.hide,0))},weekdayCellStyles(){return{...this.vuecal.hideWeekdays.length?{width:`${this.cellWidth}%`}:{}}},cellHeadingsClickable(){return this.view.id==="week"&&(this.vuecal.clickToNavigate||this.vuecal.dblclickToNavigate)}}},wy=ba(DU,[["render",NU]]),OU={class:"vuecal__header"},PU={key:0,class:"vuecal__flex vuecal__menu",role:"tablist","aria-label":"Calendar views navigation"},BU=["onDragenter","onDragleave","onClick","aria-label"],FU={key:1,class:"vuecal__title-bar"},RU=["aria-label"],IU={class:"vuecal__flex vuecal__title",grow:""},$U=["aria-label"],UU={key:0,class:"vuecal__flex vuecal__split-days-headers"};function WU(e,t,a,r,n,c){const i=o.resolveComponent("weekdays-headings");return o.openBlock(),o.createElementBlock("div",OU,[a.options.hideViewSelector?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",PU,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.viewProps.views,(s,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:l},[s.enabled?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["vuecal__view-btn",{"vuecal__view-btn--active":c.view.id===l,"vuecal__view-btn--highlighted":e.highlightedControl===l}]),type:"button",onDragenter:f=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragEnter(f,l,e.$data),onDragleave:f=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragLeave(f,l,e.$data),onClick:f=>c.switchView(l,null,!0),"aria-label":`${s.label} view`},o.toDisplayString(s.label),43,BU)):o.createCommentVNode("",!0)],64))),128))])),a.options.hideTitleBar?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",FU,[o.createElementVNode("button",{class:o.normalizeClass(["vuecal__arrow vuecal__arrow--prev",{"vuecal__arrow--highlighted":e.highlightedControl==="previous"}]),type:"button",onClick:t[0]||(t[0]=(...s)=>c.previous&&c.previous(...s)),onDragenter:t[1]||(t[1]=s=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragEnter(s,"previous",e.$data)),onDragleave:t[2]||(t[2]=s=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragLeave(s,"previous",e.$data)),"aria-label":`Previous ${c.view.id}`},[o.renderSlot(e.$slots,"arrow-prev")],42,RU),o.createElementVNode("div",IU,[o.createVNode(o.Transition,{name:a.options.transitions?`slide-fade--${c.transitionDirection}`:""},{default:o.withCtx(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(c.broaderView?"button":"span"),{type:!!c.broaderView&&"button",key:`${c.view.id}${c.view.startDate.toString()}`,onClick:t[3]||(t[3]=s=>!!c.broaderView&&c.switchToBroaderView()),"aria-label":!!c.broaderView&&`Go to ${c.broaderView} view`},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"title")]),_:3},8,["type","aria-label"]))]),_:3},8,["name"])]),a.options.todayButton?(o.openBlock(),o.createElementBlock("button",{key:0,class:o.normalizeClass(["vuecal__today-btn",{"vuecal__today-btn--highlighted":e.highlightedControl==="today"}]),type:"button",onClick:t[4]||(t[4]=(...s)=>c.goToToday&&c.goToToday(...s)),onDragenter:t[5]||(t[5]=s=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragEnter(s,"today",e.$data)),onDragleave:t[6]||(t[6]=s=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragLeave(s,"today",e.$data)),"aria-label":"Today"},[o.renderSlot(e.$slots,"today-button")],34)):o.createCommentVNode("",!0),o.createElementVNode("button",{class:o.normalizeClass(["vuecal__arrow vuecal__arrow--next",{"vuecal__arrow--highlighted":e.highlightedControl==="next"}]),type:"button",onClick:t[7]||(t[7]=(...s)=>c.next&&c.next(...s)),onDragenter:t[8]||(t[8]=s=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragEnter(s,"next",e.$data)),onDragleave:t[9]||(t[9]=s=>a.editEvents.drag&&c.dnd&&c.dnd.viewSelectorDragLeave(s,"next",e.$data)),"aria-label":`Next ${c.view.id}`},[o.renderSlot(e.$slots,"arrow-next")],42,$U)])),a.viewProps.weekDaysInHeader?(o.openBlock(),o.createBlock(i,{key:2,"week-days":a.weekDays,"transition-direction":c.transitionDirection,"switch-to-narrower-view":a.switchToNarrowerView},o.createSlots({_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:o.withCtx(({heading:s,view:l})=>[o.renderSlot(e.$slots,"weekday-heading",{heading:s,view:l})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:o.withCtx(({split:s})=>[o.renderSlot(e.$slots,"split-label",{split:s,view:c.view})]),key:"1"}:void 0]),1032,["week-days","transition-direction","switch-to-narrower-view"])):o.createCommentVNode("",!0),o.createVNode(o.Transition,{name:`slide-fade--${c.transitionDirection}`},{default:o.withCtx(()=>[c.showDaySplits?(o.openBlock(),o.createElementBlock("div",UU,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.daySplits,(s,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["day-split-header",s.class||!1]),key:l},[o.renderSlot(e.$slots,"split-label",{split:s,view:c.view.id},()=>[o.createTextVNode(o.toDisplayString(s.label),1)])],2))),128))])):o.createCommentVNode("",!0)]),_:3},8,["name"])])}const qU={inject:["vuecal","previous","next","switchView","updateSelectedDate","modules","view"],components:{WeekdaysHeadings:wy},props:{options:{type:Object,default:()=>({})},editEvents:{type:Object,required:!0},hasSplits:{type:[Boolean,Number],default:!1},daySplits:{type:Array,default:()=>[]},viewProps:{type:Object,default:()=>({})},weekDays:{type:Array,default:()=>[]},switchToNarrowerView:{type:Function,default:()=>{}}},data:()=>({highlightedControl:null}),methods:{goToToday(){this.updateSelectedDate(new Date(new Date().setHours(0,0,0,0)))},switchToBroaderView(){this.transitionDirection="left",this.broaderView&&this.switchView(this.broaderView)}},computed:{transitionDirection:{get(){return this.vuecal.transitionDirection},set(e){this.vuecal.transitionDirection=e}},broaderView(){const{enabledViews:e}=this.vuecal;return e[e.indexOf(this.view.id)-1]},showDaySplits(){return this.view.id==="day"&&this.hasSplits&&this.options.stickySplitLabels&&!this.options.minSplitWidth},dnd(){return this.modules.dnd}}},jU=ba(qU,[["render",WU]]),YU=["draggable"];function GU(e,t,a,r,n,c){return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vuecal__event",c.eventClasses]),style:o.normalizeStyle(c.eventStyles),tabindex:"0",onFocus:t[4]||(t[4]=(...i)=>c.focusEvent&&c.focusEvent(...i)),onKeypress:t[5]||(t[5]=o.withKeys(o.withModifiers((...i)=>c.onEnterKeypress&&c.onEnterKeypress(...i),["stop"]),["enter"])),onMouseenter:t[6]||(t[6]=(...i)=>c.onMouseEnter&&c.onMouseEnter(...i)),onMouseleave:t[7]||(t[7]=(...i)=>c.onMouseLeave&&c.onMouseLeave(...i)),onTouchstart:t[8]||(t[8]=o.withModifiers((...i)=>c.onTouchStart&&c.onTouchStart(...i),["stop"])),onMousedown:t[9]||(t[9]=i=>c.onMouseDown(i)),onMouseup:t[10]||(t[10]=(...i)=>c.onMouseUp&&c.onMouseUp(...i)),onTouchend:t[11]||(t[11]=(...i)=>c.onMouseUp&&c.onMouseUp(...i)),onTouchmove:t[12]||(t[12]=(...i)=>c.onTouchMove&&c.onTouchMove(...i)),onDblclick:t[13]||(t[13]=(...i)=>c.onDblClick&&c.onDblClick(...i)),draggable:c.draggable,onDragstart:t[14]||(t[14]=i=>c.draggable&&c.onDragStart(i)),onDragend:t[15]||(t[15]=i=>c.draggable&&c.onDragEnd())},[c.vuecal.editEvents.delete&&a.event.deletable?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vuecal__event-delete",onClick:t[0]||(t[0]=o.withModifiers((...i)=>c.deleteEvent&&c.deleteEvent(...i),["stop"])),onTouchstart:t[1]||(t[1]=o.withModifiers((...i)=>c.touchDeleteEvent&&c.touchDeleteEvent(...i),["stop"]))},o.toDisplayString(c.vuecal.texts.deleteEvent),33)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"event",{event:a.event,view:c.view.id}),c.resizable?(o.openBlock(),o.createElementBlock("div",{key:1,class:"vuecal__event-resize-handle",contenteditable:"false",onMousedown:t[2]||(t[2]=o.withModifiers((...i)=>c.onResizeHandleMouseDown&&c.onResizeHandleMouseDown(...i),["stop","prevent"])),onTouchstart:t[3]||(t[3]=o.withModifiers((...i)=>c.onResizeHandleMouseDown&&c.onResizeHandleMouseDown(...i),["stop","prevent"]))},null,32)):o.createCommentVNode("",!0)],46,YU)}const XU={inject:["vuecal","utils","modules","view","domEvents","editEvents"],props:{cellFormattedDate:{type:String,default:""},event:{type:Object,default:()=>({})},cellEvents:{type:Array,default:()=>[]},overlaps:{type:Array,default:()=>[]},eventPosition:{type:Number,default:0},overlapsStreak:{type:Number,default:0},allDay:{type:Boolean,default:!1}},data:()=>({touch:{dragThreshold:30,startX:0,startY:0,dragged:!1}}),methods:{onMouseDown(e,t=!1){if("ontouchstart"in window&&!t)return!1;const{clickHoldAnEvent:a,focusAnEvent:r,resizeAnEvent:n,dragAnEvent:c}=this.domEvents;if(r._eid===this.event._eid&&a._eid===this.event._eid)return!0;this.focusEvent(),a._eid=null,this.vuecal.editEvents.delete&&this.event.deletable&&(a.timeoutId=setTimeout(()=>{!n._eid&&!c._eid&&(a._eid=this.event._eid,this.event.deleting=!0)},a.timeout))},onMouseUp(e){this.domEvents.focusAnEvent._eid===this.event._eid&&!this.touch.dragged&&(this.domEvents.focusAnEvent.mousedUp=!0),this.touch.dragged=!1},onMouseEnter(e){e.preventDefault(),this.vuecal.emitWithEvent("event-mouse-enter",this.event)},onMouseLeave(e){e.preventDefault(),this.vuecal.emitWithEvent("event-mouse-leave",this.event)},onTouchMove(e){if(typeof this.vuecal.onEventClick!="function")return;const{clientX:t,clientY:a}=e.touches[0],{startX:r,startY:n,dragThreshold:c}=this.touch;(Math.abs(t-r)>c||Math.abs(a-n)>c)&&(this.touch.dragged=!0)},onTouchStart(e){this.touch.startX=e.touches[0].clientX,this.touch.startY=e.touches[0].clientY,this.onMouseDown(e,!0)},onEnterKeypress(e){if(typeof this.vuecal.onEventClick=="function")return this.vuecal.onEventClick(this.event,e)},onDblClick(e){if(typeof this.vuecal.onEventDblclick=="function")return this.vuecal.onEventDblclick(this.event,e)},onDragStart(e){this.dnd&&this.dnd.eventDragStart(e,this.event)},onDragEnd(){this.dnd&&this.dnd.eventDragEnd(this.event)},onResizeHandleMouseDown(){this.focusEvent(),this.domEvents.dragAnEvent._eid=null,this.domEvents.resizeAnEvent=Object.assign(this.domEvents.resizeAnEvent,{_eid:this.event._eid,start:(this.segment||this.event).start,split:this.event.split||null,segment:!!this.segment&&this.utils.date.formatDateLite(this.segment.start),originalEnd:new Date((this.segment||this.event).end),originalEndTimeMinutes:this.event.endTimeMinutes}),this.event.resizing=!0},deleteEvent(e=!1){if("ontouchstart"in window&&!e)return!1;this.utils.event.deleteAnEvent(this.event)},touchDeleteEvent(e){this.deleteEvent(!0)},cancelDeleteEvent(){this.event.deleting=!1},focusEvent(){const{focusAnEvent:e}=this.domEvents,t=e._eid;if(t!==this.event._eid){if(t){const a=this.view.events.find(r=>r._eid===t);a&&(a.focused=!1)}this.vuecal.cancelDelete(),this.vuecal.emitWithEvent("event-focus",this.event),e._eid=this.event._eid,this.event.focused=!0}}},computed:{eventDimensions(){const{startTimeMinutes:e,endTimeMinutes:t}=this.segment||this.event;let a=e-this.vuecal.timeFrom;const r=Math.max(Math.round(a*this.vuecal.timeCellHeight/this.vuecal.timeStep),0);a=Math.min(t,this.vuecal.timeTo)-this.vuecal.timeFrom;const n=Math.round(a*this.vuecal.timeCellHeight/this.vuecal.timeStep),c=Math.max(n-r,5);return{top:r,height:c}},eventStyles(){if(this.event.allDay||!this.vuecal.time||!this.event.endTimeMinutes||this.view.id==="month"||this.allDay)return{};let e=100/Math.min(this.overlaps.length+1,this.overlapsStreak),t=100/(this.overlaps.length+1)*this.eventPosition;this.vuecal.minEventWidth&&e<this.vuecal.minEventWidth&&(e=this.vuecal.minEventWidth,t=(100-this.vuecal.minEventWidth)/this.overlaps.length*this.eventPosition);const{top:a,height:r}=this.eventDimensions;return{top:`${a}px`,height:`${r}px`,width:`${e}%`,left:this.event.left&&`${this.event.left}px`||`${t}%`}},eventClasses(){const{isFirstDay:e,isLastDay:t}=this.segment||{};return{[this.event.class]:!!this.event.class,"vuecal__event--focus":this.event.focused,"vuecal__event--resizing":this.event.resizing,"vuecal__event--background":this.event.background,"vuecal__event--deletable":this.event.deleting,"vuecal__event--all-day":this.event.allDay,"vuecal__event--dragging":!this.event.draggingStatic&&this.event.dragging,"vuecal__event--static":this.event.dragging&&this.event.draggingStatic,"vuecal__event--multiple-days":!!this.segment,"event-start":this.segment&&e&&!t,"event-middle":this.segment&&!e&&!t,"event-end":this.segment&&t&&!e}},segment(){return this.event.segments&&this.event.segments[this.cellFormattedDate]||null},draggable(){const{draggable:e,background:t,daysCount:a}=this.event;return this.vuecal.editEvents.drag&&e&&!t&&a===1},resizable(){const{editEvents:e,time:t}=this.vuecal;return e.resize&&this.event.resizable&&t&&!this.allDay&&(!this.segment||this.segment&&this.segment.isLastDay)&&this.view.id!=="month"},dnd(){return this.modules.dnd}}},KU=ba(XU,[["render",GU]]),ZU=["data-split","aria-label","onTouchstart","onMousedown","onDragover","onDrop"],QU={key:0,class:"cell-time-labels"},JU=["innerHTML"],eW={key:2,class:"vuecal__cell-events"},tW=["title"];function aW(e,t,a,r,n,c){const i=o.resolveComponent("event");return o.openBlock(),o.createBlock(o.TransitionGroup,{class:o.normalizeClass(["vuecal__cell",c.cellClasses]),name:`slide-fade--${c.transitionDirection}`,tag:"div",appear:a.options.transitions,style:o.normalizeStyle(c.cellStyles)},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.splitsCount?c.splits:1,(s,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vuecal__flex vuecal__cell-content",c.splitsCount&&c.splitClasses(s)]),key:a.options.transitions?`${c.view.id}-${a.data.content}-${l}`:l,"data-split":c.splitsCount?s.id:!1,column:"",tabindex:"0","aria-label":a.data.content,onFocus:t[0]||(t[0]=f=>c.onCellFocus(f)),onKeypress:t[1]||(t[1]=o.withKeys(f=>c.onCellkeyPressEnter(f),["enter"])),onTouchstart:f=>!c.isDisabled&&c.onCellTouchStart(f,c.splitsCount?s.id:null),onMousedown:f=>!c.isDisabled&&c.onCellMouseDown(f,c.splitsCount?s.id:null),onClick:t[2]||(t[2]=f=>!c.isDisabled&&c.onCellClick(f)),onDblclick:t[3]||(t[3]=f=>!c.isDisabled&&c.onCellDblClick(f)),onContextmenu:t[4]||(t[4]=f=>!c.isDisabled&&a.options.cellContextmenu&&c.onCellContextMenu(f)),onDragenter:t[5]||(t[5]=f=>!c.isDisabled&&a.editEvents.drag&&c.dnd&&c.dnd.cellDragEnter(f,e.$data,a.data.startDate)),onDragover:f=>!c.isDisabled&&a.editEvents.drag&&c.dnd&&c.dnd.cellDragOver(f,e.$data,a.data.startDate,c.splitsCount?s.id:null),onDragleave:t[6]||(t[6]=f=>!c.isDisabled&&a.editEvents.drag&&c.dnd&&c.dnd.cellDragLeave(f,e.$data,a.data.startDate)),onDrop:f=>!c.isDisabled&&a.editEvents.drag&&c.dnd&&c.dnd.cellDragDrop(f,e.$data,a.data.startDate,c.splitsCount?s.id:null)},[a.options.showTimeInCells&&a.options.time&&c.isWeekOrDayView&&!a.allDay?(o.openBlock(),o.createElementBlock("div",QU,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.vuecal.timeCells,(f,u)=>(o.openBlock(),o.createElementBlock("span",{class:"cell-time-label",key:u},o.toDisplayString(f.label),1))),128))])):o.createCommentVNode("",!0),c.isWeekOrDayView&&!a.allDay&&c.specialHours.length?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:1},o.renderList(c.specialHours,(f,u)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vuecal__special-hours",`vuecal__special-hours--day${f.day} ${f.class}`]),style:o.normalizeStyle(`height: ${f.height}px;top: ${f.top}px`)},[f.label?(o.openBlock(),o.createElementBlock("div",{key:0,class:"special-hours-label",innerHTML:f.label},null,8,JU)):o.createCommentVNode("",!0)],6))),256)):o.createCommentVNode("",!0),o.renderSlot(e.$slots,"cell-content",{events:c.events,selectCell:f=>c.selectCell(f,!0),split:c.splitsCount?s:!1}),c.eventsCount&&(c.isWeekOrDayView||c.view.id==="month"&&a.options.eventsOnMonthView)?(o.openBlock(),o.createElementBlock("div",eW,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.splitsCount?s.events:c.events,(f,u)=>(o.openBlock(),o.createBlock(i,{key:u,"cell-formatted-date":a.data.formattedDate,event:f,"all-day":a.allDay,"cell-events":c.splitsCount?s.events:c.events,overlaps:((c.splitsCount?s.overlaps[f._eid]:e.cellOverlaps[f._eid])||[]).overlaps,"event-position":((c.splitsCount?s.overlaps[f._eid]:e.cellOverlaps[f._eid])||[]).position,"overlaps-streak":c.splitsCount?s.overlapsStreak:e.cellOverlapsStreak},{event:o.withCtx(({event:d,view:h})=>[o.renderSlot(e.$slots,"event",{view:h,event:d})]),_:2},1032,["cell-formatted-date","event","all-day","cell-events","overlaps","event-position","overlaps-streak"]))),128))])):o.createCommentVNode("",!0)],42,ZU))),128)),c.timelineVisible?(o.openBlock(),o.createElementBlock("div",{class:"vuecal__now-line",style:o.normalizeStyle(`top: ${c.todaysTimePosition}px`),key:a.options.transitions?`${c.view.id}-now-line`:"now-line",title:c.utils.date.formatTime(c.vuecal.now)},null,12,tW)):o.createCommentVNode("",!0)]),_:3},8,["class","name","appear","style"])}const rW={inject:["vuecal","utils","modules","view","domEvents"],components:{Event:KU},props:{options:{type:Object,default:()=>({})},editEvents:{type:Object,required:!0},data:{type:Object,required:!0},cellSplits:{type:Array,default:()=>[]},minTimestamp:{type:[Number,null],default:null},maxTimestamp:{type:[Number,null],default:null},cellWidth:{type:[Number,Boolean],default:!1},allDay:{type:Boolean,default:!1}},data:()=>({cellOverlaps:{},cellOverlapsStreak:1,timeAtCursor:null,highlighted:!1,highlightedSplit:null}),methods:{getSplitAtCursor({target:e}){let a=e.classList.contains("vuecal__cell-split")?e:this.vuecal.findAncestor(e,"vuecal__cell-split");return a&&(a=a.attributes["data-split"].value,parseInt(a).toString()===a.toString()&&(a=parseInt(a))),a||null},splitClasses(e){return{"vuecal__cell-split":!0,"vuecal__cell-split--highlighted":this.highlightedSplit===e.id,[e.class]:!!e.class}},checkCellOverlappingEvents(){this.options.time&&this.eventsCount&&!this.splitsCount&&(this.eventsCount===1?(this.cellOverlaps=[],this.cellOverlapsStreak=1):[this.cellOverlaps,this.cellOverlapsStreak]=this.utils.event.checkCellOverlappingEvents(this.events,this.options))},isDOMElementAnEvent(e){return this.vuecal.isDOMElementAnEvent(e)},selectCell(e,t=!1){const a=this.splitsCount?this.getSplitAtCursor(e):null;this.utils.cell.selectCell(t,this.timeAtCursor,a),this.timeAtCursor=null},onCellkeyPressEnter(e){this.isSelected||this.onCellFocus(e);const t=this.splitsCount?this.getSplitAtCursor(e):null;this.utils.cell.keyPressEnterCell(this.timeAtCursor,t),this.timeAtCursor=null},onCellFocus(e){if(!this.isSelected&&!this.isDisabled){this.isSelected=this.data.startDate;const t=this.splitsCount?this.getSplitAtCursor(e):null,a=this.timeAtCursor||this.data.startDate;this.vuecal.$emit("cell-focus",t?{date:a,split:t}:a)}},onCellMouseDown(e,t=null,a=!1){if("ontouchstart"in window&&!a)return!1;this.isSelected||this.onCellFocus(e);const{clickHoldACell:r,focusAnEvent:n}=this.domEvents;this.domEvents.cancelClickEventCreation=!1,r.eventCreated=!1,this.timeAtCursor=new Date(this.data.startDate);const{minutes:c,cursorCoords:{y:i}}=this.vuecal.minutesAtCursor(e);this.timeAtCursor.setMinutes(c);const s=this.isDOMElementAnEvent(e.target);!s&&n._eid&&((this.view.events.find(l=>l._eid===n._eid)||{}).focused=!1),this.editEvents.create&&!s&&this.setUpEventCreation(e,i)},setUpEventCreation(e,t){if(this.options.dragToCreateEvent&&["week","day"].includes(this.view.id)){const{dragCreateAnEvent:a}=this.domEvents;if(a.startCursorY=t,a.split=this.splitsCount?this.getSplitAtCursor(e):null,a.start=this.timeAtCursor,this.options.snapToTime){let r=this.timeAtCursor.getHours()*60+this.timeAtCursor.getMinutes();const n=r+this.options.snapToTime/2;r=n-n%this.options.snapToTime,a.start.setHours(0,r,0,0)}}else this.options.cellClickHold&&["month","week","day"].includes(this.view.id)&&this.setUpCellHoldTimer(e)},setUpCellHoldTimer(e){const{clickHoldACell:t}=this.domEvents;t.cellId=`${this.vuecal._.uid}_${this.data.formattedDate}`,t.split=this.splitsCount?this.getSplitAtCursor(e):null,t.timeoutId=setTimeout(()=>{if(t.cellId&&!this.domEvents.cancelClickEventCreation){const{_eid:a}=this.utils.event.createAnEvent(this.timeAtCursor,null,t.split?{split:t.split}:{});t.eventCreated=a}},t.timeout)},onCellTouchStart(e,t=null){this.onCellMouseDown(e,t,!0)},onCellClick(e){this.isDOMElementAnEvent(e.target)||this.selectCell(e)},onCellDblClick(e){const t=new Date(this.data.startDate);t.setMinutes(this.vuecal.minutesAtCursor(e).minutes);const a=this.splitsCount?this.getSplitAtCursor(e):null;this.vuecal.$emit("cell-dblclick",a?{date:t,split:a}:t),this.options.dblclickToNavigate&&this.vuecal.switchToNarrowerView()},onCellContextMenu(e){e.stopPropagation(),e.preventDefault();const t=new Date(this.data.startDate),{cursorCoords:a,minutes:r}=this.vuecal.minutesAtCursor(e);t.setMinutes(r);const n=this.splitsCount?this.getSplitAtCursor(e):null;this.vuecal.$emit("cell-contextmenu",{date:t,...a,...n||{},e})}},computed:{dnd(){return this.modules.dnd},nowInMinutes(){return this.utils.date.dateToMinutes(this.vuecal.now)},isBeforeMinDate(){return this.minTimestamp!==null&&this.minTimestamp>this.data.endDate.getTime()},isAfterMaxDate(){return this.maxTimestamp&&this.maxTimestamp<this.data.startDate.getTime()},isDisabled(){const{disableDays:e}=this.options,{isYearsOrYearView:t}=this.vuecal;return e.length&&e.includes(this.data.formattedDate)&&!t?!0:this.isBeforeMinDate||this.isAfterMaxDate},isSelected:{get(){let e=!1;const{selectedDate:t}=this.view;return this.view.id==="years"?e=t.getFullYear()===this.data.startDate.getFullYear():this.view.id==="year"?e=t.getFullYear()===this.data.startDate.getFullYear()&&t.getMonth()===this.data.startDate.getMonth():e=t.getTime()===this.data.startDate.getTime(),e},set(e){this.view.selectedDate=e,this.vuecal.$emit("update:selected-date",this.view.selectedDate)}},isWeekOrDayView(){return["week","day"].includes(this.view.id)},transitionDirection(){return this.vuecal.transitionDirection},specialHours(){return this.data.specialHours.map(e=>{let{from:t,to:a}=e;return t=Math.max(t,this.options.timeFrom),a=Math.min(a,this.options.timeTo),{...e,height:(a-t)*this.timeScale,top:(t-this.options.timeFrom)*this.timeScale}})},events(){const{startDate:e,endDate:t}=this.data;let a=[];if(!(["years","year"].includes(this.view.id)&&!this.options.eventsCountOnYearView)){if(a=this.view.events.slice(0),this.view.id==="month"&&a.push(...this.view.outOfScopeEvents),a=a.filter(r=>this.utils.event.eventInRange(r,e,t)),this.options.showAllDayEvents&&this.view.id!=="month"&&(a=a.filter(r=>!!r.allDay===this.allDay)),this.options.time&&this.isWeekOrDayView&&!this.allDay){const{timeFrom:r,timeTo:n}=this.options;a=a.filter(c=>{const i=c.daysCount>1&&c.segments[this.data.formattedDate]||{},s=c.daysCount===1&&c.startTimeMinutes<n&&c.endTimeMinutes>r,l=c.daysCount>1&&i.startTimeMinutes<n&&i.endTimeMinutes>r,f=!1;return c.allDay||s||l||f})}this.options.time&&this.isWeekOrDayView&&!(this.options.showAllDayEvents&&this.allDay)&&a.sort((r,n)=>r.start<n.start?-1:1),this.cellSplits.length||this.$nextTick(this.checkCellOverlappingEvents)}return a},eventsCount(){return this.events.length},splits(){return this.cellSplits.map((e,t)=>{const a=this.events.filter(c=>c.split===e.id),[r,n]=this.utils.event.checkCellOverlappingEvents(a.filter(c=>!c.background&&!c.allDay),this.options);return{...e,overlaps:r,overlapsStreak:n,events:a}})},splitsCount(){return this.splits.length},cellClasses(){return{[this.data.class]:!!this.data.class,"vuecal__cell--current":this.data.current,"vuecal__cell--today":this.data.today,"vuecal__cell--out-of-scope":this.data.outOfScope,"vuecal__cell--before-min":this.isDisabled&&this.isBeforeMinDate,"vuecal__cell--after-max":this.isDisabled&&this.isAfterMaxDate,"vuecal__cell--disabled":this.isDisabled,"vuecal__cell--selected":this.isSelected,"vuecal__cell--highlighted":this.highlighted,"vuecal__cell--has-splits":this.splitsCount,"vuecal__cell--has-events":this.eventsCount}},cellStyles(){return{...this.cellWidth?{width:`${this.cellWidth}%`}:{}}},timelineVisible(){const{time:e,timeTo:t}=this.options;return this.data.today&&this.isWeekOrDayView&&e&&!this.allDay&&this.nowInMinutes<=t},todaysTimePosition(){if(!this.data.today||!this.options.time)return;const e=this.nowInMinutes-this.options.timeFrom;return Math.round(e*this.timeScale)},timeScale(){return this.options.timeCellHeight/this.options.timeStep}}},ky=ba(rW,[["render",aW]]),nW={key:0,class:"vuecal__all-day-text",style:{width:"3em"}};function cW(e,t,a,r,n,c){const i=o.resolveComponent("vuecal-cell");return o.openBlock(),o.createElementBlock("div",{class:"vuecal__flex vuecal__all-day",style:o.normalizeStyle(a.cellOrSplitMinWidth&&{height:a.height})},[a.cellOrSplitMinWidth?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",nW,[o.createElementVNode("span",null,o.toDisplayString(a.label),1)])),o.createElementVNode("div",{class:o.normalizeClass(["vuecal__flex vuecal__cells",`${c.view.id}-view`]),grow:"",style:o.normalizeStyle(a.cellOrSplitMinWidth?`min-width: ${a.cellOrSplitMinWidth}px`:"")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.cells,(s,l)=>(o.openBlock(),o.createBlock(i,{key:l,options:a.options,"edit-events":c.editEvents,data:s,"all-day":!0,"cell-width":a.options.hideWeekdays.length&&(c.vuecal.isWeekView||c.vuecal.isMonthView)&&c.vuecal.cellWidth,"min-timestamp":a.options.minTimestamp,"max-timestamp":a.options.maxTimestamp,"cell-splits":a.daySplits},{event:o.withCtx(({event:f,view:u})=>[o.renderSlot(e.$slots,"event",{view:u,event:f})]),_:2},1032,["options","edit-events","data","cell-width","min-timestamp","max-timestamp","cell-splits"]))),128))],6)],4)}const iW={inject:["vuecal","view","editEvents"],components:{"vuecal-cell":ky},props:{options:{type:Object,required:!0},cells:{type:Array,required:!0},label:{type:String,required:!0},daySplits:{type:Array,default:()=>[]},shortEvents:{type:Boolean,default:!0},height:{type:String,default:""},cellOrSplitMinWidth:{type:Number,default:null}},computed:{hasCellOrSplitWidth(){return!!(this.options.minCellWidth||this.daySplits.length&&this.options.minSplitWidth)}}},sW=ba(iW,[["render",cW]]),oW=["lang"],lW={class:"default"},fW={key:0,class:"vuecal__flex vuecal__body",grow:""},uW=["onBlur","innerHTML"],dW=["innerHTML"],hW=["innerHTML"],mW={class:"vuecal__flex",row:"",grow:""},pW={key:0,class:"vuecal__time-column"},vW={class:"vuecal__time-cell-label"},gW={key:1,class:"vuecal__flex vuecal__week-numbers",column:""},yW=["wrap","column"],xW=["onBlur","innerHTML"],bW=["innerHTML"],CW=["innerHTML"],MW=["wrap"],zW=["innerHTML"],_W=["innerHTML"],wW={key:2,class:"vuecal__cell-events-count"},kW={key:3,class:"vuecal__no-event"},HW=["onBlur","innerHTML"],VW=["innerHTML"],LW={key:2,class:"vuecal__event-time"},SW={key:0},AW={key:1,class:"days-to-end"},TW=["innerHTML"],EW={key:0,class:"vuecal__scrollbar-check"};function NW(e,t,a,r,n,c){const i=o.resolveComponent("vuecal-header"),s=o.resolveComponent("all-day-bar"),l=o.resolveComponent("weekdays-headings"),f=o.resolveComponent("vuecal-cell");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vuecal__flex vuecal",c.cssClasses]),column:"",ref:"vuecal",lang:a.locale},[o.createVNode(i,{options:e.$props,"edit-events":c.editEvents,"view-props":{views:c.views,weekDaysInHeader:c.weekDaysInHeader},"week-days":c.weekDays,"has-splits":c.hasSplits,"day-splits":c.daySplits,"switch-to-narrower-view":c.switchToNarrowerView},o.createSlots({"arrow-prev":o.withCtx(()=>[o.renderSlot(e.$slots,"arrow-prev",{},()=>[t[0]||(t[0]=o.createTextVNode(" ")),t[1]||(t[1]=o.createElementVNode("i",{class:"angle"},null,-1)),t[2]||(t[2]=o.createTextVNode(" "))])]),"arrow-next":o.withCtx(()=>[o.renderSlot(e.$slots,"arrow-next",{},()=>[t[3]||(t[3]=o.createTextVNode(" ")),t[4]||(t[4]=o.createElementVNode("i",{class:"angle"},null,-1)),t[5]||(t[5]=o.createTextVNode(" "))])]),"today-button":o.withCtx(()=>[o.renderSlot(e.$slots,"today-button",{},()=>[o.createElementVNode("span",lW,o.toDisplayString(n.texts.today),1)])]),title:o.withCtx(()=>[o.renderSlot(e.$slots,"title",{title:c.viewTitle,view:n.view},()=>[o.createTextVNode(o.toDisplayString(c.viewTitle),1)])]),_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:o.withCtx(({heading:u,view:d})=>[o.renderSlot(e.$slots,"weekday-heading",{heading:u,view:d})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:o.withCtx(({split:u})=>[o.renderSlot(e.$slots,"split-label",{split:u,view:n.view.id})]),key:"1"}:void 0]),1032,["options","edit-events","view-props","week-days","has-splits","day-splits","switch-to-narrower-view"]),a.hideBody?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",fW,[o.createVNode(o.Transition,{name:`slide-fade--${n.transitionDirection}`,appear:a.transitions},{default:o.withCtx(()=>[(o.openBlock(),o.createElementBlock("div",{class:"vuecal__flex",style:{"min-width":"100%"},key:a.transitions?n.view.id:!1,column:""},[a.showAllDayEvents&&c.hasTimeColumn&&(!c.cellOrSplitMinWidth||c.isDayView&&!a.minSplitWidth)?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:0},c.allDayBar)),{event:o.withCtx(({event:u,view:d})=>[o.renderSlot(e.$slots,"event",{view:d,event:u},()=>[c.editEvents.title&&u.titleEditable?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:h=>c.onEventTitleBlur(h,u),innerHTML:u.title},null,40,uW)):u.title?(o.openBlock(),o.createElementBlock("div",{key:1,class:"vuecal__event-title",innerHTML:u.title},null,8,dW)):o.createCommentVNode("",!0),u.content&&!c.hasShortEvents&&!c.isShortMonthView?(o.openBlock(),o.createElementBlock("div",{key:2,class:"vuecal__event-content",innerHTML:u.content},null,8,hW)):o.createCommentVNode("",!0)])]),_:3},16)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["vuecal__bg",{vuecal__flex:!c.hasTimeColumn}]),column:""},[o.createElementVNode("div",mW,[c.hasTimeColumn?(o.openBlock(),o.createElementBlock("div",pW,[a.showAllDayEvents&&c.cellOrSplitMinWidth&&!(c.isDayView&&!a.minSplitWidth)?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vuecal__all-day-text",style:o.normalizeStyle({height:c.allDayBar.height})},[o.createElementVNode("span",null,o.toDisplayString(n.texts.allDay),1)],4)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.timeCells,(u,d)=>(o.openBlock(),o.createElementBlock("div",{class:"vuecal__time-cell",key:d,style:o.normalizeStyle(`height: ${a.timeCellHeight}px`)},[o.renderSlot(e.$slots,"time-cell",{hours:u.hours,minutes:u.minutes},()=>[t[6]||(t[6]=o.createElementVNode("span",{class:"vuecal__time-cell-line"},null,-1)),o.createElementVNode("span",vW,o.toDisplayString(u.label),1)])],4))),128))])):o.createCommentVNode("",!0),a.showWeekNumbers&&c.isMonthView?(o.openBlock(),o.createElementBlock("div",gW,[(o.openBlock(),o.createElementBlock(o.Fragment,null,o.renderList(6,u=>o.createElementVNode("div",{class:"vuecal__flex vuecal__week-number-cell",key:u,grow:""},[o.renderSlot(e.$slots,"week-number-cell",{week:c.getWeekNumber(u-1)},()=>[o.createTextVNode(o.toDisplayString(c.getWeekNumber(u-1)),1)])])),64))])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:o.normalizeClass(["vuecal__flex vuecal__cells",`${n.view.id}-view`]),grow:"",wrap:!c.cellOrSplitMinWidth||!c.isWeekView,column:!!c.cellOrSplitMinWidth},[c.cellOrSplitMinWidth&&c.isWeekView?(o.openBlock(),o.createBlock(l,{key:0,"transition-direction":n.transitionDirection,"week-days":c.weekDays,"switch-to-narrower-view":c.switchToNarrowerView,style:o.normalizeStyle(c.cellOrSplitMinWidth?`min-width: ${c.cellOrSplitMinWidth}px`:"")},o.createSlots({_:2},[e.$slots["weekday-heading"]?{name:"weekday-heading",fn:o.withCtx(({heading:u,view:d})=>[o.renderSlot(e.$slots,"weekday-heading",{heading:u,view:d})]),key:"0"}:void 0,e.$slots["split-label"]?{name:"split-label",fn:o.withCtx(({split:u})=>[o.renderSlot(e.$slots,"split-label",{split:u,view:n.view.id})]),key:"1"}:void 0]),1032,["transition-direction","week-days","switch-to-narrower-view","style"])):c.hasSplits&&a.stickySplitLabels&&a.minSplitWidth?(o.openBlock(),o.createElementBlock("div",{key:1,class:"vuecal__flex vuecal__split-days-headers",style:o.normalizeStyle(c.cellOrSplitMinWidth?`min-width: ${c.cellOrSplitMinWidth}px`:"")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.daySplits,(u,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["day-split-header",u.class||!1]),key:d},[o.renderSlot(e.$slots,"split-label",{split:u,view:n.view.id},()=>[o.createTextVNode(o.toDisplayString(u.label),1)])],2))),128))],4)):o.createCommentVNode("",!0),a.showAllDayEvents&&c.hasTimeColumn&&(c.isWeekView&&c.cellOrSplitMinWidth||c.isDayView&&c.hasSplits&&a.minSplitWidth)?(o.openBlock(),o.createBlock(s,o.normalizeProps(o.mergeProps({key:2},c.allDayBar)),{event:o.withCtx(({event:u,view:d})=>[o.renderSlot(e.$slots,"event",{view:d,event:u},()=>[c.editEvents.title&&u.titleEditable?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:h=>c.onEventTitleBlur(h,u),innerHTML:u.title},null,40,xW)):u.title?(o.openBlock(),o.createElementBlock("div",{key:1,class:"vuecal__event-title",innerHTML:u.title},null,8,bW)):o.createCommentVNode("",!0),u.content&&!c.hasShortEvents&&!c.isShortMonthView?(o.openBlock(),o.createElementBlock("div",{key:2,class:"vuecal__event-content",innerHTML:u.content},null,8,CW)):o.createCommentVNode("",!0)])]),_:3},16)):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"vuecal__flex",ref:u=>n.cellsEl=u,grow:"",wrap:!c.cellOrSplitMinWidth||!c.isWeekView,style:o.normalizeStyle(c.cellOrSplitMinWidth?`min-width: ${c.cellOrSplitMinWidth}px`:"")},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.viewCells,(u,d)=>(o.openBlock(),o.createBlock(f,{key:d,options:e.$props,"edit-events":c.editEvents,data:u,"cell-width":a.hideWeekdays.length&&(c.isWeekView||c.isMonthView)&&c.cellWidth,"min-timestamp":c.minTimestamp,"max-timestamp":c.maxTimestamp,"cell-splits":c.hasSplits&&c.daySplits||[]},{"cell-content":o.withCtx(({events:h,split:m,selectCell:v})=>[o.renderSlot(e.$slots,"cell-content",{cell:u,view:n.view,goNarrower:v,events:h},()=>[m&&!a.stickySplitLabels?(o.openBlock(),o.createElementBlock("div",{key:0,class:"split-label",innerHTML:m.label},null,8,zW)):o.createCommentVNode("",!0),u.content?(o.openBlock(),o.createElementBlock("div",{key:1,class:"vuecal__cell-date",innerHTML:u.content},null,8,_W)):o.createCommentVNode("",!0),(c.isMonthView&&!a.eventsOnMonthView||c.isYearsOrYearView&&a.eventsCountOnYearView)&&h.length?(o.openBlock(),o.createElementBlock("div",wW,[o.renderSlot(e.$slots,"events-count",{view:n.view,events:h},()=>[o.createTextVNode(o.toDisplayString(h.length),1)])])):o.createCommentVNode("",!0),!c.cellOrSplitHasEvents(h,m)&&c.isWeekOrDayView?(o.openBlock(),o.createElementBlock("div",kW,[o.renderSlot(e.$slots,"no-event",{},()=>[o.createTextVNode(o.toDisplayString(n.texts.noEvent),1)])])):o.createCommentVNode("",!0)])]),event:o.withCtx(({event:h,view:m})=>[o.renderSlot(e.$slots,"event",{view:m,event:h},()=>[c.editEvents.title&&h.titleEditable?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vuecal__event-title vuecal__event-title--edit",contenteditable:"",onBlur:v=>c.onEventTitleBlur(v,h),innerHTML:h.title},null,40,HW)):h.title?(o.openBlock(),o.createElementBlock("div",{key:1,class:"vuecal__event-title",innerHTML:h.title},null,8,VW)):o.createCommentVNode("",!0),a.time&&!h.allDay&&!(c.isMonthView&&(h.allDay||a.showAllDayEvents==="short"))&&!c.isShortMonthView?(o.openBlock(),o.createElementBlock("div",LW,[o.createTextVNode(o.toDisplayString(n.utils.date.formatTime(h.start,c.TimeFormat)),1),h.endTimeMinutes?(o.openBlock(),o.createElementBlock("span",SW," - "+o.toDisplayString(n.utils.date.formatTime(h.end,c.TimeFormat,null,!0)),1)):o.createCommentVNode("",!0),h.daysCount>1&&(h.segments[u.formattedDate]||{}).isFirstDay?(o.openBlock(),o.createElementBlock("small",AW," +"+o.toDisplayString(h.daysCount-1)+o.toDisplayString((n.texts.day[0]||"").toLowerCase()),1)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),h.content&&!(c.isMonthView&&h.allDay&&a.showAllDayEvents==="short")&&!c.isShortMonthView?(o.openBlock(),o.createElementBlock("div",{key:3,class:"vuecal__event-content",innerHTML:h.content},null,8,TW)):o.createCommentVNode("",!0)])]),"no-event":o.withCtx(()=>[o.renderSlot(e.$slots,"no-event",{},()=>[o.createTextVNode(o.toDisplayString(n.texts.noEvent),1)])]),_:2},1032,["options","edit-events","data","cell-width","min-timestamp","max-timestamp","cell-splits"]))),128))],12,MW)],10,yW)])],2)]))]),_:3},8,["name","appear"]),n.ready?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",EW,t[7]||(t[7]=[o.createElementVNode("div",null,null,-1)])))]))],10,oW)}const Da=24*60,J8={weekDays:Array(7).fill(""),weekDaysShort:[],months:Array(12).fill(""),years:"",year:"",month:"",week:"",day:"",today:"",noEvent:"",allDay:"",deleteEvent:"",createEvent:"",dateFormat:"dddd MMMM D, YYYY",am:"am",pm:"pm"},cd=["years","year","month","week","day"],id=new CU(J8),DW={name:"vue-cal",components:{"vuecal-cell":ky,"vuecal-header":jU,WeekdaysHeadings:wy,AllDayBar:sW},provide(){return{vuecal:this,utils:this.utils,modules:this.modules,previous:this.previous,next:this.next,switchView:this.switchView,updateSelectedDate:this.updateSelectedDate,editEvents:this.editEvents,view:this.view,domEvents:this.domEvents}},props:{activeView:{type:String,default:"week"},allDayBarHeight:{type:[String,Number],default:"25px"},cellClickHold:{type:Boolean,default:!0},cellContextmenu:{type:Boolean,default:!1},clickToNavigate:{type:Boolean,default:!1},dblclickToNavigate:{type:Boolean,default:!0},disableDatePrototypes:{type:Boolean,default:!1},disableDays:{type:Array,default:()=>[]},disableViews:{type:Array,default:()=>[]},dragToCreateEvent:{type:Boolean,default:!0},dragToCreateThreshold:{type:Number,default:15},editableEvents:{type:[Boolean,Object],default:!1},events:{type:Array,default:()=>[]},eventsCountOnYearView:{type:Boolean,default:!1},eventsOnMonthView:{type:[Boolean,String],default:!1},hideBody:{type:Boolean,default:!1},hideTitleBar:{type:Boolean,default:!1},hideViewSelector:{type:Boolean,default:!1},hideWeekdays:{type:Array,default:()=>[]},hideWeekends:{type:Boolean,default:!1},locale:{type:[String,Object],default:"en"},maxDate:{type:[String,Date],default:""},minCellWidth:{type:Number,default:0},minDate:{type:[String,Date],default:""},minEventWidth:{type:Number,default:0},minSplitWidth:{type:Number,default:0},onEventClick:{type:[Function,null],default:null},onEventCreate:{type:[Function,null],default:null},onEventDblclick:{type:[Function,null],default:null},overlapsPerTimeStep:{type:Boolean,default:!1},resizeX:{type:Boolean,default:!1},selectedDate:{type:[String,Date],default:""},showAllDayEvents:{type:[Boolean,String],default:!1},showTimeInCells:{type:Boolean,default:!1},showWeekNumbers:{type:[Boolean,String],default:!1},snapToTime:{type:Number,default:0},small:{type:Boolean,default:!1},specialHours:{type:Object,default:()=>({})},splitDays:{type:Array,default:()=>[]},startWeekOnSunday:{type:Boolean,default:!1},stickySplitLabels:{type:Boolean,default:!1},time:{type:Boolean,default:!0},timeCellHeight:{type:Number,default:40},timeFormat:{type:String,default:""},timeFrom:{type:Number,default:0},timeStep:{type:Number,default:60},timeTo:{type:Number,default:Da},todayButton:{type:Boolean,default:!1},transitions:{type:Boolean,default:!0},twelveHour:{type:Boolean,default:!1},watchRealTime:{type:Boolean,default:!1},xsmall:{type:Boolean,default:!1}},data(){return{ready:!1,texts:{...J8},utils:{date:(this.disableDatePrototypes?id.removePrototypes():!1)||id,cell:null,event:null},modules:{dnd:null},cellsEl:null,view:{id:"",title:"",startDate:null,endDate:null,firstCellDate:null,lastCellDate:null,selectedDate:null,events:[]},eventIdIncrement:1,now:new Date,timeTickerIds:[null,null],domEvents:{resizeAnEvent:{_eid:null,start:null,split:null,segment:null,originalEndTimeMinutes:0,originalEnd:null,end:null,startCell:null,endCell:null},dragAnEvent:{_eid:null},dragCreateAnEvent:{startCursorY:null,start:null,split:null,event:null},focusAnEvent:{_eid:null,mousedUp:!1},clickHoldAnEvent:{_eid:null,timeout:1200,timeoutId:null},dblTapACell:{taps:0,timeout:500},clickHoldACell:{cellId:null,split:null,timeout:1200,timeoutId:null,eventCreated:!1},cancelClickEventCreation:!1},mutableEvents:[],transitionDirection:"right"}},methods:{async loadLocale(e){if(typeof this.locale=="object"){this.texts=Object.assign({},J8,e),this.utils.date.updateTexts(this.texts);return}const t=await bU(Object.assign({"./i18n/ar.json":()=>Promise.resolve().then(()=>require("./ar.es-490d67d4.cjs")),"./i18n/bg.json":()=>Promise.resolve().then(()=>require("./bg.es-bedb7f61.cjs")),"./i18n/bn.json":()=>Promise.resolve().then(()=>require("./bn.es-ae104b8b.cjs")),"./i18n/bs.json":()=>Promise.resolve().then(()=>require("./bs.es-a97484a8.cjs")),"./i18n/ca.json":()=>Promise.resolve().then(()=>require("./ca.es-b69e2d93.cjs")),"./i18n/cs.json":()=>Promise.resolve().then(()=>require("./cs.es-8ab45a8b.cjs")),"./i18n/da.json":()=>Promise.resolve().then(()=>require("./da.es-20dd8f16.cjs")),"./i18n/de.json":()=>Promise.resolve().then(()=>require("./de.es-ce7009ce.cjs")),"./i18n/el.json":()=>Promise.resolve().then(()=>require("./el.es-81fc2434.cjs")),"./i18n/en.json":()=>Promise.resolve().then(()=>require("./en.es-4459b8a4.cjs")),"./i18n/es.json":()=>Promise.resolve().then(()=>require("./es.es-647dceed.cjs")),"./i18n/et.json":()=>Promise.resolve().then(()=>require("./et.es-482e868f.cjs")),"./i18n/fa.json":()=>Promise.resolve().then(()=>require("./fa.es-2c02433c.cjs")),"./i18n/fi.json":()=>Promise.resolve().then(()=>require("./fi.es-ef678961.cjs")),"./i18n/fr.json":()=>Promise.resolve().then(()=>require("./fr.es-5a023084.cjs")),"./i18n/he.json":()=>Promise.resolve().then(()=>require("./he.es-be02cfd4.cjs")),"./i18n/hr.json":()=>Promise.resolve().then(()=>require("./hr.es-5c9e8373.cjs")),"./i18n/hu.json":()=>Promise.resolve().then(()=>require("./hu.es-642f7e7a.cjs")),"./i18n/id.json":()=>Promise.resolve().then(()=>require("./id.es-ebe22526.cjs")),"./i18n/is.json":()=>Promise.resolve().then(()=>require("./is.es-960071df.cjs")),"./i18n/it.json":()=>Promise.resolve().then(()=>require("./it.es-f0d29f01.cjs")),"./i18n/ja.json":()=>Promise.resolve().then(()=>require("./ja.es-25a3e4cf.cjs")),"./i18n/ka.json":()=>Promise.resolve().then(()=>require("./ka.es-92c6a6ae.cjs")),"./i18n/ko.json":()=>Promise.resolve().then(()=>require("./ko.es-204ba1aa.cjs")),"./i18n/lt.json":()=>Promise.resolve().then(()=>require("./lt.es-afedf093.cjs")),"./i18n/mn.json":()=>Promise.resolve().then(()=>require("./mn.es-ced8667c.cjs")),"./i18n/nl.json":()=>Promise.resolve().then(()=>require("./nl.es-cd172132.cjs")),"./i18n/no.json":()=>Promise.resolve().then(()=>require("./no.es-d5134e5f.cjs")),"./i18n/pl.json":()=>Promise.resolve().then(()=>require("./pl.es-9f065e71.cjs")),"./i18n/pt-br.json":()=>Promise.resolve().then(()=>require("./pt-br.es-e0a38ecf.cjs")),"./i18n/pt-pt.json":()=>Promise.resolve().then(()=>require("./pt-pt.es-e1c57c62.cjs")),"./i18n/ro.json":()=>Promise.resolve().then(()=>require("./ro.es-a7e3858d.cjs")),"./i18n/ru.json":()=>Promise.resolve().then(()=>require("./ru.es-d26a8889.cjs")),"./i18n/sk.json":()=>Promise.resolve().then(()=>require("./sk.es-bfa34829.cjs")),"./i18n/sl.json":()=>Promise.resolve().then(()=>require("./sl.es-c79ab9b5.cjs")),"./i18n/sq.json":()=>Promise.resolve().then(()=>require("./sq.es-a902c2a8.cjs")),"./i18n/sr.json":()=>Promise.resolve().then(()=>require("./sr.es-2e429690.cjs")),"./i18n/sv.json":()=>Promise.resolve().then(()=>require("./sv.es-59b30e12.cjs")),"./i18n/tr.json":()=>Promise.resolve().then(()=>require("./tr.es-11b49d30.cjs")),"./i18n/uk.json":()=>Promise.resolve().then(()=>require("./uk.es-cfb0b466.cjs")),"./i18n/vi.json":()=>Promise.resolve().then(()=>require("./vi.es-daedaaa5.cjs")),"./i18n/zh-cn.json":()=>Promise.resolve().then(()=>require("./zh-cn.es-efbc1299.cjs")),"./i18n/zh-hk.json":()=>Promise.resolve().then(()=>require("./zh-hk.es-b6a4db4a.cjs"))}),`./i18n/${e}.json`,3);this.texts=Object.assign({},J8,t),this.utils.date.updateTexts(this.texts)},loadDragAndDrop(){Promise.resolve().then(()=>require("./drag-and-drop.es-cdb95efc.cjs")).then(e=>{const{DragAndDrop:t}=e;this.modules.dnd=new t(this)}).catch(()=>console.warn("Vue Cal: Missing drag & drop module."))},validateView(e){return cd.includes(e)||(console.error(`Vue Cal: invalid active-view parameter provided: "${e}".
|
|
824
|
-
A valid view must be one of: ${cd.join(", ")}.`),e="week"),this.enabledViews.includes(e)||(console.warn(`Vue Cal: the provided active-view "${e}" is disabled. Using the "${this.enabledViews[0]}" view instead.`),e=this.enabledViews[0]),e},switchToNarrowerView(e=null){this.transitionDirection="right";const t=this.enabledViews[this.enabledViews.indexOf(this.view.id)+1];t&&this.switchView(t,e)},switchView(e,t=null,a=!1){e=this.validateView(e);const r=this.utils.date,n=this.view.startDate&&this.view.startDate.getTime();if(this.transitions&&a){if(this.view.id===e)return;const s=this.enabledViews;this.transitionDirection=s.indexOf(this.view.id)>s.indexOf(e)?"left":"right"}const c=this.view.id;switch(this.view.events=[],this.view.id=e,this.view.firstCellDate=null,this.view.lastCellDate=null,t||(t=this.view.selectedDate||this.view.startDate),e){case"years":{this.view.startDate=new Date(Math.floor(t.getFullYear()/25)*25||2e3,0,1),this.view.endDate=new Date(this.view.startDate.getFullYear()+25,0,1),this.view.endDate.setSeconds(-1);break}case"year":{this.view.startDate=new Date(t.getFullYear(),0,1),this.view.endDate=new Date(t.getFullYear()+1,0,1),this.view.endDate.setSeconds(-1);break}case"month":{this.view.startDate=new Date(t.getFullYear(),t.getMonth(),1),this.view.endDate=new Date(t.getFullYear(),t.getMonth()+1,1),this.view.endDate.setSeconds(-1);let s=new Date(this.view.startDate);if(s.getDay()!==(this.startWeekOnSunday?0:1)&&(s=r.getPreviousFirstDayOfWeek(s,this.startWeekOnSunday)),this.view.firstCellDate=s,this.view.lastCellDate=r.addDays(s,41),this.view.lastCellDate.setHours(23,59,59,0),this.hideWeekends){if([0,6].includes(this.view.firstCellDate.getDay())){const l=this.view.firstCellDate.getDay()===6&&!this.startWeekOnSunday?2:1;this.view.firstCellDate=r.addDays(this.view.firstCellDate,l)}if([0,6].includes(this.view.startDate.getDay())){const l=this.view.startDate.getDay()===6?2:1;this.view.startDate=r.addDays(this.view.startDate,l)}if([0,6].includes(this.view.lastCellDate.getDay())){const l=this.view.lastCellDate.getDay()===0&&!this.startWeekOnSunday?2:1;this.view.lastCellDate=r.subtractDays(this.view.lastCellDate,l)}if([0,6].includes(this.view.endDate.getDay())){const l=this.view.endDate.getDay()===0?2:1;this.view.endDate=r.subtractDays(this.view.endDate,l)}}break}case"week":{t=r.getPreviousFirstDayOfWeek(t,this.startWeekOnSunday);const s=this.hideWeekends?5:7;this.view.startDate=this.hideWeekends&&this.startWeekOnSunday?r.addDays(t,1):t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=r.addDays(t,s),this.view.endDate.setSeconds(-1);break}case"day":{this.view.startDate=t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=new Date(t),this.view.endDate.setHours(23,59,59,0);break}}this.addEventsToView();const i=this.view.startDate&&this.view.startDate.getTime();if(!(c===e&&i===n)&&(this.$emit("update:activeView",e),this.ready)){const s=this.view.startDate,l={view:e,startDate:s,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate,outOfScopeEvents:this.view.outOfScopeEvents.map(this.cleanupEvent)}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:r.getWeek(this.startWeekOnSunday?r.addDays(s,1):s)}:{}};this.$emit("view-change",l)}},previous(){this.previousNext(!1)},next(){this.previousNext()},previousNext(e=!0){const t=this.utils.date;this.transitionDirection=e?"right":"left";const a=e?1:-1;let r=null;const{startDate:n,id:c}=this.view;switch(c){case"years":r=new Date(n.getFullYear()+25*a,0,1);break;case"year":r=new Date(n.getFullYear()+1*a,1,1);break;case"month":r=new Date(n.getFullYear(),n.getMonth()+1*a,1);break;case"week":r=t[e?"addDays":"subtractDays"](t.getPreviousFirstDayOfWeek(n,this.startWeekOnSunday),7);break;case"day":r=t[e?"addDays":"subtractDays"](n,1);const i=r.getDay(),s=this.startWeekOnSunday?i:(i||7)-1;if(this.weekDays[s].hide){const f=this.weekDays.map((d,h)=>({...d,i:h}));let u=0;e?([...f.slice(s),...f].find(d=>(u++,!d.hide)).i,u--):[...f,...f.slice(0,s)].reverse().find(d=>(u++,!d.hide)).i,r=t[e?"addDays":"subtractDays"](r,u)}break}r&&this.switchView(c,r)},addEventsToView(e=[]){const t=this.utils.event,{startDate:a,endDate:r,firstCellDate:n,lastCellDate:c}=this.view;if(e.length||(this.view.events=[]),e=e.length?e:[...this.mutableEvents],!e||this.isYearsOrYearView&&!this.eventsCountOnYearView)return;let i=e.filter(s=>t.eventInRange(s,a,r));!this.isYearsOrYearView&&!(this.isMonthView&&!this.eventsOnMonthView)&&(i=i.map(s=>s.daysCount>1?t.createEventSegments(s,n||a,c||r):s)),this.view.events.push(...i),this.isMonthView&&(this.view.outOfScopeEvents=[],e.forEach(s=>{(t.eventInRange(s,n,a)||t.eventInRange(s,r,c))&&(this.view.events.some(l=>l._eid===s._eid)||this.view.outOfScopeEvents.push(s))}))},findAncestor(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e},isDOMElementAnEvent(e){return e.classList.contains("vuecal__event")||this.findAncestor(e,"vuecal__event")},onMouseMove(e){const{resizeAnEvent:t,dragAnEvent:a,dragCreateAnEvent:r}=this.domEvents;t._eid===null&&a._eid===null&&!r.start||(e.preventDefault(),t._eid?this.eventResizing(e):this.dragToCreateEvent&&r.start&&this.eventDragCreation(e))},onMouseUp(e){const{focusAnEvent:t,resizeAnEvent:a,clickHoldAnEvent:r,clickHoldACell:n,dragCreateAnEvent:c}=this.domEvents,{_eid:i}=r,{_eid:s}=a;let l=!1;const{event:f,start:u}=c,d=this.isDOMElementAnEvent(e.target),h=t.mousedUp;if(t.mousedUp=!1,d&&(this.domEvents.cancelClickEventCreation=!0),n.eventCreated)return;if(s){const{originalEnd:v,originalEndTimeMinutes:p,endTimeMinutes:g}=a,y=this.view.events.find(x=>x._eid===a._eid);if(l=g&&g!==p,y&&y.end.getTime()!==v.getTime()){const x=this.mutableEvents.find(M=>M._eid===a._eid);x.endTimeMinutes=y.endTimeMinutes,x.end=y.end;const C=this.cleanupEvent(y),b={...this.cleanupEvent(y),end:v,endTimeMinutes:y.originalEndTimeMinutes};this.$emit("event-duration-change",{event:C,oldDate:a.originalEnd,originalEvent:b}),this.$emit("event-change",{event:C,originalEvent:b})}y&&(y.resizing=!1),a._eid=null,a.start=null,a.split=null,a.segment=null,a.originalEndTimeMinutes=null,a.originalEnd=null,a.endTimeMinutes=null,a.startCell=null,a.endCell=null}else u&&(f&&(this.emitWithEvent("event-drag-create",f),c.event.resizing=!1),c.start=null,c.split=null,c.event=null);!d&&!s&&this.unfocusEvent(),r.timeoutId&&!i&&(clearTimeout(r.timeoutId),r.timeoutId=null),n.timeoutId&&(clearTimeout(n.timeoutId),n.timeoutId=null);const m=typeof this.onEventClick=="function";if(h&&!l&&!i&&!f&&m){let v=this.view.events.find(p=>p._eid===t._eid);return!v&&this.isMonthView&&(v=this.view.outOfScopeEvents.find(p=>p._eid===t._eid)),v&&this.onEventClick(v,e)}},onKeyUp(e){e.keyCode===27&&this.cancelDelete()},eventResizing(e){const{resizeAnEvent:t}=this.domEvents,a=this.view.events.find(f=>f._eid===t._eid)||{segments:{}},{minutes:r,cursorCoords:n}=this.minutesAtCursor(e),c=a.segments&&a.segments[t.segment],{date:i,event:s}=this.utils,l=Math.max(r,this.timeFrom+1,(c||a).startTimeMinutes+1);if(a.endTimeMinutes=t.endTimeMinutes=l,this.snapToTime){const f=a.endTimeMinutes+this.snapToTime/2;a.endTimeMinutes=f-f%this.snapToTime}if(c&&(c.endTimeMinutes=a.endTimeMinutes),a.end.setHours(0,a.endTimeMinutes,a.endTimeMinutes===Da?-1:0,0),this.resizeX&&this.isWeekView){a.daysCount=i.countDays(a.start,a.end);const f=this.cellsEl,u=f.offsetWidth/f.childElementCount,d=Math.floor(n.x/u);if(t.startCell===null&&(t.startCell=d-(a.daysCount-1)),t.endCell!==d){t.endCell=d;const h=i.addDays(a.start,d-t.startCell),m=Math.max(i.countDays(a.start,h),1);if(m!==a.daysCount){let v=null;m>a.daysCount?v=s.addEventSegment(a):v=s.removeEventSegment(a),t.segment=v,a.endTimeMinutes+=.001}}}this.$emit("event-resizing",{_eid:a._eid,end:a.end,endTimeMinutes:a.endTimeMinutes})},eventDragCreation(e){const{dragCreateAnEvent:t}=this.domEvents,{start:a,startCursorY:r,split:n}=t,c=new Date(a),{minutes:i,cursorCoords:{y:s}}=this.minutesAtCursor(e);if(!(!t.event&&Math.abs(r-s)<this.dragToCreateThreshold))if(t.event){if(c.setHours(0,i,i===Da?-1:0,0),this.snapToTime){let u=c.getHours()*60+c.getMinutes();const d=u+this.snapToTime/2;u=d-d%this.snapToTime,c.setHours(0,u,0,0)}const l=a<c,{event:f}=t;f.start=l?a:c,f.end=l?c:a,f.startTimeMinutes=f.start.getHours()*60+f.start.getMinutes(),f.endTimeMinutes=f.end.getHours()*60+f.end.getMinutes()}else{if(t.event=this.utils.event.createAnEvent(a,1,{split:n}),!t.event){t.start=null,t.split=null,t.event=null;return}t.event.resizing=!0}},unfocusEvent(){const{focusAnEvent:e,clickHoldAnEvent:t}=this.domEvents,a=this.view.events.find(r=>r._eid===(e._eid||t._eid));e._eid=null,t._eid=null,a&&(a.focused=!1,a.deleting=!1)},cancelDelete(){const{clickHoldAnEvent:e}=this.domEvents;if(e._eid){const t=this.view.events.find(a=>a._eid===e._eid);t&&(t.deleting=!1),e._eid=null,e.timeoutId=null}},onEventTitleBlur(e,t){if(t.title===e.target.innerHTML)return;const a=t.title;t.title=e.target.innerHTML;const r=this.cleanupEvent(t);this.$emit("event-title-change",{event:r,oldTitle:a}),this.$emit("event-change",{event:r,originalEvent:{...r,title:a}})},updateMutableEvents(){const e=this.utils.date;this.mutableEvents=[],this.events.forEach(t=>{const a=typeof t.start=="string"?e.stringToDate(t.start):t.start,r=e.formatDateLite(a),n=e.dateToMinutes(a);let c=null;typeof t.end=="string"&&t.end.includes("24:00")?(c=new Date(t.end.replace(" 24:00","")),c.setHours(23,59,59,0)):c=typeof t.end=="string"?e.stringToDate(t.end):t.end;let i=e.formatDateLite(c),s=e.dateToMinutes(c);(!s||s===Da)&&(!this.time||typeof t.end=="string"&&t.end.length===10?c.setHours(23,59,59,0):c.setSeconds(c.getSeconds()-1),i=e.formatDateLite(c),s=Da);const l=r!==i;t=Object.assign({...this.utils.event.eventDefaults},t,{_eid:`${this._.uid}_${this.eventIdIncrement++}`,segments:l?{}:null,start:a,startTimeMinutes:n,end:c,endTimeMinutes:s,daysCount:l?e.countDays(a,c):1,class:t.class}),this.mutableEvents.push(t)})},minutesAtCursor(e){return this.utils.cell.minutesAtCursor(e)},createEvent(e,t,a={}){return this.utils.event.createAnEvent(e,t,a)},cleanupEvent(e){return e={...e},["segments","deletable","deleting","titleEditable","resizable","resizing","draggable","dragging","draggingStatic","focused"].forEach(a=>{a in e&&delete e[a]}),e.repeat||delete e.repeat,e},emitWithEvent(e,t){this.$emit(e,this.cleanupEvent(t))},updateSelectedDate(e){if(e&&typeof e=="string"?e=this.utils.date.stringToDate(e):e=new Date(e),e&&e instanceof Date){const{selectedDate:t}=this.view;t&&(this.transitionDirection=t.getTime()>e.getTime()?"left":"right"),e.setHours(0,0,0,0),(!t||t.getTime()!==e.getTime())&&(this.view.selectedDate=e),this.switchView(this.view.id)}this.$emit("update:selected-date",this.view.selectedDate)},getWeekNumber(e){const t=this.utils.date,r=this.firstCellDateWeekNumber+e,n=this.startWeekOnSunday?1:0;return r>52?t.getWeek(t.addDays(this.view.firstCellDate,7*e+n)):r},timeTick(){this.now=new Date,this.timeTickerIds[1]=setTimeout(this.timeTick,60*1e3)},updateDateTexts(){this.utils.date.updateTexts(this.texts)},alignWithScrollbar(){if(document.getElementById("vuecal-align-with-scrollbar"))return;const e=this.$refs.vuecal.getElementsByClassName("vuecal__scrollbar-check")[0],t=e.offsetWidth-e.children[0].offsetWidth;if(t){const a=document.createElement("style");a.id="vuecal-align-with-scrollbar",a.type="text/css",a.innerHTML=`.vuecal--view-with-time .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__all-day {padding-right: ${t}px}`,document.head.appendChild(a)}},cellOrSplitHasEvents(e,t=null){return e.length&&(!t&&e.length||t&&e.some(a=>a.split===t.id))}},created(){this.utils.cell=new zU(this),this.utils.event=new wU(this,this.utils.date),this.loadLocale(this.locale),this.editEvents.drag&&this.loadDragAndDrop(),this.updateMutableEvents(this.events),this.view.id=this.currentView,this.selectedDate?this.updateSelectedDate(this.selectedDate):(this.view.selectedDate=new Date,this.switchView(this.currentView)),this.time&&this.watchRealTime&&(this.timeTickerIds[0]=setTimeout(this.timeTick,(60-this.now.getSeconds())*1e3))},mounted(){const e=this.utils.date,t="ontouchstart"in window,{resize:a,drag:r,create:n,delete:c,title:i}=this.editEvents,s=this.onEventClick&&typeof this.onEventClick=="function";(a||r||n||c||i||s)&&window.addEventListener(t?"touchend":"mouseup",this.onMouseUp),(a||r||n&&this.dragToCreateEvent)&&window.addEventListener(t?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),i&&window.addEventListener("keyup",this.onKeyUp),t&&(this.$refs.vuecal.oncontextmenu=function(u){u.preventDefault(),u.stopPropagation()}),this.hideBody||this.alignWithScrollbar();const l=this.view.startDate,f={view:this.view.id,startDate:l,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:e.getWeek(this.startWeekOnSunday?e.addDays(l,1):l)}:{}};this.$emit("ready",f),this.ready=!0},beforeUnmount(){const e="ontouchstart"in window;window.removeEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.removeEventListener(e?"touchend":"mouseup",this.onMouseUp),window.removeEventListener("keyup",this.onKeyUp),this.timeTickerIds[0]&&clearTimeout(this.timeTickerIds[0]),this.timeTickerIds[1]&&clearTimeout(this.timeTickerIds[1]),this.timeTickerIds=[null,null]},computed:{editEvents(){return this.editableEvents&&typeof this.editableEvents=="object"?{title:!!this.editableEvents.title,drag:!!this.editableEvents.drag,resize:!!this.editableEvents.resize,create:!!this.editableEvents.create,delete:!!this.editableEvents.delete}:{title:!!this.editableEvents,drag:!!this.editableEvents,resize:!!this.editableEvents,create:!!this.editableEvents,delete:!!this.editableEvents}},views(){return{years:{label:this.texts.years,enabled:!this.disableViews.includes("years")},year:{label:this.texts.year,enabled:!this.disableViews.includes("year")},month:{label:this.texts.month,enabled:!this.disableViews.includes("month")},week:{label:this.texts.week,enabled:!this.disableViews.includes("week")},day:{label:this.texts.day,enabled:!this.disableViews.includes("day")}}},currentView(){return this.validateView(this.activeView)},enabledViews(){return Object.keys(this.views).filter(e=>this.views[e].enabled)},hasTimeColumn(){return this.time&&this.isWeekOrDayView},isShortMonthView(){return this.isMonthView&&this.eventsOnMonthView==="short"},firstCellDateWeekNumber(){const e=this.utils.date,t=this.view.firstCellDate;return e.getWeek(this.startWeekOnSunday?e.addDays(t,1):t)},timeCells(){const e=[];for(let t=this.timeFrom,a=this.timeTo;t<a;t+=this.timeStep)e.push({hours:Math.floor(t/60),minutes:t%60,label:this.utils.date.formatTime(t,this.TimeFormat),value:t});return e},TimeFormat(){return this.timeFormat||(this.twelveHour?"h:mm{am}":"HH:mm")},daySplits(){return(this.splitDays.filter(e=>!e.hide)||[]).map((e,t)=>({...e,id:e.id||t+1}))},hasSplits(){return this.daySplits.length&&this.isWeekOrDayView},hasShortEvents(){return this.showAllDayEvents==="short"},cellOrSplitMinWidth(){let e=null;return this.hasSplits&&this.minSplitWidth?e=this.visibleDaysCount*this.minSplitWidth*this.daySplits.length:this.minCellWidth&&this.isWeekView&&(e=this.visibleDaysCount*this.minCellWidth),e},allDayBar(){let e=this.allDayBarHeight||null;return e&&!isNaN(e)&&(e+="px"),{cells:this.viewCells,options:this.$props,label:this.texts.allDay,shortEvents:this.hasShortEvents,daySplits:this.hasSplits&&this.daySplits||[],cellOrSplitMinWidth:this.cellOrSplitMinWidth,height:e}},minTimestamp(){let e=null;return this.minDate&&typeof this.minDate=="string"?e=this.utils.date.stringToDate(this.minDate):this.minDate&&this.minDate instanceof Date&&(e=this.minDate),e?e.getTime():null},maxTimestamp(){let e=null;return this.maxDate&&typeof this.maxDate=="string"?e=this.utils.date.stringToDate(this.maxDate):this.maxDate&&this.maxDate instanceof Date&&(e=this.maxDate),e?e.getTime():null},weekDays(){let{weekDays:e,weekDaysShort:t=[]}=this.texts;return e=e.slice(0).map((a,r)=>({label:a,...t.length?{short:t[r]}:{},hide:this.hideWeekends&&r>=5||this.hideWeekdays.length&&this.hideWeekdays.includes(r+1)})),this.startWeekOnSunday&&e.unshift(e.pop()),e},weekDaysInHeader(){return this.isMonthView||this.isWeekView&&!this.minCellWidth&&!(this.hasSplits&&this.minSplitWidth)},months(){return this.texts.months.map(e=>({label:e}))},specialDayHours(){return!this.specialHours||!Object.keys(this.specialHours).length?{}:Array(7).fill("").map((e,t)=>{let a=this.specialHours[t+1]||[];return Array.isArray(a)||(a=[a]),e=[],a.forEach(({from:r,to:n,class:c,label:i},s)=>{e[s]={day:t+1,from:[null,void 0].includes(r)?null:r*1,to:[null,void 0].includes(n)?null:n*1,class:c||"",label:i||""}}),e})},viewTitle(){const e=this.utils.date;let t="";const a=this.view.startDate,r=a.getFullYear(),n=a.getMonth();switch(this.view.id){case"years":{t=this.texts.years;break}case"year":{t=r;break}case"month":{t=`${this.months[n].label} ${r}`;break}case"week":{const c=this.view.endDate,i=a.getFullYear();let s=this.texts.months[a.getMonth()];this.xsmall&&(s=s.substring(0,3));let l=`${s} ${i}`;if(c.getMonth()!==a.getMonth()){const f=c.getFullYear();let u=this.texts.months[c.getMonth()];this.xsmall&&(u=u.substring(0,3)),i===f?l=`${s} - ${u} ${i}`:this.small?l=`${s.substring(0,3)} ${i} - ${u.substring(0,3)} ${f}`:l=`${s} ${i} - ${u} ${f}`}t=`${this.texts.week} ${e.getWeek(this.startWeekOnSunday?e.addDays(a,1):a)} (${l})`;break}case"day":{t=this.utils.date.formatDate(a,this.texts.dateFormat,this.texts);break}}return t},viewCells(){const e=this.utils.date;let t=[],a=null,r=!1;this.watchRealTime||(this.now=new Date);const n=this.now;switch(this.view.id){case"years":{a=this.view.startDate.getFullYear(),t=Array.apply(null,Array(25)).map((c,i)=>{const s=new Date(a+i,0,1),l=new Date(a+i+1,0,1);return l.setSeconds(-1),{startDate:s,formattedDate:e.formatDateLite(s),endDate:l,content:a+i,current:a+i===n.getFullYear()}});break}case"year":{a=this.view.startDate.getFullYear(),t=Array.apply(null,Array(12)).map((c,i)=>{const s=new Date(a,i,1),l=new Date(a,i+1,1);return l.setSeconds(-1),{startDate:s,formattedDate:e.formatDateLite(s),endDate:l,content:this.xsmall?this.months[i].label.substr(0,3):this.months[i].label,current:i===n.getMonth()&&a===n.getFullYear()}});break}case"month":{const c=this.view.startDate.getMonth(),i=new Date(this.view.firstCellDate);r=!1,t=Array.apply(null,Array(42)).map((s,l)=>{const f=e.addDays(i,l),u=new Date(f);u.setHours(23,59,59,0);const d=!r&&e.isToday(f)&&!r++;return{startDate:f,formattedDate:e.formatDateLite(f),endDate:u,content:f.getDate(),today:d,outOfScope:f.getMonth()!==c,class:`vuecal__cell--day${f.getDay()||7}`}}),(this.hideWeekends||this.hideWeekdays.length)&&(t=t.filter(s=>{const l=s.startDate.getDay()||7;return!(this.hideWeekends&&l>=6||this.hideWeekdays.length&&this.hideWeekdays.includes(l))}));break}case"week":{r=!1;const c=this.view.startDate,i=this.weekDays;t=i.map((s,l)=>{const f=e.addDays(c,this.startWeekOnSunday&&this.hideWeekends?l-1:l),u=new Date(f);u.setHours(23,59,59,0);const d=(f.getDay()||7)-1;return{startDate:f,formattedDate:e.formatDateLite(f),endDate:u,today:!r&&e.isToday(f)&&!r++,specialHours:this.specialDayHours[d]||[]}}).filter((s,l)=>!i[l].hide);break}case"day":{const c=this.view.startDate,i=new Date(this.view.startDate);i.setHours(23,59,59,0);const s=(c.getDay()||7)-1;t=[{startDate:c,formattedDate:e.formatDateLite(c),endDate:i,today:e.isToday(c),specialHours:this.specialDayHours[s]||[]}];break}}return t},visibleDaysCount(){return this.isDayView?1:7-this.weekDays.reduce((e,t)=>e+t.hide,0)},cellWidth(){return 100/this.visibleDaysCount},cssClasses(){const{resizeAnEvent:e,dragAnEvent:t,dragCreateAnEvent:a}=this.domEvents;return{[`vuecal--${this.view.id}-view`]:!0,[`vuecal--${this.locale}`]:this.locale,"vuecal--no-time":!this.time,"vuecal--view-with-time":this.hasTimeColumn,"vuecal--week-numbers":this.showWeekNumbers&&this.isMonthView,"vuecal--twelve-hour":this.twelveHour,"vuecal--click-to-navigate":this.clickToNavigate,"vuecal--hide-weekends":this.hideWeekends,"vuecal--split-days":this.hasSplits,"vuecal--sticky-split-labels":this.hasSplits&&this.stickySplitLabels,"vuecal--overflow-x":this.minCellWidth&&this.isWeekView||this.hasSplits&&this.minSplitWidth,"vuecal--small":this.small,"vuecal--xsmall":this.xsmall,"vuecal--resizing-event":e._eid,"vuecal--drag-creating-event":a.event,"vuecal--dragging-event":t._eid,"vuecal--events-on-month-view":this.eventsOnMonthView,"vuecal--short-events":this.isMonthView&&this.eventsOnMonthView==="short","vuecal--has-touch":typeof window<"u"&&"ontouchstart"in window}},isYearsOrYearView(){return["years","year"].includes(this.view.id)},isYearsView(){return this.view.id==="years"},isYearView(){return this.view.id==="year"},isMonthView(){return this.view.id==="month"},isWeekOrDayView(){return["week","day"].includes(this.view.id)},isWeekView(){return this.view.id==="week"},isDayView(){return this.view.id==="day"}},watch:{events:{handler(e,t){this.updateMutableEvents(e),this.addEventsToView()},deep:!0},locale(e){this.loadLocale(e)},selectedDate(e){this.updateSelectedDate(e)},activeView(e){this.switchView(e)}}},OW=ba(DW,[["render",NW]]),PW={class:"pga-calendar"},BW={class:"calendar-header"},FW={class:"calendar-header__actions"},RW={class:"calendar-header__navigation"},IW={class:"calendar-header__views"},$W=["onClick"],UW=50,WW=o.defineComponent({__name:"PgaCalendar",props:o.mergeModels({config:{},noEventsLabel:{},isLoading:{type:Boolean},holidays:{},vacations:{},updateDatesFn:{type:Function}},{modelValue:{required:!0},modelModifiers:{},searchRange:{default:void 0},searchRangeModifiers:{}}),emits:o.mergeModels(["configChanged","createEvent","eventClicked","refreshList"],["update:modelValue","update:searchRange"]),setup(e,{emit:t}){const a=o.useModel(e,"modelValue"),r=o.useModel(e,"searchRange"),n=e,c=t,i=x2("pgaCalendar"),s=Pr(),l=o.ref(s?"day":"week"),f=o.ref([]),u=we.getConfig().delayTime;let d=0,h;const m=o.ref(!1),v=o.computed(()=>s?["month","day"]:["month","week","day"]),p=o.computed(()=>["years","year",...s?["week"]:[]]),g=o.computed(()=>{var V;const S=((V=n.vacations)==null?void 0:V.flatMap(({start:H,end:w})=>{const E=[],j=new Date(H),P=new Date(w);for(;j<=P;){const O=j.getUTCFullYear(),F=j.getUTCMonth(),Z=j.getUTCDate(),q=new Date(Date.UTC(O,F,Z));E.push(q.toISOString().split("T")[0]),j.setUTCDate(j.getUTCDate()+1)}return E}))||[];return[...n.holidays||[],...S]});o.watch(()=>n.config,()=>c("configChanged"),{deep:!0});function y(S){const V=n.config.timeStep*6e4,H=new Date(S);H.setMinutes(0,0,0);const w=S.getTime()-H.getTime(),E=Math.floor(w/V);return new Date(H.getTime()+E*V)}function x({start:S,end:V}){const H=S.getFullYear(),w=V.getFullYear(),E=[H];H!==w&&E.push(w),f.value=E}function C(S){r.value&&S.start>=r.value.start&&S.end<=r.value.end||(r.value=S,c("refreshList",S))}function b(S){const{startDate:V,endDate:H}=S;x({start:V,end:H}),C({start:V,end:H})}function M(S){if(l.value==="month")return;const V=Date.now();if(V-d<u){h&&clearTimeout(h);return}d=V;const H=y(S),w=new Date(H.getTime()+n.config.timeStep*6e4);h=setTimeout(()=>c("createEvent",{start:H,end:w}),u)}async function _(S){const V=a.value.find(H=>H.id===S.event.id);V.start=y(S.event.start),V.end=y(S.event.end);try{await n.updateDatesFn(V)}catch{V.start=new Date(S.originalEvent.start),V.end=new Date(S.originalEvent.end)}}function z(S){setTimeout(()=>c("eventClicked",S),u)}function k(){const V=y(new Date),H=new Date(V.getTime()+n.config.timeStep*6e4);c("createEvent",{start:V,end:H})}return(S,V)=>{const H=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",PW,[o.createElementVNode("div",BW,[o.createElementVNode("div",FW,[o.createVNode(u2,{variant:"filled",size:"s",icon:"plus",text:o.unref(i)("createEvent"),onClick:k},null,8,["text"]),o.createVNode(u2,{variant:"flat",size:"s",icon:"cog",onClick:V[0]||(V[0]=w=>m.value=!0)})]),o.createElementVNode("div",RW,[o.createElementVNode("div",IW,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(v.value,w=>(o.openBlock(),o.createBlock(u2,{key:w,variant:l.value===w?"filled":"flat",size:"s",text:o.unref(i)(w),onClick:E=>l.value=w},null,8,["variant","text","onClick"]))),128))])])]),o.createVNode(o.unref(OW),{ref:"vuecalRef",activeView:l.value,"onUpdate:activeView":V[1]||(V[1]=w=>l.value=w),hideViewSelector:"",showTimeInCells:"",watchRealTime:"",events:a.value,locale:o.unref(v4)().language,disableViews:p.value,disableDays:g.value,hideWeekends:n.config.hideWeekends,timeFrom:n.config.timeFrom,timeTo:n.config.timeTo,timeStep:n.config.timeStep,timeCellHeight:UW,editableEvents:{drag:!!S.updateDatesFn},style:{"min-height":"22.5rem"},onReady:V[2]||(V[2]=w=>b(w)),onViewChange:V[3]||(V[3]=w=>b(w)),onCellClick:V[4]||(V[4]=w=>M(w)),onEventDrop:V[5]||(V[5]=w=>_(w))},o.createSlots({"previous-button":o.withCtx(()=>[o.createVNode(u2,{variant:"flat",size:"s",icon:"chevron-left"})]),"next-button":o.withCtx(()=>[o.createVNode(u2,{variant:"flat",size:"s",icon:"chevron-right"})]),event:o.withCtx(({event:w})=>[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"cal-event-container",onClick:E=>z(w)},[o.renderSlot(S.$slots,"event",{event:w},void 0,!0)],8,$W)),[[H,w.toStringFull()]])]),_:2},[S.isLoading?{name:"title",fn:o.withCtx(()=>[o.createVNode(Lt,{size:"m"})]),key:"0"}:void 0,S.noEventsLabel?{name:"no-event",fn:o.withCtx(()=>[o.createVNode(q2,{text:S.noEventsLabel},null,8,["text"])]),key:"1"}:void 0]),1032,["activeView","events","locale","disableViews","disableDays","hideWeekends","timeFrom","timeTo","timeStep","editableEvents"])])}}});const qW=P1(WW,[["__scopeId","data-v-b4276497"]]);/*!
|
|
824
|
+
A valid view must be one of: ${cd.join(", ")}.`),e="week"),this.enabledViews.includes(e)||(console.warn(`Vue Cal: the provided active-view "${e}" is disabled. Using the "${this.enabledViews[0]}" view instead.`),e=this.enabledViews[0]),e},switchToNarrowerView(e=null){this.transitionDirection="right";const t=this.enabledViews[this.enabledViews.indexOf(this.view.id)+1];t&&this.switchView(t,e)},switchView(e,t=null,a=!1){e=this.validateView(e);const r=this.utils.date,n=this.view.startDate&&this.view.startDate.getTime();if(this.transitions&&a){if(this.view.id===e)return;const s=this.enabledViews;this.transitionDirection=s.indexOf(this.view.id)>s.indexOf(e)?"left":"right"}const c=this.view.id;switch(this.view.events=[],this.view.id=e,this.view.firstCellDate=null,this.view.lastCellDate=null,t||(t=this.view.selectedDate||this.view.startDate),e){case"years":{this.view.startDate=new Date(Math.floor(t.getFullYear()/25)*25||2e3,0,1),this.view.endDate=new Date(this.view.startDate.getFullYear()+25,0,1),this.view.endDate.setSeconds(-1);break}case"year":{this.view.startDate=new Date(t.getFullYear(),0,1),this.view.endDate=new Date(t.getFullYear()+1,0,1),this.view.endDate.setSeconds(-1);break}case"month":{this.view.startDate=new Date(t.getFullYear(),t.getMonth(),1),this.view.endDate=new Date(t.getFullYear(),t.getMonth()+1,1),this.view.endDate.setSeconds(-1);let s=new Date(this.view.startDate);if(s.getDay()!==(this.startWeekOnSunday?0:1)&&(s=r.getPreviousFirstDayOfWeek(s,this.startWeekOnSunday)),this.view.firstCellDate=s,this.view.lastCellDate=r.addDays(s,41),this.view.lastCellDate.setHours(23,59,59,0),this.hideWeekends){if([0,6].includes(this.view.firstCellDate.getDay())){const l=this.view.firstCellDate.getDay()===6&&!this.startWeekOnSunday?2:1;this.view.firstCellDate=r.addDays(this.view.firstCellDate,l)}if([0,6].includes(this.view.startDate.getDay())){const l=this.view.startDate.getDay()===6?2:1;this.view.startDate=r.addDays(this.view.startDate,l)}if([0,6].includes(this.view.lastCellDate.getDay())){const l=this.view.lastCellDate.getDay()===0&&!this.startWeekOnSunday?2:1;this.view.lastCellDate=r.subtractDays(this.view.lastCellDate,l)}if([0,6].includes(this.view.endDate.getDay())){const l=this.view.endDate.getDay()===0?2:1;this.view.endDate=r.subtractDays(this.view.endDate,l)}}break}case"week":{t=r.getPreviousFirstDayOfWeek(t,this.startWeekOnSunday);const s=this.hideWeekends?5:7;this.view.startDate=this.hideWeekends&&this.startWeekOnSunday?r.addDays(t,1):t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=r.addDays(t,s),this.view.endDate.setSeconds(-1);break}case"day":{this.view.startDate=t,this.view.startDate.setHours(0,0,0,0),this.view.endDate=new Date(t),this.view.endDate.setHours(23,59,59,0);break}}this.addEventsToView();const i=this.view.startDate&&this.view.startDate.getTime();if(!(c===e&&i===n)&&(this.$emit("update:activeView",e),this.ready)){const s=this.view.startDate,l={view:e,startDate:s,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate,outOfScopeEvents:this.view.outOfScopeEvents.map(this.cleanupEvent)}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:r.getWeek(this.startWeekOnSunday?r.addDays(s,1):s)}:{}};this.$emit("view-change",l)}},previous(){this.previousNext(!1)},next(){this.previousNext()},previousNext(e=!0){const t=this.utils.date;this.transitionDirection=e?"right":"left";const a=e?1:-1;let r=null;const{startDate:n,id:c}=this.view;switch(c){case"years":r=new Date(n.getFullYear()+25*a,0,1);break;case"year":r=new Date(n.getFullYear()+1*a,1,1);break;case"month":r=new Date(n.getFullYear(),n.getMonth()+1*a,1);break;case"week":r=t[e?"addDays":"subtractDays"](t.getPreviousFirstDayOfWeek(n,this.startWeekOnSunday),7);break;case"day":r=t[e?"addDays":"subtractDays"](n,1);const i=r.getDay(),s=this.startWeekOnSunday?i:(i||7)-1;if(this.weekDays[s].hide){const f=this.weekDays.map((d,h)=>({...d,i:h}));let u=0;e?([...f.slice(s),...f].find(d=>(u++,!d.hide)).i,u--):[...f,...f.slice(0,s)].reverse().find(d=>(u++,!d.hide)).i,r=t[e?"addDays":"subtractDays"](r,u)}break}r&&this.switchView(c,r)},addEventsToView(e=[]){const t=this.utils.event,{startDate:a,endDate:r,firstCellDate:n,lastCellDate:c}=this.view;if(e.length||(this.view.events=[]),e=e.length?e:[...this.mutableEvents],!e||this.isYearsOrYearView&&!this.eventsCountOnYearView)return;let i=e.filter(s=>t.eventInRange(s,a,r));!this.isYearsOrYearView&&!(this.isMonthView&&!this.eventsOnMonthView)&&(i=i.map(s=>s.daysCount>1?t.createEventSegments(s,n||a,c||r):s)),this.view.events.push(...i),this.isMonthView&&(this.view.outOfScopeEvents=[],e.forEach(s=>{(t.eventInRange(s,n,a)||t.eventInRange(s,r,c))&&(this.view.events.some(l=>l._eid===s._eid)||this.view.outOfScopeEvents.push(s))}))},findAncestor(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e},isDOMElementAnEvent(e){return e.classList.contains("vuecal__event")||this.findAncestor(e,"vuecal__event")},onMouseMove(e){const{resizeAnEvent:t,dragAnEvent:a,dragCreateAnEvent:r}=this.domEvents;t._eid===null&&a._eid===null&&!r.start||(e.preventDefault(),t._eid?this.eventResizing(e):this.dragToCreateEvent&&r.start&&this.eventDragCreation(e))},onMouseUp(e){const{focusAnEvent:t,resizeAnEvent:a,clickHoldAnEvent:r,clickHoldACell:n,dragCreateAnEvent:c}=this.domEvents,{_eid:i}=r,{_eid:s}=a;let l=!1;const{event:f,start:u}=c,d=this.isDOMElementAnEvent(e.target),h=t.mousedUp;if(t.mousedUp=!1,d&&(this.domEvents.cancelClickEventCreation=!0),n.eventCreated)return;if(s){const{originalEnd:v,originalEndTimeMinutes:p,endTimeMinutes:g}=a,y=this.view.events.find(x=>x._eid===a._eid);if(l=g&&g!==p,y&&y.end.getTime()!==v.getTime()){const x=this.mutableEvents.find(M=>M._eid===a._eid);x.endTimeMinutes=y.endTimeMinutes,x.end=y.end;const C=this.cleanupEvent(y),b={...this.cleanupEvent(y),end:v,endTimeMinutes:y.originalEndTimeMinutes};this.$emit("event-duration-change",{event:C,oldDate:a.originalEnd,originalEvent:b}),this.$emit("event-change",{event:C,originalEvent:b})}y&&(y.resizing=!1),a._eid=null,a.start=null,a.split=null,a.segment=null,a.originalEndTimeMinutes=null,a.originalEnd=null,a.endTimeMinutes=null,a.startCell=null,a.endCell=null}else u&&(f&&(this.emitWithEvent("event-drag-create",f),c.event.resizing=!1),c.start=null,c.split=null,c.event=null);!d&&!s&&this.unfocusEvent(),r.timeoutId&&!i&&(clearTimeout(r.timeoutId),r.timeoutId=null),n.timeoutId&&(clearTimeout(n.timeoutId),n.timeoutId=null);const m=typeof this.onEventClick=="function";if(h&&!l&&!i&&!f&&m){let v=this.view.events.find(p=>p._eid===t._eid);return!v&&this.isMonthView&&(v=this.view.outOfScopeEvents.find(p=>p._eid===t._eid)),v&&this.onEventClick(v,e)}},onKeyUp(e){e.keyCode===27&&this.cancelDelete()},eventResizing(e){const{resizeAnEvent:t}=this.domEvents,a=this.view.events.find(f=>f._eid===t._eid)||{segments:{}},{minutes:r,cursorCoords:n}=this.minutesAtCursor(e),c=a.segments&&a.segments[t.segment],{date:i,event:s}=this.utils,l=Math.max(r,this.timeFrom+1,(c||a).startTimeMinutes+1);if(a.endTimeMinutes=t.endTimeMinutes=l,this.snapToTime){const f=a.endTimeMinutes+this.snapToTime/2;a.endTimeMinutes=f-f%this.snapToTime}if(c&&(c.endTimeMinutes=a.endTimeMinutes),a.end.setHours(0,a.endTimeMinutes,a.endTimeMinutes===Da?-1:0,0),this.resizeX&&this.isWeekView){a.daysCount=i.countDays(a.start,a.end);const f=this.cellsEl,u=f.offsetWidth/f.childElementCount,d=Math.floor(n.x/u);if(t.startCell===null&&(t.startCell=d-(a.daysCount-1)),t.endCell!==d){t.endCell=d;const h=i.addDays(a.start,d-t.startCell),m=Math.max(i.countDays(a.start,h),1);if(m!==a.daysCount){let v=null;m>a.daysCount?v=s.addEventSegment(a):v=s.removeEventSegment(a),t.segment=v,a.endTimeMinutes+=.001}}}this.$emit("event-resizing",{_eid:a._eid,end:a.end,endTimeMinutes:a.endTimeMinutes})},eventDragCreation(e){const{dragCreateAnEvent:t}=this.domEvents,{start:a,startCursorY:r,split:n}=t,c=new Date(a),{minutes:i,cursorCoords:{y:s}}=this.minutesAtCursor(e);if(!(!t.event&&Math.abs(r-s)<this.dragToCreateThreshold))if(t.event){if(c.setHours(0,i,i===Da?-1:0,0),this.snapToTime){let u=c.getHours()*60+c.getMinutes();const d=u+this.snapToTime/2;u=d-d%this.snapToTime,c.setHours(0,u,0,0)}const l=a<c,{event:f}=t;f.start=l?a:c,f.end=l?c:a,f.startTimeMinutes=f.start.getHours()*60+f.start.getMinutes(),f.endTimeMinutes=f.end.getHours()*60+f.end.getMinutes()}else{if(t.event=this.utils.event.createAnEvent(a,1,{split:n}),!t.event){t.start=null,t.split=null,t.event=null;return}t.event.resizing=!0}},unfocusEvent(){const{focusAnEvent:e,clickHoldAnEvent:t}=this.domEvents,a=this.view.events.find(r=>r._eid===(e._eid||t._eid));e._eid=null,t._eid=null,a&&(a.focused=!1,a.deleting=!1)},cancelDelete(){const{clickHoldAnEvent:e}=this.domEvents;if(e._eid){const t=this.view.events.find(a=>a._eid===e._eid);t&&(t.deleting=!1),e._eid=null,e.timeoutId=null}},onEventTitleBlur(e,t){if(t.title===e.target.innerHTML)return;const a=t.title;t.title=e.target.innerHTML;const r=this.cleanupEvent(t);this.$emit("event-title-change",{event:r,oldTitle:a}),this.$emit("event-change",{event:r,originalEvent:{...r,title:a}})},updateMutableEvents(){const e=this.utils.date;this.mutableEvents=[],this.events.forEach(t=>{const a=typeof t.start=="string"?e.stringToDate(t.start):t.start,r=e.formatDateLite(a),n=e.dateToMinutes(a);let c=null;typeof t.end=="string"&&t.end.includes("24:00")?(c=new Date(t.end.replace(" 24:00","")),c.setHours(23,59,59,0)):c=typeof t.end=="string"?e.stringToDate(t.end):t.end;let i=e.formatDateLite(c),s=e.dateToMinutes(c);(!s||s===Da)&&(!this.time||typeof t.end=="string"&&t.end.length===10?c.setHours(23,59,59,0):c.setSeconds(c.getSeconds()-1),i=e.formatDateLite(c),s=Da);const l=r!==i;t=Object.assign({...this.utils.event.eventDefaults},t,{_eid:`${this._.uid}_${this.eventIdIncrement++}`,segments:l?{}:null,start:a,startTimeMinutes:n,end:c,endTimeMinutes:s,daysCount:l?e.countDays(a,c):1,class:t.class}),this.mutableEvents.push(t)})},minutesAtCursor(e){return this.utils.cell.minutesAtCursor(e)},createEvent(e,t,a={}){return this.utils.event.createAnEvent(e,t,a)},cleanupEvent(e){return e={...e},["segments","deletable","deleting","titleEditable","resizable","resizing","draggable","dragging","draggingStatic","focused"].forEach(a=>{a in e&&delete e[a]}),e.repeat||delete e.repeat,e},emitWithEvent(e,t){this.$emit(e,this.cleanupEvent(t))},updateSelectedDate(e){if(e&&typeof e=="string"?e=this.utils.date.stringToDate(e):e=new Date(e),e&&e instanceof Date){const{selectedDate:t}=this.view;t&&(this.transitionDirection=t.getTime()>e.getTime()?"left":"right"),e.setHours(0,0,0,0),(!t||t.getTime()!==e.getTime())&&(this.view.selectedDate=e),this.switchView(this.view.id)}this.$emit("update:selected-date",this.view.selectedDate)},getWeekNumber(e){const t=this.utils.date,r=this.firstCellDateWeekNumber+e,n=this.startWeekOnSunday?1:0;return r>52?t.getWeek(t.addDays(this.view.firstCellDate,7*e+n)):r},timeTick(){this.now=new Date,this.timeTickerIds[1]=setTimeout(this.timeTick,60*1e3)},updateDateTexts(){this.utils.date.updateTexts(this.texts)},alignWithScrollbar(){if(document.getElementById("vuecal-align-with-scrollbar"))return;const e=this.$refs.vuecal.getElementsByClassName("vuecal__scrollbar-check")[0],t=e.offsetWidth-e.children[0].offsetWidth;if(t){const a=document.createElement("style");a.id="vuecal-align-with-scrollbar",a.type="text/css",a.innerHTML=`.vuecal--view-with-time .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__all-day {padding-right: ${t}px}`,document.head.appendChild(a)}},cellOrSplitHasEvents(e,t=null){return e.length&&(!t&&e.length||t&&e.some(a=>a.split===t.id))}},created(){this.utils.cell=new zU(this),this.utils.event=new wU(this,this.utils.date),this.loadLocale(this.locale),this.editEvents.drag&&this.loadDragAndDrop(),this.updateMutableEvents(this.events),this.view.id=this.currentView,this.selectedDate?this.updateSelectedDate(this.selectedDate):(this.view.selectedDate=new Date,this.switchView(this.currentView)),this.time&&this.watchRealTime&&(this.timeTickerIds[0]=setTimeout(this.timeTick,(60-this.now.getSeconds())*1e3))},mounted(){const e=this.utils.date,t="ontouchstart"in window,{resize:a,drag:r,create:n,delete:c,title:i}=this.editEvents,s=this.onEventClick&&typeof this.onEventClick=="function";(a||r||n||c||i||s)&&window.addEventListener(t?"touchend":"mouseup",this.onMouseUp),(a||r||n&&this.dragToCreateEvent)&&window.addEventListener(t?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),i&&window.addEventListener("keyup",this.onKeyUp),t&&(this.$refs.vuecal.oncontextmenu=function(u){u.preventDefault(),u.stopPropagation()}),this.hideBody||this.alignWithScrollbar();const l=this.view.startDate,f={view:this.view.id,startDate:l,endDate:this.view.endDate,...this.isMonthView?{firstCellDate:this.view.firstCellDate,lastCellDate:this.view.lastCellDate}:{},events:this.view.events.map(this.cleanupEvent),...this.isWeekView?{week:e.getWeek(this.startWeekOnSunday?e.addDays(l,1):l)}:{}};this.$emit("ready",f),this.ready=!0},beforeUnmount(){const e="ontouchstart"in window;window.removeEventListener(e?"touchmove":"mousemove",this.onMouseMove,{passive:!1}),window.removeEventListener(e?"touchend":"mouseup",this.onMouseUp),window.removeEventListener("keyup",this.onKeyUp),this.timeTickerIds[0]&&clearTimeout(this.timeTickerIds[0]),this.timeTickerIds[1]&&clearTimeout(this.timeTickerIds[1]),this.timeTickerIds=[null,null]},computed:{editEvents(){return this.editableEvents&&typeof this.editableEvents=="object"?{title:!!this.editableEvents.title,drag:!!this.editableEvents.drag,resize:!!this.editableEvents.resize,create:!!this.editableEvents.create,delete:!!this.editableEvents.delete}:{title:!!this.editableEvents,drag:!!this.editableEvents,resize:!!this.editableEvents,create:!!this.editableEvents,delete:!!this.editableEvents}},views(){return{years:{label:this.texts.years,enabled:!this.disableViews.includes("years")},year:{label:this.texts.year,enabled:!this.disableViews.includes("year")},month:{label:this.texts.month,enabled:!this.disableViews.includes("month")},week:{label:this.texts.week,enabled:!this.disableViews.includes("week")},day:{label:this.texts.day,enabled:!this.disableViews.includes("day")}}},currentView(){return this.validateView(this.activeView)},enabledViews(){return Object.keys(this.views).filter(e=>this.views[e].enabled)},hasTimeColumn(){return this.time&&this.isWeekOrDayView},isShortMonthView(){return this.isMonthView&&this.eventsOnMonthView==="short"},firstCellDateWeekNumber(){const e=this.utils.date,t=this.view.firstCellDate;return e.getWeek(this.startWeekOnSunday?e.addDays(t,1):t)},timeCells(){const e=[];for(let t=this.timeFrom,a=this.timeTo;t<a;t+=this.timeStep)e.push({hours:Math.floor(t/60),minutes:t%60,label:this.utils.date.formatTime(t,this.TimeFormat),value:t});return e},TimeFormat(){return this.timeFormat||(this.twelveHour?"h:mm{am}":"HH:mm")},daySplits(){return(this.splitDays.filter(e=>!e.hide)||[]).map((e,t)=>({...e,id:e.id||t+1}))},hasSplits(){return this.daySplits.length&&this.isWeekOrDayView},hasShortEvents(){return this.showAllDayEvents==="short"},cellOrSplitMinWidth(){let e=null;return this.hasSplits&&this.minSplitWidth?e=this.visibleDaysCount*this.minSplitWidth*this.daySplits.length:this.minCellWidth&&this.isWeekView&&(e=this.visibleDaysCount*this.minCellWidth),e},allDayBar(){let e=this.allDayBarHeight||null;return e&&!isNaN(e)&&(e+="px"),{cells:this.viewCells,options:this.$props,label:this.texts.allDay,shortEvents:this.hasShortEvents,daySplits:this.hasSplits&&this.daySplits||[],cellOrSplitMinWidth:this.cellOrSplitMinWidth,height:e}},minTimestamp(){let e=null;return this.minDate&&typeof this.minDate=="string"?e=this.utils.date.stringToDate(this.minDate):this.minDate&&this.minDate instanceof Date&&(e=this.minDate),e?e.getTime():null},maxTimestamp(){let e=null;return this.maxDate&&typeof this.maxDate=="string"?e=this.utils.date.stringToDate(this.maxDate):this.maxDate&&this.maxDate instanceof Date&&(e=this.maxDate),e?e.getTime():null},weekDays(){let{weekDays:e,weekDaysShort:t=[]}=this.texts;return e=e.slice(0).map((a,r)=>({label:a,...t.length?{short:t[r]}:{},hide:this.hideWeekends&&r>=5||this.hideWeekdays.length&&this.hideWeekdays.includes(r+1)})),this.startWeekOnSunday&&e.unshift(e.pop()),e},weekDaysInHeader(){return this.isMonthView||this.isWeekView&&!this.minCellWidth&&!(this.hasSplits&&this.minSplitWidth)},months(){return this.texts.months.map(e=>({label:e}))},specialDayHours(){return!this.specialHours||!Object.keys(this.specialHours).length?{}:Array(7).fill("").map((e,t)=>{let a=this.specialHours[t+1]||[];return Array.isArray(a)||(a=[a]),e=[],a.forEach(({from:r,to:n,class:c,label:i},s)=>{e[s]={day:t+1,from:[null,void 0].includes(r)?null:r*1,to:[null,void 0].includes(n)?null:n*1,class:c||"",label:i||""}}),e})},viewTitle(){const e=this.utils.date;let t="";const a=this.view.startDate,r=a.getFullYear(),n=a.getMonth();switch(this.view.id){case"years":{t=this.texts.years;break}case"year":{t=r;break}case"month":{t=`${this.months[n].label} ${r}`;break}case"week":{const c=this.view.endDate,i=a.getFullYear();let s=this.texts.months[a.getMonth()];this.xsmall&&(s=s.substring(0,3));let l=`${s} ${i}`;if(c.getMonth()!==a.getMonth()){const f=c.getFullYear();let u=this.texts.months[c.getMonth()];this.xsmall&&(u=u.substring(0,3)),i===f?l=`${s} - ${u} ${i}`:this.small?l=`${s.substring(0,3)} ${i} - ${u.substring(0,3)} ${f}`:l=`${s} ${i} - ${u} ${f}`}t=`${this.texts.week} ${e.getWeek(this.startWeekOnSunday?e.addDays(a,1):a)} (${l})`;break}case"day":{t=this.utils.date.formatDate(a,this.texts.dateFormat,this.texts);break}}return t},viewCells(){const e=this.utils.date;let t=[],a=null,r=!1;this.watchRealTime||(this.now=new Date);const n=this.now;switch(this.view.id){case"years":{a=this.view.startDate.getFullYear(),t=Array.apply(null,Array(25)).map((c,i)=>{const s=new Date(a+i,0,1),l=new Date(a+i+1,0,1);return l.setSeconds(-1),{startDate:s,formattedDate:e.formatDateLite(s),endDate:l,content:a+i,current:a+i===n.getFullYear()}});break}case"year":{a=this.view.startDate.getFullYear(),t=Array.apply(null,Array(12)).map((c,i)=>{const s=new Date(a,i,1),l=new Date(a,i+1,1);return l.setSeconds(-1),{startDate:s,formattedDate:e.formatDateLite(s),endDate:l,content:this.xsmall?this.months[i].label.substr(0,3):this.months[i].label,current:i===n.getMonth()&&a===n.getFullYear()}});break}case"month":{const c=this.view.startDate.getMonth(),i=new Date(this.view.firstCellDate);r=!1,t=Array.apply(null,Array(42)).map((s,l)=>{const f=e.addDays(i,l),u=new Date(f);u.setHours(23,59,59,0);const d=!r&&e.isToday(f)&&!r++;return{startDate:f,formattedDate:e.formatDateLite(f),endDate:u,content:f.getDate(),today:d,outOfScope:f.getMonth()!==c,class:`vuecal__cell--day${f.getDay()||7}`}}),(this.hideWeekends||this.hideWeekdays.length)&&(t=t.filter(s=>{const l=s.startDate.getDay()||7;return!(this.hideWeekends&&l>=6||this.hideWeekdays.length&&this.hideWeekdays.includes(l))}));break}case"week":{r=!1;const c=this.view.startDate,i=this.weekDays;t=i.map((s,l)=>{const f=e.addDays(c,this.startWeekOnSunday&&this.hideWeekends?l-1:l),u=new Date(f);u.setHours(23,59,59,0);const d=(f.getDay()||7)-1;return{startDate:f,formattedDate:e.formatDateLite(f),endDate:u,today:!r&&e.isToday(f)&&!r++,specialHours:this.specialDayHours[d]||[]}}).filter((s,l)=>!i[l].hide);break}case"day":{const c=this.view.startDate,i=new Date(this.view.startDate);i.setHours(23,59,59,0);const s=(c.getDay()||7)-1;t=[{startDate:c,formattedDate:e.formatDateLite(c),endDate:i,today:e.isToday(c),specialHours:this.specialDayHours[s]||[]}];break}}return t},visibleDaysCount(){return this.isDayView?1:7-this.weekDays.reduce((e,t)=>e+t.hide,0)},cellWidth(){return 100/this.visibleDaysCount},cssClasses(){const{resizeAnEvent:e,dragAnEvent:t,dragCreateAnEvent:a}=this.domEvents;return{[`vuecal--${this.view.id}-view`]:!0,[`vuecal--${this.locale}`]:this.locale,"vuecal--no-time":!this.time,"vuecal--view-with-time":this.hasTimeColumn,"vuecal--week-numbers":this.showWeekNumbers&&this.isMonthView,"vuecal--twelve-hour":this.twelveHour,"vuecal--click-to-navigate":this.clickToNavigate,"vuecal--hide-weekends":this.hideWeekends,"vuecal--split-days":this.hasSplits,"vuecal--sticky-split-labels":this.hasSplits&&this.stickySplitLabels,"vuecal--overflow-x":this.minCellWidth&&this.isWeekView||this.hasSplits&&this.minSplitWidth,"vuecal--small":this.small,"vuecal--xsmall":this.xsmall,"vuecal--resizing-event":e._eid,"vuecal--drag-creating-event":a.event,"vuecal--dragging-event":t._eid,"vuecal--events-on-month-view":this.eventsOnMonthView,"vuecal--short-events":this.isMonthView&&this.eventsOnMonthView==="short","vuecal--has-touch":typeof window<"u"&&"ontouchstart"in window}},isYearsOrYearView(){return["years","year"].includes(this.view.id)},isYearsView(){return this.view.id==="years"},isYearView(){return this.view.id==="year"},isMonthView(){return this.view.id==="month"},isWeekOrDayView(){return["week","day"].includes(this.view.id)},isWeekView(){return this.view.id==="week"},isDayView(){return this.view.id==="day"}},watch:{events:{handler(e,t){this.updateMutableEvents(e),this.addEventsToView()},deep:!0},locale(e){this.loadLocale(e)},selectedDate(e){this.updateSelectedDate(e)},activeView(e){this.switchView(e)}}},OW=ba(DW,[["render",NW]]),PW={class:"pga-calendar"},BW={class:"calendar-header"},FW={class:"calendar-header__actions"},RW={class:"calendar-header__navigation"},IW={class:"calendar-header__views"},$W=["onClick"],UW=50,WW=o.defineComponent({__name:"PgaCalendar",props:o.mergeModels({config:{},noEventsLabel:{},isLoading:{type:Boolean},holidays:{},vacations:{},updateDatesFn:{type:Function}},{modelValue:{required:!0},modelModifiers:{},searchRange:{default:void 0},searchRangeModifiers:{}}),emits:o.mergeModels(["configChanged","createEvent","eventClicked","refreshList"],["update:modelValue","update:searchRange"]),setup(e,{emit:t}){const a=o.useModel(e,"modelValue"),r=o.useModel(e,"searchRange"),n=e,c=t,i=x2("pgaCalendar"),s=Pr(),l=o.ref(s?"day":"week"),f=o.ref([]),u=we.getConfig().delayTime;let d=0,h;const m=o.ref(!1),v=o.computed(()=>s?["month","day"]:["month","week","day"]),p=o.computed(()=>["years","year",...s?["week"]:[]]),g=o.computed(()=>{var V;const S=((V=n.vacations)==null?void 0:V.flatMap(({start:H,end:w})=>{const E=[],j=new Date(H),P=new Date(w);for(;j<=P;){const O=j.getUTCFullYear(),F=j.getUTCMonth(),Z=j.getUTCDate(),q=new Date(Date.UTC(O,F,Z));E.push(q.toISOString().split("T")[0]),j.setUTCDate(j.getUTCDate()+1)}return E}))||[];return[...n.holidays||[],...S]});o.watch(()=>n.config,()=>c("configChanged"),{deep:!0});function y(S){const V=n.config.timeStep*6e4,H=new Date(S);H.setMinutes(0,0,0);const w=S.getTime()-H.getTime(),E=Math.floor(w/V);return new Date(H.getTime()+E*V)}function x({start:S,end:V}){const H=S.getFullYear(),w=V.getFullYear(),E=[H];H!==w&&E.push(w),f.value=E}function C(S){r.value&&S.start>=r.value.start&&S.end<=r.value.end||(r.value=S,c("refreshList",S))}function b(S){const{startDate:V,endDate:H}=S;x({start:V,end:H}),C({start:V,end:H})}function M(S){if(l.value==="month")return;const V=Date.now();if(V-d<u){h&&clearTimeout(h);return}d=V;const H=y(S),w=new Date(H.getTime()+n.config.timeStep*6e4);h=setTimeout(()=>c("createEvent",{start:H,end:w}),u)}async function _(S){const V=a.value.find(H=>H.id===S.event.id);V.start=y(S.event.start),V.end=y(S.event.end);try{await n.updateDatesFn(V)}catch{V.start=new Date(S.originalEvent.start),V.end=new Date(S.originalEvent.end)}}function z(S){setTimeout(()=>c("eventClicked",S),u)}function k(){const V=y(new Date),H=new Date(V.getTime()+n.config.timeStep*6e4);c("createEvent",{start:V,end:H})}return(S,V)=>{const H=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",PW,[o.createElementVNode("div",BW,[o.createElementVNode("div",FW,[o.createVNode(u2,{variant:"filled",size:"s",icon:"plus",text:o.unref(i)("createEvent"),onClick:k},null,8,["text"]),o.createVNode(u2,{variant:"flat",size:"s",icon:"cog",onClick:V[0]||(V[0]=w=>m.value=!0)})]),o.createElementVNode("div",RW,[o.createElementVNode("div",IW,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(v.value,w=>(o.openBlock(),o.createBlock(u2,{key:w,variant:l.value===w?"filled":"flat",size:"s",text:o.unref(i)(w),onClick:E=>l.value=w},null,8,["variant","text","onClick"]))),128))])])]),o.createVNode(o.unref(OW),{ref:"vuecalRef",activeView:l.value,"onUpdate:activeView":V[1]||(V[1]=w=>l.value=w),hideViewSelector:"",showTimeInCells:"",watchRealTime:"",events:a.value,locale:o.unref(v4)().language,disableViews:p.value,disableDays:g.value,hideWeekends:n.config.hideWeekends,timeFrom:n.config.timeFrom,timeTo:n.config.timeTo,timeStep:n.config.timeStep,timeCellHeight:UW,editableEvents:{drag:!!S.updateDatesFn},style:{"min-height":"22.5rem"},onReady:V[2]||(V[2]=w=>b(w)),onViewChange:V[3]||(V[3]=w=>b(w)),onCellClick:V[4]||(V[4]=w=>M(w)),onEventDrop:V[5]||(V[5]=w=>_(w))},o.createSlots({"previous-button":o.withCtx(()=>[o.createVNode(u2,{variant:"flat",size:"s",icon:"chevron-left"})]),"next-button":o.withCtx(()=>[o.createVNode(u2,{variant:"flat",size:"s",icon:"chevron-right"})]),event:o.withCtx(({event:w})=>[o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"cal-event-container",onClick:E=>z(w)},[o.renderSlot(S.$slots,"event",{event:w},void 0,!0)],8,$W)),[[H,w.toStringFull()]])]),_:2},[S.isLoading?{name:"title",fn:o.withCtx(()=>[o.createVNode(Lt,{size:"m"})]),key:"0"}:void 0,S.noEventsLabel?{name:"no-event",fn:o.withCtx(()=>[o.createVNode(q2,{text:S.noEventsLabel},null,8,["text"])]),key:"1"}:void 0]),1032,["activeView","events","locale","disableViews","disableDays","hideWeekends","timeFrom","timeTo","timeStep","editableEvents"])])}}});const qW=P1(WW,[["__scopeId","data-v-86dc95f7"]]);/*!
|
|
825
825
|
* @kurkle/color v0.3.4
|
|
826
826
|
* https://github.com/kurkle/color#readme
|
|
827
827
|
* (c) 2024 Jukka Kurkela
|
package/dist/main.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* https://quilljs.com/
|
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
|
5
5
|
* Copyright (c) 2013, salesforce.com
|
|
6
|
-
*/.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble .ql-toolbar:after,.ql-bubble.ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble .ql-toolbar button,.ql-bubble.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble .ql-toolbar button svg,.ql-bubble.ql-toolbar button svg{float:left;height:100%}.ql-bubble .ql-toolbar button:active:hover,.ql-bubble.ql-toolbar button:active:hover{outline:none}.ql-bubble .ql-toolbar input.ql-image[type=file],.ql-bubble.ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button:focus,.ql-bubble .ql-toolbar button:hover,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover{color:#fff}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble .ql-toolbar button:hover:not(.ql-active),.ql-bubble.ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{position:absolute;right:20px;top:10px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"×";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;color:#fff;content:attr(href);font-size:12px;font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;top:-5px;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #444;content:" ";height:0;top:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}.pga-max-length[data-v-4e8a2dd8]{border-radius:.2rem;font-size:.9rem;padding:.2rem .3rem}.pga-max-length--error[data-v-4e8a2dd8]{background-color:var(--pga-color-danger-03)}.pga-editor[data-v-4b498289]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start}.pga-editor .editor__footer[data-v-4b498289]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:space-between;padding-left:.8rem;padding-right:.8rem}.pga-info-card[data-v-48bac905]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.pga-info-card .info-card__content[data-v-48bac905]{align-items:center;background-color:var(--pga-color-second-contrast);border-radius:.2rem;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start;padding:.9rem;text-align:center;width:100%}.pga-info-card .info-card__content .info-card__title[data-v-48bac905]{font-size:.9rem}.pga-info-card .info-card__content .info-card__description[data-v-48bac905]{color:var(--pga-color-second)}.item-selected[data-v-1c9cee8f]{align-items:center;background-color:var(--pga-color-first-contrast);border:.1rem solid var(--pga-color-first-03);border-radius:.2rem;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:.9rem;justify-content:center;max-height:.9rem;max-width:.9rem;min-height:.9rem;min-width:.9rem;user-select:none;width:.9rem}.item-selected .item-selected__check-icon[data-v-1c9cee8f]{font-size:.9rem}.item-selected--selected[data-v-1c9cee8f]{background-color:var(--pga-color-success);border-color:var(--pga-color-success)}.item-selected--selected .item-selected__check-icon[data-v-1c9cee8f]{color:var(--pga-color-success-contrast)}.modal[data-v-48d3f248]{align-items:center;background-color:var(--pga-color-overlay);bottom:0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.modal .modal__content[data-v-48d3f248]{background-color:var(--pga-color-first-contrast);border:.1rem solid var(--pga-color-first-03);border-radius:.4rem;box-shadow:0 0 .2rem var(--pga-color-first-01);margin-top:-5vh;max-width:768px;width:var(--5d16f1e6)}@media (max-width:768px){.modal .modal__content[data-v-48d3f248]{max-width:94%}}.modal .modal__content .modal__header[data-v-48d3f248]{align-items:center;background-color:var(--pga-color-third-contrast-04);border-radius:.4rem .4rem 0 0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.8rem;justify-content:space-between;padding:.4rem .8rem}.modal .modal__content .modal__header .modal__title[data-v-48d3f248]{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal .modal__content .modal__header .close-icon[data-v-48d3f248]{align-items:center;border-radius:.4rem;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:1.5rem;justify-content:center;max-height:1.5rem;max-width:1.5rem;min-height:1.5rem;min-width:1.5rem;width:1.5rem}.modal .modal__content .modal__header .close-icon[data-v-48d3f248]:hover{background-color:var(--pga-color-third-contrast)}.modal .modal__content .modal__body[data-v-48d3f248]{margin-bottom:1.2rem;margin-top:.8rem;max-height:65vh;overflow-y:auto;padding-left:.8rem;padding-right:.8rem}.modal .modal__content .modal__body[data-v-48d3f248]>*{max-width:100%}.modal .modal__content .modal__footer[data-v-48d3f248]{align-items:center;border-top:.1rem solid var(--pga-color-first-03);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-end;padding:.8rem}.separator[data-v-12540ee5]{background-color:var(--pga-color-grey);height:.1rem;width:100%}.separator--vertical[data-v-12540ee5]{height:auto;min-height:100%;width:.1rem}.pga-tabs .pga-tabs__nav[data-v-40e53f60]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;overflow-x:auto}.pga-tabs .pga-tabs__nav .pga-tabs__button[data-v-40e53f60]{all:unset;align-items:center;border-bottom:.1rem solid var(--pga-color-grey);color:var(--pga-color-second);cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;justify-content:center;padding:.5rem .8rem;width:var(--2754d634)}.pga-tabs .pga-tabs__nav .pga-tabs__button--active[data-v-40e53f60],.pga-tabs .pga-tabs__nav .pga-tabs__button[data-v-40e53f60]:hover{border-bottom:.2rem solid var(--pga-color-primary)}.pga-tabs .pga-tabs__nav .pga-tabs__button--active[data-v-40e53f60]{color:var(--pga-color-primary)}.pga-tabs .pga-tabs__section[data-v-40e53f60]{margin-top:1.1rem}@media (max-width:768px){.pga-tabs .pga-tabs__nav .pga-tabs__button[data-v-40e53f60]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;font-size:.9rem;gap:.3rem;justify-content:center;padding:.4rem .6rem}}.pga-input-file[data-v-cbccd13c]{align-items:center;background-color:var(--b4ce00ce);border:1px solid var(--6241915b);border-radius:var(--027f6ccc);color:var(--pga-color-first);display:flex;flex-direction:column;flex-wrap:nowrap;gap:1rem;justify-content:center;padding:1rem;user-select:none}.pga-input-file[data-v-cbccd13c]:hover{background-color:var(--466eb123);cursor:pointer}.pga-input-file--disabled[data-v-cbccd13c]{background-color:var(--6910f535)}.pga-input-file--disabled[data-v-cbccd13c]:hover{background-color:var(--6910f535);cursor:not-allowed}.pga-input-file .input-file__input[data-v-cbccd13c]{display:none}.pga-input-file .input-file__icon[data-v-cbccd13c]{font-size:1.6rem}.pga-input-file .input-file__label-container[data-v-cbccd13c]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pga-videos[data-v-ee4ebd19]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.pga-videos .videos[data-v-ee4ebd19]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.4rem;justify-content:center;width:100%}.pga-videos .videos .videos__video-container[data-v-ee4ebd19]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;position:relative;width:11.3rem}.pga-videos .videos .videos__video-container .videos__video[data-v-ee4ebd19]{border-radius:.4rem;cursor:pointer;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-videos .videos .videos__video-container .videos__delete-btn[data-v-ee4ebd19]{position:absolute;right:.4rem;top:.4rem}.pga-videos .videos .videos__input-container[data-v-ee4ebd19]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;width:11.3rem}.pga-videos .videos .videos__input-container .videos__input[data-v-ee4ebd19]{border-radius:.4rem;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-copy[data-v-c4835bae]{gap:.3rem;justify-content:flex-start}.alert[data-v-969d5446],.pga-copy[data-v-c4835bae]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}.alert[data-v-969d5446]{background-color:var(--pga-color-overlay);bottom:0;gap:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.alert .alert__content[data-v-969d5446]{align-items:center;background-color:var(--pga-color-first-contrast);border:.1rem solid var(--pga-color-first-03);border-radius:.4rem;box-shadow:0 0 .2rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start;margin-top:-5vh;max-width:25rem;padding:1.5rem;text-align:center;width:calc(100% - 2rem)}.alert .alert__content .alert__icon[data-v-969d5446]{color:var(--pga-color-warning);font-size:3rem}.alert .alert__content .alert__title[data-v-969d5446]{color:var(--pga-color-first);font-size:1.2rem}.alert .alert__content .alert__message[data-v-969d5446]{color:var(--pga-color-second);font-size:.9rem}.alert .alert__content .alert__buttons[data-v-969d5446]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1rem;justify-content:center;margin-top:.6rem}.alert .alert__content .alert__buttons .alert__button[data-v-969d5446]{padding:.8rem}.hyperlink[data-v-ec435fa7]{color:var(--pga-color-link);font:inherit;text-decoration:none}.pga-router-link[data-v-6046ce2c]{color:var(--040e9024);text-decoration:none}.pga-router-link[data-v-6046ce2c]:hover{color:var(--75a55a4c)}.pga-router-link--fit-content[data-v-6046ce2c]{display:inline-block;max-width:fit-content}.pga-router-link--underline-on-hover[data-v-6046ce2c]:hover,.pga-router-link--underline[data-v-6046ce2c]{text-decoration:underline}.pga-calendar[data-v-b4276497]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;height:100%;justify-content:flex-start;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-calendar .calendar-header[data-v-b4276497]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;justify-content:space-between}.pga-calendar .calendar-header .calendar-header__actions[data-v-b4276497]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.pga-calendar .calendar-header .calendar-header__navigation[data-v-b4276497]{align-items:stretch;align-items:center;display:flex;flex-direction:1;flex-direction:row;flex-wrap:nowrap;gap:0;gap:.5rem;justify-content:flex-start;justify-content:center}.pga-calendar .calendar-header .calendar-header__views[data-v-b4276497]{align-items:center;background-color:var(--pga-color-first-005);border-radius:.4rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.2rem;justify-content:flex-start;padding:.2rem}.pga-calendar .calendar-header .calendar-header__views .pga-button[data-v-b4276497]{min-width:5rem}.pga-calendar .cal-event-container[data-v-b4276497]{height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;user-select:none;width:100%}.pga-calendar .cal-event-container[data-v-b4276497]:hover{cursor:pointer}@media (max-width:768px){.pga-calendar .calendar-header[data-v-b4276497]{align-items:stretch;flex-direction:column;gap:.5rem}.pga-calendar .calendar-header .calendar-header__actions[data-v-b4276497],.pga-calendar .calendar-header .calendar-header__navigation[data-v-b4276497]{justify-content:center;min-width:auto}}.vuecal{--vuecal-primary-color:var(--pga-color-primary);--vuecal-secondary-color:var(--pga-color-first-06);--vuecal-border-color:var(--pga-color-first-01);background-color:var(--pga-color-third-contrast);border:1px solid var(--pga-color-first-01);border-radius:.4rem;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.vuecal .vuecal__title-bar{background-color:var(--pga-color-first-005);border-bottom:1px solid var(--pga-color-first-01);height:3rem;max-height:3rem;max-width:auto;min-height:3rem;min-width:auto;width:auto}.vuecal .vuecal__title{color:var(--pga-color-first)!important;font-size:1rem!important;font-weight:700;text-transform:capitalize}.vuecal .vuecal__title button{color:inherit!important;font-size:1rem!important;font-weight:700}.vuecal--month-view .vuecal__title{font-size:1rem!important}.vuecal .vuecal__arrow{color:var(--pga-color-first)!important;height:3rem;max-height:3rem;max-width:3rem;min-height:3rem;min-width:3rem;width:3rem}.vuecal .vuecal__arrow:hover{background-color:transparent}.vuecal .vuecal__arrow--prev{padding-left:.5rem}.vuecal .vuecal__arrow--next{padding-right:.5rem}.vuecal .vuecal__time-column{border-right:1px solid var(--pga-color-first-01)}.vuecal .vuecal__weekdays-headings{background-color:var(--pga-color-first-005);border-bottom:1px solid var(--pga-color-first-01)}.vuecal .vuecal__cell{border-bottom:1px solid var(--pga-color-first-005);border-right:1px solid var(--pga-color-first-005)}.vuecal .vuecal__cell-events-count{background-color:var(--pga-color-primary-07)!important}.vuecal .vuecal__cell--current,.vuecal .vuecal__cell--today{background-color:var(--pga-color-primary-01)!important}.vuecal .vuecal__cell--selected:before{border-color:var(--pga-color-primary-04)!important}.vuecal:not(.vuecal--day-view) .vuecal__cell--selected{background:none}.vuecal:not(.vuecal--month-view) .vuecal__cell:hover{background-color:var(--pga-color-first-005);cursor:pointer}.vuecal--day-view .vuecal__cell-content,.vuecal--day-view .vuecal__cell-events{position:relative}.vuecal--day-view .vuecal__bg:before{color:var(--pga-color-first);content:attr(data-date);font-weight:700;left:50%;position:absolute;top:0;transform:translate(-50%);z-index:1}.pga-display-barcodes[data-v-3554095d]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start}.pga-display-barcodes .barcodes-container[data-v-3554095d]{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start}.pga-display-barcodes .barcodes-container .barcode[data-v-3554095d]{white-space:nowrap}.pga-display-content[data-v-93d9cace]{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start}.pga-display-content .item__label[data-v-93d9cace]{color:var(--pga-color-third);font-size:.9rem}.pga-datetime[data-v-775c26cd]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.pga-datetime--with-background[data-v-775c26cd]{background-color:var(--pga-color-primary);border-radius:.2rem;color:var(--pga-color-primary-contrast);padding:.2rem .4rem}.info-card[data-v-df798b39]{align-items:stretch;background-color:var(--pga-color-first-contrast);border:.1rem solid;border-color:var(--97782818);border-radius:.3rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;overflow:hidden}.info-card .info-card__icon-container[data-v-df798b39]{align-items:center;background-color:var(--97782818);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;padding:.6rem}.info-card .info-card__icon-container .info-card__icon[data-v-df798b39]{color:var(--702edade);font-size:1.2rem}.info-card .info-card__content-container[data-v-df798b39]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:center;padding:.6rem;width:100%}.pga-display-no-items[data-v-fe869880]{align-items:center;background-color:var(--pga-color-second-contrast);border-radius:.5rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;min-height:25rem;padding:4rem 1.5rem;width:100%}.pga-display-no-items .no-items__content[data-v-fe869880]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:2rem;justify-content:center;max-width:35rem;text-align:center;width:100%}.pga-display-no-items .no-items__content .no-items__illustration[data-v-fe869880]{color:var(--pga-color-second);height:8rem;width:8rem}.pga-display-no-items .no-items__content .no-items__illustration svg[data-v-fe869880]{height:100%;width:100%}.pga-display-no-items .no-items__content .no-items__text[data-v-fe869880]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.pga-display-no-items .no-items__content .no-items__text .no-items__title[data-v-fe869880]{color:var(--pga-color-first);font-size:1.2rem;font-weight:700;margin:0}.pga-display-no-items .no-items__content .no-items__text .no-items__description[data-v-fe869880]{color:var(--pga-color-second);font-size:1rem;line-height:1.4;margin:0}.price[data-v-4638f783]{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.2rem;justify-content:flex-start;white-space:nowrap}.price--with-background[data-v-4638f783]{background-color:var(--pga-color-primary-02);border:.1rem solid var(--pga-color-primary-04);border-radius:.2rem;padding:.2rem}.price .price__sign[data-v-4638f783]{color:var(--pga-color-second);font-size:.9rem}.price .price__value[data-v-4638f783]{color:var(--48a66683);font-size:var(--d10ad460)}.pga-form[data-v-f15fad6f]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.6rem;justify-content:flex-start;max-width:100%;padding:.2rem;user-select:none;width:var(--ba760bfe)}.pga-form[data-v-f15fad6f] .pga-form-subtitle:first-child,.pga-form[data-v-f15fad6f] .pga-form-title:first-child{margin-top:0;padding-top:0}.pga-form .form__submit-btn[data-v-f15fad6f]{margin-top:.6rem}.pga-form-row{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1rem;justify-content:flex-start}.pga-form-row>*{flex-basis:0;flex-grow:1}@media (max-width:768px){.pga-form-row--break-row{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.6rem;justify-content:flex-start}}.pga-form-subtitle[data-v-e42c3004]{font-weight:700;margin-top:.5rem}.pga-form-title[data-v-b4c2eaf4]{border-bottom:1px solid var(--pga-color-grey);font-size:1.2rem;margin-bottom:.5rem;margin-top:.5rem;padding-bottom:.5rem;padding-top:.5rem}.input-group[data-v-da8f193a]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start}.input-group--fit-content[data-v-da8f193a]{max-width:fit-content}.input-group--with-flex-grow[data-v-da8f193a]{flex-grow:var(--833a07ac)!important}.input-group .input-group__header[data-v-da8f193a]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.6rem;justify-content:flex-start;padding-left:.5rem;padding-right:.5rem;user-select:none;white-space:nowrap}.input-group .input-group__header .header__label[data-v-da8f193a]{color:var(--pga-color-second);font-size:.9rem}.input-group .input-group__header .header__required-label[data-v-da8f193a]{color:var(--pga-color-required);font-size:.9rem;font-style:italic}.input-group .input-group__header .header__optional-label[data-v-da8f193a]{color:var(--pga-color-third);font-size:.9rem;font-style:italic;margin-left:auto}.input-group .input-group__description[data-v-da8f193a]{color:var(--pga-color-third);font-size:.9rem;padding:.4rem 1rem}.input-group .input-group__errors[data-v-da8f193a]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;margin-top:.2rem;padding-left:.5rem;padding-right:.5rem;user-select:none}.input-group .input-group__errors .errors__error[data-v-da8f193a]{align-items:center;color:var(--pga-color-error);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.input-group .input-group__errors .errors__error .error__icon[data-v-da8f193a],.input-group .input-group__errors .errors__error .error__message[data-v-da8f193a]{font-size:.9rem}.input-right-button[data-v-00547c9c]{background-color:inherit;border-radius:0 var(--723f8e21) var(--723f8e21) 0;color:inherit;height:var(--2f6cd1aa);position:absolute;right:0;top:0;width:var(--156d9d2c)}.input-right-button[data-v-00547c9c]:hover{background-color:inherit}.input-right-button--with-background[data-v-00547c9c]{background-color:var(--28640a46)}.input-right-button--with-background[data-v-00547c9c]:hover{background-color:var(--28807eaa)}.input-container[data-v-9041b6d0]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;font-size:inherit;gap:.5rem;justify-content:flex-start}.input-container .input-content[data-v-9041b6d0]{position:relative;width:100%}.input-container .input-content .input[data-v-9041b6d0]{background-color:var(--6dff75b1);border:1px solid var(--5c72591a);border-radius:var(--7fe34a82);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--7facaa6a);margin:0;outline:none;padding-left:var(--35bb5226);padding-right:var(--a0ebe728);width:100%}.input-container .input-content .input[data-v-9041b6d0]:focus{border:1px solid var(--457ffa4e)}.input-container .input-content .input--disabled[data-v-9041b6d0]{background-color:var(--45e85966);cursor:not-allowed}.input-container .input-content input[data-v-9041b6d0]::placeholder{color:var(--aca6f358);font-size:inherit;opacity:1}.input-container .input-content input[type=number][data-v-9041b6d0]{-moz-appearance:textfield}.input-container .input-content input[type=number][data-v-9041b6d0]::-webkit-inner-spin-button,.input-container .input-content input[type=number][data-v-9041b6d0]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.login-form-container[data-v-6ce7d149]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.login-form-container .login-form[data-v-6ce7d149]{background-color:var(--pga-color-second-contrast);border-radius:.5rem;box-shadow:0 0 2rem var(--pga-color-first-01);margin-top:2.75rem;padding:5.25rem 1.5rem 2.5rem;position:relative;width:30rem}.login-form-container .login-form .user-icon-container[data-v-6ce7d149]{align-items:center;background-color:var(--pga-color-primary);border-radius:100%;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:5.5rem;justify-content:center;left:50%;margin-left:-2.75rem;position:absolute;top:-2.75rem;width:5.5rem}.login-form-container .login-form .user-icon-container .user-icon[data-v-6ce7d149]{color:var(--pga-color-primary-contrast);font-size:2.2rem}.pga-checkbox[data-v-9a138890]{align-items:center;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;user-select:none}.colors-container[data-v-65ddd494]{align-items:center;border:1px solid var(--007d7129);border-radius:var(--2800638c);display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:var(--81ef80ba)}.date-picker[data-v-45f34210] .dp__input{background-color:var(--922b12b0);border:1px solid var(--7e4ee7ea);border-radius:var(--645dc4eb);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--71f33018);outline:none}.date-picker[data-v-45f34210] .dp__input:focus{border:1px solid var(--pga-color-primary)}.date-picker--disabled[data-v-45f34210] .dp__input{background-color:var(--18fded44);cursor:not-allowed}.date-picker--open[data-v-45f34210] .dp__input{border:1px solid var(--7fb80382)}.icons-container[data-v-3787d458]{align-items:center;border:1px solid var(--12aa2a95);border-radius:var(--5b6ad7a0);display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:var(--01fae1e2)}.input-container[data-v-ce515f87]{min-width:18rem;position:relative}.input-container input[data-v-ce515f87]{background-color:var(--4e0aa5ea);border:1px solid var(--cd307066);border-radius:var(--a73e3d30);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--24c3e631);margin:0;outline:none;padding-left:var(--13cf8847);padding-right:var(--1a8543c6);width:100%}.input-container input[data-v-ce515f87]:focus{border:1px solid var(--ac3bc982)}.input-container input[data-v-ce515f87]:disabled{background-color:var(--1e21deb2);cursor:not-allowed}.input-container input[data-v-ce515f87]::placeholder{color:var(--c3cf8b8c);font-size:inherit;opacity:1}.input-dropdown{background-color:var(--pga-color-first-contrast);border:1px solid var(--pga-color-first-03);border-radius:var(--a73e3d30);box-shadow:0 0 .5rem var(--pga-color-first-01);list-style-type:none;margin:0;overflow:auto;padding:0;position:fixed;z-index:10000}.input-dropdown .dropdown__option{padding-bottom:.3rem;padding-left:var(--13cf8847);padding-right:var(--13cf8847);padding-top:.3rem}.input-dropdown .dropdown__option--index-selected{background-color:var(--pga-color-primary-01)}.input-dropdown .dropdown__option--selected{background-color:var(--pga-color-primary-02)}select[data-v-f64c7115]{background-color:var(--6e7b057a);border:1px solid var(--740bafbc);border-radius:var(--2639f759);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--64dc84e2);margin:0;outline:none;padding-left:var(--526a8094);padding-right:var(--526a8094);width:100%}select[data-v-f64c7115]:focus{border:1px solid var(--4b8c0d20)}select[data-v-f64c7115]:disabled{background-color:var(--5378ebd4);cursor:not-allowed}.pga-switch[data-v-0c425266]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;margin-bottom:.25rem;margin-top:.25rem}.pga-switch .switch__label[data-v-0c425266]{color:var(--pga-color-second);font-size:.9rem}.pga-switch .switch__slider-container[data-v-0c425266]{max-width:min-content;position:relative}.pga-switch .switch__slider-container .switch__input[data-v-0c425266]{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.pga-switch .switch__slider-container .switch__slider[data-v-0c425266]{background-color:var(--pga-color-grey);border-radius:1.5rem;cursor:pointer;height:1.4rem;position:relative;transition:.4s;width:2.24rem}.pga-switch .switch__slider-container .switch__slider--disabled[data-v-0c425266]{cursor:not-allowed}.pga-switch .switch__slider-container .switch__slider .slider__thumb[data-v-0c425266]{align-items:center;background-color:var(--pga-color-grey-contrast);border:1px solid;border-radius:100%;bottom:.14rem;color:var(--pga-color-grey);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:1.12rem;justify-content:center;max-height:1.12rem;max-width:1.12rem;min-height:1.12rem;min-width:1.12rem;position:absolute;top:.14rem;transition:.4s;width:1.12rem}.pga-switch .switch__slider-container .switch__slider .slider__thumb .thumb__icon[data-v-0c425266]{font-size:.9rem}.pga-switch .switch__slider-container .switch__slider--checked[data-v-0c425266]{background-color:var(--pga-color-success)}.pga-switch .switch__slider-container .switch__slider--checked .slider__thumb[data-v-0c425266]{background-color:var(--pga-color-success-contrast);color:var(--pga-color-success);transform:translate(1.12rem)}.switch-options[data-v-61b46e44]{align-items:stretch;border-radius:var(--2492ef7a);display:flex;flex-direction:row;flex-wrap:nowrap;font-size:inherit;gap:0;justify-content:center;user-select:none;width:100%}.switch-options .switch-options__item[data-v-61b46e44]{align-items:center;background-color:var(--21ee0db9);border:1px solid var(--72daa10a);color:var(--pga-color-first);cursor:pointer;display:flex;flex-basis:0;flex-direction:row;flex-grow:1;flex-wrap:nowrap;gap:0;height:var(--12532c7a);justify-content:center}.switch-options .switch-options__item--first-item[data-v-61b46e44]{border-radius:var(--2492ef7a) 0 0 var(--2492ef7a)}.switch-options .switch-options__item--last-item[data-v-61b46e44]{border-radius:0 var(--2492ef7a) var(--2492ef7a) 0}.switch-options .switch-options__item--active[data-v-61b46e44]{background-color:var(--5191029f);border:1px solid var(--610485d1);color:var(--610485d1);font-weight:700}.switch-options .switch-options__item[data-v-61b46e44]:hover{background-color:var(--51ad7703)}.textarea-container[data-v-957e5364]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.textarea-container .textarea[data-v-957e5364]{background-color:var(--7f0ab3fa);border:1px solid var(--17fafcc5);border-radius:var(--00344b70);color:var(--pga-color-first);font-family:inherit;font-size:inherit;margin:0;outline:none;padding:var(--4c73f93f);width:100%}.textarea-container .textarea[data-v-957e5364]:focus{border:1px solid var(--32186747)}.textarea-container .textarea--disabled[data-v-957e5364]{background-color:var(--517adcc2);cursor:not-allowed}.textarea-container textarea[data-v-957e5364]::placeholder{color:var(--b2d13f7c);font-size:inherit;opacity:1}.textarea-container .textarea__footer[data-v-957e5364]{align-items:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;padding-left:1rem;padding-right:1rem}.textarea-container .textarea__footer .footer__max-length[data-v-957e5364]{margin-left:auto}.img-wrapper[data-v-80921769]{max-width:fit-content;position:relative;user-select:none}.img-wrapper--horizontal[data-v-80921769]{padding-bottom:var(--8176d89e)}.img-wrapper--vertical[data-v-80921769]{padding-right:var(--8176d89e)}.img-wrapper .img-container .img[data-v-80921769]{height:100%;max-width:100%;object-fit:contain;width:auto}.img-wrapper .img-buttons[data-v-80921769]{position:absolute}.img-wrapper .img-buttons--horizontal[data-v-80921769]{align-items:center;bottom:0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.3rem;justify-content:center;left:0;padding-bottom:.2rem;padding-top:.2rem;right:0}.img-wrapper .img-buttons--vertical[data-v-80921769]{align-items:center;bottom:0;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.3rem;justify-content:center;padding-left:.2rem;padding-right:.2rem;right:0;top:0}.img-wrapper .img-buttons .input-file[data-v-80921769]{display:none}.pga-images-full-screen[data-v-5df790a9]{align-items:center;background-color:var(--pga-color-overlay);bottom:0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.pga-images-full-screen .image-container[data-v-5df790a9]{height:100%;padding:.8rem 3rem;position:relative}.pga-images-full-screen .image-container .image[data-v-5df790a9]{border-radius:.4rem;height:100%;max-width:100%;object-fit:contain;width:auto}.pga-images-full-screen .image-container .image__close-btn[data-v-5df790a9]{position:absolute;right:.4rem;top:.8rem}.pga-images-full-screen .image-container .image__left-btn[data-v-5df790a9]{left:.4rem;position:absolute;top:50%;transform:translateY(-50%)}.pga-images-full-screen .image-container .image__right-btn[data-v-5df790a9]{position:absolute;right:.4rem;top:50%;transform:translateY(-50%)}.pga-images[data-v-adc810b2]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.pga-images .images[data-v-adc810b2]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.4rem;justify-content:center;width:100%}.pga-images .images .images__image-container[data-v-adc810b2]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;position:relative;width:11.3rem}.pga-images .images .images__image-container .images__img[data-v-adc810b2]{border:.1rem solid transparent;border-radius:.4rem;cursor:pointer;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-images .images .images__image-container .images__img[data-v-adc810b2]:hover{border:.1rem solid var(--pga-color-primary)}.pga-images .images .images__image-container .images__delete-btn[data-v-adc810b2]{position:absolute;right:.4rem;top:.4rem}.pga-images .images .images__input-container[data-v-adc810b2]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;width:11.3rem}.pga-images .images .images__input-container .images__input[data-v-adc810b2]{border-radius:.4rem;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-info-panel-item[data-v-73105fe2]{word-break:break-word;word-wrap:break-word;align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start;width:9rem}.pga-info-panel-item--full-width[data-v-73105fe2]{width:100%}.pga-info-panel-item .item__title[data-v-73105fe2]{color:var(--pga-color-third);font-size:.9rem}.pga-info-panel-item .item__info[data-v-73105fe2]{font-weight:700}.pga-info-panel[data-v-4a4226ed]{align-items:stretch;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;column-gap:2.3rem;justify-content:flex-start}.not-found[data-v-b6c6848d]{flex-direction:row;gap:0}.not-found .not-found__content[data-v-b6c6848d],.not-found[data-v-b6c6848d]{align-items:center;display:flex;flex-wrap:nowrap;justify-content:center;width:100%}.not-found .not-found__content[data-v-b6c6848d]{background-color:var(--pga-color-second-contrast);border-radius:.5rem;flex-direction:column;gap:2rem;max-width:55rem;min-height:25rem;padding:4rem 6rem;text-align:center}.not-found .not-found__content .not-found__hero[data-v-b6c6848d]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.not-found .not-found__content .not-found__hero .hero__number[data-v-b6c6848d]{color:var(--pga-color-first);font-size:3rem;font-weight:900;letter-spacing:.1rem;line-height:1;margin:0;text-shadow:0 .2rem .5rem rgba(0,0,0,.1)}.not-found .not-found__content .not-found__hero .hero__bubble[data-v-b6c6848d]{background-color:var(--pga-color-first);border-radius:1.5rem;box-shadow:0 .1rem .5rem #0000001a;color:var(--pga-color-first-contrast);font-size:1rem;font-weight:700;margin:0;padding:.6rem 1.2rem;position:relative}.not-found .not-found__content .not-found__hero .hero__bubble[data-v-b6c6848d]:after{border-color:var(--pga-color-first) transparent transparent transparent;border-style:solid;border-width:.6rem .6rem 0;bottom:-.6rem;content:"";left:50%;position:absolute;transform:translate(-50%)}.not-found .not-found__content .not-found__illustration[data-v-b6c6848d]{max-width:40rem;width:100%}.not-found .not-found__content .not-found__illustration .illustration__svg[data-v-b6c6848d]{height:auto;width:100%}.not-found .not-found__content .not-found__actions[data-v-b6c6848d]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}@media (max-width:768px){.not-found .not-found__content[data-v-b6c6848d]{padding:3rem 1.2rem}}.pga-bottom-bar[data-v-5bc76bd1]{border-top:1px solid var(--pga-color-first-01);bottom:0;box-shadow:0 0 .5rem var(--pga-color-first-01);display:none;left:0;position:fixed;right:0;user-select:none;z-index:1000}.pga-bottom-bar .bottom-bar__content[data-v-5bc76bd1]{align-items:stretch;background-color:var(--pga-color-first-contrast);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.2rem;height:var(--pga-bottom-bar-height);justify-content:space-evenly;padding-left:.4rem;padding-right:.4rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link[data-v-5bc76bd1]{align-items:center;color:var(--pga-color-second);display:flex;flex-basis:0;flex-direction:column;flex-grow:1;flex-wrap:nowrap;font-size:.9rem;gap:.3rem;justify-content:center;min-width:0;padding-top:.4rem;position:relative;text-decoration:none;transition:all .3s ease}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link[data-v-5bc76bd1]:hover{color:var(--pga-color-first);cursor:pointer}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link:hover .router-link__icon-container[data-v-5bc76bd1]{background-color:var(--pga-color-first-01)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link.router-link-active[data-v-5bc76bd1]{color:var(--pga-color-primary)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link.router-link-active .router-link__icon-container[data-v-5bc76bd1]{background-color:var(--pga-color-primary)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link.router-link-active .router-link__icon-container .router-link__icon[data-v-5bc76bd1]{color:var(--pga-color-first-contrast)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container[data-v-5bc76bd1]{align-items:center;border-radius:1rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:1.8rem;justify-content:center;transition:all .3s ease;width:3.2rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container .router-link__icon[data-v-5bc76bd1]{font-size:1.2rem;transition:all .3s ease}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__name[data-v-5bc76bd1]{overflow:hidden;text-align:center;text-overflow:ellipsis;transition:all .3s ease;white-space:nowrap;width:100%}@media (max-width:768px){.pga-bottom-bar[data-v-5bc76bd1]{display:block}.pga-bottom-bar .bottom-bar__content[data-v-5bc76bd1]{align-items:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.1rem;justify-content:space-evenly;padding-left:.2rem;padding-right:.2rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link[data-v-5bc76bd1]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;font-size:.9rem;gap:.2rem;justify-content:center;padding-top:.2rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container[data-v-5bc76bd1]{height:1.6rem;width:2.8rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container .router-link__icon[data-v-5bc76bd1]{font-size:1.1rem}}.pga-breadcrumb[data-v-3a56cef3]{font-size:.9rem}.pga-breadcrumb .breadcrumb__list[data-v-3a56cef3]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;list-style:none;margin:0;padding:0}.pga-breadcrumb .breadcrumb__list .list__item[data-v-3a56cef3]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.pga-footer[data-v-0847503e]{margin-top:auto}.pga-footer .footer__content[data-v-0847503e]{align-items:center;background-color:var(--pga-color-first-contrast);border-radius:1rem 1rem 0 0;box-shadow:0 -10px 30px #0000001a;color:var(--pga-color-first);display:flex;flex-direction:column;flex-wrap:nowrap;gap:1.2rem;justify-content:center;padding:1.5rem 1.8rem;position:relative;transition:padding-bottom .3s ease;width:100%}.pga-footer .footer__content .footer__brand[data-v-0847503e]{align-items:center;background-color:#fff;border:.2rem solid var(--pga-color-primary);border-radius:50%;box-shadow:0 4px 15px #0000001a;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:5rem;justify-content:center;transform:scale(1);transition:all .3s ease;width:5rem}.pga-footer .footer__content .footer__brand[data-v-0847503e]:hover{box-shadow:0 6px 20px #00000026;transform:scale(1.05)}.pga-footer .footer__content .footer__divider[data-v-0847503e]{background:linear-gradient(90deg,transparent,var(--pga-color-primary),transparent);border-radius:1rem;height:.1rem;opacity:.6;width:70%}.pga-footer .footer__content .footer__info[data-v-0847503e]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:center;text-align:center}.pga-footer .footer__content .footer__info .footer__text[data-v-0847503e]{color:var(--pga-color-first);font-size:1rem;font-weight:500;letter-spacing:.05rem}.pga-footer .footer__content .footer__info .footer__text--secondary[data-v-0847503e]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;font-size:.9rem;gap:.25rem;justify-content:center;opacity:.8}.pga-footer .footer__content .footer__info .footer__link[data-v-0847503e]{color:var(--pga-color-primary);font-size:.9rem;font-style:italic;font-weight:700;transition:all .3s ease}.pga-footer .footer__content .footer__info .footer__link[data-v-0847503e]:hover{opacity:.8}@media (max-width:768px){.pga-footer--with-bottom-bar .footer__content[data-v-0847503e]{padding-bottom:calc(var(--pga-bottom-bar-height) + 1.5rem)}.pga-footer .footer__content[data-v-0847503e]{padding-left:1rem;padding-right:1rem;padding-top:1.5rem}.pga-footer .footer__content .footer__brand[data-v-0847503e]{height:4.4rem;width:4.4rem}.pga-footer .footer__content .footer__divider[data-v-0847503e]{width:90%}}.pga-header[data-v-d428089e]{box-shadow:0 0 .5rem var(--pga-color-first-01);left:0;position:fixed;right:0;top:0;user-select:none;z-index:1000}.pga-header--with-banner[data-v-d428089e]{top:var(--pga-banner-height)}.pga-header .header__content[data-v-d428089e]{align-items:center;background-color:var(--pga-color-first-contrast);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.8rem;height:var(--pga-header-height);justify-content:space-between;padding-left:.8rem;padding-right:.8rem;width:100%}.pga-header .header__content .content__side[data-v-d428089e]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.8rem;justify-content:flex-end}@media (max-width:768px){.pga-header .header__content[data-v-d428089e]{gap:.4rem;padding-left:.4rem;padding-right:.4rem}.pga-header .header__content .content__side[data-v-d428089e]{gap:.4rem}}.pga-layout[data-v-f669fc45]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;height:100vh;justify-content:flex-start;min-height:100vh;padding-top:var(--pga-header-height)}.pga-layout--with-banner[data-v-f669fc45]{padding-top:var(--pga-header-and-banner-height)}.pga-layout--side-bar-open[data-v-f669fc45]{padding-left:var(--pga-side-bar-width)}.pga-layout .layout__banner[data-v-f669fc45]{align-items:center;background-color:var(--pga-color-warning);color:var(--pga-color-warning-contrast);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:var(--pga-banner-height);justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.pga-layout .layout__content[data-v-f669fc45]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.9rem;justify-content:flex-start;overflow:var(--1b126945);padding:var(--pga-layout-padding-top) var(--413456e8) var(--pga-layout-padding-bottom)}.pga-layout .layout__content .layout__header[data-v-f669fc45]{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.1rem;justify-content:flex-start}.pga-layout .layout__content .layout__header .layout__title[data-v-f669fc45]{font-size:1.2rem;font-weight:700;margin:0}.pga-layout .layout__content .layout__header .layout__description[data-v-f669fc45]{color:var(--pga-color-second)}.pga-layout .layout__content .layout__view[data-v-f669fc45]{min-height:0}@media (max-width:768px){.pga-layout[data-v-f669fc45]{padding-left:0}.pga-layout--with-navigation-bars[data-v-f669fc45]{padding-bottom:var(--pga-bottom-bar-height)}.pga-layout .layout__content[data-v-f669fc45]{padding-left:var(--377f5854);padding-right:var(--377f5854)}}.pga-section[data-v-3fec79a6]{max-width:100%}.pga-section .section__title[data-v-3fec79a6]{margin:0 0 .4rem}.pga-section .section__content[data-v-3fec79a6]{align-items:stretch;background-color:var(--pga-color-first-contrast);border-radius:.2rem;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start;padding:.8rem}.pga-section .section__content--loading[data-v-3fec79a6]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.pga-side-bar[data-v-0738ac35]{align-items:stretch;background-color:var(--pga-color-first-contrast);bottom:0;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;left:0;position:fixed;top:var(--pga-header-height);user-select:none;width:var(--pga-side-bar-width);z-index:10000}.pga-side-bar--with-banner[data-v-0738ac35]{top:var(--pga-header-and-banner-height)}.pga-side-bar .side-bar__header[data-v-0738ac35]{display:none}.pga-side-bar .side-bar__content[data-v-0738ac35]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;overflow:auto;padding-bottom:.4rem;padding-top:.4rem}.pga-side-bar .side-bar__content .side-bar__section[data-v-0738ac35]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.3rem;justify-content:flex-start}.pga-side-bar .side-bar__content .side-bar__section .side-bar__title[data-v-0738ac35]{color:var(--pga-color-third);font-size:.9rem;padding-left:.8rem}.pga-side-bar .side-bar__content .side-bar__section .side-bar__title--with-margin-top[data-v-0738ac35]{margin-top:.6rem}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links[data-v-0738ac35]{padding-left:.4rem;padding-right:.4rem}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link[data-v-0738ac35]{align-items:center;border-radius:.4rem;color:var(--pga-color-second);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;justify-content:space-between;padding:.4rem 1.1rem;text-decoration:none;transition:.3s}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link[data-v-0738ac35]:hover{background-color:var(--pga-color-grey-015);cursor:pointer}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link.router-link-active[data-v-0738ac35]{background-color:var(--pga-color-primary-01);color:var(--pga-color-primary);font-weight:700}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link .router-link__route-name[data-v-0738ac35]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link .router-link__route-name .router-link__icon-container[data-v-0738ac35]{width:1.2rem}@media (max-width:768px){.pga-side-bar[data-v-0738ac35]{right:0;top:0;width:auto}.pga-side-bar .side-bar__header[data-v-0738ac35]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:var(--pga-header-height);justify-content:flex-start;padding-left:.8rem;padding-right:.8rem}}.pga-pagination[data-v-70130aae]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:wrap;gap:.3rem;justify-content:center}.tr--even[data-v-e697f559]{background-color:var(--pga-color-first-contrast)}.tr--even__secondary[data-v-e697f559],.tr--odd[data-v-e697f559]{background-color:var(--pga-color-second-contrast)}.tr--odd__secondary[data-v-e697f559]{background-color:var(--pga-color-third-contrast)}td .td__content[data-v-2f00307a]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:var(--4701a5a6);padding:.5rem .6rem;text-align:var(--75cc37d8)}.td--fit-content[data-v-2f00307a]{width:0}.pga-tr-title .tr-title__td[data-v-a446c683]{font-size:.9rem;padding:.5rem .8rem}th[data-v-74d11ad3]{font-size:.9rem;font-weight:700;padding:.5rem .6rem;text-align:var(--5182a234);white-space:nowrap}th .th-content[data-v-74d11ad3]{align-items:center;display:inline-flex;gap:.4rem}.filters-modal-container[data-v-038b628a]{gap:.8rem;width:18.8rem}.filters-modal-container[data-v-038b628a],.items-list[data-v-e208a3ca]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start}.items-list[data-v-e208a3ca]{gap:.5rem}.items-list .items-list__title[data-v-e208a3ca]{font-weight:700;margin-top:.5rem}.items-list .item-container[data-v-e208a3ca]{align-items:stretch;background-color:var(--pga-color-second-contrast);border-radius:.2rem;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;padding:.8rem}.items-list .item-container .item-actions-buttons[data-v-e208a3ca]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center}.items-list .item-container__secondary[data-v-e208a3ca]{background-color:var(--pga-color-third-contrast)}.pga-table[data-v-6c72c536]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start;max-width:100%!important}.pga-table .table-header[data-v-6c72c536]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;justify-content:flex-start}.pga-table .table-header .header__filters-btn[data-v-6c72c536]{display:none}.pga-table .table-header .header__search-container[data-v-6c72c536]{flex-grow:1;margin-left:auto}.pga-table .table-header .header__search-container .header__search[data-v-6c72c536]{min-width:13.5rem;width:100%}.pga-table .table-header .header__filters[data-v-6c72c536]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;justify-content:flex-start}.pga-table .table-header .header__filters--with-search[data-v-6c72c536]{width:100%}.pga-table .table-top-pagination[data-v-6c72c536]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;padding-bottom:.3rem;padding-top:.3rem;position:relative}.pga-table .table-top-pagination--with-spinner[data-v-6c72c536]{min-height:1.1rem}.pga-table .table-top-pagination .pagination__spinner[data-v-6c72c536]{position:absolute;right:0;top:50%;transform:translateY(-50%)}.pga-table .table-wrapper[data-v-6c72c536]{overflow-x:auto}.pga-table .table-wrapper table[data-v-6c72c536]{border-collapse:collapse;width:100%}.pga-table .table-wrapper table .indentation-content[data-v-6c72c536]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;width:1.5rem}.pga-table .table-wrapper table .indentation-content .indentation-line[data-v-6c72c536]{background-color:var(--pga-color-primary);border-radius:.8rem;height:.2rem;width:1.5rem}.pga-table .table-wrapper table .actions-buttons[data-v-6c72c536]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start}.pga-table .small-devices-items-list[data-v-6c72c536],.pga-table .table-wrapper--with-main-item[data-v-6c72c536]{display:none}.pga-table .rows-selected[data-v-6c72c536]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;justify-content:flex-start;padding-left:.9rem;padding-right:.9rem}.pga-table .rows-selected .rows-selected__select-all-btn[data-v-6c72c536]{font-size:.9rem}.pga-table .rows-selected .rows-selected__selected-items-text[data-v-6c72c536]{color:var(--pga-color-second);font-size:.9rem;font-style:italic}@media (max-width:768px){.pga-table .table-header .header__filters-btn[data-v-6c72c536]{display:block}.pga-table .main-items-list--with-small-devices-item[data-v-6c72c536],.pga-table .table-header .header__filters[data-v-6c72c536],.pga-table .table-wrapper--with-small-devices-item[data-v-6c72c536]{display:none}.pga-table .small-devices-items-list[data-v-6c72c536]{display:flex}}*,:after,:before{background-repeat:no-repeat;box-sizing:border-box}:after,:before{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}/*!
|
|
6
|
+
*/.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-bubble .ql-toolbar:after,.ql-bubble.ql-toolbar:after{clear:both;content:"";display:table}.ql-bubble .ql-toolbar button,.ql-bubble.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-bubble .ql-toolbar button svg,.ql-bubble.ql-toolbar button svg{float:left;height:100%}.ql-bubble .ql-toolbar button:active:hover,.ql-bubble.ql-toolbar button:active:hover{outline:none}.ql-bubble .ql-toolbar input.ql-image[type=file],.ql-bubble.ql-toolbar input.ql-image[type=file]{display:none}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected,.ql-bubble .ql-toolbar .ql-picker-item:hover,.ql-bubble .ql-toolbar .ql-picker-label.ql-active,.ql-bubble .ql-toolbar .ql-picker-label:hover,.ql-bubble .ql-toolbar button.ql-active,.ql-bubble .ql-toolbar button:focus,.ql-bubble .ql-toolbar button:hover,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected,.ql-bubble.ql-toolbar .ql-picker-item:hover,.ql-bubble.ql-toolbar .ql-picker-label.ql-active,.ql-bubble.ql-toolbar .ql-picker-label:hover,.ql-bubble.ql-toolbar button.ql-active,.ql-bubble.ql-toolbar button:focus,.ql-bubble.ql-toolbar button:hover{color:#fff}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-fill,.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:focus .ql-fill,.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble .ql-toolbar button:hover .ql-fill,.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-fill,.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:focus .ql-fill,.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover .ql-fill,.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#fff}.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble .ql-toolbar button.ql-active .ql-stroke,.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble .ql-toolbar button:focus .ql-stroke,.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,.ql-bubble .ql-toolbar button:hover .ql-stroke,.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-bubble.ql-toolbar button.ql-active .ql-stroke,.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,.ql-bubble.ql-toolbar button:focus .ql-stroke,.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover .ql-stroke,.ql-bubble.ql-toolbar button:hover .ql-stroke-miter{stroke:#fff}@media (pointer:coarse){.ql-bubble .ql-toolbar button:hover:not(.ql-active),.ql-bubble.ql-toolbar button:hover:not(.ql-active){color:#ccc}.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-bubble.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#ccc}}.ql-bubble,.ql-bubble *{box-sizing:border-box}.ql-bubble .ql-hidden{display:none}.ql-bubble .ql-out-bottom,.ql-bubble .ql-out-top{visibility:hidden}.ql-bubble .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-bubble .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-bubble .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-bubble .ql-formats{display:inline-block;vertical-align:middle}.ql-bubble .ql-formats:after{clear:both;content:"";display:table}.ql-bubble .ql-stroke{fill:none;stroke:#ccc;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-bubble .ql-stroke-miter{fill:none;stroke:#ccc;stroke-miterlimit:10;stroke-width:2}.ql-bubble .ql-fill,.ql-bubble .ql-stroke.ql-fill{fill:#ccc}.ql-bubble .ql-empty{fill:none}.ql-bubble .ql-even{fill-rule:evenodd}.ql-bubble .ql-stroke.ql-thin,.ql-bubble .ql-thin{stroke-width:1}.ql-bubble .ql-transparent{opacity:.4}.ql-bubble .ql-direction svg:last-child{display:none}.ql-bubble .ql-direction.ql-active svg:last-child{display:inline}.ql-bubble .ql-direction.ql-active svg:first-child{display:none}.ql-bubble .ql-editor h1{font-size:2em}.ql-bubble .ql-editor h2{font-size:1.5em}.ql-bubble .ql-editor h3{font-size:1.17em}.ql-bubble .ql-editor h4{font-size:1em}.ql-bubble .ql-editor h5{font-size:.83em}.ql-bubble .ql-editor h6{font-size:.67em}.ql-bubble .ql-editor a{text-decoration:underline}.ql-bubble .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-bubble .ql-editor code,.ql-bubble .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-bubble .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-bubble .ql-editor code{font-size:85%;padding:2px 4px}.ql-bubble .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-bubble .ql-editor img{max-width:100%}.ql-bubble .ql-picker{color:#ccc;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-bubble .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-bubble .ql-picker-label:before{display:inline-block;line-height:22px}.ql-bubble .ql-picker-options{background-color:#444;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-bubble .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-bubble .ql-picker.ql-expanded .ql-picker-label{color:#777;z-index:2}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#777}.ql-bubble .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-bubble .ql-color-picker,.ql-bubble .ql-icon-picker{width:28px}.ql-bubble .ql-color-picker .ql-picker-label,.ql-bubble .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-bubble .ql-color-picker .ql-picker-label svg,.ql-bubble .ql-icon-picker .ql-picker-label svg{right:4px}.ql-bubble .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-bubble .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-bubble .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-bubble .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-bubble .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-bubble .ql-picker.ql-header{width:98px}.ql-bubble .ql-picker.ql-header .ql-picker-item:before,.ql-bubble .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-bubble .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-bubble .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-bubble .ql-picker.ql-font{width:108px}.ql-bubble .ql-picker.ql-font .ql-picker-item:before,.ql-bubble .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-bubble .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-bubble .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-bubble .ql-picker.ql-size{width:98px}.ql-bubble .ql-picker.ql-size .ql-picker-item:before,.ql-bubble .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-bubble .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-bubble .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-bubble .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-bubble .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-bubble .ql-toolbar .ql-formats{margin:8px 12px 8px 0}.ql-bubble .ql-toolbar .ql-formats:first-child{margin-left:12px}.ql-bubble .ql-color-picker svg{margin:1px}.ql-bubble .ql-color-picker .ql-picker-item.ql-selected,.ql-bubble .ql-color-picker .ql-picker-item:hover{border-color:#fff}.ql-bubble .ql-tooltip{background-color:#444;border-radius:25px;color:#fff}.ql-bubble .ql-tooltip-arrow{border-left:6px solid transparent;border-right:6px solid transparent;content:" ";display:block;left:50%;margin-left:-6px;position:absolute}.ql-bubble .ql-tooltip:not(.ql-flip) .ql-tooltip-arrow{border-bottom:6px solid #444;top:-6px}.ql-bubble .ql-tooltip.ql-flip .ql-tooltip-arrow{border-top:6px solid #444;bottom:-6px}.ql-bubble .ql-tooltip.ql-editing .ql-tooltip-editor{display:block}.ql-bubble .ql-tooltip.ql-editing .ql-formats{visibility:hidden}.ql-bubble .ql-tooltip-editor{display:none}.ql-bubble .ql-tooltip-editor input[type=text]{background:transparent;border:none;color:#fff;font-size:13px;height:100%;outline:none;padding:10px 20px;position:absolute;width:100%}.ql-bubble .ql-tooltip-editor a{position:absolute;right:20px;top:10px}.ql-bubble .ql-tooltip-editor a:before{color:#ccc;content:"×";font-size:16px;font-weight:700}.ql-container.ql-bubble:not(.ql-disabled) a{position:relative;white-space:nowrap}.ql-container.ql-bubble:not(.ql-disabled) a:before{background-color:#444;border-radius:15px;color:#fff;content:attr(href);font-size:12px;font-weight:400;overflow:hidden;padding:5px 15px;text-decoration:none;top:-5px;z-index:1}.ql-container.ql-bubble:not(.ql-disabled) a:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #444;content:" ";height:0;top:0;width:0}.ql-container.ql-bubble:not(.ql-disabled) a:after,.ql-container.ql-bubble:not(.ql-disabled) a:before{left:0;margin-left:50%;position:absolute;transform:translate(-50%,-100%);transition:visibility 0s ease .2s;visibility:hidden}.ql-container.ql-bubble:not(.ql-disabled) a:hover:after,.ql-container.ql-bubble:not(.ql-disabled) a:hover:before{visibility:visible}.pga-max-length[data-v-4e8a2dd8]{border-radius:.2rem;font-size:.9rem;padding:.2rem .3rem}.pga-max-length--error[data-v-4e8a2dd8]{background-color:var(--pga-color-danger-03)}.pga-editor[data-v-4b498289]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start}.pga-editor .editor__footer[data-v-4b498289]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:space-between;padding-left:.8rem;padding-right:.8rem}.pga-info-card[data-v-48bac905]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.pga-info-card .info-card__content[data-v-48bac905]{align-items:center;background-color:var(--pga-color-second-contrast);border-radius:.2rem;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start;padding:.9rem;text-align:center;width:100%}.pga-info-card .info-card__content .info-card__title[data-v-48bac905]{font-size:.9rem}.pga-info-card .info-card__content .info-card__description[data-v-48bac905]{color:var(--pga-color-second)}.item-selected[data-v-1c9cee8f]{align-items:center;background-color:var(--pga-color-first-contrast);border:.1rem solid var(--pga-color-first-03);border-radius:.2rem;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:.9rem;justify-content:center;max-height:.9rem;max-width:.9rem;min-height:.9rem;min-width:.9rem;user-select:none;width:.9rem}.item-selected .item-selected__check-icon[data-v-1c9cee8f]{font-size:.9rem}.item-selected--selected[data-v-1c9cee8f]{background-color:var(--pga-color-success);border-color:var(--pga-color-success)}.item-selected--selected .item-selected__check-icon[data-v-1c9cee8f]{color:var(--pga-color-success-contrast)}.modal[data-v-48d3f248]{align-items:center;background-color:var(--pga-color-overlay);bottom:0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.modal .modal__content[data-v-48d3f248]{background-color:var(--pga-color-first-contrast);border:.1rem solid var(--pga-color-first-03);border-radius:.4rem;box-shadow:0 0 .2rem var(--pga-color-first-01);margin-top:-5vh;max-width:768px;width:var(--5d16f1e6)}@media (max-width:768px){.modal .modal__content[data-v-48d3f248]{max-width:94%}}.modal .modal__content .modal__header[data-v-48d3f248]{align-items:center;background-color:var(--pga-color-third-contrast-04);border-radius:.4rem .4rem 0 0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.8rem;justify-content:space-between;padding:.4rem .8rem}.modal .modal__content .modal__header .modal__title[data-v-48d3f248]{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal .modal__content .modal__header .close-icon[data-v-48d3f248]{align-items:center;border-radius:.4rem;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:1.5rem;justify-content:center;max-height:1.5rem;max-width:1.5rem;min-height:1.5rem;min-width:1.5rem;width:1.5rem}.modal .modal__content .modal__header .close-icon[data-v-48d3f248]:hover{background-color:var(--pga-color-third-contrast)}.modal .modal__content .modal__body[data-v-48d3f248]{margin-bottom:1.2rem;margin-top:.8rem;max-height:65vh;overflow-y:auto;padding-left:.8rem;padding-right:.8rem}.modal .modal__content .modal__body[data-v-48d3f248]>*{max-width:100%}.modal .modal__content .modal__footer[data-v-48d3f248]{align-items:center;border-top:.1rem solid var(--pga-color-first-03);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-end;padding:.8rem}.separator[data-v-12540ee5]{background-color:var(--pga-color-grey);height:.1rem;width:100%}.separator--vertical[data-v-12540ee5]{height:auto;min-height:100%;width:.1rem}.pga-tabs .pga-tabs__nav[data-v-40e53f60]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;overflow-x:auto}.pga-tabs .pga-tabs__nav .pga-tabs__button[data-v-40e53f60]{all:unset;align-items:center;border-bottom:.1rem solid var(--pga-color-grey);color:var(--pga-color-second);cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;justify-content:center;padding:.5rem .8rem;width:var(--2754d634)}.pga-tabs .pga-tabs__nav .pga-tabs__button--active[data-v-40e53f60],.pga-tabs .pga-tabs__nav .pga-tabs__button[data-v-40e53f60]:hover{border-bottom:.2rem solid var(--pga-color-primary)}.pga-tabs .pga-tabs__nav .pga-tabs__button--active[data-v-40e53f60]{color:var(--pga-color-primary)}.pga-tabs .pga-tabs__section[data-v-40e53f60]{margin-top:1.1rem}@media (max-width:768px){.pga-tabs .pga-tabs__nav .pga-tabs__button[data-v-40e53f60]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;font-size:.9rem;gap:.3rem;justify-content:center;padding:.4rem .6rem}}.pga-input-file[data-v-cbccd13c]{align-items:center;background-color:var(--b4ce00ce);border:1px solid var(--6241915b);border-radius:var(--027f6ccc);color:var(--pga-color-first);display:flex;flex-direction:column;flex-wrap:nowrap;gap:1rem;justify-content:center;padding:1rem;user-select:none}.pga-input-file[data-v-cbccd13c]:hover{background-color:var(--466eb123);cursor:pointer}.pga-input-file--disabled[data-v-cbccd13c]{background-color:var(--6910f535)}.pga-input-file--disabled[data-v-cbccd13c]:hover{background-color:var(--6910f535);cursor:not-allowed}.pga-input-file .input-file__input[data-v-cbccd13c]{display:none}.pga-input-file .input-file__icon[data-v-cbccd13c]{font-size:1.6rem}.pga-input-file .input-file__label-container[data-v-cbccd13c]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pga-videos[data-v-ee4ebd19]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.pga-videos .videos[data-v-ee4ebd19]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.4rem;justify-content:center;width:100%}.pga-videos .videos .videos__video-container[data-v-ee4ebd19]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;position:relative;width:11.3rem}.pga-videos .videos .videos__video-container .videos__video[data-v-ee4ebd19]{border-radius:.4rem;cursor:pointer;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-videos .videos .videos__video-container .videos__delete-btn[data-v-ee4ebd19]{position:absolute;right:.4rem;top:.4rem}.pga-videos .videos .videos__input-container[data-v-ee4ebd19]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;width:11.3rem}.pga-videos .videos .videos__input-container .videos__input[data-v-ee4ebd19]{border-radius:.4rem;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-copy[data-v-c4835bae]{gap:.3rem;justify-content:flex-start}.alert[data-v-969d5446],.pga-copy[data-v-c4835bae]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}.alert[data-v-969d5446]{background-color:var(--pga-color-overlay);bottom:0;gap:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.alert .alert__content[data-v-969d5446]{align-items:center;background-color:var(--pga-color-first-contrast);border:.1rem solid var(--pga-color-first-03);border-radius:.4rem;box-shadow:0 0 .2rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start;margin-top:-5vh;max-width:25rem;padding:1.5rem;text-align:center;width:calc(100% - 2rem)}.alert .alert__content .alert__icon[data-v-969d5446]{color:var(--pga-color-warning);font-size:3rem}.alert .alert__content .alert__title[data-v-969d5446]{color:var(--pga-color-first);font-size:1.2rem}.alert .alert__content .alert__message[data-v-969d5446]{color:var(--pga-color-second);font-size:.9rem}.alert .alert__content .alert__buttons[data-v-969d5446]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1rem;justify-content:center;margin-top:.6rem}.alert .alert__content .alert__buttons .alert__button[data-v-969d5446]{padding:.8rem}.hyperlink[data-v-ec435fa7]{color:var(--pga-color-link);font:inherit;text-decoration:none}.pga-router-link[data-v-6046ce2c]{color:var(--040e9024);text-decoration:none}.pga-router-link[data-v-6046ce2c]:hover{color:var(--75a55a4c)}.pga-router-link--fit-content[data-v-6046ce2c]{display:inline-block;max-width:fit-content}.pga-router-link--underline-on-hover[data-v-6046ce2c]:hover,.pga-router-link--underline[data-v-6046ce2c]{text-decoration:underline}.pga-calendar[data-v-86dc95f7]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;height:100%;justify-content:flex-start;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-calendar .calendar-header[data-v-86dc95f7]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:space-between}.pga-calendar .calendar-header .calendar-header__actions[data-v-86dc95f7],.pga-calendar .calendar-header .calendar-header__navigation[data-v-86dc95f7]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.pga-calendar .calendar-header .calendar-header__views[data-v-86dc95f7]{align-items:center;background-color:var(--pga-color-first-005);border-radius:.4rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.2rem;justify-content:flex-start;padding:.2rem}.pga-calendar .calendar-header .calendar-header__views .pga-button[data-v-86dc95f7]{min-width:5rem}.pga-calendar .cal-event-container[data-v-86dc95f7]{height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;user-select:none;width:100%}.pga-calendar .cal-event-container[data-v-86dc95f7]:hover{cursor:pointer}@media (max-width:768px){.pga-calendar .calendar-header[data-v-86dc95f7]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.pga-calendar .calendar-header .calendar-header__actions[data-v-86dc95f7]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.pga-calendar .calendar-header .calendar-header__navigation[data-v-86dc95f7]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:center}}.vuecal{--vuecal-primary-color:var(--pga-color-primary);--vuecal-secondary-color:var(--pga-color-first-06);--vuecal-border-color:var(--pga-color-first-01);background-color:var(--pga-color-third-contrast);border:1px solid var(--pga-color-first-01);border-radius:.4rem;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.vuecal .vuecal__title-bar{background-color:var(--pga-color-first-005);border-bottom:1px solid var(--pga-color-first-01);height:3rem;max-height:3rem;max-width:auto;min-height:3rem;min-width:auto;width:auto}.vuecal .vuecal__title{color:var(--pga-color-first)!important;font-size:1rem!important;font-weight:700;text-transform:capitalize}.vuecal .vuecal__title button{color:inherit!important;font-size:1rem!important;font-weight:700}.vuecal--month-view .vuecal__title{font-size:1rem!important}.vuecal .vuecal__arrow{color:var(--pga-color-first)!important;height:3rem;max-height:3rem;max-width:3rem;min-height:3rem;min-width:3rem;width:3rem}.vuecal .vuecal__arrow:hover{background-color:transparent}.vuecal .vuecal__arrow--prev{padding-left:.5rem}.vuecal .vuecal__arrow--next{padding-right:.5rem}.vuecal .vuecal__time-column{border-right:1px solid var(--pga-color-first-01)}.vuecal .vuecal__weekdays-headings{background-color:var(--pga-color-first-005);border-bottom:1px solid var(--pga-color-first-01)}.vuecal .vuecal__cell{border-bottom:1px solid var(--pga-color-first-005);border-right:1px solid var(--pga-color-first-005)}.vuecal .vuecal__cell-events-count{background-color:var(--pga-color-primary-07)!important}.vuecal .vuecal__cell--current,.vuecal .vuecal__cell--today{background-color:var(--pga-color-primary-01)!important}.vuecal .vuecal__cell--selected:before{border-color:var(--pga-color-primary-04)!important}.vuecal:not(.vuecal--day-view) .vuecal__cell--selected{background:none}.vuecal:not(.vuecal--month-view) .vuecal__cell:hover{background-color:var(--pga-color-first-005);cursor:pointer}.vuecal--day-view .vuecal__cell-content,.vuecal--day-view .vuecal__cell-events{position:relative}.vuecal--day-view .vuecal__bg:before{color:var(--pga-color-first);content:attr(data-date);font-weight:700;left:50%;position:absolute;top:0;transform:translate(-50%);z-index:1}.pga-display-barcodes[data-v-3554095d]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start}.pga-display-barcodes .barcodes-container[data-v-3554095d]{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start}.pga-display-barcodes .barcodes-container .barcode[data-v-3554095d]{white-space:nowrap}.pga-display-content[data-v-93d9cace]{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start}.pga-display-content .item__label[data-v-93d9cace]{color:var(--pga-color-third);font-size:.9rem}.pga-datetime[data-v-775c26cd]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.pga-datetime--with-background[data-v-775c26cd]{background-color:var(--pga-color-primary);border-radius:.2rem;color:var(--pga-color-primary-contrast);padding:.2rem .4rem}.info-card[data-v-df798b39]{align-items:stretch;background-color:var(--pga-color-first-contrast);border:.1rem solid;border-color:var(--97782818);border-radius:.3rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;overflow:hidden}.info-card .info-card__icon-container[data-v-df798b39]{align-items:center;background-color:var(--97782818);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;padding:.6rem}.info-card .info-card__icon-container .info-card__icon[data-v-df798b39]{color:var(--702edade);font-size:1.2rem}.info-card .info-card__content-container[data-v-df798b39]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:center;padding:.6rem;width:100%}.pga-display-no-items[data-v-fe869880]{align-items:center;background-color:var(--pga-color-second-contrast);border-radius:.5rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;min-height:25rem;padding:4rem 1.5rem;width:100%}.pga-display-no-items .no-items__content[data-v-fe869880]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:2rem;justify-content:center;max-width:35rem;text-align:center;width:100%}.pga-display-no-items .no-items__content .no-items__illustration[data-v-fe869880]{color:var(--pga-color-second);height:8rem;width:8rem}.pga-display-no-items .no-items__content .no-items__illustration svg[data-v-fe869880]{height:100%;width:100%}.pga-display-no-items .no-items__content .no-items__text[data-v-fe869880]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.pga-display-no-items .no-items__content .no-items__text .no-items__title[data-v-fe869880]{color:var(--pga-color-first);font-size:1.2rem;font-weight:700;margin:0}.pga-display-no-items .no-items__content .no-items__text .no-items__description[data-v-fe869880]{color:var(--pga-color-second);font-size:1rem;line-height:1.4;margin:0}.price[data-v-4638f783]{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.2rem;justify-content:flex-start;white-space:nowrap}.price--with-background[data-v-4638f783]{background-color:var(--pga-color-primary-02);border:.1rem solid var(--pga-color-primary-04);border-radius:.2rem;padding:.2rem}.price .price__sign[data-v-4638f783]{color:var(--pga-color-second);font-size:.9rem}.price .price__value[data-v-4638f783]{color:var(--48a66683);font-size:var(--d10ad460)}.pga-form[data-v-f15fad6f]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.6rem;justify-content:flex-start;max-width:100%;padding:.2rem;user-select:none;width:var(--ba760bfe)}.pga-form[data-v-f15fad6f] .pga-form-subtitle:first-child,.pga-form[data-v-f15fad6f] .pga-form-title:first-child{margin-top:0;padding-top:0}.pga-form .form__submit-btn[data-v-f15fad6f]{margin-top:.6rem}.pga-form-row{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;gap:1rem;justify-content:flex-start}.pga-form-row>*{flex-basis:0;flex-grow:1}@media (max-width:768px){.pga-form-row--break-row{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.6rem;justify-content:flex-start}}.pga-form-subtitle[data-v-e42c3004]{font-weight:700;margin-top:.5rem}.pga-form-title[data-v-b4c2eaf4]{border-bottom:1px solid var(--pga-color-grey);font-size:1.2rem;margin-bottom:.5rem;margin-top:.5rem;padding-bottom:.5rem;padding-top:.5rem}.input-group[data-v-da8f193a]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start}.input-group--fit-content[data-v-da8f193a]{max-width:fit-content}.input-group--with-flex-grow[data-v-da8f193a]{flex-grow:var(--833a07ac)!important}.input-group .input-group__header[data-v-da8f193a]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.6rem;justify-content:flex-start;padding-left:.5rem;padding-right:.5rem;user-select:none;white-space:nowrap}.input-group .input-group__header .header__label[data-v-da8f193a]{color:var(--pga-color-second);font-size:.9rem}.input-group .input-group__header .header__required-label[data-v-da8f193a]{color:var(--pga-color-required);font-size:.9rem;font-style:italic}.input-group .input-group__header .header__optional-label[data-v-da8f193a]{color:var(--pga-color-third);font-size:.9rem;font-style:italic;margin-left:auto}.input-group .input-group__description[data-v-da8f193a]{color:var(--pga-color-third);font-size:.9rem;padding:.4rem 1rem}.input-group .input-group__errors[data-v-da8f193a]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;margin-top:.2rem;padding-left:.5rem;padding-right:.5rem;user-select:none}.input-group .input-group__errors .errors__error[data-v-da8f193a]{align-items:center;color:var(--pga-color-error);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.input-group .input-group__errors .errors__error .error__icon[data-v-da8f193a],.input-group .input-group__errors .errors__error .error__message[data-v-da8f193a]{font-size:.9rem}.input-right-button[data-v-00547c9c]{background-color:inherit;border-radius:0 var(--723f8e21) var(--723f8e21) 0;color:inherit;height:var(--2f6cd1aa);position:absolute;right:0;top:0;width:var(--156d9d2c)}.input-right-button[data-v-00547c9c]:hover{background-color:inherit}.input-right-button--with-background[data-v-00547c9c]{background-color:var(--28640a46)}.input-right-button--with-background[data-v-00547c9c]:hover{background-color:var(--28807eaa)}.input-container[data-v-9041b6d0]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;font-size:inherit;gap:.5rem;justify-content:flex-start}.input-container .input-content[data-v-9041b6d0]{position:relative;width:100%}.input-container .input-content .input[data-v-9041b6d0]{background-color:var(--6dff75b1);border:1px solid var(--5c72591a);border-radius:var(--7fe34a82);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--7facaa6a);margin:0;outline:none;padding-left:var(--35bb5226);padding-right:var(--a0ebe728);width:100%}.input-container .input-content .input[data-v-9041b6d0]:focus{border:1px solid var(--457ffa4e)}.input-container .input-content .input--disabled[data-v-9041b6d0]{background-color:var(--45e85966);cursor:not-allowed}.input-container .input-content input[data-v-9041b6d0]::placeholder{color:var(--aca6f358);font-size:inherit;opacity:1}.input-container .input-content input[type=number][data-v-9041b6d0]{-moz-appearance:textfield}.input-container .input-content input[type=number][data-v-9041b6d0]::-webkit-inner-spin-button,.input-container .input-content input[type=number][data-v-9041b6d0]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.login-form-container[data-v-6ce7d149]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.login-form-container .login-form[data-v-6ce7d149]{background-color:var(--pga-color-second-contrast);border-radius:.5rem;box-shadow:0 0 2rem var(--pga-color-first-01);margin-top:2.75rem;padding:5.25rem 1.5rem 2.5rem;position:relative;width:30rem}.login-form-container .login-form .user-icon-container[data-v-6ce7d149]{align-items:center;background-color:var(--pga-color-primary);border-radius:100%;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:5.5rem;justify-content:center;left:50%;margin-left:-2.75rem;position:absolute;top:-2.75rem;width:5.5rem}.login-form-container .login-form .user-icon-container .user-icon[data-v-6ce7d149]{color:var(--pga-color-primary-contrast);font-size:2.2rem}.pga-checkbox[data-v-9a138890]{align-items:center;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;user-select:none}.colors-container[data-v-65ddd494]{align-items:center;border:1px solid var(--007d7129);border-radius:var(--2800638c);display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:var(--81ef80ba)}.date-picker[data-v-45f34210] .dp__input{background-color:var(--922b12b0);border:1px solid var(--7e4ee7ea);border-radius:var(--645dc4eb);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--71f33018);outline:none}.date-picker[data-v-45f34210] .dp__input:focus{border:1px solid var(--pga-color-primary)}.date-picker--disabled[data-v-45f34210] .dp__input{background-color:var(--18fded44);cursor:not-allowed}.date-picker--open[data-v-45f34210] .dp__input{border:1px solid var(--7fb80382)}.icons-container[data-v-3787d458]{align-items:center;border:1px solid var(--12aa2a95);border-radius:var(--5b6ad7a0);display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center;padding:var(--01fae1e2)}.input-container[data-v-ce515f87]{min-width:18rem;position:relative}.input-container input[data-v-ce515f87]{background-color:var(--4e0aa5ea);border:1px solid var(--cd307066);border-radius:var(--a73e3d30);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--24c3e631);margin:0;outline:none;padding-left:var(--13cf8847);padding-right:var(--1a8543c6);width:100%}.input-container input[data-v-ce515f87]:focus{border:1px solid var(--ac3bc982)}.input-container input[data-v-ce515f87]:disabled{background-color:var(--1e21deb2);cursor:not-allowed}.input-container input[data-v-ce515f87]::placeholder{color:var(--c3cf8b8c);font-size:inherit;opacity:1}.input-dropdown{background-color:var(--pga-color-first-contrast);border:1px solid var(--pga-color-first-03);border-radius:var(--a73e3d30);box-shadow:0 0 .5rem var(--pga-color-first-01);list-style-type:none;margin:0;overflow:auto;padding:0;position:fixed;z-index:10000}.input-dropdown .dropdown__option{padding-bottom:.3rem;padding-left:var(--13cf8847);padding-right:var(--13cf8847);padding-top:.3rem}.input-dropdown .dropdown__option--index-selected{background-color:var(--pga-color-primary-01)}.input-dropdown .dropdown__option--selected{background-color:var(--pga-color-primary-02)}select[data-v-f64c7115]{background-color:var(--6e7b057a);border:1px solid var(--740bafbc);border-radius:var(--2639f759);color:var(--pga-color-first);font-family:inherit;font-size:inherit;height:var(--64dc84e2);margin:0;outline:none;padding-left:var(--526a8094);padding-right:var(--526a8094);width:100%}select[data-v-f64c7115]:focus{border:1px solid var(--4b8c0d20)}select[data-v-f64c7115]:disabled{background-color:var(--5378ebd4);cursor:not-allowed}.pga-switch[data-v-0c425266]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;margin-bottom:.25rem;margin-top:.25rem}.pga-switch .switch__label[data-v-0c425266]{color:var(--pga-color-second);font-size:.9rem}.pga-switch .switch__slider-container[data-v-0c425266]{max-width:min-content;position:relative}.pga-switch .switch__slider-container .switch__input[data-v-0c425266]{bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.pga-switch .switch__slider-container .switch__slider[data-v-0c425266]{background-color:var(--pga-color-grey);border-radius:1.5rem;cursor:pointer;height:1.4rem;position:relative;transition:.4s;width:2.24rem}.pga-switch .switch__slider-container .switch__slider--disabled[data-v-0c425266]{cursor:not-allowed}.pga-switch .switch__slider-container .switch__slider .slider__thumb[data-v-0c425266]{align-items:center;background-color:var(--pga-color-grey-contrast);border:1px solid;border-radius:100%;bottom:.14rem;color:var(--pga-color-grey);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:1.12rem;justify-content:center;max-height:1.12rem;max-width:1.12rem;min-height:1.12rem;min-width:1.12rem;position:absolute;top:.14rem;transition:.4s;width:1.12rem}.pga-switch .switch__slider-container .switch__slider .slider__thumb .thumb__icon[data-v-0c425266]{font-size:.9rem}.pga-switch .switch__slider-container .switch__slider--checked[data-v-0c425266]{background-color:var(--pga-color-success)}.pga-switch .switch__slider-container .switch__slider--checked .slider__thumb[data-v-0c425266]{background-color:var(--pga-color-success-contrast);color:var(--pga-color-success);transform:translate(1.12rem)}.switch-options[data-v-61b46e44]{align-items:stretch;border-radius:var(--2492ef7a);display:flex;flex-direction:row;flex-wrap:nowrap;font-size:inherit;gap:0;justify-content:center;user-select:none;width:100%}.switch-options .switch-options__item[data-v-61b46e44]{align-items:center;background-color:var(--21ee0db9);border:1px solid var(--72daa10a);color:var(--pga-color-first);cursor:pointer;display:flex;flex-basis:0;flex-direction:row;flex-grow:1;flex-wrap:nowrap;gap:0;height:var(--12532c7a);justify-content:center}.switch-options .switch-options__item--first-item[data-v-61b46e44]{border-radius:var(--2492ef7a) 0 0 var(--2492ef7a)}.switch-options .switch-options__item--last-item[data-v-61b46e44]{border-radius:0 var(--2492ef7a) var(--2492ef7a) 0}.switch-options .switch-options__item--active[data-v-61b46e44]{background-color:var(--5191029f);border:1px solid var(--610485d1);color:var(--610485d1);font-weight:700}.switch-options .switch-options__item[data-v-61b46e44]:hover{background-color:var(--51ad7703)}.textarea-container[data-v-957e5364]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.textarea-container .textarea[data-v-957e5364]{background-color:var(--7f0ab3fa);border:1px solid var(--17fafcc5);border-radius:var(--00344b70);color:var(--pga-color-first);font-family:inherit;font-size:inherit;margin:0;outline:none;padding:var(--4c73f93f);width:100%}.textarea-container .textarea[data-v-957e5364]:focus{border:1px solid var(--32186747)}.textarea-container .textarea--disabled[data-v-957e5364]{background-color:var(--517adcc2);cursor:not-allowed}.textarea-container textarea[data-v-957e5364]::placeholder{color:var(--b2d13f7c);font-size:inherit;opacity:1}.textarea-container .textarea__footer[data-v-957e5364]{align-items:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;padding-left:1rem;padding-right:1rem}.textarea-container .textarea__footer .footer__max-length[data-v-957e5364]{margin-left:auto}.img-wrapper[data-v-80921769]{max-width:fit-content;position:relative;user-select:none}.img-wrapper--horizontal[data-v-80921769]{padding-bottom:var(--8176d89e)}.img-wrapper--vertical[data-v-80921769]{padding-right:var(--8176d89e)}.img-wrapper .img-container .img[data-v-80921769]{height:100%;max-width:100%;object-fit:contain;width:auto}.img-wrapper .img-buttons[data-v-80921769]{position:absolute}.img-wrapper .img-buttons--horizontal[data-v-80921769]{align-items:center;bottom:0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.3rem;justify-content:center;left:0;padding-bottom:.2rem;padding-top:.2rem;right:0}.img-wrapper .img-buttons--vertical[data-v-80921769]{align-items:center;bottom:0;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.3rem;justify-content:center;padding-left:.2rem;padding-right:.2rem;right:0;top:0}.img-wrapper .img-buttons .input-file[data-v-80921769]{display:none}.pga-images-full-screen[data-v-5df790a9]{align-items:center;background-color:var(--pga-color-overlay);bottom:0;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.pga-images-full-screen .image-container[data-v-5df790a9]{height:100%;padding:.8rem 3rem;position:relative}.pga-images-full-screen .image-container .image[data-v-5df790a9]{border-radius:.4rem;height:100%;max-width:100%;object-fit:contain;width:auto}.pga-images-full-screen .image-container .image__close-btn[data-v-5df790a9]{position:absolute;right:.4rem;top:.8rem}.pga-images-full-screen .image-container .image__left-btn[data-v-5df790a9]{left:.4rem;position:absolute;top:50%;transform:translateY(-50%)}.pga-images-full-screen .image-container .image__right-btn[data-v-5df790a9]{position:absolute;right:.4rem;top:50%;transform:translateY(-50%)}.pga-images[data-v-adc810b2]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.pga-images .images[data-v-adc810b2]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.4rem;justify-content:center;width:100%}.pga-images .images .images__image-container[data-v-adc810b2]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;position:relative;width:11.3rem}.pga-images .images .images__image-container .images__img[data-v-adc810b2]{border:.1rem solid transparent;border-radius:.4rem;cursor:pointer;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-images .images .images__image-container .images__img[data-v-adc810b2]:hover{border:.1rem solid var(--pga-color-primary)}.pga-images .images .images__image-container .images__delete-btn[data-v-adc810b2]{position:absolute;right:.4rem;top:.4rem}.pga-images .images .images__input-container[data-v-adc810b2]{height:11.3rem;max-height:11.3rem;max-width:11.3rem;min-height:11.3rem;min-width:11.3rem;width:11.3rem}.pga-images .images .images__input-container .images__input[data-v-adc810b2]{border-radius:.4rem;height:100%;max-height:100%;max-width:100%;min-height:100%;min-width:100%;width:100%}.pga-info-panel-item[data-v-73105fe2]{word-break:break-word;word-wrap:break-word;align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start;width:9rem}.pga-info-panel-item--full-width[data-v-73105fe2]{width:100%}.pga-info-panel-item .item__title[data-v-73105fe2]{color:var(--pga-color-third);font-size:.9rem}.pga-info-panel-item .item__info[data-v-73105fe2]{font-weight:700}.pga-info-panel[data-v-4a4226ed]{align-items:stretch;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;column-gap:2.3rem;justify-content:flex-start}.not-found[data-v-b6c6848d]{flex-direction:row;gap:0}.not-found .not-found__content[data-v-b6c6848d],.not-found[data-v-b6c6848d]{align-items:center;display:flex;flex-wrap:nowrap;justify-content:center;width:100%}.not-found .not-found__content[data-v-b6c6848d]{background-color:var(--pga-color-second-contrast);border-radius:.5rem;flex-direction:column;gap:2rem;max-width:55rem;min-height:25rem;padding:4rem 6rem;text-align:center}.not-found .not-found__content .not-found__hero[data-v-b6c6848d]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:center}.not-found .not-found__content .not-found__hero .hero__number[data-v-b6c6848d]{color:var(--pga-color-first);font-size:3rem;font-weight:900;letter-spacing:.1rem;line-height:1;margin:0;text-shadow:0 .2rem .5rem rgba(0,0,0,.1)}.not-found .not-found__content .not-found__hero .hero__bubble[data-v-b6c6848d]{background-color:var(--pga-color-first);border-radius:1.5rem;box-shadow:0 .1rem .5rem #0000001a;color:var(--pga-color-first-contrast);font-size:1rem;font-weight:700;margin:0;padding:.6rem 1.2rem;position:relative}.not-found .not-found__content .not-found__hero .hero__bubble[data-v-b6c6848d]:after{border-color:var(--pga-color-first) transparent transparent transparent;border-style:solid;border-width:.6rem .6rem 0;bottom:-.6rem;content:"";left:50%;position:absolute;transform:translate(-50%)}.not-found .not-found__content .not-found__illustration[data-v-b6c6848d]{max-width:40rem;width:100%}.not-found .not-found__content .not-found__illustration .illustration__svg[data-v-b6c6848d]{height:auto;width:100%}.not-found .not-found__content .not-found__actions[data-v-b6c6848d]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}@media (max-width:768px){.not-found .not-found__content[data-v-b6c6848d]{padding:3rem 1.2rem}}.pga-bottom-bar[data-v-5bc76bd1]{border-top:1px solid var(--pga-color-first-01);bottom:0;box-shadow:0 0 .5rem var(--pga-color-first-01);display:none;left:0;position:fixed;right:0;user-select:none;z-index:1000}.pga-bottom-bar .bottom-bar__content[data-v-5bc76bd1]{align-items:stretch;background-color:var(--pga-color-first-contrast);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.2rem;height:var(--pga-bottom-bar-height);justify-content:space-evenly;padding-left:.4rem;padding-right:.4rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link[data-v-5bc76bd1]{align-items:center;color:var(--pga-color-second);display:flex;flex-basis:0;flex-direction:column;flex-grow:1;flex-wrap:nowrap;font-size:.9rem;gap:.3rem;justify-content:center;min-width:0;padding-top:.4rem;position:relative;text-decoration:none;transition:all .3s ease}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link[data-v-5bc76bd1]:hover{color:var(--pga-color-first);cursor:pointer}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link:hover .router-link__icon-container[data-v-5bc76bd1]{background-color:var(--pga-color-first-01)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link.router-link-active[data-v-5bc76bd1]{color:var(--pga-color-primary)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link.router-link-active .router-link__icon-container[data-v-5bc76bd1]{background-color:var(--pga-color-primary)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link.router-link-active .router-link__icon-container .router-link__icon[data-v-5bc76bd1]{color:var(--pga-color-first-contrast)}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container[data-v-5bc76bd1]{align-items:center;border-radius:1rem;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:1.8rem;justify-content:center;transition:all .3s ease;width:3.2rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container .router-link__icon[data-v-5bc76bd1]{font-size:1.2rem;transition:all .3s ease}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__name[data-v-5bc76bd1]{overflow:hidden;text-align:center;text-overflow:ellipsis;transition:all .3s ease;white-space:nowrap;width:100%}@media (max-width:768px){.pga-bottom-bar[data-v-5bc76bd1]{display:block}.pga-bottom-bar .bottom-bar__content[data-v-5bc76bd1]{align-items:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.1rem;justify-content:space-evenly;padding-left:.2rem;padding-right:.2rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link[data-v-5bc76bd1]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;font-size:.9rem;gap:.2rem;justify-content:center;padding-top:.2rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container[data-v-5bc76bd1]{height:1.6rem;width:2.8rem}.pga-bottom-bar .bottom-bar__content .bottom-bar__router-link .router-link__icon-container .router-link__icon[data-v-5bc76bd1]{font-size:1.1rem}}.pga-breadcrumb[data-v-3a56cef3]{font-size:.9rem}.pga-breadcrumb .breadcrumb__list[data-v-3a56cef3]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:flex-start;list-style:none;margin:0;padding:0}.pga-breadcrumb .breadcrumb__list .list__item[data-v-3a56cef3]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start}.pga-footer[data-v-0847503e]{margin-top:auto}.pga-footer .footer__content[data-v-0847503e]{align-items:center;background-color:var(--pga-color-first-contrast);border-radius:1rem 1rem 0 0;box-shadow:0 -10px 30px #0000001a;color:var(--pga-color-first);display:flex;flex-direction:column;flex-wrap:nowrap;gap:1.2rem;justify-content:center;padding:1.5rem 1.8rem;position:relative;transition:padding-bottom .3s ease;width:100%}.pga-footer .footer__content .footer__brand[data-v-0847503e]{align-items:center;background-color:#fff;border:.2rem solid var(--pga-color-primary);border-radius:50%;box-shadow:0 4px 15px #0000001a;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:5rem;justify-content:center;transform:scale(1);transition:all .3s ease;width:5rem}.pga-footer .footer__content .footer__brand[data-v-0847503e]:hover{box-shadow:0 6px 20px #00000026;transform:scale(1.05)}.pga-footer .footer__content .footer__divider[data-v-0847503e]{background:linear-gradient(90deg,transparent,var(--pga-color-primary),transparent);border-radius:1rem;height:.1rem;opacity:.6;width:70%}.pga-footer .footer__content .footer__info[data-v-0847503e]{align-items:center;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:center;text-align:center}.pga-footer .footer__content .footer__info .footer__text[data-v-0847503e]{color:var(--pga-color-first);font-size:1rem;font-weight:500;letter-spacing:.05rem}.pga-footer .footer__content .footer__info .footer__text--secondary[data-v-0847503e]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;font-size:.9rem;gap:.25rem;justify-content:center;opacity:.8}.pga-footer .footer__content .footer__info .footer__link[data-v-0847503e]{color:var(--pga-color-primary);font-size:.9rem;font-style:italic;font-weight:700;transition:all .3s ease}.pga-footer .footer__content .footer__info .footer__link[data-v-0847503e]:hover{opacity:.8}@media (max-width:768px){.pga-footer--with-bottom-bar .footer__content[data-v-0847503e]{padding-bottom:calc(var(--pga-bottom-bar-height) + 1.5rem)}.pga-footer .footer__content[data-v-0847503e]{padding-left:1rem;padding-right:1rem;padding-top:1.5rem}.pga-footer .footer__content .footer__brand[data-v-0847503e]{height:4.4rem;width:4.4rem}.pga-footer .footer__content .footer__divider[data-v-0847503e]{width:90%}}.pga-header[data-v-d428089e]{box-shadow:0 0 .5rem var(--pga-color-first-01);left:0;position:fixed;right:0;top:0;user-select:none;z-index:1000}.pga-header--with-banner[data-v-d428089e]{top:var(--pga-banner-height)}.pga-header .header__content[data-v-d428089e]{align-items:center;background-color:var(--pga-color-first-contrast);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.8rem;height:var(--pga-header-height);justify-content:space-between;padding-left:.8rem;padding-right:.8rem;width:100%}.pga-header .header__content .content__side[data-v-d428089e]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.8rem;justify-content:flex-end}@media (max-width:768px){.pga-header .header__content[data-v-d428089e]{gap:.4rem;padding-left:.4rem;padding-right:.4rem}.pga-header .header__content .content__side[data-v-d428089e]{gap:.4rem}}.pga-layout[data-v-f669fc45]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;height:100vh;justify-content:flex-start;min-height:100vh;padding-top:var(--pga-header-height)}.pga-layout--with-banner[data-v-f669fc45]{padding-top:var(--pga-header-and-banner-height)}.pga-layout--side-bar-open[data-v-f669fc45]{padding-left:var(--pga-side-bar-width)}.pga-layout .layout__banner[data-v-f669fc45]{align-items:center;background-color:var(--pga-color-warning);color:var(--pga-color-warning-contrast);display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:var(--pga-banner-height);justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.pga-layout .layout__content[data-v-f669fc45]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.9rem;justify-content:flex-start;overflow:var(--1b126945);padding:var(--pga-layout-padding-top) var(--413456e8) var(--pga-layout-padding-bottom)}.pga-layout .layout__content .layout__header[data-v-f669fc45]{align-items:flex-start;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.1rem;justify-content:flex-start}.pga-layout .layout__content .layout__header .layout__title[data-v-f669fc45]{font-size:1.2rem;font-weight:700;margin:0}.pga-layout .layout__content .layout__header .layout__description[data-v-f669fc45]{color:var(--pga-color-second)}.pga-layout .layout__content .layout__view[data-v-f669fc45]{min-height:0}@media (max-width:768px){.pga-layout[data-v-f669fc45]{padding-left:0}.pga-layout--with-navigation-bars[data-v-f669fc45]{padding-bottom:var(--pga-bottom-bar-height)}.pga-layout .layout__content[data-v-f669fc45]{padding-left:var(--377f5854);padding-right:var(--377f5854)}}.pga-section[data-v-3fec79a6]{max-width:100%}.pga-section .section__title[data-v-3fec79a6]{margin:0 0 .4rem}.pga-section .section__content[data-v-3fec79a6]{align-items:stretch;background-color:var(--pga-color-first-contrast);border-radius:.2rem;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start;padding:.8rem}.pga-section .section__content--loading[data-v-3fec79a6]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center}.pga-side-bar[data-v-0738ac35]{align-items:stretch;background-color:var(--pga-color-first-contrast);bottom:0;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;left:0;position:fixed;top:var(--pga-header-height);user-select:none;width:var(--pga-side-bar-width);z-index:10000}.pga-side-bar--with-banner[data-v-0738ac35]{top:var(--pga-header-and-banner-height)}.pga-side-bar .side-bar__header[data-v-0738ac35]{display:none}.pga-side-bar .side-bar__content[data-v-0738ac35]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start;overflow:auto;padding-bottom:.4rem;padding-top:.4rem}.pga-side-bar .side-bar__content .side-bar__section[data-v-0738ac35]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.3rem;justify-content:flex-start}.pga-side-bar .side-bar__content .side-bar__section .side-bar__title[data-v-0738ac35]{color:var(--pga-color-third);font-size:.9rem;padding-left:.8rem}.pga-side-bar .side-bar__content .side-bar__section .side-bar__title--with-margin-top[data-v-0738ac35]{margin-top:.6rem}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links[data-v-0738ac35]{padding-left:.4rem;padding-right:.4rem}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link[data-v-0738ac35]{align-items:center;border-radius:.4rem;color:var(--pga-color-second);display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;justify-content:space-between;padding:.4rem 1.1rem;text-decoration:none;transition:.3s}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link[data-v-0738ac35]:hover{background-color:var(--pga-color-grey-015);cursor:pointer}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link.router-link-active[data-v-0738ac35]{background-color:var(--pga-color-primary-01);color:var(--pga-color-primary);font-weight:700}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link .router-link__route-name[data-v-0738ac35]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.4rem;justify-content:flex-start}.pga-side-bar .side-bar__content .side-bar__section .side-bar__router-links .side-bar__router-link .router-link__route-name .router-link__icon-container[data-v-0738ac35]{width:1.2rem}@media (max-width:768px){.pga-side-bar[data-v-0738ac35]{right:0;top:0;width:auto}.pga-side-bar .side-bar__header[data-v-0738ac35]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;height:var(--pga-header-height);justify-content:flex-start;padding-left:.8rem;padding-right:.8rem}}.pga-pagination[data-v-70130aae]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:wrap;gap:.3rem;justify-content:center}.tr--even[data-v-e697f559]{background-color:var(--pga-color-first-contrast)}.tr--even__secondary[data-v-e697f559],.tr--odd[data-v-e697f559]{background-color:var(--pga-color-second-contrast)}.tr--odd__secondary[data-v-e697f559]{background-color:var(--pga-color-third-contrast)}td .td__content[data-v-2f00307a]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:var(--4701a5a6);padding:.5rem .6rem;text-align:var(--75cc37d8)}.td--fit-content[data-v-2f00307a]{width:0}.pga-tr-title .tr-title__td[data-v-a446c683]{font-size:.9rem;padding:.5rem .8rem}th[data-v-74d11ad3]{font-size:.9rem;font-weight:700;padding:.5rem .6rem;text-align:var(--5182a234);white-space:nowrap}th .th-content[data-v-74d11ad3]{align-items:center;display:inline-flex;gap:.4rem}.filters-modal-container[data-v-038b628a]{gap:.8rem;width:18.8rem}.filters-modal-container[data-v-038b628a],.items-list[data-v-e208a3ca]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start}.items-list[data-v-e208a3ca]{gap:.5rem}.items-list .items-list__title[data-v-e208a3ca]{font-weight:700;margin-top:.5rem}.items-list .item-container[data-v-e208a3ca]{align-items:stretch;background-color:var(--pga-color-second-contrast);border-radius:.2rem;box-shadow:0 0 .5rem var(--pga-color-first-01);display:flex;flex-direction:column;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;padding:.8rem}.items-list .item-container .item-actions-buttons[data-v-e208a3ca]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem;justify-content:center}.items-list .item-container__secondary[data-v-e208a3ca]{background-color:var(--pga-color-third-contrast)}.pga-table[data-v-6c72c536]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:.8rem;justify-content:flex-start;max-width:100%!important}.pga-table .table-header[data-v-6c72c536]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;justify-content:flex-start}.pga-table .table-header .header__filters-btn[data-v-6c72c536]{display:none}.pga-table .table-header .header__search-container[data-v-6c72c536]{flex-grow:1;margin-left:auto}.pga-table .table-header .header__search-container .header__search[data-v-6c72c536]{min-width:13.5rem;width:100%}.pga-table .table-header .header__filters[data-v-6c72c536]{align-items:flex-end;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;justify-content:flex-start}.pga-table .table-header .header__filters--with-search[data-v-6c72c536]{width:100%}.pga-table .table-top-pagination[data-v-6c72c536]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;padding-bottom:.3rem;padding-top:.3rem;position:relative}.pga-table .table-top-pagination--with-spinner[data-v-6c72c536]{min-height:1.1rem}.pga-table .table-top-pagination .pagination__spinner[data-v-6c72c536]{position:absolute;right:0;top:50%;transform:translateY(-50%)}.pga-table .table-wrapper[data-v-6c72c536]{overflow-x:auto}.pga-table .table-wrapper table[data-v-6c72c536]{border-collapse:collapse;width:100%}.pga-table .table-wrapper table .indentation-content[data-v-6c72c536]{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;gap:0;justify-content:center;width:1.5rem}.pga-table .table-wrapper table .indentation-content .indentation-line[data-v-6c72c536]{background-color:var(--pga-color-primary);border-radius:.8rem;height:.2rem;width:1.5rem}.pga-table .table-wrapper table .actions-buttons[data-v-6c72c536]{align-items:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;justify-content:flex-start}.pga-table .small-devices-items-list[data-v-6c72c536],.pga-table .table-wrapper--with-main-item[data-v-6c72c536]{display:none}.pga-table .rows-selected[data-v-6c72c536]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:.8rem;justify-content:flex-start;padding-left:.9rem;padding-right:.9rem}.pga-table .rows-selected .rows-selected__select-all-btn[data-v-6c72c536]{font-size:.9rem}.pga-table .rows-selected .rows-selected__selected-items-text[data-v-6c72c536]{color:var(--pga-color-second);font-size:.9rem;font-style:italic}@media (max-width:768px){.pga-table .table-header .header__filters-btn[data-v-6c72c536]{display:block}.pga-table .main-items-list--with-small-devices-item[data-v-6c72c536],.pga-table .table-header .header__filters[data-v-6c72c536],.pga-table .table-wrapper--with-small-devices-item[data-v-6c72c536]{display:none}.pga-table .small-devices-items-list[data-v-6c72c536]{display:flex}}*,:after,:before{background-repeat:no-repeat;box-sizing:border-box}:after,:before{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:middle}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}/*!
|
|
7
7
|
* animate.css - https://animate.style/
|
|
8
8
|
* Version - 4.1.1
|
|
9
9
|
* Licensed under the MIT license - http://opensource.org/licenses/MIT
|
package/dist/main.es.js
CHANGED
|
@@ -23803,7 +23803,7 @@ A valid view must be one of: ${Bh.join(", ")}.`), e = "week"), this.enabledViews
|
|
|
23803
23803
|
};
|
|
23804
23804
|
}
|
|
23805
23805
|
});
|
|
23806
|
-
const Zq = /* @__PURE__ */ K1(Xq, [["__scopeId", "data-v-
|
|
23806
|
+
const Zq = /* @__PURE__ */ K1(Xq, [["__scopeId", "data-v-86dc95f7"]]);
|
|
23807
23807
|
/*!
|
|
23808
23808
|
* @kurkle/color v0.3.4
|
|
23809
23809
|
* https://github.com/kurkle/color#readme
|