@fluid-topics/ftds-chip-group 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.
- package/build/ftds-chip-group.light.js +14 -14
- package/build/ftds-chip-group.min.js +20 -20
- package/package.json +11 -11
|
@@ -1138,10 +1138,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1138
1138
|
margin: auto;
|
|
1139
1139
|
position: absolute;
|
|
1140
1140
|
z-index: var(--fa-stack-z-index, auto);
|
|
1141
|
-
}`;function gc(){var e=cc,t=lc,o=_.cssPrefix,n=_.replacementClass,a=bu;if(o!==e||n!==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(o,"-")).replace(s,"--".concat(o,"-")).replace(l,".".concat(n))}return a}var ls=!1;function In(){_.autoAddCss&&!ls&&(pu(gc()),ls=!0)}var vu={mixout:function(){return{dom:{css:gc,insertCss:In}}},hooks:function(){return{beforeDOMElementCreation:function(){In()},beforeI2svg:function(){In()}}}},Ye=lt||{};Ye[Ze]||(Ye[Ze]={});Ye[Ze].styles||(Ye[Ze].styles={});Ye[Ze].hooks||(Ye[Ze].hooks={});Ye[Ze].shims||(Ye[Ze].shims=[]);var ke=Ye[Ze],yc=[],bc=function(){H.removeEventListener("DOMContentLoaded",bc),No=1,yc.map(function(t){return t()})},No=!1;Xe&&(No=(H.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(H.readyState),No||H.addEventListener("DOMContentLoaded",bc));function xu(e){Xe&&(No?setTimeout(e,0):yc.push(e))}function $r(e){var t=e.tag,o=e.attributes,n=o===void 0?{}:o,a=e.children,i=a===void 0?[]:a;return typeof e=="string"?hc(e):"<".concat(t," ").concat(hu(n),">").concat(i.map($r).join(""),"</").concat(t,">")}function ds(e,t,o){if(e&&e[t]&&e[t][o])return{prefix:t,iconName:o,icon:e[t][o]}}var Su=function(t,o){return function(n,a,i,s){return t.call(o,n,a,i,s)}},Tn=function(t,o,n,a){var i=Object.keys(t),s=i.length,l=a!==void 0?Su(o,a):o,u,p,h;for(n===void 0?(u=1,h=t[i[0]]):(u=0,h=n);u<s;u++)p=i[u],h=l(h,t[p],p,t);return h};function vc(e){return Ie(e).length!==1?null:e.codePointAt(0).toString(16)}function us(e){return Object.keys(e).reduce(function(t,o){var n=e[o],a=!!n.icon;return a?t[n.iconName]=n.icon:t[o]=n,t},{})}function jn(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=o.skipHooks,a=n===void 0?!1:n,i=us(t);typeof ke.hooks.addPack=="function"&&!a?ke.hooks.addPack(e,us(t)):ke.styles[e]=E(E({},ke.styles[e]||{}),i),e==="fas"&&jn("fa",t)}var Dr=ke.styles,Cu=ke.shims,xc=Object.keys(oa),Eu=xc.reduce(function(e,t){return e[t]=Object.keys(oa[t]),e},{}),ia=null,Sc={},Cc={},Ec={},Ac={},Lc={};function Au(e){return~lu.indexOf(e)}function Lu(e,t){var o=t.split("-"),n=o[0],a=o.slice(1).join("-");return n===e&&a!==""&&!Au(a)?a:null}var Oc=function(){var t=function(i){return Tn(Dr,function(s,l,u){return s[u]=Tn(l,i,{}),s},{})};Sc=t(function(a,i,s){if(i[3]&&(a[i[3]]=s),i[2]){var l=i[2].filter(function(u){return typeof u=="number"});l.forEach(function(u){a[u.toString(16)]=s})}return a}),Cc=t(function(a,i,s){if(a[s]=s,i[2]){var l=i[2].filter(function(u){return typeof u=="string"});l.forEach(function(u){a[u]=s})}return a}),Lc=t(function(a,i,s){var l=i[2];return a[s]=s,l.forEach(function(u){a[u]=s}),a});var o="far"in Dr||_.autoFetchSvg,n=Tn(Cu,function(a,i){var s=i[0],l=i[1],u=i[2];return l==="far"&&!o&&(l="fas"),typeof s=="string"&&(a.names[s]={prefix:l,iconName:u}),typeof s=="number"&&(a.unicodes[s.toString(16)]={prefix:l,iconName:u}),a},{names:{},unicodes:{}});Ec=n.names,Ac=n.unicodes,ia=ko(_.styleDefault,{family:_.familyDefault})};fu(function(e){ia=ko(e.styleDefault,{family:_.familyDefault})});Oc();function sa(e,t){return(Sc[e]||{})[t]}function Ou(e,t){return(Cc[e]||{})[t]}function wt(e,t){return(Lc[e]||{})[t]}function Rc(e){return Ec[e]||{prefix:null,iconName:null}}function Ru(e){var t=Ac[e],o=sa("fas",e);return t||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function dt(){return ia}var wc=function(){return{prefix:null,iconName:null,rest:[]}};function wu(e){var t=ae,o=xc.reduce(function(n,a){return n[a]="".concat(_.cssPrefix,"-").concat(a),n},{});return nc.forEach(function(n){(e.includes(o[n])||e.some(function(a){return Eu[n].includes(a)}))&&(t=n)}),t}function ko(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.family,n=o===void 0?ae:o,a=nu[n][e];if(n===Ur&&!e)return"fad";var i=is[n][e]||is[n][a],s=e in ke.styles?e:null,l=i||s||null;return l}function Nu(e){var t=[],o=null;return e.forEach(function(n){var a=Lu(_.cssPrefix,n);a?o=a:n&&t.push(n)}),{iconName:o,rest:t}}function fs(e){return e.sort().filter(function(t,o,n){return n.indexOf(t)===o})}var ps=ic.concat(ac);function Io(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.skipLookups,n=o===void 0?!1:o,a=null,i=fs(e.filter(function(v){return ps.includes(v)})),s=fs(e.filter(function(v){return!ps.includes(v)})),l=i.filter(function(v){return a=v,!Ts.includes(v)}),u=zo(l,1),p=u[0],h=p===void 0?null:p,g=wu(i),y=E(E({},Nu(s)),{},{prefix:ko(h,{family:g})});return E(E(E({},y),ku({values:e,family:g,styles:Dr,config:_,canonical:y,givenPrefix:a})),_u(n,a,y))}function _u(e,t,o){var n=o.prefix,a=o.iconName;if(e||!n||!a)return{prefix:n,iconName:a};var i=t==="fa"?Rc(a):{},s=wt(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Dr.far&&Dr.fas&&!_.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}var zu=nc.filter(function(e){return e!==ae||e!==Ur}),Mu=Object.keys(Bn).filter(function(e){return e!==ae}).map(function(e){return Object.keys(Bn[e])}).flat();function ku(e){var t=e.values,o=e.family,n=e.canonical,a=e.givenPrefix,i=a===void 0?"":a,s=e.styles,l=s===void 0?{}:s,u=e.config,p=u===void 0?{}:u,h=o===Ur,g=t.includes("fa-duotone")||t.includes("fad"),y=p.familyDefault==="duotone",v=n.prefix==="fad"||n.prefix==="fa-duotone";if(!h&&(g||y||v)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&zu.includes(o)){var x=Object.keys(l).find(function(L){return Mu.includes(L)});if(x||p.autoFetchSvg){var S=U4.get(o).defaultShortPrefixId;n.prefix=S,n.iconName=wt(n.prefix,n.iconName)||n.iconName}}return(n.prefix==="fa"||i==="fa")&&(n.prefix=dt()||"fas"),n}var Iu=(function(){function e(){t4(this,e),this.definitions={}}return r4(e,[{key:"add",value:function(){for(var o=this,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];var s=a.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){o.definitions[l]=E(E({},o.definitions[l]||{}),s[l]),jn(l,s[l]);var u=oa[ae][l];u&&jn(u,s[l]),Oc()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,n){var a=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(a).map(function(i){var s=a[i],l=s.prefix,u=s.iconName,p=s.icon,h=p[2];o[l]||(o[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(o[l][g]=p)}),o[l][u]=p}),o}}])})(),ms=[],Zt={},Yt={},Tu=Object.keys(Yt);function Pu(e,t){var o=t.mixoutsTo;return ms=e,Zt={},Object.keys(Yt).forEach(function(n){Tu.indexOf(n)===-1&&delete Yt[n]}),ms.forEach(function(n){var a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(function(s){typeof a[s]=="function"&&(o[s]=a[s]),wo(a[s])==="object"&&Object.keys(a[s]).forEach(function(l){o[s]||(o[s]={}),o[s][l]=a[s][l]})}),n.hooks){var i=n.hooks();Object.keys(i).forEach(function(s){Zt[s]||(Zt[s]=[]),Zt[s].push(i[s])})}n.provides&&n.provides(Yt)}),o}function Vn(e,t){for(var o=arguments.length,n=new Array(o>2?o-2:0),a=2;a<o;a++)n[a-2]=arguments[a];var i=Zt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(n))}),t}function _t(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];var a=Zt[e]||[];a.forEach(function(i){i.apply(null,o)})}function ut(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yt[e]?Yt[e].apply(null,t):void 0}function Kn(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,o=e.prefix||dt();if(t)return t=wt(o,t)||t,ds(Nc.definitions,o,t)||ds(ke.styles,o,t)}var Nc=new Iu,Du=function(){_.autoReplaceSvg=!1,_.observeMutations=!1,_t("noAuto")},Uu={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Xe?(_t("beforeI2svg",t),ut("pseudoElements2svg",t),ut("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]:{},o=t.autoReplaceSvgRoot;_.autoReplaceSvg===!1&&(_.autoReplaceSvg=!0),_.observeMutations=!0,xu(function(){$u({autoReplaceSvgRoot:o}),_t("watch",t)})}},Bu={icon:function(t){if(t===null)return null;if(wo(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:wt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var o=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=ko(t[0]);return{prefix:n,iconName:wt(n,o)||o}}if(typeof t=="string"&&(t.indexOf("".concat(_.cssPrefix,"-"))>-1||t.match(au))){var a=Io(t.split(" "),{skipLookups:!0});return{prefix:a.prefix||dt(),iconName:wt(a.prefix,a.iconName)||a.iconName}}if(typeof t=="string"){var i=dt();return{prefix:i,iconName:wt(i,t)||t}}}},be={noAuto:Du,config:_,dom:Uu,parse:Bu,library:Nc,findIconDefinition:Kn,toHtml:$r},$u=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.autoReplaceSvgRoot,n=o===void 0?H:o;(Object.keys(ke.styles).length>0||_.autoFetchSvg)&&Xe&&_.autoReplaceSvg&&be.dom.i2svg({node:n})};function To(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return $r(n)})}}),Object.defineProperty(e,"node",{get:function(){if(Xe){var n=H.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Fu(e){var t=e.children,o=e.main,n=e.mask,a=e.attributes,i=e.styles,s=e.transform;if(aa(s)&&o.found&&!n.found){var l=o.width,u=o.height,p={x:l/u/2,y:.5};a.style=Mo(E(E({},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 Gu(e){var t=e.prefix,o=e.iconName,n=e.children,a=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(_.cssPrefix,"-").concat(o):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:E(E({},a),{},{id:s}),children:n}]}]}function Hu(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(o){return o in e})}function ca(e){var t=e.icons,o=t.main,n=t.mask,a=e.prefix,i=e.iconName,s=e.transform,l=e.symbol,u=e.maskId,p=e.extra,h=e.watchable,g=h===void 0?!1:h,y=n.found?n:o,v=y.width,x=y.height,S=[_.replacementClass,i?"".concat(_.cssPrefix,"-").concat(i):""].filter(function($){return p.classes.indexOf($)===-1}).filter(function($){return $!==""||!!$}).concat(p.classes).join(" "),L={children:[],attributes:E(E({},p.attributes),{},{"data-prefix":a,"data-icon":i,class:S,role:p.attributes.role||"img",viewBox:"0 0 ".concat(v," ").concat(x)})};!Hu(p.attributes)&&!p.attributes["aria-hidden"]&&(L.attributes["aria-hidden"]="true"),g&&(L.attributes[Nt]="");var O=E(E({},L),{},{prefix:a,iconName:i,main:o,mask:n,maskId:u,transform:s,symbol:l,styles:E({},p.styles)}),N=n.found&&o.found?ut("generateAbstractMask",O)||{children:[],attributes:{}}:ut("generateAbstractIcon",O)||{children:[],attributes:{}},z=N.children,I=N.attributes;return O.children=z,O.attributes=I,l?Gu(O):Fu(O)}function hs(e){var t=e.content,o=e.width,n=e.height,a=e.transform,i=e.extra,s=e.watchable,l=s===void 0?!1:s,u=E(E({},i.attributes),{},{class:i.classes.join(" ")});l&&(u[Nt]="");var p=E({},i.styles);aa(a)&&(p.transform=yu({transform:a,startCentered:!0,width:o,height:n}),p["-webkit-transform"]=p.transform);var h=Mo(p);h.length>0&&(u.style=h);var g=[];return g.push({tag:"span",attributes:u,children:[t]}),g}function Wu(e){var t=e.content,o=e.extra,n=E(E({},o.attributes),{},{class:o.classes.join(" ")}),a=Mo(o.styles);a.length>0&&(n.style=a);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}var Pn=ke.styles;function qn(e){var t=e[0],o=e[1],n=e.slice(4),a=zo(n,1),i=a[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(_.cssPrefix,"-").concat(kn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_.cssPrefix,"-").concat(kn.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(_.cssPrefix,"-").concat(kn.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:o,icon:s}}var ju={found:!1,width:512,height:512};function Vu(e,t){!uc&&!_.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Zn(e,t){var o=t;return t==="fa"&&_.styleDefault!==null&&(t=dt()),new Promise(function(n,a){if(o==="fa"){var i=Rc(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Pn[t]&&Pn[t][e]){var s=Pn[t][e];return n(qn(s))}Vu(e,t),n(E(E({},ju),{},{icon:_.showMissingIcons&&e?ut("missingIconAbstract")||{}:{}}))})}var gs=function(){},Yn=_.measurePerformance&&So&&So.mark&&So.measure?So:{mark:gs,measure:gs},Ir='FA "7.3.1"',Ku=function(t){return Yn.mark("".concat(Ir," ").concat(t," begins")),function(){return _c(t)}},_c=function(t){Yn.mark("".concat(Ir," ").concat(t," ends")),Yn.measure("".concat(Ir," ").concat(t),"".concat(Ir," ").concat(t," begins"),"".concat(Ir," ").concat(t," ends"))},la={begin:Ku,end:_c},Oo=function(){};function ys(e){var t=e.getAttribute?e.getAttribute(Nt):null;return typeof t=="string"}function qu(e){var t=e.getAttribute?e.getAttribute(ta):null,o=e.getAttribute?e.getAttribute(ra):null;return t&&o}function Zu(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(_.replacementClass)}function Yu(){if(_.autoReplaceSvg===!0)return Ro.replace;var e=Ro[_.autoReplaceSvg];return e||Ro.replace}function Xu(e){return H.createElementNS("http://www.w3.org/2000/svg",e)}function Qu(e){return H.createElement(e)}function zc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.ceFn,n=o===void 0?e.tag==="svg"?Xu:Qu:o;if(typeof e=="string")return H.createTextNode(e);var a=n(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(zc(s,{ceFn:n}))}),a}function Ju(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ro={replace:function(t){var o=t[0];if(o.parentNode)if(t[1].forEach(function(a){o.parentNode.insertBefore(zc(a),o)}),o.getAttribute(Nt)===null&&_.keepOriginalSource){var n=H.createComment(Ju(o));o.parentNode.replaceChild(n,o)}else o.remove()},nest:function(t){var o=t[0],n=t[1];if(~na(o).indexOf(_.replacementClass))return Ro.replace(t);var a=new RegExp("".concat(_.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(l,u){return u===_.replacementClass||u.match(a)?l.toSvg.push(u):l.toNode.push(u),l},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",i.toNode.join(" "))}var s=n.map(function(l){return $r(l)}).join(`
|
|
1141
|
+
}`;function gc(){var e=cc,t=lc,o=_.cssPrefix,n=_.replacementClass,a=bu;if(o!==e||n!==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(o,"-")).replace(s,"--".concat(o,"-")).replace(l,".".concat(n))}return a}var ls=!1;function In(){_.autoAddCss&&!ls&&(pu(gc()),ls=!0)}var vu={mixout:function(){return{dom:{css:gc,insertCss:In}}},hooks:function(){return{beforeDOMElementCreation:function(){In()},beforeI2svg:function(){In()}}}},Ye=lt||{};Ye[Ze]||(Ye[Ze]={});Ye[Ze].styles||(Ye[Ze].styles={});Ye[Ze].hooks||(Ye[Ze].hooks={});Ye[Ze].shims||(Ye[Ze].shims=[]);var ke=Ye[Ze],yc=[],bc=function(){H.removeEventListener("DOMContentLoaded",bc),No=1,yc.map(function(t){return t()})},No=!1;Xe&&(No=(H.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(H.readyState),No||H.addEventListener("DOMContentLoaded",bc));function xu(e){Xe&&(No?setTimeout(e,0):yc.push(e))}function $r(e){var t=e.tag,o=e.attributes,n=o===void 0?{}:o,a=e.children,i=a===void 0?[]:a;return typeof e=="string"?hc(e):"<".concat(t," ").concat(hu(n),">").concat(i.map($r).join(""),"</").concat(t,">")}function ds(e,t,o){if(e&&e[t]&&e[t][o])return{prefix:t,iconName:o,icon:e[t][o]}}var Su=function(t,o){return function(n,a,i,s){return t.call(o,n,a,i,s)}},Tn=function(t,o,n,a){var i=Object.keys(t),s=i.length,l=a!==void 0?Su(o,a):o,u,p,h;for(n===void 0?(u=1,h=t[i[0]]):(u=0,h=n);u<s;u++)p=i[u],h=l(h,t[p],p,t);return h};function vc(e){return Ie(e).length!==1?null:e.codePointAt(0).toString(16)}function us(e){return Object.keys(e).reduce(function(t,o){var n=e[o],a=!!n.icon;return a?t[n.iconName]=n.icon:t[o]=n,t},{})}function jn(e,t){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=o.skipHooks,a=n===void 0?!1:n,i=us(t);typeof ke.hooks.addPack=="function"&&!a?ke.hooks.addPack(e,us(t)):ke.styles[e]=E(E({},ke.styles[e]||{}),i),e==="fas"&&jn("fa",t)}var Dr=ke.styles,Cu=ke.shims,xc=Object.keys(oa),Eu=xc.reduce(function(e,t){return e[t]=Object.keys(oa[t]),e},{}),ia=null,Sc={},Cc={},Ec={},Ac={},Lc={};function Au(e){return~lu.indexOf(e)}function Lu(e,t){var o=t.split("-"),n=o[0],a=o.slice(1).join("-");return n===e&&a!==""&&!Au(a)?a:null}var Oc=function(){var t=function(i){return Tn(Dr,function(s,l,u){return s[u]=Tn(l,i,{}),s},{})};Sc=t(function(a,i,s){if(i[3]&&(a[i[3]]=s),i[2]){var l=i[2].filter(function(u){return typeof u=="number"});l.forEach(function(u){a[u.toString(16)]=s})}return a}),Cc=t(function(a,i,s){if(a[s]=s,i[2]){var l=i[2].filter(function(u){return typeof u=="string"});l.forEach(function(u){a[u]=s})}return a}),Lc=t(function(a,i,s){var l=i[2];return a[s]=s,l.forEach(function(u){a[u]=s}),a});var o="far"in Dr||_.autoFetchSvg,n=Tn(Cu,function(a,i){var s=i[0],l=i[1],u=i[2];return l==="far"&&!o&&(l="fas"),typeof s=="string"&&(a.names[s]={prefix:l,iconName:u}),typeof s=="number"&&(a.unicodes[s.toString(16)]={prefix:l,iconName:u}),a},{names:{},unicodes:{}});Ec=n.names,Ac=n.unicodes,ia=ko(_.styleDefault,{family:_.familyDefault})};fu(function(e){ia=ko(e.styleDefault,{family:_.familyDefault})});Oc();function sa(e,t){return(Sc[e]||{})[t]}function Ou(e,t){return(Cc[e]||{})[t]}function wt(e,t){return(Lc[e]||{})[t]}function Rc(e){return Ec[e]||{prefix:null,iconName:null}}function Ru(e){var t=Ac[e],o=sa("fas",e);return t||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function dt(){return ia}var wc=function(){return{prefix:null,iconName:null,rest:[]}};function wu(e){var t=ae,o=xc.reduce(function(n,a){return n[a]="".concat(_.cssPrefix,"-").concat(a),n},{});return nc.forEach(function(n){(e.includes(o[n])||e.some(function(a){return Eu[n].includes(a)}))&&(t=n)}),t}function ko(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.family,n=o===void 0?ae:o,a=nu[n][e];if(n===Ur&&!e)return"fad";var i=is[n][e]||is[n][a],s=e in ke.styles?e:null,l=i||s||null;return l}function Nu(e){var t=[],o=null;return e.forEach(function(n){var a=Lu(_.cssPrefix,n);a?o=a:n&&t.push(n)}),{iconName:o,rest:t}}function fs(e){return e.sort().filter(function(t,o,n){return n.indexOf(t)===o})}var ps=ic.concat(ac);function Io(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.skipLookups,n=o===void 0?!1:o,a=null,i=fs(e.filter(function(v){return ps.includes(v)})),s=fs(e.filter(function(v){return!ps.includes(v)})),l=i.filter(function(v){return a=v,!Ts.includes(v)}),u=zo(l,1),p=u[0],h=p===void 0?null:p,g=wu(i),y=E(E({},Nu(s)),{},{prefix:ko(h,{family:g})});return E(E(E({},y),ku({values:e,family:g,styles:Dr,config:_,canonical:y,givenPrefix:a})),_u(n,a,y))}function _u(e,t,o){var n=o.prefix,a=o.iconName;if(e||!n||!a)return{prefix:n,iconName:a};var i=t==="fa"?Rc(a):{},s=wt(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Dr.far&&Dr.fas&&!_.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}var zu=nc.filter(function(e){return e!==ae||e!==Ur}),Mu=Object.keys(Bn).filter(function(e){return e!==ae}).map(function(e){return Object.keys(Bn[e])}).flat();function ku(e){var t=e.values,o=e.family,n=e.canonical,a=e.givenPrefix,i=a===void 0?"":a,s=e.styles,l=s===void 0?{}:s,u=e.config,p=u===void 0?{}:u,h=o===Ur,g=t.includes("fa-duotone")||t.includes("fad"),y=p.familyDefault==="duotone",v=n.prefix==="fad"||n.prefix==="fa-duotone";if(!h&&(g||y||v)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&zu.includes(o)){var x=Object.keys(l).find(function(L){return Mu.includes(L)});if(x||p.autoFetchSvg){var S=U4.get(o).defaultShortPrefixId;n.prefix=S,n.iconName=wt(n.prefix,n.iconName)||n.iconName}}return(n.prefix==="fa"||i==="fa")&&(n.prefix=dt()||"fas"),n}var Iu=(function(){function e(){t4(this,e),this.definitions={}}return r4(e,[{key:"add",value:function(){for(var o=this,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];var s=a.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){o.definitions[l]=E(E({},o.definitions[l]||{}),s[l]),jn(l,s[l]);var u=oa[ae][l];u&&jn(u,s[l]),Oc()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(o,n){var a=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(a).map(function(i){var s=a[i],l=s.prefix,u=s.iconName,p=s.icon,h=p[2];o[l]||(o[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(o[l][g]=p)}),o[l][u]=p}),o}}])})(),ms=[],Zt={},Yt={},Tu=Object.keys(Yt);function Pu(e,t){var o=t.mixoutsTo;return ms=e,Zt={},Object.keys(Yt).forEach(function(n){Tu.indexOf(n)===-1&&delete Yt[n]}),ms.forEach(function(n){var a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(function(s){typeof a[s]=="function"&&(o[s]=a[s]),wo(a[s])==="object"&&Object.keys(a[s]).forEach(function(l){o[s]||(o[s]={}),o[s][l]=a[s][l]})}),n.hooks){var i=n.hooks();Object.keys(i).forEach(function(s){Zt[s]||(Zt[s]=[]),Zt[s].push(i[s])})}n.provides&&n.provides(Yt)}),o}function Vn(e,t){for(var o=arguments.length,n=new Array(o>2?o-2:0),a=2;a<o;a++)n[a-2]=arguments[a];var i=Zt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(n))}),t}function _t(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];var a=Zt[e]||[];a.forEach(function(i){i.apply(null,o)})}function ut(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yt[e]?Yt[e].apply(null,t):void 0}function Kn(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,o=e.prefix||dt();if(t)return t=wt(o,t)||t,ds(Nc.definitions,o,t)||ds(ke.styles,o,t)}var Nc=new Iu,Du=function(){_.autoReplaceSvg=!1,_.observeMutations=!1,_t("noAuto")},Uu={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Xe?(_t("beforeI2svg",t),ut("pseudoElements2svg",t),ut("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]:{},o=t.autoReplaceSvgRoot;_.autoReplaceSvg===!1&&(_.autoReplaceSvg=!0),_.observeMutations=!0,xu(function(){$u({autoReplaceSvgRoot:o}),_t("watch",t)})}},Bu={icon:function(t){if(t===null)return null;if(wo(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:wt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var o=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=ko(t[0]);return{prefix:n,iconName:wt(n,o)||o}}if(typeof t=="string"&&(t.indexOf("".concat(_.cssPrefix,"-"))>-1||t.match(au))){var a=Io(t.split(" "),{skipLookups:!0});return{prefix:a.prefix||dt(),iconName:wt(a.prefix,a.iconName)||a.iconName}}if(typeof t=="string"){var i=dt();return{prefix:i,iconName:wt(i,t)||t}}}},ve={noAuto:Du,config:_,dom:Uu,parse:Bu,library:Nc,findIconDefinition:Kn,toHtml:$r},$u=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.autoReplaceSvgRoot,n=o===void 0?H:o;(Object.keys(ke.styles).length>0||_.autoFetchSvg)&&Xe&&_.autoReplaceSvg&&ve.dom.i2svg({node:n})};function To(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return $r(n)})}}),Object.defineProperty(e,"node",{get:function(){if(Xe){var n=H.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Fu(e){var t=e.children,o=e.main,n=e.mask,a=e.attributes,i=e.styles,s=e.transform;if(aa(s)&&o.found&&!n.found){var l=o.width,u=o.height,p={x:l/u/2,y:.5};a.style=Mo(E(E({},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 Gu(e){var t=e.prefix,o=e.iconName,n=e.children,a=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(_.cssPrefix,"-").concat(o):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:E(E({},a),{},{id:s}),children:n}]}]}function Hu(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(o){return o in e})}function ca(e){var t=e.icons,o=t.main,n=t.mask,a=e.prefix,i=e.iconName,s=e.transform,l=e.symbol,u=e.maskId,p=e.extra,h=e.watchable,g=h===void 0?!1:h,y=n.found?n:o,v=y.width,x=y.height,S=[_.replacementClass,i?"".concat(_.cssPrefix,"-").concat(i):""].filter(function($){return p.classes.indexOf($)===-1}).filter(function($){return $!==""||!!$}).concat(p.classes).join(" "),L={children:[],attributes:E(E({},p.attributes),{},{"data-prefix":a,"data-icon":i,class:S,role:p.attributes.role||"img",viewBox:"0 0 ".concat(v," ").concat(x)})};!Hu(p.attributes)&&!p.attributes["aria-hidden"]&&(L.attributes["aria-hidden"]="true"),g&&(L.attributes[Nt]="");var O=E(E({},L),{},{prefix:a,iconName:i,main:o,mask:n,maskId:u,transform:s,symbol:l,styles:E({},p.styles)}),N=n.found&&o.found?ut("generateAbstractMask",O)||{children:[],attributes:{}}:ut("generateAbstractIcon",O)||{children:[],attributes:{}},z=N.children,I=N.attributes;return O.children=z,O.attributes=I,l?Gu(O):Fu(O)}function hs(e){var t=e.content,o=e.width,n=e.height,a=e.transform,i=e.extra,s=e.watchable,l=s===void 0?!1:s,u=E(E({},i.attributes),{},{class:i.classes.join(" ")});l&&(u[Nt]="");var p=E({},i.styles);aa(a)&&(p.transform=yu({transform:a,startCentered:!0,width:o,height:n}),p["-webkit-transform"]=p.transform);var h=Mo(p);h.length>0&&(u.style=h);var g=[];return g.push({tag:"span",attributes:u,children:[t]}),g}function Wu(e){var t=e.content,o=e.extra,n=E(E({},o.attributes),{},{class:o.classes.join(" ")}),a=Mo(o.styles);a.length>0&&(n.style=a);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}var Pn=ke.styles;function qn(e){var t=e[0],o=e[1],n=e.slice(4),a=zo(n,1),i=a[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(_.cssPrefix,"-").concat(kn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_.cssPrefix,"-").concat(kn.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(_.cssPrefix,"-").concat(kn.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:o,icon:s}}var ju={found:!1,width:512,height:512};function Vu(e,t){!uc&&!_.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Zn(e,t){var o=t;return t==="fa"&&_.styleDefault!==null&&(t=dt()),new Promise(function(n,a){if(o==="fa"){var i=Rc(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Pn[t]&&Pn[t][e]){var s=Pn[t][e];return n(qn(s))}Vu(e,t),n(E(E({},ju),{},{icon:_.showMissingIcons&&e?ut("missingIconAbstract")||{}:{}}))})}var gs=function(){},Yn=_.measurePerformance&&So&&So.mark&&So.measure?So:{mark:gs,measure:gs},Ir='FA "7.3.1"',Ku=function(t){return Yn.mark("".concat(Ir," ").concat(t," begins")),function(){return _c(t)}},_c=function(t){Yn.mark("".concat(Ir," ").concat(t," ends")),Yn.measure("".concat(Ir," ").concat(t),"".concat(Ir," ").concat(t," begins"),"".concat(Ir," ").concat(t," ends"))},la={begin:Ku,end:_c},Oo=function(){};function ys(e){var t=e.getAttribute?e.getAttribute(Nt):null;return typeof t=="string"}function qu(e){var t=e.getAttribute?e.getAttribute(ta):null,o=e.getAttribute?e.getAttribute(ra):null;return t&&o}function Zu(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(_.replacementClass)}function Yu(){if(_.autoReplaceSvg===!0)return Ro.replace;var e=Ro[_.autoReplaceSvg];return e||Ro.replace}function Xu(e){return H.createElementNS("http://www.w3.org/2000/svg",e)}function Qu(e){return H.createElement(e)}function zc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=t.ceFn,n=o===void 0?e.tag==="svg"?Xu:Qu:o;if(typeof e=="string")return H.createTextNode(e);var a=n(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(zc(s,{ceFn:n}))}),a}function Ju(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ro={replace:function(t){var o=t[0];if(o.parentNode)if(t[1].forEach(function(a){o.parentNode.insertBefore(zc(a),o)}),o.getAttribute(Nt)===null&&_.keepOriginalSource){var n=H.createComment(Ju(o));o.parentNode.replaceChild(n,o)}else o.remove()},nest:function(t){var o=t[0],n=t[1];if(~na(o).indexOf(_.replacementClass))return Ro.replace(t);var a=new RegExp("".concat(_.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(l,u){return u===_.replacementClass||u.match(a)?l.toSvg.push(u):l.toNode.push(u),l},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?o.removeAttribute("class"):o.setAttribute("class",i.toNode.join(" "))}var s=n.map(function(l){return $r(l)}).join(`
|
|
1142
1142
|
`);o.setAttribute(Nt,""),o.innerHTML=s}};function bs(e){e()}function Mc(e,t){var o=typeof t=="function"?t:Oo;if(e.length===0)o();else{var n=bs;_.mutateApproach===ru&&(n=lt.requestAnimationFrame||bs),n(function(){var a=Yu(),i=la.begin("mutate");e.map(a),i(),o()})}}var da=!1;function kc(){da=!0}function Xn(){da=!1}var _o=null;function vs(e){if(rs&&_.observeMutations){var t=e.treeCallback,o=t===void 0?Oo:t,n=e.nodeCallback,a=n===void 0?Oo:n,i=e.pseudoElementsCallback,s=i===void 0?Oo:i,l=e.observeMutationsRoot,u=l===void 0?H:l;_o=new rs(function(p){if(!da){var h=dt();Qt(p).forEach(function(g){if(g.type==="childList"&&g.addedNodes.length>0&&!ys(g.addedNodes[0])&&(_.searchPseudoElements&&s(g.target),o(g.target)),g.type==="attributes"&&g.target.parentNode&&_.searchPseudoElements&&s([g.target],!0),g.type==="attributes"&&ys(g.target)&&~cu.indexOf(g.attributeName))if(g.attributeName==="class"&&qu(g.target)){var y=Io(na(g.target)),v=y.prefix,x=y.iconName;g.target.setAttribute(ta,v||h),x&&g.target.setAttribute(ra,x)}else Zu(g.target)&&a(g.target)})}}),Xe&&_o.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ef(){_o&&_o.disconnect()}function tf(e){var t=e.getAttribute("style"),o=[];return t&&(o=t.split(";").reduce(function(n,a){var i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(n[s]=l.join(":").trim()),n},{})),o}function rf(e){var t=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Io(na(e));return a.prefix||(a.prefix=dt()),t&&o&&(a.prefix=t,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=Ou(a.prefix,e.innerText)||sa(a.prefix,vc(e.innerText))),!a.iconName&&_.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function of(e){var t=Qt(e.attributes).reduce(function(o,n){return o.name!=="class"&&o.name!=="style"&&(o[n.name]=n.value),o},{});return t}function nf(){return{iconName:null,prefix:null,transform:He,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function xs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},o=rf(e),n=o.iconName,a=o.prefix,i=o.rest,s=of(e),l=Vn("parseNodeAttributes",{},e),u=t.styleParser?tf(e):[];return E({iconName:n,prefix:a,transform:He,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:s}},l)}var af=ke.styles;function Ic(e){var t=_.autoReplaceSvg==="nest"?xs(e,{styleParser:!1}):xs(e);return~t.extra.classes.indexOf(pc)?ut("generateLayersText",e,t):ut("generateSvgReplacementMutation",e,t)}function sf(){return[].concat(Ie(ac),Ie(ic))}function Ss(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Xe)return Promise.resolve();var o=H.documentElement.classList,n=function(g){return o.add("".concat(as,"-").concat(g))},a=function(g){return o.remove("".concat(as,"-").concat(g))},i=_.autoFetchSvg?sf():Ts.concat(Object.keys(af));i.includes("fa")||i.push("fa");var s=[".".concat(pc,":not([").concat(Nt,"])")].concat(i.map(function(h){return".".concat(h,":not([").concat(Nt,"])")})).join(", ");if(s.length===0)return Promise.resolve();var l=[];try{l=Qt(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();var u=la.begin("onTree"),p=l.reduce(function(h,g){try{var y=Ic(g);y&&h.push(y)}catch(v){uc||v.name==="MissingIcon"&&console.error(v)}return h},[]);return new Promise(function(h,g){Promise.all(p).then(function(y){Mc(y,function(){n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),u(),h()})}).catch(function(y){u(),g(y)})})}function cf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ic(e).then(function(o){o&&Mc([o],t)})}function lf(e){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Kn(t||{}),a=o.mask;return a&&(a=(a||{}).icon?a:Kn(a||{})),e(n,E(E({},o),{},{mask:a}))}}var df=function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=o.transform,a=n===void 0?He:n,i=o.symbol,s=i===void 0?!1:i,l=o.mask,u=l===void 0?null:l,p=o.maskId,h=p===void 0?null:p,g=o.classes,y=g===void 0?[]:g,v=o.attributes,x=v===void 0?{}:v,S=o.styles,L=S===void 0?{}:S;if(t){var O=t.prefix,N=t.iconName,z=t.icon;return To(E({type:"icon"},t),function(){return _t("beforeDOMElementCreation",{iconDefinition:t,params:o}),ca({icons:{main:qn(z),mask:u?qn(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:N,transform:E(E({},He),a),symbol:s,maskId:h,extra:{attributes:x,styles:L,classes:y}})})}},uf={mixout:function(){return{icon:lf(df)}},hooks:function(){return{mutationObserverCallbacks:function(o){return o.treeCallback=Ss,o.nodeCallback=cf,o}}},provides:function(t){t.i2svg=function(o){var n=o.node,a=n===void 0?H:n,i=o.callback,s=i===void 0?function(){}:i;return Ss(a,s)},t.generateSvgReplacementMutation=function(o,n){var a=n.iconName,i=n.prefix,s=n.transform,l=n.symbol,u=n.mask,p=n.maskId,h=n.extra;return new Promise(function(g,y){Promise.all([Zn(a,i),u.iconName?Zn(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(v){var x=zo(v,2),S=x[0],L=x[1];g([o,ca({icons:{main:S,mask:L},prefix:i,iconName:a,transform:s,symbol:l,maskId:p,extra:h,watchable:!0})])}).catch(y)})},t.generateAbstractIcon=function(o){var n=o.children,a=o.attributes,i=o.main,s=o.transform,l=o.styles,u=Mo(l);u.length>0&&(a.style=u);var p;return aa(s)&&(p=ut("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(p||i.icon),{children:n,attributes:a}}}},ff={mixout:function(){return{layer:function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.classes,i=a===void 0?[]:a;return To({type:"layer"},function(){_t("beforeDOMElementCreation",{assembler:o,params:n});var s=[];return o(function(l){Array.isArray(l)?l.map(function(u){s=s.concat(u.abstract)}):s=s.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(_.cssPrefix,"-layers")].concat(Ie(i)).join(" ")},children:s}]})}}}},pf={mixout:function(){return{counter:function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.title,i=a===void 0?null:a,s=n.classes,l=s===void 0?[]:s,u=n.attributes,p=u===void 0?{}:u,h=n.styles,g=h===void 0?{}:h;return To({type:"counter",content:o},function(){return _t("beforeDOMElementCreation",{content:o,params:n}),Wu({content:o.toString(),title:i,extra:{attributes:p,styles:g,classes:["".concat(_.cssPrefix,"-layers-counter")].concat(Ie(l))}})})}}}},mf={mixout:function(){return{text:function(o){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.transform,i=a===void 0?He:a,s=n.classes,l=s===void 0?[]:s,u=n.attributes,p=u===void 0?{}:u,h=n.styles,g=h===void 0?{}:h;return To({type:"text",content:o},function(){return _t("beforeDOMElementCreation",{content:o,params:n}),hs({content:o,transform:E(E({},He),i),extra:{attributes:p,styles:g,classes:["".concat(_.cssPrefix,"-layers-text")].concat(Ie(l))}})})}}},provides:function(t){t.generateLayersText=function(o,n){var a=n.transform,i=n.extra,s=null,l=null;if(ks){var u=parseInt(getComputedStyle(o).fontSize,10),p=o.getBoundingClientRect();s=p.width/u,l=p.height/u}return Promise.resolve([o,hs({content:o.innerHTML,width:s,height:l,transform:a,extra:i,watchable:!0})])}}},Tc=new RegExp('"',"ug"),Cs=[1105920,1112319],Es=E(E(E(E({},{FontAwesome:{normal:"fas",400:"fas"}}),D4),eu),V4),Qn=Object.keys(Es).reduce(function(e,t){return e[t.toLowerCase()]=Es[t],e},{}),hf=Object.keys(Qn).reduce(function(e,t){var o=Qn[t];return e[t]=o[900]||Ie(Object.entries(o))[0][1],e},{});function gf(e){var t=e.replace(Tc,"");return vc(Ie(t)[0]||"")}function yf(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),o=e.getPropertyValue("content"),n=o.replace(Tc,""),a=n.codePointAt(0),i=a>=Cs[0]&&a<=Cs[1],s=n.length===2?n[0]===n[1]:!1;return i||s||t}function bf(e,t){var o=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Qn[o]||{})[a]||hf[o]}function As(e,t){var o="".concat(tu).concat(t.replace(":","-"));return new Promise(function(n,a){if(e.getAttribute(o)!==null)return n();var i=Qt(e.children),s=i.filter(function(V){return V.getAttribute(Fn)===t})[0],l=lt.getComputedStyle(e,t),u=l.getPropertyValue("font-family"),p=u.match(iu),h=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!p)return e.removeChild(s),n();if(p&&g!=="none"&&g!==""){var y=l.getPropertyValue("content"),v=bf(u,h),x=gf(y),S=p[0].startsWith("FontAwesome"),L=yf(l),O=sa(v,x),N=O;if(S){var z=Ru(x);z.iconName&&z.prefix&&(O=z.iconName,v=z.prefix)}if(O&&!L&&(!s||s.getAttribute(ta)!==v||s.getAttribute(ra)!==N)){e.setAttribute(o,N),s&&e.removeChild(s);var I=nf(),$=I.extra;$.attributes[Fn]=t,Zn(O,v).then(function(V){var $e=ca(E(E({},I),{},{icons:{main:V,mask:wc()},prefix:v,iconName:N,extra:$,watchable:!0})),Lt=H.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Lt,e.firstChild):e.appendChild(Lt),Lt.outerHTML=$e.map(function(Fe){return $r(Fe)}).join(`
|
|
1143
1143
|
`),e.removeAttribute(o),n()}).catch(a)}else n()}else n()})}function vf(e){return Promise.all([As(e,"::before"),As(e,"::after")])}function xf(e){return e.parentNode!==document.head&&!~ou.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Fn)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var Sf=function(t){return!!t&&dc.some(function(o){return t.includes(o)})},Cf=function(t){if(!t)return[];var o=new Set,n=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});n=n.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(p){return p.trim()})});var a=Lo(n),i;try{for(a.s();!(i=a.n()).done;){var s=i.value;if(Sf(s)){var l=dc.reduce(function(u,p){return u.replace(p,"")},s);l!==""&&l!=="*"&&o.add(l)}}}catch(u){a.e(u)}finally{a.f()}return o};function Ls(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Xe){var o;if(t)o=e;else if(_.searchPseudoElementsFullScan)o=e.querySelectorAll("*");else{var n=new Set,a=Lo(document.styleSheets),i;try{for(a.s();!(i=a.n()).done;){var s=i.value;try{var l=Lo(s.cssRules),u;try{for(l.s();!(u=l.n()).done;){var p=u.value,h=Cf(p.selectorText),g=Lo(h),y;try{for(g.s();!(y=g.n()).done;){var v=y.value;n.add(v)}}catch(S){g.e(S)}finally{g.f()}}}catch(S){l.e(S)}finally{l.f()}}catch(S){_.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(S.message,`)
|
|
1144
|
-
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(!n.size)return;var x=Array.from(n).join(", ");try{o=e.querySelectorAll(x)}catch{}}return new Promise(function(S,L){var O=Qt(o).filter(xf).map(vf),N=la.begin("searchPseudoElements");kc(),Promise.all(O).then(function(){N(),Xn(),S()}).catch(function(){N(),Xn(),L()})})}}var Ef={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=Ls,o}}},provides:function(t){t.pseudoElements2svg=function(o){var n=o.node,a=n===void 0?H:n;_.searchPseudoElements&&Ls(a)}}},Os=!1,Af={mixout:function(){return{dom:{unwatch:function(){kc(),Os=!0}}}},hooks:function(){return{bootstrap:function(){vs(Vn("mutationObserverCallbacks",{}))},noAuto:function(){ef()},watch:function(o){var n=o.observeMutationsRoot;Os?Xn():vs(Vn("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Rs=function(t){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,a){var i=a.toLowerCase().split("-"),s=i[0],l=i.slice(1).join("-");if(s&&l==="h")return n.flipX=!0,n;if(s&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(s){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},o)},Lf={mixout:function(){return{parse:{transform:function(o){return Rs(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,n){var a=n.getAttribute("data-fa-transform");return a&&(o.transform=Rs(a)),o}}},provides:function(t){t.generateAbstractTransformGrouping=function(o){var n=o.main,a=o.transform,i=o.containerWidth,s=o.iconWidth,l={transform:"translate(".concat(i/2," 256)")},u="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(u," ").concat(p," ").concat(h)},y={transform:"translate(".concat(s/2*-1," -256)")},v={outer:l,inner:g,path:y};return{tag:"g",attributes:E({},v.outer),children:[{tag:"g",attributes:E({},v.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:E(E({},n.icon.attributes),v.path)}]}]}}}},Dn={x:0,y:0,width:"100%",height:"100%"};function ws(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 Of(e){return e.tag==="g"?e.children:[e]}var Rf={hooks:function(){return{parseNodeAttributes:function(o,n){var a=n.getAttribute("data-fa-mask"),i=a?Io(a.split(" ").map(function(s){return s.trim()})):wc();return i.prefix||(i.prefix=dt()),o.mask=i,o.maskId=n.getAttribute("data-fa-mask-id"),o}}},provides:function(t){t.generateAbstractMask=function(o){var n=o.children,a=o.attributes,i=o.main,s=o.mask,l=o.maskId,u=o.transform,p=i.width,h=i.icon,g=s.width,y=s.icon,v=gu({transform:u,containerWidth:g,iconWidth:p}),x={tag:"rect",attributes:E(E({},Dn),{},{fill:"white"})},S=h.children?{children:h.children.map(ws)}:{},L={tag:"g",attributes:E({},v.inner),children:[ws(E({tag:h.tag,attributes:E(E({},h.attributes),v.path)},S))]},O={tag:"g",attributes:E({},v.outer),children:[L]},N="mask-".concat(l||cs()),z="clip-".concat(l||cs()),I={tag:"mask",attributes:E(E({},Dn),{},{id:N,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,O]},$={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:Of(y)},I]};return n.push($,{tag:"rect",attributes:E({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(N,")")},Dn)}),{children:n,attributes:a}}}},wf={provides:function(t){var o=!1;lt.matchMedia&&(o=lt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:E(E({},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=E(E({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:E(E({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||l.children.push({tag:"animate",attributes:E(E({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:E(E({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(l),n.push({tag:"path",attributes:E(E({},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:o?[]:[{tag:"animate",attributes:E(E({},s),{},{values:"1;0;0;0;0;1;"})}]}),o||n.push({tag:"path",attributes:E(E({},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:E(E({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Nf={hooks:function(){return{parseNodeAttributes:function(o,n){var a=n.getAttribute("data-fa-symbol"),i=a===null?!1:a===""?!0:a;return o.symbol=i,o}}}},_f=[vu,uf,ff,pf,mf,Ef,Af,Lf,Rf,wf,Nf];Pu(_f,{mixoutsTo:be});var hh=be.noAuto,gh=be.config,Pc=be.library,yh=be.dom,bh=be.parse,vh=be.findIconDefinition,xh=be.toHtml,Dc=be.icon,Sh=be.layer,Ch=be.text,Eh=be.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 Oh={[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]},Uc={[f.regular]:"far",[f.solid]:"fas",[f.custom]:"fak"};var Po=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},pe=class extends $c.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return Bc.html`
|
|
1144
|
+
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(!n.size)return;var x=Array.from(n).join(", ");try{o=e.querySelectorAll(x)}catch{}}return new Promise(function(S,L){var O=Qt(o).filter(xf).map(vf),N=la.begin("searchPseudoElements");kc(),Promise.all(O).then(function(){N(),Xn(),S()}).catch(function(){N(),Xn(),L()})})}}var Ef={hooks:function(){return{mutationObserverCallbacks:function(o){return o.pseudoElementsCallback=Ls,o}}},provides:function(t){t.pseudoElements2svg=function(o){var n=o.node,a=n===void 0?H:n;_.searchPseudoElements&&Ls(a)}}},Os=!1,Af={mixout:function(){return{dom:{unwatch:function(){kc(),Os=!0}}}},hooks:function(){return{bootstrap:function(){vs(Vn("mutationObserverCallbacks",{}))},noAuto:function(){ef()},watch:function(o){var n=o.observeMutationsRoot;Os?Xn():vs(Vn("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Rs=function(t){var o={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,a){var i=a.toLowerCase().split("-"),s=i[0],l=i.slice(1).join("-");if(s&&l==="h")return n.flipX=!0,n;if(s&&l==="v")return n.flipY=!0,n;if(l=parseFloat(l),isNaN(l))return n;switch(s){case"grow":n.size=n.size+l;break;case"shrink":n.size=n.size-l;break;case"left":n.x=n.x-l;break;case"right":n.x=n.x+l;break;case"up":n.y=n.y-l;break;case"down":n.y=n.y+l;break;case"rotate":n.rotate=n.rotate+l;break}return n},o)},Lf={mixout:function(){return{parse:{transform:function(o){return Rs(o)}}}},hooks:function(){return{parseNodeAttributes:function(o,n){var a=n.getAttribute("data-fa-transform");return a&&(o.transform=Rs(a)),o}}},provides:function(t){t.generateAbstractTransformGrouping=function(o){var n=o.main,a=o.transform,i=o.containerWidth,s=o.iconWidth,l={transform:"translate(".concat(i/2," 256)")},u="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(u," ").concat(p," ").concat(h)},y={transform:"translate(".concat(s/2*-1," -256)")},v={outer:l,inner:g,path:y};return{tag:"g",attributes:E({},v.outer),children:[{tag:"g",attributes:E({},v.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:E(E({},n.icon.attributes),v.path)}]}]}}}},Dn={x:0,y:0,width:"100%",height:"100%"};function ws(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 Of(e){return e.tag==="g"?e.children:[e]}var Rf={hooks:function(){return{parseNodeAttributes:function(o,n){var a=n.getAttribute("data-fa-mask"),i=a?Io(a.split(" ").map(function(s){return s.trim()})):wc();return i.prefix||(i.prefix=dt()),o.mask=i,o.maskId=n.getAttribute("data-fa-mask-id"),o}}},provides:function(t){t.generateAbstractMask=function(o){var n=o.children,a=o.attributes,i=o.main,s=o.mask,l=o.maskId,u=o.transform,p=i.width,h=i.icon,g=s.width,y=s.icon,v=gu({transform:u,containerWidth:g,iconWidth:p}),x={tag:"rect",attributes:E(E({},Dn),{},{fill:"white"})},S=h.children?{children:h.children.map(ws)}:{},L={tag:"g",attributes:E({},v.inner),children:[ws(E({tag:h.tag,attributes:E(E({},h.attributes),v.path)},S))]},O={tag:"g",attributes:E({},v.outer),children:[L]},N="mask-".concat(l||cs()),z="clip-".concat(l||cs()),I={tag:"mask",attributes:E(E({},Dn),{},{id:N,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,O]},$={tag:"defs",children:[{tag:"clipPath",attributes:{id:z},children:Of(y)},I]};return n.push($,{tag:"rect",attributes:E({fill:"currentColor","clip-path":"url(#".concat(z,")"),mask:"url(#".concat(N,")")},Dn)}),{children:n,attributes:a}}}},wf={provides:function(t){var o=!1;lt.matchMedia&&(o=lt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:E(E({},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=E(E({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:E(E({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return o||l.children.push({tag:"animate",attributes:E(E({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:E(E({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(l),n.push({tag:"path",attributes:E(E({},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:o?[]:[{tag:"animate",attributes:E(E({},s),{},{values:"1;0;0;0;0;1;"})}]}),o||n.push({tag:"path",attributes:E(E({},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:E(E({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Nf={hooks:function(){return{parseNodeAttributes:function(o,n){var a=n.getAttribute("data-fa-symbol"),i=a===null?!1:a===""?!0:a;return o.symbol=i,o}}}},_f=[vu,uf,ff,pf,mf,Ef,Af,Lf,Rf,wf,Nf];Pu(_f,{mixoutsTo:ve});var hh=ve.noAuto,gh=ve.config,Pc=ve.library,yh=ve.dom,bh=ve.parse,vh=ve.findIconDefinition,xh=ve.toHtml,Dc=ve.icon,Sh=ve.layer,Ch=ve.text,Eh=ve.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 Oh={[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]},Uc={[f.regular]:"far",[f.solid]:"fas",[f.custom]:"fak"};var Po=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},pe=class extends $c.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return Bc.html`
|
|
1145
1145
|
<div class="${(0,Gc.classMap)(t)}">${(0,Fc.unsafeHTML)(this.buildIcon())}</div>
|
|
1146
1146
|
`}buildIcon(){let t=this.variant?Uc[this.variant]:void 0,o=Yi.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return o?(Pc.add(o),Dc(o).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};pe.elementDefinitions={};pe.styles=Vi;Po([(0,Fr.property)()],pe.prototype,"variant",void 0);Po([(0,Fr.property)()],pe.prototype,"icon",void 0);Po([(0,Fr.property)({type:Boolean})],pe.prototype,"monospace",void 0);Po([(0,Fr.property)({reflect:!0,attribute:"aria-hidden"})],pe.prototype,"ariaHidden",void 0);var Wc=C(T());var Hc={"ftds-icon":pe};(0,Wc.customElements)(Hc);var el=C(F()),A=C(T());var Yc=C(F()),te=C(T()),jc=te.FtCssVariableFactory.extend("--ft-ripple-color","",te.designSystemVariables.colorContent),R={color:jc,backgroundColor:te.FtCssVariableFactory.extend("--ft-ripple-background-color","",jc),opacityContentOnSurfacePressed:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:te.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Vc=te.FtCssVariableFactory.extend("--ft-ripple-color","",te.designSystemVariables.colorPrimary),Kc={color:Vc,backgroundColor:te.FtCssVariableFactory.extend("--ft-ripple-background-color","",Vc)},qc=te.FtCssVariableFactory.extend("--ft-ripple-color","",te.designSystemVariables.colorSecondary),Zc={color:qc,backgroundColor:te.FtCssVariableFactory.extend("--ft-ripple-background-color","",qc)},Xc=Yc.css`
|
|
1147
1147
|
:host {
|
|
@@ -1801,7 +1801,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1801
1801
|
<div></div>
|
|
1802
1802
|
<div></div>
|
|
1803
1803
|
</div>
|
|
1804
|
-
`}};zt.styles=Jc;var al=C(T());var nl={"ft-loader":zt};(0,al.customElements)(nl);var il=C(F()),ie=C(ne()),sl=C(Rt()),Hr=C(T());var me=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},
|
|
1804
|
+
`}};zt.styles=Jc;var al=C(T());var nl={"ft-loader":zt};(0,al.customElements)(nl);var il=C(F()),ie=C(ne()),sl=C(Rt()),Hr=C(T());var me=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Y=class extends Hr.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 Hr.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 Hr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:i}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{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 il.html`
|
|
1805
1805
|
<style>
|
|
1806
1806
|
.ft-ripple .ft-ripple--effect {
|
|
1807
1807
|
left: ${this.originX}px;
|
|
@@ -1812,7 +1812,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1812
1812
|
<div class="ft-ripple--background"></div>
|
|
1813
1813
|
<div class="ft-ripple--effect"></div>
|
|
1814
1814
|
</div>
|
|
1815
|
-
`}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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 o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("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",n,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",n,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 o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};
|
|
1815
|
+
`}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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 o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("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",n,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",n,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 o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=Xc;me([(0,ie.property)({type:Boolean})],Y.prototype,"primary",void 0);me([(0,ie.property)({type:Boolean})],Y.prototype,"secondary",void 0);me([(0,ie.property)({type:Boolean})],Y.prototype,"unbounded",void 0);me([(0,ie.property)({type:Boolean})],Y.prototype,"activated",void 0);me([(0,ie.property)({type:Boolean})],Y.prototype,"selected",void 0);me([(0,ie.property)({type:Boolean})],Y.prototype,"disabled",void 0);me([(0,ie.state)()],Y.prototype,"hovered",void 0);me([(0,ie.state)()],Y.prototype,"focused",void 0);me([(0,ie.state)()],Y.prototype,"pressed",void 0);me([(0,ie.state)()],Y.prototype,"rippling",void 0);me([(0,ie.state)()],Y.prototype,"originX",void 0);me([(0,ie.state)()],Y.prototype,"originY",void 0);me([(0,ie.query)(".ft-ripple")],Y.prototype,"ripple",void 0);me([(0,ie.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);var ll=C(T());var cl={"ft-ripple":Y};(0,ll.customElements)(cl);var S0=C(F()),Ne=C(ne()),we=C(T());var ba=globalThis,dl=e=>e,Do=ba.trustedTypes,ul=Do?Do.createPolicy("lit-html",{createHTML:e=>e}):void 0,yl="$lit$",ft=`lit$${Math.random().toFixed(9).slice(2)}$`,bl="?"+ft,zf=`<${bl}>`,It=document,Uo=()=>It.createComment(""),jr=e=>e===null||typeof e!="object"&&typeof e!="function",va=Array.isArray,Mf=e=>va(e)||typeof e?.[Symbol.iterator]=="function",fa=`[
|
|
1816
1816
|
\f\r]`,Wr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fl=/-->/g,pl=/>/g,Mt=RegExp(`>|${fa}(?:([^\\s"'>=/]+)(${fa}*=${fa}*(?:[^
|
|
1817
1817
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),ml=/'/g,hl=/"/g,vl=/^(?:script|style|textarea|title)$/i,xa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),xl=xa(1),Sl=xa(2),Cl=xa(3),Vr=Symbol.for("lit-noChange"),re=Symbol.for("lit-nothing"),gl=new WeakMap,kt=It.createTreeWalker(It,129);function El(e,t){if(!va(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ul!==void 0?ul.createHTML(t):t}var kf=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=Wr;for(let l=0;l<o;l++){let u=e[l],p,h,g=-1,y=0;for(;y<u.length&&(s.lastIndex=y,h=s.exec(u),h!==null);)y=s.lastIndex,s===Wr?h[1]==="!--"?s=fl:h[1]!==void 0?s=pl:h[2]!==void 0?(vl.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Mt):h[3]!==void 0&&(s=Mt):s===Mt?h[0]===">"?(s=a??Wr,g=-1):h[1]===void 0?g=-2:(g=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Mt:h[3]==='"'?hl:ml):s===hl||s===ml?s=Mt:s===fl||s===pl?s=Wr:(s=Mt,a=void 0);let v=s===Mt&&e[l+1].startsWith("/>")?" ":"";i+=s===Wr?u+zf:g>=0?(n.push(p),u.slice(0,g)+yl+u.slice(g)+ft+v):u+ft+(g===-2?l:v)}return[El(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Kr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,u=this.parts,[p,h]=kf(t,o);if(this.el=e.createElement(p,n),kt.currentNode=this.el.content,o===2||o===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=kt.nextNode())!==null&&u.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(yl)){let y=h[s++],v=a.getAttribute(g).split(ft),x=/([.?@])?(.*)/.exec(y);u.push({type:1,index:i,name:x[2],strings:v,ctor:x[1]==="."?ma:x[1]==="?"?ha:x[1]==="@"?ga:er}),a.removeAttribute(g)}else g.startsWith(ft)&&(u.push({type:6,index:i}),a.removeAttribute(g));if(vl.test(a.tagName)){let g=a.textContent.split(ft),y=g.length-1;if(y>0){a.textContent=Do?Do.emptyScript:"";for(let v=0;v<y;v++)a.append(g[v],Uo()),kt.nextNode(),u.push({type:2,index:++i});a.append(g[y],Uo())}}}else if(a.nodeType===8)if(a.data===bl)u.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(ft,g+1))!==-1;)u.push({type:7,index:i}),g+=ft.length-1}i++}}static createElement(t,o){let n=It.createElement("template");return n.innerHTML=t,n}};function Jt(e,t,o=e,n){if(t===Vr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=jr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Jt(e,a._$AS(e,t.values),a,n)),t}var pa=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??It).importNode(o,!0);kt.currentNode=a;let i=kt.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Bo(i,i.nextSibling,this,t):u.type===1?p=new u.ctor(i,u.name,u.strings,this,t):u.type===6&&(p=new ya(i,this,t)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(i=kt.nextNode(),s++)}return kt.currentNode=It,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Bo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=re,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Jt(this,t,o),jr(t)?t===re||t==null||t===""?(this._$AH!==re&&this._$AR(),this._$AH=re):t!==this._$AH&&t!==Vr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Mf(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==re&&jr(this._$AH)?this._$AA.nextSibling.data=t:this.T(It.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Kr.createElement(El(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new pa(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(t){let o=gl.get(t.strings);return o===void 0&&gl.set(t.strings,o=new Kr(t)),o}k(t){va(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Uo()),this.O(Uo()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=dl(t).nextSibling;dl(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},er=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=re,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=re}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Jt(this,t,o,0),s=!jr(t)||t!==this._$AH&&t!==Vr,s&&(this._$AH=t);else{let l=t,u,p;for(t=i[0],u=0;u<i.length-1;u++)p=Jt(this,l[n+u],o,u),p===Vr&&(p=this._$AH[u]),s||=!jr(p)||p!==this._$AH[u],p===re?t=re:t!==re&&(t+=(p??"")+i[u+1]),this._$AH[u]=p}s&&!a&&this.j(t)}j(t){t===re?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ma=class extends er{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===re?void 0:t}},ha=class extends er{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==re)}},ga=class extends er{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Jt(this,t,o,0)??re)===Vr)return;let n=this._$AH,a=t===re&&n!==re||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==re&&(n===re||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ya=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Jt(this,t)}};var If=ba.litHtmlPolyfillSupport;If?.(Kr,Bo),(ba.litHtmlVersions??=[]).push("3.3.3");var Ll=Symbol.for(""),Tf=e=>{if(e?.r===Ll)return e?._$litStatic$},tr=e=>({_$litStatic$:e,r:Ll});var Al=new Map,Sa=e=>(t,...o)=>{let n=o.length,a,i,s=[],l=[],u,p=0,h=!1;for(;p<n;){for(u=t[p];p<n&&(i=o[p],(a=Tf(i))!==void 0);)u+=a+t[++p],h=!0;p!==n&&l.push(i),s.push(u),p++}if(p===n&&s.push(t[n]),h){let g=s.join("$$lit$$");(t=Al.get(g))===void 0&&(s.raw=s,Al.set(g,t=s)),o=l}return e(t,...o)},rr=Sa(xl),y5=Sa(Sl),b5=Sa(Cl);var Ca=C(ne()),Bl=C(T());var or;(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"})(or||(or={}));var Ae=C(F()),w=C(T()),Ol=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),Qe=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),k={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")},nr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ol),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},ar={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ol),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},ir={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},sr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},cr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},lr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},dr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},ur={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},fr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},pr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},Rl=Ae.css`
|
|
1818
1818
|
.ft-typography--title {
|
|
@@ -1948,10 +1948,10 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1948
1948
|
position: relative;
|
|
1949
1949
|
word-break: break-word;
|
|
1950
1950
|
}
|
|
1951
|
-
`;var jl=["top","right","bottom","left"],Wl=["start","end"],Aa=jl.reduce((e,t)=>e.concat(t,t+"-"+Wl[0],t+"-"+Wl[1]),[]),Zr=Math.min,mt=Math.max,Yr=Math.round;var We=e=>({x:e,y:e}),Pf={left:"right",right:"left",bottom:"top",top:"bottom"};function Vl(e,t,o){return mt(e,Zr(t,o))}function $o(e,t){return typeof e=="function"?e(t):e}function Xr(e){return e.split("-")[0]}function ht(e){return e.split("-")[1]}function La(e){return e==="x"?"y":"x"}function Oa(e){return e==="y"?"height":"width"}function Fo(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Ra(e){return La(Fo(e))}function Kl(e,t,o){o===void 0&&(o=!1);let n=ht(e),a=Ra(e),i=Oa(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ea(s)),[s,Ea(s)]}function ql(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Ea(e){let t=Xr(e);return Pf[t]+e.slice(t.length)}function Df(e){var t,o,n,a;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function Zl(e){return typeof e!="number"?Df(e):{top:e,right:e,bottom:e,left:e}}function Tt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function Yl(e,t,o){let{reference:n,floating:a}=e,i=Fo(t),s=Ra(t),l=Oa(s),u=Xr(t),p=i==="y",h=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,v;switch(u){case"top":v={x:h,y:n.y-a.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-a.width,y:g};break;default:v={x:n.x,y:n.y}}let x=ht(t);return x&&(v[s]+=y*(x==="end"?1:-1)*(o&&p?-1:1)),v}async function Xl(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=$o(t,e),x=Zl(v),L=l[y?g==="floating"?"reference":"floating":g],O=Tt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(L)))==null||o?L:L.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,z=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(z))&&await(i.getScale==null?void 0:i.getScale(z))||{x:1,y:1},$=Tt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:z,strategy:u}):N);return{top:(O.top-$.top+x.top)/I.y,bottom:($.bottom-O.bottom+x.bottom)/I.y,left:(O.left-$.left+x.left)/I.x,right:($.right-O.right+x.right)/I.x}}var Uf=50,Ql=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:Xl},u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:g}=Yl(p,n,u),y=n,v=0,x={};for(let S=0;S<i.length;S++){let L=i[S];if(!L)continue;let{name:O,fn:N}=L,{x:z,y:I,data:$,reset:V}=await N({x:h,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:e,floating:t}});h=z??h,g=I??g,x[O]={...x[O],...$},V&&v<Uf&&(v++,typeof V=="object"&&(V.placement&&(y=V.placement),V.rects&&(p=V.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):V.rects),{x:h,y:g}=Yl(p,y,u)),S=-1)}return{x:h,y:g,placement:y,strategy:a,middlewareData:x}};function Bf(e,t,o){return(e?[...o.filter(a=>ht(a)===e),...o.filter(a=>ht(a)!==e)]:o.filter(a=>Xr(a)===a)).filter(a=>e?ht(a)===e||(t?ql(a)!==a:!1):!0)}var Jl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=Aa,autoAlignment:v=!0,...x}=$o(e,t),S=g!==void 0||y===Aa?Bf(g||null,v,y):y,L=((o=s.autoPlacement)==null?void 0:o.index)||0,O=S[L];if(O==null)return{};if(l!==O)return{reset:{placement:S[0]}};let N=await u.detectOverflow(t,x),z=Kl(O,i,await(u.isRTL==null?void 0:u.isRTL(p.floating))),I=[N[Xr(O)],N[z[0]],N[z[1]]],$=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:O,overflows:I}],V=S[L+1];if(V)return{data:{index:L+1,overflows:$},reset:{placement:V}};let $e=$.map(ge=>{let Ce=ht(ge.placement);return[ge.placement,Ce&&h?ge.overflows.slice(0,2).reduce((ye,Ot)=>ye+Ot,0):ge.overflows[0],ge.overflows]}).sort((ge,Ce)=>ge[1]-Ce[1]),Fe=((a=$e.filter(ge=>ge[2].slice(0,ht(ge[0])?2:3).every(Ce=>Ce<=0))[0])==null?void 0:a[0])||$e[0][0];return Fe!==l?{data:{index:L+1,overflows:$},reset:{placement:Fe}}:{}}}};var e1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:N=>{let{x:z,y:I}=N;return{x:z,y:I}}},...p}=$o(e,t),h={x:o,y:n},g=await i.detectOverflow(t,p),y=Fo(a),v=La(y),x=h[v],S=h[y],L=(N,z)=>Vl(z+g[N==="y"?"top":"left"],z,z-g[N==="y"?"bottom":"right"]);s&&(x=L(v,x)),l&&(S=L(y,S));let O=u.fn({...t,[v]:x,[y]:S});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[v]:s,[y]:l}}}}}};function Ho(){return typeof window<"u"}function Dt(e){return r1(e)?(e.nodeName||"").toLowerCase():"#document"}function he(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function et(e){var t;return(t=(r1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r1(e){return Ho()?e instanceof Node||e instanceof he(e).Node:!1}function Te(e){return Ho()?e instanceof Element||e instanceof he(e).Element:!1}function tt(e){return Ho()?e instanceof HTMLElement||e instanceof he(e).HTMLElement:!1}function t1(e){return!Ho()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof he(e).ShadowRoot}function Qr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Pe(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function o1(e){return/^(table|td|th)$/.test(Dt(e))}function Jr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var $f=/transform|translate|scale|rotate|perspective|filter/,Ff=/paint|layout|strict|content/,Pt=e=>!!e&&e!=="none",wa;function mr(e){let t=Te(e)?Pe(e):e;return Pt(t.transform)||Pt(t.translate)||Pt(t.scale)||Pt(t.rotate)||Pt(t.perspective)||!Wo()&&(Pt(t.backdropFilter)||Pt(t.filter))||$f.test(t.willChange||"")||Ff.test(t.contain||"")}function n1(e){let t=gt(e);for(;tt(t)&&!hr(t);){if(mr(t))return t;if(Jr(t))return null;t=gt(t)}return null}function Wo(){return wa==null&&(wa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),wa}function hr(e){return/^(html|body|#document)$/.test(Dt(e))}function Pe(e){return he(e).getComputedStyle(e)}function eo(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gt(e){if(Dt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||t1(e)&&e.host||et(e);return t1(t)?t.host:t}function a1(e){let t=gt(e);return hr(t)?(e.ownerDocument||e).body:tt(t)&&Qr(t)?t:a1(t)}function Go(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=a1(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=he(a);if(i){let l=jo(s);return t.concat(s,s.visualViewport||[],Qr(a)?a:[],l&&o?Go(l):[])}else return t.concat(a,Go(a,[],o))}function jo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function c1(e){let t=Pe(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=tt(e),i=a?e.offsetWidth:o,s=a?e.offsetHeight:n,l=Yr(o)!==i||Yr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function l1(e){return Te(e)?e:e.contextElement}function gr(e){let t=l1(e);if(!tt(t))return We(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=c1(t),s=(i?Yr(o.width):o.width)/n,l=(i?Yr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Gf=We(0);function d1(e){let t=he(e);return!Wo()||!t.visualViewport?Gf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hf(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===he(e)}function to(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=l1(e),s=We(1);t&&(n?Te(n)&&(s=gr(n)):s=gr(e));let l=Hf(i,o,n)?d1(i):We(0),u=(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&&n){let y=he(i),v=Te(n)?he(n):n,x=y,S=jo(x);for(;S&&v!==x;){let L=gr(S),O=S.getBoundingClientRect(),N=Pe(S),z=O.left+(S.clientLeft+parseFloat(N.paddingLeft))*L.x,I=O.top+(S.clientTop+parseFloat(N.paddingTop))*L.y;u*=L.x,p*=L.y,h*=L.x,g*=L.y,u+=z,p+=I,x=he(S),S=jo(x)}}return Tt({width:h,height:g,x:u,y:p})}function Vo(e,t){let o=eo(e).scrollLeft;return t?t.left+o:to(et(e)).left+o}function u1(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Vo(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function Wf(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,i=a==="fixed",s=et(n),l=t?Jr(t.floating):!1;if(n===s||l&&i)return o;let u={scrollLeft:0,scrollTop:0},p=We(1),h=We(0),g=tt(n);if((g||!i)&&((Dt(n)!=="body"||Qr(s))&&(u=eo(n)),g)){let v=to(n);p=gr(n),h.x=v.x+n.clientLeft,h.y=v.y+n.clientTop}let y=s&&!g&&!i?u1(s,u):We(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+y.x,y:o.y*p.y-u.scrollTop*p.y+h.y+y.y}}function jf(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Vf(e){let t=eo(e),o=e.ownerDocument.body,n=mt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=mt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),i=-t.scrollLeft+Vo(e),s=-t.scrollTop;return Pe(o).direction==="rtl"&&(i+=mt(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:i,y:s}}var Kf=25;function qf(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",a=he(e),i=et(e),s=a.visualViewport,l=i.clientWidth,u=i.clientHeight,p=0,h=0;if(s){let y=!Wo()||t==="fixed";n?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(Vo(i)<=0){let y=i.ownerDocument,v=y.body,x=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,L=Math.abs(i.clientWidth-v.clientWidth-S),O=getComputedStyle(i).scrollbarGutter==="stable both-edges"?L/2:L;O<=Kf&&(l-=O)}return{width:l,height:u,x:p,y:h}}function Zf(e,t){let o=to(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=gr(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=a*i.x,p=n*i.y;return{width:s,height:l,x:u,y:p}}function i1(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=qf(e,o,t);else if(t==="document")n=Vf(et(e));else if(Te(t))n=Zf(t,o);else{let a=d1(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Tt(n)}function Yf(e,t){let o=t.get(e);if(o)return o;let n=Go(e,[],!1).filter(l=>Te(l)&&Dt(l)!=="body"),a=null,i=Pe(e).position==="fixed",s=i?gt(e):e;for(;Te(s)&&!hr(s);){let l=Pe(s),u=mr(s),p=a?a.position:i?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(g=>g!==s):a=l,s=gt(s)}return t.set(e,n),n}function Xf(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,s=[...o==="clippingAncestors"?Jr(t)?[]:Yf(t,this._c):[].concat(o),n],l=i1(t,s[0],a),u=l.top,p=l.right,h=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let v=i1(t,s[y],a);u=mt(v.top,u),p=Zr(v.right,p),h=Zr(v.bottom,h),g=mt(v.left,g)}return{width:p-g,height:h-u,x:g,y:u}}function Qf(e){let{width:t,height:o}=c1(e);return{width:t,height:o}}function Jf(e,t,o){let n=tt(t),a=et(t),i=o==="fixed",s=to(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=We(0);if((n||!i)&&((Dt(t)!=="body"||Qr(a))&&(l=eo(t)),n)){let y=to(t,!0,i,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}!n&&a&&(u.x=Vo(a));let p=a&&!n&&!i?u1(a,l):We(0),h=s.left+l.scrollLeft-u.x-p.x,g=s.top+l.scrollTop-u.y-p.y;return{x:h,y:g,width:s.width,height:s.height}}function Na(e){return Pe(e).position==="static"}function s1(e,t){if(!tt(e)||Pe(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return et(e)===o&&(o=o.ownerDocument.body),o}function f1(e,t){let o=he(e);if(Jr(e))return o;if(!tt(e)){let a=gt(e);for(;a&&!hr(a);){if(Te(a)&&!Na(a))return a;a=gt(a)}return o}let n=s1(e,t);for(;n&&o1(n)&&Na(n);)n=s1(n,t);return n&&hr(n)&&Na(n)&&!mr(n)?o:n||n1(e)||o}var e3=async function(e){let t=this.getOffsetParent||f1,o=this.getDimensions,n=await o(e.floating);return{reference:Jf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function t3(e){return Pe(e).direction==="rtl"}var Ko={convertOffsetParentRelativeRectToViewportRelativeRect:Wf,getDocumentElement:et,getClippingRect:Xf,getOffsetParent:f1,getElementRects:e3,getClientRects:jf,getDimensions:Qf,getScale:gr,isElement:Te,isRTL:t3};var p1=Jl,m1=e1;var h1=(e,t,o)=>{let n=new Map,a=o??{},i={...Ko,...a.platform,_c:n};return Ql(e,t,{...a,platform:i})};function g1(e){return r3(e)}function _a(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function r3(e){for(let t=e;t;t=_a(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=_a(e);t;t=_a(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||mr(o)||t.tagName==="BODY"))return t}return null}async function y1(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},h1(e,t,{strategy:n.strategy,platform:{...Ko,getOffsetParent:a=>Ko.getOffsetParent(a,g1)},middleware:[m1({crossAxis:!0}),p1({allowedPlacements:[n.placement]})]})}var Nr=C(T());var ri=C(ne());var b1=C(ne(),1);var za=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function v1(e,t){return(0,b1.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return ro(e);try{return JSON.parse(o)}catch{return ro(e)}},toAttribute:o=>JSON.stringify(o)},hasChanged:oo,...t??{}})}function o3(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!qo(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!qo(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[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(o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!qo(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function qo(e,t){try{return o3(e,t)}catch{return!1}}function oo(e,t){return!qo(e,t)}function ro(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Zo(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var x1=C(ne(),1);var Ma=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:oo,attribute:!1,...t};(0,x1.property)(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[n]),store:t.store})}};var Yo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Ut=C(ne(),1);var Xo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)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 C1=C(F(),1);var Qo=globalThis,n3=Qo.ShadowRoot&&(Qo.ShadyCSS===void 0||Qo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var S1=(e,t)=>{if(n3)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Qo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Jo=class extends C1.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return S1(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){za(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function E1(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var br=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},R1,A1=Symbol("constructorPrototype"),L1=Symbol("constructorName"),w1=Symbol("exportpartsDebouncer"),O1=Symbol("dynamicDependenciesLoaded"),yr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};yr.eventName="exportparts-updated";var je=class extends Jo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[R1]=new Xo(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[w1].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[L1]=this.constructor.name,this[A1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[L1]&&Object.setPrototypeOf(this,this[A1])}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(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[O1]||(o[O1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(yr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(yr.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 yr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=E1(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).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 o,n,a,i,s,l;let u=y=>y!=null&&y.trim().length>0,p=t.filter(u).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){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(L=>L.split(":")[1]))!==null&&l!==void 0?l:[],S=[...v,...x].filter(u).map(L=>L.trim());for(let L of S)h.add(L)}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(", ")}};R1=w1;br([(0,Ut.property)()],je.prototype,"exportpartsPrefix",void 0);br([v1([])],je.prototype,"exportpartsPrefixes",void 0);br([(0,Ut.property)({reflect:!0})],je.prototype,"exportparts",void 0);br([(0,Ut.property)()],je.prototype,"customStylesheet",void 0);br([(0,Ut.property)()],je.prototype,"elementToFocus",void 0);br([(0,Ut.state)()],je.prototype,"useAdoptedStyleSheets",void 0);function en(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var no=Symbol("internalReduxEventsUnsubscribers"),yt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),a3=Zo(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=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[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Bt].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Bt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Bt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[yt].has(s.store):this[yt].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[yt].set(s,l.subscribe(()=>this.updateFromStores())),this[no].set(s,[]),en(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.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[no].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[yt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[yt].has(s)&&this[yt].get(s)(),this[yt].delete(s),(l=this[no].get(s))===null||l===void 0||l.forEach(u=>u()),this[no].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=yt,o=Bt,n=no,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),N1=class extends a3(je){};function Le(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function rt(e){return!!e&&!!e[K]}function De(e){var t;return!!e&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===p3})(e)||Array.isArray(e)||!!e[P1]||!!(!((t=e.constructor)===null||t===void 0)&&t[P1])||Fa(e)||Ga(e))}function $t(e,t,o){o===void 0&&(o=!1),Sr(e)===0?(o?Object.keys:xr)(e).forEach((function(n){o&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function Sr(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fa(e)?2:Ga(e)?3:0}function vr(e,t){return Sr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function i3(e,t){return Sr(e)===2?e.get(t):e[t]}function D1(e,t,o){var n=Sr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function U1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fa(e){return u3&&e instanceof Map}function Ga(e){return f3&&e instanceof Set}function bt(e){return e.o||e.t}function Ha(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=F1(e);delete t[K];for(var o=xr(t),n=0;n<o.length;n++){var a=o[n],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 Wa(e,t){return t===void 0&&(t=!1),ja(e)||rt(e)||!De(e)||(Sr(e)>1&&(e.set=e.add=e.clear=e.delete=s3),Object.freeze(e),t&&$t(e,(function(o,n){return Wa(n,!0)}),!0)),e}function s3(){Le(2)}function ja(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ve(e){var t=$a[e];return t||Le(18,e),t}function c3(e,t){$a[e]||($a[e]=t)}function Da(){return io}function ka(e,t){t&&(Ve("Patches"),e.u=[],e.s=[],e.v=t)}function tn(e){Ua(e),e.p.forEach(l3),e.p=null}function Ua(e){e===io&&(io=e.l)}function _1(e){return io={p:[],l:io,h:e,m:!0,_:0}}function l3(e){var t=e[K];t.i===0||t.i===1?t.j():t.g=!0}function Ia(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ve("ES5").S(t,e,n),n?(o[K].P&&(tn(t),Le(4)),De(e)&&(e=rn(t,e),t.l||on(t,e)),t.u&&Ve("Patches").M(o[K].t,e,t.u,t.s)):e=rn(t,o,[]),tn(t),t.u&&t.v(t.u,t.s),e!==$1?e:void 0}function rn(e,t,o){if(ja(t))return t;var n=t[K];if(!n)return $t(t,(function(l,u){return z1(e,n,t,l,u,o)}),!0),t;if(n.A!==e)return t;if(!n.P)return on(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ha(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),$t(i,(function(l,u){return z1(e,n,a,l,u,o,s)})),on(e,a,!1),o&&e.u&&Ve("Patches").N(n,o,e.u,e.s)}return n.o}function z1(e,t,o,n,a,i,s){if(rt(a)){var l=rn(e,a,i&&t&&t.i!==3&&!vr(t.R,n)?i.concat(n):void 0);if(D1(o,n,l),!rt(l))return;e.m=!1}else s&&o.add(a);if(De(a)&&!ja(a)){if(!e.h.D&&e._<1)return;rn(e,a),t&&t.A.l||on(e,a)}}function on(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Wa(t,o)}function Ta(e,t){var o=e[K];return(o?bt(o):e)[t]}function M1(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function vt(e){e.P||(e.P=!0,e.l&&vt(e.l))}function Pa(e){e.o||(e.o=Ha(e.t))}function Ba(e,t,o){var n=Fa(t)?Ve("MapSet").F(t,o):Ga(t)?Ve("MapSet").T(t,o):e.O?(function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Da(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},u=l,p=so;s&&(u=[l],p=ao);var h=Proxy.revocable(u,p),g=h.revoke,y=h.proxy;return l.k=y,l.j=g,y})(t,o):Ve("ES5").J(t,o);return(o?o.A:Da()).p.push(n),n}function d3(e){return rt(e)||Le(22,e),(function t(o){if(!De(o))return o;var n,a=o[K],i=Sr(o);if(a){if(!a.P&&(a.i<4||!Ve("ES5").K(a)))return a.t;a.I=!0,n=k1(o,i),a.I=!1}else n=k1(o,i);return $t(n,(function(s,l){a&&i3(a.t,s)===l||D1(n,s,t(l))})),i===3?new Set(n):n})(e)}function k1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ha(e)}function B1(){function e(s,l){var u=i[s];return u?u.enumerable=l:i[s]=u={configurable:!0,enumerable:l,get:function(){var p=this[K];return so.get(p,s)},set:function(p){var h=this[K];so.set(h,s,p)}},u}function t(s){for(var l=s.length-1;l>=0;l--){var u=s[l][K];if(!u.P)switch(u.i){case 5:n(u)&&vt(u);break;case 4:o(u)&&vt(u)}}}function o(s){for(var l=s.t,u=s.k,p=xr(u),h=p.length-1;h>=0;h--){var g=p[h];if(g!==K){var y=l[g];if(y===void 0&&!vr(l,g))return!0;var v=u[g],x=v&&v[K];if(x?x.t!==y:!U1(v,y))return!0}}var S=!!l[K];return p.length!==xr(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Le(3,JSON.stringify(bt(s)))}var i={};c3("ES5",{J:function(s,l){var u=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=F1(y);delete S[K];for(var L=xr(S),O=0;O<L.length;O++){var N=L[O];S[N]=e(N,g||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(y),S)})(u,s),h={i:u?5:4,A:l?l.A:Da(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,K,{value:h,writable:!0}),p},S:function(s,l,u){u?rt(l)&&l[K].A===s&&t(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var g=h[K];if(g){var y=g.t,v=g.k,x=g.R,S=g.i;if(S===4)$t(v,(function(I){I!==K&&(y[I]!==void 0||vr(y,I)?x[I]||p(v[I]):(x[I]=!0,vt(g)))})),$t(y,(function(I){v[I]!==void 0||vr(v,I)||(x[I]=!1,vt(g))}));else if(S===5){if(n(g)&&(vt(g),x.length=!0),v.length<y.length)for(var L=v.length;L<y.length;L++)x[L]=!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?o(s):n(s)}})}var I1,io,Va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",u3=typeof Map<"u",f3=typeof Set<"u",T1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$1=Va?Symbol.for("immer-nothing"):((I1={})["immer-nothing"]=!0,I1),P1=Va?Symbol.for("immer-draftable"):"__$immer_draftable",K=Va?Symbol.for("immer-state"):"__$immer_state";var p3=""+Object.prototype.constructor,xr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,F1=Object.getOwnPropertyDescriptors||function(e){var t={};return xr(e).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)})),t},$a={},so={get:function(e,t){if(t===K)return e;var o=bt(e);if(!vr(o,t))return(function(a,i,s){var l,u=M1(i,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(a.k):void 0})(e,o,t);var n=o[t];return e.I||!De(n)?n:n===Ta(e.t,t)?(Pa(e),e.o[t]=Ba(e.A.h,n,e)):n},has:function(e,t){return t in bt(e)},ownKeys:function(e){return Reflect.ownKeys(bt(e))},set:function(e,t,o){var n=M1(bt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Ta(bt(e),t),i=a?.[K];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(U1(o,a)&&(o!==void 0||vr(e.t,t)))return!0;Pa(e),vt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Ta(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Pa(e),vt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=bt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Le(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Le(12)}},ao={};$t(so,(function(e,t){ao[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ao.deleteProperty=function(e,t){return ao.set.call(this,e,t,void 0)},ao.set=function(e,t,o){return so.set.call(this,e[0],t,o,e[0])};var m3=(function(){function e(o){var n=this;this.O=T1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var u=n;return function(S){var L=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 u.produce(S,(function(I){var $;return($=i).call.apply($,[L,I].concat(N))}))}}var p;if(typeof i!="function"&&Le(6),s!==void 0&&typeof s!="function"&&Le(7),De(a)){var h=_1(n),g=Ba(n,a,void 0),y=!0;try{p=i(g),y=!1}finally{y?tn(h):Ua(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(S){return ka(h,s),Ia(S,h)}),(function(S){throw tn(h),S})):(ka(h,s),Ia(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===$1&&(p=void 0),n.D&&Wa(p,!0),s){var v=[],x=[];Ve("Patches").M(a,p,v,x),s(v,x)}return p}Le(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 n.produceWithPatches(p,(function(v){return a.apply(void 0,[v].concat(g))}))};var s,l,u=n.produce(a,i,(function(p,h){s=p,l=h}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,s,l]})):[u,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){De(o)||Le(8),rt(o)&&(o=d3(o));var n=_1(this),a=Ba(this,o,void 0);return a[K].C=!0,Ua(n),a},t.finishDraft=function(o,n){var a=o&&o[K],i=a.A;return ka(i,n),Ia(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!T1&&Le(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Ve("Patches").$;return rt(o)?s(o,n):this.produce(o,(function(l){return s(l,n)}))},e})(),ve=new m3,h3=ve.produce,k7=ve.produceWithPatches.bind(ve),I7=ve.setAutoFreeze.bind(ve),T7=ve.setUseProxies.bind(ve),P7=ve.applyPatches.bind(ve),D7=ve.createDraft.bind(ve),U7=ve.finishDraft.bind(ve),nn=h3;function Ft(e){"@babel/helpers - typeof";return Ft=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},Ft(e)}function G1(e,t){if(Ft(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ft(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function H1(e){var t=G1(e,"string");return Ft(t)=="symbol"?t:t+""}function W1(e,t,o){return(t=H1(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function j1(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ka(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?j1(Object(o),!0).forEach(function(n){W1(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j1(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ce(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 V1=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),qa=function(){return Math.random().toString(36).substring(7).split("").join(".")},an={INIT:"@@redux/INIT"+qa(),REPLACE:"@@redux/REPLACE"+qa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qa()}};function g3(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 Za(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ce(1));return o(Za)(e,t)}if(typeof e!="function")throw new Error(ce(2));var a=e,i=t,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function h(){if(u)throw new Error(ce(3));return i}function g(S){if(typeof S!="function")throw new Error(ce(4));if(u)throw new Error(ce(5));var L=!0;return p(),l.push(S),function(){if(L){if(u)throw new Error(ce(6));L=!1,p();var N=l.indexOf(S);l.splice(N,1),s=null}}}function y(S){if(!g3(S))throw new Error(ce(7));if(typeof S.type>"u")throw new Error(ce(8));if(u)throw new Error(ce(9));try{u=!0,i=a(i,S)}finally{u=!1}for(var L=s=l,O=0;O<L.length;O++){var N=L[O];N()}return S}function v(S){if(typeof S!="function")throw new Error(ce(10));a=S,y({type:an.REPLACE})}function x(){var S,L=g;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(ce(11));function z(){N.next&&N.next(h())}z();var I=L(z);return{unsubscribe:I}}},S[V1]=function(){return this},S}return y({type:an.INIT}),n={dispatch:y,subscribe:g,getState:h,replaceReducer:v},n[V1]=x,n}function y3(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:an.INIT});if(typeof n>"u")throw new Error(ce(12));if(typeof o(void 0,{type:an.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ce(13))})}function K1(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{y3(o)}catch(u){l=u}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],L=o[S],O=p[S],N=L(O,h);if(typeof N>"u"){var z=h&&h.type;throw new Error(ce(14))}v[S]=N,y=y||N!==O}return y=y||i.length!==Object.keys(p).length,y?v:p}}function Cr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function q1(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ce(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(u){return u(s)});return i=Cr.apply(void 0,l)(a.dispatch),Ka(Ka({},a),{},{dispatch:i})}}}function Z1(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Y1=Z1();Y1.withExtraArgument=Z1;var Ya=Y1;var t2=(function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),b3=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,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 u([p,h])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=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 o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Er=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},v3=Object.defineProperty,x3=Object.defineProperties,S3=Object.getOwnPropertyDescriptors,X1=Object.getOwnPropertySymbols,C3=Object.prototype.hasOwnProperty,E3=Object.prototype.propertyIsEnumerable,Q1=function(e,t,o){return t in e?v3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},xt=function(e,t){for(var o in t||(t={}))C3.call(t,o)&&Q1(e,o,t[o]);if(X1)for(var n=0,a=X1(t);n<a.length;n++){var o=a[n];E3.call(t,o)&&Q1(e,o,t[o])}return e},Xa=function(e,t){return x3(e,S3(t))},A3=function(e,t,o){return new Promise(function(n,a){var i=function(u){try{l(o.next(u))}catch(p){a(p)}},s=function(u){try{l(o.throw(u))}catch(p){a(p)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,s)};l((o=o.apply(e,t)).next())})};var L3=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Cr:Cr.apply(null,arguments)},rg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function O3(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function St(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return xt(xt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}var R3=(function(e){t2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Er([void 0],o[0].concat(this)))):new(t.bind.apply(t,Er([void 0],o.concat(this))))},t})(Array),w3=(function(e){t2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Er([void 0],o[0].concat(this)))):new(t.bind.apply(t,Er([void 0],o.concat(this))))},t})(Array);function ei(e){return De(e)?nn(e,function(){}):e}function N3(e){return typeof e=="boolean"}function _3(){return function(t){return z3(t)}}function z3(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,u=l===void 0?!0:l,p=new R3;if(o&&(N3(o)?p.push(Ya):p.push(Ya.withExtraArgument(o.extraArgument))),0){if(a)var h;if(s)var g;if(u)var y}return p}var Qa=!0;function r2(e){var t=_3(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,g=o.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(O3(a))v=K1(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),!Qa&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Qa&&x.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=q1.apply(void 0,x),L=Cr;u&&(L=L3(xt({trace:!Qa},typeof u=="object"&&u)));var O=new w3(S),N=O;Array.isArray(y)?N=Er([S],y):typeof y=="function"&&(N=y(O));var z=L.apply(void 0,N);return Za(v,h,z)}function o2(e){var t={},o=[],n,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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function M3(e){return typeof e=="function"}function k3(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?o2(t):[t,o,n],i=a[0],s=a[1],l=a[2],u;if(M3(e))u=function(){return ei(e())};else{var p=ei(e);u=function(){return p}}function h(g,y){g===void 0&&(g=u());var v=Er([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(rt(x)){var L=x,O=S(L,y);return O===void 0?x:O}else{if(De(x))return nn(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=u,h}function I3(e,t){return e+"/"+t}function n2(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:ei(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var g=n[h],y=I3(t,h),v,x;"reducer"in g?(v=g.reducer,x=g.prepare):v=g,i[h]=v,s[y]=v,l[h]=x?St(y,x):St(y)});function u(){var h=typeof e.extraReducers=="function"?o2(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,v=h[1],x=v===void 0?[]:v,S=h[2],L=S===void 0?void 0:S,O=xt(xt({},y),s);return k3(o,function(N){for(var z in O)N.addCase(z,O[z]);for(var I=0,$=x;I<$.length;I++){var V=$[I];N.addMatcher(V.matcher,V.reducer)}L&&N.addDefaultCase(L)})}var p;return{name:t,reducer:function(h,g){return p||(p=u()),p(h,g)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var T3="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",P3=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=T3[Math.random()*64|0];return t},D3=["name","message","stack","code"],Ja=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),J1=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),U3=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=D3;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},ig=(function(){function e(t,o,n){var a=St(t+"/fulfilled",function(h,g,y,v){return{payload:h,meta:Xa(xt({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=St(t+"/pending",function(h,g,y){return{payload:void 0,meta:Xa(xt({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=St(t+"/rejected",function(h,g,y,v,x){return{payload:v,error:(n&&n.serializeError||U3)(h||"Rejected"),meta:Xa(xt({},x||{}),{arg:y,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,u=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=n?.idGenerator?n.idGenerator(h):P3(),S=new u,L,O=!1;function N(I){L=I,S.abort()}var z=(function(){return A3(this,null,function(){var I,$,V,$e,Lt,Fe,ge;return b3(this,function(Ce){switch(Ce.label){case 0:return Ce.trys.push([0,4,,5]),$e=(I=n?.condition)==null?void 0:I.call(n,h,{getState:y,extra:v}),$3($e)?[4,$e]:[3,2];case 1:$e=Ce.sent(),Ce.label=2;case 2:if($e===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,Lt=new Promise(function(ye,Ot){return S.signal.addEventListener("abort",function(){return Ot({name:"AbortError",message:L||"Aborted"})})}),g(i(x,h,($=n?.getPendingMeta)==null?void 0:$.call(n,{requestId:x,arg:h},{getState:y,extra:v}))),[4,Promise.race([Lt,Promise.resolve(o(h,{dispatch:g,getState:y,extra:v,requestId:x,signal:S.signal,abort:N,rejectWithValue:function(ye,Ot){return new Ja(ye,Ot)},fulfillWithValue:function(ye,Ot){return new J1(ye,Ot)}})).then(function(ye){if(ye instanceof Ja)throw ye;return ye instanceof J1?a(ye.payload,x,h,ye.meta):a(ye,x,h)})])];case 3:return V=Ce.sent(),[3,5];case 4:return Fe=Ce.sent(),V=Fe instanceof Ja?s(null,x,h,Fe.payload,Fe.meta):s(Fe,x,h),[3,5];case 5:return ge=n&&!n.dispatchConditionRejection&&s.match(V)&&V.meta.condition,ge||g(V),[2,V]}})})})();return Object.assign(z,{abort:N,requestId:x,arg:h,unwrap:function(){return z.then(B3)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function B3(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function $3(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var a2="listener",i2="completed",s2="cancelled",sg="task-"+s2,cg="task-"+i2,lg=a2+"-"+s2,dg=a2+"-"+i2;var ti="listenerMiddleware";var ug=St(ti+"/add"),fg=St(ti+"/removeAll"),pg=St(ti+"/remove");var e2,mg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(e2||(e2=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},F3=function(e){return function(t){setTimeout(t,e)}},hg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:F3(10);B1();var G3=Zo(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),sn=class extends G3(Object){};window.ftReduxStores||(window.ftReduxStores={});var c2=class e extends sn{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(en(i))return i;if(a==null)return;let s=n2({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=r2({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=ro(s.getInitialState());for(let g of p.keeping)h[g]=(u??h)[g];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Yo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let u=s,p=i[u];return p?(...h)=>{let g=p(...h.map(a));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[u]:a(h)})}}}),this.eventBus=n??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 cn=class{static format(t,o,n,a,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,o,n,a,!!i)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return i?u:a?`${l} ${u}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var ln=C(T()),H3="ft-app-info",Ar=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ar.eventName="authentication-change";var co=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};co.eventName="ui-locale-changed";var W3={session:(e,t)=>{(0,ln.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>D.dispatchEvent(new Ar(t.payload)),0))}},D=ln.FtReduxStore.get({name:H3,reducers:W3,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 l2=C(T()),dn=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Hg=(0,l2.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(D)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>cn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return dn([(0,ri.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),dn([(0,ri.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),dn([Ma({store:D.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),dn([Ma({store:D.name})],t.prototype,"uiLocale",void 0),t});var d2;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(d2||(d2={}));var u2;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(u2||(u2={}));var f2;(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"})(f2||(f2={}));var p2;(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"})(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"})(m2||(m2={}));var h2;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(h2||(h2={}));var g2;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(g2||(g2={}));var y2;(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"})(y2||(y2={}));var b2;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(b2||(b2={}));var v2;(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"})(v2||(v2={}));var x2;(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"})(x2||(x2={}));var S2;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(S2||(S2={}));var C2;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(C2||(C2={}));var E2;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(E2||(E2={}));var A2;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(A2||(A2={}));var L2;(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"})(L2||(L2={}));var O2;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(O2||(O2={}));var R2;(function(e){e.ASC="ASC",e.DESC="DESC"})(R2||(R2={}));var w2;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(w2||(w2={}));var N2;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(N2||(N2={}));var _2;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(_2||(_2={}));var z2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(z2||(z2={}));var M2;(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"})(M2||(M2={}));var k2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(k2||(k2={}));var I2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(I2||(I2={}));var T2;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(T2||(T2={}));var P2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(P2||(P2={}));var oe;(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"})(oe||(oe={}));var Oe;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Oe||(Oe={}));var D2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D2||(D2={}));var U2;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(U2||(U2={}));var B2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(B2||(B2={}));var $2;(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"})($2||($2={}));var F2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(F2||(F2={}));var G2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(G2||(G2={}));var H2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(H2||(H2={}));var W2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(W2||(W2={}));var j2;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(j2||(j2={}));var V2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(V2||(V2={}));var K2;(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"})(K2||(K2={}));var q2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(q2||(q2={}));var j3={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN,oe.BEHAVIOR_DATA_USER],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Z2(e,t){return e===t||(j3[e]??[]).some(o=>Z2(o,t))}function Y2(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(n=>Z2(n,t))}var hn=C(T());var oi=C(T());var Gt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=D.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var Lr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Gt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Gt.await()}};var xe=class extends Lr{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[u])=>l.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new oi.CacheRegistry,this.cache=t?a.commonCache:new oi.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var un=class extends xe{async listMySearches(){let{session:t}=D.getState();return Y2(t,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var fn=class extends xe{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 pn=class extends xe{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 mn=class extends xe{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 V3="ft-user-assets",K3={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Oe).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;ai(e,o,[...ni(e,o),a]),X2(e,o,1,n),Q2(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;ai(e,o,ni(e,o).map(a=>a.id===n.id?n:a)),Q2(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;ai(e,o,ni(e,o).filter(i=>i.id!==a)),X2(e,o,-1,n)}},J2={[Oe.SEARCHES]:"savedSearches",[Oe.BOOKMARKS]:"bookmarks",[Oe.BOOKS]:void 0,[Oe.COLLECTIONS]:void 0},ni=(e,t)=>{var o;let n=J2[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},ai=(e,t,o)=>{let n=J2[t];n&&(e[n]=o)},X2=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===Oe.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+o)}},Q2=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},fe=hn.FtReduxStore.get({name:V3,reducers:K3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Oe).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ii=class{constructor(t=new pn,o=new mn){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new fn,this.savedSearchesService=new un,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=D.getState();(0,hn.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),fe.actions.clearAssetCount(),fe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();fe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();fe.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&fe.getState().assetCounts.allAsset[t]!==o.count&&fe.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&fe.getState().assetCounts.bookmarkByMap[t]!==o.count&&fe.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(fe.getState().assetCounts.bookmarkByMap).length!==0;t===Oe.BOOKMARKS&&o&&fe.actions.clearBookmarkCountByMap(),fe.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 o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fe.actions.bookmarks(o)}}},q3=new ii;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=q3);var si=class{addCommand(t,o=!1){D.commands.add(t,o)}consumeCommand(t){return D.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new si;var Re=C(T());var e0,Or=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Z3=Symbol("clearAfterUnitTest"),gn=class extends(0,Re.withEventBus)(xe){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[e0]=()=>{this.defaultMessages={},this.cache=new Re.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 o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Re.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Re.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof Re.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Or({loadedContexts:t})),this.dispatchEvent(new Or({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Or({loadedContexts:[t]})),this.dispatchEvent(new Or({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Re.delay)(0).then(()=>n()).catch(()=>null)))}};e0=Z3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends gn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends gn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Rr=window.FluidTopicsI18nService,yn=window.FluidTopicsCustomI18nService;var t0=C(T()),ci=class{highlightHtml(t,o,n){(0,t0.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ci;var r0=C(T());var li=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i,s;if(t==null)return"";try{return r0.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1,(s=o?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new li;var o0=C(T());var lo=class{static get(t,o){var n,a,i,s;let l=D.getState(),{lang:u,region:p}=(i=(a=(n=l.localesConfiguration)===null||n===void 0?void 0:n.defaultLocales)===null||a===void 0?void 0:a.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new o0.SearchPlaceConverter(l.baseUrl,t??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,o??`${u}-${p}`)}};var di=class{urlToSearchRequest(t){return lo.get().parse(t)}searchRequestToUrl(t){return lo.get().serialize(t)}};window.FluidTopicsUrlService=new di;var ot=C(T());var Ht=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Ht.eventName="change";var ui=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},n0=new ui;var bn=class e extends ot.WithEventBus{static build(){return new e(window.history,n0,()=>window.location,!1)}constructor(t,o,n,a){var i,s;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,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,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ot.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ht(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,s,l])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.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 o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Ht.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Ht.eventName,t)}currentItem(){return(0,ot.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,ot.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,ot.deepCopy)(o.find(n=>t(n)))}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,ot.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 o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=bn.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 a0=C(F());var i0=a0.css`
|
|
1952
|
-
`;var l0=C(F()),
|
|
1951
|
+
`;var jl=["top","right","bottom","left"],Wl=["start","end"],Aa=jl.reduce((e,t)=>e.concat(t,t+"-"+Wl[0],t+"-"+Wl[1]),[]),Zr=Math.min,mt=Math.max,Yr=Math.round;var We=e=>({x:e,y:e}),Pf={left:"right",right:"left",bottom:"top",top:"bottom"};function Vl(e,t,o){return mt(e,Zr(t,o))}function $o(e,t){return typeof e=="function"?e(t):e}function Xr(e){return e.split("-")[0]}function ht(e){return e.split("-")[1]}function La(e){return e==="x"?"y":"x"}function Oa(e){return e==="y"?"height":"width"}function Fo(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Ra(e){return La(Fo(e))}function Kl(e,t,o){o===void 0&&(o=!1);let n=ht(e),a=Ra(e),i=Oa(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ea(s)),[s,Ea(s)]}function ql(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Ea(e){let t=Xr(e);return Pf[t]+e.slice(t.length)}function Df(e){var t,o,n,a;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function Zl(e){return typeof e!="number"?Df(e):{top:e,right:e,bottom:e,left:e}}function Tt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function Yl(e,t,o){let{reference:n,floating:a}=e,i=Fo(t),s=Ra(t),l=Oa(s),u=Xr(t),p=i==="y",h=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,v;switch(u){case"top":v={x:h,y:n.y-a.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-a.width,y:g};break;default:v={x:n.x,y:n.y}}let x=ht(t);return x&&(v[s]+=y*(x==="end"?1:-1)*(o&&p?-1:1)),v}async function Xl(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=$o(t,e),x=Zl(v),L=l[y?g==="floating"?"reference":"floating":g],O=Tt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(L)))==null||o?L:L.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,z=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),I=await(i.isElement==null?void 0:i.isElement(z))&&await(i.getScale==null?void 0:i.getScale(z))||{x:1,y:1},$=Tt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:z,strategy:u}):N);return{top:(O.top-$.top+x.top)/I.y,bottom:($.bottom-O.bottom+x.bottom)/I.y,left:(O.left-$.left+x.left)/I.x,right:($.right-O.right+x.right)/I.x}}var Uf=50,Ql=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:Xl},u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:g}=Yl(p,n,u),y=n,v=0,x={};for(let S=0;S<i.length;S++){let L=i[S];if(!L)continue;let{name:O,fn:N}=L,{x:z,y:I,data:$,reset:V}=await N({x:h,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:e,floating:t}});h=z??h,g=I??g,x[O]={...x[O],...$},V&&v<Uf&&(v++,typeof V=="object"&&(V.placement&&(y=V.placement),V.rects&&(p=V.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):V.rects),{x:h,y:g}=Yl(p,y,u)),S=-1)}return{x:h,y:g,placement:y,strategy:a,middlewareData:x}};function Bf(e,t,o){return(e?[...o.filter(a=>ht(a)===e),...o.filter(a=>ht(a)!==e)]:o.filter(a=>Xr(a)===a)).filter(a=>e?ht(a)===e||(t?ql(a)!==a:!1):!0)}var Jl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=Aa,autoAlignment:v=!0,...x}=$o(e,t),S=g!==void 0||y===Aa?Bf(g||null,v,y):y,L=((o=s.autoPlacement)==null?void 0:o.index)||0,O=S[L];if(O==null)return{};if(l!==O)return{reset:{placement:S[0]}};let N=await u.detectOverflow(t,x),z=Kl(O,i,await(u.isRTL==null?void 0:u.isRTL(p.floating))),I=[N[Xr(O)],N[z[0]],N[z[1]]],$=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:O,overflows:I}],V=S[L+1];if(V)return{data:{index:L+1,overflows:$},reset:{placement:V}};let $e=$.map(ye=>{let Ce=ht(ye.placement);return[ye.placement,Ce&&h?ye.overflows.slice(0,2).reduce((be,Ot)=>be+Ot,0):ye.overflows[0],ye.overflows]}).sort((ye,Ce)=>ye[1]-Ce[1]),Fe=((a=$e.filter(ye=>ye[2].slice(0,ht(ye[0])?2:3).every(Ce=>Ce<=0))[0])==null?void 0:a[0])||$e[0][0];return Fe!==l?{data:{index:L+1,overflows:$},reset:{placement:Fe}}:{}}}};var e1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:N=>{let{x:z,y:I}=N;return{x:z,y:I}}},...p}=$o(e,t),h={x:o,y:n},g=await i.detectOverflow(t,p),y=Fo(a),v=La(y),x=h[v],S=h[y],L=(N,z)=>Vl(z+g[N==="y"?"top":"left"],z,z-g[N==="y"?"bottom":"right"]);s&&(x=L(v,x)),l&&(S=L(y,S));let O=u.fn({...t,[v]:x,[y]:S});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[v]:s,[y]:l}}}}}};function Ho(){return typeof window<"u"}function Dt(e){return r1(e)?(e.nodeName||"").toLowerCase():"#document"}function he(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function et(e){var t;return(t=(r1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r1(e){return Ho()?e instanceof Node||e instanceof he(e).Node:!1}function Te(e){return Ho()?e instanceof Element||e instanceof he(e).Element:!1}function tt(e){return Ho()?e instanceof HTMLElement||e instanceof he(e).HTMLElement:!1}function t1(e){return!Ho()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof he(e).ShadowRoot}function Qr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Pe(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function o1(e){return/^(table|td|th)$/.test(Dt(e))}function Jr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var $f=/transform|translate|scale|rotate|perspective|filter/,Ff=/paint|layout|strict|content/,Pt=e=>!!e&&e!=="none",wa;function mr(e){let t=Te(e)?Pe(e):e;return Pt(t.transform)||Pt(t.translate)||Pt(t.scale)||Pt(t.rotate)||Pt(t.perspective)||!Wo()&&(Pt(t.backdropFilter)||Pt(t.filter))||$f.test(t.willChange||"")||Ff.test(t.contain||"")}function n1(e){let t=gt(e);for(;tt(t)&&!hr(t);){if(mr(t))return t;if(Jr(t))return null;t=gt(t)}return null}function Wo(){return wa==null&&(wa=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),wa}function hr(e){return/^(html|body|#document)$/.test(Dt(e))}function Pe(e){return he(e).getComputedStyle(e)}function eo(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gt(e){if(Dt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||t1(e)&&e.host||et(e);return t1(t)?t.host:t}function a1(e){let t=gt(e);return hr(t)?(e.ownerDocument||e).body:tt(t)&&Qr(t)?t:a1(t)}function Go(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=a1(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=he(a);if(i){let l=jo(s);return t.concat(s,s.visualViewport||[],Qr(a)?a:[],l&&o?Go(l):[])}else return t.concat(a,Go(a,[],o))}function jo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function c1(e){let t=Pe(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=tt(e),i=a?e.offsetWidth:o,s=a?e.offsetHeight:n,l=Yr(o)!==i||Yr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function l1(e){return Te(e)?e:e.contextElement}function gr(e){let t=l1(e);if(!tt(t))return We(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=c1(t),s=(i?Yr(o.width):o.width)/n,l=(i?Yr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Gf=We(0);function d1(e){let t=he(e);return!Wo()||!t.visualViewport?Gf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hf(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===he(e)}function to(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=l1(e),s=We(1);t&&(n?Te(n)&&(s=gr(n)):s=gr(e));let l=Hf(i,o,n)?d1(i):We(0),u=(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&&n){let y=he(i),v=Te(n)?he(n):n,x=y,S=jo(x);for(;S&&v!==x;){let L=gr(S),O=S.getBoundingClientRect(),N=Pe(S),z=O.left+(S.clientLeft+parseFloat(N.paddingLeft))*L.x,I=O.top+(S.clientTop+parseFloat(N.paddingTop))*L.y;u*=L.x,p*=L.y,h*=L.x,g*=L.y,u+=z,p+=I,x=he(S),S=jo(x)}}return Tt({width:h,height:g,x:u,y:p})}function Vo(e,t){let o=eo(e).scrollLeft;return t?t.left+o:to(et(e)).left+o}function u1(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Vo(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function Wf(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,i=a==="fixed",s=et(n),l=t?Jr(t.floating):!1;if(n===s||l&&i)return o;let u={scrollLeft:0,scrollTop:0},p=We(1),h=We(0),g=tt(n);if((g||!i)&&((Dt(n)!=="body"||Qr(s))&&(u=eo(n)),g)){let v=to(n);p=gr(n),h.x=v.x+n.clientLeft,h.y=v.y+n.clientTop}let y=s&&!g&&!i?u1(s,u):We(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+y.x,y:o.y*p.y-u.scrollTop*p.y+h.y+y.y}}function jf(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Vf(e){let t=eo(e),o=e.ownerDocument.body,n=mt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=mt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),i=-t.scrollLeft+Vo(e),s=-t.scrollTop;return Pe(o).direction==="rtl"&&(i+=mt(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:i,y:s}}var Kf=25;function qf(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",a=he(e),i=et(e),s=a.visualViewport,l=i.clientWidth,u=i.clientHeight,p=0,h=0;if(s){let y=!Wo()||t==="fixed";n?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(Vo(i)<=0){let y=i.ownerDocument,v=y.body,x=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,L=Math.abs(i.clientWidth-v.clientWidth-S),O=getComputedStyle(i).scrollbarGutter==="stable both-edges"?L/2:L;O<=Kf&&(l-=O)}return{width:l,height:u,x:p,y:h}}function Zf(e,t){let o=to(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=gr(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=a*i.x,p=n*i.y;return{width:s,height:l,x:u,y:p}}function i1(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=qf(e,o,t);else if(t==="document")n=Vf(et(e));else if(Te(t))n=Zf(t,o);else{let a=d1(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Tt(n)}function Yf(e,t){let o=t.get(e);if(o)return o;let n=Go(e,[],!1).filter(l=>Te(l)&&Dt(l)!=="body"),a=null,i=Pe(e).position==="fixed",s=i?gt(e):e;for(;Te(s)&&!hr(s);){let l=Pe(s),u=mr(s),p=a?a.position:i?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(g=>g!==s):a=l,s=gt(s)}return t.set(e,n),n}function Xf(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,s=[...o==="clippingAncestors"?Jr(t)?[]:Yf(t,this._c):[].concat(o),n],l=i1(t,s[0],a),u=l.top,p=l.right,h=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let v=i1(t,s[y],a);u=mt(v.top,u),p=Zr(v.right,p),h=Zr(v.bottom,h),g=mt(v.left,g)}return{width:p-g,height:h-u,x:g,y:u}}function Qf(e){let{width:t,height:o}=c1(e);return{width:t,height:o}}function Jf(e,t,o){let n=tt(t),a=et(t),i=o==="fixed",s=to(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=We(0);if((n||!i)&&((Dt(t)!=="body"||Qr(a))&&(l=eo(t)),n)){let y=to(t,!0,i,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}!n&&a&&(u.x=Vo(a));let p=a&&!n&&!i?u1(a,l):We(0),h=s.left+l.scrollLeft-u.x-p.x,g=s.top+l.scrollTop-u.y-p.y;return{x:h,y:g,width:s.width,height:s.height}}function Na(e){return Pe(e).position==="static"}function s1(e,t){if(!tt(e)||Pe(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return et(e)===o&&(o=o.ownerDocument.body),o}function f1(e,t){let o=he(e);if(Jr(e))return o;if(!tt(e)){let a=gt(e);for(;a&&!hr(a);){if(Te(a)&&!Na(a))return a;a=gt(a)}return o}let n=s1(e,t);for(;n&&o1(n)&&Na(n);)n=s1(n,t);return n&&hr(n)&&Na(n)&&!mr(n)?o:n||n1(e)||o}var e3=async function(e){let t=this.getOffsetParent||f1,o=this.getDimensions,n=await o(e.floating);return{reference:Jf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function t3(e){return Pe(e).direction==="rtl"}var Ko={convertOffsetParentRelativeRectToViewportRelativeRect:Wf,getDocumentElement:et,getClippingRect:Xf,getOffsetParent:f1,getElementRects:e3,getClientRects:jf,getDimensions:Qf,getScale:gr,isElement:Te,isRTL:t3};var p1=Jl,m1=e1;var h1=(e,t,o)=>{let n=new Map,a=o??{},i={...Ko,...a.platform,_c:n};return Ql(e,t,{...a,platform:i})};function g1(e){return r3(e)}function _a(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function r3(e){for(let t=e;t;t=_a(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=_a(e);t;t=_a(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||mr(o)||t.tagName==="BODY"))return t}return null}async function y1(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},h1(e,t,{strategy:n.strategy,platform:{...Ko,getOffsetParent:a=>Ko.getOffsetParent(a,g1)},middleware:[m1({crossAxis:!0}),p1({allowedPlacements:[n.placement]})]})}var Nr=C(T());var ri=C(ne());var b1=C(ne(),1);var za=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function v1(e,t){return(0,b1.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return ro(e);try{return JSON.parse(o)}catch{return ro(e)}},toAttribute:o=>JSON.stringify(o)},hasChanged:oo,...t??{}})}function o3(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!qo(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!qo(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[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(o=i.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!qo(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function qo(e,t){try{return o3(e,t)}catch{return!1}}function oo(e,t){return!qo(e,t)}function ro(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Zo(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var x1=C(ne(),1);var Ma=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:oo,attribute:!1,...t};(0,x1.property)(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(l=>l[n]),store:t.store})}};var Yo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Ut=C(ne(),1);var Xo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)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 C1=C(F(),1);var Qo=globalThis,n3=Qo.ShadowRoot&&(Qo.ShadyCSS===void 0||Qo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var S1=(e,t)=>{if(n3)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Qo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var Jo=class extends C1.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return S1(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){za(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function E1(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var br=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},R1,A1=Symbol("constructorPrototype"),L1=Symbol("constructorName"),w1=Symbol("exportpartsDebouncer"),O1=Symbol("dynamicDependenciesLoaded"),yr=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};yr.eventName="exportparts-updated";var je=class extends Jo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[R1]=new Xo(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[w1].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[L1]=this.constructor.name,this[A1]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[L1]&&Object.setPrototypeOf(this,this[A1])}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(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[O1]||(o[O1]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(yr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(yr.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 yr)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=E1(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).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 o,n,a,i,s,l;let u=y=>y!=null&&y.trim().length>0,p=t.filter(u).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){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(L=>L.split(":")[1]))!==null&&l!==void 0?l:[],S=[...v,...x].filter(u).map(L=>L.trim());for(let L of S)h.add(L)}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(", ")}};R1=w1;br([(0,Ut.property)()],je.prototype,"exportpartsPrefix",void 0);br([v1([])],je.prototype,"exportpartsPrefixes",void 0);br([(0,Ut.property)({reflect:!0})],je.prototype,"exportparts",void 0);br([(0,Ut.property)()],je.prototype,"customStylesheet",void 0);br([(0,Ut.property)()],je.prototype,"elementToFocus",void 0);br([(0,Ut.state)()],je.prototype,"useAdoptedStyleSheets",void 0);function en(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var no=Symbol("internalReduxEventsUnsubscribers"),yt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),a3=Zo(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=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[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Bt].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Bt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Bt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[yt].has(s.store):this[yt].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[yt].set(s,l.subscribe(()=>this.updateFromStores())),this[no].set(s,[]),en(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.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[no].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[yt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[yt].has(s)&&this[yt].get(s)(),this[yt].delete(s),(l=this[no].get(s))===null||l===void 0||l.forEach(u=>u()),this[no].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=yt,o=Bt,n=no,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),N1=class extends a3(je){};function Le(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function rt(e){return!!e&&!!e[K]}function De(e){var t;return!!e&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===p3})(e)||Array.isArray(e)||!!e[P1]||!!(!((t=e.constructor)===null||t===void 0)&&t[P1])||Fa(e)||Ga(e))}function $t(e,t,o){o===void 0&&(o=!1),Sr(e)===0?(o?Object.keys:xr)(e).forEach((function(n){o&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function Sr(e){var t=e[K];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fa(e)?2:Ga(e)?3:0}function vr(e,t){return Sr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function i3(e,t){return Sr(e)===2?e.get(t):e[t]}function D1(e,t,o){var n=Sr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function U1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fa(e){return u3&&e instanceof Map}function Ga(e){return f3&&e instanceof Set}function bt(e){return e.o||e.t}function Ha(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=F1(e);delete t[K];for(var o=xr(t),n=0;n<o.length;n++){var a=o[n],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 Wa(e,t){return t===void 0&&(t=!1),ja(e)||rt(e)||!De(e)||(Sr(e)>1&&(e.set=e.add=e.clear=e.delete=s3),Object.freeze(e),t&&$t(e,(function(o,n){return Wa(n,!0)}),!0)),e}function s3(){Le(2)}function ja(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ve(e){var t=$a[e];return t||Le(18,e),t}function c3(e,t){$a[e]||($a[e]=t)}function Da(){return io}function ka(e,t){t&&(Ve("Patches"),e.u=[],e.s=[],e.v=t)}function tn(e){Ua(e),e.p.forEach(l3),e.p=null}function Ua(e){e===io&&(io=e.l)}function _1(e){return io={p:[],l:io,h:e,m:!0,_:0}}function l3(e){var t=e[K];t.i===0||t.i===1?t.j():t.g=!0}function Ia(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ve("ES5").S(t,e,n),n?(o[K].P&&(tn(t),Le(4)),De(e)&&(e=rn(t,e),t.l||on(t,e)),t.u&&Ve("Patches").M(o[K].t,e,t.u,t.s)):e=rn(t,o,[]),tn(t),t.u&&t.v(t.u,t.s),e!==$1?e:void 0}function rn(e,t,o){if(ja(t))return t;var n=t[K];if(!n)return $t(t,(function(l,u){return z1(e,n,t,l,u,o)}),!0),t;if(n.A!==e)return t;if(!n.P)return on(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ha(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),$t(i,(function(l,u){return z1(e,n,a,l,u,o,s)})),on(e,a,!1),o&&e.u&&Ve("Patches").N(n,o,e.u,e.s)}return n.o}function z1(e,t,o,n,a,i,s){if(rt(a)){var l=rn(e,a,i&&t&&t.i!==3&&!vr(t.R,n)?i.concat(n):void 0);if(D1(o,n,l),!rt(l))return;e.m=!1}else s&&o.add(a);if(De(a)&&!ja(a)){if(!e.h.D&&e._<1)return;rn(e,a),t&&t.A.l||on(e,a)}}function on(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Wa(t,o)}function Ta(e,t){var o=e[K];return(o?bt(o):e)[t]}function M1(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function vt(e){e.P||(e.P=!0,e.l&&vt(e.l))}function Pa(e){e.o||(e.o=Ha(e.t))}function Ba(e,t,o){var n=Fa(t)?Ve("MapSet").F(t,o):Ga(t)?Ve("MapSet").T(t,o):e.O?(function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Da(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},u=l,p=so;s&&(u=[l],p=ao);var h=Proxy.revocable(u,p),g=h.revoke,y=h.proxy;return l.k=y,l.j=g,y})(t,o):Ve("ES5").J(t,o);return(o?o.A:Da()).p.push(n),n}function d3(e){return rt(e)||Le(22,e),(function t(o){if(!De(o))return o;var n,a=o[K],i=Sr(o);if(a){if(!a.P&&(a.i<4||!Ve("ES5").K(a)))return a.t;a.I=!0,n=k1(o,i),a.I=!1}else n=k1(o,i);return $t(n,(function(s,l){a&&i3(a.t,s)===l||D1(n,s,t(l))})),i===3?new Set(n):n})(e)}function k1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ha(e)}function B1(){function e(s,l){var u=i[s];return u?u.enumerable=l:i[s]=u={configurable:!0,enumerable:l,get:function(){var p=this[K];return so.get(p,s)},set:function(p){var h=this[K];so.set(h,s,p)}},u}function t(s){for(var l=s.length-1;l>=0;l--){var u=s[l][K];if(!u.P)switch(u.i){case 5:n(u)&&vt(u);break;case 4:o(u)&&vt(u)}}}function o(s){for(var l=s.t,u=s.k,p=xr(u),h=p.length-1;h>=0;h--){var g=p[h];if(g!==K){var y=l[g];if(y===void 0&&!vr(l,g))return!0;var v=u[g],x=v&&v[K];if(x?x.t!==y:!U1(v,y))return!0}}var S=!!l[K];return p.length!==xr(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Le(3,JSON.stringify(bt(s)))}var i={};c3("ES5",{J:function(s,l){var u=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=F1(y);delete S[K];for(var L=xr(S),O=0;O<L.length;O++){var N=L[O];S[N]=e(N,g||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(y),S)})(u,s),h={i:u?5:4,A:l?l.A:Da(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,K,{value:h,writable:!0}),p},S:function(s,l,u){u?rt(l)&&l[K].A===s&&t(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var g=h[K];if(g){var y=g.t,v=g.k,x=g.R,S=g.i;if(S===4)$t(v,(function(I){I!==K&&(y[I]!==void 0||vr(y,I)?x[I]||p(v[I]):(x[I]=!0,vt(g)))})),$t(y,(function(I){v[I]!==void 0||vr(v,I)||(x[I]=!1,vt(g))}));else if(S===5){if(n(g)&&(vt(g),x.length=!0),v.length<y.length)for(var L=v.length;L<y.length;L++)x[L]=!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?o(s):n(s)}})}var I1,io,Va=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",u3=typeof Map<"u",f3=typeof Set<"u",T1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$1=Va?Symbol.for("immer-nothing"):((I1={})["immer-nothing"]=!0,I1),P1=Va?Symbol.for("immer-draftable"):"__$immer_draftable",K=Va?Symbol.for("immer-state"):"__$immer_state";var p3=""+Object.prototype.constructor,xr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,F1=Object.getOwnPropertyDescriptors||function(e){var t={};return xr(e).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)})),t},$a={},so={get:function(e,t){if(t===K)return e;var o=bt(e);if(!vr(o,t))return(function(a,i,s){var l,u=M1(i,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(a.k):void 0})(e,o,t);var n=o[t];return e.I||!De(n)?n:n===Ta(e.t,t)?(Pa(e),e.o[t]=Ba(e.A.h,n,e)):n},has:function(e,t){return t in bt(e)},ownKeys:function(e){return Reflect.ownKeys(bt(e))},set:function(e,t,o){var n=M1(bt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Ta(bt(e),t),i=a?.[K];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(U1(o,a)&&(o!==void 0||vr(e.t,t)))return!0;Pa(e),vt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Ta(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Pa(e),vt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=bt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Le(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Le(12)}},ao={};$t(so,(function(e,t){ao[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ao.deleteProperty=function(e,t){return ao.set.call(this,e,t,void 0)},ao.set=function(e,t,o){return so.set.call(this,e[0],t,o,e[0])};var m3=(function(){function e(o){var n=this;this.O=T1,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var u=n;return function(S){var L=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 u.produce(S,(function(I){var $;return($=i).call.apply($,[L,I].concat(N))}))}}var p;if(typeof i!="function"&&Le(6),s!==void 0&&typeof s!="function"&&Le(7),De(a)){var h=_1(n),g=Ba(n,a,void 0),y=!0;try{p=i(g),y=!1}finally{y?tn(h):Ua(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(S){return ka(h,s),Ia(S,h)}),(function(S){throw tn(h),S})):(ka(h,s),Ia(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===$1&&(p=void 0),n.D&&Wa(p,!0),s){var v=[],x=[];Ve("Patches").M(a,p,v,x),s(v,x)}return p}Le(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 n.produceWithPatches(p,(function(v){return a.apply(void 0,[v].concat(g))}))};var s,l,u=n.produce(a,i,(function(p,h){s=p,l=h}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,s,l]})):[u,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){De(o)||Le(8),rt(o)&&(o=d3(o));var n=_1(this),a=Ba(this,o,void 0);return a[K].C=!0,Ua(n),a},t.finishDraft=function(o,n){var a=o&&o[K],i=a.A;return ka(i,n),Ia(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!T1&&Le(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Ve("Patches").$;return rt(o)?s(o,n):this.produce(o,(function(l){return s(l,n)}))},e})(),xe=new m3,h3=xe.produce,k7=xe.produceWithPatches.bind(xe),I7=xe.setAutoFreeze.bind(xe),T7=xe.setUseProxies.bind(xe),P7=xe.applyPatches.bind(xe),D7=xe.createDraft.bind(xe),U7=xe.finishDraft.bind(xe),nn=h3;function Ft(e){"@babel/helpers - typeof";return Ft=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},Ft(e)}function G1(e,t){if(Ft(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Ft(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function H1(e){var t=G1(e,"string");return Ft(t)=="symbol"?t:t+""}function W1(e,t,o){return(t=H1(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function j1(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ka(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?j1(Object(o),!0).forEach(function(n){W1(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):j1(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function le(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 V1=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),qa=function(){return Math.random().toString(36).substring(7).split("").join(".")},an={INIT:"@@redux/INIT"+qa(),REPLACE:"@@redux/REPLACE"+qa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qa()}};function g3(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 Za(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(le(1));return o(Za)(e,t)}if(typeof e!="function")throw new Error(le(2));var a=e,i=t,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function h(){if(u)throw new Error(le(3));return i}function g(S){if(typeof S!="function")throw new Error(le(4));if(u)throw new Error(le(5));var L=!0;return p(),l.push(S),function(){if(L){if(u)throw new Error(le(6));L=!1,p();var N=l.indexOf(S);l.splice(N,1),s=null}}}function y(S){if(!g3(S))throw new Error(le(7));if(typeof S.type>"u")throw new Error(le(8));if(u)throw new Error(le(9));try{u=!0,i=a(i,S)}finally{u=!1}for(var L=s=l,O=0;O<L.length;O++){var N=L[O];N()}return S}function v(S){if(typeof S!="function")throw new Error(le(10));a=S,y({type:an.REPLACE})}function x(){var S,L=g;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(le(11));function z(){N.next&&N.next(h())}z();var I=L(z);return{unsubscribe:I}}},S[V1]=function(){return this},S}return y({type:an.INIT}),n={dispatch:y,subscribe:g,getState:h,replaceReducer:v},n[V1]=x,n}function y3(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:an.INIT});if(typeof n>"u")throw new Error(le(12));if(typeof o(void 0,{type:an.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function K1(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{y3(o)}catch(u){l=u}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],L=o[S],O=p[S],N=L(O,h);if(typeof N>"u"){var z=h&&h.type;throw new Error(le(14))}v[S]=N,y=y||N!==O}return y=y||i.length!==Object.keys(p).length,y?v:p}}function Cr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function q1(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(le(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(u){return u(s)});return i=Cr.apply(void 0,l)(a.dispatch),Ka(Ka({},a),{},{dispatch:i})}}}function Z1(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Y1=Z1();Y1.withExtraArgument=Z1;var Ya=Y1;var t2=(function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),b3=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,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 u([p,h])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=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 o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Er=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},v3=Object.defineProperty,x3=Object.defineProperties,S3=Object.getOwnPropertyDescriptors,X1=Object.getOwnPropertySymbols,C3=Object.prototype.hasOwnProperty,E3=Object.prototype.propertyIsEnumerable,Q1=function(e,t,o){return t in e?v3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},xt=function(e,t){for(var o in t||(t={}))C3.call(t,o)&&Q1(e,o,t[o]);if(X1)for(var n=0,a=X1(t);n<a.length;n++){var o=a[n];E3.call(t,o)&&Q1(e,o,t[o])}return e},Xa=function(e,t){return x3(e,S3(t))},A3=function(e,t,o){return new Promise(function(n,a){var i=function(u){try{l(o.next(u))}catch(p){a(p)}},s=function(u){try{l(o.throw(u))}catch(p){a(p)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,s)};l((o=o.apply(e,t)).next())})};var L3=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Cr:Cr.apply(null,arguments)},rg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function O3(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function St(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return xt(xt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}var R3=(function(e){t2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Er([void 0],o[0].concat(this)))):new(t.bind.apply(t,Er([void 0],o.concat(this))))},t})(Array),w3=(function(e){t2(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Er([void 0],o[0].concat(this)))):new(t.bind.apply(t,Er([void 0],o.concat(this))))},t})(Array);function ei(e){return De(e)?nn(e,function(){}):e}function N3(e){return typeof e=="boolean"}function _3(){return function(t){return z3(t)}}function z3(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,u=l===void 0?!0:l,p=new R3;if(o&&(N3(o)?p.push(Ya):p.push(Ya.withExtraArgument(o.extraArgument))),0){if(a)var h;if(s)var g;if(u)var y}return p}var Qa=!0;function r2(e){var t=_3(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,g=o.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(O3(a))v=K1(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),!Qa&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Qa&&x.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=q1.apply(void 0,x),L=Cr;u&&(L=L3(xt({trace:!Qa},typeof u=="object"&&u)));var O=new w3(S),N=O;Array.isArray(y)?N=Er([S],y):typeof y=="function"&&(N=y(O));var z=L.apply(void 0,N);return Za(v,h,z)}function o2(e){var t={},o=[],n,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 o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function M3(e){return typeof e=="function"}function k3(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?o2(t):[t,o,n],i=a[0],s=a[1],l=a[2],u;if(M3(e))u=function(){return ei(e())};else{var p=ei(e);u=function(){return p}}function h(g,y){g===void 0&&(g=u());var v=Er([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(rt(x)){var L=x,O=S(L,y);return O===void 0?x:O}else{if(De(x))return nn(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=u,h}function I3(e,t){return e+"/"+t}function n2(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:ei(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var g=n[h],y=I3(t,h),v,x;"reducer"in g?(v=g.reducer,x=g.prepare):v=g,i[h]=v,s[y]=v,l[h]=x?St(y,x):St(y)});function u(){var h=typeof e.extraReducers=="function"?o2(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,v=h[1],x=v===void 0?[]:v,S=h[2],L=S===void 0?void 0:S,O=xt(xt({},y),s);return k3(o,function(N){for(var z in O)N.addCase(z,O[z]);for(var I=0,$=x;I<$.length;I++){var V=$[I];N.addMatcher(V.matcher,V.reducer)}L&&N.addDefaultCase(L)})}var p;return{name:t,reducer:function(h,g){return p||(p=u()),p(h,g)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var T3="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",P3=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=T3[Math.random()*64|0];return t},D3=["name","message","stack","code"],Ja=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),J1=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),U3=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=D3;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},ig=(function(){function e(t,o,n){var a=St(t+"/fulfilled",function(h,g,y,v){return{payload:h,meta:Xa(xt({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=St(t+"/pending",function(h,g,y){return{payload:void 0,meta:Xa(xt({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=St(t+"/rejected",function(h,g,y,v,x){return{payload:v,error:(n&&n.serializeError||U3)(h||"Rejected"),meta:Xa(xt({},x||{}),{arg:y,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,u=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=n?.idGenerator?n.idGenerator(h):P3(),S=new u,L,O=!1;function N(I){L=I,S.abort()}var z=(function(){return A3(this,null,function(){var I,$,V,$e,Lt,Fe,ye;return b3(this,function(Ce){switch(Ce.label){case 0:return Ce.trys.push([0,4,,5]),$e=(I=n?.condition)==null?void 0:I.call(n,h,{getState:y,extra:v}),$3($e)?[4,$e]:[3,2];case 1:$e=Ce.sent(),Ce.label=2;case 2:if($e===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,Lt=new Promise(function(be,Ot){return S.signal.addEventListener("abort",function(){return Ot({name:"AbortError",message:L||"Aborted"})})}),g(i(x,h,($=n?.getPendingMeta)==null?void 0:$.call(n,{requestId:x,arg:h},{getState:y,extra:v}))),[4,Promise.race([Lt,Promise.resolve(o(h,{dispatch:g,getState:y,extra:v,requestId:x,signal:S.signal,abort:N,rejectWithValue:function(be,Ot){return new Ja(be,Ot)},fulfillWithValue:function(be,Ot){return new J1(be,Ot)}})).then(function(be){if(be instanceof Ja)throw be;return be instanceof J1?a(be.payload,x,h,be.meta):a(be,x,h)})])];case 3:return V=Ce.sent(),[3,5];case 4:return Fe=Ce.sent(),V=Fe instanceof Ja?s(null,x,h,Fe.payload,Fe.meta):s(Fe,x,h),[3,5];case 5:return ye=n&&!n.dispatchConditionRejection&&s.match(V)&&V.meta.condition,ye||g(V),[2,V]}})})})();return Object.assign(z,{abort:N,requestId:x,arg:h,unwrap:function(){return z.then(B3)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function B3(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function $3(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var a2="listener",i2="completed",s2="cancelled",sg="task-"+s2,cg="task-"+i2,lg=a2+"-"+s2,dg=a2+"-"+i2;var ti="listenerMiddleware";var ug=St(ti+"/add"),fg=St(ti+"/removeAll"),pg=St(ti+"/remove");var e2,mg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(e2||(e2=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},F3=function(e){return function(t){setTimeout(t,e)}},hg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:F3(10);B1();var G3=Zo(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}),sn=class extends G3(Object){};window.ftReduxStores||(window.ftReduxStores={});var c2=class e extends sn{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(en(i))return i;if(a==null)return;let s=n2({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=r2({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=ro(s.getInitialState());for(let g of p.keeping)h[g]=(u??h)[g];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Yo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let u=s,p=i[u];return p?(...h)=>{let g=p(...h.map(a));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[u]:a(h)})}}}),this.eventBus=n??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 cn=class{static format(t,o,n,a,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a,!!i)):this.getIntlDateTime(t,o,n,a,!!i)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return i?u:a?`${l} ${u}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var ln=C(T()),H3="ft-app-info",Ar=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ar.eventName="authentication-change";var co=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};co.eventName="ui-locale-changed";var W3={session:(e,t)=>{(0,ln.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>D.dispatchEvent(new Ar(t.payload)),0))}},D=ln.FtReduxStore.get({name:H3,reducers:W3,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 l2=C(T()),dn=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Hg=(0,l2.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(D)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>cn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return dn([(0,ri.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),dn([(0,ri.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),dn([Ma({store:D.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),dn([Ma({store:D.name})],t.prototype,"uiLocale",void 0),t});var d2;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(d2||(d2={}));var u2;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(u2||(u2={}));var f2;(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"})(f2||(f2={}));var p2;(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"})(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"})(m2||(m2={}));var h2;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(h2||(h2={}));var g2;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(g2||(g2={}));var y2;(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"})(y2||(y2={}));var b2;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(b2||(b2={}));var v2;(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"})(v2||(v2={}));var x2;(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"})(x2||(x2={}));var S2;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(S2||(S2={}));var C2;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(C2||(C2={}));var E2;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(E2||(E2={}));var A2;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(A2||(A2={}));var L2;(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"})(L2||(L2={}));var O2;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(O2||(O2={}));var R2;(function(e){e.ASC="ASC",e.DESC="DESC"})(R2||(R2={}));var w2;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(w2||(w2={}));var N2;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(N2||(N2={}));var _2;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(_2||(_2={}));var z2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(z2||(z2={}));var M2;(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"})(M2||(M2={}));var k2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(k2||(k2={}));var I2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(I2||(I2={}));var T2;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(T2||(T2={}));var P2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(P2||(P2={}));var oe;(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"})(oe||(oe={}));var Oe;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Oe||(Oe={}));var D2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D2||(D2={}));var U2;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(U2||(U2={}));var B2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(B2||(B2={}));var $2;(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"})($2||($2={}));var F2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(F2||(F2={}));var G2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(G2||(G2={}));var H2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(H2||(H2={}));var W2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(W2||(W2={}));var j2;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(j2||(j2={}));var V2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(V2||(V2={}));var K2;(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"})(K2||(K2={}));var q2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(q2||(q2={}));var j3={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN,oe.BEHAVIOR_DATA_USER],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Z2(e,t){return e===t||(j3[e]??[]).some(o=>Z2(o,t))}function Y2(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(n=>Z2(n,t))}var hn=C(T());var oi=C(T());var Gt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=D.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var Lr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Gt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Gt.await()}};var Se=class extends Lr{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[u])=>l.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new oi.CacheRegistry,this.cache=t?a.commonCache:new oi.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var un=class extends Se{async listMySearches(){let{session:t}=D.getState();return Y2(t,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var fn=class extends Se{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 pn=class extends Se{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 mn=class extends Se{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 V3="ft-user-assets",K3={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(Oe).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;ai(e,o,[...ni(e,o),a]),X2(e,o,1,n),Q2(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;ai(e,o,ni(e,o).map(a=>a.id===n.id?n:a)),Q2(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;ai(e,o,ni(e,o).filter(i=>i.id!==a)),X2(e,o,-1,n)}},J2={[Oe.SEARCHES]:"savedSearches",[Oe.BOOKMARKS]:"bookmarks",[Oe.BOOKS]:void 0,[Oe.COLLECTIONS]:void 0},ni=(e,t)=>{var o;let n=J2[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},ai=(e,t,o)=>{let n=J2[t];n&&(e[n]=o)},X2=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===Oe.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+o)}},Q2=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},fe=hn.FtReduxStore.get({name:V3,reducers:K3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Oe).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ii=class{constructor(t=new pn,o=new mn){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new fn,this.savedSearchesService=new un,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=D.getState();(0,hn.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),fe.actions.clearAssetCount(),fe.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fe.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fe.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();fe.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();fe.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&fe.getState().assetCounts.allAsset[t]!==o.count&&fe.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&fe.getState().assetCounts.bookmarkByMap[t]!==o.count&&fe.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(fe.getState().assetCounts.bookmarkByMap).length!==0;t===Oe.BOOKMARKS&&o&&fe.actions.clearBookmarkCountByMap(),fe.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 o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fe.actions.bookmarks(o)}}},q3=new ii;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=q3);var si=class{addCommand(t,o=!1){D.commands.add(t,o)}consumeCommand(t){return D.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new si;var Re=C(T());var e0,Or=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Z3=Symbol("clearAfterUnitTest"),gn=class extends(0,Re.withEventBus)(Se){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[e0]=()=>{this.defaultMessages={},this.cache=new Re.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 o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Re.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Re.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof Re.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Or({loadedContexts:t})),this.dispatchEvent(new Or({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Or({loadedContexts:[t]})),this.dispatchEvent(new Or({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Re.delay)(0).then(()=>n()).catch(()=>null)))}};e0=Z3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends gn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends gn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Rr=window.FluidTopicsI18nService,yn=window.FluidTopicsCustomI18nService;var t0=C(T()),ci=class{highlightHtml(t,o,n){(0,t0.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ci;var r0=C(T());var li=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i,s;if(t==null)return"";try{return r0.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1,(s=o?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new li;var o0=C(T());var lo=class{static get(t,o){var n,a,i,s;let l=D.getState(),{lang:u,region:p}=(i=(a=(n=l.localesConfiguration)===null||n===void 0?void 0:n.defaultLocales)===null||a===void 0?void 0:a.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new o0.SearchPlaceConverter(l.baseUrl,t??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,o??`${u}-${p}`)}};var di=class{urlToSearchRequest(t){return lo.get().parse(t)}searchRequestToUrl(t){return lo.get().serialize(t)}};window.FluidTopicsUrlService=new di;var ot=C(T());var Ht=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Ht.eventName="change";var ui=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},n0=new ui;var bn=class e extends ot.WithEventBus{static build(){return new e(window.history,n0,()=>window.location,!1)}constructor(t,o,n,a){var i,s;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,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,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ot.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ht(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,s,l])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.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 o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Ht.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Ht.eventName,t)}currentItem(){return(0,ot.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,ot.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,ot.deepCopy)(o.find(n=>t(n)))}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,ot.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 o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=bn.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 a0=C(F());var i0=a0.css`
|
|
1952
|
+
`;var l0=C(F()),ge=C(ne()),Vt=C(T());var Wt=C(T());function s0(e,t){let{authenticationRequired:o,session:n}=D.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var vn=class extends Lr{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var fi=class e extends Wt.FtStateManager{static build(t){return new e(D,t)}constructor(t,o){super(),this.store=t,this.cache=new Wt.CacheRegistry,this.withManualResources=!0,this.userLocaleService=new vn,this.cleanSessionDebouncer=new Wt.Debouncer,this.reloadDebouncer=new Wt.Debouncer(500),this.apiProvider=o??(()=>Gt.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(Ar.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 o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},o.idleTimeoutInMillis),o});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 o=await this.cache.get("availableContentLocales",()=>s0(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=o.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(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new co(o)))}).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)}},c0=fi.build();var jt=class extends Event{constructor(t,o,n,a){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=o,this.callback=n,this.subscribe=a??!1}};var uo=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let o=this.pendingContextRequests.get(t.context);if(o===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:n}=o;for(let{elementRef:a,callbackRef:i}of n){let s=a.deref(),l=i.deref();s===void 0||l===void 0||s.dispatchEvent(new jt(t.context,s,l,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let o=t.contextTarget??t.composedPath()[0],n=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(o);i===void 0&&a.callbacks.set(o,i=new WeakSet),i.has(n)||(i.add(n),a.requests.push({elementRef:new WeakRef(o),callbackRef:new WeakRef(n)}))}}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,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},q=class extends Vt.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=c0,this.contextRoot=new uo}render(){return l0.html`
|
|
1953
1953
|
<slot></slot>
|
|
1954
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var o;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(n=>Rr.addContext(n)),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")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};
|
|
1954
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var o;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(n=>Rr.addContext(n)),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")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};q.elementDefinitions={};q.styles=i0;se([(0,ge.property)()],q.prototype,"baseUrl",void 0);se([(0,ge.property)()],q.prototype,"tenantId",void 0);se([(0,ge.property)()],q.prototype,"apiIntegrationIdentifier",void 0);se([(0,ge.property)()],q.prototype,"apiIntegrationAppVersion",void 0);se([(0,ge.property)()],q.prototype,"uiLocale",void 0);se([(0,Vt.jsonProperty)(null)],q.prototype,"availableUiLocales",void 0);se([(0,Vt.jsonProperty)(null)],q.prototype,"metadataConfiguration",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"editorMode",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"noCustom",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"openExternalDocumentInNewTab",void 0);se([(0,ge.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],q.prototype,"noCustomComponent",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"withManualResources",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"navigatorOnline",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"forcedOffline",void 0);se([(0,ge.property)({type:Boolean})],q.prototype,"authenticationRequired",void 0);se([(0,Vt.jsonProperty)([])],q.prototype,"messageContexts",void 0);se([(0,Vt.jsonProperty)(void 0)],q.prototype,"session",void 0);var u0=C(T());var d0={"ft-app-context":q};(0,u0.customElements)(d0);var f0=C(ne());var pi=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[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},wr=new pi;var Q3=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},po=Symbol("i18nAttributes"),p0=Symbol("i18nListAttributes"),m0=Symbol("i18nProperties"),xn=Symbol("i18nContexts"),fo=Symbol("i18nUnsubs"),En=(0,Nr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?yn:Rr}i18n(i){let{context:s,key:l,message:u}=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 u}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(wr.isI18nKey(i)){let[l,u]=i.split(".");return this.i18n({custom:!0,context:l,key:u,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,l,u)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,u)=>{var p;return((p=u?.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 u=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[po])===null||s===void 0||s.forEach((h,g)=>u[g]=p(h,g,u[g])),(l=this[p0])===null||l===void 0||l.forEach((h,g)=>{var y;return u[g]=(y=u[g])===null||y===void 0?void 0:y.map(v=>p(h,g,v))})}updateI18nProperties(i){var s;(s=this[m0])===null||s===void 0||s.forEach((l,u)=>{i(l,u)&&(this[u]=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 u=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[xn].set(u,{isCustomContext:l}),this[fo].has(u)||this[fo].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,s)}hasI18nContext(i){return this[xn].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[xn].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[fo].forEach(i=>i()),this[fo].clear()}}return t=xn,o=fo,Q3([(0,f0.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Sn=class extends En(Nr.FtLitElement){},Cn=class extends En(Nr.FtLitElementRedux){};var h0=C(T());var mi=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?wr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},J3=new mi;var g0=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:h0.hasChanged,converter:wr,...t}),o[po]=(a=o[po])!==null&&a!==void 0?a:new Map,o[po].set(n,e??{})};var An=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?yn:Rr}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var y0=C(F());var b0=y0.css`
|
|
1955
1955
|
`;var Ln=C(F()),On=C(ne()),Rn=C(T());var mo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Ue=class extends Cn{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ln.nothing:Ln.html`
|
|
1956
1956
|
<span class="ft-i18n">
|
|
1957
1957
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
@@ -1981,7 +1981,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1981
1981
|
text-decoration: ${o.textDecoration};
|
|
1982
1982
|
text-transform: ${o.textCase};
|
|
1983
1983
|
}
|
|
1984
|
-
`}var A0=[Object.keys(Mn).map(e=>ep(e))];var X;(function(e){e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(X||(X={}));var hi=C(ne()),O0=C(T());var L0=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},
|
|
1984
|
+
`}var A0=[Object.keys(Mn).map(e=>ep(e))];var X;(function(e){e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(X||(X={}));var hi=C(ne()),O0=C(T());var L0=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ce=class extends O0.FtLitElement{constructor(){super(...arguments),this.variant=X.body2medium}render(){return this.element?rr`
|
|
1985
1985
|
<${tr(this.element)}
|
|
1986
1986
|
part="text"
|
|
1987
1987
|
class="ftds-typography ftds-typography--${this.variant}">
|
|
@@ -1989,7 +1989,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1989
1989
|
</${tr(this.element)}>
|
|
1990
1990
|
`:rr`
|
|
1991
1991
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
1992
|
-
`}};
|
|
1992
|
+
`}};ce.styles=[...A0];L0([(0,hi.property)()],ce.prototype,"element",void 0);L0([(0,hi.property)()],ce.prototype,"variant",void 0);var w0=C(T());var R0={"ftds-typography":ce};(0,w0.customElements)(R0);var ho=e=>e??re;var gi=C(Rt());var Z=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},U=class extends(0,_e.toFtFormComponent)((0,_e.toFtdsBase)(_e.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 ue.large:return X.body2medium;case ue.medium:return X.caption1medium;case ue.small:return X.caption2medium;default:return X.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=st.brand,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=Ct.html`
|
|
1993
1993
|
<ft-ripple part="ripple"
|
|
1994
1994
|
?disabled=${this.isDisabled()}
|
|
1995
1995
|
?activated=${this.activated}
|
|
@@ -2031,7 +2031,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2031
2031
|
<ftds-icon part="icon" .variant=${this.iconVariant} .icon=${this.icon}></ftds-icon>
|
|
2032
2032
|
`:Ct.html`
|
|
2033
2033
|
<slot part="icon" name="icon"></slot>
|
|
2034
|
-
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}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,_e.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":
|
|
2034
|
+
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}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,_e.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":Y,"ft-tooltip":ee,"ftds-icon":pe,"ft-loader":zt,"ftds-typography":ce};U.styles=[_e.safariEllipsisFix,tl];Z([(0,W.property)({type:Boolean})],U.prototype,"primary",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"secondary",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"tertiary",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"round",void 0);Z([(0,W.property)()],U.prototype,"href",void 0);Z([(0,W.property)()],U.prototype,"target",void 0);Z([(0,W.property)()],U.prototype,"type",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"disabled",void 0);Z([(0,W.property)()],U.prototype,"label",void 0);Z([(0,W.property)()],U.prototype,"icon",void 0);Z([(0,W.property)()],U.prototype,"iconVariant",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"loading",void 0);Z([(0,W.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);Z([(0,W.property)()],U.prototype,"ariaHasPopup",void 0);Z([(0,W.property)({attribute:"aria-pressed"})],U.prototype,"ariaPressed",void 0);Z([(0,W.property)()],U.prototype,"tooltipPosition",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);Z([(0,W.property)({type:Boolean})],U.prototype,"activated",void 0);Z([(0,W.query)(".ftds-button")],U.prototype,"button",void 0);Z([(0,W.query)(".ftds-button--label slot")],U.prototype,"slottedContent",void 0);Z([(0,W.query)("[part=tooltip]")],U.prototype,"tooltip",void 0);var _0=C(T());var N0={"ftds-button":U};(0,_0.customElements)(N0);var M0=[z0.css`
|
|
2035
2035
|
:host {
|
|
2036
2036
|
display: inline-block;
|
|
2037
2037
|
max-width: 100%;
|
|
@@ -2225,7 +2225,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2225
2225
|
></ftds-button>
|
|
2226
2226
|
`:this.withAction?Et.html`
|
|
2227
2227
|
<slot name="action"></slot>
|
|
2228
|
-
`:Et.nothing}resolveButtonSize(){return this.size===ue.large?ue.medium:ue.small}getLabel(){return this.label||this.getTextContent()}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new yi)}typographyVariant(){return this.size===ue.large?X.body2medium:X.caption1medium}};de.elementDefinitions={"ftds-typography":
|
|
2228
|
+
`:Et.nothing}resolveButtonSize(){return this.size===ue.large?ue.medium:ue.small}getLabel(){return this.label||this.getTextContent()}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new yi)}typographyVariant(){return this.size===ue.large?X.body2medium:X.caption1medium}};de.elementDefinitions={"ftds-typography":ce,"ftds-icon":pe,"ftds-button":U};de.styles=M0;At([(0,Ke.property)({type:Boolean})],de.prototype,"withAction",void 0);At([(0,Ke.property)({type:Boolean})],de.prototype,"removable",void 0);At([(0,Ke.property)({type:Boolean})],de.prototype,"multiLine",void 0);At([(0,Ke.property)()],de.prototype,"removeButtonLabel",void 0);At([(0,Ke.property)()],de.prototype,"label",void 0);At([(0,Ke.property)()],de.prototype,"icon",void 0);At([(0,Ke.property)()],de.prototype,"iconVariant",void 0);At([(0,Ke.query)("ftds-typography slot")],de.prototype,"slottedContent",void 0);var T0=C(T());var I0={"ftds-chip":de};(0,T0.customElements)(I0);var ze=C(F()),j=C(ne()),zr=C(T());var go;(function(e){e.default="default",e.dense="dense"})(go||(go={}));var P0=C(F());var D0=P0.css`
|
|
2229
2229
|
:host {
|
|
2230
2230
|
position: relative;
|
|
2231
2231
|
display: inline-block;
|
|
@@ -2389,7 +2389,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2389
2389
|
<div part="popover-sections">
|
|
2390
2390
|
<slot name="sections" part="popover-sections-slot"></slot>
|
|
2391
2391
|
</div>
|
|
2392
|
-
`}hideUnusedSlots(){var t,o,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(o=this.popoverContentDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}hasEmptySlot(t){return(0,zr.unslotText)(t).trim().length===0}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}closeAndFocusOpeningButton(){var t;this.close(),(t=this.openingElement)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&this.openingElement instanceof U&&this.openingElement.showTooltip()}async positionWrapper(){var t,o;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingElement){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:this.maxWidth},{x:s,y:l}=await(0,zr.computeOffsetAutoPosition)(this.openingElement,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.closingButton)===null||o===void 0||o.showTooltip())}};B.styles=D0;B.elementDefinitions={"ftds-typography":
|
|
2392
|
+
`}hideUnusedSlots(){var t,o,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(o=this.popoverContentDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}hasEmptySlot(t){return(0,zr.unslotText)(t).trim().length===0}updated(t){super.updated(t),t.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}closeAndFocusOpeningButton(){var t;this.close(),(t=this.openingElement)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&this.openingElement instanceof U&&this.openingElement.showTooltip()}async positionWrapper(){var t,o;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingElement){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:this.maxWidth},{x:s,y:l}=await(0,zr.computeOffsetAutoPosition)(this.openingElement,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((o=this.closingButton)===null||o===void 0||o.showTooltip())}};B.styles=D0;B.elementDefinitions={"ftds-typography":ce,"ftds-button":U};Q([(0,j.property)()],B.prototype,"closeButtonLabel",void 0);Q([(0,j.property)()],B.prototype,"openButtonIcon",void 0);Q([(0,j.property)()],B.prototype,"openButtonIconVariant",void 0);Q([(0,j.property)()],B.prototype,"openButtonLabel",void 0);Q([(0,j.property)()],B.prototype,"openButtonTooltipPosition",void 0);Q([(0,j.property)({type:Boolean})],B.prototype,"opened",void 0);Q([(0,j.property)({type:Boolean})],B.prototype,"hidden",void 0);Q([(0,j.property)({type:ue})],B.prototype,"openButtonSize",void 0);Q([(0,j.property)({type:st})],B.prototype,"openButtonFamily",void 0);Q([(0,j.state)()],B.prototype,"isTriggerSlotAssigned",void 0);Q([(0,j.property)()],B.prototype,"heading",void 0);Q([(0,j.property)()],B.prototype,"margins",void 0);Q([(0,j.query)('[part="wrapper"]')],B.prototype,"popoverWrapper",void 0);Q([(0,j.query)('slot[name="trigger"]')],B.prototype,"triggerSlot",void 0);Q([(0,j.query)('[part="opening-button"]')],B.prototype,"openingButton",void 0);Q([(0,j.query)('[part="closing-button"]')],B.prototype,"closingButton",void 0);Q([(0,j.query)('[part="content"]')],B.prototype,"popoverContentDiv",void 0);Q([(0,j.query)('[part="popover-content-slot"]')],B.prototype,"popoverContentSlot",void 0);Q([(0,j.query)('[part="popover-link"]')],B.prototype,"slottedLinkContent",void 0);Q([(0,j.query)('[part="popover-link-typography"]')],B.prototype,"popoverLinkTypography",void 0);Q([(0,j.query)('[part="popover-sections"]')],B.prototype,"popoverSectionsDiv",void 0);Q([(0,j.query)('[part="popover-sections-slot"]')],B.prototype,"popoverSectionsSlot",void 0);var yo=C(F()),bo=C(ne()),_n=C(T());var U0=C(F());var B0=U0.css`
|
|
2393
2393
|
.ftds-popover-section--heading ftds-typography {
|
|
2394
2394
|
flex-grow: 1;
|
|
2395
2395
|
flex-shrink: 1;
|
|
@@ -2428,7 +2428,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2428
2428
|
<div class="ftds-popover-section--heading" part="heading" id="ftds-popover-section-heading">
|
|
2429
2429
|
<ftds-typography element="span" variant="${X.body2semibold}">${this.heading}</ftds-typography>
|
|
2430
2430
|
</div>
|
|
2431
|
-
`:yo.nothing}updated(t){super.updated(t),this.popoverSectionLinkTypography.hidden=(0,_n.unslotText)(this.popoverSectionLinkSlot).trim().length===0}};nt.elementDefinitions={"ftds-typography":
|
|
2431
|
+
`:yo.nothing}updated(t){super.updated(t),this.popoverSectionLinkTypography.hidden=(0,_n.unslotText)(this.popoverSectionLinkSlot).trim().length===0}};nt.elementDefinitions={"ftds-typography":ce};nt.styles=B0;vi([(0,bo.property)()],nt.prototype,"heading",void 0);vi([(0,bo.query)("[part=popover-section-link-typography]")],nt.prototype,"popoverSectionLinkTypography",void 0);vi([(0,bo.query)("[part=popover-section-link]")],nt.prototype,"popoverSectionLinkSlot",void 0);var F0=C(T());var $0={"ftds-popover":B,"ftds-popover-section":nt};(0,F0.customElements)($0);var H0=C(Rt());var vo=An.build("ftdsChipGroup"),G0={defaultRemoveLabel:"Remove",showMoreChipAriaLabel:"{0} more","showMoreChipAriaLabel[\\=1]":"1 more","showMorePopoverTitle[\\=1]":"1 more value",showMorePopoverTitle:"{0} more values"};var Mr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Me=class extends En(at.FtdsBase){constructor(){super(),this.removable=!1,this.popoverTitle="",this.chips=[],this.isPopoverOpened=!1,this.addI18nContext(vo,G0)}updated(t){super.updated(t),t.has("chips")&&this.lastRemovedChipIndex!==void 0&&(this.handleFocusOnChipDeleted(this.lastRemovedChipIndex),this.lastRemovedChipIndex=void 0)}render(){let t=this.maxNumberOfChips!==void 0?this.chips.slice(0,this.maxNumberOfChips):this.chips,o=this.chips.length-t.length;return zn.html`
|
|
2432
2432
|
<ul>
|
|
2433
2433
|
${(0,xi.repeat)(t,n=>n.value,n=>this.renderChip(n))}
|
|
2434
2434
|
${o>0?this.renderExtraChipsPopover(o):""}
|
|
@@ -2476,7 +2476,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2476
2476
|
</ftds-chip>
|
|
2477
2477
|
</ft-tooltip>
|
|
2478
2478
|
</li>
|
|
2479
|
-
`}onChipRemoved(t){this.lastRemovedChipIndex=this.chips.findIndex(o=>o.value===t.value),this.dispatchEvent(new kr(t))}handleFocusOnChipDeleted(t){var o;let n=Array.from((o=this.allChips)!==null&&o!==void 0?o:[]);n.length!==0&&(n[t]?this.focusChip(n[t]):this.focusChip(n[t-1]))}async focusChip(t){var o;await t.updateComplete;let n=(o=t.shadowRoot)===null||o===void 0?void 0:o.querySelector(".ftds-chip--remove-button");await n?.updateComplete,n?.focus()}toggleExtraChips(t){this.isPopoverOpened=t.detail.opened}getFamilyIcon(t){if(t===at.DesignSystemFamily.warning)return m.TRIANGLE_EXCLAMATION}};Me.elementDefinitions={"ftds-chip":de,"ftds-popover":B,"ftds-typography":
|
|
2479
|
+
`}onChipRemoved(t){this.lastRemovedChipIndex=this.chips.findIndex(o=>o.value===t.value),this.dispatchEvent(new kr(t))}handleFocusOnChipDeleted(t){var o;let n=Array.from((o=this.allChips)!==null&&o!==void 0?o:[]);n.length!==0&&(n[t]?this.focusChip(n[t]):this.focusChip(n[t-1]))}async focusChip(t){var o;await t.updateComplete;let n=(o=t.shadowRoot)===null||o===void 0?void 0:o.querySelector(".ftds-chip--remove-button");await n?.updateComplete,n?.focus()}toggleExtraChips(t){this.isPopoverOpened=t.detail.opened}getFamilyIcon(t){if(t===at.DesignSystemFamily.warning)return m.TRIANGLE_EXCLAMATION}};Me.elementDefinitions={"ftds-chip":de,"ftds-popover":B,"ftds-typography":ce,"ft-tooltip":ee};Me.styles=Wi;Mr([(0,Kt.property)({type:Boolean})],Me.prototype,"removable",void 0);Mr([(0,at.numberProperty)()],Me.prototype,"maxNumberOfChips",void 0);Mr([(0,Kt.property)()],Me.prototype,"popoverTitle",void 0);Mr([(0,at.jsonProperty)([])],Me.prototype,"chips",void 0);Mr([(0,Kt.state)()],Me.prototype,"isPopoverOpened",void 0);Mr([(0,Kt.queryAll)(".chip-group-chip")],Me.prototype,"allChips",void 0);var W0={"ftds-chip-group":Me};(0,j0.customElements)(W0);})();
|
|
2480
2480
|
/*! Bundled license information:
|
|
2481
2481
|
|
|
2482
2482
|
@fortawesome/fontawesome-svg-core/index.mjs:
|