@fluid-topics/ft-reader-topic-content 1.1.40 → 1.1.41

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.
@@ -20,7 +20,7 @@
20
20
  white-space: pre-wrap;
21
21
  word-break: break-word;
22
22
  }
23
- `;var r;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(r||(r={}));var l=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class c extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class d extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new c)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=h,l([s.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}var x=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class u extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const v=Symbol("registerInterval");class p extends(function(t){var e;class i extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[v]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[v]):this.dispatchEvent(new u)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=v,x([s.state()],i.prototype,"tocNode",void 0),x([s.state()],i.prototype,"disableContextInteractions",void 0),i}(d)){}var f,m;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(f||(f={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(m||(m={})),new Map([...["abw"].map((t=>[t,m.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,m.AUDIO])),...["avi"].map((t=>[t,m.AVI])),...["chm","xhs"].map((t=>[t,m.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,m.CODE])),...["csv"].map((t=>[t,m.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,m.DITA])),...["epub"].map((t=>[t,m.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,m.EXCEL])),...["flac"].map((t=>[t,m.FLAC])),...["gif"].map((t=>[t,m.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,m.GZIP])),...["html","htm","xhtml"].map((t=>[t,m.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,m.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,m.JPEG])),...["json"].map((t=>[t,m.JSON])),...["m4a","m4p"].map((t=>[t,m.M4A])),...["mov","qt"].map((t=>[t,m.MOV])),...["mp3"].map((t=>[t,m.MP3])),...["mp4","m4v"].map((t=>[t,m.MP4])),...["ogg","oga"].map((t=>[t,m.OGG])),...["pdf","ps"].map((t=>[t,m.PDF])),...["png"].map((t=>[t,m.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,m.POWERPOINT])),...["rar"].map((t=>[t,m.RAR])),...["stp"].map((t=>[t,m.STP])),...["txt","rtf","md","mdown"].map((t=>[t,m.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,m.VIDEO])),...["wav"].map((t=>[t,m.WAV])),...["wma"].map((t=>[t,m.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,m.WORD])),...["xml","xsl","rdf"].map((t=>[t,m.XML])),...["yaml","yml","x-yaml"].map((t=>[t,m.YAML])),...["zip"].map((t=>[t,m.ZIP]))]),m.ABW,m.AUDIO,m.AVI,m.CHM,m.CODE,m.CSV,m.DITA,m.EPUB,m.EXCEL,m.FLAC,m.GIF,m.GZIP,m.HTML,m.IMAGE,m.JPEG,m.JSON,m.M4A,m.MOV,m.MP3,m.MP4,m.OGG,m.PDF,m.PNG,m.POWERPOINT,m.RAR,m.STP,m.TEXT,m.UNKNOWN,m.VIDEO,m.WAV,m.WMA,m.WORD,m.XML,m.YAML,m.ZIP;const b=e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),g=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),w=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),y=e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),C=e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),k=i.css`
23
+ `;var r;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(r||(r={}));var l=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class c extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const h=Symbol("registerInterval");class d extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[h]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[h]):this.dispatchEvent(new c)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=h,l([s.state()],i.prototype,"stateManager",void 0),i}(e.FtLitElementRedux)){}var x=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class u extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const v=Symbol("registerInterval");class p extends(function(t){var e;class i extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[v]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[v]):this.dispatchEvent(new u)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=v,x([s.state()],i.prototype,"tocNode",void 0),x([s.state()],i.prototype,"disableContextInteractions",void 0),i}(d)){}var f,m;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(f||(f={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(m||(m={})),new Map([...["abw"].map((t=>[t,m.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,m.AUDIO])),...["avi"].map((t=>[t,m.AVI])),...["chm","xhs"].map((t=>[t,m.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,m.CODE])),...["csv"].map((t=>[t,m.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,m.DITA])),...["epub"].map((t=>[t,m.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,m.EXCEL])),...["flac"].map((t=>[t,m.FLAC])),...["gif"].map((t=>[t,m.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,m.GZIP])),...["html","htm","xhtml"].map((t=>[t,m.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,m.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,m.JPEG])),...["json"].map((t=>[t,m.JSON])),...["m4a","m4p"].map((t=>[t,m.M4A])),...["mov","qt"].map((t=>[t,m.MOV])),...["mp3"].map((t=>[t,m.MP3])),...["mp4","m4v"].map((t=>[t,m.MP4])),...["ogg","oga"].map((t=>[t,m.OGG])),...["pdf","ps"].map((t=>[t,m.PDF])),...["png"].map((t=>[t,m.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,m.POWERPOINT])),...["rar"].map((t=>[t,m.RAR])),...["stp"].map((t=>[t,m.STP])),...["txt","rtf","md","mdown"].map((t=>[t,m.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,m.VIDEO])),...["wav"].map((t=>[t,m.WAV])),...["wma"].map((t=>[t,m.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,m.WORD])),...["xml","xsl","rdf"].map((t=>[t,m.XML])),...["yaml","yml","x-yaml"].map((t=>[t,m.YAML])),...["zip"].map((t=>[t,m.ZIP]))]),m.ABW,m.AUDIO,m.AVI,m.CHM,m.CODE,m.CSV,m.DITA,m.EPUB,m.EXCEL,m.FLAC,m.GIF,m.GZIP,m.HTML,m.IMAGE,m.JPEG,m.JSON,m.M4A,m.MOV,m.MP3,m.MP4,m.OGG,m.PDF,m.PNG,m.POWERPOINT,m.RAR,m.STP,m.TEXT,m.UNKNOWN,m.VIDEO,m.WAV,m.WMA,m.WORD,m.XML,m.YAML,m.ZIP;const b=e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),w=e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),g=e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),y=e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),C=e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),k=i.css`
24
24
  :host, i.ft-icon {
25
25
  display: inline-flex;
26
26
  align-items: center;
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  i.ft-icon.ft-icon--fluid-topics {
54
- font-family: ${g}, ft-icons, fticons, sans-serif;
54
+ font-family: ${w}, ft-icons, fticons, sans-serif;
55
55
 
56
56
  /* Ugly fix because font is broken */
57
57
  font-size: calc(0.75 * ${b});
@@ -62,26 +62,26 @@
62
62
  }
63
63
 
64
64
  .ft-icon--file-format {
65
- font-family: ${w}, ft-mime, sans-serif;
65
+ font-family: ${g}, ft-mime, sans-serif;
66
66
  }
67
67
 
68
68
  .ft-icon--material {
69
69
  font-family: ${y}, "Material Icons", sans-serif;
70
70
  }
71
- `;var j;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(j||(j={}));var I=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class O extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(j).includes(this.variant)?this.variant:j.fluid_topics,e=t!==j.material||!!this.value;return i.html`
71
+ `;var I;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(I||(I={}));var j=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class O extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=i.nothing}render(){const t=this.variant&&Object.values(I).includes(this.variant)?this.variant:I.fluid_topics,e=t!==I.material||!!this.value;return i.html`
72
72
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
73
73
  ${o.unsafeHTML(this.resolvedIcon)}
74
74
  <slot ?hidden=${e}></slot>
75
75
  </i>
76
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let s=this.value||this.textContent;switch(this.variant){case j.file_format:this.resolvedIcon=null!==(t=m[s.replace("-","_").toUpperCase()])&&void 0!==t?t:s;break;case j.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=f[s.replace("-","_").toUpperCase()])&&void 0!==e?e:s}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}O.elementDefinitions={},O.styles=k,I([s.property()],O.prototype,"variant",void 0),I([s.property()],O.prototype,"value",void 0),I([s.state()],O.prototype,"resolvedIcon",void 0),I([s.query("slot")],O.prototype,"slottedContent",void 0),e.customElement("ft-icon")(O);const S=i.css`
76
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let s=this.value||this.textContent;switch(this.variant){case I.file_format:this.resolvedIcon=null!==(t=m[s.replace("-","_").toUpperCase()])&&void 0!==t?t:s;break;case I.material:this.resolvedIcon=this.value||i.nothing;break;default:this.resolvedIcon=null!==(e=f[s.replace("-","_").toUpperCase()])&&void 0!==e?e:s}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}O.elementDefinitions={},O.styles=k,j([s.property()],O.prototype,"variant",void 0),j([s.property()],O.prototype,"value",void 0),j([s.state()],O.prototype,"resolvedIcon",void 0),j([s.query("slot")],O.prototype,"slottedContent",void 0),e.customElement("ft-icon")(O);const S=i.css`
77
77
  `,$=i.css`
