@fluid-topics/ftds-tree-list 2.1.17 → 2.1.19

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.
@@ -1112,10 +1112,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1112
1112
  margin: auto;
1113
1113
  position: absolute;
1114
1114
  z-index: var(--fa-stack-z-index, auto);
1115
- }`;function Sc(){var e=pc,t=mc,n=M.cssPrefix,o=M.replacementClass,a=au;if(n!==e||o!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(l,".".concat(o))}return a}var ms=!1;function Mo(){M.autoAddCss&&!ms&&(eu(Sc()),ms=!0)}var iu={mixout:function(){return{dom:{css:Sc,insertCss:Mo}}},hooks:function(){return{beforeDOMElementCreation:function(){Mo()},beforeI2svg:function(){Mo()}}}},Ke=ot||{};Ke[Ve]||(Ke[Ve]={});Ke[Ve].styles||(Ke[Ve].styles={});Ke[Ve].hooks||(Ke[Ve].hooks={});Ke[Ve].shims||(Ke[Ve].shims=[]);var Ne=Ke[Ve],Cc=[],Ec=function(){F.removeEventListener("DOMContentLoaded",Ec),En=1,Cc.map(function(t){return t()})},En=!1;Ze&&(En=(F.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(F.readyState),En||F.addEventListener("DOMContentLoaded",Ec));function su(e){Ze&&(En?setTimeout(e,0):Cc.push(e))}function Pr(e){var t=e.tag,n=e.attributes,o=n===void 0?{}:n,a=e.children,i=a===void 0?[]:a;return typeof e=="string"?xc(e):"<".concat(t," ").concat(ru(o),">").concat(i.map(Pr).join(""),"</").concat(t,">")}function hs(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var cu=function(t,n){return function(o,a,i,s){return t.call(n,o,a,i,s)}},zo=function(t,n,o,a){var i=Object.keys(t),s=i.length,l=a!==void 0?cu(n,a):n,d,p,h;for(o===void 0?(d=1,h=t[i[0]]):(d=0,h=o);d<s;d++)p=i[d],h=l(h,t[p],p,t);return h};function Lc(e){return _e(e).length!==1?null:e.codePointAt(0).toString(16)}function gs(e){return Object.keys(e).reduce(function(t,n){var o=e[n],a=!!o.icon;return a?t[o.iconName]=o.icon:t[n]=o,t},{})}function Ho(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.skipHooks,a=o===void 0?!1:o,i=gs(t);typeof Ne.hooks.addPack=="function"&&!a?Ne.hooks.addPack(e,gs(t)):Ne.styles[e]=C(C({},Ne.styles[e]||{}),i),e==="fas"&&Ho("fa",t)}var kr=Ne.styles,lu=Ne.shims,Ac=Object.keys(ea),du=Ac.reduce(function(e,t){return e[t]=Object.keys(ea[t]),e},{}),na=null,Oc={},Rc={},wc={},Nc={},_c={};function uu(e){return~Yd.indexOf(e)}function fu(e,t){var n=t.split("-"),o=n[0],a=n.slice(1).join("-");return o===e&&a!==""&&!uu(a)?a:null}var Mc=function(){var t=function(i){return zo(kr,function(s,l,d){return s[d]=zo(l,i,{}),s},{})};Oc=t(function(a,i,s){if(i[3]&&(a[i[3]]=s),i[2]){var l=i[2].filter(function(d){return typeof d=="number"});l.forEach(function(d){a[d.toString(16)]=s})}return a}),Rc=t(function(a,i,s){if(a[s]=s,i[2]){var l=i[2].filter(function(d){return typeof d=="string"});l.forEach(function(d){a[d]=s})}return a}),_c=t(function(a,i,s){var l=i[2];return a[s]=s,l.forEach(function(d){a[d]=s}),a});var n="far"in kr||M.autoFetchSvg,o=zo(lu,function(a,i){var s=i[0],l=i[1],d=i[2];return l==="far"&&!n&&(l="fas"),typeof s=="string"&&(a.names[s]={prefix:l,iconName:d}),typeof s=="number"&&(a.unicodes[s.toString(16)]={prefix:l,iconName:d}),a},{names:{},unicodes:{}});wc=o.names,Nc=o.unicodes,na=Rn(M.styleDefault,{family:M.familyDefault})};Jd(function(e){na=Rn(e.styleDefault,{family:M.familyDefault})});Mc();function oa(e,t){return(Oc[e]||{})[t]}function pu(e,t){return(Rc[e]||{})[t]}function Et(e,t){return(_c[e]||{})[t]}function zc(e){return wc[e]||{prefix:null,iconName:null}}function mu(e){var t=Nc[e],n=oa("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function at(){return na}var kc=function(){return{prefix:null,iconName:null,rest:[]}};function hu(e){var t=oe,n=Ac.reduce(function(o,a){return o[a]="".concat(M.cssPrefix,"-").concat(a),o},{});return lc.forEach(function(o){(e.includes(n[o])||e.some(function(a){return du[o].includes(a)}))&&(t=o)}),t}function Rn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,o=n===void 0?oe:n,a=jd[o][e];if(o===Ir&&!e)return"fad";var i=us[o][e]||us[o][a],s=e in Ne.styles?e:null,l=i||s||null;return l}function gu(e){var t=[],n=null;return e.forEach(function(o){var a=fu(M.cssPrefix,o);a?n=a:o&&t.push(o)}),{iconName:n,rest:t}}function ys(e){return e.sort().filter(function(t,n,o){return o.indexOf(t)===n})}var bs=uc.concat(dc);function wn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,o=n===void 0?!1:n,a=null,i=ys(e.filter(function(v){return bs.includes(v)})),s=ys(e.filter(function(v){return!bs.includes(v)})),l=i.filter(function(v){return a=v,!Fs.includes(v)}),d=An(l,1),p=d[0],h=p===void 0?null:p,g=hu(i),y=C(C({},gu(s)),{},{prefix:Rn(h,{family:g})});return C(C(C({},y),xu({values:e,family:g,styles:kr,config:M,canonical:y,givenPrefix:a})),yu(o,a,y))}function yu(e,t,n){var o=n.prefix,a=n.iconName;if(e||!o||!a)return{prefix:o,iconName:a};var i=t==="fa"?zc(a):{},s=Et(o,a);return a=i.iconName||s||a,o=i.prefix||o,o==="far"&&!kr.far&&kr.fas&&!M.autoFetchSvg&&(o="fas"),{prefix:o,iconName:a}}var bu=lc.filter(function(e){return e!==oe||e!==Ir}),vu=Object.keys(Po).filter(function(e){return e!==oe}).map(function(e){return Object.keys(Po[e])}).flat();function xu(e){var t=e.values,n=e.family,o=e.canonical,a=e.givenPrefix,i=a===void 0?"":a,s=e.styles,l=s===void 0?{}:s,d=e.config,p=d===void 0?{}:d,h=n===Ir,g=t.includes("fa-duotone")||t.includes("fad"),y=p.familyDefault==="duotone",v=o.prefix==="fad"||o.prefix==="fa-duotone";if(!h&&(g||y||v)&&(o.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(o.prefix="fab"),!o.prefix&&bu.includes(n)){var x=Object.keys(l).find(function(A){return vu.includes(A)});if(x||p.autoFetchSvg){var S=A4.get(n).defaultShortPrefixId;o.prefix=S,o.iconName=Et(o.prefix,o.iconName)||o.iconName}}return(o.prefix==="fa"||i==="fa")&&(o.prefix=at()||"fas"),o}var Su=(function(){function e(){H0(this,e),this.definitions={}}return G0(e,[{key:"add",value:function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=a.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){n.definitions[l]=C(C({},n.definitions[l]||{}),s[l]),Ho(l,s[l]);var d=ea[oe][l];d&&Ho(d,s[l]),Mc()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,o){var a=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(a).map(function(i){var s=a[i],l=s.prefix,d=s.iconName,p=s.icon,h=p[2];n[l]||(n[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(n[l][g]=p)}),n[l][d]=p}),n}}])})(),vs=[],Zt={},qt={},Cu=Object.keys(qt);function Eu(e,t){var n=t.mixoutsTo;return vs=e,Zt={},Object.keys(qt).forEach(function(o){Cu.indexOf(o)===-1&&delete qt[o]}),vs.forEach(function(o){var a=o.mixout?o.mixout():{};if(Object.keys(a).forEach(function(s){typeof a[s]=="function"&&(n[s]=a[s]),Cn(a[s])==="object"&&Object.keys(a[s]).forEach(function(l){n[s]||(n[s]={}),n[s][l]=a[s][l]})}),o.hooks){var i=o.hooks();Object.keys(i).forEach(function(s){Zt[s]||(Zt[s]=[]),Zt[s].push(i[s])})}o.provides&&o.provides(qt)}),n}function Go(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i=Zt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(o))}),t}function At(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=Zt[e]||[];a.forEach(function(i){i.apply(null,n)})}function it(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return qt[e]?qt[e].apply(null,t):void 0}function Wo(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||at();if(t)return t=Et(n,t)||t,hs(Ic.definitions,n,t)||hs(Ne.styles,n,t)}var Ic=new Su,Lu=function(){M.autoReplaceSvg=!1,M.observeMutations=!1,At("noAuto")},Au={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ze?(At("beforeI2svg",t),it("pseudoElements2svg",t),it("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;M.autoReplaceSvg===!1&&(M.autoReplaceSvg=!0),M.observeMutations=!0,su(function(){Ru({autoReplaceSvgRoot:n}),At("watch",t)})}},Ou={icon:function(t){if(t===null)return null;if(Cn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Et(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],o=Rn(t[0]);return{prefix:o,iconName:Et(o,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(M.cssPrefix,"-"))>-1||t.match(Vd))){var a=wn(t.split(" "),{skipLookups:!0});return{prefix:a.prefix||at(),iconName:Et(a.prefix,a.iconName)||a.iconName}}if(typeof t=="string"){var i=at();return{prefix:i,iconName:Et(i,t)||t}}}},ge={noAuto:Lu,config:M,dom:Au,parse:Ou,library:Ic,findIconDefinition:Wo,toHtml:Pr},Ru=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,o=n===void 0?F:n;(Object.keys(Ne.styles).length>0||M.autoFetchSvg)&&Ze&&M.autoReplaceSvg&&ge.dom.i2svg({node:o})};function Nn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(o){return Pr(o)})}}),Object.defineProperty(e,"node",{get:function(){if(Ze){var o=F.createElement("div");return o.innerHTML=e.html,o.children}}}),e}function wu(e){var t=e.children,n=e.main,o=e.mask,a=e.attributes,i=e.styles,s=e.transform;if(ra(s)&&n.found&&!o.found){var l=n.width,d=n.height,p={x:l/d/2,y:.5};a.style=On(C(C({},i),{},{"transform-origin":"".concat(p.x+s.x/16,"em ").concat(p.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function Nu(e){var t=e.prefix,n=e.iconName,o=e.children,a=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(M.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:C(C({},a),{},{id:s}),children:o}]}]}function _u(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function aa(e){var t=e.icons,n=t.main,o=t.mask,a=e.prefix,i=e.iconName,s=e.transform,l=e.symbol,d=e.maskId,p=e.extra,h=e.watchable,g=h===void 0?!1:h,y=o.found?o:n,v=y.width,x=y.height,S=[M.replacementClass,i?"".concat(M.cssPrefix,"-").concat(i):""].filter(function(B){return p.classes.indexOf(B)===-1}).filter(function(B){return B!==""||!!B}).concat(p.classes).join(" "),A={children:[],attributes:C(C({},p.attributes),{},{"data-prefix":a,"data-icon":i,class:S,role:p.attributes.role||"img",viewBox:"0 0 ".concat(v," ").concat(x)})};!_u(p.attributes)&&!p.attributes["aria-hidden"]&&(A.attributes["aria-hidden"]="true"),g&&(A.attributes[Lt]="");var O=C(C({},A),{},{prefix:a,iconName:i,main:n,mask:o,maskId:d,transform:s,symbol:l,styles:C({},p.styles)}),N=o.found&&n.found?it("generateAbstractMask",O)||{children:[],attributes:{}}:it("generateAbstractIcon",O)||{children:[],attributes:{}},z=N.children,T=N.attributes;return O.children=z,O.attributes=T,l?Nu(O):wu(O)}function xs(e){var t=e.content,n=e.width,o=e.height,a=e.transform,i=e.extra,s=e.watchable,l=s===void 0?!1:s,d=C(C({},i.attributes),{},{class:i.classes.join(" ")});l&&(d[Lt]="");var p=C({},i.styles);ra(a)&&(p.transform=ou({transform:a,startCentered:!0,width:n,height:o}),p["-webkit-transform"]=p.transform);var h=On(p);h.length>0&&(d.style=h);var g=[];return g.push({tag:"span",attributes:d,children:[t]}),g}function Mu(e){var t=e.content,n=e.extra,o=C(C({},n.attributes),{},{class:n.classes.join(" ")}),a=On(n.styles);a.length>0&&(o.style=a);var i=[];return i.push({tag:"span",attributes:o,children:[t]}),i}var ko=Ne.styles;function jo(e){var t=e[0],n=e[1],o=e.slice(4),a=An(o,1),i=a[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(M.cssPrefix,"-").concat(_o.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.cssPrefix,"-").concat(_o.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(M.cssPrefix,"-").concat(_o.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:s}}var zu={found:!1,width:512,height:512};function ku(e,t){!gc&&!M.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Vo(e,t){var n=t;return t==="fa"&&M.styleDefault!==null&&(t=at()),new Promise(function(o,a){if(n==="fa"){var i=zc(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ko[t]&&ko[t][e]){var s=ko[t][e];return o(jo(s))}ku(e,t),o(C(C({},zu),{},{icon:M.showMissingIcons&&e?it("missingIconAbstract")||{}:{}}))})}var Ss=function(){},Ko=M.measurePerformance&&hn&&hn.mark&&hn.measure?hn:{mark:Ss,measure:Ss},_r='FA "7.3.1"',Iu=function(t){return Ko.mark("".concat(_r," ").concat(t," begins")),function(){return Tc(t)}},Tc=function(t){Ko.mark("".concat(_r," ").concat(t," ends")),Ko.measure("".concat(_r," ").concat(t),"".concat(_r," ").concat(t," begins"),"".concat(_r," ").concat(t," ends"))},ia={begin:Iu,end:Tc},xn=function(){};function Cs(e){var t=e.getAttribute?e.getAttribute(Lt):null;return typeof t=="string"}function Tu(e){var t=e.getAttribute?e.getAttribute(Qo):null,n=e.getAttribute?e.getAttribute(Jo):null;return t&&n}function Pu(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(M.replacementClass)}function Du(){if(M.autoReplaceSvg===!0)return Sn.replace;var e=Sn[M.autoReplaceSvg];return e||Sn.replace}function Uu(e){return F.createElementNS("http://www.w3.org/2000/svg",e)}function Bu(e){return F.createElement(e)}function Pc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,o=n===void 0?e.tag==="svg"?Uu:Bu:n;if(typeof e=="string")return F.createTextNode(e);var a=o(e.tag);Object.keys(e.attributes||[]).forEach(function(s){a.setAttribute(s,e.attributes[s])});var i=e.children||[];return i.forEach(function(s){a.appendChild(Pc(s,{ceFn:o}))}),a}function Fu(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Sn={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(a){n.parentNode.insertBefore(Pc(a),n)}),n.getAttribute(Lt)===null&&M.keepOriginalSource){var o=F.createComment(Fu(n));n.parentNode.replaceChild(o,n)}else n.remove()},nest:function(t){var n=t[0],o=t[1];if(~ta(n).indexOf(M.replacementClass))return Sn.replace(t);var a=new RegExp("".concat(M.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){var i=o[0].attributes.class.split(" ").reduce(function(l,d){return d===M.replacementClass||d.match(a)?l.toSvg.push(d):l.toNode.push(d),l},{toNode:[],toSvg:[]});o[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var s=o.map(function(l){return Pr(l)}).join(`
1115
+ }`;function Sc(){var e=pc,t=mc,n=M.cssPrefix,o=M.replacementClass,a=au;if(n!==e||o!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(l,".".concat(o))}return a}var ms=!1;function Mo(){M.autoAddCss&&!ms&&(eu(Sc()),ms=!0)}var iu={mixout:function(){return{dom:{css:Sc,insertCss:Mo}}},hooks:function(){return{beforeDOMElementCreation:function(){Mo()},beforeI2svg:function(){Mo()}}}},Ke=ot||{};Ke[Ve]||(Ke[Ve]={});Ke[Ve].styles||(Ke[Ve].styles={});Ke[Ve].hooks||(Ke[Ve].hooks={});Ke[Ve].shims||(Ke[Ve].shims=[]);var Ne=Ke[Ve],Cc=[],Ec=function(){F.removeEventListener("DOMContentLoaded",Ec),En=1,Cc.map(function(t){return t()})},En=!1;Ze&&(En=(F.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(F.readyState),En||F.addEventListener("DOMContentLoaded",Ec));function su(e){Ze&&(En?setTimeout(e,0):Cc.push(e))}function Pr(e){var t=e.tag,n=e.attributes,o=n===void 0?{}:n,a=e.children,i=a===void 0?[]:a;return typeof e=="string"?xc(e):"<".concat(t," ").concat(ru(o),">").concat(i.map(Pr).join(""),"</").concat(t,">")}function hs(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var cu=function(t,n){return function(o,a,i,s){return t.call(n,o,a,i,s)}},zo=function(t,n,o,a){var i=Object.keys(t),s=i.length,l=a!==void 0?cu(n,a):n,d,p,h;for(o===void 0?(d=1,h=t[i[0]]):(d=0,h=o);d<s;d++)p=i[d],h=l(h,t[p],p,t);return h};function Lc(e){return _e(e).length!==1?null:e.codePointAt(0).toString(16)}function gs(e){return Object.keys(e).reduce(function(t,n){var o=e[n],a=!!o.icon;return a?t[o.iconName]=o.icon:t[n]=o,t},{})}function Ho(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.skipHooks,a=o===void 0?!1:o,i=gs(t);typeof Ne.hooks.addPack=="function"&&!a?Ne.hooks.addPack(e,gs(t)):Ne.styles[e]=C(C({},Ne.styles[e]||{}),i),e==="fas"&&Ho("fa",t)}var kr=Ne.styles,lu=Ne.shims,Ac=Object.keys(ea),du=Ac.reduce(function(e,t){return e[t]=Object.keys(ea[t]),e},{}),na=null,Oc={},Rc={},wc={},Nc={},_c={};function uu(e){return~Yd.indexOf(e)}function fu(e,t){var n=t.split("-"),o=n[0],a=n.slice(1).join("-");return o===e&&a!==""&&!uu(a)?a:null}var Mc=function(){var t=function(i){return zo(kr,function(s,l,d){return s[d]=zo(l,i,{}),s},{})};Oc=t(function(a,i,s){if(i[3]&&(a[i[3]]=s),i[2]){var l=i[2].filter(function(d){return typeof d=="number"});l.forEach(function(d){a[d.toString(16)]=s})}return a}),Rc=t(function(a,i,s){if(a[s]=s,i[2]){var l=i[2].filter(function(d){return typeof d=="string"});l.forEach(function(d){a[d]=s})}return a}),_c=t(function(a,i,s){var l=i[2];return a[s]=s,l.forEach(function(d){a[d]=s}),a});var n="far"in kr||M.autoFetchSvg,o=zo(lu,function(a,i){var s=i[0],l=i[1],d=i[2];return l==="far"&&!n&&(l="fas"),typeof s=="string"&&(a.names[s]={prefix:l,iconName:d}),typeof s=="number"&&(a.unicodes[s.toString(16)]={prefix:l,iconName:d}),a},{names:{},unicodes:{}});wc=o.names,Nc=o.unicodes,na=Rn(M.styleDefault,{family:M.familyDefault})};Jd(function(e){na=Rn(e.styleDefault,{family:M.familyDefault})});Mc();function oa(e,t){return(Oc[e]||{})[t]}function pu(e,t){return(Rc[e]||{})[t]}function Et(e,t){return(_c[e]||{})[t]}function zc(e){return wc[e]||{prefix:null,iconName:null}}function mu(e){var t=Nc[e],n=oa("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function at(){return na}var kc=function(){return{prefix:null,iconName:null,rest:[]}};function hu(e){var t=oe,n=Ac.reduce(function(o,a){return o[a]="".concat(M.cssPrefix,"-").concat(a),o},{});return lc.forEach(function(o){(e.includes(n[o])||e.some(function(a){return du[o].includes(a)}))&&(t=o)}),t}function Rn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,o=n===void 0?oe:n,a=jd[o][e];if(o===Ir&&!e)return"fad";var i=us[o][e]||us[o][a],s=e in Ne.styles?e:null,l=i||s||null;return l}function gu(e){var t=[],n=null;return e.forEach(function(o){var a=fu(M.cssPrefix,o);a?n=a:o&&t.push(o)}),{iconName:n,rest:t}}function ys(e){return e.sort().filter(function(t,n,o){return o.indexOf(t)===n})}var bs=uc.concat(dc);function wn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,o=n===void 0?!1:n,a=null,i=ys(e.filter(function(v){return bs.includes(v)})),s=ys(e.filter(function(v){return!bs.includes(v)})),l=i.filter(function(v){return a=v,!Fs.includes(v)}),d=An(l,1),p=d[0],h=p===void 0?null:p,g=hu(i),y=C(C({},gu(s)),{},{prefix:Rn(h,{family:g})});return C(C(C({},y),xu({values:e,family:g,styles:kr,config:M,canonical:y,givenPrefix:a})),yu(o,a,y))}function yu(e,t,n){var o=n.prefix,a=n.iconName;if(e||!o||!a)return{prefix:o,iconName:a};var i=t==="fa"?zc(a):{},s=Et(o,a);return a=i.iconName||s||a,o=i.prefix||o,o==="far"&&!kr.far&&kr.fas&&!M.autoFetchSvg&&(o="fas"),{prefix:o,iconName:a}}var bu=lc.filter(function(e){return e!==oe||e!==Ir}),vu=Object.keys(Po).filter(function(e){return e!==oe}).map(function(e){return Object.keys(Po[e])}).flat();function xu(e){var t=e.values,n=e.family,o=e.canonical,a=e.givenPrefix,i=a===void 0?"":a,s=e.styles,l=s===void 0?{}:s,d=e.config,p=d===void 0?{}:d,h=n===Ir,g=t.includes("fa-duotone")||t.includes("fad"),y=p.familyDefault==="duotone",v=o.prefix==="fad"||o.prefix==="fa-duotone";if(!h&&(g||y||v)&&(o.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(o.prefix="fab"),!o.prefix&&bu.includes(n)){var x=Object.keys(l).find(function(A){return vu.includes(A)});if(x||p.autoFetchSvg){var S=A4.get(n).defaultShortPrefixId;o.prefix=S,o.iconName=Et(o.prefix,o.iconName)||o.iconName}}return(o.prefix==="fa"||i==="fa")&&(o.prefix=at()||"fas"),o}var Su=(function(){function e(){H0(this,e),this.definitions={}}return G0(e,[{key:"add",value:function(){for(var n=this,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s=a.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){n.definitions[l]=C(C({},n.definitions[l]||{}),s[l]),Ho(l,s[l]);var d=ea[oe][l];d&&Ho(d,s[l]),Mc()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,o){var a=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(a).map(function(i){var s=a[i],l=s.prefix,d=s.iconName,p=s.icon,h=p[2];n[l]||(n[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(n[l][g]=p)}),n[l][d]=p}),n}}])})(),vs=[],Zt={},qt={},Cu=Object.keys(qt);function Eu(e,t){var n=t.mixoutsTo;return vs=e,Zt={},Object.keys(qt).forEach(function(o){Cu.indexOf(o)===-1&&delete qt[o]}),vs.forEach(function(o){var a=o.mixout?o.mixout():{};if(Object.keys(a).forEach(function(s){typeof a[s]=="function"&&(n[s]=a[s]),Cn(a[s])==="object"&&Object.keys(a[s]).forEach(function(l){n[s]||(n[s]={}),n[s][l]=a[s][l]})}),o.hooks){var i=o.hooks();Object.keys(i).forEach(function(s){Zt[s]||(Zt[s]=[]),Zt[s].push(i[s])})}o.provides&&o.provides(qt)}),n}function Go(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i=Zt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(o))}),t}function At(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=Zt[e]||[];a.forEach(function(i){i.apply(null,n)})}function it(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return qt[e]?qt[e].apply(null,t):void 0}function Wo(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||at();if(t)return t=Et(n,t)||t,hs(Ic.definitions,n,t)||hs(Ne.styles,n,t)}var Ic=new Su,Lu=function(){M.autoReplaceSvg=!1,M.observeMutations=!1,At("noAuto")},Au={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Ze?(At("beforeI2svg",t),it("pseudoElements2svg",t),it("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;M.autoReplaceSvg===!1&&(M.autoReplaceSvg=!0),M.observeMutations=!0,su(function(){Ru({autoReplaceSvgRoot:n}),At("watch",t)})}},Ou={icon:function(t){if(t===null)return null;if(Cn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Et(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],o=Rn(t[0]);return{prefix:o,iconName:Et(o,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(M.cssPrefix,"-"))>-1||t.match(Vd))){var a=wn(t.split(" "),{skipLookups:!0});return{prefix:a.prefix||at(),iconName:Et(a.prefix,a.iconName)||a.iconName}}if(typeof t=="string"){var i=at();return{prefix:i,iconName:Et(i,t)||t}}}},ye={noAuto:Lu,config:M,dom:Au,parse:Ou,library:Ic,findIconDefinition:Wo,toHtml:Pr},Ru=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,o=n===void 0?F:n;(Object.keys(Ne.styles).length>0||M.autoFetchSvg)&&Ze&&M.autoReplaceSvg&&ye.dom.i2svg({node:o})};function Nn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(o){return Pr(o)})}}),Object.defineProperty(e,"node",{get:function(){if(Ze){var o=F.createElement("div");return o.innerHTML=e.html,o.children}}}),e}function wu(e){var t=e.children,n=e.main,o=e.mask,a=e.attributes,i=e.styles,s=e.transform;if(ra(s)&&n.found&&!o.found){var l=n.width,d=n.height,p={x:l/d/2,y:.5};a.style=On(C(C({},i),{},{"transform-origin":"".concat(p.x+s.x/16,"em ").concat(p.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function Nu(e){var t=e.prefix,n=e.iconName,o=e.children,a=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(M.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:C(C({},a),{},{id:s}),children:o}]}]}function _u(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function aa(e){var t=e.icons,n=t.main,o=t.mask,a=e.prefix,i=e.iconName,s=e.transform,l=e.symbol,d=e.maskId,p=e.extra,h=e.watchable,g=h===void 0?!1:h,y=o.found?o:n,v=y.width,x=y.height,S=[M.replacementClass,i?"".concat(M.cssPrefix,"-").concat(i):""].filter(function(B){return p.classes.indexOf(B)===-1}).filter(function(B){return B!==""||!!B}).concat(p.classes).join(" "),A={children:[],attributes:C(C({},p.attributes),{},{"data-prefix":a,"data-icon":i,class:S,role:p.attributes.role||"img",viewBox:"0 0 ".concat(v," ").concat(x)})};!_u(p.attributes)&&!p.attributes["aria-hidden"]&&(A.attributes["aria-hidden"]="true"),g&&(A.attributes[Lt]="");var O=C(C({},A),{},{prefix:a,iconName:i,main:n,mask:o,maskId:d,transform:s,symbol:l,styles:C({},p.styles)}),N=o.found&&n.found?it("generateAbstractMask",O)||{children:[],attributes:{}}:it("generateAbstractIcon",O)||{children:[],attributes:{}},z=N.children,T=N.attributes;return O.children=z,O.attributes=T,l?Nu(O):wu(O)}function xs(e){var t=e.content,n=e.width,o=e.height,a=e.transform,i=e.extra,s=e.watchable,l=s===void 0?!1:s,d=C(C({},i.attributes),{},{class:i.classes.join(" ")});l&&(d[Lt]="");var p=C({},i.styles);ra(a)&&(p.transform=ou({transform:a,startCentered:!0,width:n,height:o}),p["-webkit-transform"]=p.transform);var h=On(p);h.length>0&&(d.style=h);var g=[];return g.push({tag:"span",attributes:d,children:[t]}),g}function Mu(e){var t=e.content,n=e.extra,o=C(C({},n.attributes),{},{class:n.classes.join(" ")}),a=On(n.styles);a.length>0&&(o.style=a);var i=[];return i.push({tag:"span",attributes:o,children:[t]}),i}var ko=Ne.styles;function jo(e){var t=e[0],n=e[1],o=e.slice(4),a=An(o,1),i=a[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(M.cssPrefix,"-").concat(_o.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.cssPrefix,"-").concat(_o.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(M.cssPrefix,"-").concat(_o.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:s}}var zu={found:!1,width:512,height:512};function ku(e,t){!gc&&!M.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Vo(e,t){var n=t;return t==="fa"&&M.styleDefault!==null&&(t=at()),new Promise(function(o,a){if(n==="fa"){var i=zc(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ko[t]&&ko[t][e]){var s=ko[t][e];return o(jo(s))}ku(e,t),o(C(C({},zu),{},{icon:M.showMissingIcons&&e?it("missingIconAbstract")||{}:{}}))})}var Ss=function(){},Ko=M.measurePerformance&&hn&&hn.mark&&hn.measure?hn:{mark:Ss,measure:Ss},_r='FA "7.3.1"',Iu=function(t){return Ko.mark("".concat(_r," ").concat(t," begins")),function(){return Tc(t)}},Tc=function(t){Ko.mark("".concat(_r," ").concat(t," ends")),Ko.measure("".concat(_r," ").concat(t),"".concat(_r," ").concat(t," begins"),"".concat(_r," ").concat(t," ends"))},ia={begin:Iu,end:Tc},xn=function(){};function Cs(e){var t=e.getAttribute?e.getAttribute(Lt):null;return typeof t=="string"}function Tu(e){var t=e.getAttribute?e.getAttribute(Qo):null,n=e.getAttribute?e.getAttribute(Jo):null;return t&&n}function Pu(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(M.replacementClass)}function Du(){if(M.autoReplaceSvg===!0)return Sn.replace;var e=Sn[M.autoReplaceSvg];return e||Sn.replace}function Uu(e){return F.createElementNS("http://www.w3.org/2000/svg",e)}function Bu(e){return F.createElement(e)}function Pc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,o=n===void 0?e.tag==="svg"?Uu:Bu:n;if(typeof e=="string")return F.createTextNode(e);var a=o(e.tag);Object.keys(e.attributes||[]).forEach(function(s){a.setAttribute(s,e.attributes[s])});var i=e.children||[];return i.forEach(function(s){a.appendChild(Pc(s,{ceFn:o}))}),a}function Fu(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Sn={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(a){n.parentNode.insertBefore(Pc(a),n)}),n.getAttribute(Lt)===null&&M.keepOriginalSource){var o=F.createComment(Fu(n));n.parentNode.replaceChild(o,n)}else n.remove()},nest:function(t){var n=t[0],o=t[1];if(~ta(n).indexOf(M.replacementClass))return Sn.replace(t);var a=new RegExp("".concat(M.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){var i=o[0].attributes.class.split(" ").reduce(function(l,d){return d===M.replacementClass||d.match(a)?l.toSvg.push(d):l.toNode.push(d),l},{toNode:[],toSvg:[]});o[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var s=o.map(function(l){return Pr(l)}).join(`
1116
1116
  `);n.setAttribute(Lt,""),n.innerHTML=s}};function Es(e){e()}function Dc(e,t){var n=typeof t=="function"?t:xn;if(e.length===0)n();else{var o=Es;M.mutateApproach===Gd&&(o=ot.requestAnimationFrame||Es),o(function(){var a=Du(),i=ia.begin("mutate");e.map(a),i(),n()})}}var sa=!1;function Uc(){sa=!0}function Zo(){sa=!1}var Ln=null;function Ls(e){if(ss&&M.observeMutations){var t=e.treeCallback,n=t===void 0?xn:t,o=e.nodeCallback,a=o===void 0?xn:o,i=e.pseudoElementsCallback,s=i===void 0?xn:i,l=e.observeMutationsRoot,d=l===void 0?F:l;Ln=new ss(function(p){if(!sa){var h=at();Xt(p).forEach(function(g){if(g.type==="childList"&&g.addedNodes.length>0&&!Cs(g.addedNodes[0])&&(M.searchPseudoElements&&s(g.target),n(g.target)),g.type==="attributes"&&g.target.parentNode&&M.searchPseudoElements&&s([g.target],!0),g.type==="attributes"&&Cs(g.target)&&~qd.indexOf(g.attributeName))if(g.attributeName==="class"&&Tu(g.target)){var y=wn(ta(g.target)),v=y.prefix,x=y.iconName;g.target.setAttribute(Qo,v||h),x&&g.target.setAttribute(Jo,x)}else Pu(g.target)&&a(g.target)})}}),Ze&&Ln.observe(d,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function $u(){Ln&&Ln.disconnect()}function Hu(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(o,a){var i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(o[s]=l.join(":").trim()),o},{})),n}function Gu(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),o=e.innerText!==void 0?e.innerText.trim():"",a=wn(ta(e));return a.prefix||(a.prefix=at()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=pu(a.prefix,e.innerText)||oa(a.prefix,Lc(e.innerText))),!a.iconName&&M.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Wu(e){var t=Xt(e.attributes).reduce(function(n,o){return n.name!=="class"&&n.name!=="style"&&(n[o.name]=o.value),n},{});return t}function ju(){return{iconName:null,prefix:null,transform:$e,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function As(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Gu(e),o=n.iconName,a=n.prefix,i=n.rest,s=Wu(e),l=Go("parseNodeAttributes",{},e),d=t.styleParser?Hu(e):[];return C({iconName:o,prefix:a,transform:$e,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:d,attributes:s}},l)}var Vu=Ne.styles;function Bc(e){var t=M.autoReplaceSvg==="nest"?As(e,{styleParser:!1}):As(e);return~t.extra.classes.indexOf(bc)?it("generateLayersText",e,t):it("generateSvgReplacementMutation",e,t)}function Ku(){return[].concat(_e(dc),_e(uc))}function Os(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Ze)return Promise.resolve();var n=F.documentElement.classList,o=function(g){return n.add("".concat(ds,"-").concat(g))},a=function(g){return n.remove("".concat(ds,"-").concat(g))},i=M.autoFetchSvg?Ku():Fs.concat(Object.keys(Vu));i.includes("fa")||i.push("fa");var s=[".".concat(bc,":not([").concat(Lt,"])")].concat(i.map(function(h){return".".concat(h,":not([").concat(Lt,"])")})).join(", ");if(s.length===0)return Promise.resolve();var l=[];try{l=Xt(e.querySelectorAll(s))}catch{}if(l.length>0)o("pending"),a("complete");else return Promise.resolve();var d=ia.begin("onTree"),p=l.reduce(function(h,g){try{var y=Bc(g);y&&h.push(y)}catch(v){gc||v.name==="MissingIcon"&&console.error(v)}return h},[]);return new Promise(function(h,g){Promise.all(p).then(function(y){Dc(y,function(){o("active"),o("complete"),a("pending"),typeof t=="function"&&t(),d(),h()})}).catch(function(y){d(),g(y)})})}function Zu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Bc(e).then(function(n){n&&Dc([n],t)})}function qu(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=(t||{}).icon?t:Wo(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:Wo(a||{})),e(o,C(C({},n),{},{mask:a}))}}var Yu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.transform,a=o===void 0?$e:o,i=n.symbol,s=i===void 0?!1:i,l=n.mask,d=l===void 0?null:l,p=n.maskId,h=p===void 0?null:p,g=n.classes,y=g===void 0?[]:g,v=n.attributes,x=v===void 0?{}:v,S=n.styles,A=S===void 0?{}:S;if(t){var O=t.prefix,N=t.iconName,z=t.icon;return Nn(C({type:"icon"},t),function(){return At("beforeDOMElementCreation",{iconDefinition:t,params:n}),aa({icons:{main:jo(z),mask:d?jo(d.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:N,transform:C(C({},$e),a),symbol:s,maskId:h,extra:{attributes:x,styles:A,classes:y}})})}},Xu={mixout:function(){return{icon:qu(Yu)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Os,n.nodeCallback=Zu,n}}},provides:function(t){t.i2svg=function(n){var o=n.node,a=o===void 0?F:o,i=n.callback,s=i===void 0?function(){}:i;return Os(a,s)},t.generateSvgReplacementMutation=function(n,o){var a=o.iconName,i=o.prefix,s=o.transform,l=o.symbol,d=o.mask,p=o.maskId,h=o.extra;return new Promise(function(g,y){Promise.all([Vo(a,i),d.iconName?Vo(d.iconName,d.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var x=An(v,2),S=x[0],A=x[1];g([n,aa({icons:{main:S,mask:A},prefix:i,iconName:a,transform:s,symbol:l,maskId:p,extra:h,watchable:!0})])}).catch(y)})},t.generateAbstractIcon=function(n){var o=n.children,a=n.attributes,i=n.main,s=n.transform,l=n.styles,d=On(l);d.length>0&&(a.style=d);var p;return ra(s)&&(p=it("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),o.push(p||i.icon),{children:o,attributes:a}}}},Qu={mixout:function(){return{layer:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.classes,i=a===void 0?[]:a;return Nn({type:"layer"},function(){At("beforeDOMElementCreation",{assembler:n,params:o});var s=[];return n(function(l){Array.isArray(l)?l.map(function(d){s=s.concat(d.abstract)}):s=s.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(M.cssPrefix,"-layers")].concat(_e(i)).join(" ")},children:s}]})}}}},Ju={mixout:function(){return{counter:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.title,i=a===void 0?null:a,s=o.classes,l=s===void 0?[]:s,d=o.attributes,p=d===void 0?{}:d,h=o.styles,g=h===void 0?{}:h;return Nn({type:"counter",content:n},function(){return At("beforeDOMElementCreation",{content:n,params:o}),Mu({content:n.toString(),title:i,extra:{attributes:p,styles:g,classes:["".concat(M.cssPrefix,"-layers-counter")].concat(_e(l))}})})}}}},ef={mixout:function(){return{text:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.transform,i=a===void 0?$e:a,s=o.classes,l=s===void 0?[]:s,d=o.attributes,p=d===void 0?{}:d,h=o.styles,g=h===void 0?{}:h;return Nn({type:"text",content:n},function(){return At("beforeDOMElementCreation",{content:n,params:o}),xs({content:n,transform:C(C({},$e),i),extra:{attributes:p,styles:g,classes:["".concat(M.cssPrefix,"-layers-text")].concat(_e(l))}})})}}},provides:function(t){t.generateLayersText=function(n,o){var a=o.transform,i=o.extra,s=null,l=null;if(Us){var d=parseInt(getComputedStyle(n).fontSize,10),p=n.getBoundingClientRect();s=p.width/d,l=p.height/d}return Promise.resolve([n,xs({content:n.innerHTML,width:s,height:l,transform:a,extra:i,watchable:!0})])}}},Fc=new RegExp('"',"ug"),Rs=[1105920,1112319],ws=C(C(C(C({},{FontAwesome:{normal:"fas",400:"fas"}}),L4),$d),k4),qo=Object.keys(ws).reduce(function(e,t){return e[t.toLowerCase()]=ws[t],e},{}),tf=Object.keys(qo).reduce(function(e,t){var n=qo[t];return e[t]=n[900]||_e(Object.entries(n))[0][1],e},{});function rf(e){var t=e.replace(Fc,"");return Lc(_e(t)[0]||"")}function nf(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content"),o=n.replace(Fc,""),a=o.codePointAt(0),i=a>=Rs[0]&&a<=Rs[1],s=o.length===2?o[0]===o[1]:!1;return i||s||t}function of(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(t),a=isNaN(o)?"normal":o;return(qo[n]||{})[a]||tf[n]}function Ns(e,t){var n="".concat(Hd).concat(t.replace(":","-"));return new Promise(function(o,a){if(e.getAttribute(n)!==null)return o();var i=Xt(e.children),s=i.filter(function(H){return H.getAttribute(Uo)===t})[0],l=ot.getComputedStyle(e,t),d=l.getPropertyValue("font-family"),p=d.match(Kd),h=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!p)return e.removeChild(s),o();if(p&&g!=="none"&&g!==""){var y=l.getPropertyValue("content"),v=of(d,h),x=rf(y),S=p[0].startsWith("FontAwesome"),A=nf(l),O=oa(v,x),N=O;if(S){var z=mu(x);z.iconName&&z.prefix&&(O=z.iconName,v=z.prefix)}if(O&&!A&&(!s||s.getAttribute(Qo)!==v||s.getAttribute(Jo)!==N)){e.setAttribute(n,N),s&&e.removeChild(s);var T=ju(),B=T.extra;B.attributes[Uo]=t,Vo(O,v).then(function(H){var Ue=aa(C(C({},T),{},{icons:{main:H,mask:kc()},prefix:v,iconName:N,extra:B,watchable:!0})),bt=F.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(bt,e.firstChild):e.appendChild(bt),bt.outerHTML=Ue.map(function(Be){return Pr(Be)}).join(`
