UNPKG

gd-sprest-bs

Version:

SharePoint JavaScript, TypeScript and Web Components designed using the Bootstrap framework.

2 lines • 1.87 MB
/*! For license information please see gd-sprest-bs.min.js.LICENSE.txt */ !function(){var e={0:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTML=void 0,t.HTML='\n<div class="collapse">\n <div class="card card-body"></div>\n</div>'.trim()},24:function(e,t,r){"use strict";r.r(t),r.d(t,{arrow:function(){return Me},autoPlacement:function(){return Ae},autoUpdate:function(){return ke},computePosition:function(){return Be},detectOverflow:function(){return De},flip:function(){return Oe},getOverflowAncestors:function(){return pe},hide:function(){return Fe},inline:function(){return Le},limitShift:function(){return Ee},offset:function(){return Ce},platform:function(){return Se},shift:function(){return Ie},size:function(){return _e}});const o=["top","right","bottom","left"],a=["start","end"],n=o.reduce(((e,t)=>e.concat(t,t+"-"+a[0],t+"-"+a[1])),[]),s=Math.min,i=Math.max,l=Math.round,p=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function m(e,t,r){return i(e,s(t,r))}function g(e,t){return"function"==typeof e?e(t):e}function y(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function b(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}const v=new Set(["top","bottom"]);function T(e){return v.has(y(e))?"y":"x"}function q(e){return b(T(e))}function w(e,t,r){void 0===r&&(r=!1);const o=f(e),a=q(e),n=h(a);let s="x"===a?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(s=D(s)),[s,D(s)]}function x(e){return e.replace(/start|end/g,(e=>d[e]))}const R=["left","right"],P=["right","left"],S=["top","bottom"],N=["bottom","top"];function k(e,t,r,o){const a=f(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?P:R:t?R:P;case"left":case"right":return t?S:N;default:return[]}}(y(e),"start"===r,o);return a&&(n=n.map((e=>e+"-"+a)),t&&(n=n.concat(n.map(x)))),n}function D(e){return e.replace(/left|right|bottom|top/g,(e=>c[e]))}function C(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function A(e){const{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function I(e,t,r){let{reference:o,floating:a}=e;const n=T(t),s=q(t),i=h(s),l=y(t),p="y"===n,u=o.x+o.width/2-a.width/2,c=o.y+o.height/2-a.height/2,d=o[i]/2-a[i]/2;let m;switch(l){case"top":m={x:u,y:o.y-a.height};break;case"bottom":m={x:u,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:c};break;case"left":m={x:o.x-a.width,y:c};break;default:m={x:o.x,y:o.y}}switch(f(t)){case"start":m[s]-=d*(r&&p?-1:1);break;case"end":m[s]+=d*(r&&p?-1:1)}return m}async function O(e,t){var r;void 0===t&&(t={});const{x:o,y:a,platform:n,rects:s,elements:i,strategy:l}=e,{boundary:p="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:d=!1,padding:m=0}=g(t,e),y=C(m),f=i[d?"floating"===c?"reference":"floating":c],b=A(await n.getClippingRect({element:null==(r=await(null==n.isElement?void 0:n.isElement(f)))||r?f:f.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(i.floating)),boundary:p,rootBoundary:u,strategy:l})),h="floating"===c?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(i.floating)),T=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},q=A(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:h,offsetParent:v,strategy:l}):h);return{top:(b.top-q.top+y.top)/T.y,bottom:(q.bottom-b.bottom+y.bottom)/T.y,left:(b.left-q.left+y.left)/T.x,right:(q.right-b.right+y.right)/T.x}}function _(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function F(e){return o.some((t=>e[t]>=0))}function M(e){const t=s(...e.map((e=>e.left))),r=s(...e.map((e=>e.top)));return{x:t,y:r,width:i(...e.map((e=>e.right)))-t,height:i(...e.map((e=>e.bottom)))-r}}const L=new Set(["left","top"]);function E(){return"undefined"!=typeof window}function B(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function U(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!E()&&(e instanceof Node||e instanceof U(e).Node)}function V(e){return!!E()&&(e instanceof Element||e instanceof U(e).Element)}function W(e){return!!E()&&(e instanceof HTMLElement||e instanceof U(e).HTMLElement)}function H(e){return!(!E()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof U(e).ShadowRoot)}const z=new Set(["inline","contents"]);function Q(e){const{overflow:t,overflowX:r,overflowY:o,display:a}=ne(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!z.has(a)}const J=new Set(["table","td","th"]);function K(e){return J.has(B(e))}const Z=[":popover-open",":modal"];function $(e){return Z.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}const X=["transform","translate","scale","rotate","perspective"],Y=["transform","translate","scale","rotate","perspective","filter"],ee=["paint","layout","strict","content"];function te(e){const t=re(),r=V(e)?ne(e):e;return X.some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||Y.some((e=>(r.willChange||"").includes(e)))||ee.some((e=>(r.contain||"").includes(e)))}function re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const oe=new Set(["html","body","#document"]);function ae(e){return oe.has(B(e))}function ne(e){return U(e).getComputedStyle(e)}function se(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ie(e){if("html"===B(e))return e;const t=e.assignedSlot||e.parentNode||H(e)&&e.host||G(e);return H(t)?t.host:t}function le(e){const t=ie(e);return ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:W(t)&&Q(t)?t:le(t)}function pe(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const a=le(e),n=a===(null==(o=e.ownerDocument)?void 0:o.body),s=U(a);if(n){const e=ue(s);return t.concat(s,s.visualViewport||[],Q(a)?a:[],e&&r?pe(e):[])}return t.concat(a,pe(a,[],r))}function ue(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ce(e){const t=ne(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const a=W(e),n=a?e.offsetWidth:r,s=a?e.offsetHeight:o,i=l(r)!==n||l(o)!==s;return i&&(r=n,o=s),{width:r,height:o,$:i}}function de(e){return V(e)?e:e.contextElement}function me(e){const t=de(e);if(!W(t))return u(1);const r=t.getBoundingClientRect(),{width:o,height:a,$:n}=ce(t);let s=(n?l(r.width):r.width)/o,i=(n?l(r.height):r.height)/a;return s&&Number.isFinite(s)||(s=1),i&&Number.isFinite(i)||(i=1),{x:s,y:i}}const ge=u(0);function ye(e){const t=U(e);return re()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ge}function fe(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const a=e.getBoundingClientRect(),n=de(e);let s=u(1);t&&(o?V(o)&&(s=me(o)):s=me(e));const i=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==U(e))&&t}(n,r,o)?ye(n):u(0);let l=(a.left+i.x)/s.x,p=(a.top+i.y)/s.y,c=a.width/s.x,d=a.height/s.y;if(n){const e=U(n),t=o&&V(o)?U(o):o;let r=e,a=ue(r);for(;a&&o&&t!==r;){const e=me(a),t=a.getBoundingClientRect(),o=ne(a),n=t.left+(a.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(a.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,p*=e.y,c*=e.x,d*=e.y,l+=n,p+=s,r=U(a),a=ue(r)}}return A({width:c,height:d,x:l,y:p})}function be(e,t){const r=se(e).scrollLeft;return t?t.left+r:fe(G(e)).left+r}function he(e,t,r){void 0===r&&(r=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(r?0:be(e,o)),y:o.top+t.scrollTop}}const ve=new Set(["absolute","fixed"]);function Te(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=U(e),o=G(e),a=r.visualViewport;let n=o.clientWidth,s=o.clientHeight,i=0,l=0;if(a){n=a.width,s=a.height;const e=re();(!e||e&&"fixed"===t)&&(i=a.offsetLeft,l=a.offsetTop)}return{width:n,height:s,x:i,y:l}}(e,r);else if("document"===t)o=function(e){const t=G(e),r=se(e),o=e.ownerDocument.body,a=i(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=i(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+be(e);const l=-r.scrollTop;return"rtl"===ne(o).direction&&(s+=i(t.clientWidth,o.clientWidth)-a),{width:a,height:n,x:s,y:l}}(G(e));else if(V(t))o=function(e,t){const r=fe(e,!0,"fixed"===t),o=r.top+e.clientTop,a=r.left+e.clientLeft,n=W(e)?me(e):u(1);return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:o*n.y}}(t,r);else{const r=ye(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return A(o)}function qe(e,t){const r=ie(e);return!(r===t||!V(r)||ae(r))&&("fixed"===ne(r).position||qe(r,t))}function we(e,t,r){const o=W(t),a=G(t),n="fixed"===r,s=fe(e,!0,n,t);let i={scrollLeft:0,scrollTop:0};const l=u(0);function p(){l.x=be(a)}if(o||!o&&!n)if(("body"!==B(t)||Q(a))&&(i=se(t)),o){const e=fe(t,!0,n,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&p();n&&!o&&a&&p();const c=!a||o||n?u(0):he(a,i);return{x:s.left+i.scrollLeft-l.x-c.x,y:s.top+i.scrollTop-l.y-c.y,width:s.width,height:s.height}}function xe(e){return"static"===ne(e).position}function Re(e,t){if(!W(e)||"fixed"===ne(e).position)return null;if(t)return t(e);let r=e.offsetParent;return G(e)===r&&(r=r.ownerDocument.body),r}function Pe(e,t){const r=U(e);if($(e))return r;if(!W(e)){let t=ie(e);for(;t&&!ae(t);){if(V(t)&&!xe(t))return t;t=ie(t)}return r}let o=Re(e,t);for(;o&&K(o)&&xe(o);)o=Re(o,t);return o&&ae(o)&&xe(o)&&!te(o)?r:o||function(e){let t=ie(e);for(;W(t)&&!ae(t);){if(te(t))return t;if($(t))return null;t=ie(t)}return null}(e)||r}const Se={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:a}=e;const n="fixed"===a,s=G(o),i=!!t&&$(t.floating);if(o===s||i&&n)return r;let l={scrollLeft:0,scrollTop:0},p=u(1);const c=u(0),d=W(o);if((d||!d&&!n)&&(("body"!==B(o)||Q(s))&&(l=se(o)),W(o))){const e=fe(o);p=me(o),c.x=e.x+o.clientLeft,c.y=e.y+o.clientTop}const m=!s||d||n?u(0):he(s,l,!0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-l.scrollLeft*p.x+c.x+m.x,y:r.y*p.y-l.scrollTop*p.y+c.y+m.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e;const n=[..."clippingAncestors"===r?$(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let o=pe(e,[],!1).filter((e=>V(e)&&"body"!==B(e))),a=null;const n="fixed"===ne(e).position;let s=n?ie(e):e;for(;V(s)&&!ae(s);){const t=ne(s),r=te(s);r||"fixed"!==t.position||(a=null),(n?!r&&!a:!r&&"static"===t.position&&a&&ve.has(a.position)||Q(s)&&!r&&qe(e,s))?o=o.filter((e=>e!==s)):a=t,s=ie(s)}return t.set(e,o),o}(t,this._c):[].concat(r),o],l=n[0],p=n.reduce(((e,r)=>{const o=Te(t,r,a);return e.top=i(o.top,e.top),e.right=s(o.right,e.right),e.bottom=s(o.bottom,e.bottom),e.left=i(o.left,e.left),e}),Te(t,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}},getOffsetParent:Pe,getElementRects:async function(e){const t=this.getOffsetParent||Pe,r=this.getDimensions,o=await r(e.floating);return{reference:we(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=ce(e);return{width:t,height:r}},getScale:me,isElement:V,isRTL:function(e){return"rtl"===ne(e).direction}};function Ne(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ke(e,t,r,o){void 0===o&&(o={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,d=de(e),m=a||n?[...d?pe(d):[],...pe(t)]:[];m.forEach((e=>{a&&e.addEventListener("scroll",r,{passive:!0}),n&&e.addEventListener("resize",r)}));const g=d&&u?function(e,t){let r,o=null;const a=G(e);function n(){var e;clearTimeout(r),null==(e=o)||e.disconnect(),o=null}return function l(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),n();const d=e.getBoundingClientRect(),{left:m,top:g,width:y,height:f}=d;if(u||t(),!y||!f)return;const b={rootMargin:-p(g)+"px "+-p(a.clientWidth-(m+y))+"px "+-p(a.clientHeight-(g+f))+"px "+-p(m)+"px",threshold:i(0,s(1,c))||1};let h=!0;function v(t){const o=t[0].intersectionRatio;if(o!==c){if(!h)return l();o?l(!1,o):r=setTimeout((()=>{l(!1,1e-7)}),1e3)}1!==o||Ne(d,e.getBoundingClientRect())||l(),h=!1}try{o=new IntersectionObserver(v,{...b,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(v,b)}o.observe(e)}(!0),n}(d,r):null;let y,f=-1,b=null;l&&(b=new ResizeObserver((e=>{let[o]=e;o&&o.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=b)||e.observe(t)}))),r()})),d&&!c&&b.observe(d),b.observe(t));let h=c?fe(e):null;return c&&function t(){const o=fe(e);h&&!Ne(h,o)&&r();h=o,y=requestAnimationFrame(t)}(),r(),()=>{var e;m.forEach((e=>{a&&e.removeEventListener("scroll",r),n&&e.removeEventListener("resize",r)})),null==g||g(),null==(e=b)||e.disconnect(),b=null,c&&cancelAnimationFrame(y)}}const De=O,Ce=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:a,y:n,placement:s,middlewareData:i}=t,l=await async function(e,t){const{placement:r,platform:o,elements:a}=e,n=await(null==o.isRTL?void 0:o.isRTL(a.floating)),s=y(r),i=f(r),l="y"===T(r),p=L.has(s)?-1:1,u=n&&l?-1:1,c=g(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:b}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return i&&"number"==typeof b&&(m="end"===i?-1*b:b),l?{x:m*u,y:d*p}:{x:d*p,y:m*u}}(t,e);return s===(null==(r=i.offset)?void 0:r.placement)&&null!=(o=i.arrow)&&o.alignmentOffset?{}:{x:a+l.x,y:n+l.y,data:{...l,placement:s}}}}},Ae=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,a;const{rects:s,middlewareData:i,placement:l,platform:p,elements:u}=t,{crossAxis:c=!1,alignment:d,allowedPlacements:m=n,autoAlignment:b=!0,...h}=g(e,t),v=void 0!==d||m===n?function(e,t,r){return(e?[...r.filter((t=>f(t)===e)),...r.filter((t=>f(t)!==e))]:r.filter((e=>y(e)===e))).filter((r=>!e||f(r)===e||!!t&&x(r)!==r))}(d||null,b,m):m,T=await O(t,h),q=(null==(r=i.autoPlacement)?void 0:r.index)||0,R=v[q];if(null==R)return{};const P=w(R,s,await(null==p.isRTL?void 0:p.isRTL(u.floating)));if(l!==R)return{reset:{placement:v[0]}};const S=[T[y(R)],T[P[0]],T[P[1]]],N=[...(null==(o=i.autoPlacement)?void 0:o.overflows)||[],{placement:R,overflows:S}],k=v[q+1];if(k)return{data:{index:q+1,overflows:N},reset:{placement:k}};const D=N.map((e=>{const t=f(e.placement);return[e.placement,t&&c?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),C=(null==(a=D.filter((e=>e[2].slice(0,f(e[0])?2:3).every((e=>e<=0))))[0])?void 0:a[0])||D[0][0];return C!==l?{data:{index:q+1,overflows:N},reset:{placement:C}}:{}}}},Ie=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:a}=t,{mainAxis:n=!0,crossAxis:s=!1,limiter:i={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=g(e,t),p={x:r,y:o},u=await O(t,l),c=T(y(a)),d=b(c);let f=p[d],h=p[c];if(n){const e="y"===d?"bottom":"right";f=m(f+u["y"===d?"top":"left"],f,f-u[e])}if(s){const e="y"===c?"bottom":"right";h=m(h+u["y"===c?"top":"left"],h,h-u[e])}const v=i.fn({...t,[d]:f,[c]:h});return{...v,data:{x:v.x-r,y:v.y-o,enabled:{[d]:n,[c]:s}}}}}},Oe=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:a,middlewareData:n,rects:s,initialPlacement:i,platform:l,elements:p}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:b=!0,...h}=g(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const v=y(a),q=T(i),R=y(i)===i,P=await(null==l.isRTL?void 0:l.isRTL(p.floating)),S=d||(R||!b?[D(i)]:function(e){const t=D(e);return[x(e),t,x(t)]}(i)),N="none"!==f;!d&&N&&S.push(...k(i,b,f,P));const C=[i,...S],A=await O(t,h),I=[];let _=(null==(o=n.flip)?void 0:o.overflows)||[];if(u&&I.push(A[v]),c){const e=w(a,s,P);I.push(A[e[0]],A[e[1]])}if(_=[..._,{placement:a,overflows:I}],!I.every((e=>e<=0))){var F,M;const e=((null==(F=n.flip)?void 0:F.index)||0)+1,t=C[e];if(t){if(!("alignment"===c&&q!==T(t))||_.every((e=>e.overflows[0]>0&&T(e.placement)===q)))return{data:{index:e,overflows:_},reset:{placement:t}}}let r=null==(M=_.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:M.placement;if(!r)switch(m){case"bestFit":{var L;const e=null==(L=_.filter((e=>{if(N){const t=T(e.placement);return t===q||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:L[0];e&&(r=e);break}case"initialPlacement":r=i}if(a!==r)return{reset:{placement:r}}}return{}}}},_e=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:a,rects:n,platform:l,elements:p}=t,{apply:u=()=>{},...c}=g(e,t),d=await O(t,c),m=y(a),b=f(a),h="y"===T(a),{width:v,height:q}=n.floating;let w,x;"top"===m||"bottom"===m?(w=m,x=b===(await(null==l.isRTL?void 0:l.isRTL(p.floating))?"start":"end")?"left":"right"):(x=m,w="end"===b?"top":"bottom");const R=q-d.top-d.bottom,P=v-d.left-d.right,S=s(q-d[w],R),N=s(v-d[x],P),k=!t.middlewareData.shift;let D=S,C=N;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(C=P),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(D=R),k&&!b){const e=i(d.left,0),t=i(d.right,0),r=i(d.top,0),o=i(d.bottom,0);h?C=v-2*(0!==e||0!==t?e+t:i(d.left,d.right)):D=q-2*(0!==r||0!==o?r+o:i(d.top,d.bottom))}await u({...t,availableWidth:C,availableHeight:D});const A=await l.getDimensions(p.floating);return v!==A.width||q!==A.height?{reset:{rects:!0}}:{}}}},Fe=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...a}=g(e,t);switch(o){case"referenceHidden":{const e=_(await O(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:F(e)}}}case"escaped":{const e=_(await O(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:F(e)}}}default:return{}}}}},Me=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:a,rects:n,platform:i,elements:l,middlewareData:p}=t,{element:u,padding:c=0}=g(e,t)||{};if(null==u)return{};const d=C(c),y={x:r,y:o},b=q(a),v=h(b),T=await i.getDimensions(u),w="y"===b,x=w?"top":"left",R=w?"bottom":"right",P=w?"clientHeight":"clientWidth",S=n.reference[v]+n.reference[b]-y[b]-n.floating[v],N=y[b]-n.reference[b],k=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u));let D=k?k[P]:0;D&&await(null==i.isElement?void 0:i.isElement(k))||(D=l.floating[P]||n.floating[v]);const A=S/2-N/2,I=D/2-T[v]/2-1,O=s(d[x],I),_=s(d[R],I),F=O,M=D-T[v]-_,L=D/2-T[v]/2+A,E=m(F,L,M),B=!p.arrow&&null!=f(a)&&L!==E&&n.reference[v]/2-(L<F?O:_)-T[v]/2<0,U=B?L<F?L-F:L-M:0;return{[b]:y[b]+U,data:{[b]:E,centerOffset:L-E-U,...B&&{alignmentOffset:U}},reset:B}}}),Le=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:o,rects:a,platform:n,strategy:l}=t,{padding:p=2,x:u,y:c}=g(e,t),d=Array.from(await(null==n.getClientRects?void 0:n.getClientRects(o.reference))||[]),m=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),r=[];let o=null;for(let e=0;e<t.length;e++){const a=t[e];!o||a.y-o.y>o.height/2?r.push([a]):r[r.length-1].push(a),o=a}return r.map((e=>A(M(e))))}(d),f=A(M(d)),b=C(p);const h=await n.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=u&&null!=c)return m.find((e=>u>e.left-b.left&&u<e.right+b.right&&c>e.top-b.top&&c<e.bottom+b.bottom))||f;if(m.length>=2){if("y"===T(r)){const e=m[0],t=m[m.length-1],o="top"===y(r),a=e.top,n=t.bottom,s=o?e.left:t.left,i=o?e.right:t.right;return{top:a,bottom:n,left:s,right:i,width:i-s,height:n-a,x:s,y:a}}const e="left"===y(r),t=i(...m.map((e=>e.right))),o=s(...m.map((e=>e.left))),a=m.filter((r=>e?r.left===o:r.right===t)),n=a[0].top,l=a[a.length-1].bottom;return{top:n,bottom:l,left:o,right:t,width:t-o,height:l-n,x:o,y:n}}return f}},floating:o.floating,strategy:l});return a.reference.x!==h.reference.x||a.reference.y!==h.reference.y||a.reference.width!==h.reference.width||a.reference.height!==h.reference.height?{reset:{rects:h}}:{}}}},Ee=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:a,rects:n,middlewareData:s}=t,{offset:i=0,mainAxis:l=!0,crossAxis:p=!0}=g(e,t),u={x:r,y:o},c=T(a),d=b(c);let m=u[d],f=u[c];const h=g(i,t),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===d?"height":"width",t=n.reference[d]-n.floating[e]+v.mainAxis,r=n.reference[d]+n.reference[e]-v.mainAxis;m<t?m=t:m>r&&(m=r)}if(p){var q,w;const e="y"===d?"width":"height",t=L.has(y(a)),r=n.reference[c]-n.floating[e]+(t&&(null==(q=s.offset)?void 0:q[c])||0)+(t?0:v.crossAxis),o=n.reference[c]+n.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[c])||0)-(t?v.crossAxis:0);f<r?f=r:f>o&&(f=o)}return{[d]:m,[c]:f}}}},Be=(e,t,r)=>{const o=new Map,a={platform:Se,...r},n={...a.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:a="absolute",middleware:n=[],platform:s}=r,i=n.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let p=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:c}=I(p,o,l),d=o,m={},g=0;for(let r=0;r<i.length;r++){const{name:n,fn:y}=i[r],{x:f,y:b,data:h,reset:v}=await y({x:u,y:c,initialPlacement:o,placement:d,strategy:a,middlewareData:m,rects:p,platform:s,elements:{reference:e,floating:t}});u=null!=f?f:u,c=null!=b?b:c,m={...m,[n]:{...m[n],...h}},v&&g<=50&&(g++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(p=!0===v.rects?await s.getElementRects({reference:e,floating:t,strategy:a}):v.rects),({x:u,y:c}=I(p,d,l))),r=-1)}return{x:u,y:c,placement:d,strategy:a,middlewareData:m}})(e,t,{...a,platform:n})}},97:function(){class e extends HTMLElement{constructor(){super()}connectedCallback(){if("BS-PAGING"==this.nodeName)setTimeout((()=>{new GD.Components.CustomElement(this)}));else{const e=new MutationObserver((()=>{setTimeout((()=>{new GD.Components.CustomElement(this)})),e.disconnect()}));e.observe(this,{childList:!0,subtree:!0})}}}function t(e,t){customElements.get(e)||customElements.define(e,t)}t("bs-accordion",class extends e{}),t("bs-alert",class extends e{}),t("bs-badge",class extends e{}),t("bs-breadcrumb",class extends e{}),t("bs-button",class extends e{}),t("bs-button-group",class extends e{}),t("bs-collapse",class extends e{}),t("bs-card",class extends e{}),t("bs-card-group",class extends e{}),t("bs-carousel",class extends e{}),t("bs-checkbox-group",class extends e{}),t("bs-dropdown",class extends e{}),t("bs-form",class extends e{}),t("bs-form-control",class extends e{}),t("bs-icon-link",class extends e{}),t("bs-input-group",class extends e{}),t("bs-list-box",class extends e{}),t("bs-list-group",class extends e{}),t("bs-modal",class extends e{}),t("bs-nav",class extends e{}),t("bs-navbar",class extends e{}),t("bs-offcanvas",class extends e{}),t("bs-paging",class extends e{}),t("bs-popover",class extends e{}),t("bs-progress",class extends e{}),t("bs-progress-group",class extends e{}),t("bs-spinner",class extends e{}),t("bs-table",class extends e{}),t("bs-toast",class extends e{}),t("bs-toolbar",class extends e{}),t("bs-tooltip",class extends e{})},106:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CardAction=void 0;var o=r(2972),a=r(5521),n=function(){function e(e,t){this._el=null,this._parent=null,this._props=null,this._parent=t,this._props=e;var r=document.createElement("div");r.innerHTML=a.HTMLAction,this._el=r.firstChild,this.configure(),this.configureEvents()}return e.prototype.configure=function(){this._el.href=this._props.href||this._el.href,this._el.innerHTML=null==this._props.text?"":this._props.text;var e=o.ButtonClassNames.getByType(this._props.buttonType)||"card-link";this._el.classList.add(e)},e.prototype.configureEvents=function(){var e=this;this._props.onClick&&this._el.addEventListener("click",(function(t){e._props.onClick(e._props,e._parent.props,t)}))},Object.defineProperty(e.prototype,"el",{get:function(){return this._el},enumerable:!1,configurable:!0}),e}();t.CardAction=n},109:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WPListEditForm=void 0;var o=r(1490),a=r(9955);t.WPListEditForm=function(e){void 0===e&&(e={});var t=null,r=null,n=null,s=null,i=function(t){return new Promise((function(o,n){var i=e.listQuery||{};(0,a.Web)(t).Lists().query(i).execute((function(t){var a=[{text:"",value:""}];r=(e.onListsLoaded?e.onListsLoaded(s,t.results):null)||t.results;for(var n=0;n<r.length;n++){var i=r[n];a.push({text:i.Title,value:i.Title})}o(a)}),n)}))},l=[{text:"Refresh",onClick:function(){t.setItems([{isHeader:!0,text:"Loading the Lists",isSelected:!0}]),i(s.cfg.WebUrl).then((function(e){t.setItems(e)}))}}];return e.actions&&(l=l.concat(e.actions)),{actions:l,showSaveButton:e.showSaveButton,onRenderForm:function(a){return s=a,n=o.Components.Progress({el:s.el,isAnimated:!0,isStriped:!0,label:"Loading the List Information",size:100}).el,new Promise((function(a,l){i(s&&s.cfg?s.cfg.WebUrl:"").then((function(i){for(var l=function(a,n){var i=[];return i.push({label:"Relative Web Url:",description:"The web containing the list. If blank, the current web is used.",name:"WebUrl",type:o.Components.FormControlTypes.TextField,value:n,onChange:function(e){s.cfg.WebUrl=e}}),i.push({label:"List:",name:"ListName",items:a,type:o.Components.FormControlTypes.Dropdown,value:s&&s.cfg?s.cfg.ListName:null,onControlRendered:function(e){t=e.dropdown},onChange:function(t){if(t){if(""==t.text)return void(e.onListChanged&&e.onListChanged(s));for(var o=0;o<r.length;o++){var a=r[o];if(a.Title==t.text){s.cfg.ListName=t.value,e.onListChanged&&e.onListChanged(s,a);break}}}}}),i}(i),p=null,u=0;u<r.length;u++){var c=r[u];c.Title==s.cfg.ListName&&(p=c)}var d=e.onRenderForm?e.onRenderForm(s,p):null;d?d.then?d.then((function(e){void 0===e&&(e=[]),l=l.concat(e),a(l)})):d.length>0?(l=l.concat(d),a(l)):a(l):a(l),s.el.removeChild(n)}))}))},onSave:function(t,r){return t.ListName=s.cfg.ListName,t.WebUrl=s.cfg.WebUrl,e.onSave?e.onSave(s.cfg,r):s.cfg}}}},122:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OfficeOnline=void 0;var o=r(4382);t.OfficeOnline=function(e,t,r){return(0,o.generateIcon)("<svg width='32' height='32' viewBox='0 0 136 81' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='#fff' fill-rule='evenodd' stroke='#000' stroke-linecap='round' stroke-linejoin='round'><use xlink:href='#oos-a-{0}' x='.5' y='.5'/><symbol id='oos-a-{0}' overflow='visible'><path d='M124.071 40.32c.214-1.067.214-1.92.214-2.773 0-14.293-10.929-26.027-24.429-26.027-3.429 0-7.071.853-10.286 2.347C85.071 5.333 76.714 0 67.714 0c-13.5 0-24.429 11.093-25.286 25.173-1.071-.213-2.143-.213-3.214-.213-6.429 0-12.429 3.2-16.071 8.747C10.5 32.853 0 43.52 0 56.747 0 69.547 9.857 80 21.857 80h94.929l3-.64c9-2.347 15.214-10.88 15.214-20.48 0-7.893-4.286-14.933-10.929-18.56zM90 68.053h0l-13.714 3.84-24.857-9.173 24.857 3.627V33.28L60 37.12v22.4l-8.357 3.2V34.987h0l24.643-9.173L90 29.867v38.187h0 0z' fill='#de3c00' stroke='none'/></symbol></svg>",e,t,r,1)}},160:function(e,t,r){"use strict";var o,a=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroup=t.CheckboxGroupTypes=void 0;var n=r(2270),s=r(7465),i=r(6879);!function(e){e[e.Checkbox=1]="Checkbox",e[e.Radio=2]="Radio",e[e.Switch=3]="Switch"}(t.CheckboxGroupTypes||(t.CheckboxGroupTypes={}));var l=function(e){function t(t,r,o){void 0===r&&(r=i.HTML);var a=e.call(this,r,t)||this;return a._cbTemplate=null,a._checkboxes=null,a._elCheckboxes=null,a._initFl=!1,a._cbTemplate=o,a.configure(),a.configureParent(),a._initFl=!0,a}return a(t,e),t.prototype.configure=function(){var e="number"==typeof this.props.colSize&&this.props.colSize>0,t=this.el.querySelector("legend");t&&(this.props.label&&1!=this.props.hideLabel?t.innerHTML=this.props.label:this.el.removeChild(t));var r=this.el.querySelector("div");r&&(e?this._elCheckboxes=r:(this.el.removeChild(r),this._elCheckboxes=this.el)),this.renderItems();for(var o=!1,a=this.props.items||[],n=0;n<a.length;n++)if("boolean"==typeof a[n].isSelected){o=!0;break}!o&&this.setValue(this.props.value)},t.prototype.configureEvents=function(e){var t=this;1!=this.props.multi&&e.checkbox.addEventListener("click",(function(r){for(var o=0;o<t._checkboxes.length;o++){var a=t._checkboxes[o];a.isChecked&&(a.el.outerHTML!=e.el.outerHTML&&a.toggle())}})),this.props.onChange&&e.checkbox.addEventListener("click",(function(e){var r=t.getValue();t.props.onChange(r.selectedItems,r.allItems,e)}))},t.prototype.renderItems=function(){this._checkboxes=[];var e=this.props.items;null!=e&&"number"==typeof e.length||(e=[]).push({label:this.props.label||""});for(var t=0;t<e.length;t++){var r=e[t],o=new s.CheckboxItem(r,this.props,this._cbTemplate);this._checkboxes.push(o),this._elCheckboxes.appendChild(o.el),this.configureEvents(o),this.props.onRender&&this.props.onRender(o.el,r)}},t.prototype.getValue=function(){for(var e=[],t=[],r=0;r<this._checkboxes.length;r++){var o=this._checkboxes[r];e.push(o.props),o.isChecked&&t.push(o.props)}return{selectedItems:this.props.multi?t:t[0],allItems:e}},t.prototype.setItems=function(e){void 0===e&&(e=[]);var t="number"==typeof this.props.colSize&&this.props.colSize>0;this.props.items=e;for(var r=t?this.el.querySelector("div"):this.el;r.firstChild;)r.removeChild(r.firstChild);this.renderItems()},t.prototype.setValue=function(e){if(1==this.props.multi||1!=this._checkboxes.length){for(var t=e?"number"==typeof e.length&&"string"!=typeof e?e:[e]:[],r=0;r<this._checkboxes.length;r++){(n=this._checkboxes[r]).isChecked&&n.toggle()}for(r=0;r<t.length;r++)for(var o=t[r],a=0;a<this._checkboxes.length;a++){var n;(n=this._checkboxes[a]).props.label==o&&n.toggle()}if(this._initFl&&this.props.onChange){var s=this.getValue();this.props.onChange(s.selectedItems,s.allItems)}}else"boolean"==typeof e&&e&&!this._checkboxes[0].isChecked&&this._checkboxes[0].toggle()},t}(n.Base);t.CheckboxGroup=function(e,t,r){return new l(e,t,r)}},181:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLItem=t.HTML=void 0,t.HTML='\n<div class="carousel slide" data-bs-ride="carousel">\n <div class="carousel-indicators"></div>\n <div class="carousel-inner"></div>\n <button class="carousel-control-prev" type="button" data-bs-slide="prev">\n <span class="carousel-control-prev-icon" aria-hidden="true"></span>\n <span class="visually-hidden">Previous</span>\n </button>\n <button class="carousel-control-next" type="button" data-bs-slide="next">\n <span class="carousel-control-next-icon" aria-hidden="true"></span>\n <span class="visually-hidden">Next</span>\n </button>\n</div>'.trim(),t.HTMLItem='\n<div class="carousel-item">\n <img class="d-block w-100" />\n <div class="carousel-caption"></div>\n</div>'.trim()},345:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLRow=t.HTMLGroup=t.HTML=void 0,t.HTML='<form class="needs-validation"></form>',t.HTMLGroup='\n<div>\n <label class="form-label" tabindex="-1"></label>\n <small class="form-text" tabindex="-1"></small>\n</div>'.trim(),t.HTMLRow='<div class="row"></div>'},485:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=r(5095);t.default=class{constructor(e){this.ops=e,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(e){e||(e=1/0);const t=this.ops[this.index];if(t){const r=this.offset,a=o.default.length(t);if(e>=a-r?(e=a-r,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};{const o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"object"==typeof t.retain&&null!==t.retain?o.retain=t.retain:"string"==typeof t.insert?o.insert=t.insert.substr(r,e):o.insert=t.insert,o}}return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?o.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const e=this.ops[this.index];return e?"number"==typeof e.delete?"delete":"number"==typeof e.retain||"object"==typeof e.retain&&null!==e.retain?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);{const e=this.offset,t=this.index,r=this.next(),o=this.ops.slice(this.index);return this.offset=e,this.index=t,[r].concat(o)}}return[]}}},512:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListFormDialog=void 0;var o=r(9955),a=r(7310),n=r(4816);t.ListFormDialog=function(e){var t=null,r=e.modalProps||{},s=function(){t.el.classList.add("d-none"),l.classList.add("d-none");var r=a.Components.Progress({el:t.el.parentElement,isAnimated:!0,isStriped:!0,size:100}).el;return new Promise((function(o,a){if(!t.isValid())return t.el.parentElement.removeChild(r),t.el.classList.remove("d-none"),l.classList.remove("d-none"),void a("Form is invalid");t.save().then((function(a){t.el.parentElement.removeChild(r),t.el.classList.remove("d-none"),l.classList.remove("d-none"),e.onSaved&&e.onSaved(a),o(a)}),a)}))};r.el=r.el||e.el,r.title=r.title||e.listName,r.body=a.Components.Progress({isAnimated:!0,isStriped:!0,label:"Loading the Form...",size:100}).el.outerHTML,r.onRenderBody=function(r){n.ListForm.create({excludeFields:e.excludeFields,fields:e.fields,item:e.item,itemId:e.itemId,listName:e.listName,loadAttachments:e.loadAttachments,query:e.query,webUrl:e.webUrl}).then((function(a){switch(r.innerHTML="",e.item||e.itemId>0?e.controlMode:o.SPTypes.ControlMode.New){case o.SPTypes.ControlMode.Edit:case o.SPTypes.ControlMode.New:t=n.ListForm.renderEditForm({controlMode:e.controlMode,el:r,onControlRendered:e.onControlRendered,onControlRendering:e.onControlRendering,onSaving:e.onSaving,info:a,template:e.template});break;default:n.ListForm.renderDisplayForm({el:r,info:a,onControlRendered:e.onControlRendered,onControlRendering:e.onControlRendering,template:e.template})}l.classList.remove("d-none")}),(function(){console.error("Error loading the list form information."),r.innerHTML="",a.Components.Alert({el:r,content:"Error loading the list form information.",type:a.Components.AlertTypes.Danger})}))},r.onRenderFooter=function(t){var r=e.actions||null;if(null==r)switch(e.controlMode){case o.SPTypes.ControlMode.Edit:r={spacing:3,items:[{buttons:[{text:"Close",onClick:function(){i.hide()}}]},{buttons:[{text:"Update",onClick:s}]}]};break;case o.SPTypes.ControlMode.New:r={spacing:3,items:[{buttons:[{text:"Close",onClick:function(){i.hide()}}]},{buttons:[{text:"Save",onClick:s}]}]};break;default:r={spacing:3,items:[{buttons:[{text:"Close",onClick:function(){i.hide()}}]}]}}r.el=t,a.Components.Toolbar(r)};var i=a.Components.Modal(r),l=i.el.querySelector(".modal-footer");return l.classList.add("d-none"),i.el.classList.add("listformdialog"),null!=t&&(i.saveForm=s),e.visible&&i.show(),e.assignTo&&e.assignTo(i),i}},585:function(e,t,r){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var a=Object.getOwnPropertyDescriptor(t,r);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,a)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||o(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(8398),t),a(r(8826),t)},609:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Viva=void 0;var o=r(4382);t.Viva=function(e,t,r){return(0,o.generateIcon)("<svg width='32' height='32' viewBox='0 0 512 512' fill='none' xmlns='http://www.w3.org/2000/svg'><defs><linearGradient id='viva_paint0-{0}' x1='322.245' y1='185.503' x2='252.611' y2='3.12093' gradientUnits='userSpaceOnUse'><stop stop-color='#5077CB'/><stop offset='1' stop-color='#72E4ED'/></linearGradient><linearGradient id='viva_paint1-{1}' x1='252.665' y1='383.056' x2='431.786' y2='146.732' gradientUnits='userSpaceOnUse'><stop stop-color='#213781'/><stop offset='0.667497' stop-color='#6C7EE5'/><stop offset='0.980043' stop-color='#B7A1ED'/></linearGradient><linearGradient id='viva_paint2-{2}' x1='82.0333' y1='235.679' x2='179.661' y2='533.566' gradientUnits='userSpaceOnUse'><stop stop-color='#4AA5D9'/><stop offset='0.562399' stop-color='#436DCD'/><stop offset='0.999411' stop-color='#213781'/></linearGradient></defs><path d='M181.033 180.953C222.429 222.349 289.545 222.349 330.94 180.953C372.336 139.558 372.336 72.4423 330.94 31.0467C289.545 -10.3489 222.429 -10.3489 181.033 31.0467C139.638 72.4422 139.638 139.558 181.033 180.953Z' fill='url(#viva_paint0-{0})'/><path d='M384 444.86L507.427 292.189C513.576 284.521 513.646 273.634 506.894 266.468C434.679 189.834 326.184 194.07 257.966 279.148L128 444.86C199.78 534.381 312.22 534.381 384 444.86Z' fill='url(#viva_paint1-{1})'/><path d='M128 444.86L4.5719 292.187C-1.57575 284.519 -1.64611 273.633 5.10621 266.467C77.3207 189.835 185.815 194.07 254.033 279.145L384 444.86C312.221 534.378 199.78 534.377 128 444.86Z' fill='url(#viva_paint2-{2})'/></svg>",e,t,r,3)}},659:function(e,t,r){"use strict";var o,a=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonGroup=void 0;var n=r(2270),s=r(2972),i=r(1112),l=function(e){function t(t,r,o){void 0===r&&(r=i.HTML);var a=e.call(this,r,t)||this;return a._buttons=null,a.configure(o),a.configureParent(),a}return a(t,e),t.prototype.configure=function(e){this.props.id&&(this.el.id=this.props.id),this.props.label&&this.el.setAttribute("aria-label",this.props.label),this.el.classList.add(this.props.isVertical?"btn-group-vertical":"btn-group"),this.props.isLarge&&this.el.classList.add("btn-group-lg"),this.props.isSmall&&this.el.classList.add("btn-group-sm"),this.renderButtons(e)},t.prototype.renderButtons=function(e){this._buttons=[];for(var t=this.props.buttons||[],r=0;r<t.length;r++)this.renderButton(t[r],e)},t.prototype.renderButton=function(e,t){e.type=e.type||this.props.buttonType;var r=(0,s.Button)(e,t);this._buttons.push(r),this.el.appendChild(r.el)},Object.defineProperty(t.prototype,"buttons",{get:function(){return this._buttons},enumerable:!1,configurable:!0}),t.prototype.add=function(e,t){this.renderButton(e,t)},t}(n.Base);t.ButtonGroup=function(e,t,r){return new l(e,t,r)}},745:function(e,t,r){"use strict";var o,a=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Offcanvas=t.OffcanvasTypesClassNames=t.OffcanvasTypes=t.OffcanvasSizeClassNames=t.OffcanvasSize=void 0;var n,s=r(4759),i=r(2270),l=r(3098),p=r(8550);!function(e){e[e.Small=1]="Small",e[e.Small1=2]="Small1",e[e.Small2=3]="Small2",e[e.Small3=4]="Small3",e[e.Medium=5]="Medium",e[e.Medium1=6]="Medium1",e[e.Medium2=7]="Medium2",e[e.Medium3=8]="Medium3",e[e.Large=9]="Large",e[e.Large1=10]="Large1",e[e.Large2=11]="Large2",e[e.Large3=12]="Large3",e[e.XLarge=13]="XLarge",e[e.XXLarge=14]="XXLarge",e[e.Full=15]="Full"}(t.OffcanvasSize||(t.OffcanvasSize={})),t.OffcanvasSizeClassNames=new s.ClassNames(["offcanvas-sm","offcanvas-size-sm1","offcanvas-size-sm2","offcanvas-size-sm3","offcanvas-md","offcanvas-size-md1","offcanvas-size-md2","offcanvas-size-md3","offcanvas-lg","offcanvas-size-lg1","offcanvas-size-lg2","offcanvas-size-lg3","offcanvas-xl","offcanvas-xxl","offcanvas-size-full"]),function(e){e[e.Bottom=1]="Bottom",e[e.End=2]="End",e[e.Start=3]="Start",e[e.Top=4]="Top"}(n=t.OffcanvasTypes||(t.OffcanvasTypes={})),t.OffcanvasTypesClassNames=new s.ClassNames(["offcanvas-bottom","offcanvas-end","offcanvas-start","offcanvas-top"]);var u=function(e){function r(t,r){void 0===r&&(r=p.HTML);var o=e.call(this,r,t)||this;return o._autoClose=null,o._eventCreated=!1,o._tranisitioningFl=!1,o.configure(),o.configureEvents(),o.configureParent(),o}return a(r,e),r.prototype.configure=function(){this.props.id&&(this.el.id=this.props.id),this.setSize(this.props.size),this.setType(this.props.type);var e=this.props.options||{backdrop:!0,keyboard:!0,scroll:!1};e.backdrop&&this.el.setAttribute("data-bs-body","backdrop"),e.scroll&&this.el.setAttribute("data-bs-body","scroll"),(0,l.appendContent)(this.el.querySelector(".offcanvas-header > div"),this.props.title),(0,l.appendContent)(this.el.querySelector(".offcanvas-body"),this.props.body),e.focus&&this.el.focus(),e.visible&&this.toggle()},r.prototype.configureAutoCloseEvent=function(){var e=this;this._eventCreated||(document.body?(document.body.addEventListener("click",(function(t){if(e._autoClose){if(e._tranisitioningFl)return;if(t.composedPath().includes(e.el))return;var r=t.clientX,o=t.clientY,a=e.el.getBoundingClientRect();if(r<=a.right&&r>=a.left&&o<=a.bottom&&o>=a.top)return;if(0==r&&0==o)return;e.isVisible&&e.toggle()}})),this._eventCreated=!0):window.addEventListener("load",(function(){e.configureAutoCloseEvent()})))},r.prototype.configureEvents=function(){var e=this;this.props.onRenderHeader&&this.props.onRenderHeader(this.el.querySelector(".offcanvas-header > div"),this.props),this.props.onRenderBody&&this.props.onRenderBody(this.el.querySelector(".offcanvas-body"),this.props);var t=this.el.querySelector(".btn-close");t&&t.addEventListener("click",(function(){e.hide()})),this.setAutoClose(!this.props.options||"boolean"!=typeof this.props.options.autoClose||this.props.options.autoClose),this.props.options&&this.props.options.keyboard&&this.el.addEventListener("keydown",(function(t){"27"===t.code&&e.isVisible&&e.toggle()}))},r.prototype.hide=function(){var e=this;if(this._tranisitioningFl)var t=setInterval((function(){e._tranisitioningFl||(clearInterval(t),e.isVisible&&e.toggle())}),250);else this.isVisible&&this.toggle()},Object.defineProperty(r.prototype,"isVisible",{get:function(){return this.el.classList.contains("show")},enumerable:!1,configurable:!0}),r.prototype.setAutoClose=function(e){this._autoClose=e,this._autoClose&&this.configureAutoCloseEvent()},r.prototype.setSize=function(e){var r=this;t.OffcanvasSizeClassNames.parse((function(e){r.el.classList.remove(e)}));var o=t.OffcanvasSizeClassNames.getByType(e);o&&this.el.classList.add(o)},r.prototype.setType=function(e){var r=this;t.OffcanvasTypesClassNames.parse((function(e){r.el.classList.remove(e)}));var o=t.OffcanvasTypesClassNames.getByType(e)||t.OffcanvasTypesClassNames.getByType(n.End);this.el.classList.add(o)},r.prototype.show=function(){var e=this;if(this._tranisitioningFl)var t=setInterval((function(){e._tranisitioningFl||(clearInterval(t),!e.isVisible&&e.toggle())}),250);else!this.isVisible&&this.toggle()},r.prototype.toggle=function(){var e=this,t=document.querySelector(".offcanvas-backdrop");(this._tranisitioningFl=!0,this.isVisible)?(this.el.classList.add("offcanvas-toggling"),this.el.classList.remove("show"),setTimeout((function(){e.el.style.visibility="hidden",e.el.classList.remove("offcanvas-toggling"),t&&document.body.removeChild(t),t=null,e._tranisitioningFl=!1,e.props.onClose&&e.props.onClose(e.el)}),250)):((!this.props.options||"boolean"!=typeof this.props.options.backdrop||this.props.options.backdrop)&&null==t&&((t=document.createElement("div")).classList.add("offcanvas-backdrop"),t.classList.add("fade"),t.classList.add("show"),document.body.appendChild(t)),this.el.style.visibility="visible",this.el.classList.add("offcanvas-toggling"),this.el.classList.add("show"),setTimeout((function(){e.el.classList.remove("offcanvas-toggling"),e._tranisitioningFl=!1}),250))},r}(i.Base);t.Offcanvas=function(e,t){return new u(e,t)}},838:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLLink=t.HTMLItem=t.HTML=void 0,t.HTML='\n<nav aria-label="breadcrumb">\n <ol class="breadcrumb"></ol>\n</nav>'.trim(),t.HTMLItem='<li class="breadcrumb-item"></li>',t.HTMLLink='\n<li class="breadcrumb-item">\n <a href="#"></a>\n</li>'.trim()},894:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultClassic=t.DefaultModern=void 0,t.DefaultModern={"--sp-accent":"accent","--sp-black":"black","--sp-blocking-icon":"blockingIcon","--sp-blue":"blue","--sp-blue-light":"blueLight","--sp-error-background":"errorBackground","--sp-error-icon":"errorIcon","--sp-green":"green","--sp-green-dark":"greenDark","--sp-green-light":"greenLight","--sp-info-background":"infoBackground","--sp-info-icon":"infoIcon","--sp-magenta-light":"magentaLight","--sp-neutral-dark":"neutralDark","--sp-neutral-light":"neutralLight","--sp-neutral-lighter":"neutralLighter","--sp-neutral-lighter-alt":"neutralLighterAlt","--sp-neutral-primary":"neutralPrimary","--sp-neutral-primary-alt":"neutralPrimaryAlt","--sp-neutral-secondary":"neutralSecondary","--sp-neutral-secondary-alt":"neutralSecondaryAlt","--sp-neutral-tertiary":"neutralTertiary","--sp-neutral-tertiary-alt":"neutralTertiaryAlt","--sp-neutral-quaternary":"neutralQuaternary","--sp-neutral-quaternary-alt":"neutralQuaternaryAlt","--sp-orange":"orange","--sp-primary-button-text":"primaryButtonText","--sp-primary-text":"primaryText","--sp-purple":"purple","--sp-purple-dark":"purpleDark","--sp-purple-light":"purpleLight","--sp-red":"red","--sp-red-dark":"redDark","--sp-severe-warning-background":"severeWarningBackground","--sp-severe-warning-icon":"severeWarningIcon","--sp-success-background":"successBackground","--sp-success-icon":"successIcon","--sp-teal":"teal","--sp-theme-dark":"themeDark","--sp-theme-darker":"themeDarker","--sp-theme-dark-alt":"themeDarkAlt","--sp-theme-light":"themeLight","--sp-theme-lighter":"themeLighter","--sp-theme-lighter-alt":"themeLighterAlt","--sp-theme-primary":"themePrimary","--sp-theme-secondary":"themeSecondary","--sp-theme-tertiary":"themeTertiary","--sp-warning-background":"warningBackground","--sp-warning-highlight":"warningHighlight","--sp-white":"white","--sp-yellow":"yellow","--sp-yellow-dark":"yellowDark"},t.DefaultClassic={"--sp-accent":"accentButtonBackground","--sp-black":"bodyTextChecked","--sp-blocking-icon":"blockingIcon","--sp-blue":"blue","--sp-blue-light":"blueLight","--sp-error-background":"errorBackground","--sp-error-icon":"errorIcon","--sp-green":"green","--sp-green-dark":"greenDark","--sp-green-light":"greenLight","--sp-info-background":"infoBackground","--sp-info-icon":"infoIcon","--sp-magenta-light":"magentaLight","--sp-neutral-dark":"StrongBodyText","--sp-neutral-light":"DisabledLines","--sp-neutral-lighter":"DialogBorder","--sp-neutral-lighter-alt":"DisabledBackground","--sp-neutral-primary":"ButtonText","--sp-neutral-primary-alt":"neutralPrimaryAlt","--sp-neutral-secondary":"SubtleEmphasisText","--sp-neutral-secondary-alt":"SubtleBodyText","--sp-neutral-tertiary":"DisabledText","--sp-neutral-tertiary-alt":"SubtleLines","--sp-neutral-quaternary":"disabledSubtext","--sp-neutral-quaternary-alt":"listItemBackgroundCheckedHovered","--sp-orange":"orange","--sp-primary-button-text":"TileText","--sp-primary-text":"BodyText","--sp-purple":"purple","--sp-purple-dark":"purpleDark","--sp-purple-light":"purpleLight","--sp-red":"red","--sp-red-dark":"redDark","--sp-severe-warning-background":"severeWarningBackground","--sp-severe-warning-icon":"severeWarningIcon","--sp-success-background":"successBackground","--sp-success-icon":"successIcon","--sp-teal":"teal","--sp-theme-dark":"EmphasisBorder","--sp-theme-darker":"EmphasisHoverBorder","--sp-theme-dark-alt":"primaryButtonBackgroundHovered","--sp-theme-light":"StrongLines","--sp-theme-lighter":"ButtonHoverBackground","--sp-theme-lighter-alt":"themeLighterAlt","--sp-theme-primary":"AccentText","--sp-theme-secondary":"AccentLines","--sp-theme-tertiary":"SuiteBarHoverBackground","--sp-warning-background":"warningBackground","--sp-warning-highlight":"warningHighlight","--sp-white":"EmphasisText","--sp-yellow":"yellow","--sp-yellow-dark":"yellowDark"}},898:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Defender=void 0;var o=r(4382);t.Defender=function(e,t,r){return(0,o.generateIcon)("<svg width='32' he