78
- `,M=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class U{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=M.getState(),s=null!=t?t:i;if(e&&s&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,s,!0)}static get(t){var e;return null!=t?U.build(t):null!==(e=U.API)&&void 0!==e?e:U.API=U.build()}static await(t){return new Promise((e=>{let i=U.get(t);if(i)e(i);else{const s=M.subscribe((()=>{i=U.get(t),i&&(s(),e(i))}))}}))}}class N{constructor(t=!0,i){var s;this.overrideApi=i;let o=this.constructor;o.commonCache=null!==(s=o.commonCache)&&void 0!==s?s:new e.CacheRegistry,this.cache=t?o.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:U.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:U.await()}clearCache(){this.cache.clearAll()}}var A;const T=Symbol("clearAfterUnitTest");class L extends N{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[A]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=M.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,i){var s;if(t=t.toLowerCase(),Object.keys(i).length>0){const o={...null!==(s=this.defaultMessages[t])&&void 0!==s?s:{},...i};e.deepEqual(this.defaultMessages[t],o)||(this.defaultMessages[t]=o,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,i,...s){var o,n,a;t=t.toLowerCase(),this.fetchContext(t);const r=null!==(n=null===(o=this.cache.getNow(t))||void 0===o?void 0:o.messages)&&void 0!==n?n:{};return new e.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},r).resolve(i,...s)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}A=T,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends L{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends L{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const B=window.FluidTopicsI18nService,z=window.FluidTopicsCustomI18nService;var P=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class R extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>U.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return i.html`
78
+ `,M=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class N{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=M.getState(),s=null!=t?t:i;if(e&&s&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,s,!0)}static get(t){var e;return null!=t?N.build(t):null!==(e=N.API)&&void 0!==e?e:N.API=N.build()}static await(t){return new Promise((e=>{let i=N.get(t);if(i)e(i);else{const s=M.subscribe((()=>{i=N.get(t),i&&(s(),e(i))}))}}))}}class U{constructor(t=!0,i){var s;this.overrideApi=i;let o=this.constructor;o.commonCache=null!==(s=o.commonCache)&&void 0!==s?s:new e.CacheRegistry,this.cache=t?o.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:N.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:N.await()}clearCache(){this.cache.clearAll()}}var A;const T=Symbol("clearAfterUnitTest");class B extends U{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[A]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=M.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,i){var s;if(t=t.toLowerCase(),Object.keys(i).length>0){const o={...null!==(s=this.defaultMessages[t])&&void 0!==s?s:{},...i};e.deepEqual(this.defaultMessages[t],o)||(this.defaultMessages[t]=o,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,i,...s){var o,n,a;t=t.toLowerCase(),this.fetchContext(t);const r=null!==(n=null===(o=this.cache.getNow(t))||void 0===o?void 0:o.messages)&&void 0!==n?n:{};return new e.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},r).resolve(i,...s)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}A=T,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends B{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends B{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const L=window.FluidTopicsI18nService,E=window.FluidTopicsCustomI18nService;var z=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class P extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>N.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return i.html`
79
79
  <slot></slot>
80
- `}update(t){super.update(t),t.has("baseUrl")&&(M.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&M.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&M.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&M.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&M.actions.noCustom(this.noCustom),t.has("editorMode")&&M.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&M.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&M.actions.session(this.session),t.has("availableUiLocales")&&M.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>B.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}R.elementDefinitions={},R.styles=$,P([s.property()],R.prototype,"baseUrl",void 0),P([s.property()],R.prototype,"apiIntegrationIdentifier",void 0),P([s.property()],R.prototype,"uiLocale",void 0),P([e.jsonProperty(null)],R.prototype,"availableUiLocales",void 0),P([e.jsonProperty(null)],R.prototype,"metadataConfiguration",void 0),P([s.property({type:Boolean})],R.prototype,"editorMode",void 0),P([s.property({type:Boolean})],R.prototype,"noCustom",void 0),P([s.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],R.prototype,"noCustomComponent",void 0),P([s.property({type:Boolean})],R.prototype,"withManualResources",void 0),P([e.jsonProperty([])],R.prototype,"messageContexts",void 0),P([e.jsonProperty(void 0)],R.prototype,"session",void 0),P([s.property({type:Object})],R.prototype,"apiProvider",void 0);class _ extends N{async listMySearches(){let t=M.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class E extends N{async listMyBookmarks(){let t=M.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const K=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new E,this.savedSearchesService=new _,M.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:i}=M.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==i?void 0:i.profile)||(this.currentSession=i,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),K.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),K.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();K.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;K.actions.bookmarks(e)}}},e.customElement("ft-app-context")(R);var G=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const W=Symbol("i18nAttributes"),D=Symbol("i18nProperties"),q=Symbol("i18nUnsubs");function F(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?z:B}i18n(t,e,...i){var s;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const o=null!==(s=t.args)&&void 0!==s?s:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var e,i;null===(e=this[W])||void 0===e||e.forEach(((e,i)=>{var s;const o=this.getI18nAttributeValue(i);(null===(s=null==o?void 0:o.context)||void 0===s?void 0:s.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(i,o,e)})),null===(i=this[D])||void 0===i||i.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,i){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...i})}}update(t){var e,i;super.update(t),null===(e=this[W])||void 0===e||e.forEach(((e,i)=>{const s=this.getI18nAttributeValue(i);(null==s?void 0:s.context)&&s.key&&(t.has(i)||null!=e.argsProvider)&&(t.has(i)&&this.addI18nContext(s.context),this.updateI18nAttributeMessage(i,s,e))})),null===(i=this[D])||void 0===i||i.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,i,s;super.connectedCallback(),new Set([...null!==(e=null===(t=this[D])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(s=null===(i=this[W])||void 0===i?void 0:i.keys())&&void 0!==s?s:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[q].has(t)||this[q].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[q].forEach((t=>t())),this[q].clear()}}return e=q,G([s.property({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class Q extends(F(e.FtLitElement)){}class V extends(F(e.FtLitElementRedux)){}var Z=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class H extends V{constructor(){super(),this.editorMode=!1,this.addStore(M)}render(){return this.key&&this.context?i.html`
80
+ `}update(t){super.update(t),t.has("baseUrl")&&(M.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&M.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&M.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&M.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&M.actions.noCustom(this.noCustom),t.has("editorMode")&&M.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&M.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&M.actions.session(this.session),t.has("availableUiLocales")&&M.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>L.addContext(t))),t.has("openExternalDocumentInNewTab")&&M.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}P.elementDefinitions={},P.styles=$,z([s.property()],P.prototype,"baseUrl",void 0),z([s.property()],P.prototype,"apiIntegrationIdentifier",void 0),z([s.property()],P.prototype,"uiLocale",void 0),z([e.jsonProperty(null)],P.prototype,"availableUiLocales",void 0),z([e.jsonProperty(null)],P.prototype,"metadataConfiguration",void 0),z([s.property({type:Boolean})],P.prototype,"editorMode",void 0),z([s.property({type:Boolean})],P.prototype,"noCustom",void 0),z([s.property({type:Boolean})],P.prototype,"openExternalDocumentInNewTab",void 0),z([s.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],P.prototype,"noCustomComponent",void 0),z([s.property({type:Boolean})],P.prototype,"withManualResources",void 0),z([e.jsonProperty([])],P.prototype,"messageContexts",void 0),z([e.jsonProperty(void 0)],P.prototype,"session",void 0),z([s.property({type:Object})],P.prototype,"apiProvider",void 0);class R extends U{async listMySearches(){let t=M.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class _ extends U{async listMyBookmarks(){let t=M.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const K=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _,this.savedSearchesService=new R,M.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:i}=M.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==i?void 0:i.profile)||(this.currentSession=i,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),K.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),K.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();K.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;K.actions.bookmarks(e)}}},e.customElement("ft-app-context")(P);var D=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const G=Symbol("i18nAttributes"),W=Symbol("i18nProperties"),q=Symbol("i18nUnsubs");function F(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?E:L}i18n(t,e,...i){var s;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const o=null!==(s=t.args)&&void 0!==s?s:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var e,i;null===(e=this[G])||void 0===e||e.forEach(((e,i)=>{var s;const o=this.getI18nAttributeValue(i);(null===(s=null==o?void 0:o.context)||void 0===s?void 0:s.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(i,o,e)})),null===(i=this[W])||void 0===i||i.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,i){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...i})}}update(t){var e,i;super.update(t),null===(e=this[G])||void 0===e||e.forEach(((e,i)=>{const s=this.getI18nAttributeValue(i);(null==s?void 0:s.context)&&s.key&&(t.has(i)||null!=e.argsProvider)&&(t.has(i)&&this.addI18nContext(s.context),this.updateI18nAttributeMessage(i,s,e))})),null===(i=this[W])||void 0===i||i.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,i,s;super.connectedCallback(),new Set([...null!==(e=null===(t=this[W])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(s=null===(i=this[G])||void 0===i?void 0:i.keys())&&void 0!==s?s:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[q].has(t)||this[q].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[q].forEach((t=>t())),this[q].clear()}}return e=q,D([s.property({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class Q extends(F(e.FtLitElement)){}class V extends(F(e.FtLitElementRedux)){}var Z=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class H extends V{constructor(){super(),this.editorMode=!1,this.addStore(M)}render(){return this.key&&this.context?i.html`
81
81
  <span class="ft-i18n">
82
82
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
83
83
  </span>
84
- `:this.editorMode?"Select a context and a label key.":i.nothing}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}H.elementDefinitions={},H.styles=S,Z([e.redux()],H.prototype,"editorMode",void 0),Z([s.property()],H.prototype,"context",void 0),Z([s.property()],H.prototype,"key",void 0),Z([e.jsonProperty([])],H.prototype,"args",void 0),Z([s.property()],H.prototype,"defaultMessage",void 0);class J{static build(t){return new J(t)}static fromGwt(t){return new J(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>B.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(H);const X=J.build("designedReaderTopicContent");var Y=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class tt extends p{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,e;return this.map&&(this.error||this.content)?i.html`
84
+ `:this.editorMode?"Select a context and a label key.":i.nothing}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}H.elementDefinitions={},H.styles=S,Z([e.redux()],H.prototype,"editorMode",void 0),Z([s.property()],H.prototype,"context",void 0),Z([s.property()],H.prototype,"key",void 0),Z([e.jsonProperty([])],H.prototype,"args",void 0),Z([s.property()],H.prototype,"defaultMessage",void 0);class J{static build(t){return new J(t)}static fromGwt(t){return new J(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>L.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(H);const X=J.build("designedReaderTopicContent");var Y=function(t,e,i,s){for(var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s,r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};class tt extends p{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,e;return this.map&&(this.error||this.content)?i.html`
85
85
  <style>
86
86
  @import "${null===(t=this.map)||void 0===t?void 0:t.contentStyles.topicStylesheetUrl}";
87
87
  </style>