1117
1117
  `),e.removeAttribute(n),o()}).catch(a)}else o()}else o()})}function af(e){return Promise.all([Ns(e,"::before"),Ns(e,"::after")])}function sf(e){return e.parentNode!==document.head&&!~Wd.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Uo)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var cf=function(t){return!!t&&hc.some(function(n){return t.includes(n)})},lf=function(t){if(!t)return[];var n=new Set,o=t.split(/,(?![^()]*\))/).map(function(d){return d.trim()});o=o.flatMap(function(d){return d.includes("(")?d:d.split(",").map(function(p){return p.trim()})});var a=vn(o),i;try{for(a.s();!(i=a.n()).done;){var s=i.value;if(cf(s)){var l=hc.reduce(function(d,p){return d.replace(p,"")},s);l!==""&&l!=="*"&&n.add(l)}}}catch(d){a.e(d)}finally{a.f()}return n};function _s(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Ze){var n;if(t)n=e;else if(M.searchPseudoElementsFullScan)n=e.querySelectorAll("*");else{var o=new Set,a=vn(document.styleSheets),i;try{for(a.s();!(i=a.n()).done;){var s=i.value;try{var l=vn(s.cssRules),d;try{for(l.s();!(d=l.n()).done;){var p=d.value,h=lf(p.selectorText),g=vn(h),y;try{for(g.s();!(y=g.n()).done;){var v=y.value;o.add(v)}}catch(S){g.e(S)}finally{g.f()}}}catch(S){l.e(S)}finally{l.f()}}catch(S){M.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(S.message,`)
