@fluid-topics/ftds-tabs 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-tabs.light.js +10 -10
- package/build/ftds-tabs.min.js +21 -21
- package/package.json +8 -8
package/build/ftds-tabs.light.js
CHANGED
|
@@ -1204,10 +1204,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1204
1204
|
margin: auto;
|
|
1205
1205
|
position: absolute;
|
|
1206
1206
|
z-index: var(--fa-stack-z-index, auto);
|
|
1207
|
-
}`;function Ws(){var e=Ps,t=Ds,n=R.cssPrefix,a=R.replacementClass,o=Ed;if(n!==e||a!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(l,".".concat(a))}return o}var Di=!1;function oa(){R.autoAddCss&&!Di&&(bd(Ws()),Di=!0)}var Ad={mixout:function(){return{dom:{css:Ws,insertCss:oa}}},hooks:function(){return{beforeDOMElementCreation:function(){oa()},beforeI2svg:function(){oa()}}}},Ie=Ke||{};Ie[Te]||(Ie[Te]={});Ie[Te].styles||(Ie[Te].styles={});Ie[Te].hooks||(Ie[Te].hooks={});Ie[Te].shims||(Ie[Te].shims=[]);var be=Ie[Te],js=[],Vs=function(){P.removeEventListener("DOMContentLoaded",Vs),rn=1,js.map(function(t){return t()})},rn=!1;Pe&&(rn=(P.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(P.readyState),rn||P.addEventListener("DOMContentLoaded",Vs));function Ld(e){Pe&&(rn?setTimeout(e,0):js.push(e))}function yr(e){var t=e.tag,n=e.attributes,a=n===void 0?{}:n,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?$s(e):"<".concat(t," ").concat(xd(a),">").concat(i.map(yr).join(""),"</").concat(t,">")}function Ui(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Od=function(t,n){return function(a,o,i,s){return t.call(n,a,o,i,s)}},ia=function(t,n,a,o){var i=Object.keys(t),s=i.length,l=o!==void 0?Od(n,o):n,u,p,h;for(a===void 0?(u=1,h=t[i[0]]):(u=0,h=a);u<s;u++)p=i[u],h=l(h,t[p],p,t);return h};function Ks(e){return ve(e).length!==1?null:e.codePointAt(0).toString(16)}function Bi(e){return Object.keys(e).reduce(function(t,n){var a=e[n],o=!!a.icon;return o?t[a.iconName]=a.icon:t[n]=a,t},{})}function ga(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.skipHooks,o=a===void 0?!1:a,i=Bi(t);typeof be.hooks.addPack=="function"&&!o?be.hooks.addPack(e,Bi(t)):be.styles[e]=S(S({},be.styles[e]||{}),i),e==="fas"&&ga("fa",t)}var mr=be.styles,Rd=be.shims,qs=Object.keys(wa),wd=qs.reduce(function(e,t){return e[t]=Object.keys(wa[t]),e},{}),za=null,Zs={},Ys={},Xs={},Qs={},Js={};function Nd(e){return~md.indexOf(e)}function _d(e,t){var n=t.split("-"),a=n[0],o=n.slice(1).join("-");return a===e&&o!==""&&!Nd(o)?o:null}var ec=function(){var t=function(i){return ia(mr,function(s,l,u){return s[u]=ia(l,i,{}),s},{})};Zs=t(function(o,i,s){if(i[3]&&(o[i[3]]=s),i[2]){var l=i[2].filter(function(u){return typeof u=="number"});l.forEach(function(u){o[u.toString(16)]=s})}return o}),Ys=t(function(o,i,s){if(o[s]=s,i[2]){var l=i[2].filter(function(u){return typeof u=="string"});l.forEach(function(u){o[u]=s})}return o}),Js=t(function(o,i,s){var l=i[2];return o[s]=s,l.forEach(function(u){o[u]=s}),o});var n="far"in mr||R.autoFetchSvg,a=ia(Rd,function(o,i){var s=i[0],l=i[1],u=i[2];return l==="far"&&!n&&(l="fas"),typeof s=="string"&&(o.names[s]={prefix:l,iconName:u}),typeof s=="number"&&(o.unicodes[s.toString(16)]={prefix:l,iconName:u}),o},{names:{},unicodes:{}});Xs=a.names,Qs=a.unicodes,za=sn(R.styleDefault,{family:R.familyDefault})};yd(function(e){za=sn(e.styleDefault,{family:R.familyDefault})});ec();function Ma(e,t){return(Zs[e]||{})[t]}function zd(e,t){return(Ys[e]||{})[t]}function lt(e,t){return(Js[e]||{})[t]}function tc(e){return Xs[e]||{prefix:null,iconName:null}}function Md(e){var t=Qs[e],n=Ma("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function qe(){return za}var rc=function(){return{prefix:null,iconName:null,rest:[]}};function kd(e){var t=V,n=qs.reduce(function(a,o){return a[o]="".concat(R.cssPrefix,"-").concat(o),a},{});return Ms.forEach(function(a){(e.includes(n[a])||e.some(function(o){return wd[a].includes(o)}))&&(t=a)}),t}function sn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,a=n===void 0?V:n,o=ld[a][e];if(a===hr&&!e)return"fad";var i=Ti[a][e]||Ti[a][o],s=e in be.styles?e:null,l=i||s||null;return l}function Td(e){var t=[],n=null;return e.forEach(function(a){var o=_d(R.cssPrefix,a);o?n=o:a&&t.push(a)}),{iconName:n,rest:t}}function Fi(e){return e.sort().filter(function(t,n,a){return a.indexOf(t)===n})}var Gi=Ts.concat(ks);function cn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,a=n===void 0?!1:n,o=null,i=Fi(e.filter(function(b){return Gi.includes(b)})),s=Fi(e.filter(function(b){return!Gi.includes(b)})),l=i.filter(function(b){return o=b,!ls.includes(b)}),u=an(l,1),p=u[0],h=p===void 0?null:p,g=kd(i),y=S(S({},Td(s)),{},{prefix:sn(h,{family:g})});return S(S(S({},y),Ud({values:e,family:g,styles:mr,config:R,canonical:y,givenPrefix:o})),Id(a,o,y))}function Id(e,t,n){var a=n.prefix,o=n.iconName;if(e||!a||!o)return{prefix:a,iconName:o};var i=t==="fa"?tc(o):{},s=lt(a,o);return o=i.iconName||s||o,a=i.prefix||a,a==="far"&&!mr.far&&mr.fas&&!R.autoFetchSvg&&(a="fas"),{prefix:a,iconName:o}}var Pd=Ms.filter(function(e){return e!==V||e!==hr}),Dd=Object.keys(da).filter(function(e){return e!==V}).map(function(e){return Object.keys(da[e])}).flat();function Ud(e){var t=e.values,n=e.family,a=e.canonical,o=e.givenPrefix,i=o===void 0?"":o,s=e.styles,l=s===void 0?{}:s,u=e.config,p=u===void 0?{}:u,h=n===hr,g=t.includes("fa-duotone")||t.includes("fad"),y=p.familyDefault==="duotone",b=a.prefix==="fad"||a.prefix==="fa-duotone";if(!h&&(g||y||b)&&(a.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab"),!a.prefix&&Pd.includes(n)){var v=Object.keys(l).find(function(C){return Dd.includes(C)});if(v||p.autoFetchSvg){var x=$0.get(n).defaultShortPrefixId;a.prefix=x,a.iconName=lt(a.prefix,a.iconName)||a.iconName}}return(a.prefix==="fa"||i==="fa")&&(a.prefix=qe()||"fas"),a}var Bd=(function(){function e(){i0(this,e),this.definitions={}}return s0(e,[{key:"add",value:function(){for(var n=this,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];var s=o.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){n.definitions[l]=S(S({},n.definitions[l]||{}),s[l]),ga(l,s[l]);var u=wa[V][l];u&&ga(u,s[l]),ec()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,a){var o=a.prefix&&a.iconName&&a.icon?{0:a}:a;return Object.keys(o).map(function(i){var s=o[i],l=s.prefix,u=s.iconName,p=s.icon,h=p[2];n[l]||(n[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(n[l][g]=p)}),n[l][u]=p}),n}}])})(),Hi=[],Nt={},_t={},Fd=Object.keys(_t);function Gd(e,t){var n=t.mixoutsTo;return Hi=e,Nt={},Object.keys(_t).forEach(function(a){Fd.indexOf(a)===-1&&delete _t[a]}),Hi.forEach(function(a){var o=a.mixout?a.mixout():{};if(Object.keys(o).forEach(function(s){typeof o[s]=="function"&&(n[s]=o[s]),tn(o[s])==="object"&&Object.keys(o[s]).forEach(function(l){n[s]||(n[s]={}),n[s][l]=o[s][l]})}),a.hooks){var i=a.hooks();Object.keys(i).forEach(function(s){Nt[s]||(Nt[s]=[]),Nt[s].push(i[s])})}a.provides&&a.provides(_t)}),n}function ya(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];var i=Nt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(a))}),t}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=Nt[e]||[];o.forEach(function(i){i.apply(null,n)})}function Ze(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _t[e]?_t[e].apply(null,t):void 0}function ba(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||qe();if(t)return t=lt(n,t)||t,Ui(nc.definitions,n,t)||Ui(be.styles,n,t)}var nc=new Bd,Hd=function(){R.autoReplaceSvg=!1,R.observeMutations=!1,ut("noAuto")},$d={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Pe?(ut("beforeI2svg",t),Ze("pseudoElements2svg",t),Ze("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;R.autoReplaceSvg===!1&&(R.autoReplaceSvg=!0),R.observeMutations=!0,Ld(function(){jd({autoReplaceSvgRoot:n}),ut("watch",t)})}},Wd={icon:function(t){if(t===null)return null;if(tn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:lt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],a=sn(t[0]);return{prefix:a,iconName:lt(a,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(R.cssPrefix,"-"))>-1||t.match(dd))){var o=cn(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||qe(),iconName:lt(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=qe();return{prefix:i,iconName:lt(i,t)||t}}}},ae={noAuto:Hd,config:R,dom:$d,parse:Wd,library:nc,findIconDefinition:ba,toHtml:yr},jd=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,a=n===void 0?P:n;(Object.keys(be.styles).length>0||R.autoFetchSvg)&&Pe&&R.autoReplaceSvg&&ae.dom.i2svg({node:a})};function ln(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(a){return yr(a)})}}),Object.defineProperty(e,"node",{get:function(){if(Pe){var a=P.createElement("div");return a.innerHTML=e.html,a.children}}}),e}function Vd(e){var t=e.children,n=e.main,a=e.mask,o=e.attributes,i=e.styles,s=e.transform;if(_a(s)&&n.found&&!a.found){var l=n.width,u=n.height,p={x:l/u/2,y:.5};o.style=on(S(S({},i),{},{"transform-origin":"".concat(p.x+s.x/16,"em ").concat(p.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function Kd(e){var t=e.prefix,n=e.iconName,a=e.children,o=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(R.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S(S({},o),{},{id:s}),children:a}]}]}function qd(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function ka(e){var t=e.icons,n=t.main,a=t.mask,o=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=a.found?a:n,b=y.width,v=y.height,x=[R.replacementClass,i?"".concat(R.cssPrefix,"-").concat(i):""].filter(function(I){return p.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(p.classes).join(" "),C={children:[],attributes:S(S({},p.attributes),{},{"data-prefix":o,"data-icon":i,class:x,role:p.attributes.role||"img",viewBox:"0 0 ".concat(b," ").concat(v)})};!qd(p.attributes)&&!p.attributes["aria-hidden"]&&(C.attributes["aria-hidden"]="true"),g&&(C.attributes[dt]="");var E=S(S({},C),{},{prefix:o,iconName:i,main:n,mask:a,maskId:u,transform:s,symbol:l,styles:S({},p.styles)}),O=a.found&&n.found?Ze("generateAbstractMask",E)||{children:[],attributes:{}}:Ze("generateAbstractIcon",E)||{children:[],attributes:{}},w=O.children,z=O.attributes;return E.children=w,E.attributes=z,l?Kd(E):Vd(E)}function $i(e){var t=e.content,n=e.width,a=e.height,o=e.transform,i=e.extra,s=e.watchable,l=s===void 0?!1:s,u=S(S({},i.attributes),{},{class:i.classes.join(" ")});l&&(u[dt]="");var p=S({},i.styles);_a(o)&&(p.transform=Cd({transform:o,startCentered:!0,width:n,height:a}),p["-webkit-transform"]=p.transform);var h=on(p);h.length>0&&(u.style=h);var g=[];return g.push({tag:"span",attributes:u,children:[t]}),g}function Zd(e){var t=e.content,n=e.extra,a=S(S({},n.attributes),{},{class:n.classes.join(" ")}),o=on(n.styles);o.length>0&&(a.style=o);var i=[];return i.push({tag:"span",attributes:a,children:[t]}),i}var sa=be.styles;function va(e){var t=e[0],n=e[1],a=e.slice(4),o=an(a,1),i=o[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(R.cssPrefix,"-").concat(aa.GROUP)},children:[{tag:"path",attributes:{class:"".concat(R.cssPrefix,"-").concat(aa.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(R.cssPrefix,"-").concat(aa.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:s}}var Yd={found:!1,width:512,height:512};function Xd(e,t){!Bs&&!R.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function xa(e,t){var n=t;return t==="fa"&&R.styleDefault!==null&&(t=qe()),new Promise(function(a,o){if(n==="fa"){var i=tc(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&sa[t]&&sa[t][e]){var s=sa[t][e];return a(va(s))}Xd(e,t),a(S(S({},Yd),{},{icon:R.showMissingIcons&&e?Ze("missingIconAbstract")||{}:{}}))})}var Wi=function(){},Sa=R.measurePerformance&&qr&&qr.mark&&qr.measure?qr:{mark:Wi,measure:Wi},ur='FA "7.3.1"',Qd=function(t){return Sa.mark("".concat(ur," ").concat(t," begins")),function(){return ac(t)}},ac=function(t){Sa.mark("".concat(ur," ").concat(t," ends")),Sa.measure("".concat(ur," ").concat(t),"".concat(ur," ").concat(t," begins"),"".concat(ur," ").concat(t," ends"))},Ta={begin:Qd,end:ac},Jr=function(){};function ji(e){var t=e.getAttribute?e.getAttribute(dt):null;return typeof t=="string"}function Jd(e){var t=e.getAttribute?e.getAttribute(Oa):null,n=e.getAttribute?e.getAttribute(Ra):null;return t&&n}function eu(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(R.replacementClass)}function tu(){if(R.autoReplaceSvg===!0)return en.replace;var e=en[R.autoReplaceSvg];return e||en.replace}function ru(e){return P.createElementNS("http://www.w3.org/2000/svg",e)}function nu(e){return P.createElement(e)}function oc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,a=n===void 0?e.tag==="svg"?ru:nu:n;if(typeof e=="string")return P.createTextNode(e);var o=a(e.tag);Object.keys(e.attributes||[]).forEach(function(s){o.setAttribute(s,e.attributes[s])});var i=e.children||[];return i.forEach(function(s){o.appendChild(oc(s,{ceFn:a}))}),o}function au(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var en={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(o){n.parentNode.insertBefore(oc(o),n)}),n.getAttribute(dt)===null&&R.keepOriginalSource){var a=P.createComment(au(n));n.parentNode.replaceChild(a,n)}else n.remove()},nest:function(t){var n=t[0],a=t[1];if(~Na(n).indexOf(R.replacementClass))return en.replace(t);var o=new RegExp("".concat(R.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var i=a[0].attributes.class.split(" ").reduce(function(l,u){return u===R.replacementClass||u.match(o)?l.toSvg.push(u):l.toNode.push(u),l},{toNode:[],toSvg:[]});a[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var s=a.map(function(l){return yr(l)}).join(`
|
|
1207
|
+
}`;function Ws(){var e=Ps,t=Ds,n=R.cssPrefix,a=R.replacementClass,o=Ed;if(n!==e||a!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(l,".".concat(a))}return o}var Di=!1;function oa(){R.autoAddCss&&!Di&&(bd(Ws()),Di=!0)}var Ad={mixout:function(){return{dom:{css:Ws,insertCss:oa}}},hooks:function(){return{beforeDOMElementCreation:function(){oa()},beforeI2svg:function(){oa()}}}},Ie=Ke||{};Ie[Te]||(Ie[Te]={});Ie[Te].styles||(Ie[Te].styles={});Ie[Te].hooks||(Ie[Te].hooks={});Ie[Te].shims||(Ie[Te].shims=[]);var be=Ie[Te],js=[],Vs=function(){P.removeEventListener("DOMContentLoaded",Vs),rn=1,js.map(function(t){return t()})},rn=!1;Pe&&(rn=(P.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(P.readyState),rn||P.addEventListener("DOMContentLoaded",Vs));function Ld(e){Pe&&(rn?setTimeout(e,0):js.push(e))}function yr(e){var t=e.tag,n=e.attributes,a=n===void 0?{}:n,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?$s(e):"<".concat(t," ").concat(xd(a),">").concat(i.map(yr).join(""),"</").concat(t,">")}function Ui(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Od=function(t,n){return function(a,o,i,s){return t.call(n,a,o,i,s)}},ia=function(t,n,a,o){var i=Object.keys(t),s=i.length,l=o!==void 0?Od(n,o):n,u,p,h;for(a===void 0?(u=1,h=t[i[0]]):(u=0,h=a);u<s;u++)p=i[u],h=l(h,t[p],p,t);return h};function Ks(e){return ve(e).length!==1?null:e.codePointAt(0).toString(16)}function Bi(e){return Object.keys(e).reduce(function(t,n){var a=e[n],o=!!a.icon;return o?t[a.iconName]=a.icon:t[n]=a,t},{})}function ga(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.skipHooks,o=a===void 0?!1:a,i=Bi(t);typeof be.hooks.addPack=="function"&&!o?be.hooks.addPack(e,Bi(t)):be.styles[e]=S(S({},be.styles[e]||{}),i),e==="fas"&&ga("fa",t)}var mr=be.styles,Rd=be.shims,qs=Object.keys(wa),wd=qs.reduce(function(e,t){return e[t]=Object.keys(wa[t]),e},{}),za=null,Zs={},Ys={},Xs={},Qs={},Js={};function Nd(e){return~md.indexOf(e)}function _d(e,t){var n=t.split("-"),a=n[0],o=n.slice(1).join("-");return a===e&&o!==""&&!Nd(o)?o:null}var ec=function(){var t=function(i){return ia(mr,function(s,l,u){return s[u]=ia(l,i,{}),s},{})};Zs=t(function(o,i,s){if(i[3]&&(o[i[3]]=s),i[2]){var l=i[2].filter(function(u){return typeof u=="number"});l.forEach(function(u){o[u.toString(16)]=s})}return o}),Ys=t(function(o,i,s){if(o[s]=s,i[2]){var l=i[2].filter(function(u){return typeof u=="string"});l.forEach(function(u){o[u]=s})}return o}),Js=t(function(o,i,s){var l=i[2];return o[s]=s,l.forEach(function(u){o[u]=s}),o});var n="far"in mr||R.autoFetchSvg,a=ia(Rd,function(o,i){var s=i[0],l=i[1],u=i[2];return l==="far"&&!n&&(l="fas"),typeof s=="string"&&(o.names[s]={prefix:l,iconName:u}),typeof s=="number"&&(o.unicodes[s.toString(16)]={prefix:l,iconName:u}),o},{names:{},unicodes:{}});Xs=a.names,Qs=a.unicodes,za=sn(R.styleDefault,{family:R.familyDefault})};yd(function(e){za=sn(e.styleDefault,{family:R.familyDefault})});ec();function Ma(e,t){return(Zs[e]||{})[t]}function zd(e,t){return(Ys[e]||{})[t]}function lt(e,t){return(Js[e]||{})[t]}function tc(e){return Xs[e]||{prefix:null,iconName:null}}function Md(e){var t=Qs[e],n=Ma("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function qe(){return za}var rc=function(){return{prefix:null,iconName:null,rest:[]}};function kd(e){var t=V,n=qs.reduce(function(a,o){return a[o]="".concat(R.cssPrefix,"-").concat(o),a},{});return Ms.forEach(function(a){(e.includes(n[a])||e.some(function(o){return wd[a].includes(o)}))&&(t=a)}),t}function sn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,a=n===void 0?V:n,o=ld[a][e];if(a===hr&&!e)return"fad";var i=Ti[a][e]||Ti[a][o],s=e in be.styles?e:null,l=i||s||null;return l}function Td(e){var t=[],n=null;return e.forEach(function(a){var o=_d(R.cssPrefix,a);o?n=o:a&&t.push(a)}),{iconName:n,rest:t}}function Fi(e){return e.sort().filter(function(t,n,a){return a.indexOf(t)===n})}var Gi=Ts.concat(ks);function cn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,a=n===void 0?!1:n,o=null,i=Fi(e.filter(function(b){return Gi.includes(b)})),s=Fi(e.filter(function(b){return!Gi.includes(b)})),l=i.filter(function(b){return o=b,!ls.includes(b)}),u=an(l,1),p=u[0],h=p===void 0?null:p,g=kd(i),y=S(S({},Td(s)),{},{prefix:sn(h,{family:g})});return S(S(S({},y),Ud({values:e,family:g,styles:mr,config:R,canonical:y,givenPrefix:o})),Id(a,o,y))}function Id(e,t,n){var a=n.prefix,o=n.iconName;if(e||!a||!o)return{prefix:a,iconName:o};var i=t==="fa"?tc(o):{},s=lt(a,o);return o=i.iconName||s||o,a=i.prefix||a,a==="far"&&!mr.far&&mr.fas&&!R.autoFetchSvg&&(a="fas"),{prefix:a,iconName:o}}var Pd=Ms.filter(function(e){return e!==V||e!==hr}),Dd=Object.keys(da).filter(function(e){return e!==V}).map(function(e){return Object.keys(da[e])}).flat();function Ud(e){var t=e.values,n=e.family,a=e.canonical,o=e.givenPrefix,i=o===void 0?"":o,s=e.styles,l=s===void 0?{}:s,u=e.config,p=u===void 0?{}:u,h=n===hr,g=t.includes("fa-duotone")||t.includes("fad"),y=p.familyDefault==="duotone",b=a.prefix==="fad"||a.prefix==="fa-duotone";if(!h&&(g||y||b)&&(a.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab"),!a.prefix&&Pd.includes(n)){var v=Object.keys(l).find(function(C){return Dd.includes(C)});if(v||p.autoFetchSvg){var x=$0.get(n).defaultShortPrefixId;a.prefix=x,a.iconName=lt(a.prefix,a.iconName)||a.iconName}}return(a.prefix==="fa"||i==="fa")&&(a.prefix=qe()||"fas"),a}var Bd=(function(){function e(){i0(this,e),this.definitions={}}return s0(e,[{key:"add",value:function(){for(var n=this,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];var s=o.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){n.definitions[l]=S(S({},n.definitions[l]||{}),s[l]),ga(l,s[l]);var u=wa[V][l];u&&ga(u,s[l]),ec()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,a){var o=a.prefix&&a.iconName&&a.icon?{0:a}:a;return Object.keys(o).map(function(i){var s=o[i],l=s.prefix,u=s.iconName,p=s.icon,h=p[2];n[l]||(n[l]={}),h.length>0&&h.forEach(function(g){typeof g=="string"&&(n[l][g]=p)}),n[l][u]=p}),n}}])})(),Hi=[],Nt={},_t={},Fd=Object.keys(_t);function Gd(e,t){var n=t.mixoutsTo;return Hi=e,Nt={},Object.keys(_t).forEach(function(a){Fd.indexOf(a)===-1&&delete _t[a]}),Hi.forEach(function(a){var o=a.mixout?a.mixout():{};if(Object.keys(o).forEach(function(s){typeof o[s]=="function"&&(n[s]=o[s]),tn(o[s])==="object"&&Object.keys(o[s]).forEach(function(l){n[s]||(n[s]={}),n[s][l]=o[s][l]})}),a.hooks){var i=a.hooks();Object.keys(i).forEach(function(s){Nt[s]||(Nt[s]=[]),Nt[s].push(i[s])})}a.provides&&a.provides(_t)}),n}function ya(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];var i=Nt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(a))}),t}function ut(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var o=Nt[e]||[];o.forEach(function(i){i.apply(null,n)})}function Ze(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _t[e]?_t[e].apply(null,t):void 0}function ba(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||qe();if(t)return t=lt(n,t)||t,Ui(nc.definitions,n,t)||Ui(be.styles,n,t)}var nc=new Bd,Hd=function(){R.autoReplaceSvg=!1,R.observeMutations=!1,ut("noAuto")},$d={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Pe?(ut("beforeI2svg",t),Ze("pseudoElements2svg",t),Ze("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;R.autoReplaceSvg===!1&&(R.autoReplaceSvg=!0),R.observeMutations=!0,Ld(function(){jd({autoReplaceSvgRoot:n}),ut("watch",t)})}},Wd={icon:function(t){if(t===null)return null;if(tn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:lt(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],a=sn(t[0]);return{prefix:a,iconName:lt(a,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(R.cssPrefix,"-"))>-1||t.match(dd))){var o=cn(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||qe(),iconName:lt(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=qe();return{prefix:i,iconName:lt(i,t)||t}}}},oe={noAuto:Hd,config:R,dom:$d,parse:Wd,library:nc,findIconDefinition:ba,toHtml:yr},jd=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,a=n===void 0?P:n;(Object.keys(be.styles).length>0||R.autoFetchSvg)&&Pe&&R.autoReplaceSvg&&oe.dom.i2svg({node:a})};function ln(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(a){return yr(a)})}}),Object.defineProperty(e,"node",{get:function(){if(Pe){var a=P.createElement("div");return a.innerHTML=e.html,a.children}}}),e}function Vd(e){var t=e.children,n=e.main,a=e.mask,o=e.attributes,i=e.styles,s=e.transform;if(_a(s)&&n.found&&!a.found){var l=n.width,u=n.height,p={x:l/u/2,y:.5};o.style=on(S(S({},i),{},{"transform-origin":"".concat(p.x+s.x/16,"em ").concat(p.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function Kd(e){var t=e.prefix,n=e.iconName,a=e.children,o=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(R.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:S(S({},o),{},{id:s}),children:a}]}]}function qd(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(n){return n in e})}function ka(e){var t=e.icons,n=t.main,a=t.mask,o=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=a.found?a:n,b=y.width,v=y.height,x=[R.replacementClass,i?"".concat(R.cssPrefix,"-").concat(i):""].filter(function(I){return p.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(p.classes).join(" "),C={children:[],attributes:S(S({},p.attributes),{},{"data-prefix":o,"data-icon":i,class:x,role:p.attributes.role||"img",viewBox:"0 0 ".concat(b," ").concat(v)})};!qd(p.attributes)&&!p.attributes["aria-hidden"]&&(C.attributes["aria-hidden"]="true"),g&&(C.attributes[dt]="");var E=S(S({},C),{},{prefix:o,iconName:i,main:n,mask:a,maskId:u,transform:s,symbol:l,styles:S({},p.styles)}),O=a.found&&n.found?Ze("generateAbstractMask",E)||{children:[],attributes:{}}:Ze("generateAbstractIcon",E)||{children:[],attributes:{}},w=O.children,z=O.attributes;return E.children=w,E.attributes=z,l?Kd(E):Vd(E)}function $i(e){var t=e.content,n=e.width,a=e.height,o=e.transform,i=e.extra,s=e.watchable,l=s===void 0?!1:s,u=S(S({},i.attributes),{},{class:i.classes.join(" ")});l&&(u[dt]="");var p=S({},i.styles);_a(o)&&(p.transform=Cd({transform:o,startCentered:!0,width:n,height:a}),p["-webkit-transform"]=p.transform);var h=on(p);h.length>0&&(u.style=h);var g=[];return g.push({tag:"span",attributes:u,children:[t]}),g}function Zd(e){var t=e.content,n=e.extra,a=S(S({},n.attributes),{},{class:n.classes.join(" ")}),o=on(n.styles);o.length>0&&(a.style=o);var i=[];return i.push({tag:"span",attributes:a,children:[t]}),i}var sa=be.styles;function va(e){var t=e[0],n=e[1],a=e.slice(4),o=an(a,1),i=o[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(R.cssPrefix,"-").concat(aa.GROUP)},children:[{tag:"path",attributes:{class:"".concat(R.cssPrefix,"-").concat(aa.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(R.cssPrefix,"-").concat(aa.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:s}}var Yd={found:!1,width:512,height:512};function Xd(e,t){!Bs&&!R.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function xa(e,t){var n=t;return t==="fa"&&R.styleDefault!==null&&(t=qe()),new Promise(function(a,o){if(n==="fa"){var i=tc(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&sa[t]&&sa[t][e]){var s=sa[t][e];return a(va(s))}Xd(e,t),a(S(S({},Yd),{},{icon:R.showMissingIcons&&e?Ze("missingIconAbstract")||{}:{}}))})}var Wi=function(){},Sa=R.measurePerformance&&qr&&qr.mark&&qr.measure?qr:{mark:Wi,measure:Wi},ur='FA "7.3.1"',Qd=function(t){return Sa.mark("".concat(ur," ").concat(t," begins")),function(){return ac(t)}},ac=function(t){Sa.mark("".concat(ur," ").concat(t," ends")),Sa.measure("".concat(ur," ").concat(t),"".concat(ur," ").concat(t," begins"),"".concat(ur," ").concat(t," ends"))},Ta={begin:Qd,end:ac},Jr=function(){};function ji(e){var t=e.getAttribute?e.getAttribute(dt):null;return typeof t=="string"}function Jd(e){var t=e.getAttribute?e.getAttribute(Oa):null,n=e.getAttribute?e.getAttribute(Ra):null;return t&&n}function eu(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(R.replacementClass)}function tu(){if(R.autoReplaceSvg===!0)return en.replace;var e=en[R.autoReplaceSvg];return e||en.replace}function ru(e){return P.createElementNS("http://www.w3.org/2000/svg",e)}function nu(e){return P.createElement(e)}function oc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,a=n===void 0?e.tag==="svg"?ru:nu:n;if(typeof e=="string")return P.createTextNode(e);var o=a(e.tag);Object.keys(e.attributes||[]).forEach(function(s){o.setAttribute(s,e.attributes[s])});var i=e.children||[];return i.forEach(function(s){o.appendChild(oc(s,{ceFn:a}))}),o}function au(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var en={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(o){n.parentNode.insertBefore(oc(o),n)}),n.getAttribute(dt)===null&&R.keepOriginalSource){var a=P.createComment(au(n));n.parentNode.replaceChild(a,n)}else n.remove()},nest:function(t){var n=t[0],a=t[1];if(~Na(n).indexOf(R.replacementClass))return en.replace(t);var o=new RegExp("".concat(R.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var i=a[0].attributes.class.split(" ").reduce(function(l,u){return u===R.replacementClass||u.match(o)?l.toSvg.push(u):l.toNode.push(u),l},{toNode:[],toSvg:[]});a[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var s=a.map(function(l){return yr(l)}).join(`
|
|
1208
1208
|
`);n.setAttribute(dt,""),n.innerHTML=s}};function Vi(e){e()}function ic(e,t){var n=typeof t=="function"?t:Jr;if(e.length===0)n();else{var a=Vi;R.mutateApproach===sd&&(a=Ke.requestAnimationFrame||Vi),a(function(){var o=tu(),i=Ta.begin("mutate");e.map(o),i(),n()})}}var Ia=!1;function sc(){Ia=!0}function Ca(){Ia=!1}var nn=null;function Ki(e){if(_i&&R.observeMutations){var t=e.treeCallback,n=t===void 0?Jr:t,a=e.nodeCallback,o=a===void 0?Jr:a,i=e.pseudoElementsCallback,s=i===void 0?Jr:i,l=e.observeMutationsRoot,u=l===void 0?P:l;nn=new _i(function(p){if(!Ia){var h=qe();Mt(p).forEach(function(g){if(g.type==="childList"&&g.addedNodes.length>0&&!ji(g.addedNodes[0])&&(R.searchPseudoElements&&s(g.target),n(g.target)),g.type==="attributes"&&g.target.parentNode&&R.searchPseudoElements&&s([g.target],!0),g.type==="attributes"&&ji(g.target)&&~pd.indexOf(g.attributeName))if(g.attributeName==="class"&&Jd(g.target)){var y=cn(Na(g.target)),b=y.prefix,v=y.iconName;g.target.setAttribute(Oa,b||h),v&&g.target.setAttribute(Ra,v)}else eu(g.target)&&o(g.target)})}}),Pe&&nn.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ou(){nn&&nn.disconnect()}function iu(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(a,o){var i=o.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(a[s]=l.join(":").trim()),a},{})),n}function su(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),a=e.innerText!==void 0?e.innerText.trim():"",o=cn(Na(e));return o.prefix||(o.prefix=qe()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&a.length>0&&(o.iconName=zd(o.prefix,e.innerText)||Ma(o.prefix,Ks(e.innerText))),!o.iconName&&R.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function cu(e){var t=Mt(e.attributes).reduce(function(n,a){return n.name!=="class"&&n.name!=="style"&&(n[a.name]=a.value),n},{});return t}function lu(){return{iconName:null,prefix:null,transform:we,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function qi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=su(e),a=n.iconName,o=n.prefix,i=n.rest,s=cu(e),l=ya("parseNodeAttributes",{},e),u=t.styleParser?iu(e):[];return S({iconName:a,prefix:o,transform:we,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:s}},l)}var du=be.styles;function cc(e){var t=R.autoReplaceSvg==="nest"?qi(e,{styleParser:!1}):qi(e);return~t.extra.classes.indexOf(Gs)?Ze("generateLayersText",e,t):Ze("generateSvgReplacementMutation",e,t)}function uu(){return[].concat(ve(ks),ve(Ts))}function Zi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Pe)return Promise.resolve();var n=P.documentElement.classList,a=function(g){return n.add("".concat(ki,"-").concat(g))},o=function(g){return n.remove("".concat(ki,"-").concat(g))},i=R.autoFetchSvg?uu():ls.concat(Object.keys(du));i.includes("fa")||i.push("fa");var s=[".".concat(Gs,":not([").concat(dt,"])")].concat(i.map(function(h){return".".concat(h,":not([").concat(dt,"])")})).join(", ");if(s.length===0)return Promise.resolve();var l=[];try{l=Mt(e.querySelectorAll(s))}catch{}if(l.length>0)a("pending"),o("complete");else return Promise.resolve();var u=Ta.begin("onTree"),p=l.reduce(function(h,g){try{var y=cc(g);y&&h.push(y)}catch(b){Bs||b.name==="MissingIcon"&&console.error(b)}return h},[]);return new Promise(function(h,g){Promise.all(p).then(function(y){ic(y,function(){a("active"),a("complete"),o("pending"),typeof t=="function"&&t(),u(),h()})}).catch(function(y){u(),g(y)})})}function fu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;cc(e).then(function(n){n&&ic([n],t)})}function pu(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=(t||{}).icon?t:ba(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:ba(o||{})),e(a,S(S({},n),{},{mask:o}))}}var mu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.transform,o=a===void 0?we:a,i=n.symbol,s=i===void 0?!1:i,l=n.mask,u=l===void 0?null:l,p=n.maskId,h=p===void 0?null:p,g=n.classes,y=g===void 0?[]:g,b=n.attributes,v=b===void 0?{}:b,x=n.styles,C=x===void 0?{}:x;if(t){var E=t.prefix,O=t.iconName,w=t.icon;return ln(S({type:"icon"},t),function(){return ut("beforeDOMElementCreation",{iconDefinition:t,params:n}),ka({icons:{main:va(w),mask:u?va(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:O,transform:S(S({},we),o),symbol:s,maskId:h,extra:{attributes:v,styles:C,classes:y}})})}},hu={mixout:function(){return{icon:pu(mu)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Zi,n.nodeCallback=fu,n}}},provides:function(t){t.i2svg=function(n){var a=n.node,o=a===void 0?P:a,i=n.callback,s=i===void 0?function(){}:i;return Zi(o,s)},t.generateSvgReplacementMutation=function(n,a){var o=a.iconName,i=a.prefix,s=a.transform,l=a.symbol,u=a.mask,p=a.maskId,h=a.extra;return new Promise(function(g,y){Promise.all([xa(o,i),u.iconName?xa(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(b){var v=an(b,2),x=v[0],C=v[1];g([n,ka({icons:{main:x,mask:C},prefix:i,iconName:o,transform:s,symbol:l,maskId:p,extra:h,watchable:!0})])}).catch(y)})},t.generateAbstractIcon=function(n){var a=n.children,o=n.attributes,i=n.main,s=n.transform,l=n.styles,u=on(l);u.length>0&&(o.style=u);var p;return _a(s)&&(p=Ze("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),a.push(p||i.icon),{children:a,attributes:o}}}},gu={mixout:function(){return{layer:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.classes,i=o===void 0?[]:o;return ln({type:"layer"},function(){ut("beforeDOMElementCreation",{assembler:n,params:a});var s=[];return n(function(l){Array.isArray(l)?l.map(function(u){s=s.concat(u.abstract)}):s=s.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(R.cssPrefix,"-layers")].concat(ve(i)).join(" ")},children:s}]})}}}},yu={mixout:function(){return{counter:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.title,i=o===void 0?null:o,s=a.classes,l=s===void 0?[]:s,u=a.attributes,p=u===void 0?{}:u,h=a.styles,g=h===void 0?{}:h;return ln({type:"counter",content:n},function(){return ut("beforeDOMElementCreation",{content:n,params:a}),Zd({content:n.toString(),title:i,extra:{attributes:p,styles:g,classes:["".concat(R.cssPrefix,"-layers-counter")].concat(ve(l))}})})}}}},bu={mixout:function(){return{text:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=a.transform,i=o===void 0?we:o,s=a.classes,l=s===void 0?[]:s,u=a.attributes,p=u===void 0?{}:u,h=a.styles,g=h===void 0?{}:h;return ln({type:"text",content:n},function(){return ut("beforeDOMElementCreation",{content:n,params:a}),$i({content:n,transform:S(S({},we),i),extra:{attributes:p,styles:g,classes:["".concat(R.cssPrefix,"-layers-text")].concat(ve(l))}})})}}},provides:function(t){t.generateLayersText=function(n,a){var o=a.transform,i=a.extra,s=null,l=null;if(ss){var u=parseInt(getComputedStyle(n).fontSize,10),p=n.getBoundingClientRect();s=p.width/u,l=p.height/u}return Promise.resolve([n,$i({content:n.innerHTML,width:s,height:l,transform:o,extra:i,watchable:!0})])}}},lc=new RegExp('"',"ug"),Yi=[1105920,1112319],Xi=S(S(S(S({},{FontAwesome:{normal:"fas",400:"fas"}}),H0),od),X0),Ea=Object.keys(Xi).reduce(function(e,t){return e[t.toLowerCase()]=Xi[t],e},{}),vu=Object.keys(Ea).reduce(function(e,t){var n=Ea[t];return e[t]=n[900]||ve(Object.entries(n))[0][1],e},{});function xu(e){var t=e.replace(lc,"");return Ks(ve(t)[0]||"")}function Su(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content"),a=n.replace(lc,""),o=a.codePointAt(0),i=o>=Yi[0]&&o<=Yi[1],s=a.length===2?a[0]===a[1]:!1;return i||s||t}function Cu(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),a=parseInt(t),o=isNaN(a)?"normal":a;return(Ea[n]||{})[o]||vu[n]}function Qi(e,t){var n="".concat(id).concat(t.replace(":","-"));return new Promise(function(a,o){if(e.getAttribute(n)!==null)return a();var i=Mt(e.children),s=i.filter(function(D){return D.getAttribute(fa)===t})[0],l=Ke.getComputedStyle(e,t),u=l.getPropertyValue("font-family"),p=u.match(ud),h=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!p)return e.removeChild(s),a();if(p&&g!=="none"&&g!==""){var y=l.getPropertyValue("content"),b=Cu(u,h),v=xu(y),x=p[0].startsWith("FontAwesome"),C=Su(l),E=Ma(b,v),O=E;if(x){var w=Md(v);w.iconName&&w.prefix&&(E=w.iconName,b=w.prefix)}if(E&&!C&&(!s||s.getAttribute(Oa)!==b||s.getAttribute(Ra)!==O)){e.setAttribute(n,O),s&&e.removeChild(s);var z=lu(),I=z.extra;I.attributes[fa]=t,xa(E,b).then(function(D){var Oe=ka(S(S({},z),{},{icons:{main:D,mask:rc()},prefix:b,iconName:O,extra:I,watchable:!0})),st=P.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(st,e.firstChild):e.appendChild(st),st.outerHTML=Oe.map(function(Re){return yr(Re)}).join(`
|
|
1209
1209
|
`),e.removeAttribute(n),a()}).catch(o)}else a()}else a()})}function Eu(e){return Promise.all([Qi(e,"::before"),Qi(e,"::after")])}function Au(e){return e.parentNode!==document.head&&!~cd.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(fa)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var Lu=function(t){return!!t&&Us.some(function(n){return t.includes(n)})},Ou=function(t){if(!t)return[];var n=new Set,a=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});a=a.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(p){return p.trim()})});var o=Qr(a),i;try{for(o.s();!(i=o.n()).done;){var s=i.value;if(Lu(s)){var l=Us.reduce(function(u,p){return u.replace(p,"")},s);l!==""&&l!=="*"&&n.add(l)}}}catch(u){o.e(u)}finally{o.f()}return n};function Ji(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Pe){var n;if(t)n=e;else if(R.searchPseudoElementsFullScan)n=e.querySelectorAll("*");else{var a=new Set,o=Qr(document.styleSheets),i;try{for(o.s();!(i=o.n()).done;){var s=i.value;try{var l=Qr(s.cssRules),u;try{for(l.s();!(u=l.n()).done;){var p=u.value,h=Ou(p.selectorText),g=Qr(h),y;try{for(g.s();!(y=g.n()).done;){var b=y.value;a.add(b)}}catch(x){g.e(x)}finally{g.f()}}}catch(x){l.e(x)}finally{l.f()}}catch(x){R.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(x.message,`)
|
|
1210
|
-
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(x){o.e(x)}finally{o.f()}if(!a.size)return;var v=Array.from(a).join(", ");try{n=e.querySelectorAll(v)}catch{}}return new Promise(function(x,C){var E=Mt(n).filter(Au).map(Eu),O=Ta.begin("searchPseudoElements");sc(),Promise.all(E).then(function(){O(),Ca(),x()}).catch(function(){O(),Ca(),C()})})}}var Ru={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Ji,n}}},provides:function(t){t.pseudoElements2svg=function(n){var a=n.node,o=a===void 0?P:a;R.searchPseudoElements&&Ji(o)}}},es=!1,wu={mixout:function(){return{dom:{unwatch:function(){sc(),es=!0}}}},hooks:function(){return{bootstrap:function(){Ki(ya("mutationObserverCallbacks",{}))},noAuto:function(){ou()},watch:function(n){var a=n.observeMutationsRoot;es?Ca():Ki(ya("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},ts=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(a,o){var i=o.toLowerCase().split("-"),s=i[0],l=i.slice(1).join("-");if(s&&l==="h")return a.flipX=!0,a;if(s&&l==="v")return a.flipY=!0,a;if(l=parseFloat(l),isNaN(l))return a;switch(s){case"grow":a.size=a.size+l;break;case"shrink":a.size=a.size-l;break;case"left":a.x=a.x-l;break;case"right":a.x=a.x+l;break;case"up":a.y=a.y-l;break;case"down":a.y=a.y+l;break;case"rotate":a.rotate=a.rotate+l;break}return a},n)},Nu={mixout:function(){return{parse:{transform:function(n){return ts(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,a){var o=a.getAttribute("data-fa-transform");return o&&(n.transform=ts(o)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var a=n.main,o=n.transform,i=n.containerWidth,s=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},u="translate(".concat(o.x*32,", ").concat(o.y*32,") "),p="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),h="rotate(".concat(o.rotate," 0 0)"),g={transform:"".concat(u," ").concat(p," ").concat(h)},y={transform:"translate(".concat(s/2*-1," -256)")},b={outer:l,inner:g,path:y};return{tag:"g",attributes:S({},b.outer),children:[{tag:"g",attributes:S({},b.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:S(S({},a.icon.attributes),b.path)}]}]}}}},ca={x:0,y:0,width:"100%",height:"100%"};function rs(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 _u(e){return e.tag==="g"?e.children:[e]}var zu={hooks:function(){return{parseNodeAttributes:function(n,a){var o=a.getAttribute("data-fa-mask"),i=o?cn(o.split(" ").map(function(s){return s.trim()})):rc();return i.prefix||(i.prefix=qe()),n.mask=i,n.maskId=a.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var a=n.children,o=n.attributes,i=n.main,s=n.mask,l=n.maskId,u=n.transform,p=i.width,h=i.icon,g=s.width,y=s.icon,b=Sd({transform:u,containerWidth:g,iconWidth:p}),v={tag:"rect",attributes:S(S({},ca),{},{fill:"white"})},x=h.children?{children:h.children.map(rs)}:{},C={tag:"g",attributes:S({},b.inner),children:[rs(S({tag:h.tag,attributes:S(S({},h.attributes),b.path)},x))]},E={tag:"g",attributes:S({},b.outer),children:[C]},O="mask-".concat(l||Pi()),w="clip-".concat(l||Pi()),z={tag:"mask",attributes:S(S({},ca),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,E]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:_u(y)},z]};return a.push(I,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(O,")")},ca)}),{children:a,attributes:o}}}},Mu={provides:function(t){var n=!1;Ke.matchMedia&&(n=Ke.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var a=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:S(S({},o),{},{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=S(S({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:S(S({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:S(S({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:S(S({},s),{},{values:"1;0;1;1;0;1;"})}),a.push(l),a.push({tag:"path",attributes:S(S({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:S(S({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||a.push({tag:"path",attributes:S(S({},o),{},{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:S(S({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},ku={hooks:function(){return{parseNodeAttributes:function(n,a){var o=a.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return n.symbol=i,n}}}},Tu=[Ad,hu,gu,yu,bu,Ru,wu,Nu,zu,Mu,ku];Gd(Tu,{mixoutsTo:ae});var x5=ae.noAuto,S5=ae.config,dc=ae.library,C5=ae.dom,E5=ae.parse,A5=ae.findIconDefinition,L5=ae.toHtml,uc=ae.icon,O5=ae.layer,R5=ae.text,w5=ae.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 z5={[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]},fc={[f.regular]:"far",[f.solid]:"fas",[f.custom]:"fak"};var dn=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},le=class extends mc.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return pc.html`
|
|
1210
|
+
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(x){o.e(x)}finally{o.f()}if(!a.size)return;var v=Array.from(a).join(", ");try{n=e.querySelectorAll(v)}catch{}}return new Promise(function(x,C){var E=Mt(n).filter(Au).map(Eu),O=Ta.begin("searchPseudoElements");sc(),Promise.all(E).then(function(){O(),Ca(),x()}).catch(function(){O(),Ca(),C()})})}}var Ru={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Ji,n}}},provides:function(t){t.pseudoElements2svg=function(n){var a=n.node,o=a===void 0?P:a;R.searchPseudoElements&&Ji(o)}}},es=!1,wu={mixout:function(){return{dom:{unwatch:function(){sc(),es=!0}}}},hooks:function(){return{bootstrap:function(){Ki(ya("mutationObserverCallbacks",{}))},noAuto:function(){ou()},watch:function(n){var a=n.observeMutationsRoot;es?Ca():Ki(ya("mutationObserverCallbacks",{observeMutationsRoot:a}))}}}},ts=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(a,o){var i=o.toLowerCase().split("-"),s=i[0],l=i.slice(1).join("-");if(s&&l==="h")return a.flipX=!0,a;if(s&&l==="v")return a.flipY=!0,a;if(l=parseFloat(l),isNaN(l))return a;switch(s){case"grow":a.size=a.size+l;break;case"shrink":a.size=a.size-l;break;case"left":a.x=a.x-l;break;case"right":a.x=a.x+l;break;case"up":a.y=a.y-l;break;case"down":a.y=a.y+l;break;case"rotate":a.rotate=a.rotate+l;break}return a},n)},Nu={mixout:function(){return{parse:{transform:function(n){return ts(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,a){var o=a.getAttribute("data-fa-transform");return o&&(n.transform=ts(o)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var a=n.main,o=n.transform,i=n.containerWidth,s=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},u="translate(".concat(o.x*32,", ").concat(o.y*32,") "),p="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),h="rotate(".concat(o.rotate," 0 0)"),g={transform:"".concat(u," ").concat(p," ").concat(h)},y={transform:"translate(".concat(s/2*-1," -256)")},b={outer:l,inner:g,path:y};return{tag:"g",attributes:S({},b.outer),children:[{tag:"g",attributes:S({},b.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:S(S({},a.icon.attributes),b.path)}]}]}}}},ca={x:0,y:0,width:"100%",height:"100%"};function rs(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 _u(e){return e.tag==="g"?e.children:[e]}var zu={hooks:function(){return{parseNodeAttributes:function(n,a){var o=a.getAttribute("data-fa-mask"),i=o?cn(o.split(" ").map(function(s){return s.trim()})):rc();return i.prefix||(i.prefix=qe()),n.mask=i,n.maskId=a.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var a=n.children,o=n.attributes,i=n.main,s=n.mask,l=n.maskId,u=n.transform,p=i.width,h=i.icon,g=s.width,y=s.icon,b=Sd({transform:u,containerWidth:g,iconWidth:p}),v={tag:"rect",attributes:S(S({},ca),{},{fill:"white"})},x=h.children?{children:h.children.map(rs)}:{},C={tag:"g",attributes:S({},b.inner),children:[rs(S({tag:h.tag,attributes:S(S({},h.attributes),b.path)},x))]},E={tag:"g",attributes:S({},b.outer),children:[C]},O="mask-".concat(l||Pi()),w="clip-".concat(l||Pi()),z={tag:"mask",attributes:S(S({},ca),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,E]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:_u(y)},z]};return a.push(I,{tag:"rect",attributes:S({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(O,")")},ca)}),{children:a,attributes:o}}}},Mu={provides:function(t){var n=!1;Ke.matchMedia&&(n=Ke.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var a=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};a.push({tag:"path",attributes:S(S({},o),{},{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=S(S({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:S(S({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:S(S({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:S(S({},s),{},{values:"1;0;1;1;0;1;"})}),a.push(l),a.push({tag:"path",attributes:S(S({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:S(S({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||a.push({tag:"path",attributes:S(S({},o),{},{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:S(S({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:a}}}},ku={hooks:function(){return{parseNodeAttributes:function(n,a){var o=a.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return n.symbol=i,n}}}},Tu=[Ad,hu,gu,yu,bu,Ru,wu,Nu,zu,Mu,ku];Gd(Tu,{mixoutsTo:oe});var x5=oe.noAuto,S5=oe.config,dc=oe.library,C5=oe.dom,E5=oe.parse,A5=oe.findIconDefinition,L5=oe.toHtml,uc=oe.icon,O5=oe.layer,R5=oe.text,w5=oe.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 z5={[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]},fc={[f.regular]:"far",[f.solid]:"fas",[f.custom]:"fak"};var dn=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},le=class extends mc.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return pc.html`
|
|
1211
1211
|
<div class="${(0,gc.classMap)(t)}">${(0,hc.unsafeHTML)(this.buildIcon())}</div>
|
|
1212
1212
|
`}buildIcon(){let t=this.variant?fc[this.variant]:void 0,n=Ai.find(a=>a.iconName===this.icon&&(t?a.prefix===t:!0));return n?(dc.add(n),uc(n).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};le.elementDefinitions={};le.styles=xi;dn([(0,br.property)()],le.prototype,"variant",void 0);dn([(0,br.property)()],le.prototype,"icon",void 0);dn([(0,br.property)({type:Boolean})],le.prototype,"monospace",void 0);dn([(0,br.property)({reflect:!0,attribute:"aria-hidden"})],le.prototype,"ariaHidden",void 0);var bc=L(T());var yc={"ftds-icon":le};(0,bc.customElements)(yc);var xc=vc.css`
|
|
1213
1213
|
.ftds-tabs {
|
|
@@ -1406,7 +1406,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1406
1406
|
</${Dt(this.element)}>
|
|
1407
1407
|
`:Ut`
|
|
1408
1408
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
1409
|
-
`}};De.styles=[...Sc];Uc([(0,Va.property)()],De.prototype,"element",void 0);Uc([(0,Va.property)()],De.prototype,"variant",void 0);var Gc=L(T());var Fc={"ftds-typography":De};(0,Gc.customElements)(Fc);var ea=L(W());function Hc(e,t,n){return e?t(e):n?.(e)}var q2=L(Wc());var jc=L(W()),K=L(Y()),Vc=L(jr()),Er=L(T());var Q=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},
|
|
1409
|
+
`}};De.styles=[...Sc];Uc([(0,Va.property)()],De.prototype,"element",void 0);Uc([(0,Va.property)()],De.prototype,"variant",void 0);var Gc=L(T());var Fc={"ftds-typography":De};(0,Gc.customElements)(Fc);var ea=L(W());function Hc(e,t,n){return e?t(e):n?.(e)}var q2=L(Wc());var jc=L(W()),K=L(Y()),Vc=L(jr()),Er=L(T());var Q=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},F=class extends Er.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 Er.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 Er.Debouncer(10),this.moveRipple=t=>{var n,a;let{x:o,y:i}=this.getCoordinates(t),s=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(o!=null?o-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 jc.html`
|
|
1410
1410
|
<style>
|
|
1411
1411
|
.ft-ripple .ft-ripple--effect {
|
|
1412
1412
|
left: ${this.originX}px;
|
|
@@ -1417,7 +1417,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1417
1417
|
<div class="ft-ripple--background"></div>
|
|
1418
1418
|
<div class="ft-ripple--effect"></div>
|
|
1419
1419
|
</div>
|
|
1420
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var n,a;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,n;let a=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;a&&this.setupFor((n=this.target)!==null&&n!==void 0?n:a)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let n=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},a=n("mouseup","contextmenu"),o=n("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&n("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",a,s),t.addEventListener("touchstart",o,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",a,s),t.removeEventListener("touchstart",o,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let n=t,a=t,o,i;return n.x!=null?{x:o,y:i}=n:a.touches!=null&&(o=a.touches[0].clientX,i=a.touches[0].clientY),{x:o,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let n of t.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};B.elementDefinitions={};B.styles=bi;Q([(0,K.property)({type:Boolean})],B.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"disabled",void 0);Q([(0,K.state)()],B.prototype,"hovered",void 0);Q([(0,K.state)()],B.prototype,"focused",void 0);Q([(0,K.state)()],B.prototype,"pressed",void 0);Q([(0,K.state)()],B.prototype,"rippling",void 0);Q([(0,K.state)()],B.prototype,"originX",void 0);Q([(0,K.state)()],B.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],B.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],B.prototype,"rippleEffect",void 0);var qc=L(T());var Kc={"ft-ripple":B};(0,qc.customElements)(Kc);var j2=L(W()),he=L(Y()),me=L(T());var Ka=L(Y()),cl=L(T());var Bt;(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"})(Bt||(Bt={}));var de=L(W()),A=L(T()),Zc=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ue=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),_={fontFamily:Ue,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ft={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Zc),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},Gt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Zc),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},Ht={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},$t={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Wt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},jt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},Vt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},Kt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},qt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},Zt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},Yc=de.css`
|
|
1420
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var n,a;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,n;let a=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;a&&this.setupFor((n=this.target)!==null&&n!==void 0?n:a)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let n=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},a=n("mouseup","contextmenu"),o=n("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&n("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",a,s),t.addEventListener("touchstart",o,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",a,s),t.removeEventListener("touchstart",o,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let n=t,a=t,o,i;return n.x!=null?{x:o,y:i}=n:a.touches!=null&&(o=a.touches[0].clientX,i=a.touches[0].clientY),{x:o,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let n of t.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=bi;Q([(0,K.property)({type:Boolean})],F.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],F.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],F.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],F.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],F.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],F.prototype,"disabled",void 0);Q([(0,K.state)()],F.prototype,"hovered",void 0);Q([(0,K.state)()],F.prototype,"focused",void 0);Q([(0,K.state)()],F.prototype,"pressed",void 0);Q([(0,K.state)()],F.prototype,"rippling",void 0);Q([(0,K.state)()],F.prototype,"originX",void 0);Q([(0,K.state)()],F.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],F.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);var qc=L(T());var Kc={"ft-ripple":F};(0,qc.customElements)(Kc);var j2=L(W()),he=L(Y()),me=L(T());var Ka=L(Y()),cl=L(T());var Bt;(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"})(Bt||(Bt={}));var de=L(W()),A=L(T()),Zc=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.titleFont),Ue=A.FtCssVariableFactory.extend("--ft-typography-font-family","",A.designSystemVariables.contentFont),_={fontFamily:Ue,fontSize:A.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:A.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:A.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:A.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:A.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ft={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Zc),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},Gt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Zc),fontSize:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},Ht={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},$t={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Wt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},jt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},Vt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},Kt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},qt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},Zt={fontFamily:A.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ue),fontSize:A.FtCssVariableFactory.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:A.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:A.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:A.FtCssVariableFactory.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:A.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},Yc=de.css`
|
|
1421
1421
|
.ft-typography--title {
|
|
1422
1422
|
font-family: ${Ft.fontFamily};
|
|
1423
1423
|
font-size: ${Ft.fontSize};
|
|
@@ -1551,10 +1551,10 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1551
1551
|
position: relative;
|
|
1552
1552
|
word-break: break-word;
|
|
1553
1553
|
}
|
|
1554
|
-
`;var ml=["top","right","bottom","left"],pl=["start","end"],Za=ml.reduce((e,t)=>e.concat(t,t+"-"+pl[0],t+"-"+pl[1]),[]),Lr=Math.min,Qe=Math.max,Or=Math.round;var Ne=e=>({x:e,y:e}),Gu={left:"right",right:"left",bottom:"top",top:"bottom"};function hl(e,t,n){return Qe(e,Lr(t,n))}function hn(e,t){return typeof e=="function"?e(t):e}function Rr(e){return e.split("-")[0]}function Je(e){return e.split("-")[1]}function Ya(e){return e==="x"?"y":"x"}function Xa(e){return e==="y"?"height":"width"}function gn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Qa(e){return Ya(gn(e))}function gl(e,t,n){n===void 0&&(n=!1);let a=Je(e),o=Qa(e),i=Xa(o),s=o==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=qa(s)),[s,qa(s)]}function yl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function qa(e){let t=Rr(e);return Gu[t]+e.slice(t.length)}function Hu(e){var t,n,a,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(a=e.bottom)!=null?a:0,left:(o=e.left)!=null?o:0}}function bl(e){return typeof e!="number"?Hu(e):{top:e,right:e,bottom:e,left:e}}function ht(e){let{x:t,y:n,width:a,height:o}=e;return{width:a,height:o,top:n,left:t,right:t+a,bottom:n+o,x:t,y:n}}function vl(e,t,n){let{reference:a,floating:o}=e,i=gn(t),s=Qa(t),l=Xa(s),u=Rr(t),p=i==="y",h=a.x+a.width/2-o.width/2,g=a.y+a.height/2-o.height/2,y=a[l]/2-o[l]/2,b;switch(u){case"top":b={x:h,y:a.y-o.height};break;case"bottom":b={x:h,y:a.y+a.height};break;case"right":b={x:a.x+a.width,y:g};break;case"left":b={x:a.x-o.width,y:g};break;default:b={x:a.x,y:a.y}}let v=Je(t);return v&&(b[s]+=y*(v==="end"?1:-1)*(n&&p?-1:1)),b}async function xl(e,t){var n;t===void 0&&(t={});let{x:a,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:y=!1,padding:b=0}=hn(t,e),v=bl(b),C=l[y?g==="floating"?"reference":"floating":g],E=ht(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(C)))==null||n?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),O=g==="floating"?{x:a,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),z=await(i.isElement==null?void 0:i.isElement(w))&&await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1},I=ht(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:O,offsetParent:w,strategy:u}):O);return{top:(E.top-I.top+v.top)/z.y,bottom:(I.bottom-E.bottom+v.bottom)/z.y,left:(E.left-I.left+v.left)/z.x,right:(I.right-E.right+v.right)/z.x}}var $u=50,Sl=async(e,t,n)=>{let{placement:a="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,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:o}),{x:h,y:g}=vl(p,a,u),y=a,b=0,v={};for(let x=0;x<i.length;x++){let C=i[x];if(!C)continue;let{name:E,fn:O}=C,{x:w,y:z,data:I,reset:D}=await O({x:h,y:g,initialPlacement:a,placement:y,strategy:o,middlewareData:v,rects:p,platform:l,elements:{reference:e,floating:t}});h=w??h,g=z??g,v[E]={...v[E],...I},D&&b<$u&&(b++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(p=D.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):D.rects),{x:h,y:g}=vl(p,y,u)),x=-1)}return{x:h,y:g,placement:y,strategy:o,middlewareData:v}};function Wu(e,t,n){return(e?[...n.filter(o=>Je(o)===e),...n.filter(o=>Je(o)!==e)]:n.filter(o=>Rr(o)===o)).filter(o=>e?Je(o)===e||(t?yl(o)!==o:!1):!0)}var Cl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,a,o;let{rects:i,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=Za,autoAlignment:b=!0,...v}=hn(e,t),x=g!==void 0||y===Za?Wu(g||null,b,y):y,C=((n=s.autoPlacement)==null?void 0:n.index)||0,E=x[C];if(E==null)return{};if(l!==E)return{reset:{placement:x[0]}};let O=await u.detectOverflow(t,v),w=gl(E,i,await(u.isRTL==null?void 0:u.isRTL(p.floating))),z=[O[Rr(E)],O[w[0]],O[w[1]]],I=[...((a=s.autoPlacement)==null?void 0:a.overflows)||[],{placement:E,overflows:z}],D=x[C+1];if(D)return{data:{index:C+1,overflows:I},reset:{placement:D}};let Oe=I.map(re=>{let ce=Je(re.placement);return[re.placement,ce&&h?re.overflows.slice(0,2).reduce((ne,ct)=>ne+ct,0):re.overflows[0],re.overflows]}).sort((re,ce)=>re[1]-ce[1]),Re=((o=Oe.filter(re=>re[2].slice(0,Je(re[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:o[0])||Oe[0][0];return Re!==l?{data:{index:C+1,overflows:I},reset:{placement:Re}}:{}}}};var El=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:a,placement:o,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:O=>{let{x:w,y:z}=O;return{x:w,y:z}}},...p}=hn(e,t),h={x:n,y:a},g=await i.detectOverflow(t,p),y=gn(o),b=Ya(y),v=h[b],x=h[y],C=(O,w)=>hl(w+g[O==="y"?"top":"left"],w,w-g[O==="y"?"bottom":"right"]);s&&(v=C(b,v)),l&&(x=C(y,x));let E=u.fn({...t,[b]:v,[y]:x});return{...E,data:{x:E.x-n,y:E.y-a,enabled:{[b]:s,[y]:l}}}}}};function bn(){return typeof window<"u"}function yt(e){return Ll(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Fe(e){var t;return(t=(Ll(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ll(e){return bn()?e instanceof Node||e instanceof J(e).Node:!1}function xe(e){return bn()?e instanceof Element||e instanceof J(e).Element:!1}function Ge(e){return bn()?e instanceof HTMLElement||e instanceof J(e).HTMLElement:!1}function Al(e){return!bn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function wr(e){let{overflow:t,overflowX:n,overflowY:a,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&o!=="inline"&&o!=="contents"}function Ol(e){return/^(table|td|th)$/.test(yt(e))}function Nr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var ju=/transform|translate|scale|rotate|perspective|filter/,Vu=/paint|layout|strict|content/,gt=e=>!!e&&e!=="none",Ja;function Yt(e){let t=xe(e)?Se(e):e;return gt(t.transform)||gt(t.translate)||gt(t.scale)||gt(t.rotate)||gt(t.perspective)||!vn()&&(gt(t.backdropFilter)||gt(t.filter))||ju.test(t.willChange||"")||Vu.test(t.contain||"")}function Rl(e){let t=et(e);for(;Ge(t)&&!Xt(t);){if(Yt(t))return t;if(Nr(t))return null;t=et(t)}return null}function vn(){return Ja==null&&(Ja=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ja}function Xt(e){return/^(html|body|#document)$/.test(yt(e))}function Se(e){return J(e).getComputedStyle(e)}function _r(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function et(e){if(yt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Al(e)&&e.host||Fe(e);return Al(t)?t.host:t}function wl(e){let t=et(e);return Xt(t)?(e.ownerDocument||e).body:Ge(t)&&wr(t)?t:wl(t)}function yn(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);let o=wl(e),i=o===((a=e.ownerDocument)==null?void 0:a.body),s=J(o);if(i){let l=xn(s);return t.concat(s,s.visualViewport||[],wr(o)?o:[],l&&n?yn(l):[])}else return t.concat(o,yn(o,[],n))}function xn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zl(e){let t=Se(e),n=parseFloat(t.width)||0,a=parseFloat(t.height)||0,o=Ge(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:a,l=Or(n)!==i||Or(a)!==s;return l&&(n=i,a=s),{width:n,height:a,$:l}}function Ml(e){return xe(e)?e:e.contextElement}function Qt(e){let t=Ml(e);if(!Ge(t))return Ne(1);let n=t.getBoundingClientRect(),{width:a,height:o,$:i}=zl(t),s=(i?Or(n.width):n.width)/a,l=(i?Or(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Ku=Ne(0);function kl(e){let t=J(e);return!vn()||!t.visualViewport?Ku:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qu(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===J(e)}function zr(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);let o=e.getBoundingClientRect(),i=Ml(e),s=Ne(1);t&&(a?xe(a)&&(s=Qt(a)):s=Qt(e));let l=qu(i,n,a)?kl(i):Ne(0),u=(o.left+l.x)/s.x,p=(o.top+l.y)/s.y,h=o.width/s.x,g=o.height/s.y;if(i&&a){let y=J(i),b=xe(a)?J(a):a,v=y,x=xn(v);for(;x&&b!==v;){let C=Qt(x),E=x.getBoundingClientRect(),O=Se(x),w=E.left+(x.clientLeft+parseFloat(O.paddingLeft))*C.x,z=E.top+(x.clientTop+parseFloat(O.paddingTop))*C.y;u*=C.x,p*=C.y,h*=C.x,g*=C.y,u+=w,p+=z,v=J(x),x=xn(v)}}return ht({width:h,height:g,x:u,y:p})}function Sn(e,t){let n=_r(e).scrollLeft;return t?t.left+n:zr(Fe(e)).left+n}function Tl(e,t){let n=e.getBoundingClientRect(),a=n.left+t.scrollLeft-Sn(e,n),o=n.top+t.scrollTop;return{x:a,y:o}}function Zu(e){let{elements:t,rect:n,offsetParent:a,strategy:o}=e,i=o==="fixed",s=Fe(a),l=t?Nr(t.floating):!1;if(a===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},p=Ne(1),h=Ne(0),g=Ge(a);if((g||!i)&&((yt(a)!=="body"||wr(s))&&(u=_r(a)),g)){let b=zr(a);p=Qt(a),h.x=b.x+a.clientLeft,h.y=b.y+a.clientTop}let y=s&&!g&&!i?Tl(s,u):Ne(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-u.scrollLeft*p.x+h.x+y.x,y:n.y*p.y-u.scrollTop*p.y+h.y+y.y}}function Yu(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Xu(e){let t=_r(e),n=e.ownerDocument.body,a=Qe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=Qe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),i=-t.scrollLeft+Sn(e),s=-t.scrollTop;return Se(n).direction==="rtl"&&(i+=Qe(e.clientWidth,n.clientWidth)-a),{width:a,height:o,x:i,y:s}}var Qu=25;function Ju(e,t,n){n===void 0&&(n="viewport");let a=n==="layoutViewport",o=J(e),i=Fe(e),s=o.visualViewport,l=i.clientWidth,u=i.clientHeight,p=0,h=0;if(s){let y=!vn()||t==="fixed";a?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(Sn(i)<=0){let y=i.ownerDocument,b=y.body,v=getComputedStyle(b),x=y.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,C=Math.abs(i.clientWidth-b.clientWidth-x),E=getComputedStyle(i).scrollbarGutter==="stable both-edges"?C/2:C;E<=Qu&&(l-=E)}return{width:l,height:u,x:p,y:h}}function ef(e,t){let n=zr(e,!0,t==="fixed"),a=n.top+e.clientTop,o=n.left+e.clientLeft,i=Qt(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,p=a*i.y;return{width:s,height:l,x:u,y:p}}function Nl(e,t,n){let a;if(t==="viewport"||t==="layoutViewport")a=Ju(e,n,t);else if(t==="document")a=Xu(Fe(e));else if(xe(t))a=ef(t,n);else{let o=kl(e);a={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ht(a)}function tf(e,t){let n=t.get(e);if(n)return n;let a=yn(e,[],!1).filter(l=>xe(l)&&yt(l)!=="body"),o=null,i=Se(e).position==="fixed",s=i?et(e):e;for(;xe(s)&&!Xt(s);){let l=Se(s),u=Yt(s),p=o?o.position:i?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?a=a.filter(g=>g!==s):o=l,s=et(s)}return t.set(e,a),a}function rf(e){let{element:t,boundary:n,rootBoundary:a,strategy:o}=e,s=[...n==="clippingAncestors"?Nr(t)?[]:tf(t,this._c):[].concat(n),a],l=Nl(t,s[0],o),u=l.top,p=l.right,h=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let b=Nl(t,s[y],o);u=Qe(b.top,u),p=Lr(b.right,p),h=Lr(b.bottom,h),g=Qe(b.left,g)}return{width:p-g,height:h-u,x:g,y:u}}function nf(e){let{width:t,height:n}=zl(e);return{width:t,height:n}}function af(e,t,n){let a=Ge(t),o=Fe(t),i=n==="fixed",s=zr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=Ne(0);if((a||!i)&&((yt(t)!=="body"||wr(o))&&(l=_r(t)),a)){let y=zr(t,!0,i,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}!a&&o&&(u.x=Sn(o));let p=o&&!a&&!i?Tl(o,l):Ne(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 eo(e){return Se(e).position==="static"}function _l(e,t){if(!Ge(e)||Se(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Fe(e)===n&&(n=n.ownerDocument.body),n}function Il(e,t){let n=J(e);if(Nr(e))return n;if(!Ge(e)){let o=et(e);for(;o&&!Xt(o);){if(xe(o)&&!eo(o))return o;o=et(o)}return n}let a=_l(e,t);for(;a&&Ol(a)&&eo(a);)a=_l(a,t);return a&&Xt(a)&&eo(a)&&!Yt(a)?n:a||Rl(e)||n}var of=async function(e){let t=this.getOffsetParent||Il,n=this.getDimensions,a=await n(e.floating);return{reference:af(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function sf(e){return Se(e).direction==="rtl"}var Cn={convertOffsetParentRelativeRectToViewportRelativeRect:Zu,getDocumentElement:Fe,getClippingRect:rf,getOffsetParent:Il,getElementRects:of,getClientRects:Yu,getDimensions:nf,getScale:Qt,isElement:xe,isRTL:sf};var Pl=Cl,Dl=El;var Ul=(e,t,n)=>{let a=new Map,o=n??{},i={...Cn,...o.platform,_c:a};return Sl(e,t,{...o,platform:i})};function Bl(e){return cf(e)}function to(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function cf(e){for(let t=e;t;t=to(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=to(e);t;t=to(t)){if(!(t instanceof Element))continue;let n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||Yt(n)||t.tagName==="BODY"))return t}return null}async function Fl(e,t,n){let a;return typeof n=="object"?a=n:a={placement:n},Ul(e,t,{strategy:a.strategy,platform:{...Cn,getOffsetParent:o=>Cn.getOffsetParent(o,Bl)},middleware:[Dl({crossAxis:!0}),Pl({allowedPlacements:[a.placement]})]})}var dr=L(T());var wo=L(Y());var Gl=L(Y(),1);var ro=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Hl(e,t){return(0,Gl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return Mr(e);try{return JSON.parse(n)}catch{return Mr(e)}},toAttribute:n=>JSON.stringify(n)},hasChanged:kr,...t??{}})}function lf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,a;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(a=n;a--!==0;)if(!En(e[a],t[a]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[0]))return!1;for(a of e.entries())if(!En(a[1],t.get(a[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[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 o=s=>Object.keys(s).filter(l=>s[l]!=null),i=o(e);if(n=i.length,n!==o(t).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[a]))return!1;for(a=n;a--!==0;){let s=i[a];if(!En(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function En(e,t){try{return lf(e,t)}catch{return!1}}function kr(e,t){return!En(e,t)}function Mr(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function An(e,t){let n=a=>a[e]===!0;return a=>{if(n(a))return a;let o=t(a);return o[e]=!0,o}}var $l=L(Y(),1);var no=e=>{let t=e??{};return(n,a)=>{var o;let i={hasChanged:kr,attribute:!1,...t};(0,$l.property)(i)(n,a);let s=n.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(a,{selector:(o=t.selector)!==null&&o!==void 0?o:(l=>l[a]),store:t.store})}};var Ln=class{constructor(){this.queue=[]}add(t,n=!1){n&&this.clear(t.type),this.queue.push(t)}consume(t){let n=this.queue.find(a=>a.type===t);return n&&(this.queue=this.queue.filter(a=>a!==n)),n}clear(t){typeof t=="string"?this.queue=this.queue.filter(n=>n.type!==t):this.queue=this.queue.filter(n=>!t.test(n.type))}};var bt=L(Y(),1);var On=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,n){return this.callbacks=[t],this.debounce(n)}queue(t,n){return this.callbacks.push(t),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((n,a)=>{this.resolvePromise=n,this.rejectPromise=a})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,n;let a=[...this.callbacks];this.callbacks=[];let o=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(n=this.resolvePromise)!==null&&n!==void 0?n:(()=>null);this.clearPromise();for(let s of a)try{await s()}catch(l){o(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 jl=L(W(),1);var Rn=globalThis,df=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var Wl=(e,t)=>{if(df)e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet);else for(let n of t){let a=document.createElement("style"),o=Rn.litNonce;o!==void 0&&a.setAttribute("nonce",o),a.textContent=n.cssText,e.appendChild(a)}};var wn=class extends jl.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let n={...t.shadowRootOptions,customElements:t.registry},a=this.renderOptions.creationScope=this.attachShadow(n);return Wl(a,t.elementStyles),a}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([n,a])=>this.defineScopedElement(n,a))}static defineScopedElement(t,n){ro(t)(n),this.canDefineScopedElement(t)&&this.registry.define(t,n)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,n){this.scopedRegistryConstructor.defineScopedElement(t,n)}};function Vl(e,t,...n){var a;let o=e.querySelector(t);for(let i of n)o=(a=o?.shadowRoot)===null||a===void 0?void 0:a.querySelector(i);return o}var er=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},Yl,Kl=Symbol("constructorPrototype"),ql=Symbol("constructorName"),Xl=Symbol("exportpartsDebouncer"),Zl=Symbol("dynamicDependenciesLoaded"),Jt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Jt.eventName="exportparts-updated";var _e=class extends wn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yl]=new On(5),this.scheduleExportpartsUpdate=()=>{var t,n,a;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(a=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&a!==void 0&&a)&&this[Xl].run(()=>{var o,i;!((o=this.exportpartsPrefix)===null||o===void 0)&&o.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[ql]=this.constructor.name,this[Kl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ql]&&Object.setPrototypeOf(this,this[Kl])}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(a){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",a)}let n=this.constructor;n[Zl]||(n[Zl]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Jt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Jt.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 Jt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:n,selector:a,shadowPath:o}=this.elementToFocus;if(a!=null){let i=[...o??[],a];n=Vl(this.shadowRoot,...i)}n?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||n?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var n,a,o;if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var n,a,o,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(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(i=(o=y.getAttribute("part"))===null||o===void 0?void 0:o.split(" "))!==null&&i!==void 0?i:[],v=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[],x=[...b,...v].filter(u).map(C=>C.trim());for(let C of x)h.add(C)}if(h.size===0){this.exportparts=void 0;return}let g=[...h.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};Yl=Xl;er([(0,bt.property)()],_e.prototype,"exportpartsPrefix",void 0);er([Hl([])],_e.prototype,"exportpartsPrefixes",void 0);er([(0,bt.property)({reflect:!0})],_e.prototype,"exportparts",void 0);er([(0,bt.property)()],_e.prototype,"customStylesheet",void 0);er([(0,bt.property)()],_e.prototype,"elementToFocus",void 0);er([(0,bt.state)()],_e.prototype,"useAdoptedStyleSheets",void 0);function Nn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Tr=Symbol("internalReduxEventsUnsubscribers"),tt=Symbol("internalStoresUnsubscribers"),vt=Symbol("internalStores"),uf=An(Symbol("withRedux"),function(e){var t,n,a;class o extends e{constructor(){super(...arguments),this[t]=new Map,this[n]=new Map,this[a]=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[vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[vt].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[vt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[vt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[vt].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[tt].has(s.store):this[tt].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[tt].set(s,l.subscribe(()=>this.updateFromStores())),this[Tr].set(s,[]),Nn(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[Tr].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[tt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[tt].has(s)&&this[tt].get(s)(),this[tt].delete(s),(l=this[Tr].get(s))===null||l===void 0||l.forEach(u=>u()),this[Tr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=tt,n=vt,a=Tr,o.reduxProperties=new Map,o.reduxReactiveProperties=new Set,o.reduxEventListeners=new Map,o}),Ql=class extends uf(_e){};function ue(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(0)var o,i;throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function He(e){return!!e&&!!e[U]}function Ce(e){var t;return!!e&&((function(n){if(!n||typeof n!="object")return!1;var a=Object.getPrototypeOf(n);if(a===null)return!0;var o=Object.hasOwnProperty.call(a,"constructor")&&a.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===vf})(e)||Array.isArray(e)||!!e[o1]||!!(!((t=e.constructor)===null||t===void 0)&&t[o1])||po(e)||mo(e))}function xt(e,t,n){n===void 0&&(n=!1),nr(e)===0?(n?Object.keys:rr)(e).forEach((function(a){n&&typeof a=="symbol"||t(a,e[a],e)})):e.forEach((function(a,o){return t(o,a,e)}))}function nr(e){var t=e[U];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:po(e)?2:mo(e)?3:0}function tr(e,t){return nr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ff(e,t){return nr(e)===2?e.get(t):e[t]}function i1(e,t,n){var a=nr(e);a===2?e.set(t,n):a===3?e.add(n):e[t]=n}function s1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function po(e){return yf&&e instanceof Map}function mo(e){return bf&&e instanceof Set}function rt(e){return e.o||e.t}function ho(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=d1(e);delete t[U];for(var n=rr(t),a=0;a<n.length;a++){var o=n[a],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function go(e,t){return t===void 0&&(t=!1),yo(e)||He(e)||!Ce(e)||(nr(e)>1&&(e.set=e.add=e.clear=e.delete=pf),Object.freeze(e),t&&xt(e,(function(n,a){return go(a,!0)}),!0)),e}function pf(){ue(2)}function yo(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ze(e){var t=fo[e];return t||ue(18,e),t}function mf(e,t){fo[e]||(fo[e]=t)}function co(){return Pr}function ao(e,t){t&&(ze("Patches"),e.u=[],e.s=[],e.v=t)}function _n(e){lo(e),e.p.forEach(hf),e.p=null}function lo(e){e===Pr&&(Pr=e.l)}function Jl(e){return Pr={p:[],l:Pr,h:e,m:!0,_:0}}function hf(e){var t=e[U];t.i===0||t.i===1?t.j():t.g=!0}function oo(e,t){t._=t.p.length;var n=t.p[0],a=e!==void 0&&e!==n;return t.h.O||ze("ES5").S(t,e,a),a?(n[U].P&&(_n(t),ue(4)),Ce(e)&&(e=zn(t,e),t.l||Mn(t,e)),t.u&&ze("Patches").M(n[U].t,e,t.u,t.s)):e=zn(t,n,[]),_n(t),t.u&&t.v(t.u,t.s),e!==l1?e:void 0}function zn(e,t,n){if(yo(t))return t;var a=t[U];if(!a)return xt(t,(function(l,u){return e1(e,a,t,l,u,n)}),!0),t;if(a.A!==e)return t;if(!a.P)return Mn(e,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var o=a.i===4||a.i===5?a.o=ho(a.k):a.o,i=o,s=!1;a.i===3&&(i=new Set(o),o.clear(),s=!0),xt(i,(function(l,u){return e1(e,a,o,l,u,n,s)})),Mn(e,o,!1),n&&e.u&&ze("Patches").N(a,n,e.u,e.s)}return a.o}function e1(e,t,n,a,o,i,s){if(He(o)){var l=zn(e,o,i&&t&&t.i!==3&&!tr(t.R,a)?i.concat(a):void 0);if(i1(n,a,l),!He(l))return;e.m=!1}else s&&n.add(o);if(Ce(o)&&!yo(o)){if(!e.h.D&&e._<1)return;zn(e,o),t&&t.A.l||Mn(e,o)}}function Mn(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&go(t,n)}function io(e,t){var n=e[U];return(n?rt(n):e)[t]}function t1(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}function nt(e){e.P||(e.P=!0,e.l&&nt(e.l))}function so(e){e.o||(e.o=ho(e.t))}function uo(e,t,n){var a=po(t)?ze("MapSet").F(t,n):mo(t)?ze("MapSet").T(t,n):e.O?(function(o,i){var s=Array.isArray(o),l={i:s?1:0,A:i?i.A:co(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},u=l,p=Dr;s&&(u=[l],p=Ir);var h=Proxy.revocable(u,p),g=h.revoke,y=h.proxy;return l.k=y,l.j=g,y})(t,n):ze("ES5").J(t,n);return(n?n.A:co()).p.push(a),a}function gf(e){return He(e)||ue(22,e),(function t(n){if(!Ce(n))return n;var a,o=n[U],i=nr(n);if(o){if(!o.P&&(o.i<4||!ze("ES5").K(o)))return o.t;o.I=!0,a=r1(n,i),o.I=!1}else a=r1(n,i);return xt(a,(function(s,l){o&&ff(o.t,s)===l||i1(a,s,t(l))})),i===3?new Set(a):a})(e)}function r1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ho(e)}function c1(){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[U];return Dr.get(p,s)},set:function(p){var h=this[U];Dr.set(h,s,p)}},u}function t(s){for(var l=s.length-1;l>=0;l--){var u=s[l][U];if(!u.P)switch(u.i){case 5:a(u)&&nt(u);break;case 4:n(u)&&nt(u)}}}function n(s){for(var l=s.t,u=s.k,p=rr(u),h=p.length-1;h>=0;h--){var g=p[h];if(g!==U){var y=l[g];if(y===void 0&&!tr(l,g))return!0;var b=u[g],v=b&&b[U];if(v?v.t!==y:!s1(b,y))return!0}}var x=!!l[U];return p.length!==rr(l).length+(x?0:1)}function a(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 o(s){s.g&&ue(3,JSON.stringify(rt(s)))}var i={};mf("ES5",{J:function(s,l){var u=Array.isArray(s),p=(function(g,y){if(g){for(var b=Array(y.length),v=0;v<y.length;v++)Object.defineProperty(b,""+v,e(v,!0));return b}var x=d1(y);delete x[U];for(var C=rr(x),E=0;E<C.length;E++){var O=C[E];x[O]=e(O,g||!!x[O].enumerable)}return Object.create(Object.getPrototypeOf(y),x)})(u,s),h={i:u?5:4,A:l?l.A:co(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,U,{value:h,writable:!0}),p},S:function(s,l,u){u?He(l)&&l[U].A===s&&t(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var g=h[U];if(g){var y=g.t,b=g.k,v=g.R,x=g.i;if(x===4)xt(b,(function(z){z!==U&&(y[z]!==void 0||tr(y,z)?v[z]||p(b[z]):(v[z]=!0,nt(g)))})),xt(y,(function(z){b[z]!==void 0||tr(b,z)||(v[z]=!1,nt(g))}));else if(x===5){if(a(g)&&(nt(g),v.length=!0),b.length<y.length)for(var C=b.length;C<y.length;C++)v[C]=!1;else for(var E=y.length;E<b.length;E++)v[E]=!0;for(var O=Math.min(b.length,y.length),w=0;w<O;w++)b.hasOwnProperty(w)||(v[w]=!0),v[w]===void 0&&p(b[w])}}}})(s.p[0]),t(s.p))},K:function(s){return s.i===4?n(s):a(s)}})}var n1,Pr,bo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yf=typeof Map<"u",bf=typeof Set<"u",a1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",l1=bo?Symbol.for("immer-nothing"):((n1={})["immer-nothing"]=!0,n1),o1=bo?Symbol.for("immer-draftable"):"__$immer_draftable",U=bo?Symbol.for("immer-state"):"__$immer_state";var vf=""+Object.prototype.constructor,rr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,d1=Object.getOwnPropertyDescriptors||function(e){var t={};return rr(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},fo={},Dr={get:function(e,t){if(t===U)return e;var n=rt(e);if(!tr(n,t))return(function(o,i,s){var l,u=t1(i,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(o.k):void 0})(e,n,t);var a=n[t];return e.I||!Ce(a)?a:a===io(e.t,t)?(so(e),e.o[t]=uo(e.A.h,a,e)):a},has:function(e,t){return t in rt(e)},ownKeys:function(e){return Reflect.ownKeys(rt(e))},set:function(e,t,n){var a=t1(rt(e),t);if(a?.set)return a.set.call(e.k,n),!0;if(!e.P){var o=io(rt(e),t),i=o?.[U];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(s1(n,o)&&(n!==void 0||tr(e.t,t)))return!0;so(e),nt(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return io(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,so(e),nt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=rt(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:a.enumerable,value:n[t]}},defineProperty:function(){ue(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ue(12)}},Ir={};xt(Dr,(function(e,t){Ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ir.deleteProperty=function(e,t){return Ir.set.call(this,e,t,void 0)},Ir.set=function(e,t,n){return Dr.set.call(this,e[0],t,n,e[0])};var xf=(function(){function e(n){var a=this;this.O=a1,this.D=!0,this.produce=function(o,i,s){if(typeof o=="function"&&typeof i!="function"){var l=i;i=o;var u=a;return function(x){var C=this;x===void 0&&(x=l);for(var E=arguments.length,O=Array(E>1?E-1:0),w=1;w<E;w++)O[w-1]=arguments[w];return u.produce(x,(function(z){var I;return(I=i).call.apply(I,[C,z].concat(O))}))}}var p;if(typeof i!="function"&&ue(6),s!==void 0&&typeof s!="function"&&ue(7),Ce(o)){var h=Jl(a),g=uo(a,o,void 0),y=!0;try{p=i(g),y=!1}finally{y?_n(h):lo(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(x){return ao(h,s),oo(x,h)}),(function(x){throw _n(h),x})):(ao(h,s),oo(p,h))}if(!o||typeof o!="object"){if((p=i(o))===void 0&&(p=o),p===l1&&(p=void 0),a.D&&go(p,!0),s){var b=[],v=[];ze("Patches").M(o,p,b,v),s(b,v)}return p}ue(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="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 a.produceWithPatches(p,(function(b){return o.apply(void 0,[b].concat(g))}))};var s,l,u=a.produce(o,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 n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Ce(n)||ue(8),He(n)&&(n=gf(n));var a=Jl(this),o=uo(this,n,void 0);return o[U].C=!0,lo(a),o},t.finishDraft=function(n,a){var o=n&&n[U],i=o.A;return ao(i,a),oo(void 0,i)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!a1&&ue(20),this.O=n},t.applyPatches=function(n,a){var o;for(o=a.length-1;o>=0;o--){var i=a[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(a=a.slice(o+1));var s=ze("Patches").$;return He(n)?s(n,a):this.produce(n,(function(l){return s(l,a)}))},e})(),oe=new xf,Sf=oe.produce,ih=oe.produceWithPatches.bind(oe),sh=oe.setAutoFreeze.bind(oe),ch=oe.setUseProxies.bind(oe),lh=oe.applyPatches.bind(oe),dh=oe.createDraft.bind(oe),uh=oe.finishDraft.bind(oe),kn=Sf;function St(e){"@babel/helpers - typeof";return St=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},St(e)}function u1(e,t){if(St(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(St(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function f1(e){var t=u1(e,"string");return St(t)=="symbol"?t:t+""}function p1(e,t,n){return(t=f1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m1(Object(n),!0).forEach(function(a){p1(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m1(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function q(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 h1=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),xo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Tn={INIT:"@@redux/INIT"+xo(),REPLACE:"@@redux/REPLACE"+xo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+xo()}};function Cf(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 So(e,t,n){var a;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(q(1));return n(So)(e,t)}if(typeof e!="function")throw new Error(q(2));var o=e,i=t,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function h(){if(u)throw new Error(q(3));return i}function g(x){if(typeof x!="function")throw new Error(q(4));if(u)throw new Error(q(5));var C=!0;return p(),l.push(x),function(){if(C){if(u)throw new Error(q(6));C=!1,p();var O=l.indexOf(x);l.splice(O,1),s=null}}}function y(x){if(!Cf(x))throw new Error(q(7));if(typeof x.type>"u")throw new Error(q(8));if(u)throw new Error(q(9));try{u=!0,i=o(i,x)}finally{u=!1}for(var C=s=l,E=0;E<C.length;E++){var O=C[E];O()}return x}function b(x){if(typeof x!="function")throw new Error(q(10));o=x,y({type:Tn.REPLACE})}function v(){var x,C=g;return x={subscribe:function(O){if(typeof O!="object"||O===null)throw new Error(q(11));function w(){O.next&&O.next(h())}w();var z=C(w);return{unsubscribe:z}}},x[h1]=function(){return this},x}return y({type:Tn.INIT}),a={dispatch:y,subscribe:g,getState:h,replaceReducer:b},a[h1]=v,a}function Ef(e){Object.keys(e).forEach(function(t){var n=e[t],a=n(void 0,{type:Tn.INIT});if(typeof a>"u")throw new Error(q(12));if(typeof n(void 0,{type:Tn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function g1(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var o=t[a];typeof e[o]=="function"&&(n[o]=e[o])}var i=Object.keys(n),s,l;try{Ef(n)}catch(u){l=u}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var g;for(var y=!1,b={},v=0;v<i.length;v++){var x=i[v],C=n[x],E=p[x],O=C(E,h);if(typeof O>"u"){var w=h&&h.type;throw new Error(q(14))}b[x]=O,y=y||O!==E}return y=y||i.length!==Object.keys(p).length,y?b:p}}function ar(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(a){return a}:t.length===1?t[0]:t.reduce(function(a,o){return function(){return a(o.apply(void 0,arguments))}})}function y1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(a){return function(){var o=a.apply(void 0,arguments),i=function(){throw new Error(q(15))},s={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(u){return u(s)});return i=ar.apply(void 0,l)(o.dispatch),vo(vo({},o),{},{dispatch:i})}}}function b1(e){var t=function(a){var o=a.dispatch,i=a.getState;return function(s){return function(l){return typeof l=="function"?l(o,i,e):s(l)}}};return t}var v1=b1();v1.withExtraArgument=b1;var Co=v1;var A1=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(a[i]=o[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function a(){this.constructor=t}t.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}})(),Af=function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,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(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,o&&(i=p[0]&2?o.return:p[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,p[1])).done)return i;switch(o=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return n.label++,{value:p[1],done:!1};case 5:n.label++,o=p[1],p=[0];continue;case 7:p=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){n=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){n.label=p[1];break}if(p[0]===6&&n.label<i[1]){n.label=i[1],i=p;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(p);break}i[2]&&n.ops.pop(),n.trys.pop();continue}p=t.call(e,n)}catch(h){p=[6,h],o=0}finally{a=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},or=function(e,t){for(var n=0,a=t.length,o=e.length;n<a;n++,o++)e[o]=t[n];return e},Lf=Object.defineProperty,Of=Object.defineProperties,Rf=Object.getOwnPropertyDescriptors,x1=Object.getOwnPropertySymbols,wf=Object.prototype.hasOwnProperty,Nf=Object.prototype.propertyIsEnumerable,S1=function(e,t,n){return t in e?Lf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},at=function(e,t){for(var n in t||(t={}))wf.call(t,n)&&S1(e,n,t[n]);if(x1)for(var a=0,o=x1(t);a<o.length;a++){var n=o[a];Nf.call(t,n)&&S1(e,n,t[n])}return e},Eo=function(e,t){return Of(e,Rf(t))},_f=function(e,t,n){return new Promise(function(a,o){var i=function(u){try{l(n.next(u))}catch(p){o(p)}},s=function(u){try{l(n.throw(u))}catch(p){o(p)}},l=function(u){return u.done?a(u.value):Promise.resolve(u.value).then(i,s)};l((n=n.apply(e,t)).next())})};var zf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ar:ar.apply(null,arguments)},Nh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Mf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}function ot(e,t){function n(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];if(t){var i=t.apply(void 0,a);if(!i)throw new Error("prepareAction did not return an object");return at(at({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:a[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(a){return a.type===e},n}var kf=(function(e){A1(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,or([void 0],n[0].concat(this)))):new(t.bind.apply(t,or([void 0],n.concat(this))))},t})(Array),Tf=(function(e){A1(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,or([void 0],n[0].concat(this)))):new(t.bind.apply(t,or([void 0],n.concat(this))))},t})(Array);function Oo(e){return Ce(e)?kn(e,function(){}):e}function If(e){return typeof e=="boolean"}function Pf(){return function(t){return Df(t)}}function Df(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,a=e.immutableCheck,o=a===void 0?!0:a,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,u=l===void 0?!0:l,p=new kf;if(n&&(If(n)?p.push(Co):p.push(Co.withExtraArgument(n.extraArgument))),0){if(o)var h;if(s)var g;if(u)var y}return p}var Ao=!0;function L1(e){var t=Pf(),n=e||{},a=n.reducer,o=a===void 0?void 0:a,i=n.middleware,s=i===void 0?t():i,l=n.devTools,u=l===void 0?!0:l,p=n.preloadedState,h=p===void 0?void 0:p,g=n.enhancers,y=g===void 0?void 0:g,b;if(typeof o=="function")b=o;else if(Mf(o))b=g1(o);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 v=s;if(typeof v=="function"&&(v=v(t),!Ao&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ao&&v.some(function(z){return typeof z!="function"}))throw new Error("each middleware provided to configureStore must be a function");var x=y1.apply(void 0,v),C=ar;u&&(C=zf(at({trace:!Ao},typeof u=="object"&&u)));var E=new Tf(x),O=E;Array.isArray(y)?O=or([x],y):typeof y=="function"&&(O=y(E));var w=C.apply(void 0,O);return So(b,h,w)}function O1(e){var t={},n=[],a,o={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,o},addMatcher:function(i,s){return n.push({matcher:i,reducer:s}),o},addDefaultCase:function(i){return a=i,o}};return e(o),[t,n,a]}function Uf(e){return typeof e=="function"}function Bf(e,t,n,a){n===void 0&&(n=[]);var o=typeof t=="function"?O1(t):[t,n,a],i=o[0],s=o[1],l=o[2],u;if(Uf(e))u=function(){return Oo(e())};else{var p=Oo(e);u=function(){return p}}function h(g,y){g===void 0&&(g=u());var b=or([i[y.type]],s.filter(function(v){var x=v.matcher;return x(y)}).map(function(v){var x=v.reducer;return x}));return b.filter(function(v){return!!v}).length===0&&(b=[l]),b.reduce(function(v,x){if(x)if(He(v)){var C=v,E=x(C,y);return E===void 0?v:E}else{if(Ce(v))return kn(v,function(O){return x(O,y)});var E=x(v,y);if(E===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return v},g)}return h.getInitialState=u,h}function Ff(e,t){return e+"/"+t}function R1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:Oo(e.initialState),a=e.reducers||{},o=Object.keys(a),i={},s={},l={};o.forEach(function(h){var g=a[h],y=Ff(t,h),b,v;"reducer"in g?(b=g.reducer,v=g.prepare):b=g,i[h]=b,s[y]=b,l[h]=v?ot(y,v):ot(y)});function u(){var h=typeof e.extraReducers=="function"?O1(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,b=h[1],v=b===void 0?[]:b,x=h[2],C=x===void 0?void 0:x,E=at(at({},y),s);return Bf(n,function(O){for(var w in E)O.addCase(w,E[w]);for(var z=0,I=v;z<I.length;z++){var D=I[z];O.addMatcher(D.matcher,D.reducer)}C&&O.addDefaultCase(C)})}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 Gf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Hf=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=Gf[Math.random()*64|0];return t},$f=["name","message","stack","code"],Lo=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),C1=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),Wf=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,a=$f;n<a.length;n++){var o=a[n];typeof e[o]=="string"&&(t[o]=e[o])}return t}return{message:String(e)}},kh=(function(){function e(t,n,a){var o=ot(t+"/fulfilled",function(h,g,y,b){return{payload:h,meta:Eo(at({},b||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=ot(t+"/pending",function(h,g,y){return{payload:void 0,meta:Eo(at({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=ot(t+"/rejected",function(h,g,y,b,v){return{payload:b,error:(a&&a.serializeError||Wf)(h||"Rejected"),meta:Eo(at({},v||{}),{arg:y,requestId:g,rejectedWithValue:!!b,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,b){var v=a?.idGenerator?a.idGenerator(h):Hf(),x=new u,C,E=!1;function O(z){C=z,x.abort()}var w=(function(){return _f(this,null,function(){var z,I,D,Oe,st,Re,re;return Af(this,function(ce){switch(ce.label){case 0:return ce.trys.push([0,4,,5]),Oe=(z=a?.condition)==null?void 0:z.call(a,h,{getState:y,extra:b}),Vf(Oe)?[4,Oe]:[3,2];case 1:Oe=ce.sent(),ce.label=2;case 2:if(Oe===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,st=new Promise(function(ne,ct){return x.signal.addEventListener("abort",function(){return ct({name:"AbortError",message:C||"Aborted"})})}),g(i(v,h,(I=a?.getPendingMeta)==null?void 0:I.call(a,{requestId:v,arg:h},{getState:y,extra:b}))),[4,Promise.race([st,Promise.resolve(n(h,{dispatch:g,getState:y,extra:b,requestId:v,signal:x.signal,abort:O,rejectWithValue:function(ne,ct){return new Lo(ne,ct)},fulfillWithValue:function(ne,ct){return new C1(ne,ct)}})).then(function(ne){if(ne instanceof Lo)throw ne;return ne instanceof C1?o(ne.payload,v,h,ne.meta):o(ne,v,h)})])];case 3:return D=ce.sent(),[3,5];case 4:return Re=ce.sent(),D=Re instanceof Lo?s(null,v,h,Re.payload,Re.meta):s(Re,v,h),[3,5];case 5:return re=a&&!a.dispatchConditionRejection&&s.match(D)&&D.meta.condition,re||g(D),[2,D]}})})})();return Object.assign(w,{abort:O,requestId:v,arg:h,unwrap:function(){return w.then(jf)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:o,typePrefix:t})}return e.withTypes=function(){return e},e})();function jf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Vf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var w1="listener",N1="completed",_1="cancelled",Th="task-"+_1,Ih="task-"+N1,Ph=w1+"-"+_1,Dh=w1+"-"+N1;var Ro="listenerMiddleware";var Uh=ot(Ro+"/add"),Bh=ot(Ro+"/removeAll"),Fh=ot(Ro+"/remove");var E1,Gh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(E1||(E1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Kf=function(e){return function(t){setTimeout(t,e)}},Hh=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Kf(10);c1();var qf=An(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(n,a,o){this.eventBus.addEventListener(n,a,o)}dispatchEvent(n){return this.eventBus.dispatchEvent(n)}removeEventListener(n,a,o){this.eventBus.removeEventListener(n,a,o)}}}),In=class extends qf(Object){};window.ftReduxStores||(window.ftReduxStores={});var z1=class e extends In{static get(t){var n;let a=typeof t=="string"?t:t.name,o=typeof t=="string"?void 0:t,i=window.ftReduxStores[a];if(Nn(i))return i;if(o==null)return;let s=R1({...o,reducers:(n=o.reducers)!==null&&n!==void 0?n:{}}),l=L1({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Mr(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[o.name]=new e(s,l,o.eventBus)}constructor(t,n,a){super(),this.reduxSlice=t,this.reduxStore=n,this.isFtReduxStore=!0,this.commands=new Ln;let o=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(o));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[u]:o(h)})}}}),this.eventBus=a??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 Pn=class{static format(t,n,a,o,i){return window.moment?window.moment(t).locale(n).format(this.getMomentDateFormat(a,o,!!i)):this.getIntlDateTime(t,n,a,o,!!i)}static getMomentDateFormat(t,n,a){return a?"LT":t?n?"lll":"ll":n?"L LT":"L"}static getIntlDateTime(t,n,a,o,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(n,{dateStyle:a?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(n,{timeStyle:"short"}).format(s);return i?u:o?`${l} ${u}`:l}static getTimezoneAsString(){let t=a=>String(Math.floor(a)).padStart(2,"0"),n=new Date().getTimezoneOffset();return`${n<0?"+":"-"}${t(Math.abs(n)/60)}:${t(Math.abs(n)%60)}`}};var Dn=L(T()),Zf="ft-app-info",ir=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ir.eventName="authentication-change";var Ur=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ur.eventName="ui-locale-changed";var Yf={session:(e,t)=>{(0,Dn.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>k.dispatchEvent(new ir(t.payload)),0))}},k=Dn.FtReduxStore.get({name:Zf,reducers:Yf,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 M1=L(T()),Un=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},g9=(0,M1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...a){super(a),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(a){return a.has("metadataDescriptors")||a.has("useLongDateFormat")||a.has("useDateTimeFormat")||a.has("uiLocale")}getDateFormatter(a){var o,i;return((i=(o=this.metadataDescriptors.find(l=>l.key===a))===null||o===void 0?void 0:o.date)!==null&&i!==void 0?i:!1)?l=>Pn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Un([(0,wo.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Un([(0,wo.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Un([no({store:k.name,selector:n=>{var a,o;return(o=(a=n.metadataConfiguration)===null||a===void 0?void 0:a.descriptors)!==null&&o!==void 0?o:[]}})],t.prototype,"metadataDescriptors",void 0),Un([no({store:k.name})],t.prototype,"uiLocale",void 0),t});var k1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(k1||(k1={}));var T1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(T1||(T1={}));var I1;(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"})(I1||(I1={}));var P1;(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"})(P1||(P1={}));var D1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(D1||(D1={}));var U1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(U1||(U1={}));var B1;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(B1||(B1={}));var F1;(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"})(F1||(F1={}));var G1;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(G1||(G1={}));var H1;(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"})(H1||(H1={}));var $1;(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"})($1||($1={}));var W1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(W1||(W1={}));var j1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(j1||(j1={}));var V1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(V1||(V1={}));var K1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(K1||(K1={}));var q1;(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"})(q1||(q1={}));var Z1;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Z1||(Z1={}));var Y1;(function(e){e.ASC="ASC",e.DESC="DESC"})(Y1||(Y1={}));var X1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(X1||(X1={}));var Q1;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Q1||(Q1={}));var J1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(J1||(J1={}));var e2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(e2||(e2={}));var t2;(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"})(t2||(t2={}));var r2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(r2||(r2={}));var n2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(n2||(n2={}));var a2;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(a2||(a2={}));var o2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(o2||(o2={}));var H;(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"})(H||(H={}));var fe;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(fe||(fe={}));var i2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(i2||(i2={}));var s2;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(s2||(s2={}));var c2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(c2||(c2={}));var l2;(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"})(l2||(l2={}));var d2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(d2||(d2={}));var u2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(u2||(u2={}));var f2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(f2||(f2={}));var p2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(p2||(p2={}));var m2;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(m2||(m2={}));var h2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(h2||(h2={}));var g2;(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"})(g2||(g2={}));var y2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(y2||(y2={}));var Xf={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN,H.BEHAVIOR_DATA_USER],[H.GENERATIVE_AI_EXPORT_USER]:[H.GENERATIVE_AI_USER]};function b2(e,t){return e===t||(Xf[e]??[]).some(n=>b2(n,t))}function v2(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(a=>b2(a,t))}var $n=L(T());var No=L(T());var Ct=class e{static get(t){let{baseUrl:n,apiIntegrationIdentifier:a}=k.getState(),o=t??a;if(n&&o&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,o,!0)}static await(t){return new Promise(n=>{let a=e.get(t);if(a)n(a);else{let o=k.subscribe(()=>{a=e.get(t),a&&(o(),n(a))})}})}};var sr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ct.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ct.await()}};var ie=class extends sr{constructor(t=!0,n){var a;super(n),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 o=this.constructor;o.commonCache=(a=o.commonCache)!==null&&a!==void 0?a:new No.CacheRegistry,this.cache=t?o.commonCache:new No.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((n,a)=>0|31*n+a.charCodeAt(0),0))}};var Bn=class extends ie{async listMySearches(){let{session:t}=k.getState();return v2(t,H.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var Fn=class extends ie{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var Gn=class extends ie{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=k.getState().session;return!!t?.sessionAuthenticated}};var Hn=class extends ie{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=k.getState().session;return!!t?.sessionAuthenticated}};var Qf="ft-user-assets",Jf={setAssetCount:(e,t)=>{let{userAssetType:n,count:a}=t.payload.assetCount;e.assetCounts.allAsset[n]=a},clearAssetCount:e=>{Object.values(fe).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let n=t.payload.mapId;e.assetCounts.bookmarkByMap[n]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:n,mapId:a,asset:o}=t.payload;zo(e,n,[..._o(e,n),o]),x2(e,n,1,a),S2(e,o)},editAsset:(e,t)=>{let{assetType:n,asset:a}=t.payload;zo(e,n,_o(e,n).map(o=>o.id===a.id?a:o)),S2(e,a)},removeAsset:(e,t)=>{let{assetType:n,mapId:a,assetId:o}=t.payload;zo(e,n,_o(e,n).filter(i=>i.id!==o)),x2(e,n,-1,a)}},C2={[fe.SEARCHES]:"savedSearches",[fe.BOOKMARKS]:"bookmarks",[fe.BOOKS]:void 0,[fe.COLLECTIONS]:void 0},_o=(e,t)=>{var n;let a=C2[t];return a?(n=e[a])!==null&&n!==void 0?n:[]:[]},zo=(e,t,n)=>{let a=C2[t];a&&(e[a]=n)},x2=(e,t,n,a)=>{let o=e.assetCounts.allAsset[t];if(o!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,o+n),t===fe.BOOKMARKS&&a)){let i=e.assetCounts.bookmarkByMap[a];e.assetCounts.bookmarkByMap[a]=Math.max(0,i+n)}},S2=(e,t)=>{let n=e.assetLabels.map(o=>o.title),a=t.labels.filter(o=>!n.includes(o)).map(o=>({title:o}));e.assetLabels.push(...a)},X=$n.FtReduxStore.get({name:Qf,reducers:Jf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(fe).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Mo=class{constructor(t=new Gn,n=new Hn){this.assetCountsService=t,this.assetLabelsService=n,this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Fn,this.savedSearchesService=new Bn,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:n}=k.getState();(0,$n.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),X.actions.clearAssetCount(),X.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),X.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),X.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();X.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();X.actions.assetLabels(t)}async loadAssetCount(t){let n=await this.assetCountsService.getUserAssetCount(t);n&&X.getState().assetCounts.allAsset[t]!==n.count&&X.actions.setAssetCount({assetCount:n})}async loadBookmarkByMapId(t){let n=await this.assetCountsService.getUserBookmarkCountByMap(t);n&&X.getState().assetCounts.bookmarkByMap[t]!==n.count&&X.actions.setBookmarkCountByMap({count:n.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let n=Object.keys(X.getState().assetCounts.bookmarkByMap).length!==0;t===fe.BOOKMARKS&&n&&X.actions.clearBookmarkCountByMap(),X.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let n=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;X.actions.bookmarks(n)}}},e3=new Mo;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=e3);var ko=class{addCommand(t,n=!1){k.commands.add(t,n)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ko;var pe=L(T());var E2,cr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},t3=Symbol("clearAfterUnitTest"),Wn=class extends(0,pe.withEventBus)(ie){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[E2]=()=>{this.defaultMessages={},this.cache=new pe.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let n=t.name.toLowerCase();this.cache.setFinal(n,t),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,n){var a;if(t=t.toLowerCase(),n&&Object.keys(n).length>0){let o={...(a=this.defaultMessages[t])!==null&&a!==void 0?a:{},...n};(0,pe.deepEqual)(this.defaultMessages[t],o)||(this.defaultMessages[t]=o,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var n,a;return this.fetchContext(t),(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{}}resolveRawMessage(t,n){let a=t.toLowerCase();return this.resolveContext(a)[n]}resolveMessage(t,n,...a){var o;let i=t.toLowerCase(),s=this.resolveContext(i);return new pe.ParametrizedLabelResolver((o=this.defaultMessages[i])!==null&&o!==void 0?o:{},s).resolve(n,...a)}async fetchContext(t){let n=!this.cache.has(t),a;try{a=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),n&&await this.notify(t)}catch(o){!(o instanceof pe.CanceledPromiseError)&&n&&console.error(o)}return a}subscribe(t,n){var a;return t=t.toLowerCase(),this.listeners[t]=(a=this.listeners[t])!==null&&a!==void 0?a:new Set,this.listeners[t].add(n),()=>{var o;return(o=this.listeners[t])===null||o===void 0?void 0:o.delete(n)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new cr({loadedContexts:t})),this.dispatchEvent(new cr({loadedContexts:t})),await Promise.all(t.map(n=>this.notify(n,!1)))}async notify(t,n=!0){n&&(document.body.dispatchEvent(new cr({loadedContexts:[t]})),this.dispatchEvent(new cr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(a=>(0,pe.delay)(0).then(()=>a()).catch(()=>null)))}};E2=t3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Br=window.FluidTopicsI18nService,To=window.FluidTopicsCustomI18nService;var A2=L(T()),Io=class{highlightHtml(t,n,a){(0,A2.highlightHtml)(t,n,a)}};window.FluidTopicsHighlightHtmlService=new Io;var L2=L(T());var Po=class{isDate(t){var n,a,o,i;return(i=(o=((a=(n=k.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]).find(l=>l.key===t))===null||o===void 0?void 0:o.date)!==null&&i!==void 0?i:!1}format(t,n){var a,o,i,s;if(t==null)return"";try{return L2.DateFormatter.format(t,(a=n?.locale)!==null&&a!==void 0?a:k.getState().uiLocale,(o=n?.longFormat)!==null&&o!==void 0?o:!1,(i=n?.withTime)!==null&&i!==void 0?i:!1,(s=n?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new Po;var O2=L(T());var Fr=class{static get(t,n){var a,o,i,s;let l=k.getState(),{lang:u,region:p}=(i=(o=(a=l.localesConfiguration)===null||a===void 0?void 0:a.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new O2.SearchPlaceConverter(l.baseUrl,t??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,n??`${u}-${p}`)}};var Do=class{urlToSearchRequest(t){return Fr.get().parse(t)}searchRequestToUrl(t){return Fr.get().serialize(t)}};window.FluidTopicsUrlService=new Do;var $e=L(T());var Et=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Et.eventName="change";var Uo=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let n=sessionStorage.getItem(this.itemName(t));return n?JSON.parse(n):void 0}set(t,n){sessionStorage.setItem(this.itemName(t),JSON.stringify(n))}},R2=new Uo;var jn=class e extends $e.WithEventBus{static build(){return new e(window.history,R2,()=>window.location,!1)}constructor(t,n,a,o){var i,s;super(),this.history=t,this.historyStorage=n,this.windowLocation=a,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(o)}setCurrentState(t,n=!1){let a=n&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,a&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,$e.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Et(this.currentItem())),0)}installProxies(){let t=n=>(a,o,[i,s,l])=>{let u=n(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};a.apply(o,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let n=this.history.length-1;n>=0;n--)t?this.states[n]=this.historyStorage.get(n):setTimeout(()=>this.states[n]=this.historyStorage.get(n),this.history.length-n)}updateCurrentState(t){var n;let a={...this.buildCurrentState(),...t,index:this.currentIndex,title:(n=t?.title)!==null&&n!==void 0?n:this.currentState.title};this.setCurrentState(a)}addHistoryChangeListener(t){this.addEventListener(Et.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Et.eventName,t)}currentItem(){return(0,$e.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,$e.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let n=this.states.filter(a=>!!a).filter(a=>a.index<this.currentIndex).reverse();return(0,$e.deepCopy)(n.find(a=>t(a)))}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,$e.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var n;let a=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;if(!a)return t;let o=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,a);)this.hasState(i)&&(o=i),i++;return o}buildCurrentState(){var t,n;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(n=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&n!==void 0?n:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,n){var a;if(!this.hasState(t))return!1;let o=n??this.currentState.majorStateId,i=(a=this.states[t])===null||a===void 0?void 0:a.majorStateId;return i==null||i!=o}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=jn.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 w2=L(W());var N2=w2.css`
|
|
1555
|
-
`;var M2=L(W()),
|
|
1554
|
+
`;var ml=["top","right","bottom","left"],pl=["start","end"],Za=ml.reduce((e,t)=>e.concat(t,t+"-"+pl[0],t+"-"+pl[1]),[]),Lr=Math.min,Qe=Math.max,Or=Math.round;var Ne=e=>({x:e,y:e}),Gu={left:"right",right:"left",bottom:"top",top:"bottom"};function hl(e,t,n){return Qe(e,Lr(t,n))}function hn(e,t){return typeof e=="function"?e(t):e}function Rr(e){return e.split("-")[0]}function Je(e){return e.split("-")[1]}function Ya(e){return e==="x"?"y":"x"}function Xa(e){return e==="y"?"height":"width"}function gn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Qa(e){return Ya(gn(e))}function gl(e,t,n){n===void 0&&(n=!1);let a=Je(e),o=Qa(e),i=Xa(o),s=o==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=qa(s)),[s,qa(s)]}function yl(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function qa(e){let t=Rr(e);return Gu[t]+e.slice(t.length)}function Hu(e){var t,n,a,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(a=e.bottom)!=null?a:0,left:(o=e.left)!=null?o:0}}function bl(e){return typeof e!="number"?Hu(e):{top:e,right:e,bottom:e,left:e}}function ht(e){let{x:t,y:n,width:a,height:o}=e;return{width:a,height:o,top:n,left:t,right:t+a,bottom:n+o,x:t,y:n}}function vl(e,t,n){let{reference:a,floating:o}=e,i=gn(t),s=Qa(t),l=Xa(s),u=Rr(t),p=i==="y",h=a.x+a.width/2-o.width/2,g=a.y+a.height/2-o.height/2,y=a[l]/2-o[l]/2,b;switch(u){case"top":b={x:h,y:a.y-o.height};break;case"bottom":b={x:h,y:a.y+a.height};break;case"right":b={x:a.x+a.width,y:g};break;case"left":b={x:a.x-o.width,y:g};break;default:b={x:a.x,y:a.y}}let v=Je(t);return v&&(b[s]+=y*(v==="end"?1:-1)*(n&&p?-1:1)),b}async function xl(e,t){var n;t===void 0&&(t={});let{x:a,y:o,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:y=!1,padding:b=0}=hn(t,e),v=bl(b),C=l[y?g==="floating"?"reference":"floating":g],E=ht(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(C)))==null||n?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),O=g==="floating"?{x:a,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),z=await(i.isElement==null?void 0:i.isElement(w))&&await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1},I=ht(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:O,offsetParent:w,strategy:u}):O);return{top:(E.top-I.top+v.top)/z.y,bottom:(I.bottom-E.bottom+v.bottom)/z.y,left:(E.left-I.left+v.left)/z.x,right:(I.right-E.right+v.right)/z.x}}var $u=50,Sl=async(e,t,n)=>{let{placement:a="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,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:o}),{x:h,y:g}=vl(p,a,u),y=a,b=0,v={};for(let x=0;x<i.length;x++){let C=i[x];if(!C)continue;let{name:E,fn:O}=C,{x:w,y:z,data:I,reset:D}=await O({x:h,y:g,initialPlacement:a,placement:y,strategy:o,middlewareData:v,rects:p,platform:l,elements:{reference:e,floating:t}});h=w??h,g=z??g,v[E]={...v[E],...I},D&&b<$u&&(b++,typeof D=="object"&&(D.placement&&(y=D.placement),D.rects&&(p=D.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):D.rects),{x:h,y:g}=vl(p,y,u)),x=-1)}return{x:h,y:g,placement:y,strategy:o,middlewareData:v}};function Wu(e,t,n){return(e?[...n.filter(o=>Je(o)===e),...n.filter(o=>Je(o)!==e)]:n.filter(o=>Rr(o)===o)).filter(o=>e?Je(o)===e||(t?yl(o)!==o:!1):!0)}var Cl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,a,o;let{rects:i,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=Za,autoAlignment:b=!0,...v}=hn(e,t),x=g!==void 0||y===Za?Wu(g||null,b,y):y,C=((n=s.autoPlacement)==null?void 0:n.index)||0,E=x[C];if(E==null)return{};if(l!==E)return{reset:{placement:x[0]}};let O=await u.detectOverflow(t,v),w=gl(E,i,await(u.isRTL==null?void 0:u.isRTL(p.floating))),z=[O[Rr(E)],O[w[0]],O[w[1]]],I=[...((a=s.autoPlacement)==null?void 0:a.overflows)||[],{placement:E,overflows:z}],D=x[C+1];if(D)return{data:{index:C+1,overflows:I},reset:{placement:D}};let Oe=I.map(ne=>{let ce=Je(ne.placement);return[ne.placement,ce&&h?ne.overflows.slice(0,2).reduce((ae,ct)=>ae+ct,0):ne.overflows[0],ne.overflows]}).sort((ne,ce)=>ne[1]-ce[1]),Re=((o=Oe.filter(ne=>ne[2].slice(0,Je(ne[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:o[0])||Oe[0][0];return Re!==l?{data:{index:C+1,overflows:I},reset:{placement:Re}}:{}}}};var El=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:a,placement:o,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:O=>{let{x:w,y:z}=O;return{x:w,y:z}}},...p}=hn(e,t),h={x:n,y:a},g=await i.detectOverflow(t,p),y=gn(o),b=Ya(y),v=h[b],x=h[y],C=(O,w)=>hl(w+g[O==="y"?"top":"left"],w,w-g[O==="y"?"bottom":"right"]);s&&(v=C(b,v)),l&&(x=C(y,x));let E=u.fn({...t,[b]:v,[y]:x});return{...E,data:{x:E.x-n,y:E.y-a,enabled:{[b]:s,[y]:l}}}}}};function bn(){return typeof window<"u"}function yt(e){return Ll(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Fe(e){var t;return(t=(Ll(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ll(e){return bn()?e instanceof Node||e instanceof J(e).Node:!1}function xe(e){return bn()?e instanceof Element||e instanceof J(e).Element:!1}function Ge(e){return bn()?e instanceof HTMLElement||e instanceof J(e).HTMLElement:!1}function Al(e){return!bn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function wr(e){let{overflow:t,overflowX:n,overflowY:a,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&o!=="inline"&&o!=="contents"}function Ol(e){return/^(table|td|th)$/.test(yt(e))}function Nr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var ju=/transform|translate|scale|rotate|perspective|filter/,Vu=/paint|layout|strict|content/,gt=e=>!!e&&e!=="none",Ja;function Yt(e){let t=xe(e)?Se(e):e;return gt(t.transform)||gt(t.translate)||gt(t.scale)||gt(t.rotate)||gt(t.perspective)||!vn()&&(gt(t.backdropFilter)||gt(t.filter))||ju.test(t.willChange||"")||Vu.test(t.contain||"")}function Rl(e){let t=et(e);for(;Ge(t)&&!Xt(t);){if(Yt(t))return t;if(Nr(t))return null;t=et(t)}return null}function vn(){return Ja==null&&(Ja=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ja}function Xt(e){return/^(html|body|#document)$/.test(yt(e))}function Se(e){return J(e).getComputedStyle(e)}function _r(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function et(e){if(yt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Al(e)&&e.host||Fe(e);return Al(t)?t.host:t}function wl(e){let t=et(e);return Xt(t)?(e.ownerDocument||e).body:Ge(t)&&wr(t)?t:wl(t)}function yn(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);let o=wl(e),i=o===((a=e.ownerDocument)==null?void 0:a.body),s=J(o);if(i){let l=xn(s);return t.concat(s,s.visualViewport||[],wr(o)?o:[],l&&n?yn(l):[])}else return t.concat(o,yn(o,[],n))}function xn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zl(e){let t=Se(e),n=parseFloat(t.width)||0,a=parseFloat(t.height)||0,o=Ge(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:a,l=Or(n)!==i||Or(a)!==s;return l&&(n=i,a=s),{width:n,height:a,$:l}}function Ml(e){return xe(e)?e:e.contextElement}function Qt(e){let t=Ml(e);if(!Ge(t))return Ne(1);let n=t.getBoundingClientRect(),{width:a,height:o,$:i}=zl(t),s=(i?Or(n.width):n.width)/a,l=(i?Or(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Ku=Ne(0);function kl(e){let t=J(e);return!vn()||!t.visualViewport?Ku:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qu(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===J(e)}function zr(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);let o=e.getBoundingClientRect(),i=Ml(e),s=Ne(1);t&&(a?xe(a)&&(s=Qt(a)):s=Qt(e));let l=qu(i,n,a)?kl(i):Ne(0),u=(o.left+l.x)/s.x,p=(o.top+l.y)/s.y,h=o.width/s.x,g=o.height/s.y;if(i&&a){let y=J(i),b=xe(a)?J(a):a,v=y,x=xn(v);for(;x&&b!==v;){let C=Qt(x),E=x.getBoundingClientRect(),O=Se(x),w=E.left+(x.clientLeft+parseFloat(O.paddingLeft))*C.x,z=E.top+(x.clientTop+parseFloat(O.paddingTop))*C.y;u*=C.x,p*=C.y,h*=C.x,g*=C.y,u+=w,p+=z,v=J(x),x=xn(v)}}return ht({width:h,height:g,x:u,y:p})}function Sn(e,t){let n=_r(e).scrollLeft;return t?t.left+n:zr(Fe(e)).left+n}function Tl(e,t){let n=e.getBoundingClientRect(),a=n.left+t.scrollLeft-Sn(e,n),o=n.top+t.scrollTop;return{x:a,y:o}}function Zu(e){let{elements:t,rect:n,offsetParent:a,strategy:o}=e,i=o==="fixed",s=Fe(a),l=t?Nr(t.floating):!1;if(a===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},p=Ne(1),h=Ne(0),g=Ge(a);if((g||!i)&&((yt(a)!=="body"||wr(s))&&(u=_r(a)),g)){let b=zr(a);p=Qt(a),h.x=b.x+a.clientLeft,h.y=b.y+a.clientTop}let y=s&&!g&&!i?Tl(s,u):Ne(0);return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-u.scrollLeft*p.x+h.x+y.x,y:n.y*p.y-u.scrollTop*p.y+h.y+y.y}}function Yu(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Xu(e){let t=_r(e),n=e.ownerDocument.body,a=Qe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=Qe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),i=-t.scrollLeft+Sn(e),s=-t.scrollTop;return Se(n).direction==="rtl"&&(i+=Qe(e.clientWidth,n.clientWidth)-a),{width:a,height:o,x:i,y:s}}var Qu=25;function Ju(e,t,n){n===void 0&&(n="viewport");let a=n==="layoutViewport",o=J(e),i=Fe(e),s=o.visualViewport,l=i.clientWidth,u=i.clientHeight,p=0,h=0;if(s){let y=!vn()||t==="fixed";a?y||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,y&&(p=s.offsetLeft,h=s.offsetTop))}if(Sn(i)<=0){let y=i.ownerDocument,b=y.body,v=getComputedStyle(b),x=y.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,C=Math.abs(i.clientWidth-b.clientWidth-x),E=getComputedStyle(i).scrollbarGutter==="stable both-edges"?C/2:C;E<=Qu&&(l-=E)}return{width:l,height:u,x:p,y:h}}function ef(e,t){let n=zr(e,!0,t==="fixed"),a=n.top+e.clientTop,o=n.left+e.clientLeft,i=Qt(e),s=e.clientWidth*i.x,l=e.clientHeight*i.y,u=o*i.x,p=a*i.y;return{width:s,height:l,x:u,y:p}}function Nl(e,t,n){let a;if(t==="viewport"||t==="layoutViewport")a=Ju(e,n,t);else if(t==="document")a=Xu(Fe(e));else if(xe(t))a=ef(t,n);else{let o=kl(e);a={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ht(a)}function tf(e,t){let n=t.get(e);if(n)return n;let a=yn(e,[],!1).filter(l=>xe(l)&&yt(l)!=="body"),o=null,i=Se(e).position==="fixed",s=i?et(e):e;for(;xe(s)&&!Xt(s);){let l=Se(s),u=Yt(s),p=o?o.position:i?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?a=a.filter(g=>g!==s):o=l,s=et(s)}return t.set(e,a),a}function rf(e){let{element:t,boundary:n,rootBoundary:a,strategy:o}=e,s=[...n==="clippingAncestors"?Nr(t)?[]:tf(t,this._c):[].concat(n),a],l=Nl(t,s[0],o),u=l.top,p=l.right,h=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let b=Nl(t,s[y],o);u=Qe(b.top,u),p=Lr(b.right,p),h=Lr(b.bottom,h),g=Qe(b.left,g)}return{width:p-g,height:h-u,x:g,y:u}}function nf(e){let{width:t,height:n}=zl(e);return{width:t,height:n}}function af(e,t,n){let a=Ge(t),o=Fe(t),i=n==="fixed",s=zr(e,!0,i,t),l={scrollLeft:0,scrollTop:0},u=Ne(0);if((a||!i)&&((yt(t)!=="body"||wr(o))&&(l=_r(t)),a)){let y=zr(t,!0,i,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}!a&&o&&(u.x=Sn(o));let p=o&&!a&&!i?Tl(o,l):Ne(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 eo(e){return Se(e).position==="static"}function _l(e,t){if(!Ge(e)||Se(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Fe(e)===n&&(n=n.ownerDocument.body),n}function Il(e,t){let n=J(e);if(Nr(e))return n;if(!Ge(e)){let o=et(e);for(;o&&!Xt(o);){if(xe(o)&&!eo(o))return o;o=et(o)}return n}let a=_l(e,t);for(;a&&Ol(a)&&eo(a);)a=_l(a,t);return a&&Xt(a)&&eo(a)&&!Yt(a)?n:a||Rl(e)||n}var of=async function(e){let t=this.getOffsetParent||Il,n=this.getDimensions,a=await n(e.floating);return{reference:af(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function sf(e){return Se(e).direction==="rtl"}var Cn={convertOffsetParentRelativeRectToViewportRelativeRect:Zu,getDocumentElement:Fe,getClippingRect:rf,getOffsetParent:Il,getElementRects:of,getClientRects:Yu,getDimensions:nf,getScale:Qt,isElement:xe,isRTL:sf};var Pl=Cl,Dl=El;var Ul=(e,t,n)=>{let a=new Map,o=n??{},i={...Cn,...o.platform,_c:a};return Sl(e,t,{...o,platform:i})};function Bl(e){return cf(e)}function to(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function cf(e){for(let t=e;t;t=to(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=to(e);t;t=to(t)){if(!(t instanceof Element))continue;let n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||Yt(n)||t.tagName==="BODY"))return t}return null}async function Fl(e,t,n){let a;return typeof n=="object"?a=n:a={placement:n},Ul(e,t,{strategy:a.strategy,platform:{...Cn,getOffsetParent:o=>Cn.getOffsetParent(o,Bl)},middleware:[Dl({crossAxis:!0}),Pl({allowedPlacements:[a.placement]})]})}var dr=L(T());var wo=L(Y());var Gl=L(Y(),1);var ro=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Hl(e,t){return(0,Gl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return Mr(e);try{return JSON.parse(n)}catch{return Mr(e)}},toAttribute:n=>JSON.stringify(n)},hasChanged:kr,...t??{}})}function lf(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,a;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(a=n;a--!==0;)if(!En(e[a],t[a]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[0]))return!1;for(a of e.entries())if(!En(a[1],t.get(a[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[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 o=s=>Object.keys(s).filter(l=>s[l]!=null),i=o(e);if(n=i.length,n!==o(t).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[a]))return!1;for(a=n;a--!==0;){let s=i[a];if(!En(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function En(e,t){try{return lf(e,t)}catch{return!1}}function kr(e,t){return!En(e,t)}function Mr(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function An(e,t){let n=a=>a[e]===!0;return a=>{if(n(a))return a;let o=t(a);return o[e]=!0,o}}var $l=L(Y(),1);var no=e=>{let t=e??{};return(n,a)=>{var o;let i={hasChanged:kr,attribute:!1,...t};(0,$l.property)(i)(n,a);let s=n.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(a,{selector:(o=t.selector)!==null&&o!==void 0?o:(l=>l[a]),store:t.store})}};var Ln=class{constructor(){this.queue=[]}add(t,n=!1){n&&this.clear(t.type),this.queue.push(t)}consume(t){let n=this.queue.find(a=>a.type===t);return n&&(this.queue=this.queue.filter(a=>a!==n)),n}clear(t){typeof t=="string"?this.queue=this.queue.filter(n=>n.type!==t):this.queue=this.queue.filter(n=>!t.test(n.type))}};var bt=L(Y(),1);var On=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,n){return this.callbacks=[t],this.debounce(n)}queue(t,n){return this.callbacks.push(t),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((n,a)=>{this.resolvePromise=n,this.rejectPromise=a})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,n;let a=[...this.callbacks];this.callbacks=[];let o=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),i=(n=this.resolvePromise)!==null&&n!==void 0?n:(()=>null);this.clearPromise();for(let s of a)try{await s()}catch(l){o(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 jl=L(W(),1);var Rn=globalThis,df=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var Wl=(e,t)=>{if(df)e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet);else for(let n of t){let a=document.createElement("style"),o=Rn.litNonce;o!==void 0&&a.setAttribute("nonce",o),a.textContent=n.cssText,e.appendChild(a)}};var wn=class extends jl.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let n={...t.shadowRootOptions,customElements:t.registry},a=this.renderOptions.creationScope=this.attachShadow(n);return Wl(a,t.elementStyles),a}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([n,a])=>this.defineScopedElement(n,a))}static defineScopedElement(t,n){ro(t)(n),this.canDefineScopedElement(t)&&this.registry.define(t,n)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,n){this.scopedRegistryConstructor.defineScopedElement(t,n)}};function Vl(e,t,...n){var a;let o=e.querySelector(t);for(let i of n)o=(a=o?.shadowRoot)===null||a===void 0?void 0:a.querySelector(i);return o}var er=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},Yl,Kl=Symbol("constructorPrototype"),ql=Symbol("constructorName"),Xl=Symbol("exportpartsDebouncer"),Zl=Symbol("dynamicDependenciesLoaded"),Jt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Jt.eventName="exportparts-updated";var _e=class extends wn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yl]=new On(5),this.scheduleExportpartsUpdate=()=>{var t,n,a;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(a=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&a!==void 0&&a)&&this[Xl].run(()=>{var o,i;!((o=this.exportpartsPrefix)===null||o===void 0)&&o.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[ql]=this.constructor.name,this[Kl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ql]&&Object.setPrototypeOf(this,this[Kl])}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(a){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",a)}let n=this.constructor;n[Zl]||(n[Zl]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Jt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Jt.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 Jt)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:n,selector:a,shadowPath:o}=this.elementToFocus;if(a!=null){let i=[...o??[],a];n=Vl(this.shadowRoot,...i)}n?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||n?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var n,a,o;if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var n,a,o,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(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(i=(o=y.getAttribute("part"))===null||o===void 0?void 0:o.split(" "))!==null&&i!==void 0?i:[],v=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[],x=[...b,...v].filter(u).map(C=>C.trim());for(let C of x)h.add(C)}if(h.size===0){this.exportparts=void 0;return}let g=[...h.values()].flatMap(y=>p.map(b=>`${y}:${b}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};Yl=Xl;er([(0,bt.property)()],_e.prototype,"exportpartsPrefix",void 0);er([Hl([])],_e.prototype,"exportpartsPrefixes",void 0);er([(0,bt.property)({reflect:!0})],_e.prototype,"exportparts",void 0);er([(0,bt.property)()],_e.prototype,"customStylesheet",void 0);er([(0,bt.property)()],_e.prototype,"elementToFocus",void 0);er([(0,bt.state)()],_e.prototype,"useAdoptedStyleSheets",void 0);function Nn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Tr=Symbol("internalReduxEventsUnsubscribers"),tt=Symbol("internalStoresUnsubscribers"),vt=Symbol("internalStores"),uf=An(Symbol("withRedux"),function(e){var t,n,a;class o extends e{constructor(){super(...arguments),this[t]=new Map,this[n]=new Map,this[a]=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[vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[vt].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[vt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[vt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[vt].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[tt].has(s.store):this[tt].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[tt].set(s,l.subscribe(()=>this.updateFromStores())),this[Tr].set(s,[]),Nn(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[Tr].get(s).push(()=>l.removeEventListener(p.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[tt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[tt].has(s)&&this[tt].get(s)(),this[tt].delete(s),(l=this[Tr].get(s))===null||l===void 0||l.forEach(u=>u()),this[Tr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=tt,n=vt,a=Tr,o.reduxProperties=new Map,o.reduxReactiveProperties=new Set,o.reduxEventListeners=new Map,o}),Ql=class extends uf(_e){};function ue(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(0)var o,i;throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(s){return"'"+s+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function He(e){return!!e&&!!e[U]}function Ce(e){var t;return!!e&&((function(n){if(!n||typeof n!="object")return!1;var a=Object.getPrototypeOf(n);if(a===null)return!0;var o=Object.hasOwnProperty.call(a,"constructor")&&a.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===vf})(e)||Array.isArray(e)||!!e[o1]||!!(!((t=e.constructor)===null||t===void 0)&&t[o1])||po(e)||mo(e))}function xt(e,t,n){n===void 0&&(n=!1),nr(e)===0?(n?Object.keys:rr)(e).forEach((function(a){n&&typeof a=="symbol"||t(a,e[a],e)})):e.forEach((function(a,o){return t(o,a,e)}))}function nr(e){var t=e[U];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:po(e)?2:mo(e)?3:0}function tr(e,t){return nr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ff(e,t){return nr(e)===2?e.get(t):e[t]}function i1(e,t,n){var a=nr(e);a===2?e.set(t,n):a===3?e.add(n):e[t]=n}function s1(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function po(e){return yf&&e instanceof Map}function mo(e){return bf&&e instanceof Set}function rt(e){return e.o||e.t}function ho(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=d1(e);delete t[U];for(var n=rr(t),a=0;a<n.length;a++){var o=n[a],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function go(e,t){return t===void 0&&(t=!1),yo(e)||He(e)||!Ce(e)||(nr(e)>1&&(e.set=e.add=e.clear=e.delete=pf),Object.freeze(e),t&&xt(e,(function(n,a){return go(a,!0)}),!0)),e}function pf(){ue(2)}function yo(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function ze(e){var t=fo[e];return t||ue(18,e),t}function mf(e,t){fo[e]||(fo[e]=t)}function co(){return Pr}function ao(e,t){t&&(ze("Patches"),e.u=[],e.s=[],e.v=t)}function _n(e){lo(e),e.p.forEach(hf),e.p=null}function lo(e){e===Pr&&(Pr=e.l)}function Jl(e){return Pr={p:[],l:Pr,h:e,m:!0,_:0}}function hf(e){var t=e[U];t.i===0||t.i===1?t.j():t.g=!0}function oo(e,t){t._=t.p.length;var n=t.p[0],a=e!==void 0&&e!==n;return t.h.O||ze("ES5").S(t,e,a),a?(n[U].P&&(_n(t),ue(4)),Ce(e)&&(e=zn(t,e),t.l||Mn(t,e)),t.u&&ze("Patches").M(n[U].t,e,t.u,t.s)):e=zn(t,n,[]),_n(t),t.u&&t.v(t.u,t.s),e!==l1?e:void 0}function zn(e,t,n){if(yo(t))return t;var a=t[U];if(!a)return xt(t,(function(l,u){return e1(e,a,t,l,u,n)}),!0),t;if(a.A!==e)return t;if(!a.P)return Mn(e,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var o=a.i===4||a.i===5?a.o=ho(a.k):a.o,i=o,s=!1;a.i===3&&(i=new Set(o),o.clear(),s=!0),xt(i,(function(l,u){return e1(e,a,o,l,u,n,s)})),Mn(e,o,!1),n&&e.u&&ze("Patches").N(a,n,e.u,e.s)}return a.o}function e1(e,t,n,a,o,i,s){if(He(o)){var l=zn(e,o,i&&t&&t.i!==3&&!tr(t.R,a)?i.concat(a):void 0);if(i1(n,a,l),!He(l))return;e.m=!1}else s&&n.add(o);if(Ce(o)&&!yo(o)){if(!e.h.D&&e._<1)return;zn(e,o),t&&t.A.l||Mn(e,o)}}function Mn(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&go(t,n)}function io(e,t){var n=e[U];return(n?rt(n):e)[t]}function t1(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}function nt(e){e.P||(e.P=!0,e.l&&nt(e.l))}function so(e){e.o||(e.o=ho(e.t))}function uo(e,t,n){var a=po(t)?ze("MapSet").F(t,n):mo(t)?ze("MapSet").T(t,n):e.O?(function(o,i){var s=Array.isArray(o),l={i:s?1:0,A:i?i.A:co(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},u=l,p=Dr;s&&(u=[l],p=Ir);var h=Proxy.revocable(u,p),g=h.revoke,y=h.proxy;return l.k=y,l.j=g,y})(t,n):ze("ES5").J(t,n);return(n?n.A:co()).p.push(a),a}function gf(e){return He(e)||ue(22,e),(function t(n){if(!Ce(n))return n;var a,o=n[U],i=nr(n);if(o){if(!o.P&&(o.i<4||!ze("ES5").K(o)))return o.t;o.I=!0,a=r1(n,i),o.I=!1}else a=r1(n,i);return xt(a,(function(s,l){o&&ff(o.t,s)===l||i1(a,s,t(l))})),i===3?new Set(a):a})(e)}function r1(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ho(e)}function c1(){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[U];return Dr.get(p,s)},set:function(p){var h=this[U];Dr.set(h,s,p)}},u}function t(s){for(var l=s.length-1;l>=0;l--){var u=s[l][U];if(!u.P)switch(u.i){case 5:a(u)&&nt(u);break;case 4:n(u)&&nt(u)}}}function n(s){for(var l=s.t,u=s.k,p=rr(u),h=p.length-1;h>=0;h--){var g=p[h];if(g!==U){var y=l[g];if(y===void 0&&!tr(l,g))return!0;var b=u[g],v=b&&b[U];if(v?v.t!==y:!s1(b,y))return!0}}var x=!!l[U];return p.length!==rr(l).length+(x?0:1)}function a(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 o(s){s.g&&ue(3,JSON.stringify(rt(s)))}var i={};mf("ES5",{J:function(s,l){var u=Array.isArray(s),p=(function(g,y){if(g){for(var b=Array(y.length),v=0;v<y.length;v++)Object.defineProperty(b,""+v,e(v,!0));return b}var x=d1(y);delete x[U];for(var C=rr(x),E=0;E<C.length;E++){var O=C[E];x[O]=e(O,g||!!x[O].enumerable)}return Object.create(Object.getPrototypeOf(y),x)})(u,s),h={i:u?5:4,A:l?l.A:co(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,U,{value:h,writable:!0}),p},S:function(s,l,u){u?He(l)&&l[U].A===s&&t(s.p):(s.u&&(function p(h){if(h&&typeof h=="object"){var g=h[U];if(g){var y=g.t,b=g.k,v=g.R,x=g.i;if(x===4)xt(b,(function(z){z!==U&&(y[z]!==void 0||tr(y,z)?v[z]||p(b[z]):(v[z]=!0,nt(g)))})),xt(y,(function(z){b[z]!==void 0||tr(b,z)||(v[z]=!1,nt(g))}));else if(x===5){if(a(g)&&(nt(g),v.length=!0),b.length<y.length)for(var C=b.length;C<y.length;C++)v[C]=!1;else for(var E=y.length;E<b.length;E++)v[E]=!0;for(var O=Math.min(b.length,y.length),w=0;w<O;w++)b.hasOwnProperty(w)||(v[w]=!0),v[w]===void 0&&p(b[w])}}}})(s.p[0]),t(s.p))},K:function(s){return s.i===4?n(s):a(s)}})}var n1,Pr,bo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yf=typeof Map<"u",bf=typeof Set<"u",a1=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",l1=bo?Symbol.for("immer-nothing"):((n1={})["immer-nothing"]=!0,n1),o1=bo?Symbol.for("immer-draftable"):"__$immer_draftable",U=bo?Symbol.for("immer-state"):"__$immer_state";var vf=""+Object.prototype.constructor,rr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,d1=Object.getOwnPropertyDescriptors||function(e){var t={};return rr(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},fo={},Dr={get:function(e,t){if(t===U)return e;var n=rt(e);if(!tr(n,t))return(function(o,i,s){var l,u=t1(i,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(o.k):void 0})(e,n,t);var a=n[t];return e.I||!Ce(a)?a:a===io(e.t,t)?(so(e),e.o[t]=uo(e.A.h,a,e)):a},has:function(e,t){return t in rt(e)},ownKeys:function(e){return Reflect.ownKeys(rt(e))},set:function(e,t,n){var a=t1(rt(e),t);if(a?.set)return a.set.call(e.k,n),!0;if(!e.P){var o=io(rt(e),t),i=o?.[U];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(s1(n,o)&&(n!==void 0||tr(e.t,t)))return!0;so(e),nt(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return io(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,so(e),nt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=rt(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:a.enumerable,value:n[t]}},defineProperty:function(){ue(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ue(12)}},Ir={};xt(Dr,(function(e,t){Ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Ir.deleteProperty=function(e,t){return Ir.set.call(this,e,t,void 0)},Ir.set=function(e,t,n){return Dr.set.call(this,e[0],t,n,e[0])};var xf=(function(){function e(n){var a=this;this.O=a1,this.D=!0,this.produce=function(o,i,s){if(typeof o=="function"&&typeof i!="function"){var l=i;i=o;var u=a;return function(x){var C=this;x===void 0&&(x=l);for(var E=arguments.length,O=Array(E>1?E-1:0),w=1;w<E;w++)O[w-1]=arguments[w];return u.produce(x,(function(z){var I;return(I=i).call.apply(I,[C,z].concat(O))}))}}var p;if(typeof i!="function"&&ue(6),s!==void 0&&typeof s!="function"&&ue(7),Ce(o)){var h=Jl(a),g=uo(a,o,void 0),y=!0;try{p=i(g),y=!1}finally{y?_n(h):lo(h)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(x){return ao(h,s),oo(x,h)}),(function(x){throw _n(h),x})):(ao(h,s),oo(p,h))}if(!o||typeof o!="object"){if((p=i(o))===void 0&&(p=o),p===l1&&(p=void 0),a.D&&go(p,!0),s){var b=[],v=[];ze("Patches").M(o,p,b,v),s(b,v)}return p}ue(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="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 a.produceWithPatches(p,(function(b){return o.apply(void 0,[b].concat(g))}))};var s,l,u=a.produce(o,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 n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Ce(n)||ue(8),He(n)&&(n=gf(n));var a=Jl(this),o=uo(this,n,void 0);return o[U].C=!0,lo(a),o},t.finishDraft=function(n,a){var o=n&&n[U],i=o.A;return ao(i,a),oo(void 0,i)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!a1&&ue(20),this.O=n},t.applyPatches=function(n,a){var o;for(o=a.length-1;o>=0;o--){var i=a[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(a=a.slice(o+1));var s=ze("Patches").$;return He(n)?s(n,a):this.produce(n,(function(l){return s(l,a)}))},e})(),ie=new xf,Sf=ie.produce,ih=ie.produceWithPatches.bind(ie),sh=ie.setAutoFreeze.bind(ie),ch=ie.setUseProxies.bind(ie),lh=ie.applyPatches.bind(ie),dh=ie.createDraft.bind(ie),uh=ie.finishDraft.bind(ie),kn=Sf;function St(e){"@babel/helpers - typeof";return St=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},St(e)}function u1(e,t){if(St(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(St(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function f1(e){var t=u1(e,"string");return St(t)=="symbol"?t:t+""}function p1(e,t,n){return(t=f1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,a)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m1(Object(n),!0).forEach(function(a){p1(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m1(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Z(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 h1=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),xo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Tn={INIT:"@@redux/INIT"+xo(),REPLACE:"@@redux/REPLACE"+xo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+xo()}};function Cf(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 So(e,t,n){var a;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Z(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Z(1));return n(So)(e,t)}if(typeof e!="function")throw new Error(Z(2));var o=e,i=t,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function h(){if(u)throw new Error(Z(3));return i}function g(x){if(typeof x!="function")throw new Error(Z(4));if(u)throw new Error(Z(5));var C=!0;return p(),l.push(x),function(){if(C){if(u)throw new Error(Z(6));C=!1,p();var O=l.indexOf(x);l.splice(O,1),s=null}}}function y(x){if(!Cf(x))throw new Error(Z(7));if(typeof x.type>"u")throw new Error(Z(8));if(u)throw new Error(Z(9));try{u=!0,i=o(i,x)}finally{u=!1}for(var C=s=l,E=0;E<C.length;E++){var O=C[E];O()}return x}function b(x){if(typeof x!="function")throw new Error(Z(10));o=x,y({type:Tn.REPLACE})}function v(){var x,C=g;return x={subscribe:function(O){if(typeof O!="object"||O===null)throw new Error(Z(11));function w(){O.next&&O.next(h())}w();var z=C(w);return{unsubscribe:z}}},x[h1]=function(){return this},x}return y({type:Tn.INIT}),a={dispatch:y,subscribe:g,getState:h,replaceReducer:b},a[h1]=v,a}function Ef(e){Object.keys(e).forEach(function(t){var n=e[t],a=n(void 0,{type:Tn.INIT});if(typeof a>"u")throw new Error(Z(12));if(typeof n(void 0,{type:Tn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Z(13))})}function g1(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var o=t[a];typeof e[o]=="function"&&(n[o]=e[o])}var i=Object.keys(n),s,l;try{Ef(n)}catch(u){l=u}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var g;for(var y=!1,b={},v=0;v<i.length;v++){var x=i[v],C=n[x],E=p[x],O=C(E,h);if(typeof O>"u"){var w=h&&h.type;throw new Error(Z(14))}b[x]=O,y=y||O!==E}return y=y||i.length!==Object.keys(p).length,y?b:p}}function ar(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(a){return a}:t.length===1?t[0]:t.reduce(function(a,o){return function(){return a(o.apply(void 0,arguments))}})}function y1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(a){return function(){var o=a.apply(void 0,arguments),i=function(){throw new Error(Z(15))},s={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(u){return u(s)});return i=ar.apply(void 0,l)(o.dispatch),vo(vo({},o),{},{dispatch:i})}}}function b1(e){var t=function(a){var o=a.dispatch,i=a.getState;return function(s){return function(l){return typeof l=="function"?l(o,i,e):s(l)}}};return t}var v1=b1();v1.withExtraArgument=b1;var Co=v1;var A1=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(a[i]=o[i])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function a(){this.constructor=t}t.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}})(),Af=function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,o,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(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,o&&(i=p[0]&2?o.return:p[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,p[1])).done)return i;switch(o=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return n.label++,{value:p[1],done:!1};case 5:n.label++,o=p[1],p=[0];continue;case 7:p=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){n=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){n.label=p[1];break}if(p[0]===6&&n.label<i[1]){n.label=i[1],i=p;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(p);break}i[2]&&n.ops.pop(),n.trys.pop();continue}p=t.call(e,n)}catch(h){p=[6,h],o=0}finally{a=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},or=function(e,t){for(var n=0,a=t.length,o=e.length;n<a;n++,o++)e[o]=t[n];return e},Lf=Object.defineProperty,Of=Object.defineProperties,Rf=Object.getOwnPropertyDescriptors,x1=Object.getOwnPropertySymbols,wf=Object.prototype.hasOwnProperty,Nf=Object.prototype.propertyIsEnumerable,S1=function(e,t,n){return t in e?Lf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},at=function(e,t){for(var n in t||(t={}))wf.call(t,n)&&S1(e,n,t[n]);if(x1)for(var a=0,o=x1(t);a<o.length;a++){var n=o[a];Nf.call(t,n)&&S1(e,n,t[n])}return e},Eo=function(e,t){return Of(e,Rf(t))},_f=function(e,t,n){return new Promise(function(a,o){var i=function(u){try{l(n.next(u))}catch(p){o(p)}},s=function(u){try{l(n.throw(u))}catch(p){o(p)}},l=function(u){return u.done?a(u.value):Promise.resolve(u.value).then(i,s)};l((n=n.apply(e,t)).next())})};var zf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ar:ar.apply(null,arguments)},Nh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Mf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}function ot(e,t){function n(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];if(t){var i=t.apply(void 0,a);if(!i)throw new Error("prepareAction did not return an object");return at(at({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:a[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(a){return a.type===e},n}var kf=(function(e){A1(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,or([void 0],n[0].concat(this)))):new(t.bind.apply(t,or([void 0],n.concat(this))))},t})(Array),Tf=(function(e){A1(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,or([void 0],n[0].concat(this)))):new(t.bind.apply(t,or([void 0],n.concat(this))))},t})(Array);function Oo(e){return Ce(e)?kn(e,function(){}):e}function If(e){return typeof e=="boolean"}function Pf(){return function(t){return Df(t)}}function Df(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,a=e.immutableCheck,o=a===void 0?!0:a,i=e.serializableCheck,s=i===void 0?!0:i,l=e.actionCreatorCheck,u=l===void 0?!0:l,p=new kf;if(n&&(If(n)?p.push(Co):p.push(Co.withExtraArgument(n.extraArgument))),0){if(o)var h;if(s)var g;if(u)var y}return p}var Ao=!0;function L1(e){var t=Pf(),n=e||{},a=n.reducer,o=a===void 0?void 0:a,i=n.middleware,s=i===void 0?t():i,l=n.devTools,u=l===void 0?!0:l,p=n.preloadedState,h=p===void 0?void 0:p,g=n.enhancers,y=g===void 0?void 0:g,b;if(typeof o=="function")b=o;else if(Mf(o))b=g1(o);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 v=s;if(typeof v=="function"&&(v=v(t),!Ao&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ao&&v.some(function(z){return typeof z!="function"}))throw new Error("each middleware provided to configureStore must be a function");var x=y1.apply(void 0,v),C=ar;u&&(C=zf(at({trace:!Ao},typeof u=="object"&&u)));var E=new Tf(x),O=E;Array.isArray(y)?O=or([x],y):typeof y=="function"&&(O=y(E));var w=C.apply(void 0,O);return So(b,h,w)}function O1(e){var t={},n=[],a,o={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,o},addMatcher:function(i,s){return n.push({matcher:i,reducer:s}),o},addDefaultCase:function(i){return a=i,o}};return e(o),[t,n,a]}function Uf(e){return typeof e=="function"}function Bf(e,t,n,a){n===void 0&&(n=[]);var o=typeof t=="function"?O1(t):[t,n,a],i=o[0],s=o[1],l=o[2],u;if(Uf(e))u=function(){return Oo(e())};else{var p=Oo(e);u=function(){return p}}function h(g,y){g===void 0&&(g=u());var b=or([i[y.type]],s.filter(function(v){var x=v.matcher;return x(y)}).map(function(v){var x=v.reducer;return x}));return b.filter(function(v){return!!v}).length===0&&(b=[l]),b.reduce(function(v,x){if(x)if(He(v)){var C=v,E=x(C,y);return E===void 0?v:E}else{if(Ce(v))return kn(v,function(O){return x(O,y)});var E=x(v,y);if(E===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return v},g)}return h.getInitialState=u,h}function Ff(e,t){return e+"/"+t}function R1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:Oo(e.initialState),a=e.reducers||{},o=Object.keys(a),i={},s={},l={};o.forEach(function(h){var g=a[h],y=Ff(t,h),b,v;"reducer"in g?(b=g.reducer,v=g.prepare):b=g,i[h]=b,s[y]=b,l[h]=v?ot(y,v):ot(y)});function u(){var h=typeof e.extraReducers=="function"?O1(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,b=h[1],v=b===void 0?[]:b,x=h[2],C=x===void 0?void 0:x,E=at(at({},y),s);return Bf(n,function(O){for(var w in E)O.addCase(w,E[w]);for(var z=0,I=v;z<I.length;z++){var D=I[z];O.addMatcher(D.matcher,D.reducer)}C&&O.addDefaultCase(C)})}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 Gf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Hf=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=Gf[Math.random()*64|0];return t},$f=["name","message","stack","code"],Lo=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),C1=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),Wf=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,a=$f;n<a.length;n++){var o=a[n];typeof e[o]=="string"&&(t[o]=e[o])}return t}return{message:String(e)}},kh=(function(){function e(t,n,a){var o=ot(t+"/fulfilled",function(h,g,y,b){return{payload:h,meta:Eo(at({},b||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=ot(t+"/pending",function(h,g,y){return{payload:void 0,meta:Eo(at({},y||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=ot(t+"/rejected",function(h,g,y,b,v){return{payload:b,error:(a&&a.serializeError||Wf)(h||"Rejected"),meta:Eo(at({},v||{}),{arg:y,requestId:g,rejectedWithValue:!!b,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,b){var v=a?.idGenerator?a.idGenerator(h):Hf(),x=new u,C,E=!1;function O(z){C=z,x.abort()}var w=(function(){return _f(this,null,function(){var z,I,D,Oe,st,Re,ne;return Af(this,function(ce){switch(ce.label){case 0:return ce.trys.push([0,4,,5]),Oe=(z=a?.condition)==null?void 0:z.call(a,h,{getState:y,extra:b}),Vf(Oe)?[4,Oe]:[3,2];case 1:Oe=ce.sent(),ce.label=2;case 2:if(Oe===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,st=new Promise(function(ae,ct){return x.signal.addEventListener("abort",function(){return ct({name:"AbortError",message:C||"Aborted"})})}),g(i(v,h,(I=a?.getPendingMeta)==null?void 0:I.call(a,{requestId:v,arg:h},{getState:y,extra:b}))),[4,Promise.race([st,Promise.resolve(n(h,{dispatch:g,getState:y,extra:b,requestId:v,signal:x.signal,abort:O,rejectWithValue:function(ae,ct){return new Lo(ae,ct)},fulfillWithValue:function(ae,ct){return new C1(ae,ct)}})).then(function(ae){if(ae instanceof Lo)throw ae;return ae instanceof C1?o(ae.payload,v,h,ae.meta):o(ae,v,h)})])];case 3:return D=ce.sent(),[3,5];case 4:return Re=ce.sent(),D=Re instanceof Lo?s(null,v,h,Re.payload,Re.meta):s(Re,v,h),[3,5];case 5:return ne=a&&!a.dispatchConditionRejection&&s.match(D)&&D.meta.condition,ne||g(D),[2,D]}})})})();return Object.assign(w,{abort:O,requestId:v,arg:h,unwrap:function(){return w.then(jf)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:o,typePrefix:t})}return e.withTypes=function(){return e},e})();function jf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Vf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var w1="listener",N1="completed",_1="cancelled",Th="task-"+_1,Ih="task-"+N1,Ph=w1+"-"+_1,Dh=w1+"-"+N1;var Ro="listenerMiddleware";var Uh=ot(Ro+"/add"),Bh=ot(Ro+"/removeAll"),Fh=ot(Ro+"/remove");var E1,Gh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(E1||(E1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Kf=function(e){return function(t){setTimeout(t,e)}},Hh=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Kf(10);c1();var qf=An(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(n,a,o){this.eventBus.addEventListener(n,a,o)}dispatchEvent(n){return this.eventBus.dispatchEvent(n)}removeEventListener(n,a,o){this.eventBus.removeEventListener(n,a,o)}}}),In=class extends qf(Object){};window.ftReduxStores||(window.ftReduxStores={});var z1=class e extends In{static get(t){var n;let a=typeof t=="string"?t:t.name,o=typeof t=="string"?void 0:t,i=window.ftReduxStores[a];if(Nn(i))return i;if(o==null)return;let s=R1({...o,reducers:(n=o.reducers)!==null&&n!==void 0?n:{}}),l=L1({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Mr(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[o.name]=new e(s,l,o.eventBus)}constructor(t,n,a){super(),this.reduxSlice=t,this.reduxStore=n,this.isFtReduxStore=!0,this.commands=new Ln;let o=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(o));return this.reduxStore.dispatch(g),g}:h=>{this.setState({[u]:o(h)})}}}),this.eventBus=a??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 Pn=class{static format(t,n,a,o,i){return window.moment?window.moment(t).locale(n).format(this.getMomentDateFormat(a,o,!!i)):this.getIntlDateTime(t,n,a,o,!!i)}static getMomentDateFormat(t,n,a){return a?"LT":t?n?"lll":"ll":n?"L LT":"L"}static getIntlDateTime(t,n,a,o,i){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(n,{dateStyle:a?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(n,{timeStyle:"short"}).format(s);return i?u:o?`${l} ${u}`:l}static getTimezoneAsString(){let t=a=>String(Math.floor(a)).padStart(2,"0"),n=new Date().getTimezoneOffset();return`${n<0?"+":"-"}${t(Math.abs(n)/60)}:${t(Math.abs(n)%60)}`}};var Dn=L(T()),Zf="ft-app-info",ir=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ir.eventName="authentication-change";var Ur=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ur.eventName="ui-locale-changed";var Yf={session:(e,t)=>{(0,Dn.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>k.dispatchEvent(new ir(t.payload)),0))}},k=Dn.FtReduxStore.get({name:Zf,reducers:Yf,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 M1=L(T()),Un=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},g9=(0,M1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...a){super(a),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(a){return a.has("metadataDescriptors")||a.has("useLongDateFormat")||a.has("useDateTimeFormat")||a.has("uiLocale")}getDateFormatter(a){var o,i;return((i=(o=this.metadataDescriptors.find(l=>l.key===a))===null||o===void 0?void 0:o.date)!==null&&i!==void 0?i:!1)?l=>Pn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Un([(0,wo.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Un([(0,wo.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Un([no({store:k.name,selector:n=>{var a,o;return(o=(a=n.metadataConfiguration)===null||a===void 0?void 0:a.descriptors)!==null&&o!==void 0?o:[]}})],t.prototype,"metadataDescriptors",void 0),Un([no({store:k.name})],t.prototype,"uiLocale",void 0),t});var k1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(k1||(k1={}));var T1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(T1||(T1={}));var I1;(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"})(I1||(I1={}));var P1;(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"})(P1||(P1={}));var D1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(D1||(D1={}));var U1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(U1||(U1={}));var B1;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(B1||(B1={}));var F1;(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"})(F1||(F1={}));var G1;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(G1||(G1={}));var H1;(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"})(H1||(H1={}));var $1;(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"})($1||($1={}));var W1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(W1||(W1={}));var j1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(j1||(j1={}));var V1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(V1||(V1={}));var K1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(K1||(K1={}));var q1;(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"})(q1||(q1={}));var Z1;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Z1||(Z1={}));var Y1;(function(e){e.ASC="ASC",e.DESC="DESC"})(Y1||(Y1={}));var X1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(X1||(X1={}));var Q1;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Q1||(Q1={}));var J1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(J1||(J1={}));var e2;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(e2||(e2={}));var t2;(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"})(t2||(t2={}));var r2;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(r2||(r2={}));var n2;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(n2||(n2={}));var a2;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(a2||(a2={}));var o2;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(o2||(o2={}));var H;(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"})(H||(H={}));var fe;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(fe||(fe={}));var i2;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(i2||(i2={}));var s2;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(s2||(s2={}));var c2;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(c2||(c2={}));var l2;(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"})(l2||(l2={}));var d2;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(d2||(d2={}));var u2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(u2||(u2={}));var f2;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(f2||(f2={}));var p2;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(p2||(p2={}));var m2;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(m2||(m2={}));var h2;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(h2||(h2={}));var g2;(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"})(g2||(g2={}));var y2;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(y2||(y2={}));var Xf={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN,H.BEHAVIOR_DATA_USER],[H.GENERATIVE_AI_EXPORT_USER]:[H.GENERATIVE_AI_USER]};function b2(e,t){return e===t||(Xf[e]??[]).some(n=>b2(n,t))}function v2(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(a=>b2(a,t))}var $n=L(T());var No=L(T());var Ct=class e{static get(t){let{baseUrl:n,apiIntegrationIdentifier:a}=k.getState(),o=t??a;if(n&&o&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,o,!0)}static await(t){return new Promise(n=>{let a=e.get(t);if(a)n(a);else{let o=k.subscribe(()=>{a=e.get(t),a&&(o(),n(a))})}})}};var sr=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ct.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ct.await()}};var se=class extends sr{constructor(t=!0,n){var a;super(n),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 o=this.constructor;o.commonCache=(a=o.commonCache)!==null&&a!==void 0?a:new No.CacheRegistry,this.cache=t?o.commonCache:new No.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((n,a)=>0|31*n+a.charCodeAt(0),0))}};var Bn=class extends se{async listMySearches(){let{session:t}=k.getState();return v2(t,H.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=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var Gn=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=k.getState().session;return!!t?.sessionAuthenticated}};var Hn=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=k.getState().session;return!!t?.sessionAuthenticated}};var Qf="ft-user-assets",Jf={setAssetCount:(e,t)=>{let{userAssetType:n,count:a}=t.payload.assetCount;e.assetCounts.allAsset[n]=a},clearAssetCount:e=>{Object.values(fe).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let n=t.payload.mapId;e.assetCounts.bookmarkByMap[n]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:n,mapId:a,asset:o}=t.payload;zo(e,n,[..._o(e,n),o]),x2(e,n,1,a),S2(e,o)},editAsset:(e,t)=>{let{assetType:n,asset:a}=t.payload;zo(e,n,_o(e,n).map(o=>o.id===a.id?a:o)),S2(e,a)},removeAsset:(e,t)=>{let{assetType:n,mapId:a,assetId:o}=t.payload;zo(e,n,_o(e,n).filter(i=>i.id!==o)),x2(e,n,-1,a)}},C2={[fe.SEARCHES]:"savedSearches",[fe.BOOKMARKS]:"bookmarks",[fe.BOOKS]:void 0,[fe.COLLECTIONS]:void 0},_o=(e,t)=>{var n;let a=C2[t];return a?(n=e[a])!==null&&n!==void 0?n:[]:[]},zo=(e,t,n)=>{let a=C2[t];a&&(e[a]=n)},x2=(e,t,n,a)=>{let o=e.assetCounts.allAsset[t];if(o!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,o+n),t===fe.BOOKMARKS&&a)){let i=e.assetCounts.bookmarkByMap[a];e.assetCounts.bookmarkByMap[a]=Math.max(0,i+n)}},S2=(e,t)=>{let n=e.assetLabels.map(o=>o.title),a=t.labels.filter(o=>!n.includes(o)).map(o=>({title:o}));e.assetLabels.push(...a)},X=$n.FtReduxStore.get({name:Qf,reducers:Jf,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(fe).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Mo=class{constructor(t=new Gn,n=new Hn){this.assetCountsService=t,this.assetLabelsService=n,this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Fn,this.savedSearchesService=new Bn,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:n}=k.getState();(0,$n.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),X.actions.clearAssetCount(),X.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),X.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),X.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();X.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();X.actions.assetLabels(t)}async loadAssetCount(t){let n=await this.assetCountsService.getUserAssetCount(t);n&&X.getState().assetCounts.allAsset[t]!==n.count&&X.actions.setAssetCount({assetCount:n})}async loadBookmarkByMapId(t){let n=await this.assetCountsService.getUserBookmarkCountByMap(t);n&&X.getState().assetCounts.bookmarkByMap[t]!==n.count&&X.actions.setBookmarkCountByMap({count:n.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let n=Object.keys(X.getState().assetCounts.bookmarkByMap).length!==0;t===fe.BOOKMARKS&&n&&X.actions.clearBookmarkCountByMap(),X.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let n=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;X.actions.bookmarks(n)}}},e3=new Mo;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=e3);var ko=class{addCommand(t,n=!1){k.commands.add(t,n)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ko;var pe=L(T());var E2,cr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},t3=Symbol("clearAfterUnitTest"),Wn=class extends(0,pe.withEventBus)(se){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[E2]=()=>{this.defaultMessages={},this.cache=new pe.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let n=t.name.toLowerCase();this.cache.setFinal(n,t),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,n){var a;if(t=t.toLowerCase(),n&&Object.keys(n).length>0){let o={...(a=this.defaultMessages[t])!==null&&a!==void 0?a:{},...n};(0,pe.deepEqual)(this.defaultMessages[t],o)||(this.defaultMessages[t]=o,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var n,a;return this.fetchContext(t),(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{}}resolveRawMessage(t,n){let a=t.toLowerCase();return this.resolveContext(a)[n]}resolveMessage(t,n,...a){var o;let i=t.toLowerCase(),s=this.resolveContext(i);return new pe.ParametrizedLabelResolver((o=this.defaultMessages[i])!==null&&o!==void 0?o:{},s).resolve(n,...a)}async fetchContext(t){let n=!this.cache.has(t),a;try{a=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),n&&await this.notify(t)}catch(o){!(o instanceof pe.CanceledPromiseError)&&n&&console.error(o)}return a}subscribe(t,n){var a;return t=t.toLowerCase(),this.listeners[t]=(a=this.listeners[t])!==null&&a!==void 0?a:new Set,this.listeners[t].add(n),()=>{var o;return(o=this.listeners[t])===null||o===void 0?void 0:o.delete(n)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new cr({loadedContexts:t})),this.dispatchEvent(new cr({loadedContexts:t})),await Promise.all(t.map(n=>this.notify(n,!1)))}async notify(t,n=!0){n&&(document.body.dispatchEvent(new cr({loadedContexts:[t]})),this.dispatchEvent(new cr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(a=>(0,pe.delay)(0).then(()=>a()).catch(()=>null)))}};E2=t3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Br=window.FluidTopicsI18nService,To=window.FluidTopicsCustomI18nService;var A2=L(T()),Io=class{highlightHtml(t,n,a){(0,A2.highlightHtml)(t,n,a)}};window.FluidTopicsHighlightHtmlService=new Io;var L2=L(T());var Po=class{isDate(t){var n,a,o,i;return(i=(o=((a=(n=k.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]).find(l=>l.key===t))===null||o===void 0?void 0:o.date)!==null&&i!==void 0?i:!1}format(t,n){var a,o,i,s;if(t==null)return"";try{return L2.DateFormatter.format(t,(a=n?.locale)!==null&&a!==void 0?a:k.getState().uiLocale,(o=n?.longFormat)!==null&&o!==void 0?o:!1,(i=n?.withTime)!==null&&i!==void 0?i:!1,(s=n?.onlyTime)!==null&&s!==void 0?s:!1)}catch(l){throw console.error(`Date ${JSON.stringify(t)} is not valid`,l),l}}};window.FluidTopicsDateService=new Po;var O2=L(T());var Fr=class{static get(t,n){var a,o,i,s;let l=k.getState(),{lang:u,region:p}=(i=(o=(a=l.localesConfiguration)===null||a===void 0?void 0:a.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new O2.SearchPlaceConverter(l.baseUrl,t??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,n??`${u}-${p}`)}};var Do=class{urlToSearchRequest(t){return Fr.get().parse(t)}searchRequestToUrl(t){return Fr.get().serialize(t)}};window.FluidTopicsUrlService=new Do;var $e=L(T());var Et=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Et.eventName="change";var Uo=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let n=sessionStorage.getItem(this.itemName(t));return n?JSON.parse(n):void 0}set(t,n){sessionStorage.setItem(this.itemName(t),JSON.stringify(n))}},R2=new Uo;var jn=class e extends $e.WithEventBus{static build(){return new e(window.history,R2,()=>window.location,!1)}constructor(t,n,a,o){var i,s;super(),this.history=t,this.historyStorage=n,this.windowLocation=a,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(o)}setCurrentState(t,n=!1){let a=n&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,a&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,$e.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Et(this.currentItem())),0)}installProxies(){let t=n=>(a,o,[i,s,l])=>{let u=n(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};a.apply(o,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let n=this.history.length-1;n>=0;n--)t?this.states[n]=this.historyStorage.get(n):setTimeout(()=>this.states[n]=this.historyStorage.get(n),this.history.length-n)}updateCurrentState(t){var n;let a={...this.buildCurrentState(),...t,index:this.currentIndex,title:(n=t?.title)!==null&&n!==void 0?n:this.currentState.title};this.setCurrentState(a)}addHistoryChangeListener(t){this.addEventListener(Et.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Et.eventName,t)}currentItem(){return(0,$e.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,$e.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let n=this.states.filter(a=>!!a).filter(a=>a.index<this.currentIndex).reverse();return(0,$e.deepCopy)(n.find(a=>t(a)))}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,$e.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var n;let a=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;if(!a)return t;let o=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,a);)this.hasState(i)&&(o=i),i++;return o}buildCurrentState(){var t,n;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(n=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&n!==void 0?n:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,n){var a;if(!this.hasState(t))return!1;let o=n??this.currentState.majorStateId,i=(a=this.states[t])===null||a===void 0?void 0:a.majorStateId;return i==null||i!=o}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=jn.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 w2=L(W());var N2=w2.css`
|
|
1555
|
+
`;var M2=L(W()),ee=L(Y()),Ot=L(T());var At=L(T());function _2(e,t){let{authenticationRequired:n,session:a}=k.getState();return n&&!a?.sessionAuthenticated?Promise.resolve(t):e()}var Vn=class extends sr{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var Bo=class e extends At.FtStateManager{static build(t){return new e(k,t)}constructor(t,n){super(),this.store=t,this.cache=new At.CacheRegistry,this.withManualResources=!0,this.userLocaleService=new Vn,this.cleanSessionDebouncer=new At.Debouncer,this.reloadDebouncer=new At.Debouncer(500),this.apiProvider=n??(()=>Ct.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(ir.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let n=await this.apiProvider().getCurrentSession();return n.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},n.idleTimeoutInMillis),n});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let n=await this.cache.get("availableContentLocales",()=>_2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=n.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setTenantId(t){this.store.actions.tenantId(t)}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){this.store.actions.localesConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new Ur(n)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}},z2=Bo.build();var Lt=class extends Event{constructor(t,n,a,o){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=n,this.callback=a,this.subscribe=o??!1}};var Gr=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let n=this.pendingContextRequests.get(t.context);if(n===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:a}=n;for(let{elementRef:o,callbackRef:i}of a){let s=o.deref(),l=i.deref();s===void 0||l===void 0||s.dispatchEvent(new Lt(t.context,s,l,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let n=t.contextTarget??t.composedPath()[0],a=t.callback,o=this.pendingContextRequests.get(t.context);o===void 0&&this.pendingContextRequests.set(t.context,o={callbacks:new WeakMap,requests:[]});let i=o.callbacks.get(n);i===void 0&&o.callbacks.set(n,i=new WeakSet),i.has(a)||(i.add(a),o.requests.push({elementRef:new WeakRef(n),callbackRef:new WeakRef(a)}))}}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 q=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},B=class extends Ot.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=z2,this.contextRoot=new Gr}render(){return M2.html`
|
|
1556
1556
|
<slot></slot>
|
|
1557
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var n;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(a=>Br.addContext(a)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((n=this.stateManager)===null||n===void 0||n.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};
|
|
1557
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var n;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(a=>Br.addContext(a)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((n=this.stateManager)===null||n===void 0||n.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};B.elementDefinitions={};B.styles=N2;q([(0,ee.property)()],B.prototype,"baseUrl",void 0);q([(0,ee.property)()],B.prototype,"tenantId",void 0);q([(0,ee.property)()],B.prototype,"apiIntegrationIdentifier",void 0);q([(0,ee.property)()],B.prototype,"apiIntegrationAppVersion",void 0);q([(0,ee.property)()],B.prototype,"uiLocale",void 0);q([(0,Ot.jsonProperty)(null)],B.prototype,"availableUiLocales",void 0);q([(0,Ot.jsonProperty)(null)],B.prototype,"metadataConfiguration",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"editorMode",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"noCustom",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"openExternalDocumentInNewTab",void 0);q([(0,ee.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],B.prototype,"noCustomComponent",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"withManualResources",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"navigatorOnline",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"forcedOffline",void 0);q([(0,ee.property)({type:Boolean})],B.prototype,"authenticationRequired",void 0);q([(0,Ot.jsonProperty)([])],B.prototype,"messageContexts",void 0);q([(0,Ot.jsonProperty)(void 0)],B.prototype,"session",void 0);var T2=L(T());var k2={"ft-app-context":B};(0,T2.customElements)(k2);var I2=L(Y());var Fo=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[n,a]=t.split(".");return{context:n,key:a,custom:n!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},lr=new Fo;var a3=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},$r=Symbol("i18nAttributes"),P2=Symbol("i18nListAttributes"),D2=Symbol("i18nProperties"),Kn=Symbol("i18nContexts"),Hr=Symbol("i18nUnsubs"),U2=(0,dr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,n;class a extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[n]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?To:Br}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(lr.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[$r])===null||s===void 0||s.forEach((h,g)=>u[g]=p(h,g,u[g])),(l=this[P2])===null||l===void 0||l.forEach((h,g)=>{var y;return u[g]=(y=u[g])===null||y===void 0?void 0:y.map(b=>p(h,g,b))})}updateI18nProperties(i){var s;(s=this[D2])===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[Kn].set(u,{isCustomContext:l}),this[Hr].has(u)||this[Hr].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,s)}hasI18nContext(i){return this[Kn].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Kn].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Hr].forEach(i=>i()),this[Hr].clear()}}return t=Kn,n=Hr,a3([(0,I2.property)({type:Boolean})],a.prototype,"useCustomMessageContexts",void 0),a}),qn=class extends U2(dr.FtLitElement){},Zn=class extends U2(dr.FtLitElementRedux){};var B2=L(T());var Go=class{fromAttribute(t){if(!t)return[];try{let n=JSON.parse(t);return Array.isArray(n)?n.map(a=>typeof a=="string"?lr.fromAttribute(a):a):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},o3=new Go;var F2=(e,t)=>(n,a)=>{var o;n.constructor.createProperty(a,{type:Object,hasChanged:B2.hasChanged,converter:lr,...t}),n[$r]=(o=n[$r])!==null&&o!==void 0?o:new Map,n[$r].set(a,e??{})};var G2=L(W());var H2=G2.css`
|
|
1558
1558
|
`;var Yn=L(W()),Xn=L(Y()),Qn=L(T());var Wr=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},Ee=class extends Zn{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Yn.nothing:Yn.html`
|
|
1559
1559
|
<span class="ft-i18n">
|
|
1560
1560
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
@@ -1574,7 +1574,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1574
1574
|
</div>
|
|
1575
1575
|
</div>
|
|
1576
1576
|
</div>
|
|
1577
|
-
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var n,a;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(n=this.tooltip)===null||n===void 0||n.showPopover()):(a=this.tooltip)===null||a===void 0||a.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(n=>t.has(n))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,n){let a=this.manual;this.manual=!0;let o=this.text;this.text={message:t},await this.show(n),this.text=o,this.manual=a}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Fl(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:n})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${n}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${me.designSystemVariables.transitionDuration}, left ${me.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(t){return(0,me.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(t){return this.manual||this.matchesIgnored(t)}};$.elementDefinitions={"ft-typography":Be};$.styles=fl;Ae([F2()],$.prototype,"text",void 0);Ae([(0,he.property)({type:Boolean})],$.prototype,"manual",void 0);Ae([(0,he.property)({type:Boolean})],$.prototype,"inline",void 0);Ae([(0,me.numberProperty)()],$.prototype,"delay",void 0);Ae([(0,he.property)()],$.prototype,"position",void 0);Ae([(0,me.jsonProperty)([])],$.prototype,"ignoreMatchingElements",void 0);Ae([(0,he.queryAssignedNodes)()],$.prototype,"slotNodes",void 0);Ae([(0,he.query)(".ft-tooltip--container")],$.prototype,"container",void 0);Ae([(0,he.query)(".ft-tooltip")],$.prototype,"tooltip",void 0);Ae([(0,he.query)(".ft-tooltip--content")],$.prototype,"tooltipContent",void 0);Ae([(0,he.state)()],$.prototype,"visible",void 0);var K2=L(T());var V2={"ft-tooltip":$};(0,K2.customElements)(V2);var Rt;(function(e){e.topIcon="top-icon",e.sideIcon="side-icon",e.labelOnly="label-only",e.iconOnly="icon-only"})(Rt||(Rt={}));var Jn;(function(e){e.left="left",e.right="right",e.start="start",e.end="end",e.justify="justify"})(Jn||(Jn={}));var it=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},$o=class extends CustomEvent{constructor(t){super("index-change",{detail:t})}},
|
|
1577
|
+
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var n,a;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(n=this.tooltip)===null||n===void 0||n.showPopover()):(a=this.tooltip)===null||a===void 0||a.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(n=>t.has(n))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,n){let a=this.manual;this.manual=!0;let o=this.text;this.text={message:t},await this.show(n),this.text=o,this.manual=a}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&Fl(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:n})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${n}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${me.designSystemVariables.transitionDuration}, left ${me.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(t){return(0,me.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(t){return this.manual||this.matchesIgnored(t)}};$.elementDefinitions={"ft-typography":Be};$.styles=fl;Ae([F2()],$.prototype,"text",void 0);Ae([(0,he.property)({type:Boolean})],$.prototype,"manual",void 0);Ae([(0,he.property)({type:Boolean})],$.prototype,"inline",void 0);Ae([(0,me.numberProperty)()],$.prototype,"delay",void 0);Ae([(0,he.property)()],$.prototype,"position",void 0);Ae([(0,me.jsonProperty)([])],$.prototype,"ignoreMatchingElements",void 0);Ae([(0,he.queryAssignedNodes)()],$.prototype,"slotNodes",void 0);Ae([(0,he.query)(".ft-tooltip--container")],$.prototype,"container",void 0);Ae([(0,he.query)(".ft-tooltip")],$.prototype,"tooltip",void 0);Ae([(0,he.query)(".ft-tooltip--content")],$.prototype,"tooltipContent",void 0);Ae([(0,he.state)()],$.prototype,"visible",void 0);var K2=L(T());var V2={"ft-tooltip":$};(0,K2.customElements)(V2);var Rt;(function(e){e.topIcon="top-icon",e.sideIcon="side-icon",e.labelOnly="label-only",e.iconOnly="icon-only"})(Rt||(Rt={}));var Jn;(function(e){e.left="left",e.right="right",e.start="start",e.end="end",e.justify="justify"})(Jn||(Jn={}));var it=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},$o=class extends CustomEvent{constructor(t){super("index-change",{detail:t})}},te=class extends ge.FtLitElement{constructor(){super(...arguments),this.alignTabs=Jn.justify,this.ftdsTabs=[],this.horizontal=!1,this.activeIndex=0,this.structure=Rt.sideIcon,this.updateDebouncer=new ge.Debouncer(2),this.onTabUpdated=()=>this.updateDebouncer.run(()=>{this.requestUpdate(),this.dispatchEvent(new ge.PostResizeEvent)}),this.resizeObserver=new ResizeObserver(()=>this.placeIndicator()),this.observedTabButtons=[]}get tabsClasses(){return{"ftds-tabs":!0,["ftds-tabs--align-"+this.alignTabs]:!0,"ftds-tabs--horizontal":this.horizontal,"ftds-tabs--side-icon":this.structure==Rt.sideIcon,"ftds-tabs--icon-only":this.structure==Rt.iconOnly,"ftds-tabs--label-only":this.structure==Rt.labelOnly}}render(){var t,n;let a=(n=this.ftdsTabs[(t=this.activeIndex)!==null&&t!==void 0?t:0])===null||n===void 0?void 0:n.color;return ea.html`
|
|
1578
1578
|
<div class="${(0,Ho.classMap)(this.tabsClasses)}" part="container">
|
|
1579
1579
|
<div role="tablist" part="tablist">
|
|
1580
1580
|
${(0,q2.repeat)(this.ftdsTabs,(o,i)=>ea.html`
|
|
@@ -1617,14 +1617,14 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
1617
1617
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
1618
1618
|
</div>
|
|
1619
1619
|
</div>
|
|
1620
|
-
`}onContentChange(t){let n=t.composedPath()[0];this.ftdsTabs=n.assignedElements().map(a=>a),this.ftdsTabs.forEach(a=>{a.removeEventListener("updated",this.onTabUpdated),a.addEventListener("updated",this.onTabUpdated)}),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new ge.PreResizeEvent),(t.has("ftdsTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new $o(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.observeTabButtons(),this.placeIndicator()}observeTabButtons(){this.tabButtons&&(this.observedTabButtons.forEach(t=>this.resizeObserver.unobserve(t)),this.tabButtons.forEach(t=>this.resizeObserver.observe(t)),this.observedTabButtons=Array.from(this.tabButtons))}placeIndicator(){var t,n,a,o,i,s,l,u;if(this.activeTabIndicator){let p=this.activeTab;if(p){let h=(n=(t=p?.getBoundingClientRect())===null||t===void 0?void 0:t.height)!==null&&n!==void 0?n:0,g=(o=(a=p?.getBoundingClientRect())===null||a===void 0?void 0:a.width)!==null&&o!==void 0?o:0;this.horizontal?(this.activeTabIndicator.style.height=h+"px",this.activeTabIndicator.style.width="3px",this.activeTabIndicator.style.left=((i=p?.offsetLeft)!==null&&i!==void 0?i:0)+g-3+"px",this.activeTabIndicator.style.top=((s=p?.offsetTop)!==null&&s!==void 0?s:0)+"px"):(this.activeTabIndicator.style.height="3px",this.activeTabIndicator.style.width=g+"px",this.activeTabIndicator.style.left=((l=p?.offsetLeft)!==null&&l!==void 0?l:0)+"px",this.activeTabIndicator.style.top=((u=p?.offsetTop)!==null&&u!==void 0?u:0)+h-3+"px")}else this.activeTabIndicator.style.height="0px",this.activeTabIndicator.style.width="0px"}}toggleTab(t){this.activeIndex=t}updateTabs(){this.ftdsTabs.forEach((t,n)=>{t.active=n==this.activeIndex})}};
|
|
1620
|
+
`}onContentChange(t){let n=t.composedPath()[0];this.ftdsTabs=n.assignedElements().map(a=>a),this.ftdsTabs.forEach(a=>{a.removeEventListener("updated",this.onTabUpdated),a.addEventListener("updated",this.onTabUpdated)}),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new ge.PreResizeEvent),(t.has("ftdsTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new $o(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.observeTabButtons(),this.placeIndicator()}observeTabButtons(){this.tabButtons&&(this.observedTabButtons.forEach(t=>this.resizeObserver.unobserve(t)),this.tabButtons.forEach(t=>this.resizeObserver.observe(t)),this.observedTabButtons=Array.from(this.tabButtons))}placeIndicator(){var t,n,a,o,i,s,l,u;if(this.activeTabIndicator){let p=this.activeTab;if(p){let h=(n=(t=p?.getBoundingClientRect())===null||t===void 0?void 0:t.height)!==null&&n!==void 0?n:0,g=(o=(a=p?.getBoundingClientRect())===null||a===void 0?void 0:a.width)!==null&&o!==void 0?o:0;this.horizontal?(this.activeTabIndicator.style.height=h+"px",this.activeTabIndicator.style.width="3px",this.activeTabIndicator.style.left=((i=p?.offsetLeft)!==null&&i!==void 0?i:0)+g-3+"px",this.activeTabIndicator.style.top=((s=p?.offsetTop)!==null&&s!==void 0?s:0)+"px"):(this.activeTabIndicator.style.height="3px",this.activeTabIndicator.style.width=g+"px",this.activeTabIndicator.style.left=((l=p?.offsetLeft)!==null&&l!==void 0?l:0)+"px",this.activeTabIndicator.style.top=((u=p?.offsetTop)!==null&&u!==void 0?u:0)+h-3+"px")}else this.activeTabIndicator.style.height="0px",this.activeTabIndicator.style.width="0px"}}toggleTab(t){this.activeIndex=t}updateTabs(){this.ftdsTabs.forEach((t,n)=>{t.active=n==this.activeIndex})}};te.elementDefinitions={"ft-ripple":F,"ft-tooltip":$,"ftds-icon":le,"ftds-typography":De};te.styles=[ge.safariEllipsisFix,xc];it([(0,Le.property)()],te.prototype,"alignTabs",void 0);it([(0,Le.state)()],te.prototype,"ftdsTabs",void 0);it([(0,Le.queryAll)("[role='tablist'] > button")],te.prototype,"tabButtons",void 0);it([(0,Le.query)("[aria-selected='true']")],te.prototype,"activeTab",void 0);it([(0,Le.query)(".ftds-tabs--active-tab-indicator")],te.prototype,"activeTabIndicator",void 0);it([(0,Le.property)({type:Boolean})],te.prototype,"horizontal",void 0);it([(0,ge.numberProperty)({reflect:!0})],te.prototype,"activeIndex",void 0);it([(0,Le.property)()],te.prototype,"structure",void 0);var ta=L(T()),ra=L(W()),Me=L(Y()),We=function(e,t,n,a){var o=arguments.length,i=o<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,a);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i},re=class extends ta.FtLitElement{constructor(){super(...arguments),this.label="",this.active=!1,this.disabled=!1,this.uniqueId=(0,ta.randomId)(5,"tab-")}render(){return ra.html`
|
|
1621
1621
|
<style>
|
|
1622
1622
|
:host {
|
|
1623
1623
|
display: ${(0,ra.unsafeCSS)(this.active?"block":"none")};
|
|
1624
1624
|
}
|
|
1625
1625
|
</style>
|
|
1626
1626
|
<slot></slot>
|
|
1627
|
-
`}update(t){super.update(t),this.id||(this.id=this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}};
|
|
1627
|
+
`}update(t){super.update(t),this.id||(this.id=this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}};re.elementDefinitions={};We([(0,Me.property)({type:String})],re.prototype,"label",void 0);We([(0,Me.property)({type:String})],re.prototype,"icon",void 0);We([(0,Me.property)({type:String})],re.prototype,"iconVariant",void 0);We([(0,Me.property)({type:Boolean,reflect:!0})],re.prototype,"active",void 0);We([(0,Me.property)({type:Boolean})],re.prototype,"disabled",void 0);We([(0,Me.property)({reflect:!0})],re.prototype,"id",void 0);We([(0,Me.property)()],re.prototype,"color",void 0);We([(0,Me.property)()],re.prototype,"rippleColor",void 0);We([(0,Me.property)({reflect:!0,attribute:"aria-labelledby"})],re.prototype,"ariaLabelledBy",void 0);var Z2={"ftds-tabs":te,"ftds-tab":re};(0,Y2.customElements)(Z2);})();
|
|
1628
1628
|
/*! Bundled license information:
|
|
1629
1629
|
|
|
1630
1630
|
@fortawesome/fontawesome-svg-core/index.mjs:
|