@@ -48,7 +48,7 @@ const E={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:w},R=(t=E,e,
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */const j=globalThis,$=j.trustedTypes,M=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",P=`lit$${(Math.random()+"").slice(9)}$`,F="?"+P,D=`<${F}>`,B=document,_=()=>B.createComment(""),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,J=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}let nt=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=G;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===G?"!--"===c[1]?a=q:void 0!==c[1]?a=J:void 0!==c[2]?(Q.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Y):void 0!==c[3]&&(a=Y):a===Y?">"===c[0]?(a=i??G,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Y:'"'===c[3]?X:V):a===X||a===V?a=Y:a===q||a===J?a=G:(a=Y,i=void 0);const h=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===G?o+D:l>=0?(r.push(s),o.slice(0,l)+Z+o.slice(l)+P+h):o+P+(-2===l?e:h)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(e,o);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=rt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const e=f[a++],o=i.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?lt:"?"===r[1]?ft:"@"===r[1]?ht:ct}),i.removeAttribute(t)}else t.startsWith(P)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(P),e=t.length-1;if(e>0){i.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],_()),rt.nextNode(),c.push({type:2,index:++n});i.append(t[e],_())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(P,t+1));)c.push({type:7,index:n}),t+=P.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,r){if(e===tt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=z(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=at(t,i._$AS(t,e.values),i,r)),e}let st=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),z(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>T(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??B).importNode(e,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new st(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ut(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=B,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new nt(t)),e}T(e){T(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(_()),this.k(_()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=at(this,t,e,0),n=!z(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=at(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!z(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends ct{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ut=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const pt=j.litHtmlPolyfillSupport;pt?.(nt,st),(j.litHtmlVersions??=[]).push("3.1.0");
51
+ */const j=globalThis,$=j.trustedTypes,M=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",P=`lit$${(Math.random()+"").slice(9)}$`,F="?"+P,D=`<${F}>`,B=document,T=()=>B.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,J=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}let nt=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=G;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===G?"!--"===c[1]?a=q:void 0!==c[1]?a=J:void 0!==c[2]?(Q.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Y):void 0!==c[3]&&(a=Y):a===Y?">"===c[0]?(a=i??G,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Y:'"'===c[3]?X:V):a===X||a===V?a=Y:a===q||a===J?a=G:(a=Y,i=void 0);const h=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===G?o+D:l>=0?(r.push(s),o.slice(0,l)+Z+o.slice(l)+P+h):o+P+(-2===l?e:h)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(e,o);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=rt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const e=f[a++],o=i.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?lt:"?"===r[1]?ft:"@"===r[1]?ht:ct}),i.removeAttribute(t)}else t.startsWith(P)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(P),e=t.length-1;if(e>0){i.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],T()),rt.nextNode(),c.push({type:2,index:++n});i.append(t[e],T())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(P,t+1));)c.push({type:7,index:n}),t+=P.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,r){if(e===tt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=_(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=at(t,i._$AS(t,e.values),i,r)),e}let st=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),_(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>z(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??B).importNode(e,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new st(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ut(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=B,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new nt(t)),e}T(e){z(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(T()),this.k(T()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=at(this,t,e,0),n=!_(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=at(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!_(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends ct{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ut=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const pt=j.litHtmlPolyfillSupport;pt?.(nt,st),(j.litHtmlVersions??=[]).push("3.1.0");
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2019 Google LLC
@@ -65,13 +65,13 @@ const dt=globalThis,yt=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeS
65
65
  * Copyright 2017 Google LLC
66
66
  * SPDX-License-Identifier: BSD-3-Clause
67
67
  */
68
- const Mt=globalThis,Zt=Mt.trustedTypes,Pt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ft="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+Dt,_t=`<${Bt}>`,zt=document,Tt=()=>zt.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Gt=Array.isArray,qt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Xt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,te=/"/g,ee=/^(?:script|style|textarea|title)$/i,oe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),re=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),ne=new WeakMap,ae=zt.createTreeWalker(zt,129);function se(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}class ce{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Jt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Jt?"!--"===c[1]?a=Yt:void 0!==c[1]?a=Vt:void 0!==c[2]?(ee.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=i??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?te:Qt):a===te||a===Qt?a=Xt:a===Yt||a===Vt?a=Jt:(a=Xt,i=void 0);const h=a===Xt&&t[e+1].startsWith("/>")?" ":"";n+=a===Jt?o+_t:l>=0?(r.push(s),o.slice(0,l)+Ft+o.slice(l)+Dt+h):o+Dt+(-2===l?e:h)}return[se(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=ce.createElement(c,o),ae.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ae.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ft)){const e=l[n++],o=r.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ue:"?"===a[1]?pe:"@"===a[1]?de:he}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ee.test(r.tagName)){const t=r.textContent.split(Dt),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Tt()),ae.nextNode(),s.push({type:2,index:++i});r.append(t[e],Tt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)s.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,e){const o=zt.createElement("template");return o.innerHTML=t,o}}function le(t,e,o=t,r){if(e===re)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Ht(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=le(t,i._$AS(t,e.values),i,r)),e}let fe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ie,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=le(this,t,e),Ht(t)?t===ie||null==t||""===t?(this._$AH!==ie&&this._$AR(),this._$AH=ie):t!==this._$AH&&t!==re&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Gt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ie&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(zt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ce.createElement(se(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??zt).importNode(e,!0);ae.currentNode=r;let i=ae.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new fe(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ye(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ae.nextNode(),n++)}return ae.currentNode=zt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ne.get(t.strings);return void 0===e&&ne.set(t.strings,e=new ce(t)),e}T(e){Gt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Tt()),this.k(Tt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ie,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ie}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=le(this,t,e,0),n=!Ht(t)||t!==this._$AH&&t!==re,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=le(this,r[o+a],e,a),s===re&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===ie?t=ie:t!==ie&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ie?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends he{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ie?void 0:t}},pe=class extends he{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ie)}},de=class extends he{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=le(this,t,e,0)??ie)===re)return;const o=this._$AH,r=t===ie&&o!==ie||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ie&&(o===ie||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ye=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){le(this,t)}};const ge=Mt.litHtmlPolyfillSupport;ge?.(ce,fe),(Mt.litHtmlVersions??=[]).push("3.1.0");
68
+ const Mt=globalThis,Zt=Mt.trustedTypes,Pt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ft="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+Dt,Tt=`<${Bt}>`,_t=document,zt=()=>_t.createComment(""),Ht=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Gt=Array.isArray,qt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Xt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,te=/"/g,ee=/^(?:script|style|textarea|title)$/i,oe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),re=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),ne=new WeakMap,ae=_t.createTreeWalker(_t,129);function se(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}class ce{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Jt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Jt?"!--"===c[1]?a=Yt:void 0!==c[1]?a=Vt:void 0!==c[2]?(ee.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=i??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?te:Qt):a===te||a===Qt?a=Xt:a===Yt||a===Vt?a=Jt:(a=Xt,i=void 0);const h=a===Xt&&t[e+1].startsWith("/>")?" ":"";n+=a===Jt?o+Tt:l>=0?(r.push(s),o.slice(0,l)+Ft+o.slice(l)+Dt+h):o+Dt+(-2===l?e:h)}return[se(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=ce.createElement(c,o),ae.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ae.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ft)){const e=l[n++],o=r.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ue:"?"===a[1]?pe:"@"===a[1]?de:he}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ee.test(r.tagName)){const t=r.textContent.split(Dt),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],zt()),ae.nextNode(),s.push({type:2,index:++i});r.append(t[e],zt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Dt,t+1));)s.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function le(t,e,o=t,r){if(e===re)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Ht(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=le(t,i._$AS(t,e.values),i,r)),e}let fe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ie,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=le(this,t,e),Ht(t)?t===ie||null==t||""===t?(this._$AH!==ie&&this._$AR(),this._$AH=ie):t!==this._$AH&&t!==re&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Gt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ie&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ce.createElement(se(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??_t).importNode(e,!0);ae.currentNode=r;let i=ae.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new fe(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ye(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ae.nextNode(),n++)}return ae.currentNode=_t,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ne.get(t.strings);return void 0===e&&ne.set(t.strings,e=new ce(t)),e}T(e){Gt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(zt()),this.k(zt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ie,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ie}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=le(this,t,e,0),n=!Ht(t)||t!==this._$AH&&t!==re,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=le(this,r[o+a],e,a),s===re&&(s=this._$AH[a]),n||=!Ht(s)||s!==this._$AH[a],s===ie?t=ie:t!==ie&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ie?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends he{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ie?void 0:t}},pe=class extends he{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ie)}},de=class extends he{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=le(this,t,e,0)??ie)===re)return;const o=this._$AH,r=t===ie&&o!==ie||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ie&&(o===ie||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ye=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){le(this,t)}};const ge=Mt.litHtmlPolyfillSupport;ge?.(ce,fe),(Mt.litHtmlVersions??=[]).push("3.1.0");
69
69
  /**
70
70
  * @license
71
71
  * Copyright 2017 Google LLC
72
72
  * SPDX-License-Identifier: BSD-3-Clause
73
73
  */