1118
- If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(S){a.e(S)}finally{a.f()}if(!o.size)return;var x=Array.from(o).join(", ");try{n=e.querySelectorAll(x)}catch{}}return new Promise(function(S,A){var O=Xt(n).filter(sf).map(af),N=ia.begin("searchPseudoElements");Uc(),Promise.all(O).then(function(){N(),Zo(),S()}).catch(function(){N(),Zo(),A()})})}}var df={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=_s,n}}},provides:function(t){t.pseudoElements2svg=function(n){var o=n.node,a=o===void 0?F:o;M.searchPseudoElements&&_s(a)}}},Ms=!1,uf={mixout:function(){return{dom:{unwatch:function(){Uc(),Ms=!0}}}},hooks:function(){return{bootstrap:function(){Ls(Go("mutationObserverCallbacks",{}))},noAuto:function(){$u()},watch:function(n){var o=n.observeMutationsRoot;Ms?Zo():Ls(Go("mutationObserverCallbacks",{observeMutationsRoot:o}))}}}},zs=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(o,a){var i=a.toLowerCase().split("-"),s=i[0],l=i.slice(1).join("-");if(s&&l==="h")return o.flipX=!0,o;if(s&&l==="v")return o.flipY=!0,o;if(l=parseFloat(l),isNaN(l))return o;switch(s){case"grow":o.size=o.size+l;break;case"shrink":o.size=o.size-l;break;case"left":o.x=o.x-l;break;case"right":o.x=o.x+l;break;case"up":o.y=o.y-l;break;case"down":o.y=o.y+l;break;case"rotate":o.rotate=o.rotate+l;break}return o},n)},ff={mixout:function(){return{parse:{transform:function(n){return zs(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,o){var a=o.getAttribute("data-fa-transform");return a&&(n.transform=zs(a)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var o=n.main,a=n.transform,i=n.containerWidth,s=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},d="translate(".concat(a.x*32,", ").concat(a.y*32,") "),p="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),g={transform:"".concat(d," ").concat(p," ").concat(h)},y={transform:"translate(".concat(s/2*-1," -256)")},v={outer:l,inner:g,path:y};return{tag:"g",attributes:C({},v.outer),children:[{tag:"g",attributes:C({},v.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:C(C({},o.icon.attributes),v.path)}]}]}}}},Io={x:0,y:0,width:"100%",height:"100%"};function ks(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function pf(e){return e.tag==="g"?e.children:[e]}var mf={hooks:function(){return{parseNodeAttributes:function(n,o){var a=o.getAttribute("data-fa-mask"),i=a?wn(a.split(" ").map(function(s){return s.trim()})):kc();return i.prefix||(i.prefix=at()),n.mask=i,n.maskId=o.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var o=n.children,a=n.attributes,i=n.main,s=n.mask,l=n.maskId,d=n.transform,p=i.width,h=i.icon,g=s.width,y=s.icon,v=nu({transform:d,containerWidth:g,iconWidth:p}),x={tag:"rect",attributes:C(C({},Io),{},{fill:"white"})},S=h.children?{children:h.children.map(ks)}:{},A={tag:"g",attributes:C({},v.inner),children:[ks(C({tag:h.tag,attributes:C(C({},h.attributes),v.path)},S))]},O={tag:"g",attributes:C({},v.outer),children:[A]},N="mask-".concat(l||ps()),z="clip-".concat(l||ps()),T={tag:"mask",attributes:C(C({},Io),{},{id:N,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,O]},B={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:pf(y)},T]};return o.push(B,{tag:"rect",attributes:C({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(N,")")},Io)}),{children:o,attributes:a}}}},hf={provides:function(t){var n=!1;ot.matchMedia&&(n=ot.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var o=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:C(C({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=C(C({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:C(C({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:C(C({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:C(C({},s),{},{values:"1;0;1;1;0;1;"})}),o.push(l),o.push({tag:"path",attributes:C(C({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:C(C({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||o.push({tag:"path",attributes:C(C({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:C(C({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},gf={hooks:function(){return{parseNodeAttributes:function(n,o){var a=o.getAttribute("data-fa-symbol"),i=a===null?!1:a===""?!0:a;return n.symbol=i,n}}}},yf=[iu,Xu,Qu,Ju,ef,df,uf,ff,mf,hf,gf];Eu(yf,{mixoutsTo:ge});var Fm=ge.noAuto,$m=ge.config,$c=ge.library,Hm=ge.dom,Gm=ge.parse,Wm=ge.findIconDefinition,jm=ge.toHtml,Hc=ge.icon,Vm=ge.layer,Km=ge.text,Zm=ge.counter;var m;(function(e){e.LOCK_KEYHOLE="lock-keyhole",e.LINK_SIMPLE_SLASH="link-simple-slash",e.TABLE_LAYOUT="table-layout",e.LAYER_GROUP="layer-group",e.CIRCLE_INFO="circle-info",e.BARS_PROGRESS="bars-progress",e.CODE_COMPARE="code-compare",e.ARROW_TURN_RIGHT="arrow-turn-right",e.HOURGLASS_END="hourglass-end",e.BOX_ARCHIVE="box-archive",e.ARROWS_ROTATE="arrows-rotate",e.CIRCLE_DOT="circle-dot",e.ANGLES_LEFT="angles-left",e.ROUTE="route",e.BARS="bars",e.ARROW_DOWN="arrow-down",e.LOCK_KEYHOLE_OPEN="lock-keyhole-open",e.DESKTOP="desktop",e.ANGLES_RIGHT="angles-right",e.PIGGY_BANK="piggy-bank",e.ANGLE_UP="angle-up",e.SQUARE="square",e.PEN_NIB="pen-nib",e.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",e.GRID_2="grid-2",e.BOOKS="books",e.TAG="tag",e.ANGLES_UP_DOWN="angles-up-down",e.ARROW_ROTATE_LEFT="arrow-rotate-left",e.EYE_SLASH="eye-slash",e.CIRCLE_DOLLAR="circle-dollar",e.COMPRESS="compress",e.RADAR="radar",e.ARROW_ROTATE_RIGHT="arrow-rotate-right",e.CHART_NETWORK="chart-network",e.PLUS="plus",e.UNDERLINE="underline",e.ARROW_LEFT="arrow-left",e.UPLOAD="upload",e.ARROWS_TO_LINE="arrows-to-line",e.GLOBE="globe",e.LANGUAGE="language",e.PERSON_CHALKBOARD="person-chalkboard",e.TOGGLE_ON="toggle-on",e.DOWNLOAD="download",e.CROSSHAIRS="crosshairs",e.MESSAGE_QUOTE="message-quote",e.FILE_HTML="file-html",e.TRIANGLE_EXCLAMATION="triangle-exclamation",e.STAR="star",e.BELL_SLASH="bell-slash",e.HOURGLASS_HALF="hourglass-half",e.INBOX="inbox",e.COMMENT_DOTS="comment-dots",e.ANGLE_DOWN="angle-down",e.CLOUD_ARROW_DOWN="cloud-arrow-down",e.BOOKMARK_SLASH="bookmark-slash",e.LINK_SIMPLE="link-simple",e.CLOCK_ROTATE_LEFT="clock-rotate-left",e.PLUG="plug",e.CHART_SIMPLE="chart-simple",e.CIRCLE_PLAY="circle-play",e.FILE_MAGNIFYING_GLASS="file-magnifying-glass",e.PEN="pen",e.TABLET="tablet",e.CIRCLE_CHECK="circle-check",e.FILE_INVOICE="file-invoice",e.XMARK="xmark",e.ARROW_RIGHT="arrow-right",e.BOOKMARK="bookmark",e.EXPAND_WIDE="expand-wide",e.USER="user",e.SERVER="server",e.CALENDAR_RANGE="calendar-range",e.BROOM_WIDE="broom-wide",e.HOUSE="house",e.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",e.WIFI_SLASH="wifi-slash",e.USER_LOCK="user-lock",e.CHECK="check",e.ITALIC="italic",e.LIFE_RING="life-ring",e.TABLE_CELLS="table-cells",e.TRASH_CAN="trash-can",e.WRENCH="wrench",e.PAPERCLIP="paperclip",e.CABINET_FILING="cabinet-filing",e.ARROW_UP="arrow-up",e.FILE="file",e.CIRCLE_QUESTION="circle-question",e.COLUMNS_3="columns-3",e.GEAR="gear",e.CIRCLE_ARROW_DOWN="circle-arrow-down",e.CHART_LINE="chart-line",e.THUMBS_UP="thumbs-up",e.HAND="hand",e.CIRCLE="circle",e.CALENDAR_DAY="calendar-day",e.CLOUD="cloud",e.LIST_TREE="list-tree",e.ARROWS_MAXIMIZE="arrows-maximize",e.ANGLE_RIGHT="angle-right",e.SPARKLES="sparkles",e.CODE="code",e.ALIGN_CENTER="align-center",e.COMMENT_QUESTION="comment-question",e.IMAGE="image",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",e.THUMBS_DOWN="thumbs-down",e.DIAGRAM_SANKEY="diagram-sankey",e.MESSAGE_CHECK="message-check",e.BOLD="bold",e.CIRCLE_STOP="circle-stop",e.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",e.USERS="users",e.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",e.PRINT="print",e.ALIGN_RIGHT="align-right",e.FLASK="flask",e.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",e.PHOTO_FILM="photo-film",e.SHIELD_CHECK="shield-check",e.STRIKETHROUGH="strikethrough",e.FOLDER_OPEN="folder-open",e.CLONE="clone",e.HEART="heart",e.PAPER_PLANE="paper-plane",e.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",e.BOOK="book",e.CLOCK="clock",e.ELLIPSIS_VERTICAL="ellipsis-vertical",e.ARROW_RIGHT_TO_LINE="arrow-right-to-line",e.ANGLE_LEFT="angle-left",e.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",e.EXPAND="expand",e.EQUALS="equals",e.RECEIPT="receipt",e.EYE="eye",e.ALIGN_LEFT="align-left",e.PAINTBRUSH="paintbrush",e.KEY="key",e.PALETTE="palette",e.FLOPPY_DISK="floppy-disk",e.MAGNIFYING_GLASS="magnifying-glass",e.ELLIPSIS="ellipsis",e.SHARE_NODES="share-nodes",e.ARROWS_FROM_LINE="arrows-from-line",e.POWER_OFF="power-off",e.ENVELOPE_OPEN_TEXT="envelope-open-text",e.CIRCLE_PAUSE="circle-pause",e.MOBILE="mobile",e.BELL="bell",e.HYPHEN="hyphen",e.FILTER="filter",e.MEDAL="medal",e.CLOUD_SLASH="cloud-slash",e.ARROW_TURN_LEFT="arrow-turn-left",e.MINUS="minus",e.PASTE="paste",e.CALENDAR_CHECK="calendar-check",e.SORT_DOWN="sort-down",e.HEXAGON_XMARK="hexagon-xmark",e.CARET_LARGE_DOWN="caret-large-down",e.PAUSE="pause",e.CHART_MIXED="chart-mixed",e.CARET_LARGE_LEFT="caret-large-left",e.CARET_DOWN="caret-down",e.ROBOT="robot",e.WAND_MAGIC_SPARKLES="wand-magic-sparkles",e.HEXAGON_EXCLAMATION="hexagon-exclamation",e.CUBES="cubes",e.TURN_RIGHT="turn-right",e.CARET_LARGE_UP="caret-large-up",e.SQUARE_INFO="square-info",e.SORT="sort",e.INFO="info",e.MESSAGE_BOT="message-bot",e.PLAY="play",e.TURN_LEFT="turn-left",e.OCTAGON_XMARK="octagon-xmark",e.ADDRESS_CARD="address-card",e.CROWN="crown",e.SQUARE_CHECK="square-check",e.SPINNER_SCALE="spinner-scale",e.GRIP_LINES="grip-lines",e.CHART_AREA="chart-area",e.TRASH="trash",e.SORT_UP="sort-up",e.USER_TIE="user-tie",e.CARET_LARGE_RIGHT="caret-large-right",e.CIRCLE_SMALL="circle-small",e.QUESTION="question",e.SQUARE_MINUS="square-minus",e.SQUARE_POLL_VERTICAL_REGULAR="square-poll-vertical-regular",e.PREVIEW_REGULAR="preview-regular",e.LANGUAGE_SLASH_REGULAR="language-slash-regular",e.CIRCLE_USER_CIRCLE_CHECK_SOLID="circle-user-circle-check-solid",e.FOLDER_OPEN_LOCK_REGULAR="folder-open-lock-regular",e.TABLE_CELLS_SLASH_REGULAR="table-cells-slash-regular",e.PIP_WIDE_REGULAR="pip-wide-regular",e.CLOUD_SLASH_GEAR_REGULAR="cloud-slash-gear-regular",e.CIRCLE_DASHED_DOLLAR_QUESTION_REGULAR="circle-dashed-dollar-question-regular",e.PAPER_PLANE_REGULAR="paper-plane-regular",e.CABINET_FILING_FLOPPY_DISK_REGULAR="cabinet-filing-floppy-disk-regular",e.USER_GEAR_REGULAR="user-gear-regular",e.CHART_BAR_STACKED_REGULAR="chart-bar-stacked-regular",e.CODE_COMPARE_SOLID="code-compare-solid",e.FILE_ROTATE_RIGHT_SOLID="file-rotate-right-solid",e.CONSUMER_REGULAR="consumer-regular",e.HOUSE_MAGNIFYING_GLASS_REGULAR="house-magnifying-glass-regular",e.LEFT_PANEL_SOLID="left-panel-solid",e.LIST_MAGNIFYING_GLASS_REGULAR="list-magnifying-glass-regular",e.THUMBS_UP_THUMBS_DOWN_SOLID="thumbs-up-thumbs-down-solid",e.SCHEDULED_REGULAR="scheduled-regular",e.WAND_MAGIC_SPARKLES_REGULAR="wand-magic-sparkles-regular",e.HOURGLASS_END_REGULAR="hourglass-end-regular",e.FILE_LINES_GEAR_REGULAR="file-lines-gear-regular",e.USER_LOCK_REGULAR="user-lock-regular",e.HOURGLASS_HALF_CIRCLE_CHECK_REGULAR="hourglass-half-circle-check-regular",e.CONTEXT_MENU_CURSOR_REGULAR="context-menu-cursor-regular",e.BARS_PROGRESS_REGULAR="bars-progress-regular",e.HOURGLASS_HALF_REGULAR="hourglass-half-regular",e.PAPER_PLANE_SLASH_REGULAR="paper-plane-slash-regular",e.BINDER_OPEN_ARROW_RIGHT_REGULAR="binder-open-arrow-right-regular",e.BELL_CIRCLE_PLUS_REGULAR="bell-circle-plus-regular",e.DIAGRAM_SUNBURST_REGULAR="diagram-sunburst-regular",e.BULLETS_LINE_REGULAR="bullets-line-regular",e.LANGUAGE_CIRCLE_EXCLAMATION_REGULAR="language-circle-exclamation-regular",e.MESSAGE_BOT_CIRCLE_BOT_SOLID="message-bot-circle-bot-solid",e.MOBILE_LANDSCAPE_REGULAR="mobile-landscape-regular",e.BINDER_OPEN_PEN_REGULAR="binder-open-pen-regular",e.THRESHOLD_REGULAR="threshold-regular",e.BOOKMARK_CIRCLE_PLUS_REGULAR="bookmark-circle-plus-regular",e.SHARED_SOLID="shared-solid",e.BINDER_OPEN_REGULAR="binder-open-regular",e.BOOK_OPEN_GEAR_REGULAR="book-open-gear-regular",e.CIRCLE_ARROW_DOWN_SLASH_REGULAR="circle-arrow-down-slash-regular",e.BINDER_OPEN_ARROW_LEFT_REGULAR="binder-open-arrow-left-regular",e.LEFT_PANEL_REGULAR="left-panel-regular",e.FORMAT_CLEAR_REGULAR="format-clear-regular",e.MAGNIFYING_GLASS_ONE_REGULAR="magnifying-glass-one-regular",e.CIRCLE_DOLLAR_SLASH_REGULAR="circle-dollar-slash-regular",e.TRANSLATION_SPARKLE_SOLID="translation-sparkle-solid",e.PIP_REGULAR="pip-regular",e.SERVER_CIRCLE_ARROW_DOWN_REGULAR="server-circle-arrow-down-regular",e.CHART_BAR_GROUPED_REGULAR="chart-bar-grouped-regular",e.LANGUAGE_REGULAR="language-regular",e.COMPUTER_MOUSE_MAGNIFYING_GLASS_REGULAR="computer-mouse-magnifying-glass-regular",e.USER_CIRCLE_CHECK_REGULAR="user-circle-check-regular",e.CLONE_LINK_SIMPLE_REGULAR="clone-link-simple-regular",e.CHART_LINE_USER_REGULAR="chart-line-user-regular",e.CONTEXT_REGULAR="context-regular",e.BULLETS_LINES_REGULAR="bullets-lines-regular",e.MAGNIFYING_GLASS_FLOPPY_DISK_REGULAR="magnifying-glass-floppy-disk-regular",e.BOOK_OPEN_GEAR_SLASH_REGULAR="book-open-gear-slash-regular",e.BOOKMARK_CIRCLE_MINUS_REGULAR="bookmark-circle-minus-regular",e.CIRCLE_USER_SLASH_SOLID="circle-user-slash-solid",e.TABLET_LANDSCAPE_REGULAR="tablet-landscape-regular",e.BOX_HTML_REGULAR="box-html-regular",e.MAGNIFYING_GLASS_BACK_REGULAR="magnifying-glass-back-regular",e.CHART_BAR_NORMALIZED_REGULAR="chart-bar-normalized-regular"})(m||(m={}));var Xm={[m.LOCK_KEYHOLE]:[f.regular,f.solid],[m.LINK_SIMPLE_SLASH]:[f.regular],[m.TABLE_LAYOUT]:[f.regular],[m.LAYER_GROUP]:[f.regular],[m.CIRCLE_INFO]:[f.regular],[m.BARS_PROGRESS]:[f.regular],[m.CODE_COMPARE]:[f.regular,f.solid],[m.ARROW_TURN_RIGHT]:[f.regular],[m.HOURGLASS_END]:[f.regular],[m.BOX_ARCHIVE]:[f.regular,f.solid],[m.ARROWS_ROTATE]:[f.regular],[m.CIRCLE_DOT]:[f.regular],[m.ANGLES_LEFT]:[f.regular],[m.ROUTE]:[f.regular],[m.BARS]:[f.regular],[m.ARROW_DOWN]:[f.regular],[m.LOCK_KEYHOLE_OPEN]:[f.regular,f.solid],[m.DESKTOP]:[f.regular],[m.ANGLES_RIGHT]:[f.regular],[m.PIGGY_BANK]:[f.regular],[m.ANGLE_UP]:[f.regular],[m.SQUARE]:[f.regular],[m.PEN_NIB]:[f.regular],[m.ARROW_UP_RIGHT_FROM_SQUARE]:[f.regular],[m.GRID_2]:[f.regular],[m.BOOKS]:[f.regular,f.solid],[m.TAG]:[f.regular,f.solid],[m.ANGLES_UP_DOWN]:[f.regular],[m.ARROW_ROTATE_LEFT]:[f.regular],[m.EYE_SLASH]:[f.regular],[m.CIRCLE_DOLLAR]:[f.regular,f.solid],[m.COMPRESS]:[f.regular],[m.RADAR]:[f.regular],[m.ARROW_ROTATE_RIGHT]:[f.regular],[m.CHART_NETWORK]:[f.regular],[m.PLUS]:[f.regular],[m.UNDERLINE]:[f.regular],[m.ARROW_LEFT]:[f.regular],[m.UPLOAD]:[f.regular],[m.ARROWS_TO_LINE]:[f.regular],[m.GLOBE]:[f.regular],[m.LANGUAGE]:[f.regular],[m.PERSON_CHALKBOARD]:[f.regular],[m.TOGGLE_ON]:[f.regular],[m.DOWNLOAD]:[f.regular],[m.CROSSHAIRS]:[f.regular],[m.MESSAGE_QUOTE]:[f.regular,f.solid],[m.FILE_HTML]:[f.regular],[m.TRIANGLE_EXCLAMATION]:[f.regular,f.solid],[m.STAR]:[f.regular,f.solid],[m.BELL_SLASH]:[f.regular,f.solid],[m.HOURGLASS_HALF]:[f.regular],[m.INBOX]:[f.regular],[m.COMMENT_DOTS]:[f.regular],[m.ANGLE_DOWN]:[f.regular],[m.CLOUD_ARROW_DOWN]:[f.regular],[m.BOOKMARK_SLASH]:[f.regular],[m.LINK_SIMPLE]:[f.regular],[m.CLOCK_ROTATE_LEFT]:[f.regular],[m.PLUG]:[f.regular],[m.CHART_SIMPLE]:[f.regular],[m.CIRCLE_PLAY]:[f.regular],[m.FILE_MAGNIFYING_GLASS]:[f.regular],[m.PEN]:[f.regular],[m.TABLET]:[f.regular],[m.CIRCLE_CHECK]:[f.regular,f.solid],[m.FILE_INVOICE]:[f.regular],[m.XMARK]:[f.regular,f.solid],[m.ARROW_RIGHT]:[f.regular],[m.BOOKMARK]:[f.regular,f.solid],[m.EXPAND_WIDE]:[f.regular],[m.USER]:[f.regular,f.solid],[m.SERVER]:[f.regular,f.solid],[m.CALENDAR_RANGE]:[f.regular],[m.BROOM_WIDE]:[f.regular],[m.HOUSE]:[f.regular],[m.ARROWS_UP_DOWN_LEFT_RIGHT]:[f.regular],[m.WIFI_SLASH]:[f.regular],[m.USER_LOCK]:[f.regular],[m.CHECK]:[f.regular,f.solid],[m.ITALIC]:[f.regular],[m.LIFE_RING]:[f.regular],[m.TABLE_CELLS]:[f.regular],[m.TRASH_CAN]:[f.regular],[m.WRENCH]:[f.regular],[m.PAPERCLIP]:[f.regular],[m.CABINET_FILING]:[f.regular],[m.ARROW_UP]:[f.regular],[m.FILE]:[f.regular,f.solid],[m.CIRCLE_QUESTION]:[f.regular,f.solid],[m.COLUMNS_3]:[f.regular],[m.GEAR]:[f.regular,f.solid],[m.CIRCLE_ARROW_DOWN]:[f.regular],[m.CHART_LINE]:[f.regular],[m.THUMBS_UP]:[f.regular,f.solid],[m.HAND]:[f.regular,f.solid],[m.CIRCLE]:[f.regular,f.solid],[m.CALENDAR_DAY]:[f.regular],[m.CLOUD]:[f.regular],[m.LIST_TREE]:[f.regular],[m.ARROWS_MAXIMIZE]:[f.regular],[m.ANGLE_RIGHT]:[f.regular],[m.SPARKLES]:[f.regular],[m.CODE]:[f.regular],[m.ALIGN_CENTER]:[f.regular],[m.COMMENT_QUESTION]:[f.regular,f.solid],[m.IMAGE]:[f.regular],[m.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[f.regular],[m.THUMBS_DOWN]:[f.regular,f.solid],[m.DIAGRAM_SANKEY]:[f.regular],[m.MESSAGE_CHECK]:[f.regular,f.solid],[m.BOLD]:[f.regular],[m.CIRCLE_STOP]:[f.regular,f.solid],[m.ARROW_RIGHT_TO_BRACKET]:[f.regular],[m.USERS]:[f.regular,f.solid],[m.ARROW_TURN_DOWN_RIGHT]:[f.regular],[m.PRINT]:[f.regular],[m.ALIGN_RIGHT]:[f.regular],[m.FLASK]:[f.regular],[m.MAGNIFYING_GLASS_PLUS]:[f.regular],[m.PHOTO_FILM]:[f.regular],[m.SHIELD_CHECK]:[f.regular],[m.STRIKETHROUGH]:[f.regular],[m.FOLDER_OPEN]:[f.regular],[m.CLONE]:[f.regular],[m.HEART]:[f.regular,f.solid],[m.PAPER_PLANE]:[f.regular],[m.MAGNIFYING_GLASS_MINUS]:[f.regular],[m.BOOK]:[f.regular],[m.CLOCK]:[f.regular,f.solid],[m.ELLIPSIS_VERTICAL]:[f.regular],[m.ARROW_RIGHT_TO_LINE]:[f.regular],[m.ANGLE_LEFT]:[f.regular],[m.CALENDAR_CIRCLE_EXCLAMATION]:[f.regular],[m.EXPAND]:[f.regular],[m.EQUALS]:[f.regular],[m.RECEIPT]:[f.regular],[m.EYE]:[f.regular],[m.ALIGN_LEFT]:[f.regular],[m.PAINTBRUSH]:[f.regular],[m.KEY]:[f.regular],[m.PALETTE]:[f.regular],[m.FLOPPY_DISK]:[f.regular],[m.MAGNIFYING_GLASS]:[f.regular],[m.ELLIPSIS]:[f.regular],[m.SHARE_NODES]:[f.regular],[m.ARROWS_FROM_LINE]:[f.regular],[m.POWER_OFF]:[f.regular],[m.ENVELOPE_OPEN_TEXT]:[f.regular],[m.CIRCLE_PAUSE]:[f.regular,f.solid],[m.MOBILE]:[f.regular],[m.BELL]:[f.regular,f.solid],[m.HYPHEN]:[f.regular],[m.FILTER]:[f.regular,f.solid],[m.MEDAL]:[f.regular],[m.CLOUD_SLASH]:[f.regular],[m.ARROW_TURN_LEFT]:[f.regular],[m.MINUS]:[f.regular,f.solid],[m.PASTE]:[f.regular],[m.CALENDAR_CHECK]:[f.regular],[m.SORT_DOWN]:[f.solid],[m.HEXAGON_XMARK]:[f.solid],[m.CARET_LARGE_DOWN]:[f.solid],[m.PAUSE]:[f.solid],[m.CHART_MIXED]:[f.solid],[m.CARET_LARGE_LEFT]:[f.solid],[m.CARET_DOWN]:[f.solid],[m.ROBOT]:[f.solid],[m.WAND_MAGIC_SPARKLES]:[f.solid],[m.HEXAGON_EXCLAMATION]:[f.solid],[m.CUBES]:[f.solid],[m.TURN_RIGHT]:[f.solid],[m.CARET_LARGE_UP]:[f.solid],[m.SQUARE_INFO]:[f.solid],[m.SORT]:[f.solid],[m.INFO]:[f.solid],[m.MESSAGE_BOT]:[f.solid],[m.PLAY]:[f.solid],[m.TURN_LEFT]:[f.solid],[m.OCTAGON_XMARK]:[f.solid],[m.ADDRESS_CARD]:[f.solid],[m.CROWN]:[f.solid],[m.SQUARE_CHECK]:[f.solid],[m.SPINNER_SCALE]:[f.solid],[m.GRIP_LINES]:[f.solid],[m.CHART_AREA]:[f.solid],[m.TRASH]:[f.solid],[m.SORT_UP]:[f.solid],[m.USER_TIE]:[f.solid],[m.CARET_LARGE_RIGHT]:[f.solid],[m.CIRCLE_SMALL]:[f.solid],[m.QUESTION]:[f.solid],[m.SQUARE_MINUS]:[f.solid],[m.SQUARE_POLL_VERTICAL_REGULAR]:[f.custom],[m.PREVIEW_REGULAR]:[f.custom],[m.LANGUAGE_SLASH_REGULAR]:[f.custom],[m.CIRCLE_USER_CIRCLE_CHECK_SOLID]:[f.custom],[m.FOLDER_OPEN_LOCK_REGULAR]:[f.custom],[m.TABLE_CELLS_SLASH_REGULAR]:[f.custom],[m.PIP_WIDE_REGULAR]:[f.custom],[m.CLOUD_SLASH_GEAR_REGULAR]:[f.custom],[m.CIRCLE_DASHED_DOLLAR_QUESTION_REGULAR]:[f.custom],[m.PAPER_PLANE_REGULAR]:[f.custom],[m.CABINET_FILING_FLOPPY_DISK_REGULAR]:[f.custom],[m.USER_GEAR_REGULAR]:[f.custom],[m.CHART_BAR_STACKED_REGULAR]:[f.custom],[m.CODE_COMPARE_SOLID]:[f.custom],[m.FILE_ROTATE_RIGHT_SOLID]:[f.custom],[m.CONSUMER_REGULAR]:[f.custom],[m.HOUSE_MAGNIFYING_GLASS_REGULAR]:[f.custom],[m.LEFT_PANEL_SOLID]:[f.custom],[m.LIST_MAGNIFYING_GLASS_REGULAR]:[f.custom],[m.THUMBS_UP_THUMBS_DOWN_SOLID]:[f.custom],[m.SCHEDULED_REGULAR]:[f.custom],[m.WAND_MAGIC_SPARKLES_REGULAR]:[f.custom],[m.HOURGLASS_END_REGULAR]:[f.custom],[m.FILE_LINES_GEAR_REGULAR]:[f.custom],[m.USER_LOCK_REGULAR]:[f.custom],[m.HOURGLASS_HALF_CIRCLE_CHECK_REGULAR]:[f.custom],[m.CONTEXT_MENU_CURSOR_REGULAR]:[f.custom],[m.BARS_PROGRESS_REGULAR]:[f.custom],[m.HOURGLASS_HALF_REGULAR]:[f.custom],[m.PAPER_PLANE_SLASH_REGULAR]:[f.custom],[m.BINDER_OPEN_ARROW_RIGHT_REGULAR]:[f.custom],[m.BELL_CIRCLE_PLUS_REGULAR]:[f.custom],[m.DIAGRAM_SUNBURST_REGULAR]:[f.custom],[m.BULLETS_LINE_REGULAR]:[f.custom],[m.LANGUAGE_CIRCLE_EXCLAMATION_REGULAR]:[f.custom],[m.MESSAGE_BOT_CIRCLE_BOT_SOLID]:[f.custom],[m.MOBILE_LANDSCAPE_REGULAR]:[f.custom],[m.BINDER_OPEN_PEN_REGULAR]:[f.custom],[m.THRESHOLD_REGULAR]:[f.custom],[m.BOOKMARK_CIRCLE_PLUS_REGULAR]:[f.custom],[m.SHARED_SOLID]:[f.custom],[m.BINDER_OPEN_REGULAR]:[f.custom],[m.BOOK_OPEN_GEAR_REGULAR]:[f.custom],[m.CIRCLE_ARROW_DOWN_SLASH_REGULAR]:[f.custom],[m.BINDER_OPEN_ARROW_LEFT_REGULAR]:[f.custom],[m.LEFT_PANEL_REGULAR]:[f.custom],[m.FORMAT_CLEAR_REGULAR]:[f.custom],[m.MAGNIFYING_GLASS_ONE_REGULAR]:[f.custom],[m.CIRCLE_DOLLAR_SLASH_REGULAR]:[f.custom],[m.TRANSLATION_SPARKLE_SOLID]:[f.custom],[m.PIP_REGULAR]:[f.custom],[m.SERVER_CIRCLE_ARROW_DOWN_REGULAR]:[f.custom],[m.CHART_BAR_GROUPED_REGULAR]:[f.custom],[m.LANGUAGE_REGULAR]:[f.custom],[m.COMPUTER_MOUSE_MAGNIFYING_GLASS_REGULAR]:[f.custom],[m.USER_CIRCLE_CHECK_REGULAR]:[f.custom],[m.CLONE_LINK_SIMPLE_REGULAR]:[f.custom],[m.CHART_LINE_USER_REGULAR]:[f.custom],[m.CONTEXT_REGULAR]:[f.custom],[m.BULLETS_LINES_REGULAR]:[f.custom],[m.MAGNIFYING_GLASS_FLOPPY_DISK_REGULAR]:[f.custom],[m.BOOK_OPEN_GEAR_SLASH_REGULAR]:[f.custom],[m.BOOKMARK_CIRCLE_MINUS_REGULAR]:[f.custom],[m.CIRCLE_USER_SLASH_SOLID]:[f.custom],[m.TABLET_LANDSCAPE_REGULAR]:[f.custom],[m.BOX_HTML_REGULAR]:[f.custom],[m.MAGNIFYING_GLASS_BACK_REGULAR]:[f.custom],[m.CHART_BAR_NORMALIZED_REGULAR]:[f.custom]},Gc={[f.regular]:"far",[f.solid]:"fas",[f.custom]:"fak"};var _n=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},de=class extends jc.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return Wc.html`
1118
+ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(S){a.e(S)}finally{a.f()}if(!o.size)return;var x=Array.from(o).join(", ");try{n=e.querySelectorAll(x)}catch{}}return new Promise(function(S,A){var O=Xt(n).filter(sf).map(af),N=ia.begin("searchPseudoElements");Uc(),Promise.all(O).then(function(){N(),Zo(),S()}).catch(function(){N(),Zo(),A()})})}}var df={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=_s,n}}},provides:function(t){t.pseudoElements2svg=function(n){var o=n.node,a=o===void 0?F:o;M.searchPseudoElements&&_s(a)}}},Ms=!1,uf={mixout:function(){return{dom:{unwatch:function(){Uc(),Ms=!0}}}},hooks:function(){return{bootstrap:function(){Ls(Go("mutationObserverCallbacks",{}))},noAuto:function(){$u()},watch:function(n){var o=n.observeMutationsRoot;Ms?Zo():Ls(Go("mutationObserverCallbacks",{observeMutationsRoot:o}))}}}},zs=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(o,a){var i=a.toLowerCase().split("-"),s=i[0],l=i.slice(1).join("-");if(s&&l==="h")return o.flipX=!0,o;if(s&&l==="v")return o.flipY=!0,o;if(l=parseFloat(l),isNaN(l))return o;switch(s){case"grow":o.size=o.size+l;break;case"shrink":o.size=o.size-l;break;case"left":o.x=o.x-l;break;case"right":o.x=o.x+l;break;case"up":o.y=o.y-l;break;case"down":o.y=o.y+l;break;case"rotate":o.rotate=o.rotate+l;break}return o},n)},ff={mixout:function(){return{parse:{transform:function(n){return zs(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,o){var a=o.getAttribute("data-fa-transform");return a&&(n.transform=zs(a)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var o=n.main,a=n.transform,i=n.containerWidth,s=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},d="translate(".concat(a.x*32,", ").concat(a.y*32,") "),p="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),h="rotate(".concat(a.rotate," 0 0)"),g={transform:"".concat(d," ").concat(p," ").concat(h)},y={transform:"translate(".concat(s/2*-1," -256)")},v={outer:l,inner:g,path:y};return{tag:"g",attributes:C({},v.outer),children:[{tag:"g",attributes:C({},v.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:C(C({},o.icon.attributes),v.path)}]}]}}}},Io={x:0,y:0,width:"100%",height:"100%"};function ks(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function pf(e){return e.tag==="g"?e.children:[e]}var mf={hooks:function(){return{parseNodeAttributes:function(n,o){var a=o.getAttribute("data-fa-mask"),i=a?wn(a.split(" ").map(function(s){return s.trim()})):kc();return i.prefix||(i.prefix=at()),n.mask=i,n.maskId=o.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var o=n.children,a=n.attributes,i=n.main,s=n.mask,l=n.maskId,d=n.transform,p=i.width,h=i.icon,g=s.width,y=s.icon,v=nu({transform:d,containerWidth:g,iconWidth:p}),x={tag:"rect",attributes:C(C({},Io),{},{fill:"white"})},S=h.children?{children:h.children.map(ks)}:{},A={tag:"g",attributes:C({},v.inner),children:[ks(C({tag:h.tag,attributes:C(C({},h.attributes),v.path)},S))]},O={tag:"g",attributes:C({},v.outer),children:[A]},N="mask-".concat(l||ps()),z="clip-".concat(l||ps()),T={tag:"mask",attributes:C(C({},Io),{},{id:N,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,O]},B={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:pf(y)},T]};return o.push(B,{tag:"rect",attributes:C({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(N,")")},Io)}),{children:o,attributes:a}}}},hf={provides:function(t){var n=!1;ot.matchMedia&&(n=ot.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var o=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:C(C({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=C(C({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:C(C({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:C(C({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:C(C({},s),{},{values:"1;0;1;1;0;1;"})}),o.push(l),o.push({tag:"path",attributes:C(C({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:C(C({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||o.push({tag:"path",attributes:C(C({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:C(C({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},gf={hooks:function(){return{parseNodeAttributes:function(n,o){var a=o.getAttribute("data-fa-symbol"),i=a===null?!1:a===""?!0:a;return n.symbol=i,n}}}},yf=[iu,Xu,Qu,Ju,ef,df,uf,ff,mf,hf,gf];Eu(yf,{mixoutsTo:ye});var Fm=ye.noAuto,$m=ye.config,$c=ye.library,Hm=ye.dom,Gm=ye.parse,Wm=ye.findIconDefinition,jm=ye.toHtml,Hc=ye.icon,Vm=ye.layer,Km=ye.text,Zm=ye.counter;var m;(function(e){e.LOCK_KEYHOLE="lock-keyhole",e.LINK_SIMPLE_SLASH="link-simple-slash",e.TABLE_LAYOUT="table-layout",e.LAYER_GROUP="layer-group",e.CIRCLE_INFO="circle-info",e.BARS_PROGRESS="bars-progress",e.CODE_COMPARE="code-compare",e.ARROW_TURN_RIGHT="arrow-turn-right",e.HOURGLASS_END="hourglass-end",e.BOX_ARCHIVE="box-archive",e.ARROWS_ROTATE="arrows-rotate",e.CIRCLE_DOT="circle-dot",e.ANGLES_LEFT="angles-left",e.ROUTE="route",e.BARS="bars",e.ARROW_DOWN="arrow-down",e.LOCK_KEYHOLE_OPEN="lock-keyhole-open",e.DESKTOP="desktop",e.ANGLES_RIGHT="angles-right",e.PIGGY_BANK="piggy-bank",e.ANGLE_UP="angle-up",e.SQUARE="square",e.PEN_NIB="pen-nib",e.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",e.GRID_2="grid-2",e.BOOKS="books",e.TAG="tag",e.ANGLES_UP_DOWN="angles-up-down",e.ARROW_ROTATE_LEFT="arrow-rotate-left",e.EYE_SLASH="eye-slash",e.CIRCLE_DOLLAR="circle-dollar",e.COMPRESS="compress",e.RADAR="radar",e.ARROW_ROTATE_RIGHT="arrow-rotate-right",e.CHART_NETWORK="chart-network",e.PLUS="plus",e.UNDERLINE="underline",e.ARROW_LEFT="arrow-left",e.UPLOAD="upload",e.ARROWS_TO_LINE="arrows-to-line",e.GLOBE="globe",e.LANGUAGE="language",e.PERSON_CHALKBOARD="person-chalkboard",e.TOGGLE_ON="toggle-on",e.DOWNLOAD="download",e.CROSSHAIRS="crosshairs",e.MESSAGE_QUOTE="message-quote",e.FILE_HTML="file-html",e.TRIANGLE_EXCLAMATION="triangle-exclamation",e.STAR="star",e.BELL_SLASH="bell-slash",e.HOURGLASS_HALF="hourglass-half",e.INBOX="inbox",e.COMMENT_DOTS="comment-dots",e.ANGLE_DOWN="angle-down",e.CLOUD_ARROW_DOWN="cloud-arrow-down",e.BOOKMARK_SLASH="bookmark-slash",e.LINK_SIMPLE="link-simple",e.CLOCK_ROTATE_LEFT="clock-rotate-left",e.PLUG="plug",e.CHART_SIMPLE="chart-simple",e.CIRCLE_PLAY="circle-play",e.FILE_MAGNIFYING_GLASS="file-magnifying-glass",e.PEN="pen",e.TABLET="tablet",e.CIRCLE_CHECK="circle-check",e.FILE_INVOICE="file-invoice",e.XMARK="xmark",e.ARROW_RIGHT="arrow-right",e.BOOKMARK="bookmark",e.EXPAND_WIDE="expand-wide",e.USER="user",e.SERVER="server",e.CALENDAR_RANGE="calendar-range",e.BROOM_WIDE="broom-wide",e.HOUSE="house",e.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",e.WIFI_SLASH="wifi-slash",e.USER_LOCK="user-lock",e.CHECK="check",e.ITALIC="italic",e.LIFE_RING="life-ring",e.TABLE_CELLS="table-cells",e.TRASH_CAN="trash-can",e.WRENCH="wrench",e.PAPERCLIP="paperclip",e.CABINET_FILING="cabinet-filing",e.ARROW_UP="arrow-up",e.FILE="file",e.CIRCLE_QUESTION="circle-question",e.COLUMNS_3="columns-3",e.GEAR="gear",e.CIRCLE_ARROW_DOWN="circle-arrow-down",e.CHART_LINE="chart-line",e.THUMBS_UP="thumbs-up",e.HAND="hand",e.CIRCLE="circle",e.CALENDAR_DAY="calendar-day",e.CLOUD="cloud",e.LIST_TREE="list-tree",e.ARROWS_MAXIMIZE="arrows-maximize",e.ANGLE_RIGHT="angle-right",e.SPARKLES="sparkles",e.CODE="code",e.ALIGN_CENTER="align-center",e.COMMENT_QUESTION="comment-question",e.IMAGE="image",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",e.THUMBS_DOWN="thumbs-down",e.DIAGRAM_SANKEY="diagram-sankey",e.MESSAGE_CHECK="message-check",e.BOLD="bold",e.CIRCLE_STOP="circle-stop",e.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",e.USERS="users",e.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",e.PRINT="print",e.ALIGN_RIGHT="align-right",e.FLASK="flask",e.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",e.PHOTO_FILM="photo-film",e.SHIELD_CHECK="shield-check",e.STRIKETHROUGH="strikethrough",e.FOLDER_OPEN="folder-open",e.CLONE="clone",e.HEART="heart",e.PAPER_PLANE="paper-plane",e.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",e.BOOK="book",e.CLOCK="clock",e.ELLIPSIS_VERTICAL="ellipsis-vertical",e.ARROW_RIGHT_TO_LINE="arrow-right-to-line",e.ANGLE_LEFT="angle-left",e.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",e.EXPAND="expand",e.EQUALS="equals",e.RECEIPT="receipt",e.EYE="eye",e.ALIGN_LEFT="align-left",e.PAINTBRUSH="paintbrush",e.KEY="key",e.PALETTE="palette",e.FLOPPY_DISK="floppy-disk",e.MAGNIFYING_GLASS="magnifying-glass",e.ELLIPSIS="ellipsis",e.SHARE_NODES="share-nodes",e.ARROWS_FROM_LINE="arrows-from-line",e.POWER_OFF="power-off",e.ENVELOPE_OPEN_TEXT="envelope-open-text",e.CIRCLE_PAUSE="circle-pause",e.MOBILE="mobile",e.BELL="bell",e.HYPHEN="hyphen",e.FILTER="filter",e.MEDAL="medal",e.CLOUD_SLASH="cloud-slash",e.ARROW_TURN_LEFT="arrow-turn-left",e.MINUS="minus",e.PASTE="paste",e.CALENDAR_CHECK="calendar-check",e.SORT_DOWN="sort-down",e.HEXAGON_XMARK="hexagon-xmark",e.CARET_LARGE_DOWN="caret-large-down",e.PAUSE="pause",e.CHART_MIXED="chart-mixed",e.CARET_LARGE_LEFT="caret-large-left",e.CARET_DOWN="caret-down",e.ROBOT="robot",e.WAND_MAGIC_SPARKLES="wand-magic-sparkles",e.HEXAGON_EXCLAMATION="hexagon-exclamation",e.CUBES="cubes",e.TURN_RIGHT="turn-right",e.CARET_LARGE_UP="caret-large-up",e.SQUARE_INFO="square-info",e.SORT="sort",e.INFO="info",e.MESSAGE_BOT="message-bot",e.PLAY="play",e.TURN_LEFT="turn-left",e.OCTAGON_XMARK="octagon-xmark",e.ADDRESS_CARD="address-card",e.CROWN="crown",e.SQUARE_CHECK="square-check",e.SPINNER_SCALE="spinner-scale",e.GRIP_LINES="grip-lines",e.CHART_AREA="chart-area",e.TRASH="trash",e.SORT_UP="sort-up",e.USER_TIE="user-tie",e.CARET_LARGE_RIGHT="caret-large-right",e.CIRCLE_SMALL="circle-small",e.QUESTION="question",e.SQUARE_MINUS="square-minus",e.SQUARE_POLL_VERTICAL_REGULAR="square-poll-vertical-regular",e.PREVIEW_REGULAR="preview-regular",e.LANGUAGE_SLASH_REGULAR="language-slash-regular",e.CIRCLE_USER_CIRCLE_CHECK_SOLID="circle-user-circle-check-solid",e.FOLDER_OPEN_LOCK_REGULAR="folder-open-lock-regular",e.TABLE_CELLS_SLASH_REGULAR="table-cells-slash-regular",e.PIP_WIDE_REGULAR="pip-wide-regular",e.CLOUD_SLASH_GEAR_REGULAR="cloud-slash-gear-regular",e.CIRCLE_DASHED_DOLLAR_QUESTION_REGULAR="circle-dashed-dollar-question-regular",e.PAPER_PLANE_REGULAR="paper-plane-regular",e.CABINET_FILING_FLOPPY_DISK_REGULAR="cabinet-filing-floppy-disk-regular",e.USER_GEAR_REGULAR="user-gear-regular",e.CHART_BAR_STACKED_REGULAR="chart-bar-stacked-regular",e.CODE_COMPARE_SOLID="code-compare-solid",e.FILE_ROTATE_RIGHT_SOLID="file-rotate-right-solid",e.CONSUMER_REGULAR="consumer-regular",e.HOUSE_MAGNIFYING_GLASS_REGULAR="house-magnifying-glass-regular",e.LEFT_PANEL_SOLID="left-panel-solid",e.LIST_MAGNIFYING_GLASS_REGULAR="list-magnifying-glass-regular",e.THUMBS_UP_THUMBS_DOWN_SOLID="thumbs-up-thumbs-down-solid",e.SCHEDULED_REGULAR="scheduled-regular",e.WAND_MAGIC_SPARKLES_REGULAR="wand-magic-sparkles-regular",e.HOURGLASS_END_REGULAR="hourglass-end-regular",e.FILE_LINES_GEAR_REGULAR="file-lines-gear-regular",e.USER_LOCK_REGULAR="user-lock-regular",e.HOURGLASS_HALF_CIRCLE_CHECK_REGULAR="hourglass-half-circle-check-regular",e.CONTEXT_MENU_CURSOR_REGULAR="context-menu-cursor-regular",e.BARS_PROGRESS_REGULAR="bars-progress-regular",e.HOURGLASS_HALF_REGULAR="hourglass-half-regular",e.PAPER_PLANE_SLASH_REGULAR="paper-plane-slash-regular",e.BINDER_OPEN_ARROW_RIGHT_REGULAR="binder-open-arrow-right-regular",e.BELL_CIRCLE_PLUS_REGULAR="bell-circle-plus-regular",e.DIAGRAM_SUNBURST_REGULAR="diagram-sunburst-regular",e.BULLETS_LINE_REGULAR="bullets-line-regular",e.LANGUAGE_CIRCLE_EXCLAMATION_REGULAR="language-circle-exclamation-regular",e.MESSAGE_BOT_CIRCLE_BOT_SOLID="message-bot-circle-bot-solid",e.MOBILE_LANDSCAPE_REGULAR="mobile-landscape-regular",e.BINDER_OPEN_PEN_REGULAR="binder-open-pen-regular",e.THRESHOLD_REGULAR="threshold-regular",e.BOOKMARK_CIRCLE_PLUS_REGULAR="bookmark-circle-plus-regular",e.SHARED_SOLID="shared-solid",e.BINDER_OPEN_REGULAR="binder-open-regular",e.BOOK_OPEN_GEAR_REGULAR="book-open-gear-regular",e.CIRCLE_ARROW_DOWN_SLASH_REGULAR="circle-arrow-down-slash-regular",e.BINDER_OPEN_ARROW_LEFT_REGULAR="binder-open-arrow-left-regular",e.LEFT_PANEL_REGULAR="left-panel-regular",e.FORMAT_CLEAR_REGULAR="format-clear-regular",e.MAGNIFYING_GLASS_ONE_REGULAR="magnifying-glass-one-regular",e.CIRCLE_DOLLAR_SLASH_REGULAR="circle-dollar-slash-regular",e.TRANSLATION_SPARKLE_SOLID="translation-sparkle-solid",e.PIP_REGULAR="pip-regular",e.SERVER_CIRCLE_ARROW_DOWN_REGULAR="server-circle-arrow-down-regular",e.CHART_BAR_GROUPED_REGULAR="chart-bar-grouped-regular",e.LANGUAGE_REGULAR="language-regular",e.COMPUTER_MOUSE_MAGNIFYING_GLASS_REGULAR="computer-mouse-magnifying-glass-regular",e.USER_CIRCLE_CHECK_REGULAR="user-circle-check-regular",e.CLONE_LINK_SIMPLE_REGULAR="clone-link-simple-regular",e.CHART_LINE_USER_REGULAR="chart-line-user-regular",e.CONTEXT_REGULAR="context-regular",e.BULLETS_LINES_REGULAR="bullets-lines-regular",e.MAGNIFYING_GLASS_FLOPPY_DISK_REGULAR="magnifying-glass-floppy-disk-regular",e.BOOK_OPEN_GEAR_SLASH_REGULAR="book-open-gear-slash-regular",e.BOOKMARK_CIRCLE_MINUS_REGULAR="bookmark-circle-minus-regular",e.CIRCLE_USER_SLASH_SOLID="circle-user-slash-solid",e.TABLET_LANDSCAPE_REGULAR="tablet-landscape-regular",e.BOX_HTML_REGULAR="box-html-regular",e.MAGNIFYING_GLASS_BACK_REGULAR="magnifying-glass-back-regular",e.CHART_BAR_NORMALIZED_REGULAR="chart-bar-normalized-regular"})(m||(m={}));var Xm={[m.LOCK_KEYHOLE]:[f.regular,f.solid],[m.LINK_SIMPLE_SLASH]:[f.regular],[m.TABLE_LAYOUT]:[f.regular],[m.LAYER_GROUP]:[f.regular],[m.CIRCLE_INFO]:[f.regular],[m.BARS_PROGRESS]:[f.regular],[m.CODE_COMPARE]:[f.regular,f.solid],[m.ARROW_TURN_RIGHT]:[f.regular],[m.HOURGLASS_END]:[f.regular],[m.BOX_ARCHIVE]:[f.regular,f.solid],[m.ARROWS_ROTATE]:[f.regular],[m.CIRCLE_DOT]:[f.regular],[m.ANGLES_LEFT]:[f.regular],[m.ROUTE]:[f.regular],[m.BARS]:[f.regular],[m.ARROW_DOWN]:[f.regular],[m.LOCK_KEYHOLE_OPEN]:[f.regular,f.solid],[m.DESKTOP]:[f.regular],[m.ANGLES_RIGHT]:[f.regular],[m.PIGGY_BANK]:[f.regular],[m.ANGLE_UP]:[f.regular],[m.SQUARE]:[f.regular],[m.PEN_NIB]:[f.regular],[m.ARROW_UP_RIGHT_FROM_SQUARE]:[f.regular],[m.GRID_2]:[f.regular],[m.BOOKS]:[f.regular,f.solid],[m.TAG]:[f.regular,f.solid],[m.ANGLES_UP_DOWN]:[f.regular],[m.ARROW_ROTATE_LEFT]:[f.regular],[m.EYE_SLASH]:[f.regular],[m.CIRCLE_DOLLAR]:[f.regular,f.solid],[m.COMPRESS]:[f.regular],[m.RADAR]:[f.regular],[m.ARROW_ROTATE_RIGHT]:[f.regular],[m.CHART_NETWORK]:[f.regular],[m.PLUS]:[f.regular],[m.UNDERLINE]:[f.regular],[m.ARROW_LEFT]:[f.regular],[m.UPLOAD]:[f.regular],[m.ARROWS_TO_LINE]:[f.regular],[m.GLOBE]:[f.regular],[m.LANGUAGE]:[f.regular],[m.PERSON_CHALKBOARD]:[f.regular],[m.TOGGLE_ON]:[f.regular],[m.DOWNLOAD]:[f.regular],[m.CROSSHAIRS]:[f.regular],[m.MESSAGE_QUOTE]:[f.regular,f.solid],[m.FILE_HTML]:[f.regular],[m.TRIANGLE_EXCLAMATION]:[f.regular,f.solid],[m.STAR]:[f.regular,f.solid],[m.BELL_SLASH]:[f.regular,f.solid],[m.HOURGLASS_HALF]:[f.regular],[m.INBOX]:[f.regular],[m.COMMENT_DOTS]:[f.regular],[m.ANGLE_DOWN]:[f.regular],[m.CLOUD_ARROW_DOWN]:[f.regular],[m.BOOKMARK_SLASH]:[f.regular],[m.LINK_SIMPLE]:[f.regular],[m.CLOCK_ROTATE_LEFT]:[f.regular],[m.PLUG]:[f.regular],[m.CHART_SIMPLE]:[f.regular],[m.CIRCLE_PLAY]:[f.regular],[m.FILE_MAGNIFYING_GLASS]:[f.regular],[m.PEN]:[f.regular],[m.TABLET]:[f.regular],[m.CIRCLE_CHECK]:[f.regular,f.solid],[m.FILE_INVOICE]:[f.regular],[m.XMARK]:[f.regular,f.solid],[m.ARROW_RIGHT]:[f.regular],[m.BOOKMARK]:[f.regular,f.solid],[m.EXPAND_WIDE]:[f.regular],[m.USER]:[f.regular,f.solid],[m.SERVER]:[f.regular,f.solid],[m.CALENDAR_RANGE]:[f.regular],[m.BROOM_WIDE]:[f.regular],[m.HOUSE]:[f.regular],[m.ARROWS_UP_DOWN_LEFT_RIGHT]:[f.regular],[m.WIFI_SLASH]:[f.regular],[m.USER_LOCK]:[f.regular],[m.CHECK]:[f.regular,f.solid],[m.ITALIC]:[f.regular],[m.LIFE_RING]:[f.regular],[m.TABLE_CELLS]:[f.regular],[m.TRASH_CAN]:[f.regular],[m.WRENCH]:[f.regular],[m.PAPERCLIP]:[f.regular],[m.CABINET_FILING]:[f.regular],[m.ARROW_UP]:[f.regular],[m.FILE]:[f.regular,f.solid],[m.CIRCLE_QUESTION]:[f.regular,f.solid],[m.COLUMNS_3]:[f.regular],[m.GEAR]:[f.regular,f.solid],[m.CIRCLE_ARROW_DOWN]:[f.regular],[m.CHART_LINE]:[f.regular],[m.THUMBS_UP]:[f.regular,f.solid],[m.HAND]:[f.regular,f.solid],[m.CIRCLE]:[f.regular,f.solid],[m.CALENDAR_DAY]:[f.regular],[m.CLOUD]:[f.regular],[m.LIST_TREE]:[f.regular],[m.ARROWS_MAXIMIZE]:[f.regular],[m.ANGLE_RIGHT]:[f.regular],[m.SPARKLES]:[f.regular],[m.CODE]:[f.regular],[m.ALIGN_CENTER]:[f.regular],[m.COMMENT_QUESTION]:[f.regular,f.solid],[m.IMAGE]:[f.regular],[m.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[f.regular],[m.THUMBS_DOWN]:[f.regular,f.solid],[m.DIAGRAM_SANKEY]:[f.regular],[m.MESSAGE_CHECK]:[f.regular,f.solid],[m.BOLD]:[f.regular],[m.CIRCLE_STOP]:[f.regular,f.solid],[m.ARROW_RIGHT_TO_BRACKET]:[f.regular],[m.USERS]:[f.regular,f.solid],[m.ARROW_TURN_DOWN_RIGHT]:[f.regular],[m.PRINT]:[f.regular],[m.ALIGN_RIGHT]:[f.regular],[m.FLASK]:[f.regular],[m.MAGNIFYING_GLASS_PLUS]:[f.regular],[m.PHOTO_FILM]:[f.regular],[m.SHIELD_CHECK]:[f.regular],[m.STRIKETHROUGH]:[f.regular],[m.FOLDER_OPEN]:[f.regular],[m.CLONE]:[f.regular],[m.HEART]:[f.regular,f.solid],[m.PAPER_PLANE]:[f.regular],[m.MAGNIFYING_GLASS_MINUS]:[f.regular],[m.BOOK]:[f.regular],[m.CLOCK]:[f.regular,f.solid],[m.ELLIPSIS_VERTICAL]:[f.regular],[m.ARROW_RIGHT_TO_LINE]:[f.regular],[m.ANGLE_LEFT]:[f.regular],[m.CALENDAR_CIRCLE_EXCLAMATION]:[f.regular],[m.EXPAND]:[f.regular],[m.EQUALS]:[f.regular],[m.RECEIPT]:[f.regular],[m.EYE]:[f.regular],[m.ALIGN_LEFT]:[f.regular],[m.PAINTBRUSH]:[f.regular],[m.KEY]:[f.regular],[m.PALETTE]:[f.regular],[m.FLOPPY_DISK]:[f.regular],[m.MAGNIFYING_GLASS]:[f.regular],[m.ELLIPSIS]:[f.regular],[m.SHARE_NODES]:[f.regular],[m.ARROWS_FROM_LINE]:[f.regular],[m.POWER_OFF]:[f.regular],[m.ENVELOPE_OPEN_TEXT]:[f.regular],[m.CIRCLE_PAUSE]:[f.regular,f.solid],[m.MOBILE]:[f.regular],[m.BELL]:[f.regular,f.solid],[m.HYPHEN]:[f.regular],[m.FILTER]:[f.regular,f.solid],[m.MEDAL]:[f.regular],[m.CLOUD_SLASH]:[f.regular],[m.ARROW_TURN_LEFT]:[f.regular],[m.MINUS]:[f.regular,f.solid],[m.PASTE]:[f.regular],[m.CALENDAR_CHECK]:[f.regular],[m.SORT_DOWN]:[f.solid],[m.HEXAGON_XMARK]:[f.solid],[m.CARET_LARGE_DOWN]:[f.solid],[m.PAUSE]:[f.solid],[m.CHART_MIXED]:[f.solid],[m.CARET_LARGE_LEFT]:[f.solid],[m.CARET_DOWN]:[f.solid],[m.ROBOT]:[f.solid],[m.WAND_MAGIC_SPARKLES]:[f.solid],[m.HEXAGON_EXCLAMATION]:[f.solid],[m.CUBES]:[f.solid],[m.TURN_RIGHT]:[f.solid],[m.CARET_LARGE_UP]:[f.solid],[m.SQUARE_INFO]:[f.solid],[m.SORT]:[f.solid],[m.INFO]:[f.solid],[m.MESSAGE_BOT]:[f.solid],[m.PLAY]:[f.solid],[m.TURN_LEFT]:[f.solid],[m.OCTAGON_XMARK]:[f.solid],[m.ADDRESS_CARD]:[f.solid],[m.CROWN]:[f.solid],[m.SQUARE_CHECK]:[f.solid],[m.SPINNER_SCALE]:[f.solid],[m.GRIP_LINES]:[f.solid],[m.CHART_AREA]:[f.solid],[m.TRASH]:[f.solid],[m.SORT_UP]:[f.solid],[m.USER_TIE]:[f.solid],[m.CARET_LARGE_RIGHT]:[f.solid],[m.CIRCLE_SMALL]:[f.solid],[m.QUESTION]:[f.solid],[m.SQUARE_MINUS]:[f.solid],[m.SQUARE_POLL_VERTICAL_REGULAR]:[f.custom],[m.PREVIEW_REGULAR]:[f.custom],[m.LANGUAGE_SLASH_REGULAR]:[f.custom],[m.CIRCLE_USER_CIRCLE_CHECK_SOLID]:[f.custom],[m.FOLDER_OPEN_LOCK_REGULAR]:[f.custom],[m.TABLE_CELLS_SLASH_REGULAR]:[f.custom],[m.PIP_WIDE_REGULAR]:[f.custom],[m.CLOUD_SLASH_GEAR_REGULAR]:[f.custom],[m.CIRCLE_DASHED_DOLLAR_QUESTION_REGULAR]:[f.custom],[m.PAPER_PLANE_REGULAR]:[f.custom],[m.CABINET_FILING_FLOPPY_DISK_REGULAR]:[f.custom],[m.USER_GEAR_REGULAR]:[f.custom],[m.CHART_BAR_STACKED_REGULAR]:[f.custom],[m.CODE_COMPARE_SOLID]:[f.custom],[m.FILE_ROTATE_RIGHT_SOLID]:[f.custom],[m.CONSUMER_REGULAR]:[f.custom],[m.HOUSE_MAGNIFYING_GLASS_REGULAR]:[f.custom],[m.LEFT_PANEL_SOLID]:[f.custom],[m.LIST_MAGNIFYING_GLASS_REGULAR]:[f.custom],[m.THUMBS_UP_THUMBS_DOWN_SOLID]:[f.custom],[m.SCHEDULED_REGULAR]:[f.custom],[m.WAND_MAGIC_SPARKLES_REGULAR]:[f.custom],[m.HOURGLASS_END_REGULAR]:[f.custom],[m.FILE_LINES_GEAR_REGULAR]:[f.custom],[m.USER_LOCK_REGULAR]:[f.custom],[m.HOURGLASS_HALF_CIRCLE_CHECK_REGULAR]:[f.custom],[m.CONTEXT_MENU_CURSOR_REGULAR]:[f.custom],[m.BARS_PROGRESS_REGULAR]:[f.custom],[m.HOURGLASS_HALF_REGULAR]:[f.custom],[m.PAPER_PLANE_SLASH_REGULAR]:[f.custom],[m.BINDER_OPEN_ARROW_RIGHT_REGULAR]:[f.custom],[m.BELL_CIRCLE_PLUS_REGULAR]:[f.custom],[m.DIAGRAM_SUNBURST_REGULAR]:[f.custom],[m.BULLETS_LINE_REGULAR]:[f.custom],[m.LANGUAGE_CIRCLE_EXCLAMATION_REGULAR]:[f.custom],[m.MESSAGE_BOT_CIRCLE_BOT_SOLID]:[f.custom],[m.MOBILE_LANDSCAPE_REGULAR]:[f.custom],[m.BINDER_OPEN_PEN_REGULAR]:[f.custom],[m.THRESHOLD_REGULAR]:[f.custom],[m.BOOKMARK_CIRCLE_PLUS_REGULAR]:[f.custom],[m.SHARED_SOLID]:[f.custom],[m.BINDER_OPEN_REGULAR]:[f.custom],[m.BOOK_OPEN_GEAR_REGULAR]:[f.custom],[m.CIRCLE_ARROW_DOWN_SLASH_REGULAR]:[f.custom],[m.BINDER_OPEN_ARROW_LEFT_REGULAR]:[f.custom],[m.LEFT_PANEL_REGULAR]:[f.custom],[m.FORMAT_CLEAR_REGULAR]:[f.custom],[m.MAGNIFYING_GLASS_ONE_REGULAR]:[f.custom],[m.CIRCLE_DOLLAR_SLASH_REGULAR]:[f.custom],[m.TRANSLATION_SPARKLE_SOLID]:[f.custom],[m.PIP_REGULAR]:[f.custom],[m.SERVER_CIRCLE_ARROW_DOWN_REGULAR]:[f.custom],[m.CHART_BAR_GROUPED_REGULAR]:[f.custom],[m.LANGUAGE_REGULAR]:[f.custom],[m.COMPUTER_MOUSE_MAGNIFYING_GLASS_REGULAR]:[f.custom],[m.USER_CIRCLE_CHECK_REGULAR]:[f.custom],[m.CLONE_LINK_SIMPLE_REGULAR]:[f.custom],[m.CHART_LINE_USER_REGULAR]:[f.custom],[m.CONTEXT_REGULAR]:[f.custom],[m.BULLETS_LINES_REGULAR]:[f.custom],[m.MAGNIFYING_GLASS_FLOPPY_DISK_REGULAR]:[f.custom],[m.BOOK_OPEN_GEAR_SLASH_REGULAR]:[f.custom],[m.BOOKMARK_CIRCLE_MINUS_REGULAR]:[f.custom],[m.CIRCLE_USER_SLASH_SOLID]:[f.custom],[m.TABLET_LANDSCAPE_REGULAR]:[f.custom],[m.BOX_HTML_REGULAR]:[f.custom],[m.MAGNIFYING_GLASS_BACK_REGULAR]:[f.custom],[m.CHART_BAR_NORMALIZED_REGULAR]:[f.custom]},Gc={[f.regular]:"far",[f.solid]:"fas",[f.custom]:"fak"};var _n=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},de=class extends jc.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return Wc.html`
1119
1119
  <div class="${(0,Kc.classMap)(t)}">${(0,Vc.unsafeHTML)(this.buildIcon())}</div>
1120
1120
  `}buildIcon(){let t=this.variant?Gc[this.variant]:void 0,n=ts.find(o=>o.iconName===this.icon&&(t?o.prefix===t:!0));return n?($c.add(n),Hc(n).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};de.elementDefinitions={};de.styles=Qi;_n([(0,Dr.property)()],de.prototype,"variant",void 0);_n([(0,Dr.property)()],de.prototype,"icon",void 0);_n([(0,Dr.property)({type:Boolean})],de.prototype,"monospace",void 0);_n([(0,Dr.property)({reflect:!0,attribute:"aria-hidden"})],de.prototype,"ariaHidden",void 0);var qc=L(P());var Zc={"ftds-icon":de};(0,qc.customElements)(Zc);var al=L(G()),E=L(P());var tl=L(G()),Q=L(P()),Yc=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorContent),R={color:Yc,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Yc),opacityContentOnSurfacePressed:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Xc=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorPrimary),Qc={color:Xc,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xc)},Jc=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorSecondary),el={color:Jc,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Jc)},rl=tl.css`
1121
1121
  :host {
@@ -1775,7 +1775,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
1775
1775
  <div></div>
1776
1776
  <div></div>
1777
1777
  </div>
1778
- `}};Ot.styles=ol;var dl=L(P());var ll={"ft-loader":Ot};(0,dl.customElements)(ll);var ul=L(G()),ae=L(ce()),fl=L(Nr()),Br=L(P());var ue=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},Z=class extends Br.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Br.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Br.Debouncer(10),this.moveRipple=t=>{var n,o;let{x:a,y:i}=this.getCoordinates(t),s=(o=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ul.html`
1778
+ `}};Ot.styles=ol;var dl=L(P());var ll={"ft-loader":Ot};(0,dl.customElements)(ll);var ul=L(G()),ae=L(ce()),fl=L(Nr()),Br=L(P());var ue=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},q=class extends Br.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Br.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Br.Debouncer(10),this.moveRipple=t=>{var n,o;let{x:a,y:i}=this.getCoordinates(t),s=(o=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ul.html`
1779
1779
  <style>
1780
1780
  .ft-ripple .ft-ripple--effect {
1781
1781
  left: ${this.originX}px;
@@ -1786,7 +1786,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
1786
1786
  <div class="ft-ripple--background"></div>
1787
1787
  <div class="ft-ripple--effect"></div>
1788
1788
  </div>
1789
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var n,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,n;let o=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;o&&this.setupFor((n=this.target)!==null&&n!==void 0?n:o)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let n=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},o=n("mouseup","contextmenu"),a=n("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&n("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",o,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",o,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let n=t,o=t,a,i;return n.x!=null?{x:a,y:i}=n:o.touches!=null&&(a=o.touches[0].clientX,i=o.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let n of t.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Z.elementDefinitions={};Z.styles=rl;ue([(0,ae.property)({type:Boolean})],Z.prototype,"primary",void 0);ue([(0,ae.property)({type:Boolean})],Z.prototype,"secondary",void 0);ue([(0,ae.property)({type:Boolean})],Z.prototype,"unbounded",void 0);ue([(0,ae.property)({type:Boolean})],Z.prototype,"activated",void 0);ue([(0,ae.property)({type:Boolean})],Z.prototype,"selected",void 0);ue([(0,ae.property)({type:Boolean})],Z.prototype,"disabled",void 0);ue([(0,ae.state)()],Z.prototype,"hovered",void 0);ue([(0,ae.state)()],Z.prototype,"focused",void 0);ue([(0,ae.state)()],Z.prototype,"pressed",void 0);ue([(0,ae.state)()],Z.prototype,"rippling",void 0);ue([(0,ae.state)()],Z.prototype,"originX",void 0);ue([(0,ae.state)()],Z.prototype,"originY",void 0);ue([(0,ae.query)(".ft-ripple")],Z.prototype,"ripple",void 0);ue([(0,ae.query)(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);var ml=L(P());var pl={"ft-ripple":Z};(0,ml.customElements)(pl);var u0=L(G()),Oe=L(ce()),Ae=L(P());var ca=L(ce()),wl=L(P());var Qt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(Qt||(Qt={}));var Se=L(G()),w=L(P()),hl=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),qe=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),I={fontFamily:qe,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",hl),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},er={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",hl),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},tr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},rr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},nr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},or={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},ar={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ir={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},sr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},cr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},gl=Se.css`
1789
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var n,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,n;let o=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;o&&this.setupFor((n=this.target)!==null&&n!==void 0?n:o)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let n=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},o=n("mouseup","contextmenu"),a=n("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&n("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",o,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",o,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let n=t,o=t,a,i;return n.x!=null?{x:a,y:i}=n:o.touches!=null&&(a=o.touches[0].clientX,i=o.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let n of t.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};q.elementDefinitions={};q.styles=rl;ue([(0,ae.property)({type:Boolean})],q.prototype,"primary",void 0);ue([(0,ae.property)({type:Boolean})],q.prototype,"secondary",void 0);ue([(0,ae.property)({type:Boolean})],q.prototype,"unbounded",void 0);ue([(0,ae.property)({type:Boolean})],q.prototype,"activated",void 0);ue([(0,ae.property)({type:Boolean})],q.prototype,"selected",void 0);ue([(0,ae.property)({type:Boolean})],q.prototype,"disabled",void 0);ue([(0,ae.state)()],q.prototype,"hovered",void 0);ue([(0,ae.state)()],q.prototype,"focused",void 0);ue([(0,ae.state)()],q.prototype,"pressed",void 0);ue([(0,ae.state)()],q.prototype,"rippling",void 0);ue([(0,ae.state)()],q.prototype,"originX",void 0);ue([(0,ae.state)()],q.prototype,"originY",void 0);ue([(0,ae.query)(".ft-ripple")],q.prototype,"ripple",void 0);ue([(0,ae.query)(".ft-ripple--effect")],q.prototype,"rippleEffect",void 0);var ml=L(P());var pl={"ft-ripple":q};(0,ml.customElements)(pl);var u0=L(G()),Oe=L(ce()),Ae=L(P());var ca=L(ce()),wl=L(P());var Qt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(Qt||(Qt={}));var Se=L(G()),w=L(P()),hl=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),qe=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),I={fontFamily:qe,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",hl),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},er={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",hl),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},tr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},rr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},nr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},or={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},ar={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ir={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},sr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},cr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},gl=Se.css`
1790
1790
  .ft-typography--title {
1791
1791
  font-family: ${Jt.fontFamily};
1792
1792
  font-size: ${Jt.fontSize};
@@ -1920,10 +1920,10 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
1920
1920
  position: relative;
1921
1921
  word-break: break-word;
1922
1922
  }
1923
- `;var Il=["top","right","bottom","left"],kl=["start","end"],da=Il.reduce((e,t)=>e.concat(t,t+"-"+kl[0],t+"-"+kl[1]),[]),$r=Math.min,ct=Math.max,Hr=Math.round;var He=e=>({x:e,y:e}),vf={left:"right",right:"left",bottom:"top",top:"bottom"};function Tl(e,t,n){return ct(e,$r(t,n))}function Mn(e,t){return typeof e=="function"?e(t):e}function Gr(e){return e.split("-")[0]}function lt(e){return e.split("-")[1]}function ua(e){return e==="x"?"y":"x"}function fa(e){return e==="y"?"height":"width"}function zn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function pa(e){return ua(zn(e))}function Pl(e,t,n){n===void 0&&(n=!1);let o=lt(e),a=pa(e),i=fa(a),s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=la(s)),[s,la(s)]}function Dl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function la(e){let t=Gr(e);return vf[t]+e.slice(t.length)}function xf(e){var t,n,o,a;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(o=e.bottom)!=null?o:0,left:(a=e.left)!=null?a:0}}function Ul(e){return typeof e!="number"?xf(e):{top:e,right:e,bottom:e,left:e}}function Rt(e){let{x:t,y:n,width:o,height:a}=e;return{width:o,height:a,top:n,left:t,right:t+o,bottom:n+a,x:t,y:n}}function Bl(e,t,n){let{reference:o,floating:a}=e,i=zn(t),s=pa(t),l=fa(s),d=Gr(t),p=i==="y",h=o.x+o.width/2-a.width/2,g=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2,v;switch(d){case"top":v={x:h,y:o.y-a.height};break;case"bottom":v={x:h,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:g};break;case"left":v={x:o.x-a.width,y:g};break;default:v={x:o.x,y:o.y}}let x=lt(t);return x&&(v[s]+=y*(x==="end"?1:-1)*(n&&p?-1:1)),v}async function Fl(e,t){var n;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=Mn(t,e),x=Ul(v),A=l[y?g==="floating"?"reference":"floating":g],O=Rt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(A)))==null||n?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),N=g==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,z=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),T=await(i.isElement==null?void 0:i.isElement(z))&&await(i.getScale==null?void 0:i.getScale(z))||{x:1,y:1},B=Rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:z,strategy:d}):N);return{top:(O.top-B.top+x.top)/T.y,bottom:(B.bottom-O.bottom+x.bottom)/T.y,left:(O.left-B.left+x.left)/T.x,right:(B.right-O.right+x.right)/T.x}}var Sf=50,$l=async(e,t,n)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:Fl},d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:g}=Bl(p,o,d),y=o,v=0,x={};for(let S=0;S<i.length;S++){let A=i[S];if(!A)continue;let{name:O,fn:N}=A,{x:z,y:T,data:B,reset:H}=await N({x:h,y:g,initialPlacement:o,placement:y,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:e,floating:t}});h=z??h,g=T??g,x[O]={...x[O],...B},H&&v<Sf&&(v++,typeof H=="object"&&(H.placement&&(y=H.placement),H.rects&&(p=H.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):H.rects),{x:h,y:g}=Bl(p,y,d)),S=-1)}return{x:h,y:g,placement:y,strategy:a,middlewareData:x}};function Cf(e,t,n){return(e?[...n.filter(a=>lt(a)===e),...n.filter(a=>lt(a)!==e)]:n.filter(a=>Gr(a)===a)).filter(a=>e?lt(a)===e||(t?Dl(a)!==a:!1):!0)}var Hl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=da,autoAlignment:v=!0,...x}=Mn(e,t),S=g!==void 0||y===da?Cf(g||null,v,y):y,A=((n=s.autoPlacement)==null?void 0:n.index)||0,O=S[A];if(O==null)return{};if(l!==O)return{reset:{placement:S[0]}};let N=await d.detectOverflow(t,x),z=Pl(O,i,await(d.isRTL==null?void 0:d.isRTL(p.floating))),T=[N[Gr(O)],N[z[0]],N[z[1]]],B=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:O,overflows:T}],H=S[A+1];if(H)return{data:{index:A+1,overflows:B},reset:{placement:H}};let Ue=B.map(me=>{let xe=lt(me.placement);return[me.placement,xe&&h?me.overflows.slice(0,2).reduce((he,vt)=>he+vt,0):me.overflows[0],me.overflows]}).sort((me,xe)=>me[1]-xe[1]),Be=((a=Ue.filter(me=>me[2].slice(0,lt(me[0])?2:3).every(xe=>xe<=0))[0])==null?void 0:a[0])||Ue[0][0];return Be!==l?{data:{index:A+1,overflows:B},reset:{placement:Be}}:{}}}};var Gl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:N=>{let{x:z,y:T}=N;return{x:z,y:T}}},...p}=Mn(e,t),h={x:n,y:o},g=await i.detectOverflow(t,p),y=zn(a),v=ua(y),x=h[v],S=h[y],A=(N,z)=>Tl(z+g[N==="y"?"top":"left"],z,z-g[N==="y"?"bottom":"right"]);s&&(x=A(v,x)),l&&(S=A(y,S));let O=d.fn({...t,[v]:x,[y]:S});return{...O,data:{x:O.x-n,y:O.y-o,enabled:{[v]:s,[y]:l}}}}}};function In(){return typeof window<"u"}function Nt(e){return jl(e)?(e.nodeName||"").toLowerCase():"#document"}function fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xe(e){var t;return(t=(jl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function jl(e){return In()?e instanceof Node||e instanceof fe(e).Node:!1}function Me(e){return In()?e instanceof Element||e instanceof fe(e).Element:!1}function Qe(e){return In()?e instanceof HTMLElement||e instanceof fe(e).HTMLElement:!1}function Wl(e){return!In()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof fe(e).ShadowRoot}function Wr(e){let{overflow:t,overflowX:n,overflowY:o,display:a}=ze(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&a!=="inline"&&a!=="contents"}function Vl(e){return/^(table|td|th)$/.test(Nt(e))}function jr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Ef=/transform|translate|scale|rotate|perspective|filter/,Lf=/paint|layout|strict|content/,wt=e=>!!e&&e!=="none",ma;function lr(e){let t=Me(e)?ze(e):e;return wt(t.transform)||wt(t.translate)||wt(t.scale)||wt(t.rotate)||wt(t.perspective)||!Tn()&&(wt(t.backdropFilter)||wt(t.filter))||Ef.test(t.willChange||"")||Lf.test(t.contain||"")}function Kl(e){let t=dt(e);for(;Qe(t)&&!dr(t);){if(lr(t))return t;if(jr(t))return null;t=dt(t)}return null}function Tn(){return ma==null&&(ma=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ma}function dr(e){return/^(html|body|#document)$/.test(Nt(e))}function ze(e){return fe(e).getComputedStyle(e)}function Vr(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dt(e){if(Nt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Wl(e)&&e.host||Xe(e);return Wl(t)?t.host:t}function Zl(e){let t=dt(e);return dr(t)?(e.ownerDocument||e).body:Qe(t)&&Wr(t)?t:Zl(t)}function kn(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);let a=Zl(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=fe(a);if(i){let l=Pn(s);return t.concat(s,s.visualViewport||[],Wr(a)?a:[],l&&n?kn(l):[])}else return t.concat(a,kn(a,[],n))}function Pn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xl(e){let t=ze(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=Qe(e),i=a?e.offsetWidth:n,s=a?e.offsetHeight:o,l=Hr(n)!==i||Hr(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function Ql(e){return Me(e)?e:e.contextElement}function ur(e){let t=Ql(e);if(!Qe(t))return He(1);let n=t.getBoundingClientRect(),{width:o,height:a,$:i}=Xl(t),s=(i?Hr(n.width):n.width)/o,l=(i?Hr(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Af=He(0);function Jl(e){let t=fe(e);return!Tn()||!t.visualViewport?Af:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Of(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===fe(e)}function Kr(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);let a=e.getBoundingClientRect(),i=Ql(e),s=He(1);t&&(o?Me(o)&&(s=ur(o)):s=ur(e));let l=Of(i,n,o)?Jl(i):He(0),d=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,h=a.width/s.x,g=a.height/s.y;if(i&&o){let y=fe(i),v=Me(o)?fe(o):o,x=y,S=Pn(x);for(;S&&v!==x;){let A=ur(S),O=S.getBoundingClientRect(),N=ze(S),z=O.left+(S.clientLeft+parseFloat(N.paddingLeft))*A.x,T=O.top+(S.clientTop+parseFloat(N.paddingTop))*A.y;d*=A.x,p*=A.y,h*=A.x,g*=A.y,d+=z,p+=T,x=fe(S),S=Pn(x)}}return Rt({width:h,height:g,x:d,y:p})}function Dn(e,t){let n=Vr(e).scrollLeft;return t?t.left+n:Kr(Xe(e)).left+n}function e1(e,t){let n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Dn(e,n),a=n.top+t.scrollTop;return{x:o,y:a}}function Rf(e){let{elements:t,rect:n,offsetParent:o,strategy:a}=e,i=a==="fixed",s=Xe(o),l=t?jr(t.floating):!1;if(o===s||l&&i)return n;let d={scrollLeft:0,scrollTop:0},p=He(1),h=He(0),g=Qe(o);if((g||!i)&&((Nt(o)!=="body"||Wr(s))&&(d=Vr(o)),g)){let v=Kr(o);p=ur(o),h.x=v.x+o.clientLeft,h.y=v.y+o.clientTop}let y=s&&!g&&!i?e1(s,d):He(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-d.scrollLeft*p.x+h.x+y.x,y:n.y*p.y-d.scrollTop*p.y+h.y+y.y}}function wf(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Nf(e){let t=Vr(e),n=e.ownerDocument.body,o=ct(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ct(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),i=-t.scrollLeft+Dn(e),s=-t.scrollTop;return ze(n).direction==="rtl"&&(i+=ct(e.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:s}}var _f=25;function Mf(e,t,n){n===void 0&&(n="viewport");let o=n==="layoutViewport",a=fe(e),i=Xe(e),s=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,h=0;if(s){let y=!Tn()||t==="fixed";o?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,d=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(Dn(i)<=0){let y=i.ownerDocument,v=y.body,x=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,A=Math.abs(i.clientWidth-v.clientWidth-S),O=getComputedStyle(i).scrollbarGutter==="stable both-edges"?A/2:A;O<=_f&&(l-=O)}return{width:l,height:d,x:p,y:h}}function zf(e,t){let n=Kr(e,!0,t==="fixed"),o=n.top+e.clientTop,a=n.left+e.clientLeft,i=ur(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,p=o*i.y;return{width:s,height:l,x:d,y:p}}function ql(e,t,n){let o;if(t==="viewport"||t==="layoutViewport")o=Mf(e,n,t);else if(t==="document")o=Nf(Xe(e));else if(Me(t))o=zf(t,n);else{let a=Jl(e);o={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Rt(o)}function kf(e,t){let n=t.get(e);if(n)return n;let o=kn(e,[],!1).filter(l=>Me(l)&&Nt(l)!=="body"),a=null,i=ze(e).position==="fixed",s=i?dt(e):e;for(;Me(s)&&!dr(s);){let l=ze(s),d=lr(s),p=a?a.position:i?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?o=o.filter(g=>g!==s):a=l,s=dt(s)}return t.set(e,o),o}function If(e){let{element:t,boundary:n,rootBoundary:o,strategy:a}=e,s=[...n==="clippingAncestors"?jr(t)?[]:kf(t,this._c):[].concat(n),o],l=ql(t,s[0],a),d=l.top,p=l.right,h=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let v=ql(t,s[y],a);d=ct(v.top,d),p=$r(v.right,p),h=$r(v.bottom,h),g=ct(v.left,g)}return{width:p-g,height:h-d,x:g,y:d}}function Tf(e){let{width:t,height:n}=Xl(e);return{width:t,height:n}}function Pf(e,t,n){let o=Qe(t),a=Xe(t),i=n==="fixed",s=Kr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=He(0);if((o||!i)&&((Nt(t)!=="body"||Wr(a))&&(l=Vr(t)),o)){let y=Kr(t,!0,i,t);d.x=y.x+t.clientLeft,d.y=y.y+t.clientTop}!o&&a&&(d.x=Dn(a));let p=a&&!o&&!i?e1(a,l):He(0),h=s.left+l.scrollLeft-d.x-p.x,g=s.top+l.scrollTop-d.y-p.y;return{x:h,y:g,width:s.width,height:s.height}}function ha(e){return ze(e).position==="static"}function Yl(e,t){if(!Qe(e)||ze(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Xe(e)===n&&(n=n.ownerDocument.body),n}function t1(e,t){let n=fe(e);if(jr(e))return n;if(!Qe(e)){let a=dt(e);for(;a&&!dr(a);){if(Me(a)&&!ha(a))return a;a=dt(a)}return n}let o=Yl(e,t);for(;o&&Vl(o)&&ha(o);)o=Yl(o,t);return o&&dr(o)&&ha(o)&&!lr(o)?n:o||Kl(e)||n}var Df=async function(e){let t=this.getOffsetParent||t1,n=this.getDimensions,o=await n(e.floating);return{reference:Pf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Uf(e){return ze(e).direction==="rtl"}var Un={convertOffsetParentRelativeRectToViewportRelativeRect:Rf,getDocumentElement:Xe,getClippingRect:If,getOffsetParent:t1,getElementRects:Df,getClientRects:wf,getDimensions:Tf,getScale:ur,isElement:Me,isRTL:Uf};var r1=Hl,n1=Gl;var o1=(e,t,n)=>{let o=new Map,a=n??{},i={...Un,...a.platform,_c:o};return $l(e,t,{...a,platform:i})};function a1(e){return Bf(e)}function ga(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Bf(e){for(let t=e;t;t=ga(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ga(e);t;t=ga(t)){if(!(t instanceof Element))continue;let n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||lr(n)||t.tagName==="BODY"))return t}return null}async function i1(e,t,n){let o;return typeof n=="object"?o=n:o={placement:n},o1(e,t,{strategy:o.strategy,platform:{...Un,getOffsetParent:a=>Un.getOffsetParent(a,a1)},middleware:[n1({crossAxis:!0}),r1({allowedPlacements:[o.placement]})]})}var Er=L(P());var Ha=L(ce());var s1=L(ce(),1);var ya=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function c1(e,t){return(0,s1.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return Zr(e);try{return JSON.parse(n)}catch{return Zr(e)}},toAttribute:n=>JSON.stringify(n)},hasChanged:qr,...t??{}})}function Ff(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!Bn(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!Bn(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null),i=a(e);if(n=i.length,n!==a(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=n;o--!==0;){let s=i[o];if(!Bn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Bn(e,t){try{return Ff(e,t)}catch{return!1}}function qr(e,t){return!Bn(e,t)}function Zr(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Fn(e,t){let n=o=>o[e]===!0;return o=>{if(n(o))return o;let a=t(o);return a[e]=!0,a}}var l1=L(ce(),1);var ba=e=>{let t=e??{};return(n,o)=>{var a;let i={hasChanged:qr,attribute:!1,...t};(0,l1.property)(i)(n,o);let s=n.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[o]),store:t.store})}};var $n=class{constructor(){this.queue=[]}add(t,n=!1){n&&this.clear(t.type),this.queue.push(t)}consume(t){let n=this.queue.find(o=>o.type===t);return n&&(this.queue=this.queue.filter(o=>o!==n)),n}clear(t){typeof t=="string"?this.queue=this.queue.filter(n=>n.type!==t):this.queue=this.queue.filter(n=>!t.test(n.type))}};var _t=L(ce(),1);var Hn=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,n){return this.callbacks=[t],this.debounce(n)}queue(t,n){return this.callbacks.push(t),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((n,o)=>{this.resolvePromise=n,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,n;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(n=this.resolvePromise)!==null&&n!==void 0?n:(()=>null);this.clearPromise();for(let s of o)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var u1=L(G(),1);var Gn=globalThis,$f=Gn.ShadowRoot&&(Gn.ShadyCSS===void 0||Gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var d1=(e,t)=>{if($f)e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet);else for(let n of t){let o=document.createElement("style"),a=Gn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=n.cssText,e.appendChild(o)}};var Wn=class extends u1.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let n={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(n);return d1(o,t.elementStyles),o}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([n,o])=>this.defineScopedElement(n,o))}static defineScopedElement(t,n){ya(t)(n),this.canDefineScopedElement(t)&&this.registry.define(t,n)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,n){this.scopedRegistryConstructor.defineScopedElement(t,n)}};function f1(e,t,...n){var o;let a=e.querySelector(t);for(let i of n)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}var pr=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},g1,p1=Symbol("constructorPrototype"),m1=Symbol("constructorName"),y1=Symbol("exportpartsDebouncer"),h1=Symbol("dynamicDependenciesLoaded"),fr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};fr.eventName="exportparts-updated";var Ge=class extends Wn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[g1]=new Hn(5),this.scheduleExportpartsUpdate=()=>{var t,n,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&o!==void 0&&o)&&this[y1].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[m1]=this.constructor.name,this[p1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[m1]&&Object.setPrototypeOf(this,this[p1])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let n=this.constructor;n[h1]||(n[h1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(fr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(fr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new fr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:n,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];n=f1(this.shadowRoot,...i)}n?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||n?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var n,o,a;if(((o=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var n,o,a,i,s,l;let d=y=>y!=null&&y.trim().length>0,p=t.filter(d).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(o=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let v=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[],S=[...v,...x].filter(d).map(A=>A.trim());for(let A of S)h.add(A)}if(h.size===0){this.exportparts=void 0;return}let g=[...h.values()].flatMap(y=>p.map(v=>`${y}:${v}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};g1=y1;pr([(0,_t.property)()],Ge.prototype,"exportpartsPrefix",void 0);pr([c1([])],Ge.prototype,"exportpartsPrefixes",void 0);pr([(0,_t.property)({reflect:!0})],Ge.prototype,"exportparts",void 0);pr([(0,_t.property)()],Ge.prototype,"customStylesheet",void 0);pr([(0,_t.property)()],Ge.prototype,"elementToFocus",void 0);pr([(0,_t.state)()],Ge.prototype,"useAdoptedStyleSheets",void 0);function jn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yr=Symbol("internalReduxEventsUnsubscribers"),ut=Symbol("internalStoresUnsubscribers"),Mt=Symbol("internalStores"),Hf=Fn(Symbol("withRedux"),function(e){var t,n,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[n]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Mt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[ut].has(s.store):this[ut].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[ut].set(s,l.subscribe(()=>this.updateFromStores())),this[Yr].set(s,[]),jn(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let g=y=>this[h](y);l.addEventListener(p.eventName,g),this[Yr].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ut].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ut].has(s)&&this[ut].get(s)(),this[ut].delete(s),(l=this[Yr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Yr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ut,n=Mt,o=Yr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),b1=class extends Hf(Ge){};function Ce(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[W]}function ke(e){var t;return!!e&&((function(n){if(!n||typeof n!="object")return!1;var o=Object.getPrototypeOf(n);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Yf})(e)||Array.isArray(e)||!!e[A1]||!!(!((t=e.constructor)===null||t===void 0)&&t[A1])||Ra(e)||wa(e))}function zt(e,t,n){n===void 0&&(n=!1),gr(e)===0?(n?Object.keys:hr)(e).forEach((function(o){n&&typeof o=="symbol"||t(o,e[o],e)})):e.forEach((function(o,a){return t(a,o,e)}))}function gr(e){var t=e[W];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ra(e)?2:wa(e)?3:0}function mr(e,t){return gr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Gf(e,t){return gr(e)===2?e.get(t):e[t]}function O1(e,t,n){var o=gr(e);o===2?e.set(t,n):o===3?e.add(n):e[t]=n}function R1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ra(e){return Zf&&e instanceof Map}function wa(e){return qf&&e instanceof Set}function ft(e){return e.o||e.t}function Na(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=_1(e);delete t[W];for(var n=hr(t),o=0;o<n.length;o++){var a=n[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function _a(e,t){return t===void 0&&(t=!1),Ma(e)||Je(e)||!ke(e)||(gr(e)>1&&(e.set=e.add=e.clear=e.delete=Wf),Object.freeze(e),t&&zt(e,(function(n,o){return _a(o,!0)}),!0)),e}function Wf(){Ce(2)}function Ma(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function We(e){var t=Oa[e];return t||Ce(18,e),t}function jf(e,t){Oa[e]||(Oa[e]=t)}function Ea(){return Qr}function va(e,t){t&&(We("Patches"),e.u=[],e.s=[],e.v=t)}function Vn(e){La(e),e.p.forEach(Vf),e.p=null}function La(e){e===Qr&&(Qr=e.l)}function v1(e){return Qr={p:[],l:Qr,h:e,m:!0,_:0}}function Vf(e){var t=e[W];t.i===0||t.i===1?t.j():t.g=!0}function xa(e,t){t._=t.p.length;var n=t.p[0],o=e!==void 0&&e!==n;return t.h.O||We("ES5").S(t,e,o),o?(n[W].P&&(Vn(t),Ce(4)),ke(e)&&(e=Kn(t,e),t.l||Zn(t,e)),t.u&&We("Patches").M(n[W].t,e,t.u,t.s)):e=Kn(t,n,[]),Vn(t),t.u&&t.v(t.u,t.s),e!==N1?e:void 0}function Kn(e,t,n){if(Ma(t))return t;var o=t[W];if(!o)return zt(t,(function(l,d){return x1(e,o,t,l,d,n)}),!0),t;if(o.A!==e)return t;if(!o.P)return Zn(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Na(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),zt(i,(function(l,d){return x1(e,o,a,l,d,n,s)})),Zn(e,a,!1),n&&e.u&&We("Patches").N(o,n,e.u,e.s)}return o.o}function x1(e,t,n,o,a,i,s){if(Je(a)){var l=Kn(e,a,i&&t&&t.i!==3&&!mr(t.R,o)?i.concat(o):void 0);if(O1(n,o,l),!Je(l))return;e.m=!1}else s&&n.add(a);if(ke(a)&&!Ma(a)){if(!e.h.D&&e._<1)return;Kn(e,a),t&&t.A.l||Zn(e,a)}}function Zn(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&_a(t,n)}function Sa(e,t){var n=e[W];return(n?ft(n):e)[t]}function S1(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function pt(e){e.P||(e.P=!0,e.l&&pt(e.l))}function Ca(e){e.o||(e.o=Na(e.t))}function Aa(e,t,n){var o=Ra(t)?We("MapSet").F(t,n):wa(t)?We("MapSet").T(t,n):e.O?(function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ea(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Jr;s&&(d=[l],p=Xr);var h=Proxy.revocable(d,p),g=h.revoke,y=h.proxy;return l.k=y,l.j=g,y})(t,n):We("ES5").J(t,n);return(n?n.A:Ea()).p.push(o),o}function Kf(e){return Je(e)||Ce(22,e),(function t(n){if(!ke(n))return n;var o,a=n[W],i=gr(n);if(a){if(!a.P&&(a.i<4||!We("ES5").K(a)))return a.t;a.I=!0,o=C1(n,i),a.I=!1}else o=C1(n,i);return zt(o,(function(s,l){a&&Gf(a.t,s)===l||O1(o,s,t(l))})),i===3?new Set(o):o})(e)}function C1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Na(e)}function w1(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[W];return Jr.get(p,s)},set:function(p){var h=this[W];Jr.set(h,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][W];if(!d.P)switch(d.i){case 5:o(d)&&pt(d);break;case 4:n(d)&&pt(d)}}}function n(s){for(var l=s.t,d=s.k,p=hr(d),h=p.length-1;h>=0;h--){var g=p[h];if(g!==W){var y=l[g];if(y===void 0&&!mr(l,g))return!0;var v=d[g],x=v&&v[W];if(x?x.t!==y:!R1(v,y))return!0}}var S=!!l[W];return p.length!==hr(l).length+(S?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Ce(3,JSON.stringify(ft(s)))}var i={};jf("ES5",{J:function(s,l){var d=Array.isArray(s),p=(function(g,y){if(g){for(var v=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(v,""+x,e(x,!0));return v}var S=_1(y);delete S[W];for(var A=hr(S),O=0;O<A.length;O++){var N=A[O];S[N]=e(N,g||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(y),S)})(d,s),h={i:d?5:4,A:l?l.A:Ea(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,W,{value:h,writable:!0}),p},S:function(s,l,d){d?Je(l)&&l[W].A===s&&t(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var g=h[W];if(g){var y=g.t,v=g.k,x=g.R,S=g.i;if(S===4)zt(v,(function(T){T!==W&&(y[T]!==void 0||mr(y,T)?x[T]||p(v[T]):(x[T]=!0,pt(g)))})),zt(y,(function(T){v[T]!==void 0||mr(v,T)||(x[T]=!1,pt(g))}));else if(S===5){if(o(g)&&(pt(g),x.length=!0),v.length<y.length)for(var A=v.length;A<y.length;A++)x[A]=!1;else for(var O=y.length;O<v.length;O++)x[O]=!0;for(var N=Math.min(v.length,y.length),z=0;z<N;z++)v.hasOwnProperty(z)||(x[z]=!0),x[z]===void 0&&p(v[z])}}}})(s.p[0]),t(s.p))},K:function(s){return s.i===4?n(s):o(s)}})}var E1,Qr,za=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zf=typeof Map<"u",qf=typeof Set<"u",L1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",N1=za?Symbol.for("immer-nothing"):((E1={})["immer-nothing"]=!0,E1),A1=za?Symbol.for("immer-draftable"):"__$immer_draftable",W=za?Symbol.for("immer-state"):"__$immer_state";var Yf=""+Object.prototype.constructor,hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,_1=Object.getOwnPropertyDescriptors||function(e){var t={};return hr(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Oa={},Jr={get:function(e,t){if(t===W)return e;var n=ft(e);if(!mr(n,t))return(function(a,i,s){var l,d=S1(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0})(e,n,t);var o=n[t];return e.I||!ke(o)?o:o===Sa(e.t,t)?(Ca(e),e.o[t]=Aa(e.A.h,o,e)):o},has:function(e,t){return t in ft(e)},ownKeys:function(e){return Reflect.ownKeys(ft(e))},set:function(e,t,n){var o=S1(ft(e),t);if(o?.set)return o.set.call(e.k,n),!0;if(!e.P){var a=Sa(ft(e),t),i=a?.[W];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(R1(n,a)&&(n!==void 0||mr(e.t,t)))return!0;Ca(e),pt(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return Sa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ca(e),pt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ft(e),o=Reflect.getOwnPropertyDescriptor(n,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:n[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Xr={};zt(Jr,(function(e,t){Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)},Xr.set=function(e,t,n){return Jr.set.call(this,e[0],t,n,e[0])};var Xf=(function(){function e(n){var o=this;this.O=L1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(S){var A=this;S===void 0&&(S=l);for(var O=arguments.length,N=Array(O>1?O-1:0),z=1;z<O;z++)N[z-1]=arguments[z];return d.produce(S,(function(T){var B;return(B=i).call.apply(B,[A,T].concat(N))}))}}var p;if(typeof i!="function"&&Ce(6),s!==void 0&&typeof s!="function"&&Ce(7),ke(a)){var h=v1(o),g=Aa(o,a,void 0),y=!0;try{p=i(g),y=!1}finally{y?Vn(h):La(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(S){return va(h,s),xa(S,h)}),(function(S){throw Vn(h),S})):(va(h,s),xa(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===N1&&(p=void 0),o.D&&_a(p,!0),s){var v=[],x=[];We("Patches").M(a,p,v,x),s(v,x)}return p}Ce(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,g=Array(h>1?h-1:0),y=1;y<h;y++)g[y-1]=arguments[y];return o.produceWithPatches(p,(function(v){return a.apply(void 0,[v].concat(g))}))};var s,l,d=o.produce(a,i,(function(p,h){s=p,l=h}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(p){return[p,s,l]})):[d,s,l]},typeof n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){ke(n)||Ce(8),Je(n)&&(n=Kf(n));var o=v1(this),a=Aa(this,n,void 0);return a[W].C=!0,La(o),a},t.finishDraft=function(n,o){var a=n&&n[W],i=a.A;return va(i,o),xa(void 0,i)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!L1&&Ce(20),this.O=n},t.applyPatches=function(n,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}a>-1&&(o=o.slice(a+1));var s=We("Patches").$;return Je(n)?s(n,o):this.produce(n,(function(l){return s(l,o)}))},e})(),ye=new Xf,Qf=ye.produce,X7=ye.produceWithPatches.bind(ye),Q7=ye.setAutoFreeze.bind(ye),J7=ye.setUseProxies.bind(ye),e9=ye.applyPatches.bind(ye),t9=ye.createDraft.bind(ye),r9=ye.finishDraft.bind(ye),qn=Qf;function kt(e){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(e)}function M1(e,t){if(kt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(kt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z1(e){var t=M1(e,"string");return kt(t)=="symbol"?t:t+""}function k1(e,t,n){return(t=z1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,o)}return n}function ka(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I1(Object(n),!0).forEach(function(o){k1(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I1(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function ie(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var T1=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yn={INIT:"@@redux/INIT"+Ia(),REPLACE:"@@redux/REPLACE"+Ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ia()}};function Jf(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ta(e,t,n){var o;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ie(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ie(1));return n(Ta)(e,t)}if(typeof e!="function")throw new Error(ie(2));var a=e,i=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(ie(3));return i}function g(S){if(typeof S!="function")throw new Error(ie(4));if(d)throw new Error(ie(5));var A=!0;return p(),l.push(S),function(){if(A){if(d)throw new Error(ie(6));A=!1,p();var N=l.indexOf(S);l.splice(N,1),s=null}}}function y(S){if(!Jf(S))throw new Error(ie(7));if(typeof S.type>"u")throw new Error(ie(8));if(d)throw new Error(ie(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var A=s=l,O=0;O<A.length;O++){var N=A[O];N()}return S}function v(S){if(typeof S!="function")throw new Error(ie(10));a=S,y({type:Yn.REPLACE})}function x(){var S,A=g;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(ie(11));function z(){N.next&&N.next(h())}z();var T=A(z);return{unsubscribe:T}}},S[T1]=function(){return this},S}return y({type:Yn.INIT}),o={dispatch:y,subscribe:g,getState:h,replaceReducer:v},o[T1]=x,o}function e3(e){Object.keys(e).forEach(function(t){var n=e[t],o=n(void 0,{type:Yn.INIT});if(typeof o>"u")throw new Error(ie(12));if(typeof n(void 0,{type:Yn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ie(13))})}function P1(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(n[a]=e[a])}var i=Object.keys(n),s,l;try{e3(n)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var g;for(var y=!1,v={},x=0;x<i.length;x++){var S=i[x],A=n[S],O=p[S],N=A(O,h);if(typeof N>"u"){var z=h&&h.type;throw new Error(ie(14))}v[S]=N,y=y||N!==O}return y=y||i.length!==Object.keys(p).length,y?v:p}}function yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function D1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(ie(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=yr.apply(void 0,l)(a.dispatch),ka(ka({},a),{},{dispatch:i})}}}function U1(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var B1=U1();B1.withExtraArgument=U1;var Pa=B1;var W1=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function o(){this.constructor=t}t.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}})(),t3=function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(o)throw new TypeError("Generator is already executing.");for(;n;)try{if(o=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return n.label++,{value:p[1],done:!1};case 5:n.label++,a=p[1],p=[0];continue;case 7:p=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){n=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){n.label=p[1];break}if(p[0]===6&&n.label<i[1]){n.label=i[1],i=p;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(p);break}i[2]&&n.ops.pop(),n.trys.pop();continue}p=t.call(e,n)}catch(h){p=[6,h],a=0}finally{o=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},br=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e},r3=Object.defineProperty,n3=Object.defineProperties,o3=Object.getOwnPropertyDescriptors,F1=Object.getOwnPropertySymbols,a3=Object.prototype.hasOwnProperty,i3=Object.prototype.propertyIsEnumerable,$1=function(e,t,n){return t in e?r3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},mt=function(e,t){for(var n in t||(t={}))a3.call(t,n)&&$1(e,n,t[n]);if(F1)for(var o=0,a=F1(t);o<a.length;o++){var n=a[o];i3.call(t,n)&&$1(e,n,t[n])}return e},Da=function(e,t){return n3(e,o3(t))},s3=function(e,t,n){return new Promise(function(o,a){var i=function(d){try{l(n.next(d))}catch(p){a(p)}},s=function(d){try{l(n.throw(d))}catch(p){a(p)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};l((n=n.apply(e,t)).next())})};var c3=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?yr:yr.apply(null,arguments)},x9=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function l3(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}function ht(e,t){function n(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return mt(mt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(o){return o.type===e},n}var d3=(function(e){W1(t,e);function t(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,br([void 0],n[0].concat(this)))):new(t.bind.apply(t,br([void 0],n.concat(this))))},t})(Array),u3=(function(e){W1(t,e);function t(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,br([void 0],n[0].concat(this)))):new(t.bind.apply(t,br([void 0],n.concat(this))))},t})(Array);function Fa(e){return ke(e)?qn(e,function(){}):e}function f3(e){return typeof e=="boolean"}function p3(){return function(t){return m3(t)}}function m3(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,d=l===void 0?!0:l,p=new d3;if(n&&(f3(n)?p.push(Pa):p.push(Pa.withExtraArgument(n.extraArgument))),0){if(a)var h;if(s)var g;if(d)var y}return p}var Ua=!0;function j1(e){var t=p3(),n=e||{},o=n.reducer,a=o===void 0?void 0:o,i=n.middleware,s=i===void 0?t():i,l=n.devTools,d=l===void 0?!0:l,p=n.preloadedState,h=p===void 0?void 0:p,g=n.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(l3(a))v=P1(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(t),!Ua&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ua&&x.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=D1.apply(void 0,x),A=yr;d&&(A=c3(mt({trace:!Ua},typeof d=="object"&&d)));var O=new u3(S),N=O;Array.isArray(y)?N=br([S],y):typeof y=="function"&&(N=y(O));var z=A.apply(void 0,N);return Ta(v,h,z)}function V1(e){var t={},n=[],o,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return n.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,n,o]}function h3(e){return typeof e=="function"}function g3(e,t,n,o){n===void 0&&(n=[]);var a=typeof t=="function"?V1(t):[t,n,o],i=a[0],s=a[1],l=a[2],d;if(h3(e))d=function(){return Fa(e())};else{var p=Fa(e);d=function(){return p}}function h(g,y){g===void 0&&(g=d());var v=br([i[y.type]],s.filter(function(x){var S=x.matcher;return S(y)}).map(function(x){var S=x.reducer;return S}));return v.filter(function(x){return!!x}).length===0&&(v=[l]),v.reduce(function(x,S){if(S)if(Je(x)){var A=x,O=S(A,y);return O===void 0?x:O}else{if(ke(x))return qn(x,function(N){return S(N,y)});var O=S(x,y);if(O===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}return x},g)}return h.getInitialState=d,h}function y3(e,t){return e+"/"+t}function K1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:Fa(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var g=o[h],y=y3(t,h),v,x;"reducer"in g?(v=g.reducer,x=g.prepare):v=g,i[h]=v,s[y]=v,l[h]=x?ht(y,x):ht(y)});function d(){var h=typeof e.extraReducers=="function"?V1(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,v=h[1],x=v===void 0?[]:v,S=h[2],A=S===void 0?void 0:S,O=mt(mt({},y),s);return g3(n,function(N){for(var z in O)N.addCase(z,O[z]);for(var T=0,B=x;T<B.length;T++){var H=B[T];N.addMatcher(H.matcher,H.reducer)}A&&N.addDefaultCase(A)})}var p;return{name:t,reducer:function(h,g){return p||(p=d()),p(h,g)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var b3="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",v3=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=b3[Math.random()*64|0];return t},x3=["name","message","stack","code"],Ba=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),H1=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),S3=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,o=x3;n<o.length;n++){var a=o[n];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},L9=(function(){function e(t,n,o){var a=ht(t+"/fulfilled",function(h,g,y,v){return{payload:h,meta:Da(mt({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,g,y){return{payload:void 0,meta:Da(mt({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,g,y,v,x){return{payload:v,error:(o&&o.serializeError||S3)(h||"Rejected"),meta:Da(mt({},x||{}),{arg:y,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h})();function p(h){return function(g,y,v){var x=o?.idGenerator?o.idGenerator(h):v3(),S=new d,A,O=!1;function N(T){A=T,S.abort()}var z=(function(){return s3(this,null,function(){var T,B,H,Ue,bt,Be,me;return t3(this,function(xe){switch(xe.label){case 0:return xe.trys.push([0,4,,5]),Ue=(T=o?.condition)==null?void 0:T.call(o,h,{getState:y,extra:v}),E3(Ue)?[4,Ue]:[3,2];case 1:Ue=xe.sent(),xe.label=2;case 2:if(Ue===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,bt=new Promise(function(he,vt){return S.signal.addEventListener("abort",function(){return vt({name:"AbortError",message:A||"Aborted"})})}),g(i(x,h,(B=o?.getPendingMeta)==null?void 0:B.call(o,{requestId:x,arg:h},{getState:y,extra:v}))),[4,Promise.race([bt,Promise.resolve(n(h,{dispatch:g,getState:y,extra:v,requestId:x,signal:S.signal,abort:N,rejectWithValue:function(he,vt){return new Ba(he,vt)},fulfillWithValue:function(he,vt){return new H1(he,vt)}})).then(function(he){if(he instanceof Ba)throw he;return he instanceof H1?a(he.payload,x,h,he.meta):a(he,x,h)})])];case 3:return H=xe.sent(),[3,5];case 4:return Be=xe.sent(),H=Be instanceof Ba?s(null,x,h,Be.payload,Be.meta):s(Be,x,h),[3,5];case 5:return me=o&&!o.dispatchConditionRejection&&s.match(H)&&H.meta.condition,me||g(H),[2,H]}})})})();return Object.assign(z,{abort:N,requestId:x,arg:h,unwrap:function(){return z.then(C3)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function C3(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function E3(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Z1="listener",q1="completed",Y1="cancelled",A9="task-"+Y1,O9="task-"+q1,R9=Z1+"-"+Y1,w9=Z1+"-"+q1;var $a="listenerMiddleware";var N9=ht($a+"/add"),_9=ht($a+"/removeAll"),M9=ht($a+"/remove");var G1,z9=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(G1||(G1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},L3=function(e){return function(t){setTimeout(t,e)}},k9=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:L3(10);w1();var A3=Fn(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(n,o,a){this.eventBus.addEventListener(n,o,a)}dispatchEvent(n){return this.eventBus.dispatchEvent(n)}removeEventListener(n,o,a){this.eventBus.removeEventListener(n,o,a)}}}),Xn=class extends A3(Object){};window.ftReduxStores||(window.ftReduxStores={});var X1=class e extends Xn{static get(t){var n;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(jn(i))return i;if(a==null)return;let s=K1({...a,reducers:(n=a.reducers)!==null&&n!==void 0?n:{}}),l=j1({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Zr(s.getInitialState());for(let g of p.keeping)h[g]=(d??h)[g];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return s.reducer(d,p)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,n,o){super(),this.reduxSlice=t,this.reduxStore=n,this.isFtReduxStore=!0,this.commands=new $n;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,p=i[d];return p?(...h)=>{let g=p(...h.map(a));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Qn=class{static format(t,n,o,a,i){return window.moment?window.moment(t).locale(n).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(t,n,o,a,!!i)}static getMomentDateFormat(t,n,o){return o?"LT":t?n?"lll":"ll":n?"L LT":"L"}static getIntlDateTime(t,n,o,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(n,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(n,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),n=new Date().getTimezoneOffset();return`${n<0?"+":"-"}${t(Math.abs(n)/60)}:${t(Math.abs(n)%60)}`}};var Jn=L(P()),O3="ft-app-info",vr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};vr.eventName="authentication-change";var en=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};en.eventName="ui-locale-changed";var R3={session:(e,t)=>{(0,Jn.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>D.dispatchEvent(new vr(t.payload)),0))}},D=Jn.FtReduxStore.get({name:O3,reducers:R3,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Q1=L(P()),eo=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},sg=(0,Q1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(D)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Qn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return eo([(0,Ha.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),eo([(0,Ha.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),eo([ba({store:D.name,selector:n=>{var o,a;return(a=(o=n.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),eo([ba({store:D.name})],t.prototype,"uiLocale",void 0),t});var J1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(J1||(J1={}));var e2;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(e2||(e2={}));var t2;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(t2||(t2={}));var r2;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(r2||(r2={}));var n2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(n2||(n2={}));var o2;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(o2||(o2={}));var a2;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(a2||(a2={}));var i2;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(i2||(i2={}));var s2;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(s2||(s2={}));var c2;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(c2||(c2={}));var l2;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(l2||(l2={}));var d2;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(d2||(d2={}));var u2;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(u2||(u2={}));var f2;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(f2||(f2={}));var p2;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(p2||(p2={}));var m2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(m2||(m2={}));var h2;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(h2||(h2={}));var g2;(function(e){e.ASC="ASC",e.DESC="DESC"})(g2||(g2={}));var y2;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(y2||(y2={}));var b2;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(b2||(b2={}));var v2;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(v2||(v2={}));var x2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(x2||(x2={}));var S2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(S2||(S2={}));var C2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(C2||(C2={}));var E2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(E2||(E2={}));var L2;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(L2||(L2={}));var A2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(A2||(A2={}));var J;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(J||(J={}));var Ee;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ee||(Ee={}));var O2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(O2||(O2={}));var R2;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(R2||(R2={}));var w2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(w2||(w2={}));var N2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(N2||(N2={}));var _2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(_2||(_2={}));var M2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(M2||(M2={}));var z2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(z2||(z2={}));var k2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(k2||(k2={}));var I2;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(I2||(I2={}));var T2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(T2||(T2={}));var P2;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(P2||(P2={}));var D2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(D2||(D2={}));var w3={[J.PERSONAL_BOOK_SHARE_USER]:[J.PERSONAL_BOOK_USER],[J.HTML_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.PDF_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.KHUB_ADMIN]:[J.CONTENT_PUBLISHER],[J.ADMIN]:[J.KHUB_ADMIN,J.USERS_ADMIN,J.PORTAL_ADMIN,J.BEHAVIOR_DATA_USER],[J.GENERATIVE_AI_EXPORT_USER]:[J.GENERATIVE_AI_USER]};function U2(e,t){return e===t||(w3[e]??[]).some(n=>U2(n,t))}function B2(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(o=>U2(o,t))}var ao=L(P());var Ga=L(P());var It=class e{static get(t){let{baseUrl:n,apiIntegrationIdentifier:o}=D.getState(),a=t??o;if(n&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,a,!0)}static await(t){return new Promise(n=>{let o=e.get(t);if(o)n(o);else{let a=D.subscribe(()=>{o=e.get(t),o&&(a(),n(o))})}})}};var xr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:It.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):It.await()}};var be=class extends xr{constructor(t=!0,n){var o;super(n),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let a=this.constructor;a.commonCache=(o=a.commonCache)!==null&&o!==void 0?o:new Ga.CacheRegistry,this.cache=t?a.commonCache:new Ga.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((n,o)=>0|31*n+o.charCodeAt(0),0))}};var to=class extends be{async listMySearches(){let{session:t}=D.getState();return B2(t,J.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var ro=class extends be{async listMyBookmarks(){let t=D.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var no=class extends be{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=D.getState().session;return!!t?.sessionAuthenticated}};var oo=class extends be{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=D.getState().session;return!!t?.sessionAuthenticated}};var N3="ft-user-assets",_3={setAssetCount:(e,t)=>{let{userAssetType:n,count:o}=t.payload.assetCount;e.assetCounts.allAsset[n]=o},clearAssetCount:e=>{Object.values(Ee).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let n=t.payload.mapId;e.assetCounts.bookmarkByMap[n]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:n,mapId:o,asset:a}=t.payload;ja(e,n,[...Wa(e,n),a]),F2(e,n,1,o),$2(e,a)},editAsset:(e,t)=>{let{assetType:n,asset:o}=t.payload;ja(e,n,Wa(e,n).map(a=>a.id===o.id?o:a)),$2(e,o)},removeAsset:(e,t)=>{let{assetType:n,mapId:o,assetId:a}=t.payload;ja(e,n,Wa(e,n).filter(i=>i.id!==a)),F2(e,n,-1,o)}},H2={[Ee.SEARCHES]:"savedSearches",[Ee.BOOKMARKS]:"bookmarks",[Ee.BOOKS]:void 0,[Ee.COLLECTIONS]:void 0},Wa=(e,t)=>{var n;let o=H2[t];return o?(n=e[o])!==null&&n!==void 0?n:[]:[]},ja=(e,t,n)=>{let o=H2[t];o&&(e[o]=n)},F2=(e,t,n,o)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+n),t===Ee.BOOKMARKS&&o)){let i=e.assetCounts.bookmarkByMap[o];e.assetCounts.bookmarkByMap[o]=Math.max(0,i+n)}},$2=(e,t)=>{let n=e.assetLabels.map(a=>a.title),o=t.labels.filter(a=>!n.includes(a)).map(a=>({title:a}));e.assetLabels.push(...o)},le=ao.FtReduxStore.get({name:N3,reducers:_3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ee).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Va=class{constructor(t=new no,n=new oo){this.assetCountsService=t,this.assetLabelsService=n,this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ro,this.savedSearchesService=new to,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:n}=D.getState();(0,ao.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),le.actions.clearAssetCount(),le.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),le.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),le.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();le.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();le.actions.assetLabels(t)}async loadAssetCount(t){let n=await this.assetCountsService.getUserAssetCount(t);n&&le.getState().assetCounts.allAsset[t]!==n.count&&le.actions.setAssetCount({assetCount:n})}async loadBookmarkByMapId(t){let n=await this.assetCountsService.getUserBookmarkCountByMap(t);n&&le.getState().assetCounts.bookmarkByMap[t]!==n.count&&le.actions.setBookmarkCountByMap({count:n.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let n=Object.keys(le.getState().assetCounts.bookmarkByMap).length!==0;t===Ee.BOOKMARKS&&n&&le.actions.clearBookmarkCountByMap(),le.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let n=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;le.actions.bookmarks(n)}}},M3=new Va;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=M3);var Ka=class{addCommand(t,n=!1){D.commands.add(t,n)}consumeCommand(t){return D.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Ka;var Le=L(P());var G2,Sr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},z3=Symbol("clearAfterUnitTest"),io=class extends(0,Le.withEventBus)(be){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[G2]=()=>{this.defaultMessages={},this.cache=new Le.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=D.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let n=t.name.toLowerCase();this.cache.setFinal(n,t),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,n){var o;if(t=t.toLowerCase(),n&&Object.keys(n).length>0){let a={...(o=this.defaultMessages[t])!==null&&o!==void 0?o:{},...n};(0,Le.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var n,o;return this.fetchContext(t),(o=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(t,n){let o=t.toLowerCase();return this.resolveContext(o)[n]}resolveMessage(t,n,...o){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Le.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(n,...o)}async fetchContext(t){let n=!this.cache.has(t),o;try{o=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),n&&await this.notify(t)}catch(a){!(a instanceof Le.CanceledPromiseError)&&n&&console.error(a)}return o}subscribe(t,n){var o;return t=t.toLowerCase(),this.listeners[t]=(o=this.listeners[t])!==null&&o!==void 0?o:new Set,this.listeners[t].add(n),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(n)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Sr({loadedContexts:t})),this.dispatchEvent(new Sr({loadedContexts:t})),await Promise.all(t.map(n=>this.notify(n,!1)))}async notify(t,n=!0){n&&(document.body.dispatchEvent(new Sr({loadedContexts:[t]})),this.dispatchEvent(new Sr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Le.delay)(0).then(()=>o()).catch(()=>null)))}};G2=z3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends io{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends io{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var tn=window.FluidTopicsI18nService,Za=window.FluidTopicsCustomI18nService;var W2=L(P()),qa=class{highlightHtml(t,n,o){(0,W2.highlightHtml)(t,n,o)}};window.FluidTopicsHighlightHtmlService=new qa;var j2=L(P());var Ya=class{isDate(t){var n,o,a,i;return(i=(a=((o=(n=D.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,n){var o,a,i,s;if(t==null)return"";try{return j2.DateFormatter.format(t,(o=n?.locale)!==null&&o!==void 0?o:D.getState().uiLocale,(a=n?.longFormat)!==null&&a!==void 0?a:!1,(i=n?.withTime)!==null&&i!==void 0?i:!1,(s=n?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new Ya;var V2=L(P());var rn=class{static get(t,n){var o,a,i,s;let l=D.getState(),{lang:d,region:p}=(i=(a=(o=l.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales)===null||a===void 0?void 0:a.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new V2.SearchPlaceConverter(l.baseUrl,t??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,n??`${d}-${p}`)}};var Xa=class{urlToSearchRequest(t){return rn.get().parse(t)}searchRequestToUrl(t){return rn.get().serialize(t)}};window.FluidTopicsUrlService=new Xa;var et=L(P());var Tt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Tt.eventName="change";var Qa=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let n=sessionStorage.getItem(this.itemName(t));return n?JSON.parse(n):void 0}set(t,n){sessionStorage.setItem(this.itemName(t),JSON.stringify(n))}},K2=new Qa;var so=class e extends et.WithEventBus{static build(){return new e(window.history,K2,()=>window.location,!1)}constructor(t,n,o,a){var i,s;super(),this.history=t,this.historyStorage=n,this.windowLocation=o,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,n=!1){let o=n&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,et.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Tt(this.currentItem())),0)}installProxies(){let t=n=>(o,a,[i,s,l])=>{let d=n(),p={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(a,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let n=this.history.length-1;n>=0;n--)t?this.states[n]=this.historyStorage.get(n):setTimeout(()=>this.states[n]=this.historyStorage.get(n),this.history.length-n)}updateCurrentState(t){var n;let o={...this.buildCurrentState(),...t,index:this.currentIndex,title:(n=t?.title)!==null&&n!==void 0?n:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(t){this.addEventListener(Tt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Tt.eventName,t)}currentItem(){return(0,et.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,et.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let n=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return(0,et.deepCopy)(n.find(o=>t(o)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,et.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var n;let o=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;if(!o)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,n;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(n=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&n!==void 0?n:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,n){var o;if(!this.hasState(t))return!1;let a=n??this.currentState.majorStateId,i=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=so.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Z2=L(G());var q2=Z2.css`
1924
- `;var Q2=L(G()),ve=L(ce()),Ut=L(P());var Pt=L(P());function Y2(e,t){let{authenticationRequired:n,session:o}=D.getState();return n&&!o?.sessionAuthenticated?Promise.resolve(t):e()}var co=class extends xr{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var Ja=class e extends Pt.FtStateManager{static build(t){return new e(D,t)}constructor(t,n){super(),this.store=t,this.cache=new Pt.CacheRegistry,this.withManualResources=!0,this.userLocaleService=new co,this.cleanSessionDebouncer=new Pt.Debouncer,this.reloadDebouncer=new Pt.Debouncer(500),this.apiProvider=n??(()=>It.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(vr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let n=await this.apiProvider().getCurrentSession();return n.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},n.idleTimeoutInMillis),n});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let n=await this.cache.get("availableContentLocales",()=>Y2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=n.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){this.store.actions.localesConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new en(n)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}},X2=Ja.build();var Dt=class extends Event{constructor(t,n,o,a){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=n,this.callback=o,this.subscribe=a??!1}};var nn=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let n=this.pendingContextRequests.get(t.context);if(n===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:o}=n;for(let{elementRef:a,callbackRef:i}of o){let s=a.deref(),l=i.deref();s===void 0||l===void 0||s.dispatchEvent(new Dt(t.context,s,l,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let n=t.contextTarget??t.composedPath()[0],o=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let i=a.callbacks.get(n);i===void 0&&a.callbacks.set(n,i=new WeakSet),i.has(o)||(i.add(o),a.requests.push({elementRef:new WeakRef(n),callbackRef:new WeakRef(o)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};var se=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},q=class extends Ut.FtLitElementRedux{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=X2,this.contextRoot=new nn}render(){return Q2.html`
1923
+ `;var Il=["top","right","bottom","left"],kl=["start","end"],da=Il.reduce((e,t)=>e.concat(t,t+"-"+kl[0],t+"-"+kl[1]),[]),$r=Math.min,ct=Math.max,Hr=Math.round;var He=e=>({x:e,y:e}),vf={left:"right",right:"left",bottom:"top",top:"bottom"};function Tl(e,t,n){return ct(e,$r(t,n))}function Mn(e,t){return typeof e=="function"?e(t):e}function Gr(e){return e.split("-")[0]}function lt(e){return e.split("-")[1]}function ua(e){return e==="x"?"y":"x"}function fa(e){return e==="y"?"height":"width"}function zn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function pa(e){return ua(zn(e))}function Pl(e,t,n){n===void 0&&(n=!1);let o=lt(e),a=pa(e),i=fa(a),s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=la(s)),[s,la(s)]}function Dl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function la(e){let t=Gr(e);return vf[t]+e.slice(t.length)}function xf(e){var t,n,o,a;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(o=e.bottom)!=null?o:0,left:(a=e.left)!=null?a:0}}function Ul(e){return typeof e!="number"?xf(e):{top:e,right:e,bottom:e,left:e}}function Rt(e){let{x:t,y:n,width:o,height:a}=e;return{width:o,height:a,top:n,left:t,right:t+o,bottom:n+a,x:t,y:n}}function Bl(e,t,n){let{reference:o,floating:a}=e,i=zn(t),s=pa(t),l=fa(s),d=Gr(t),p=i==="y",h=o.x+o.width/2-a.width/2,g=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2,v;switch(d){case"top":v={x:h,y:o.y-a.height};break;case"bottom":v={x:h,y:o.y+o.height};break;case"right":v={x:o.x+o.width,y:g};break;case"left":v={x:o.x-a.width,y:g};break;default:v={x:o.x,y:o.y}}let x=lt(t);return x&&(v[s]+=y*(x==="end"?1:-1)*(n&&p?-1:1)),v}async function Fl(e,t){var n;t===void 0&&(t={});let{x:o,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=Mn(t,e),x=Ul(v),A=l[y?g==="floating"?"reference":"floating":g],O=Rt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(A)))==null||n?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),N=g==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,z=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),T=await(i.isElement==null?void 0:i.isElement(z))&&await(i.getScale==null?void 0:i.getScale(z))||{x:1,y:1},B=Rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:z,strategy:d}):N);return{top:(O.top-B.top+x.top)/T.y,bottom:(B.bottom-O.bottom+x.bottom)/T.y,left:(O.left-B.left+x.left)/T.x,right:(B.right-O.right+x.right)/T.x}}var Sf=50,$l=async(e,t,n)=>{let{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:Fl},d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:g}=Bl(p,o,d),y=o,v=0,x={};for(let S=0;S<i.length;S++){let A=i[S];if(!A)continue;let{name:O,fn:N}=A,{x:z,y:T,data:B,reset:H}=await N({x:h,y:g,initialPlacement:o,placement:y,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:e,floating:t}});h=z??h,g=T??g,x[O]={...x[O],...B},H&&v<Sf&&(v++,typeof H=="object"&&(H.placement&&(y=H.placement),H.rects&&(p=H.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):H.rects),{x:h,y:g}=Bl(p,y,d)),S=-1)}return{x:h,y:g,placement:y,strategy:a,middlewareData:x}};function Cf(e,t,n){return(e?[...n.filter(a=>lt(a)===e),...n.filter(a=>lt(a)!==e)]:n.filter(a=>Gr(a)===a)).filter(a=>e?lt(a)===e||(t?Dl(a)!==a:!1):!0)}var Hl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=da,autoAlignment:v=!0,...x}=Mn(e,t),S=g!==void 0||y===da?Cf(g||null,v,y):y,A=((n=s.autoPlacement)==null?void 0:n.index)||0,O=S[A];if(O==null)return{};if(l!==O)return{reset:{placement:S[0]}};let N=await d.detectOverflow(t,x),z=Pl(O,i,await(d.isRTL==null?void 0:d.isRTL(p.floating))),T=[N[Gr(O)],N[z[0]],N[z[1]]],B=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:O,overflows:T}],H=S[A+1];if(H)return{data:{index:A+1,overflows:B},reset:{placement:H}};let Ue=B.map(he=>{let xe=lt(he.placement);return[he.placement,xe&&h?he.overflows.slice(0,2).reduce((ge,vt)=>ge+vt,0):he.overflows[0],he.overflows]}).sort((he,xe)=>he[1]-xe[1]),Be=((a=Ue.filter(he=>he[2].slice(0,lt(he[0])?2:3).every(xe=>xe<=0))[0])==null?void 0:a[0])||Ue[0][0];return Be!==l?{data:{index:A+1,overflows:B},reset:{placement:Be}}:{}}}};var Gl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:N=>{let{x:z,y:T}=N;return{x:z,y:T}}},...p}=Mn(e,t),h={x:n,y:o},g=await i.detectOverflow(t,p),y=zn(a),v=ua(y),x=h[v],S=h[y],A=(N,z)=>Tl(z+g[N==="y"?"top":"left"],z,z-g[N==="y"?"bottom":"right"]);s&&(x=A(v,x)),l&&(S=A(y,S));let O=d.fn({...t,[v]:x,[y]:S});return{...O,data:{x:O.x-n,y:O.y-o,enabled:{[v]:s,[y]:l}}}}}};function In(){return typeof window<"u"}function Nt(e){return jl(e)?(e.nodeName||"").toLowerCase():"#document"}function fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xe(e){var t;return(t=(jl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function jl(e){return In()?e instanceof Node||e instanceof fe(e).Node:!1}function Me(e){return In()?e instanceof Element||e instanceof fe(e).Element:!1}function Qe(e){return In()?e instanceof HTMLElement||e instanceof fe(e).HTMLElement:!1}function Wl(e){return!In()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof fe(e).ShadowRoot}function Wr(e){let{overflow:t,overflowX:n,overflowY:o,display:a}=ze(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&a!=="inline"&&a!=="contents"}function Vl(e){return/^(table|td|th)$/.test(Nt(e))}function jr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Ef=/transform|translate|scale|rotate|perspective|filter/,Lf=/paint|layout|strict|content/,wt=e=>!!e&&e!=="none",ma;function lr(e){let t=Me(e)?ze(e):e;return wt(t.transform)||wt(t.translate)||wt(t.scale)||wt(t.rotate)||wt(t.perspective)||!Tn()&&(wt(t.backdropFilter)||wt(t.filter))||Ef.test(t.willChange||"")||Lf.test(t.contain||"")}function Kl(e){let t=dt(e);for(;Qe(t)&&!dr(t);){if(lr(t))return t;if(jr(t))return null;t=dt(t)}return null}function Tn(){return ma==null&&(ma=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ma}function dr(e){return/^(html|body|#document)$/.test(Nt(e))}function ze(e){return fe(e).getComputedStyle(e)}function Vr(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dt(e){if(Nt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Wl(e)&&e.host||Xe(e);return Wl(t)?t.host:t}function Zl(e){let t=dt(e);return dr(t)?(e.ownerDocument||e).body:Qe(t)&&Wr(t)?t:Zl(t)}function kn(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);let a=Zl(e),i=a===((o=e.ownerDocument)==null?void 0:o.body),s=fe(a);if(i){let l=Pn(s);return t.concat(s,s.visualViewport||[],Wr(a)?a:[],l&&n?kn(l):[])}else return t.concat(a,kn(a,[],n))}function Pn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xl(e){let t=ze(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,a=Qe(e),i=a?e.offsetWidth:n,s=a?e.offsetHeight:o,l=Hr(n)!==i||Hr(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function Ql(e){return Me(e)?e:e.contextElement}function ur(e){let t=Ql(e);if(!Qe(t))return He(1);let n=t.getBoundingClientRect(),{width:o,height:a,$:i}=Xl(t),s=(i?Hr(n.width):n.width)/o,l=(i?Hr(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Af=He(0);function Jl(e){let t=fe(e);return!Tn()||!t.visualViewport?Af:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Of(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===fe(e)}function Kr(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);let a=e.getBoundingClientRect(),i=Ql(e),s=He(1);t&&(o?Me(o)&&(s=ur(o)):s=ur(e));let l=Of(i,n,o)?Jl(i):He(0),d=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,h=a.width/s.x,g=a.height/s.y;if(i&&o){let y=fe(i),v=Me(o)?fe(o):o,x=y,S=Pn(x);for(;S&&v!==x;){let A=ur(S),O=S.getBoundingClientRect(),N=ze(S),z=O.left+(S.clientLeft+parseFloat(N.paddingLeft))*A.x,T=O.top+(S.clientTop+parseFloat(N.paddingTop))*A.y;d*=A.x,p*=A.y,h*=A.x,g*=A.y,d+=z,p+=T,x=fe(S),S=Pn(x)}}return Rt({width:h,height:g,x:d,y:p})}function Dn(e,t){let n=Vr(e).scrollLeft;return t?t.left+n:Kr(Xe(e)).left+n}function e1(e,t){let n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Dn(e,n),a=n.top+t.scrollTop;return{x:o,y:a}}function Rf(e){let{elements:t,rect:n,offsetParent:o,strategy:a}=e,i=a==="fixed",s=Xe(o),l=t?jr(t.floating):!1;if(o===s||l&&i)return n;let d={scrollLeft:0,scrollTop:0},p=He(1),h=He(0),g=Qe(o);if((g||!i)&&((Nt(o)!=="body"||Wr(s))&&(d=Vr(o)),g)){let v=Kr(o);p=ur(o),h.x=v.x+o.clientLeft,h.y=v.y+o.clientTop}let y=s&&!g&&!i?e1(s,d):He(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-d.scrollLeft*p.x+h.x+y.x,y:n.y*p.y-d.scrollTop*p.y+h.y+y.y}}function wf(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Nf(e){let t=Vr(e),n=e.ownerDocument.body,o=ct(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ct(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),i=-t.scrollLeft+Dn(e),s=-t.scrollTop;return ze(n).direction==="rtl"&&(i+=ct(e.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:s}}var _f=25;function Mf(e,t,n){n===void 0&&(n="viewport");let o=n==="layoutViewport",a=fe(e),i=Xe(e),s=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,h=0;if(s){let y=!Tn()||t==="fixed";o?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,d=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(Dn(i)<=0){let y=i.ownerDocument,v=y.body,x=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,A=Math.abs(i.clientWidth-v.clientWidth-S),O=getComputedStyle(i).scrollbarGutter==="stable both-edges"?A/2:A;O<=_f&&(l-=O)}return{width:l,height:d,x:p,y:h}}function zf(e,t){let n=Kr(e,!0,t==="fixed"),o=n.top+e.clientTop,a=n.left+e.clientLeft,i=ur(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,p=o*i.y;return{width:s,height:l,x:d,y:p}}function ql(e,t,n){let o;if(t==="viewport"||t==="layoutViewport")o=Mf(e,n,t);else if(t==="document")o=Nf(Xe(e));else if(Me(t))o=zf(t,n);else{let a=Jl(e);o={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Rt(o)}function kf(e,t){let n=t.get(e);if(n)return n;let o=kn(e,[],!1).filter(l=>Me(l)&&Nt(l)!=="body"),a=null,i=ze(e).position==="fixed",s=i?dt(e):e;for(;Me(s)&&!dr(s);){let l=ze(s),d=lr(s),p=a?a.position:i?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?o=o.filter(g=>g!==s):a=l,s=dt(s)}return t.set(e,o),o}function If(e){let{element:t,boundary:n,rootBoundary:o,strategy:a}=e,s=[...n==="clippingAncestors"?jr(t)?[]:kf(t,this._c):[].concat(n),o],l=ql(t,s[0],a),d=l.top,p=l.right,h=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let v=ql(t,s[y],a);d=ct(v.top,d),p=$r(v.right,p),h=$r(v.bottom,h),g=ct(v.left,g)}return{width:p-g,height:h-d,x:g,y:d}}function Tf(e){let{width:t,height:n}=Xl(e);return{width:t,height:n}}function Pf(e,t,n){let o=Qe(t),a=Xe(t),i=n==="fixed",s=Kr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=He(0);if((o||!i)&&((Nt(t)!=="body"||Wr(a))&&(l=Vr(t)),o)){let y=Kr(t,!0,i,t);d.x=y.x+t.clientLeft,d.y=y.y+t.clientTop}!o&&a&&(d.x=Dn(a));let p=a&&!o&&!i?e1(a,l):He(0),h=s.left+l.scrollLeft-d.x-p.x,g=s.top+l.scrollTop-d.y-p.y;return{x:h,y:g,width:s.width,height:s.height}}function ha(e){return ze(e).position==="static"}function Yl(e,t){if(!Qe(e)||ze(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Xe(e)===n&&(n=n.ownerDocument.body),n}function t1(e,t){let n=fe(e);if(jr(e))return n;if(!Qe(e)){let a=dt(e);for(;a&&!dr(a);){if(Me(a)&&!ha(a))return a;a=dt(a)}return n}let o=Yl(e,t);for(;o&&Vl(o)&&ha(o);)o=Yl(o,t);return o&&dr(o)&&ha(o)&&!lr(o)?n:o||Kl(e)||n}var Df=async function(e){let t=this.getOffsetParent||t1,n=this.getDimensions,o=await n(e.floating);return{reference:Pf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Uf(e){return ze(e).direction==="rtl"}var Un={convertOffsetParentRelativeRectToViewportRelativeRect:Rf,getDocumentElement:Xe,getClippingRect:If,getOffsetParent:t1,getElementRects:Df,getClientRects:wf,getDimensions:Tf,getScale:ur,isElement:Me,isRTL:Uf};var r1=Hl,n1=Gl;var o1=(e,t,n)=>{let o=new Map,a=n??{},i={...Un,...a.platform,_c:o};return $l(e,t,{...a,platform:i})};function a1(e){return Bf(e)}function ga(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Bf(e){for(let t=e;t;t=ga(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ga(e);t;t=ga(t)){if(!(t instanceof Element))continue;let n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||lr(n)||t.tagName==="BODY"))return t}return null}async function i1(e,t,n){let o;return typeof n=="object"?o=n:o={placement:n},o1(e,t,{strategy:o.strategy,platform:{...Un,getOffsetParent:a=>Un.getOffsetParent(a,a1)},middleware:[n1({crossAxis:!0}),r1({allowedPlacements:[o.placement]})]})}var Er=L(P());var Ha=L(ce());var s1=L(ce(),1);var ya=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function c1(e,t){return(0,s1.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return Zr(e);try{return JSON.parse(n)}catch{return Zr(e)}},toAttribute:n=>JSON.stringify(n)},hasChanged:qr,...t??{}})}function Ff(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(o=n;o--!==0;)if(!Bn(e[o],t[o]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;for(o of e.entries())if(!Bn(o[1],t.get(o[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o of e.entries())if(!t.has(o[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null),i=a(e);if(n=i.length,n!==a(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=n;o--!==0;){let s=i[o];if(!Bn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Bn(e,t){try{return Ff(e,t)}catch{return!1}}function qr(e,t){return!Bn(e,t)}function Zr(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Fn(e,t){let n=o=>o[e]===!0;return o=>{if(n(o))return o;let a=t(o);return a[e]=!0,a}}var l1=L(ce(),1);var ba=e=>{let t=e??{};return(n,o)=>{var a;let i={hasChanged:qr,attribute:!1,...t};(0,l1.property)(i)(n,o);let s=n.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[o]),store:t.store})}};var $n=class{constructor(){this.queue=[]}add(t,n=!1){n&&this.clear(t.type),this.queue.push(t)}consume(t){let n=this.queue.find(o=>o.type===t);return n&&(this.queue=this.queue.filter(o=>o!==n)),n}clear(t){typeof t=="string"?this.queue=this.queue.filter(n=>n.type!==t):this.queue=this.queue.filter(n=>!t.test(n.type))}};var _t=L(ce(),1);var Hn=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,n){return this.callbacks=[t],this.debounce(n)}queue(t,n){return this.callbacks.push(t),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((n,o)=>{this.resolvePromise=n,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,n;let o=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(n=this.resolvePromise)!==null&&n!==void 0?n:(()=>null);this.clearPromise();for(let s of o)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var u1=L(G(),1);var Gn=globalThis,$f=Gn.ShadowRoot&&(Gn.ShadyCSS===void 0||Gn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var d1=(e,t)=>{if($f)e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet);else for(let n of t){let o=document.createElement("style"),a=Gn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=n.cssText,e.appendChild(o)}};var Wn=class extends u1.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let n={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(n);return d1(o,t.elementStyles),o}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([n,o])=>this.defineScopedElement(n,o))}static defineScopedElement(t,n){ya(t)(n),this.canDefineScopedElement(t)&&this.registry.define(t,n)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,n){this.scopedRegistryConstructor.defineScopedElement(t,n)}};function f1(e,t,...n){var o;let a=e.querySelector(t);for(let i of n)a=(o=a?.shadowRoot)===null||o===void 0?void 0:o.querySelector(i);return a}var pr=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},g1,p1=Symbol("constructorPrototype"),m1=Symbol("constructorName"),y1=Symbol("exportpartsDebouncer"),h1=Symbol("dynamicDependenciesLoaded"),fr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};fr.eventName="exportparts-updated";var Ge=class extends Wn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[g1]=new Hn(5),this.scheduleExportpartsUpdate=()=>{var t,n,o;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(o=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&o!==void 0&&o)&&this[y1].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[m1]=this.constructor.name,this[p1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[m1]&&Object.setPrototypeOf(this,this[p1])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let n=this.constructor;n[h1]||(n[h1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(fr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(fr.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new fr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:n,selector:o,shadowPath:a}=this.elementToFocus;if(o!=null){let i=[...a??[],o];n=f1(this.shadowRoot,...i)}n?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||n?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var n,o,a;if(((o=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var n,o,a,i,s,l;let d=y=>y!=null&&y.trim().length>0,p=t.filter(d).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(o=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let v=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[],S=[...v,...x].filter(d).map(A=>A.trim());for(let A of S)h.add(A)}if(h.size===0){this.exportparts=void 0;return}let g=[...h.values()].flatMap(y=>p.map(v=>`${y}:${v}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};g1=y1;pr([(0,_t.property)()],Ge.prototype,"exportpartsPrefix",void 0);pr([c1([])],Ge.prototype,"exportpartsPrefixes",void 0);pr([(0,_t.property)({reflect:!0})],Ge.prototype,"exportparts",void 0);pr([(0,_t.property)()],Ge.prototype,"customStylesheet",void 0);pr([(0,_t.property)()],Ge.prototype,"elementToFocus",void 0);pr([(0,_t.state)()],Ge.prototype,"useAdoptedStyleSheets",void 0);function jn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Yr=Symbol("internalReduxEventsUnsubscribers"),ut=Symbol("internalStoresUnsubscribers"),Mt=Symbol("internalStores"),Hf=Fn(Symbol("withRedux"),function(e){var t,n,o;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[n]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Mt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Mt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Mt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Mt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Mt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Mt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[ut].has(s.store):this[ut].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[ut].set(s,l.subscribe(()=>this.updateFromStores())),this[Yr].set(s,[]),jn(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let g=y=>this[h](y);l.addEventListener(p.eventName,g),this[Yr].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[ut].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[ut].has(s)&&this[ut].get(s)(),this[ut].delete(s),(l=this[Yr].get(s))===null||l===void 0||l.forEach(d=>d()),this[Yr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ut,n=Mt,o=Yr,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),b1=class extends Hf(Ge){};function Ce(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(e){return!!e&&!!e[W]}function ke(e){var t;return!!e&&((function(n){if(!n||typeof n!="object")return!1;var o=Object.getPrototypeOf(n);if(o===null)return!0;var a=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Yf})(e)||Array.isArray(e)||!!e[A1]||!!(!((t=e.constructor)===null||t===void 0)&&t[A1])||Ra(e)||wa(e))}function zt(e,t,n){n===void 0&&(n=!1),gr(e)===0?(n?Object.keys:hr)(e).forEach((function(o){n&&typeof o=="symbol"||t(o,e[o],e)})):e.forEach((function(o,a){return t(a,o,e)}))}function gr(e){var t=e[W];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ra(e)?2:wa(e)?3:0}function mr(e,t){return gr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Gf(e,t){return gr(e)===2?e.get(t):e[t]}function O1(e,t,n){var o=gr(e);o===2?e.set(t,n):o===3?e.add(n):e[t]=n}function R1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ra(e){return Zf&&e instanceof Map}function wa(e){return qf&&e instanceof Set}function ft(e){return e.o||e.t}function Na(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=_1(e);delete t[W];for(var n=hr(t),o=0;o<n.length;o++){var a=n[o],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function _a(e,t){return t===void 0&&(t=!1),Ma(e)||Je(e)||!ke(e)||(gr(e)>1&&(e.set=e.add=e.clear=e.delete=Wf),Object.freeze(e),t&&zt(e,(function(n,o){return _a(o,!0)}),!0)),e}function Wf(){Ce(2)}function Ma(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function We(e){var t=Oa[e];return t||Ce(18,e),t}function jf(e,t){Oa[e]||(Oa[e]=t)}function Ea(){return Qr}function va(e,t){t&&(We("Patches"),e.u=[],e.s=[],e.v=t)}function Vn(e){La(e),e.p.forEach(Vf),e.p=null}function La(e){e===Qr&&(Qr=e.l)}function v1(e){return Qr={p:[],l:Qr,h:e,m:!0,_:0}}function Vf(e){var t=e[W];t.i===0||t.i===1?t.j():t.g=!0}function xa(e,t){t._=t.p.length;var n=t.p[0],o=e!==void 0&&e!==n;return t.h.O||We("ES5").S(t,e,o),o?(n[W].P&&(Vn(t),Ce(4)),ke(e)&&(e=Kn(t,e),t.l||Zn(t,e)),t.u&&We("Patches").M(n[W].t,e,t.u,t.s)):e=Kn(t,n,[]),Vn(t),t.u&&t.v(t.u,t.s),e!==N1?e:void 0}function Kn(e,t,n){if(Ma(t))return t;var o=t[W];if(!o)return zt(t,(function(l,d){return x1(e,o,t,l,d,n)}),!0),t;if(o.A!==e)return t;if(!o.P)return Zn(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var a=o.i===4||o.i===5?o.o=Na(o.k):o.o,i=a,s=!1;o.i===3&&(i=new Set(a),a.clear(),s=!0),zt(i,(function(l,d){return x1(e,o,a,l,d,n,s)})),Zn(e,a,!1),n&&e.u&&We("Patches").N(o,n,e.u,e.s)}return o.o}function x1(e,t,n,o,a,i,s){if(Je(a)){var l=Kn(e,a,i&&t&&t.i!==3&&!mr(t.R,o)?i.concat(o):void 0);if(O1(n,o,l),!Je(l))return;e.m=!1}else s&&n.add(a);if(ke(a)&&!Ma(a)){if(!e.h.D&&e._<1)return;Kn(e,a),t&&t.A.l||Zn(e,a)}}function Zn(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&_a(t,n)}function Sa(e,t){var n=e[W];return(n?ft(n):e)[t]}function S1(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function pt(e){e.P||(e.P=!0,e.l&&pt(e.l))}function Ca(e){e.o||(e.o=Na(e.t))}function Aa(e,t,n){var o=Ra(t)?We("MapSet").F(t,n):wa(t)?We("MapSet").T(t,n):e.O?(function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ea(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Jr;s&&(d=[l],p=Xr);var h=Proxy.revocable(d,p),g=h.revoke,y=h.proxy;return l.k=y,l.j=g,y})(t,n):We("ES5").J(t,n);return(n?n.A:Ea()).p.push(o),o}function Kf(e){return Je(e)||Ce(22,e),(function t(n){if(!ke(n))return n;var o,a=n[W],i=gr(n);if(a){if(!a.P&&(a.i<4||!We("ES5").K(a)))return a.t;a.I=!0,o=C1(n,i),a.I=!1}else o=C1(n,i);return zt(o,(function(s,l){a&&Gf(a.t,s)===l||O1(o,s,t(l))})),i===3?new Set(o):o})(e)}function C1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Na(e)}function w1(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[W];return Jr.get(p,s)},set:function(p){var h=this[W];Jr.set(h,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][W];if(!d.P)switch(d.i){case 5:o(d)&&pt(d);break;case 4:n(d)&&pt(d)}}}function n(s){for(var l=s.t,d=s.k,p=hr(d),h=p.length-1;h>=0;h--){var g=p[h];if(g!==W){var y=l[g];if(y===void 0&&!mr(l,g))return!0;var v=d[g],x=v&&v[W];if(x?x.t!==y:!R1(v,y))return!0}}var S=!!l[W];return p.length!==hr(l).length+(S?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Ce(3,JSON.stringify(ft(s)))}var i={};jf("ES5",{J:function(s,l){var d=Array.isArray(s),p=(function(g,y){if(g){for(var v=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(v,""+x,e(x,!0));return v}var S=_1(y);delete S[W];for(var A=hr(S),O=0;O<A.length;O++){var N=A[O];S[N]=e(N,g||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(y),S)})(d,s),h={i:d?5:4,A:l?l.A:Ea(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,W,{value:h,writable:!0}),p},S:function(s,l,d){d?Je(l)&&l[W].A===s&&t(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var g=h[W];if(g){var y=g.t,v=g.k,x=g.R,S=g.i;if(S===4)zt(v,(function(T){T!==W&&(y[T]!==void 0||mr(y,T)?x[T]||p(v[T]):(x[T]=!0,pt(g)))})),zt(y,(function(T){v[T]!==void 0||mr(v,T)||(x[T]=!1,pt(g))}));else if(S===5){if(o(g)&&(pt(g),x.length=!0),v.length<y.length)for(var A=v.length;A<y.length;A++)x[A]=!1;else for(var O=y.length;O<v.length;O++)x[O]=!0;for(var N=Math.min(v.length,y.length),z=0;z<N;z++)v.hasOwnProperty(z)||(x[z]=!0),x[z]===void 0&&p(v[z])}}}})(s.p[0]),t(s.p))},K:function(s){return s.i===4?n(s):o(s)}})}var E1,Qr,za=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Zf=typeof Map<"u",qf=typeof Set<"u",L1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",N1=za?Symbol.for("immer-nothing"):((E1={})["immer-nothing"]=!0,E1),A1=za?Symbol.for("immer-draftable"):"__$immer_draftable",W=za?Symbol.for("immer-state"):"__$immer_state";var Yf=""+Object.prototype.constructor,hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,_1=Object.getOwnPropertyDescriptors||function(e){var t={};return hr(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Oa={},Jr={get:function(e,t){if(t===W)return e;var n=ft(e);if(!mr(n,t))return(function(a,i,s){var l,d=S1(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0})(e,n,t);var o=n[t];return e.I||!ke(o)?o:o===Sa(e.t,t)?(Ca(e),e.o[t]=Aa(e.A.h,o,e)):o},has:function(e,t){return t in ft(e)},ownKeys:function(e){return Reflect.ownKeys(ft(e))},set:function(e,t,n){var o=S1(ft(e),t);if(o?.set)return o.set.call(e.k,n),!0;if(!e.P){var a=Sa(ft(e),t),i=a?.[W];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(R1(n,a)&&(n!==void 0||mr(e.t,t)))return!0;Ca(e),pt(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return Sa(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ca(e),pt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ft(e),o=Reflect.getOwnPropertyDescriptor(n,t);return o&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:o.enumerable,value:n[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Xr={};zt(Jr,(function(e,t){Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)},Xr.set=function(e,t,n){return Jr.set.call(this,e[0],t,n,e[0])};var Xf=(function(){function e(n){var o=this;this.O=L1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=o;return function(S){var A=this;S===void 0&&(S=l);for(var O=arguments.length,N=Array(O>1?O-1:0),z=1;z<O;z++)N[z-1]=arguments[z];return d.produce(S,(function(T){var B;return(B=i).call.apply(B,[A,T].concat(N))}))}}var p;if(typeof i!="function"&&Ce(6),s!==void 0&&typeof s!="function"&&Ce(7),ke(a)){var h=v1(o),g=Aa(o,a,void 0),y=!0;try{p=i(g),y=!1}finally{y?Vn(h):La(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(S){return va(h,s),xa(S,h)}),(function(S){throw Vn(h),S})):(va(h,s),xa(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===N1&&(p=void 0),o.D&&_a(p,!0),s){var v=[],x=[];We("Patches").M(a,p,v,x),s(v,x)}return p}Ce(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,g=Array(h>1?h-1:0),y=1;y<h;y++)g[y-1]=arguments[y];return o.produceWithPatches(p,(function(v){return a.apply(void 0,[v].concat(g))}))};var s,l,d=o.produce(a,i,(function(p,h){s=p,l=h}));return typeof Promise<"u"&&d instanceof Promise?d.then((function(p){return[p,s,l]})):[d,s,l]},typeof n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){ke(n)||Ce(8),Je(n)&&(n=Kf(n));var o=v1(this),a=Aa(this,n,void 0);return a[W].C=!0,La(o),a},t.finishDraft=function(n,o){var a=n&&n[W],i=a.A;return va(i,o),xa(void 0,i)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!L1&&Ce(20),this.O=n},t.applyPatches=function(n,o){var a;for(a=o.length-1;a>=0;a--){var i=o[a];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}a>-1&&(o=o.slice(a+1));var s=We("Patches").$;return Je(n)?s(n,o):this.produce(n,(function(l){return s(l,o)}))},e})(),be=new Xf,Qf=be.produce,X7=be.produceWithPatches.bind(be),Q7=be.setAutoFreeze.bind(be),J7=be.setUseProxies.bind(be),e9=be.applyPatches.bind(be),t9=be.createDraft.bind(be),r9=be.finishDraft.bind(be),qn=Qf;function kt(e){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(e)}function M1(e,t){if(kt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(kt(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z1(e){var t=M1(e,"string");return kt(t)=="symbol"?t:t+""}function k1(e,t,n){return(t=z1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,o)}return n}function ka(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I1(Object(n),!0).forEach(function(o){k1(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I1(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function se(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var T1=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yn={INIT:"@@redux/INIT"+Ia(),REPLACE:"@@redux/REPLACE"+Ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ia()}};function Jf(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ta(e,t,n){var o;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(se(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(se(1));return n(Ta)(e,t)}if(typeof e!="function")throw new Error(se(2));var a=e,i=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(se(3));return i}function g(S){if(typeof S!="function")throw new Error(se(4));if(d)throw new Error(se(5));var A=!0;return p(),l.push(S),function(){if(A){if(d)throw new Error(se(6));A=!1,p();var N=l.indexOf(S);l.splice(N,1),s=null}}}function y(S){if(!Jf(S))throw new Error(se(7));if(typeof S.type>"u")throw new Error(se(8));if(d)throw new Error(se(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var A=s=l,O=0;O<A.length;O++){var N=A[O];N()}return S}function v(S){if(typeof S!="function")throw new Error(se(10));a=S,y({type:Yn.REPLACE})}function x(){var S,A=g;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(se(11));function z(){N.next&&N.next(h())}z();var T=A(z);return{unsubscribe:T}}},S[T1]=function(){return this},S}return y({type:Yn.INIT}),o={dispatch:y,subscribe:g,getState:h,replaceReducer:v},o[T1]=x,o}function e3(e){Object.keys(e).forEach(function(t){var n=e[t],o=n(void 0,{type:Yn.INIT});if(typeof o>"u")throw new Error(se(12));if(typeof n(void 0,{type:Yn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(se(13))})}function P1(e){for(var t=Object.keys(e),n={},o=0;o<t.length;o++){var a=t[o];typeof e[a]=="function"&&(n[a]=e[a])}var i=Object.keys(n),s,l;try{e3(n)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var g;for(var y=!1,v={},x=0;x<i.length;x++){var S=i[x],A=n[S],O=p[S],N=A(O,h);if(typeof N>"u"){var z=h&&h.type;throw new Error(se(14))}v[S]=N,y=y||N!==O}return y=y||i.length!==Object.keys(p).length,y?v:p}}function yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,a){return function(){return o(a.apply(void 0,arguments))}})}function D1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(o){return function(){var a=o.apply(void 0,arguments),i=function(){throw new Error(se(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=yr.apply(void 0,l)(a.dispatch),ka(ka({},a),{},{dispatch:i})}}}function U1(e){var t=function(o){var a=o.dispatch,i=o.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var B1=U1();B1.withExtraArgument=U1;var Pa=B1;var W1=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(o[i]=a[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function o(){this.constructor=t}t.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}})(),t3=function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(o)throw new TypeError("Generator is already executing.");for(;n;)try{if(o=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return n.label++,{value:p[1],done:!1};case 5:n.label++,a=p[1],p=[0];continue;case 7:p=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){n=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){n.label=p[1];break}if(p[0]===6&&n.label<i[1]){n.label=i[1],i=p;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(p);break}i[2]&&n.ops.pop(),n.trys.pop();continue}p=t.call(e,n)}catch(h){p=[6,h],a=0}finally{o=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},br=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e},r3=Object.defineProperty,n3=Object.defineProperties,o3=Object.getOwnPropertyDescriptors,F1=Object.getOwnPropertySymbols,a3=Object.prototype.hasOwnProperty,i3=Object.prototype.propertyIsEnumerable,$1=function(e,t,n){return t in e?r3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},mt=function(e,t){for(var n in t||(t={}))a3.call(t,n)&&$1(e,n,t[n]);if(F1)for(var o=0,a=F1(t);o<a.length;o++){var n=a[o];i3.call(t,n)&&$1(e,n,t[n])}return e},Da=function(e,t){return n3(e,o3(t))},s3=function(e,t,n){return new Promise(function(o,a){var i=function(d){try{l(n.next(d))}catch(p){a(p)}},s=function(d){try{l(n.throw(d))}catch(p){a(p)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(i,s)};l((n=n.apply(e,t)).next())})};var c3=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?yr:yr.apply(null,arguments)},x9=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function l3(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}function ht(e,t){function n(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(t){var i=t.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return mt(mt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:o[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(o){return o.type===e},n}var d3=(function(e){W1(t,e);function t(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,br([void 0],n[0].concat(this)))):new(t.bind.apply(t,br([void 0],n.concat(this))))},t})(Array),u3=(function(e){W1(t,e);function t(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,br([void 0],n[0].concat(this)))):new(t.bind.apply(t,br([void 0],n.concat(this))))},t})(Array);function Fa(e){return ke(e)?qn(e,function(){}):e}function f3(e){return typeof e=="boolean"}function p3(){return function(t){return m3(t)}}function m3(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,o=e.immutableCheck,a=o===void 0?!0:o,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,d=l===void 0?!0:l,p=new d3;if(n&&(f3(n)?p.push(Pa):p.push(Pa.withExtraArgument(n.extraArgument))),0){if(a)var h;if(s)var g;if(d)var y}return p}var Ua=!0;function j1(e){var t=p3(),n=e||{},o=n.reducer,a=o===void 0?void 0:o,i=n.middleware,s=i===void 0?t():i,l=n.devTools,d=l===void 0?!0:l,p=n.preloadedState,h=p===void 0?void 0:p,g=n.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(l3(a))v=P1(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(t),!Ua&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ua&&x.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=D1.apply(void 0,x),A=yr;d&&(A=c3(mt({trace:!Ua},typeof d=="object"&&d)));var O=new u3(S),N=O;Array.isArray(y)?N=br([S],y):typeof y=="function"&&(N=y(O));var z=A.apply(void 0,N);return Ta(v,h,z)}function V1(e){var t={},n=[],o,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(!l)throw new Error("`builder.addCase` cannot be called with an empty action type");if(l in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return n.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return o=i,a}};return e(a),[t,n,o]}function h3(e){return typeof e=="function"}function g3(e,t,n,o){n===void 0&&(n=[]);var a=typeof t=="function"?V1(t):[t,n,o],i=a[0],s=a[1],l=a[2],d;if(h3(e))d=function(){return Fa(e())};else{var p=Fa(e);d=function(){return p}}function h(g,y){g===void 0&&(g=d());var v=br([i[y.type]],s.filter(function(x){var S=x.matcher;return S(y)}).map(function(x){var S=x.reducer;return S}));return v.filter(function(x){return!!x}).length===0&&(v=[l]),v.reduce(function(x,S){if(S)if(Je(x)){var A=x,O=S(A,y);return O===void 0?x:O}else{if(ke(x))return qn(x,function(N){return S(N,y)});var O=S(x,y);if(O===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}return x},g)}return h.getInitialState=d,h}function y3(e,t){return e+"/"+t}function K1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:Fa(e.initialState),o=e.reducers||{},a=Object.keys(o),i={},s={},l={};a.forEach(function(h){var g=o[h],y=y3(t,h),v,x;"reducer"in g?(v=g.reducer,x=g.prepare):v=g,i[h]=v,s[y]=v,l[h]=x?ht(y,x):ht(y)});function d(){var h=typeof e.extraReducers=="function"?V1(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,v=h[1],x=v===void 0?[]:v,S=h[2],A=S===void 0?void 0:S,O=mt(mt({},y),s);return g3(n,function(N){for(var z in O)N.addCase(z,O[z]);for(var T=0,B=x;T<B.length;T++){var H=B[T];N.addMatcher(H.matcher,H.reducer)}A&&N.addDefaultCase(A)})}var p;return{name:t,reducer:function(h,g){return p||(p=d()),p(h,g)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var b3="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",v3=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=b3[Math.random()*64|0];return t},x3=["name","message","stack","code"],Ba=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),H1=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),S3=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,o=x3;n<o.length;n++){var a=o[n];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},L9=(function(){function e(t,n,o){var a=ht(t+"/fulfilled",function(h,g,y,v){return{payload:h,meta:Da(mt({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=ht(t+"/pending",function(h,g,y){return{payload:void 0,meta:Da(mt({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=ht(t+"/rejected",function(h,g,y,v,x){return{payload:v,error:(o&&o.serializeError||S3)(h||"Rejected"),meta:Da(mt({},x||{}),{arg:y,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:(function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h})();function p(h){return function(g,y,v){var x=o?.idGenerator?o.idGenerator(h):v3(),S=new d,A,O=!1;function N(T){A=T,S.abort()}var z=(function(){return s3(this,null,function(){var T,B,H,Ue,bt,Be,he;return t3(this,function(xe){switch(xe.label){case 0:return xe.trys.push([0,4,,5]),Ue=(T=o?.condition)==null?void 0:T.call(o,h,{getState:y,extra:v}),E3(Ue)?[4,Ue]:[3,2];case 1:Ue=xe.sent(),xe.label=2;case 2:if(Ue===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,bt=new Promise(function(ge,vt){return S.signal.addEventListener("abort",function(){return vt({name:"AbortError",message:A||"Aborted"})})}),g(i(x,h,(B=o?.getPendingMeta)==null?void 0:B.call(o,{requestId:x,arg:h},{getState:y,extra:v}))),[4,Promise.race([bt,Promise.resolve(n(h,{dispatch:g,getState:y,extra:v,requestId:x,signal:S.signal,abort:N,rejectWithValue:function(ge,vt){return new Ba(ge,vt)},fulfillWithValue:function(ge,vt){return new H1(ge,vt)}})).then(function(ge){if(ge instanceof Ba)throw ge;return ge instanceof H1?a(ge.payload,x,h,ge.meta):a(ge,x,h)})])];case 3:return H=xe.sent(),[3,5];case 4:return Be=xe.sent(),H=Be instanceof Ba?s(null,x,h,Be.payload,Be.meta):s(Be,x,h),[3,5];case 5:return he=o&&!o.dispatchConditionRejection&&s.match(H)&&H.meta.condition,he||g(H),[2,H]}})})})();return Object.assign(z,{abort:N,requestId:x,arg:h,unwrap:function(){return z.then(C3)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function C3(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function E3(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Z1="listener",q1="completed",Y1="cancelled",A9="task-"+Y1,O9="task-"+q1,R9=Z1+"-"+Y1,w9=Z1+"-"+q1;var $a="listenerMiddleware";var N9=ht($a+"/add"),_9=ht($a+"/removeAll"),M9=ht($a+"/remove");var G1,z9=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(G1||(G1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},L3=function(e){return function(t){setTimeout(t,e)}},k9=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:L3(10);w1();var A3=Fn(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(n,o,a){this.eventBus.addEventListener(n,o,a)}dispatchEvent(n){return this.eventBus.dispatchEvent(n)}removeEventListener(n,o,a){this.eventBus.removeEventListener(n,o,a)}}}),Xn=class extends A3(Object){};window.ftReduxStores||(window.ftReduxStores={});var X1=class e extends Xn{static get(t){var n;let o=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[o];if(jn(i))return i;if(a==null)return;let s=K1({...a,reducers:(n=a.reducers)!==null&&n!==void 0?n:{}}),l=j1({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Zr(s.getInitialState());for(let g of p.keeping)h[g]=(d??h)[g];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return s.reducer(d,p)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,n,o){super(),this.reduxSlice=t,this.reduxStore=n,this.isFtReduxStore=!0,this.commands=new $n;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let d=s,p=i[d];return p?(...h)=>{let g=p(...h.map(a));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Qn=class{static format(t,n,o,a,i){return window.moment?window.moment(t).locale(n).format(this.getMomentDateFormat(o,a,!!i)):this.getIntlDateTime(t,n,o,a,!!i)}static getMomentDateFormat(t,n,o){return o?"LT":t?n?"lll":"ll":n?"L LT":"L"}static getIntlDateTime(t,n,o,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(n,{dateStyle:o?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(n,{timeStyle:"short"}).format(s);return i?d:a?`${l} ${d}`:l}static getTimezoneAsString(){let t=o=>String(Math.floor(o)).padStart(2,"0"),n=new Date().getTimezoneOffset();return`${n<0?"+":"-"}${t(Math.abs(n)/60)}:${t(Math.abs(n)%60)}`}};var Jn=L(P()),O3="ft-app-info",vr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};vr.eventName="authentication-change";var en=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};en.eventName="ui-locale-changed";var R3={session:(e,t)=>{(0,Jn.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>D.dispatchEvent(new vr(t.payload)),0))}},D=Jn.FtReduxStore.get({name:O3,reducers:R3,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Q1=L(P()),eo=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},sg=(0,Q1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(D)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Qn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return eo([(0,Ha.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),eo([(0,Ha.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),eo([ba({store:D.name,selector:n=>{var o,a;return(a=(o=n.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),eo([ba({store:D.name})],t.prototype,"uiLocale",void 0),t});var J1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(J1||(J1={}));var e2;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(e2||(e2={}));var t2;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(t2||(t2={}));var r2;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(r2||(r2={}));var n2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(n2||(n2={}));var o2;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(o2||(o2={}));var a2;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(a2||(a2={}));var i2;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(i2||(i2={}));var s2;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(s2||(s2={}));var c2;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(c2||(c2={}));var l2;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(l2||(l2={}));var d2;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(d2||(d2={}));var u2;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(u2||(u2={}));var f2;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(f2||(f2={}));var p2;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(p2||(p2={}));var m2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(m2||(m2={}));var h2;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(h2||(h2={}));var g2;(function(e){e.ASC="ASC",e.DESC="DESC"})(g2||(g2={}));var y2;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(y2||(y2={}));var b2;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(b2||(b2={}));var v2;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(v2||(v2={}));var x2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(x2||(x2={}));var S2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(S2||(S2={}));var C2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(C2||(C2={}));var E2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(E2||(E2={}));var L2;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(L2||(L2={}));var A2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(A2||(A2={}));var J;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(J||(J={}));var Ee;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ee||(Ee={}));var O2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(O2||(O2={}));var R2;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(R2||(R2={}));var w2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(w2||(w2={}));var N2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(N2||(N2={}));var _2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(_2||(_2={}));var M2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(M2||(M2={}));var z2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(z2||(z2={}));var k2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(k2||(k2={}));var I2;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(I2||(I2={}));var T2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(T2||(T2={}));var P2;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(P2||(P2={}));var D2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(D2||(D2={}));var w3={[J.PERSONAL_BOOK_SHARE_USER]:[J.PERSONAL_BOOK_USER],[J.HTML_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.PDF_EXPORT_USER]:[J.PERSONAL_BOOK_USER],[J.KHUB_ADMIN]:[J.CONTENT_PUBLISHER],[J.ADMIN]:[J.KHUB_ADMIN,J.USERS_ADMIN,J.PORTAL_ADMIN,J.BEHAVIOR_DATA_USER],[J.GENERATIVE_AI_EXPORT_USER]:[J.GENERATIVE_AI_USER]};function U2(e,t){return e===t||(w3[e]??[]).some(n=>U2(n,t))}function B2(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(o=>U2(o,t))}var ao=L(P());var Ga=L(P());var It=class e{static get(t){let{baseUrl:n,apiIntegrationIdentifier:o}=D.getState(),a=t??o;if(n&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,a,!0)}static await(t){return new Promise(n=>{let o=e.get(t);if(o)n(o);else{let a=D.subscribe(()=>{o=e.get(t),o&&(a(),n(o))})}})}};var xr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:It.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):It.await()}};var ve=class extends xr{constructor(t=!0,n){var o;super(n),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let a=this.constructor;a.commonCache=(o=a.commonCache)!==null&&o!==void 0?o:new Ga.CacheRegistry,this.cache=t?a.commonCache:new Ga.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((n,o)=>0|31*n+o.charCodeAt(0),0))}};var to=class extends ve{async listMySearches(){let{session:t}=D.getState();return B2(t,J.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var ro=class extends ve{async listMyBookmarks(){let t=D.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var no=class extends ve{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=D.getState().session;return!!t?.sessionAuthenticated}};var oo=class extends ve{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=D.getState().session;return!!t?.sessionAuthenticated}};var N3="ft-user-assets",_3={setAssetCount:(e,t)=>{let{userAssetType:n,count:o}=t.payload.assetCount;e.assetCounts.allAsset[n]=o},clearAssetCount:e=>{Object.values(Ee).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let n=t.payload.mapId;e.assetCounts.bookmarkByMap[n]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:n,mapId:o,asset:a}=t.payload;ja(e,n,[...Wa(e,n),a]),F2(e,n,1,o),$2(e,a)},editAsset:(e,t)=>{let{assetType:n,asset:o}=t.payload;ja(e,n,Wa(e,n).map(a=>a.id===o.id?o:a)),$2(e,o)},removeAsset:(e,t)=>{let{assetType:n,mapId:o,assetId:a}=t.payload;ja(e,n,Wa(e,n).filter(i=>i.id!==a)),F2(e,n,-1,o)}},H2={[Ee.SEARCHES]:"savedSearches",[Ee.BOOKMARKS]:"bookmarks",[Ee.BOOKS]:void 0,[Ee.COLLECTIONS]:void 0},Wa=(e,t)=>{var n;let o=H2[t];return o?(n=e[o])!==null&&n!==void 0?n:[]:[]},ja=(e,t,n)=>{let o=H2[t];o&&(e[o]=n)},F2=(e,t,n,o)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+n),t===Ee.BOOKMARKS&&o)){let i=e.assetCounts.bookmarkByMap[o];e.assetCounts.bookmarkByMap[o]=Math.max(0,i+n)}},$2=(e,t)=>{let n=e.assetLabels.map(a=>a.title),o=t.labels.filter(a=>!n.includes(a)).map(a=>({title:a}));e.assetLabels.push(...o)},le=ao.FtReduxStore.get({name:N3,reducers:_3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ee).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Va=class{constructor(t=new no,n=new oo){this.assetCountsService=t,this.assetLabelsService=n,this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ro,this.savedSearchesService=new to,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:n}=D.getState();(0,ao.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),le.actions.clearAssetCount(),le.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),le.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),le.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();le.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();le.actions.assetLabels(t)}async loadAssetCount(t){let n=await this.assetCountsService.getUserAssetCount(t);n&&le.getState().assetCounts.allAsset[t]!==n.count&&le.actions.setAssetCount({assetCount:n})}async loadBookmarkByMapId(t){let n=await this.assetCountsService.getUserBookmarkCountByMap(t);n&&le.getState().assetCounts.bookmarkByMap[t]!==n.count&&le.actions.setBookmarkCountByMap({count:n.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let n=Object.keys(le.getState().assetCounts.bookmarkByMap).length!==0;t===Ee.BOOKMARKS&&n&&le.actions.clearBookmarkCountByMap(),le.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let n=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;le.actions.bookmarks(n)}}},M3=new Va;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=M3);var Ka=class{addCommand(t,n=!1){D.commands.add(t,n)}consumeCommand(t){return D.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Ka;var Le=L(P());var G2,Sr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},z3=Symbol("clearAfterUnitTest"),io=class extends(0,Le.withEventBus)(ve){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[G2]=()=>{this.defaultMessages={},this.cache=new Le.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=D.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let n=t.name.toLowerCase();this.cache.setFinal(n,t),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,n){var o;if(t=t.toLowerCase(),n&&Object.keys(n).length>0){let a={...(o=this.defaultMessages[t])!==null&&o!==void 0?o:{},...n};(0,Le.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var n,o;return this.fetchContext(t),(o=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(t,n){let o=t.toLowerCase();return this.resolveContext(o)[n]}resolveMessage(t,n,...o){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Le.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(n,...o)}async fetchContext(t){let n=!this.cache.has(t),o;try{o=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),n&&await this.notify(t)}catch(a){!(a instanceof Le.CanceledPromiseError)&&n&&console.error(a)}return o}subscribe(t,n){var o;return t=t.toLowerCase(),this.listeners[t]=(o=this.listeners[t])!==null&&o!==void 0?o:new Set,this.listeners[t].add(n),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(n)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Sr({loadedContexts:t})),this.dispatchEvent(new Sr({loadedContexts:t})),await Promise.all(t.map(n=>this.notify(n,!1)))}async notify(t,n=!0){n&&(document.body.dispatchEvent(new Sr({loadedContexts:[t]})),this.dispatchEvent(new Sr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Le.delay)(0).then(()=>o()).catch(()=>null)))}};G2=z3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends io{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends io{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var tn=window.FluidTopicsI18nService,Za=window.FluidTopicsCustomI18nService;var W2=L(P()),qa=class{highlightHtml(t,n,o){(0,W2.highlightHtml)(t,n,o)}};window.FluidTopicsHighlightHtmlService=new qa;var j2=L(P());var Ya=class{isDate(t){var n,o,a,i;return(i=(a=((o=(n=D.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,n){var o,a,i,s;if(t==null)return"";try{return j2.DateFormatter.format(t,(o=n?.locale)!==null&&o!==void 0?o:D.getState().uiLocale,(a=n?.longFormat)!==null&&a!==void 0?a:!1,(i=n?.withTime)!==null&&i!==void 0?i:!1,(s=n?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new Ya;var V2=L(P());var rn=class{static get(t,n){var o,a,i,s;let l=D.getState(),{lang:d,region:p}=(i=(a=(o=l.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales)===null||a===void 0?void 0:a.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new V2.SearchPlaceConverter(l.baseUrl,t??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,n??`${d}-${p}`)}};var Xa=class{urlToSearchRequest(t){return rn.get().parse(t)}searchRequestToUrl(t){return rn.get().serialize(t)}};window.FluidTopicsUrlService=new Xa;var et=L(P());var Tt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Tt.eventName="change";var Qa=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let n=sessionStorage.getItem(this.itemName(t));return n?JSON.parse(n):void 0}set(t,n){sessionStorage.setItem(this.itemName(t),JSON.stringify(n))}},K2=new Qa;var so=class e extends et.WithEventBus{static build(){return new e(window.history,K2,()=>window.location,!1)}constructor(t,n,o,a){var i,s;super(),this.history=t,this.historyStorage=n,this.windowLocation=o,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,n=!1){let o=n&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,et.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Tt(this.currentItem())),0)}installProxies(){let t=n=>(o,a,[i,s,l])=>{let d=n(),p={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(a,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let n=this.history.length-1;n>=0;n--)t?this.states[n]=this.historyStorage.get(n):setTimeout(()=>this.states[n]=this.historyStorage.get(n),this.history.length-n)}updateCurrentState(t){var n;let o={...this.buildCurrentState(),...t,index:this.currentIndex,title:(n=t?.title)!==null&&n!==void 0?n:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(t){this.addEventListener(Tt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Tt.eventName,t)}currentItem(){return(0,et.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,et.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let n=this.states.filter(o=>!!o).filter(o=>o.index<this.currentIndex).reverse();return(0,et.deepCopy)(n.find(o=>t(o)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,et.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var n;let o=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;if(!o)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,o);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,n;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(n=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&n!==void 0?n:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,n){var o;if(!this.hasState(t))return!1;let a=n??this.currentState.majorStateId,i=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=so.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var Z2=L(G());var q2=Z2.css`
1924
+ `;var Q2=L(G()),pe=L(ce()),Ut=L(P());var Pt=L(P());function Y2(e,t){let{authenticationRequired:n,session:o}=D.getState();return n&&!o?.sessionAuthenticated?Promise.resolve(t):e()}var co=class extends xr{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var Ja=class e extends Pt.FtStateManager{static build(t){return new e(D,t)}constructor(t,n){super(),this.store=t,this.cache=new Pt.CacheRegistry,this.withManualResources=!0,this.userLocaleService=new co,this.cleanSessionDebouncer=new Pt.Debouncer,this.reloadDebouncer=new Pt.Debouncer(500),this.apiProvider=n??(()=>It.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(vr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let n=await this.apiProvider().getCurrentSession();return n.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},n.idleTimeoutInMillis),n});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let n=await this.cache.get("availableContentLocales",()=>Y2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=n.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setTenantId(t){this.store.actions.tenantId(t)}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){this.store.actions.localesConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new en(n)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}},X2=Ja.build();var Dt=class extends Event{constructor(t,n,o,a){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=n,this.callback=o,this.subscribe=a??!1}};var nn=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let n=this.pendingContextRequests.get(t.context);if(n===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:o}=n;for(let{elementRef:a,callbackRef:i}of o){let s=a.deref(),l=i.deref();s===void 0||l===void 0||s.dispatchEvent(new Dt(t.context,s,l,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let n=t.contextTarget??t.composedPath()[0],o=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let i=a.callbacks.get(n);i===void 0&&a.callbacks.set(n,i=new WeakSet),i.has(o)||(i.add(o),a.requests.push({elementRef:new WeakRef(n),callbackRef:new WeakRef(o)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};var ie=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},K=class extends Ut.FtLitElementRedux{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=X2,this.contextRoot=new nn}render(){return Q2.html`
1925
1925
  <slot></slot>
1926
- `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var n;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>tn.addContext(o)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((n=this.stateManager)===null||n===void 0||n.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};q.elementDefinitions={};q.styles=q2;se([(0,ve.property)()],q.prototype,"baseUrl",void 0);se([(0,ve.property)()],q.prototype,"apiIntegrationIdentifier",void 0);se([(0,ve.property)()],q.prototype,"apiIntegrationAppVersion",void 0);se([(0,ve.property)()],q.prototype,"uiLocale",void 0);se([(0,Ut.jsonProperty)(null)],q.prototype,"availableUiLocales",void 0);se([(0,Ut.jsonProperty)(null)],q.prototype,"metadataConfiguration",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"editorMode",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"noCustom",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"openExternalDocumentInNewTab",void 0);se([(0,ve.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],q.prototype,"noCustomComponent",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"withManualResources",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"navigatorOnline",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"forcedOffline",void 0);se([(0,ve.property)({type:Boolean})],q.prototype,"authenticationRequired",void 0);se([(0,Ut.jsonProperty)([])],q.prototype,"messageContexts",void 0);se([(0,Ut.jsonProperty)(void 0)],q.prototype,"session",void 0);var e0=L(P());var J2={"ft-app-context":q};(0,e0.customElements)(J2);var t0=L(ce());var ei=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,o]=t.split(".");return{context:n,key:o,custom:n!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Cr=new ei;var T3=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},an=Symbol("i18nAttributes"),r0=Symbol("i18nListAttributes"),n0=Symbol("i18nProperties"),lo=Symbol("i18nContexts"),on=Symbol("i18nUnsubs"),o0=(0,Er.applyMixinOnce)(Symbol("withI18n"),function(e){var t,n;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[n]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Za:tn}i18n(i){let{context:s,key:l,message:d}=i,{custom:p,args:h,argsProvider:g}=i;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let y=h??(g?g(this):[]);return this.getI18nService(p).resolveMessage(s,l,...y)}return d}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Cr.isI18nKey(i)){let[l,d]=i.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,l,d)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,l;let d=this,p=(h,g,y)=>y?.context&&y.key&&i(h,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...h})}:y;(s=this[an])===null||s===void 0||s.forEach((h,g)=>d[g]=p(h,g,d[g])),(l=this[r0])===null||l===void 0||l.forEach((h,g)=>{var y;return d[g]=(y=d[g])===null||y===void 0?void 0:y.map(v=>p(h,g,v))})}updateI18nProperties(i){var s;(s=this[n0])===null||s===void 0||s.forEach((l,d)=>{i(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let d=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[lo].set(d,{isCustomContext:l}),this[on].has(d)||this[on].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(i){return this[lo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[lo].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[on].forEach(i=>i()),this[on].clear()}}return t=lo,n=on,T3([(0,t0.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),uo=class extends o0(Er.FtLitElement){},fo=class extends o0(Er.FtLitElementRedux){};var a0=L(P());var ti=class{fromAttribute(t){if(!t)return[];try{let n=JSON.parse(t);return Array.isArray(n)?n.map(o=>typeof o=="string"?Cr.fromAttribute(o):o):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},P3=new ti;var i0=(e,t)=>(n,o)=>{var a;n.constructor.createProperty(o,{type:Object,hasChanged:a0.hasChanged,converter:Cr,...t}),n[an]=(a=n[an])!==null&&a!==void 0?a:new Map,n[an].set(o,e??{})};var s0=L(G());var c0=s0.css`
1926
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var n;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>tn.addContext(o)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((n=this.stateManager)===null||n===void 0||n.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};K.elementDefinitions={};K.styles=q2;ie([(0,pe.property)()],K.prototype,"baseUrl",void 0);ie([(0,pe.property)()],K.prototype,"tenantId",void 0);ie([(0,pe.property)()],K.prototype,"apiIntegrationIdentifier",void 0);ie([(0,pe.property)()],K.prototype,"apiIntegrationAppVersion",void 0);ie([(0,pe.property)()],K.prototype,"uiLocale",void 0);ie([(0,Ut.jsonProperty)(null)],K.prototype,"availableUiLocales",void 0);ie([(0,Ut.jsonProperty)(null)],K.prototype,"metadataConfiguration",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"editorMode",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"noCustom",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0);ie([(0,pe.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],K.prototype,"noCustomComponent",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"withManualResources",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"navigatorOnline",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"forcedOffline",void 0);ie([(0,pe.property)({type:Boolean})],K.prototype,"authenticationRequired",void 0);ie([(0,Ut.jsonProperty)([])],K.prototype,"messageContexts",void 0);ie([(0,Ut.jsonProperty)(void 0)],K.prototype,"session",void 0);var e0=L(P());var J2={"ft-app-context":K};(0,e0.customElements)(J2);var t0=L(ce());var ei=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,o]=t.split(".");return{context:n,key:o,custom:n!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Cr=new ei;var T3=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},an=Symbol("i18nAttributes"),r0=Symbol("i18nListAttributes"),n0=Symbol("i18nProperties"),lo=Symbol("i18nContexts"),on=Symbol("i18nUnsubs"),o0=(0,Er.applyMixinOnce)(Symbol("withI18n"),function(e){var t,n;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[n]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Za:tn}i18n(i){let{context:s,key:l,message:d}=i,{custom:p,args:h,argsProvider:g}=i;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let y=h??(g?g(this):[]);return this.getI18nService(p).resolveMessage(s,l,...y)}return d}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Cr.isI18nKey(i)){let[l,d]=i.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,l,d)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,l;let d=this,p=(h,g,y)=>y?.context&&y.key&&i(h,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...h})}:y;(s=this[an])===null||s===void 0||s.forEach((h,g)=>d[g]=p(h,g,d[g])),(l=this[r0])===null||l===void 0||l.forEach((h,g)=>{var y;return d[g]=(y=d[g])===null||y===void 0?void 0:y.map(v=>p(h,g,v))})}updateI18nProperties(i){var s;(s=this[n0])===null||s===void 0||s.forEach((l,d)=>{i(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let d=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[lo].set(d,{isCustomContext:l}),this[on].has(d)||this[on].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(i){return this[lo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[lo].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[on].forEach(i=>i()),this[on].clear()}}return t=lo,n=on,T3([(0,t0.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),uo=class extends o0(Er.FtLitElement){},fo=class extends o0(Er.FtLitElementRedux){};var a0=L(P());var ti=class{fromAttribute(t){if(!t)return[];try{let n=JSON.parse(t);return Array.isArray(n)?n.map(o=>typeof o=="string"?Cr.fromAttribute(o):o):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},P3=new ti;var i0=(e,t)=>(n,o)=>{var a;n.constructor.createProperty(o,{type:Object,hasChanged:a0.hasChanged,converter:Cr,...t}),n[an]=(a=n[an])!==null&&a!==void 0?a:new Map,n[an].set(o,e??{})};var s0=L(G());var c0=s0.css`
1927
1927
  `;var po=L(G()),mo=L(ce()),ho=L(P());var sn=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},Ie=class extends fo{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":po.nothing:po.html`
1928
1928
  <span class="ft-i18n">
1929
1929
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
@@ -1943,7 +1943,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
1943
1943
  </div>
1944
1944
  </div>
1945
1945
  </div>
1946
- `}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var n,o;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(n=this.tooltip)===null||n===void 0||n.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(n=>t.has(n))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,n){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(n),this.text=a,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&i1(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:n})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${n}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ae.designSystemVariables.transitionDuration}, left ${Ae.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(t){return(0,Ae.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(t){return this.manual||this.matchesIgnored(t)}};ee.elementDefinitions={"ft-typography":Ye};ee.styles=zl;Te([i0()],ee.prototype,"text",void 0);Te([(0,Oe.property)({type:Boolean})],ee.prototype,"manual",void 0);Te([(0,Oe.property)({type:Boolean})],ee.prototype,"inline",void 0);Te([(0,Ae.numberProperty)()],ee.prototype,"delay",void 0);Te([(0,Oe.property)()],ee.prototype,"position",void 0);Te([(0,Ae.jsonProperty)([])],ee.prototype,"ignoreMatchingElements",void 0);Te([(0,Oe.queryAssignedNodes)()],ee.prototype,"slotNodes",void 0);Te([(0,Oe.query)(".ft-tooltip--container")],ee.prototype,"container",void 0);Te([(0,Oe.query)(".ft-tooltip")],ee.prototype,"tooltip",void 0);Te([(0,Oe.query)(".ft-tooltip--content")],ee.prototype,"tooltipContent",void 0);Te([(0,Oe.state)()],ee.prototype,"visible",void 0);var p0=L(P());var f0={"ft-tooltip":ee};(0,p0.customElements)(f0);var ri=L(Nr());var K=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},U=class extends(0,Re.toFtFormComponent)((0,Re.toFtdsBase)(Re.FtLitElement)){get buttonClasses(){return{"ftds-button":!0,"ftds-button--primary":this.primary,"ftds-button--secondary":this.secondary,"ftds-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ftds-button--icon-only":!this.hasTextContent(),"ftds-button--trailing-icon":this.trailingIcon,"ftds-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ftds-button--no-icon":!this.icon,"ftds-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Wt.large:return te.body2medium;case Wt.medium:return te.caption1medium;case Wt.small:return te.caption2medium;default:return te.caption1medium}}constructor(){super(),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.family=pn.brand,this.addEventListener("click",t=>{var n;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){var t,n,o;let a=gt.html`
1946
+ `}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var n,o;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(n=this.tooltip)===null||n===void 0||n.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(n=>t.has(n))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,n){let o=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(n),this.text=a,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&i1(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:n})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${n}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Ae.designSystemVariables.transitionDuration}, left ${Ae.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(t){return(0,Ae.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(t){return this.manual||this.matchesIgnored(t)}};ee.elementDefinitions={"ft-typography":Ye};ee.styles=zl;Te([i0()],ee.prototype,"text",void 0);Te([(0,Oe.property)({type:Boolean})],ee.prototype,"manual",void 0);Te([(0,Oe.property)({type:Boolean})],ee.prototype,"inline",void 0);Te([(0,Ae.numberProperty)()],ee.prototype,"delay",void 0);Te([(0,Oe.property)()],ee.prototype,"position",void 0);Te([(0,Ae.jsonProperty)([])],ee.prototype,"ignoreMatchingElements",void 0);Te([(0,Oe.queryAssignedNodes)()],ee.prototype,"slotNodes",void 0);Te([(0,Oe.query)(".ft-tooltip--container")],ee.prototype,"container",void 0);Te([(0,Oe.query)(".ft-tooltip")],ee.prototype,"tooltip",void 0);Te([(0,Oe.query)(".ft-tooltip--content")],ee.prototype,"tooltipContent",void 0);Te([(0,Oe.state)()],ee.prototype,"visible",void 0);var p0=L(P());var f0={"ft-tooltip":ee};(0,p0.customElements)(f0);var ri=L(Nr());var Z=function(e,t,n,o){var a=arguments.length,i=a<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,n,i):s(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},U=class extends(0,Re.toFtFormComponent)((0,Re.toFtdsBase)(Re.FtLitElement)){get buttonClasses(){return{"ftds-button":!0,"ftds-button--primary":this.primary,"ftds-button--secondary":this.secondary,"ftds-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ftds-button--icon-only":!this.hasTextContent(),"ftds-button--trailing-icon":this.trailingIcon,"ftds-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ftds-button--no-icon":!this.icon,"ftds-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Wt.large:return te.body2medium;case Wt.medium:return te.caption1medium;case Wt.small:return te.caption2medium;default:return te.caption1medium}}constructor(){super(),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.family=pn.brand,this.addEventListener("click",t=>{var n;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){var t,n,o;let a=gt.html`
1947
1947
  <ft-ripple part="ripple"
1948
1948
  ?disabled=${this.isDisabled()}
1949
1949
  ?activated=${this.activated}
@@ -1985,7 +1985,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
1985
1985
  <ftds-icon part="icon" .variant=${this.iconVariant} .icon=${this.icon}></ftds-icon>
1986
1986
  `:gt.html`
1987
1987
  <slot part="icon" name="icon"></slot>
1988
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,n){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(t,n)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Re.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":Z,"ft-tooltip":ee,"ftds-icon":de,"ft-loader":Ot,"ftds-typography":we};U.styles=[Re.safariEllipsisFix,il];K([(0,$.property)({type:Boolean})],U.prototype,"primary",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"secondary",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"tertiary",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"round",void 0);K([(0,$.property)()],U.prototype,"href",void 0);K([(0,$.property)()],U.prototype,"target",void 0);K([(0,$.property)()],U.prototype,"type",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"disabled",void 0);K([(0,$.property)()],U.prototype,"label",void 0);K([(0,$.property)()],U.prototype,"icon",void 0);K([(0,$.property)()],U.prototype,"iconVariant",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"loading",void 0);K([(0,$.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);K([(0,$.property)()],U.prototype,"ariaHasPopup",void 0);K([(0,$.property)({attribute:"aria-pressed"})],U.prototype,"ariaPressed",void 0);K([(0,$.property)()],U.prototype,"tooltipPosition",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);K([(0,$.property)({type:Boolean})],U.prototype,"activated",void 0);K([(0,$.query)(".ftds-button")],U.prototype,"button",void 0);K([(0,$.query)(".ftds-button--label slot")],U.prototype,"slottedContent",void 0);K([(0,$.query)("[part=tooltip]")],U.prototype,"tooltip",void 0);var h0=L(P());var m0={"ftds-button":U};(0,h0.customElements)(m0);var g0=L(G()),Bt=L(P());var y0=g0.css`
1988
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,n){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(t,n)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Re.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":q,"ft-tooltip":ee,"ftds-icon":de,"ft-loader":Ot,"ftds-typography":we};U.styles=[Re.safariEllipsisFix,il];Z([(0,$.property)({type:Boolean})],U.prototype,"primary",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"secondary",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"tertiary",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"round",void 0);Z([(0,$.property)()],U.prototype,"href",void 0);Z([(0,$.property)()],U.prototype,"target",void 0);Z([(0,$.property)()],U.prototype,"type",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"disabled",void 0);Z([(0,$.property)()],U.prototype,"label",void 0);Z([(0,$.property)()],U.prototype,"icon",void 0);Z([(0,$.property)()],U.prototype,"iconVariant",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"loading",void 0);Z([(0,$.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);Z([(0,$.property)()],U.prototype,"ariaHasPopup",void 0);Z([(0,$.property)({attribute:"aria-pressed"})],U.prototype,"ariaPressed",void 0);Z([(0,$.property)()],U.prototype,"tooltipPosition",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);Z([(0,$.property)({type:Boolean})],U.prototype,"activated",void 0);Z([(0,$.query)(".ftds-button")],U.prototype,"button",void 0);Z([(0,$.query)(".ftds-button--label slot")],U.prototype,"slottedContent",void 0);Z([(0,$.query)("[part=tooltip]")],U.prototype,"tooltip",void 0);var h0=L(P());var m0={"ftds-button":U};(0,h0.customElements)(m0);var g0=L(G()),Bt=L(P());var y0=g0.css`
1989
1989
  /* Header */
1990
1990
  [part="header"] {
1991
1991
  display: flex;
@@ -2299,31 +2299,31 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
2299
2299
  </clipPath>
2300
2300
  </defs>
2301
2301
  </svg>
2302
- `;var S0=L(G()),C0=L(P());var v0=L(G()),Pe=L(P()),pe={display:Pe.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Pe.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Pe.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Pe.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Pe.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Pe.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Pe.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Pe.FtCssVariableFactory.external(Pe.designSystemVariables.borderRadiusM,"Design system")},x0=v0.css`
2302
+ `;var S0=L(G()),C0=L(P());var v0=L(G()),Pe=L(P()),me={display:Pe.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Pe.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Pe.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Pe.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Pe.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Pe.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Pe.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Pe.FtCssVariableFactory.external(Pe.designSystemVariables.borderRadiusM,"Design system")},x0=v0.css`
2303
2303
  :host {
2304
- width: ${pe.width};
2305
- height: ${pe.height};
2306
- display: ${pe.display};
2304
+ width: ${me.width};
2305
+ height: ${me.height};
2306
+ display: ${me.display};
2307
2307
  overflow: hidden;
2308
- border-radius: ${pe.borderRadiusM};
2308
+ border-radius: ${me.borderRadiusM};
2309
2309
  background: linear-gradient(
2310
2310
  90deg,
2311
2311
  transparent,
2312
- ${pe.glareColor} calc(0.45 * ${pe.glareWidth}),
2313
- ${pe.glareColor} calc(0.55 * ${pe.glareWidth}),
2314
- transparent ${pe.glareWidth}
2315
- ), ${pe.backgroundColor};
2312
+ ${me.glareColor} calc(0.45 * ${me.glareWidth}),
2313
+ ${me.glareColor} calc(0.55 * ${me.glareWidth}),
2314
+ transparent ${me.glareWidth}
2315
+ ), ${me.backgroundColor};
2316
2316
  background-repeat: repeat-y;
2317
2317
  background-size: 100vw 100vh;
2318
2318
  background-attachment: fixed;
2319
- background-position: calc(${pe.glareWidth} * -1) 0;
2320
- animation: shine ${pe.animationDuration} infinite;
2319
+ background-position: calc(${me.glareWidth} * -1) 0;
2320
+ animation: shine ${me.animationDuration} infinite;
2321
2321
  animation-timing-function: linear;
2322
2322
  }
2323
2323
 
2324
2324
  @keyframes shine {
2325
2325
  to {
2326
- background-position: calc(100vw + ${pe.glareWidth}) 0, calc(${pe.glareWidth} * -1) 0;
2326
+ background-position: calc(100vw + ${me.glareWidth}) 0, calc(${me.glareWidth} * -1) 0;
2327
2327
  }
2328
2328
  }
2329
2329
  `;var yt=class extends C0.FtLitElement{render(){return S0.html`