74
- let be=class extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new fe(e.insertBefore(Tt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const ve=t=>"string"==typeof t?vt(t):t;class Oe{static create(t,e,o,r){const i=t=>ve(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):ve(null!=e?e:t.lastResortDefaultValue()),r=Ot`var(${ve(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Ot`var(${ve(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Oe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oe.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oe.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Oe.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Oe.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Oe.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Oe.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Oe.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Oe.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Oe.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Oe.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")};Oe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-display-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Oe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-display-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),Oe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),Oe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),Oe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Oe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const Ne={backgroundActionPrimary:Oe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Oe.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Oe.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Oe.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Oe.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Oe.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Oe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Oe.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Oe.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Oe.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Oe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Oe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Oe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Oe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Oe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Oe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Oe.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Oe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Oe.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessPrimary:Oe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentSuccessIconOnly:Oe.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentGlobalPrimary:Oe.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Oe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Oe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Oe.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Oe.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Oe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Oe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xe.colorOrange300),borderWarningSubtle:Oe.extend("--ft-border-warning-subtle","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Oe.extend("--ft-border-success-primary","Used as border for success buttons.",xe.colorGreen200),borderSuccessSubtle:Oe.extend("--ft-border-success-subtle","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Oe.extend("--ft-border-error-primary","Used as border for text fields in error states.",xe.colorRed0),borderErrorSubtle:Oe.extend("--ft-border-error-subtle","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Oe.extend("--ft-border-info-primary","Used as border for buttons in info color.",xe.colorCyan200),borderInfoSubtle:Oe.extend("--ft-border-info-subtle","Used as border for information components.",xe.colorCyan30),borderGlobalPrimary:Oe.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderGlobalSubtle:Oe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderInputPrimary:Oe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Oe.create("--ft-button-large-height","","SIZE","40px"),Oe.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-button-large-gap","",xe.spacing2),Oe.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-large-icon-size","",xe.iconSize3),Oe.create("--ft-button-large-border-width","","SIZE","1px"),Oe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oe.create("--ft-button-small-height","","SIZE","30px"),Oe.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Oe.extend("--ft-button-small-gap","",xe.spacing2),Oe.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-small-icon-size","",xe.iconSize2),Oe.create("--ft-button-small-border-width","","SIZE","1px"),Oe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oe.extend("--ft-button-primary-background-color","",Ne.backgroundActionPrimary),Oe.extend("--ft-button-primary-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-icon-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-tertiary-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Oe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-secondary-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-secondary-border-color","",Ne.borderActionPrimary),Oe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-neutral-icon-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-floating-menu-horizontal-padding","",xe.spacing4),Oe.extend("--ft-floating-menu-vertical-padding","",xe.spacing4),Oe.extend("--ft-floating-menu-off-icon-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-floating-menu-off-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-floating-menu-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-on-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-gap","",xe.spacing3),Oe.extend("--ft-floating-menu-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Oe.extend("--ft-floating-menu-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-floating-menu-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-floating-menu-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-floating-menu-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-floating-menu-icon-size","",xe.iconSize3),Oe.extend("--ft-floating-menu-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Oe.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Oe.extend("--ft-tabs-label-gap","",xe.spacing1),Oe.extend("--ft-tabs-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-tabs-icon-vertical-padding","",xe.spacing4),Oe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-tabs-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-tabs-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-tabs-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-tabs-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-tabs-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-off-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-tabs-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-tabs-on-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-tabs-on-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-tabs-on-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-tabs-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-tabs-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-collapsible-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-collapsible-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-collapsible-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-collapsible-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-collapsible-horizontal-padding","",xe.spacing4),Oe.extend("--ft-collapsible-vertical-padding","",xe.spacing3),Oe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Oe.extend("--ft-collapsible-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-collapsible-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-collapsible-state-layer-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-collapsible-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-collapsible-border-color","",Ne.borderGlobalSubtle),Oe.extend("--ft-collapsible-icon-size","",xe.iconSize3),Oe.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-group-gap","",xe.spacing1),Oe.extend("--ft-switch-group-background-color","",Ne.backgroundGlobalSurface),Oe.extend("--ft-switch-group-border-color","",Ne.borderGlobalSubtle),Oe.create("--ft-switch-group-border-radius","","SIZE","6px"),Oe.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Oe.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Oe.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-switch-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Oe.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-off-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-switch-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-switch-on-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-on-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-on-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-switch-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Oe.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Oe.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Oe.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Oe.extend("--ft-chart-3-light","",xe.colorUltramarine40),Oe.extend("--ft-chart-3-base","",xe.colorUltramarine70),Oe.extend("--ft-chart-4-light","",xe.colorCyan50),Oe.extend("--ft-chart-4-base","",xe.colorCyan100),Oe.extend("--ft-chart-5-light","",xe.colorRed40),Oe.extend("--ft-chart-5-base","",xe.colorRed60),Oe.extend("--ft-chart-6-light","",xe.colorGreen40),Oe.extend("--ft-chart-6-base","",xe.colorGreen70),Oe.extend("--ft-chart-7-light","",xe.colorOrange70),Oe.extend("--ft-chart-7-base","",xe.colorOrange100),Oe.extend("--ft-chart-8-light","",xe.colorAvocado70),Oe.extend("--ft-chart-8-base","",xe.colorAvocado200),Oe.extend("--ft-chart-9-light","",xe.colorBrown50),Oe.extend("--ft-chart-9-base","",xe.colorBrown200),Oe.extend("--ft-chart-10-light","",xe.colorGray50),Oe.extend("--ft-chart-10-base","",xe.colorGray80),Oe.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Oe.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Oe.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Oe.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Oe.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Oe.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Oe.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Oe.extend("--ft-chip-large-gap","",xe.spacing1),Oe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-large-border-width","","SIZE","1px"),Oe.extend("--ft-chip-large-icon-size","",xe.iconSize3),Oe.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Oe.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Oe.extend("--ft-chip-medium-gap","",xe.spacing1),Oe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-medium-border-width","","SIZE","1px"),Oe.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Oe.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Oe.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Oe.extend("--ft-chip-small-gap","",xe.spacing1),Oe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-small-border-width","","SIZE","1px"),Oe.extend("--ft-chip-small-icon-size","",xe.iconSize1),Oe.extend("--ft-chip-neutral-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-chip-neutral-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-chip-neutral-border-color","",Ne.borderGlobalSubtle),Oe.extend("--ft-chip-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-chip-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-chip-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-chip-success-background-color","",Ne.backgroundSuccessSubtle),Oe.extend("--ft-chip-success-color","",Ne.contentSuccessPrimary),Oe.extend("--ft-chip-success-border-color","",Ne.borderSuccessSubtle),Oe.extend("--ft-chip-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-chip-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-chip-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-chip-error-background-color","",Ne.backgroundErrorSubtle),Oe.extend("--ft-chip-error-color","",Ne.contentErrorPrimary),Oe.extend("--ft-chip-error-border-color","",Ne.borderErrorSubtle),Oe.create("--ft-notice-border-width","","SIZE","1px"),Oe.extend("--ft-notice-horizontal-padding","",xe.spacing2),Oe.extend("--ft-notice-vertical-padding","",xe.spacing1),Oe.extend("--ft-notice-border-radius","",xe.borderRadiusS),Oe.extend("--ft-notice-gap","",xe.spacing2),Oe.extend("--ft-notice-icon-size","",xe.iconSize3),Oe.extend("--ft-notice-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-notice-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-notice-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-notice-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-notice-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-notice-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-checkbox-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-checkbox-checked-background-color","",Ne.contentActionPrimary),Oe.extend("--ft-checkbox-checked-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-checkbox-checked-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-checkbox-gap","",xe.spacing3),Oe.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-off-background-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-off-icon-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-on-background-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-on-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-toggle-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-toggle-gap","",xe.spacing3),Oe.extend("--ft-radio-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-radio-selected-color","",Ne.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Oe.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-radio-gap","",xe.spacing3),Oe.extend("--ft-notification-icon-size","",xe.iconSize4),Oe.extend("--ft-notification-horizontal-padding","",xe.spacing4),Oe.extend("--ft-notification-vertical-padding","",xe.spacing4),Oe.extend("--ft-notification-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-notification-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-notification-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-notification-success-background-color","",Ne.backgroundSuccessSubtle),Oe.extend("--ft-notification-success-color","",Ne.contentSuccessPrimary),Oe.extend("--ft-notification-success-border-color","",Ne.borderSuccessSubtle),Oe.extend("--ft-notification-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-notification-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-notification-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-notification-error-background-color","",Ne.backgroundErrorSubtle),Oe.extend("--ft-notification-error-color","",Ne.contentErrorPrimary),Oe.extend("--ft-notification-error-border-color","",Ne.borderErrorSubtle),Oe.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Oe.create("--ft-notification-border-width","","SIZE","1px"),Oe.extend("--ft-notification-gap-leading","",xe.spacing2),Oe.extend("--ft-notification-gap-trailing","",xe.spacing8),Oe.extend("--ft-tooltip-horizontal-padding","",xe.spacing2),Oe.extend("--ft-tooltip-vertical-padding","",xe.spacing2),Oe.extend("--ft-tooltip-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tooltip-label","",Ne.contentGlobalOnColor),Oe.extend("--ft-tooltip-background","",Ne.contentGlobalPrimary),Oe.extend("--ft-tooltip-background-opacity","",xe.opacity80),Oe.extend("--ft-tooltip-shadow","",xe.shadowElevation03);const we={colorPrimary:Oe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oe.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oe.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Oe.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Oe.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Oe.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Oe.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Oe.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Oe.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Oe.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Oe.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Oe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Se=window,Ce=Se.ShadowRoot&&(void 0===Se.ShadyCSS||Se.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
74
+ let be=class extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new fe(e.insertBefore(zt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const ve=t=>"string"==typeof t?vt(t):t;class Oe{static create(t,e,o,r){const i=t=>ve(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):ve(null!=e?e:t.lastResortDefaultValue()),r=Ot`var(${ve(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Ot`var(${ve(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Oe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oe.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oe.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Oe.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Oe.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Oe.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Oe.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Oe.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Oe.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Oe.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Oe.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")};Oe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-display-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Oe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-display-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),Oe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),Oe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),Oe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Oe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),Oe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none");const Ne={backgroundActionPrimary:Oe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Oe.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Oe.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Oe.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Oe.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Oe.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Oe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Oe.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Oe.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Oe.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Oe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Oe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Oe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Oe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Oe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Oe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Oe.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Oe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Oe.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessPrimary:Oe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentSuccessIconOnly:Oe.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentGlobalPrimary:Oe.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Oe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Oe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Oe.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Oe.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Oe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Oe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xe.colorOrange300),borderWarningSubtle:Oe.extend("--ft-border-warning-subtle","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Oe.extend("--ft-border-success-primary","Used as border for success buttons.",xe.colorGreen200),borderSuccessSubtle:Oe.extend("--ft-border-success-subtle","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Oe.extend("--ft-border-error-primary","Used as border for text fields in error states.",xe.colorRed0),borderErrorSubtle:Oe.extend("--ft-border-error-subtle","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Oe.extend("--ft-border-info-primary","Used as border for buttons in info color.",xe.colorCyan200),borderInfoSubtle:Oe.extend("--ft-border-info-subtle","Used as border for information components.",xe.colorCyan30),borderGlobalPrimary:Oe.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderGlobalSubtle:Oe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderInputPrimary:Oe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Oe.create("--ft-button-large-height","","SIZE","40px"),Oe.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-button-large-gap","",xe.spacing2),Oe.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-large-icon-size","",xe.iconSize3),Oe.create("--ft-button-large-border-width","","SIZE","1px"),Oe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oe.create("--ft-button-small-height","","SIZE","30px"),Oe.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Oe.extend("--ft-button-small-gap","",xe.spacing2),Oe.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-small-icon-size","",xe.iconSize2),Oe.create("--ft-button-small-border-width","","SIZE","1px"),Oe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oe.extend("--ft-button-primary-background-color","",Ne.backgroundActionPrimary),Oe.extend("--ft-button-primary-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-icon-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-tertiary-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Oe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-secondary-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-secondary-border-color","",Ne.borderActionPrimary),Oe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-neutral-icon-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-color","",Ne.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-floating-menu-horizontal-padding","",xe.spacing4),Oe.extend("--ft-floating-menu-vertical-padding","",xe.spacing4),Oe.extend("--ft-floating-menu-off-icon-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-floating-menu-off-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-floating-menu-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-on-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-floating-menu-gap","",xe.spacing3),Oe.extend("--ft-floating-menu-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Oe.extend("--ft-floating-menu-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-floating-menu-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-floating-menu-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-floating-menu-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-floating-menu-icon-size","",xe.iconSize3),Oe.extend("--ft-floating-menu-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Oe.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Oe.extend("--ft-tabs-label-gap","",xe.spacing1),Oe.extend("--ft-tabs-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-tabs-icon-vertical-padding","",xe.spacing4),Oe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-tabs-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-tabs-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-tabs-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-tabs-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-tabs-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-off-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-tabs-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-tabs-on-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-tabs-on-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-tabs-on-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-tabs-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-tabs-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-collapsible-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-collapsible-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-collapsible-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-collapsible-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-collapsible-horizontal-padding","",xe.spacing4),Oe.extend("--ft-collapsible-vertical-padding","",xe.spacing3),Oe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Oe.extend("--ft-collapsible-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-collapsible-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-collapsible-state-layer-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-collapsible-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-collapsible-border-color","",Ne.borderGlobalSubtle),Oe.extend("--ft-collapsible-icon-size","",xe.iconSize3),Oe.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-group-gap","",xe.spacing1),Oe.extend("--ft-switch-group-background-color","",Ne.backgroundGlobalSurface),Oe.extend("--ft-switch-group-border-color","",Ne.borderGlobalSubtle),Oe.create("--ft-switch-group-border-radius","","SIZE","6px"),Oe.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Oe.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Oe.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-switch-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Oe.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-off-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-switch-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-switch-on-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-on-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-on-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-on-color","",Ne.contentActionPrimary),Oe.extend("--ft-switch-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Oe.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Oe.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Oe.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Oe.extend("--ft-chart-3-light","",xe.colorUltramarine40),Oe.extend("--ft-chart-3-base","",xe.colorUltramarine70),Oe.extend("--ft-chart-4-light","",xe.colorCyan50),Oe.extend("--ft-chart-4-base","",xe.colorCyan100),Oe.extend("--ft-chart-5-light","",xe.colorRed40),Oe.extend("--ft-chart-5-base","",xe.colorRed60),Oe.extend("--ft-chart-6-light","",xe.colorGreen40),Oe.extend("--ft-chart-6-base","",xe.colorGreen70),Oe.extend("--ft-chart-7-light","",xe.colorOrange70),Oe.extend("--ft-chart-7-base","",xe.colorOrange100),Oe.extend("--ft-chart-8-light","",xe.colorAvocado70),Oe.extend("--ft-chart-8-base","",xe.colorAvocado200),Oe.extend("--ft-chart-9-light","",xe.colorBrown50),Oe.extend("--ft-chart-9-base","",xe.colorBrown200),Oe.extend("--ft-chart-10-light","",xe.colorGray50),Oe.extend("--ft-chart-10-base","",xe.colorGray80),Oe.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Oe.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Oe.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Oe.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Oe.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Oe.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Oe.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Oe.extend("--ft-chip-large-gap","",xe.spacing1),Oe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-large-border-width","","SIZE","1px"),Oe.extend("--ft-chip-large-icon-size","",xe.iconSize3),Oe.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Oe.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Oe.extend("--ft-chip-medium-gap","",xe.spacing1),Oe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-medium-border-width","","SIZE","1px"),Oe.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Oe.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Oe.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Oe.extend("--ft-chip-small-gap","",xe.spacing1),Oe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-small-border-width","","SIZE","1px"),Oe.extend("--ft-chip-small-icon-size","",xe.iconSize1),Oe.extend("--ft-chip-neutral-background-color","",Ne.backgroundGlobalOnSurface),Oe.extend("--ft-chip-neutral-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-chip-neutral-border-color","",Ne.borderGlobalSubtle),Oe.extend("--ft-chip-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-chip-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-chip-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-chip-success-background-color","",Ne.backgroundSuccessSubtle),Oe.extend("--ft-chip-success-color","",Ne.contentSuccessPrimary),Oe.extend("--ft-chip-success-border-color","",Ne.borderSuccessSubtle),Oe.extend("--ft-chip-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-chip-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-chip-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-chip-error-background-color","",Ne.backgroundErrorSubtle),Oe.extend("--ft-chip-error-color","",Ne.contentErrorPrimary),Oe.extend("--ft-chip-error-border-color","",Ne.borderErrorSubtle),Oe.create("--ft-notice-border-width","","SIZE","1px"),Oe.extend("--ft-notice-horizontal-padding","",xe.spacing2),Oe.extend("--ft-notice-vertical-padding","",xe.spacing1),Oe.extend("--ft-notice-border-radius","",xe.borderRadiusS),Oe.extend("--ft-notice-gap","",xe.spacing2),Oe.extend("--ft-notice-icon-size","",xe.iconSize3),Oe.extend("--ft-notice-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-notice-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-notice-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-notice-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-notice-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-notice-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-checkbox-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-checkbox-checked-background-color","",Ne.contentActionPrimary),Oe.extend("--ft-checkbox-checked-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-checkbox-checked-color","",Ne.contentGlobalOnColor),Oe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-checkbox-gap","",xe.spacing3),Oe.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-off-background-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-off-icon-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-off-state-layer-color","",Ne.contentGlobalSubtle),Oe.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-on-background-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-on-icon-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-on-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-toggle-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-toggle-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.extend("--ft-toggle-gap","",xe.spacing3),Oe.extend("--ft-radio-label-color","",Ne.contentGlobalPrimary),Oe.extend("--ft-radio-selected-color","",Ne.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-color","",Ne.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Oe.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-focus-focus-ring-color","",Ne.borderActionFocusRing),Oe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-radio-gap","",xe.spacing3),Oe.extend("--ft-notification-icon-size","",xe.iconSize4),Oe.extend("--ft-notification-horizontal-padding","",xe.spacing4),Oe.extend("--ft-notification-vertical-padding","",xe.spacing4),Oe.extend("--ft-notification-info-background-color","",Ne.backgroundInfoSubtle),Oe.extend("--ft-notification-info-color","",Ne.contentInfoPrimary),Oe.extend("--ft-notification-info-border-color","",Ne.borderInfoSubtle),Oe.extend("--ft-notification-success-background-color","",Ne.backgroundSuccessSubtle),Oe.extend("--ft-notification-success-color","",Ne.contentSuccessPrimary),Oe.extend("--ft-notification-success-border-color","",Ne.borderSuccessSubtle),Oe.extend("--ft-notification-warning-background-color","",Ne.backgroundWarningSubtle),Oe.extend("--ft-notification-warning-color","",Ne.contentWarningPrimary),Oe.extend("--ft-notification-warning-border-color","",Ne.borderWarningSubtle),Oe.extend("--ft-notification-error-background-color","",Ne.backgroundErrorSubtle),Oe.extend("--ft-notification-error-color","",Ne.contentErrorPrimary),Oe.extend("--ft-notification-error-border-color","",Ne.borderErrorSubtle),Oe.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Oe.create("--ft-notification-border-width","","SIZE","1px"),Oe.extend("--ft-notification-gap-leading","",xe.spacing2),Oe.extend("--ft-notification-gap-trailing","",xe.spacing8),Oe.extend("--ft-tooltip-horizontal-padding","",xe.spacing2),Oe.extend("--ft-tooltip-vertical-padding","",xe.spacing2),Oe.extend("--ft-tooltip-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tooltip-label","",Ne.contentGlobalOnColor),Oe.extend("--ft-tooltip-background","",Ne.contentGlobalPrimary),Oe.extend("--ft-tooltip-background-opacity","",xe.opacity80),Oe.extend("--ft-tooltip-shadow","",xe.shadowElevation03);const we={colorPrimary:Oe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oe.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Oe.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Oe.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Oe.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Oe.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Oe.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Oe.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Oe.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Oe.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Oe.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Oe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Se=window,Ce=Se.ShadowRoot&&(void 0===Se.ShadyCSS||Se.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
75
75
  /**
76
76
  * @license
77
77
  * Copyright 2019 Google LLC
@@ -112,7 +112,7 @@ let be=class extends $t{constructor(){super(...arguments),this.renderOptions={ho
112
112
  display: inline-block;
113
113
  width: 0;
114
114
  }
115
- `;class Ze{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Pe=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};U(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Fe{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Be,_e,ze;const Te=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores");class qe extends Le{constructor(){super(...arguments),this[Be]=new Map,this[_e]=new Map,this[ze]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ge].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ge].delete(e)}setupStore(t,e){this[Ge].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[He].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Te].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Te].forEach((t=>t())),this[Te]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(t){return!!t&&!!t[Mo]}function Ve(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Zo}(t)||Array.isArray(t)||!!t[$o]||!!(null===(e=t.constructor)||void 0===e?void 0:e[$o])||ro(t)||io(t))}function Xe(t,e,o){void 0===o&&(o=!1),0===Qe(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Qe(t){var e=t[Mo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,e){return 2===Qe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function eo(t,e,o){var r=Qe(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function oo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ro(t){return Lo&&t instanceof Map}function io(t){return Ko&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fo(t);delete e[Mo];for(var o=Po(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function so(t,e){return void 0===e&&(e=!1),lo(t)||Ye(t)||!Ve(t)||(Qe(t)>1&&(t.set=t.add=t.clear=t.delete=co),Object.freeze(t),e&&Xe(t,(function(t,e){return so(e,!0)}),!0)),t}function co(){Je(2)}function lo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var e=Do[t];return e||Je(18,t),e}function ho(){return ko}function uo(t,e){e&&(fo("Patches"),t.u=[],t.s=[],t.v=e)}function po(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===ko&&(ko=t.l)}function go(t){return ko={p:[],l:ko,h:t,m:!0,_:0}}function bo(t){var e=t[Mo];0===e.i||1===e.i?e.j():e.g=!0}function mo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||fo("ES5").S(e,t,r),r?(o[Mo].P&&(po(e),Je(4)),Ve(t)&&(t=vo(e,t),e.l||xo(e,t)),e.u&&fo("Patches").M(o[Mo].t,t,e.u,e.s)):t=vo(e,o,[]),po(e),e.u&&e.v(e.u,e.s),t!==jo?t:void 0}function vo(t,e,o){if(lo(e))return e;var r=e[Mo];if(!r)return Xe(e,(function(i,n){return Oo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return xo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xe(n,(function(e,n){return Oo(t,r,i,e,n,o,a)})),xo(t,i,!1),o&&t.u&&fo("Patches").N(r,o,t.u,t.s)}return r.o}function Oo(t,e,o,r,i,n,a){if(Ye(i)){var s=vo(t,i,n&&e&&3!==e.i&&!to(e.R,r)?n.concat(r):void 0);if(eo(o,r,s),!Ye(s))return;t.m=!1}else a&&o.add(i);if(Ve(i)&&!lo(i)){if(!t.h.D&&t._<1)return;vo(t,i),e&&e.A.l||xo(t,i)}}function xo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&so(e,o)}function No(t,e){var o=t[Mo];return(o?no(o):t)[e]}function wo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,e,o){var r=ro(e)?fo("MapSet").F(e,o):io(e)?fo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:ho(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Bo;o&&(i=[r],n=_o);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):fo("ES5").J(e,o);return(o?o.A:ho()).p.push(r),r}function Ro(t){return Ye(t)||Je(22,t),function t(e){if(!Ve(e))return e;var o,r=e[Mo],i=Qe(e);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,o=Uo(e,i),r.I=!1}else o=Uo(e,i);return Xe(o,(function(e,i){r&&function(t,e){return 2===Qe(t)?t.get(e):t[e]}(r.t,e)===i||eo(o,e,t(i))})),3===i?new Set(o):o}(t)}function Uo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Be=He,_e=Ge,ze=Te,qe.reduxProperties=new Map,qe.reduxReactiveProperties=new Set,qe.reduxEventListeners=new Map;var Io,ko,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Ko="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=Wo?Symbol.for("immer-nothing"):((Io={})["immer-nothing"]=!0,Io),$o=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Mo=Wo?Symbol.for("immer-state"):"__$immer_state",Zo=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Do={},Bo={get:function(t,e){if(e===Mo)return t;var o=no(t);if(!to(o,e))return function(t,e,o){var r,i=wo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Ve(r)?r:r===No(t.t,e)?(Co(t),t.o[e]=Eo(t.A.h,r,t)):r},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,o){var r=wo(no(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=No(no(t),e),n=null==i?void 0:i[Mo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(oo(o,i)&&(void 0!==o||to(t.t,e)))return!0;Co(t),So(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==No(t.t,e)||e in t.t?(t.R[e]=!1,Co(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=no(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},_o={};Xe(Bo,(function(t,e){_o[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_o.deleteProperty=function(t,e){return _o.set.call(this,t,e,void 0)},_o.set=function(t,e,o){return Bo.set.call(this,t[0],e,o,t[0])};var zo=function(){function t(t){var e=this;this.O=Ao,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Je(6),void 0!==r&&"function"!=typeof r&&Je(7),Ve(t)){var s=go(e),c=Eo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?po(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw po(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===jo&&(a=void 0),e.D&&so(a,!0),r){var f=[],h=[];fo("Patches").M(t,a,f,h),r(f,h)}return a}Je(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ve(t)||Je(8),Ye(t)&&(t=Ro(t));var e=go(this),o=Eo(this,t,void 0);return o[Mo].C=!0,yo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Mo]).A;return uo(o,e),mo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ao&&Je(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=fo("Patches").$;return Ye(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),To=new zo,Ho=To.produce;function Go(t){return Go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Go(t)}function qo(t){var e=function(t,e){if("object"!==Go(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Go(e)?e:String(e)}function Jo(t,e,o){return(e=qo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Yo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Vo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(o),!0).forEach((function(e){Jo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Xo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}To.produceWithPatches.bind(To),To.setAutoFreeze.bind(To),To.setUseProxies.bind(To),To.applyPatches.bind(To),To.createDraft.bind(To),To.finishDraft.bind(To);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",tr=function(){return Math.random().toString(36).substring(7).split("").join(".")},er={INIT:"@@redux/INIT"+tr(),REPLACE:"@@redux/REPLACE"+tr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tr()}};function or(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Xo(1));return o(or)(t,e)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Xo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Xo(4));if(c)throw new Error(Xo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Xo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(c)throw new Error(Xo(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:er.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,u({type:er.REPLACE})}})[Qo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Qo]=function(){return this},t},r}function rr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:er.INIT}))throw new Error(Xo(12));if(void 0===o(void 0,{type:er.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Xo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ir.apply(void 0,n)(o.dispatch),Vo(Vo({},o),{},{dispatch:r})}}}function ar(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var sr=ar();sr.withExtraArgument=ar;var cr,lr=sr,fr=(cr=function(t,e){return cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},cr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}cr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),hr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ur=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},pr=Object.defineProperty,dr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,vr=function(t,e,o){return e in t?pr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Or=function(t,e){for(var o in e||(e={}))br.call(e,o)&&vr(t,o,e[o]);if(gr)for(var r=0,i=gr(e);r<i.length;r++){o=i[r];mr.call(e,o)&&vr(t,o,e[o])}return t},xr=function(t,e){return dr(t,yr(e))},Nr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ir:ir.apply(null,arguments)};var wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ur([void 0],t[0].concat(this)))):new(e.bind.apply(e,ur([void 0],t.concat(this))))},e}(Array),Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ur([void 0],t[0].concat(this)))):new(e.bind.apply(e,ur([void 0],t.concat(this))))},e}(Array);function Cr(t){return Ve(t)?Ho(t,(function(){})):t}function Er(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new wr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(lr.withExtraArgument(o.extraArgument)):r.push(lr));return r}(t)}}function Rr(t){var e,o=Er(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=rr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=nr.apply(void 0,d),g=ir;l&&(g=Nr(Or({trace:!1},"object"==typeof l&&l)));var b=new Sr(y),m=b;return Array.isArray(p)?m=ur([y],p):"function"==typeof p&&(m=p(b)),or(e,h,g.apply(void 0,m))}function Ur(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Or(Or({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ir(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function kr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Cr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ir(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Or(Or({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ir(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Cr(t())};else{var l=Cr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=ur([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ye(t))return void 0===(r=o(t,e))?t:r;if(Ve(t))return Ho(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Ur(l,r):Ur(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],Lr=function(t,e){this.payload=t,this.meta=e},Kr=function(t,e){this.payload=t,this.meta=e},Ar=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function jr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ur(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:xr(Or({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ur(t+"/pending",(function(t,e,o){return{payload:void 0,meta:xr(Or({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ur(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ar)(t||"Rejected"),meta:xr(Or({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return hr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Lr(t,e)},fulfillWithValue:function(t,e){return new Kr(t,e)}})).then((function(e){if(e instanceof Lr)throw e;return e instanceof Kr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Lr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(jr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var $r,Mr,Zr="listenerMiddleware";Ur(Zr+"/add"),Ur(Zr+"/removeAll"),Ur(Zr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Mo];return Bo.get(e,t)},set:function(e){var o=this[Mo];Bo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Mo];if(!i.P)switch(i.i){case 5:r(i)&&So(i);break;case 4:o(i)&&So(i)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mo){var a=e[n];if(void 0===a&&!to(e,n))return!0;var s=o[n],c=s&&s[Mo];if(c?c.t!==a:!oo(s,a))return!0}}var l=!!e[Mo];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Do[t]||(Do[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Fo(o);delete n[Mo];for(var a=Po(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:ho(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mo,{value:n,writable:!0}),i},S:function(t,o,i){i?Ye(o)&&o[Mo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Mo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Xe(n,(function(e){e!==Mo&&(void 0!==i[e]||to(i,e)?a[e]||t(n[e]):(a[e]=!0,So(o)))})),Xe(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,So(o))}));else if(5===s){if(r(o)&&(So(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Pr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(De(i))return i;if(null==r)return;const n=kr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Rr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Pr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Fe,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Mr=null===($r=window.safari)||void 0===$r?void 0:$r.pushNotification)||void 0===Mr||Mr.toString());const Fr={colorError:Oe.external(we.colorError,"Design system"),fontFamily:Oe.external(we.contentFont,"Design system")},Dr=Ot`
115
+ `;class Ze{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Pe=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};U(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Fe{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Be,Te,_e;const ze=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores");class qe extends Le{constructor(){super(...arguments),this[Be]=new Map,this[Te]=new Map,this[_e]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ge].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ge].delete(e)}setupStore(t,e){this[Ge].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[He].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[ze].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ze].forEach((t=>t())),this[ze]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(t){return!!t&&!!t[Mo]}function Ve(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Zo}(t)||Array.isArray(t)||!!t[$o]||!!(null===(e=t.constructor)||void 0===e?void 0:e[$o])||ro(t)||io(t))}function Xe(t,e,o){void 0===o&&(o=!1),0===Qe(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Qe(t){var e=t[Mo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,e){return 2===Qe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function eo(t,e,o){var r=Qe(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function oo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ro(t){return Lo&&t instanceof Map}function io(t){return Ko&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fo(t);delete e[Mo];for(var o=Po(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function so(t,e){return void 0===e&&(e=!1),lo(t)||Ye(t)||!Ve(t)||(Qe(t)>1&&(t.set=t.add=t.clear=t.delete=co),Object.freeze(t),e&&Xe(t,(function(t,e){return so(e,!0)}),!0)),t}function co(){Je(2)}function lo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var e=Do[t];return e||Je(18,t),e}function ho(){return ko}function uo(t,e){e&&(fo("Patches"),t.u=[],t.s=[],t.v=e)}function po(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===ko&&(ko=t.l)}function go(t){return ko={p:[],l:ko,h:t,m:!0,_:0}}function bo(t){var e=t[Mo];0===e.i||1===e.i?e.j():e.g=!0}function mo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||fo("ES5").S(e,t,r),r?(o[Mo].P&&(po(e),Je(4)),Ve(t)&&(t=vo(e,t),e.l||xo(e,t)),e.u&&fo("Patches").M(o[Mo].t,t,e.u,e.s)):t=vo(e,o,[]),po(e),e.u&&e.v(e.u,e.s),t!==jo?t:void 0}function vo(t,e,o){if(lo(e))return e;var r=e[Mo];if(!r)return Xe(e,(function(i,n){return Oo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return xo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xe(n,(function(e,n){return Oo(t,r,i,e,n,o,a)})),xo(t,i,!1),o&&t.u&&fo("Patches").N(r,o,t.u,t.s)}return r.o}function Oo(t,e,o,r,i,n,a){if(Ye(i)){var s=vo(t,i,n&&e&&3!==e.i&&!to(e.R,r)?n.concat(r):void 0);if(eo(o,r,s),!Ye(s))return;t.m=!1}else a&&o.add(i);if(Ve(i)&&!lo(i)){if(!t.h.D&&t._<1)return;vo(t,i),e&&e.A.l||xo(t,i)}}function xo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&so(e,o)}function No(t,e){var o=t[Mo];return(o?no(o):t)[e]}function wo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,e,o){var r=ro(e)?fo("MapSet").F(e,o):io(e)?fo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:ho(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Bo;o&&(i=[r],n=To);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):fo("ES5").J(e,o);return(o?o.A:ho()).p.push(r),r}function Ro(t){return Ye(t)||Je(22,t),function t(e){if(!Ve(e))return e;var o,r=e[Mo],i=Qe(e);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,o=Uo(e,i),r.I=!1}else o=Uo(e,i);return Xe(o,(function(e,i){r&&function(t,e){return 2===Qe(t)?t.get(e):t[e]}(r.t,e)===i||eo(o,e,t(i))})),3===i?new Set(o):o}(t)}function Uo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Be=He,Te=Ge,_e=ze,qe.reduxProperties=new Map,qe.reduxReactiveProperties=new Set,qe.reduxEventListeners=new Map;var Io,ko,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Ko="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=Wo?Symbol.for("immer-nothing"):((Io={})["immer-nothing"]=!0,Io),$o=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Mo=Wo?Symbol.for("immer-state"):"__$immer_state",Zo=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Do={},Bo={get:function(t,e){if(e===Mo)return t;var o=no(t);if(!to(o,e))return function(t,e,o){var r,i=wo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Ve(r)?r:r===No(t.t,e)?(Co(t),t.o[e]=Eo(t.A.h,r,t)):r},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,o){var r=wo(no(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=No(no(t),e),n=null==i?void 0:i[Mo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(oo(o,i)&&(void 0!==o||to(t.t,e)))return!0;Co(t),So(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==No(t.t,e)||e in t.t?(t.R[e]=!1,Co(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=no(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},To={};Xe(Bo,(function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,o){return Bo.set.call(this,t[0],e,o,t[0])};var _o=function(){function t(t){var e=this;this.O=Ao,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Je(6),void 0!==r&&"function"!=typeof r&&Je(7),Ve(t)){var s=go(e),c=Eo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?po(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw po(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===jo&&(a=void 0),e.D&&so(a,!0),r){var f=[],h=[];fo("Patches").M(t,a,f,h),r(f,h)}return a}Je(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ve(t)||Je(8),Ye(t)&&(t=Ro(t));var e=go(this),o=Eo(this,t,void 0);return o[Mo].C=!0,yo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Mo]).A;return uo(o,e),mo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ao&&Je(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=fo("Patches").$;return Ye(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),zo=new _o,Ho=zo.produce;function Go(t){return Go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Go(t)}function qo(t){var e=function(t,e){if("object"!==Go(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Go(e)?e:String(e)}function Jo(t,e,o){return(e=qo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Yo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Vo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(o),!0).forEach((function(e){Jo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Xo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}zo.produceWithPatches.bind(zo),zo.setAutoFreeze.bind(zo),zo.setUseProxies.bind(zo),zo.applyPatches.bind(zo),zo.createDraft.bind(zo),zo.finishDraft.bind(zo);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",tr=function(){return Math.random().toString(36).substring(7).split("").join(".")},er={INIT:"@@redux/INIT"+tr(),REPLACE:"@@redux/REPLACE"+tr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tr()}};function or(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Xo(1));return o(or)(t,e)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Xo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Xo(4));if(c)throw new Error(Xo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Xo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(c)throw new Error(Xo(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:er.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,u({type:er.REPLACE})}})[Qo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Qo]=function(){return this},t},r}function rr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:er.INIT}))throw new Error(Xo(12));if(void 0===o(void 0,{type:er.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Xo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ir.apply(void 0,n)(o.dispatch),Vo(Vo({},o),{},{dispatch:r})}}}function ar(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var sr=ar();sr.withExtraArgument=ar;var cr,lr=sr,fr=(cr=function(t,e){return cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},cr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}cr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),hr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ur=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},pr=Object.defineProperty,dr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,vr=function(t,e,o){return e in t?pr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Or=function(t,e){for(var o in e||(e={}))br.call(e,o)&&vr(t,o,e[o]);if(gr)for(var r=0,i=gr(e);r<i.length;r++){o=i[r];mr.call(e,o)&&vr(t,o,e[o])}return t},xr=function(t,e){return dr(t,yr(e))},Nr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ir:ir.apply(null,arguments)};var wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ur([void 0],t[0].concat(this)))):new(e.bind.apply(e,ur([void 0],t.concat(this))))},e}(Array),Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ur([void 0],t[0].concat(this)))):new(e.bind.apply(e,ur([void 0],t.concat(this))))},e}(Array);function Cr(t){return Ve(t)?Ho(t,(function(){})):t}function Er(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new wr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(lr.withExtraArgument(o.extraArgument)):r.push(lr));return r}(t)}}function Rr(t){var e,o=Er(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=rr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=nr.apply(void 0,d),g=ir;l&&(g=Nr(Or({trace:!1},"object"==typeof l&&l)));var b=new Sr(y),m=b;return Array.isArray(p)?m=ur([y],p):"function"==typeof p&&(m=p(b)),or(e,h,g.apply(void 0,m))}function Ur(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Or(Or({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ir(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function kr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Cr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ir(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Or(Or({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ir(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Cr(t())};else{var l=Cr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=ur([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ye(t))return void 0===(r=o(t,e))?t:r;if(Ve(t))return Ho(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Ur(l,r):Ur(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],Lr=function(t,e){this.payload=t,this.meta=e},Kr=function(t,e){this.payload=t,this.meta=e},Ar=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function jr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ur(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:xr(Or({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ur(t+"/pending",(function(t,e,o){return{payload:void 0,meta:xr(Or({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ur(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ar)(t||"Rejected"),meta:xr(Or({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return hr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Lr(t,e)},fulfillWithValue:function(t,e){return new Kr(t,e)}})).then((function(e){if(e instanceof Lr)throw e;return e instanceof Kr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Lr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(jr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var $r,Mr,Zr="listenerMiddleware";Ur(Zr+"/add"),Ur(Zr+"/removeAll"),Ur(Zr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Mo];return Bo.get(e,t)},set:function(e){var o=this[Mo];Bo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Mo];if(!i.P)switch(i.i){case 5:r(i)&&So(i);break;case 4:o(i)&&So(i)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mo){var a=e[n];if(void 0===a&&!to(e,n))return!0;var s=o[n],c=s&&s[Mo];if(c?c.t!==a:!oo(s,a))return!0}}var l=!!e[Mo];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Do[t]||(Do[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Fo(o);delete n[Mo];for(var a=Po(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:ho(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mo,{value:n,writable:!0}),i},S:function(t,o,i){i?Ye(o)&&o[Mo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Mo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Xe(n,(function(e){e!==Mo&&(void 0!==i[e]||to(i,e)?a[e]||t(n[e]):(a[e]=!0,So(o)))})),Xe(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,So(o))}));else if(5===s){if(r(o)&&(So(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Pr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(De(i))return i;if(null==r)return;const n=kr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Rr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Pr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Fe,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Mr=null===($r=window.safari)||void 0===$r?void 0:$r.pushNotification)||void 0===Mr||Mr.toString());const Fr={colorError:Oe.external(we.colorError,"Design system"),fontFamily:Oe.external(we.contentFont,"Design system")},Dr=Ot`
116
116
  .topic {
117
117
  font-family: ${Fr.fontFamily};
118
118
  overflow-x: auto;
@@ -134,7 +134,7 @@ let be=class extends $t{constructor(){super(...arguments),this.renderOptions={ho
134
134
  white-space: pre-wrap;
135
135
  word-break: break-word;
136
136
  }
137
- `;var Br;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Br||(Br={}));var _r=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Tr=Symbol("registerInterval");class Hr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Tr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Tr]):this.dispatchEvent(new zr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Tr,_r([I()],o.prototype,"stateManager",void 0),o}(qe)){}var Gr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qr extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Jr=Symbol("registerInterval");class Yr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Jr]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Jr]):this.dispatchEvent(new qr)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Jr,Gr([I()],o.prototype,"tocNode",void 0),Gr([I()],o.prototype,"disableContextInteractions",void 0),o}(Hr)){}
137
+ `;var Br;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Br||(Br={}));var Tr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _r extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const zr=Symbol("registerInterval");class Hr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[zr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[zr]):this.dispatchEvent(new _r)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=zr,Tr([I()],o.prototype,"stateManager",void 0),o}(qe)){}var Gr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qr extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Jr=Symbol("registerInterval");class Yr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Jr]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Jr]):this.dispatchEvent(new qr)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Jr,Gr([I()],o.prototype,"tocNode",void 0),Gr([I()],o.prototype,"disableContextInteractions",void 0),o}(Hr)){}
138
138
  /**
139
139
  * @license
140
140
  * Copyright 2017 Google LLC
@@ -199,9 +199,9 @@ let be=class extends $t{constructor(){super(...arguments),this.renderOptions={ho
199
199
  </i>
200
200
  `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case li.file_format:this.resolvedIcon=null!==(t=oi[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case li.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=ei[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}hi.elementDefinitions={},hi.styles=ci,fi([U()],hi.prototype,"variant",void 0),fi([U()],hi.prototype,"value",void 0),fi([I()],hi.prototype,"resolvedIcon",void 0),fi([W("slot")],hi.prototype,"slottedContent",void 0),K("ft-icon")(hi);const ui=Ot`
201
201
  `,pi=Ot`
202
- `,di=Pr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class yi{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=di.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?yi.build(t):null!==(e=yi.API)&&void 0!==e?e:yi.API=yi.build()}static await(t){return new Promise((e=>{let o=yi.get(t);if(o)e(o);else{const r=di.subscribe((()=>{o=yi.get(t),o&&(r(),e(o))}))}}))}}class gi{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:yi.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:yi.await()}clearCache(){this.cache.clearAll()}}var bi;const mi=Symbol("clearAfterUnitTest");class vi extends gi{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[bi]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=di.getState().uiLocale,di.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=di.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Ze(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}bi=mi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends vi{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends vi{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Oi=window.FluidTopicsI18nService,xi=window.FluidTopicsCustomI18nService;var Ni=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wi extends Le{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>yi.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return oe`
202
+ `,di=Pr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class yi{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=di.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?yi.build(t):null!==(e=yi.API)&&void 0!==e?e:yi.API=yi.build()}static await(t){return new Promise((e=>{let o=yi.get(t);if(o)e(o);else{const r=di.subscribe((()=>{o=yi.get(t),o&&(r(),e(o))}))}}))}}class gi{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:yi.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:yi.await()}clearCache(){this.cache.clearAll()}}var bi;const mi=Symbol("clearAfterUnitTest");class vi extends gi{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[bi]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=di.getState().uiLocale,di.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=di.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Ze(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}bi=mi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends vi{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends vi{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Oi=window.FluidTopicsI18nService,xi=window.FluidTopicsCustomI18nService;var Ni=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wi extends Le{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>yi.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return oe`
203
203
  <slot></slot>
204
- `}update(t){super.update(t),t.has("baseUrl")&&(di.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&di.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&di.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&di.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&di.actions.noCustom(this.noCustom),t.has("editorMode")&&di.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&di.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&di.actions.session(this.session),t.has("availableUiLocales")&&di.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Oi.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}wi.elementDefinitions={},wi.styles=pi,Ni([U()],wi.prototype,"baseUrl",void 0),Ni([U()],wi.prototype,"apiIntegrationIdentifier",void 0),Ni([U()],wi.prototype,"uiLocale",void 0),Ni([A(null)],wi.prototype,"availableUiLocales",void 0),Ni([A(null)],wi.prototype,"metadataConfiguration",void 0),Ni([U({type:Boolean})],wi.prototype,"editorMode",void 0),Ni([U({type:Boolean})],wi.prototype,"noCustom",void 0),Ni([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],wi.prototype,"noCustomComponent",void 0),Ni([U({type:Boolean})],wi.prototype,"withManualResources",void 0),Ni([A([])],wi.prototype,"messageContexts",void 0),Ni([A(void 0)],wi.prototype,"session",void 0),Ni([U({type:Object})],wi.prototype,"apiProvider",void 0);class Si extends gi{async listMySearches(){let t=di.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Ci extends gi{async listMyBookmarks(){let t=di.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ei=Pr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=di.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ci,this.savedSearchesService=new Si,di.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=di.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ei.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ei.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ei.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ei.actions.bookmarks(e)}}},K("ft-app-context")(wi);var Ri=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ui=Symbol("i18nAttributes"),Ii=Symbol("i18nProperties"),ki=Symbol("i18nUnsubs");function Wi(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?xi:Oi}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[Ui])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[Ii])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Ui])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[Ii])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Ii])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Ui])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[ki].has(t)||this[ki].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[ki].forEach((t=>t())),this[ki].clear()}}return e=ki,Ri([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Li extends(Wi(Le)){}class Ki extends(Wi(qe)){}var Ai=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ji extends Ki{constructor(){super(),this.editorMode=!1,this.addStore(di)}render(){return this.key&&this.context?oe`
204
+ `}update(t){super.update(t),t.has("baseUrl")&&(di.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&di.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&di.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&di.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&di.actions.noCustom(this.noCustom),t.has("editorMode")&&di.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&di.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&di.actions.session(this.session),t.has("availableUiLocales")&&di.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Oi.addContext(t))),t.has("openExternalDocumentInNewTab")&&di.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}wi.elementDefinitions={},wi.styles=pi,Ni([U()],wi.prototype,"baseUrl",void 0),Ni([U()],wi.prototype,"apiIntegrationIdentifier",void 0),Ni([U()],wi.prototype,"uiLocale",void 0),Ni([A(null)],wi.prototype,"availableUiLocales",void 0),Ni([A(null)],wi.prototype,"metadataConfiguration",void 0),Ni([U({type:Boolean})],wi.prototype,"editorMode",void 0),Ni([U({type:Boolean})],wi.prototype,"noCustom",void 0),Ni([U({type:Boolean})],wi.prototype,"openExternalDocumentInNewTab",void 0),Ni([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],wi.prototype,"noCustomComponent",void 0),Ni([U({type:Boolean})],wi.prototype,"withManualResources",void 0),Ni([A([])],wi.prototype,"messageContexts",void 0),Ni([A(void 0)],wi.prototype,"session",void 0),Ni([U({type:Object})],wi.prototype,"apiProvider",void 0);class Si extends gi{async listMySearches(){let t=di.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Ci extends gi{async listMyBookmarks(){let t=di.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ei=Pr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=di.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ci,this.savedSearchesService=new Si,di.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=di.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ei.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ei.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ei.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ei.actions.bookmarks(e)}}},K("ft-app-context")(wi);var Ri=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ui=Symbol("i18nAttributes"),Ii=Symbol("i18nProperties"),ki=Symbol("i18nUnsubs");function Wi(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?xi:Oi}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[Ui])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[Ii])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Ui])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[Ii])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Ii])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Ui])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[ki].has(t)||this[ki].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[ki].forEach((t=>t())),this[ki].clear()}}return e=ki,Ri([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Li extends(Wi(Le)){}class Ki extends(Wi(qe)){}var Ai=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ji extends Ki{constructor(){super(),this.editorMode=!1,this.addStore(di)}render(){return this.key&&this.context?oe`
205
205
  <span class="ft-i18n">
206
206
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
207
207
  </span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-topic-content",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "Content of a topic in integrated reader.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,14 +19,14 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "1.1.40",
23
- "@fluid-topics/ft-i18n": "1.1.40",
24
- "@fluid-topics/ft-reader-context": "1.1.40",
25
- "@fluid-topics/ft-reader-topic-context": "1.1.40",
26
- "@fluid-topics/ft-tooltip": "1.1.40",
27
- "@fluid-topics/ft-wc-utils": "1.1.40",
22
+ "@fluid-topics/ft-chip": "1.1.41",
23
+ "@fluid-topics/ft-i18n": "1.1.41",
24
+ "@fluid-topics/ft-reader-context": "1.1.41",
25
+ "@fluid-topics/ft-reader-topic-context": "1.1.41",
26
+ "@fluid-topics/ft-tooltip": "1.1.41",
27
+ "@fluid-topics/ft-wc-utils": "1.1.41",
28
28
  "@fluid-topics/public-api": "1.0.60",
29
29
  "lit": "3.1.0"
30
30
  },
31
- "gitHead": "ef5d1fb82ff388535e7a81aa3e8ffdb53c7591b4"
31
+ "gitHead": "9842020c30f172387107ab92ffa3d2c5a33edce6"
32
32
  }