@fluid-topics/ft-switch 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-switch.light.js +1 -1
- package/build/ft-switch.min.js +127 -126
- package/package.json +7 -7
package/build/ft-switch.light.js
CHANGED
|
@@ -291,7 +291,7 @@ const Q=Symbol.for(""),tt=t=>{if(t?.r===Q)return t?._$litStatic$},ot=t=>({_$litS
|
|
|
291
291
|
</div>
|
|
292
292
|
</div>
|
|
293
293
|
</div>
|
|
294
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ke(this.slottedElement,this.tooltip,{platform:{...Le,getOffsetParent:t=>Le.getOffsetParent(t,Ze)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Mo(t,o),p={x:e,y:r},s=await oe(o,c),f=Xo(To(i)),h=_o(f);let d=p[h],g=p[f];if(n){const t="y"===h?"bottom":"right";d=jo(d+s["y"===h?"top":"left"],d,d-s[t])}if(a){const t="y"===f?"bottom":"right";g=jo(g+s["y"===f?"top":"left"],g,g-s[t])}const y=l.fn({...o,[h]:d,[f]:g});return{...y,data:{x:y.x-e,y:y.y-r}}}}),re({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ae.elementDefinitions={"ft-typography":Ro},Ae.styles=Zo,Be([r.property()],Ae.prototype,"text",void 0),Be([r.property({type:Boolean})],Ae.prototype,"manual",void 0),Be([r.property({type:Boolean})],Ae.prototype,"inline",void 0),Be([r.property({type:Number})],Ae.prototype,"delay",void 0),Be([r.property()],Ae.prototype,"position",void 0),Be([r.queryAssignedNodes()],Ae.prototype,"slotNodes",void 0),Be([r.query(".ft-tooltip--container")],Ae.prototype,"container",void 0),Be([r.query(".ft-tooltip")],Ae.prototype,"tooltip",void 0),Be([r.query(".ft-tooltip--content")],Ae.prototype,"tooltipContent",void 0),Be([r.state()],Ae.prototype,"visible",void 0),Be([r.eventOptions({passive:!0})],Ae.prototype,"onTouch",null),Be([r.eventOptions({passive:!0})],Ae.prototype,"onHover",null),Be([r.eventOptions({passive:!0})],Ae.prototype,"onOut",null),Be([r.eventOptions({passive:!0})],Ae.prototype,"onClick",null),o.customElement("ft-tooltip")(Ae),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Fe||(Fe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(De||(De={})),new Map([...["abw"].map((t=>[t,De.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,De.AUDIO])),...["avi"].map((t=>[t,De.AVI])),...["chm","xhs"].map((t=>[t,De.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,De.CODE])),...["csv"].map((t=>[t,De.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,De.DITA])),...["epub"].map((t=>[t,De.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,De.EXCEL])),...["flac"].map((t=>[t,De.FLAC])),...["gif"].map((t=>[t,De.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,De.GZIP])),...["html","htm","xhtml"].map((t=>[t,De.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,De.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,De.JPEG])),...["json"].map((t=>[t,De.JSON])),...["m4a","m4p"].map((t=>[t,De.M4A])),...["mov","qt"].map((t=>[t,De.MOV])),...["mp3"].map((t=>[t,De.MP3])),...["mp4","m4v"].map((t=>[t,De.MP4])),...["ogg","oga"].map((t=>[t,De.OGG])),...["pdf","ps"].map((t=>[t,De.PDF])),...["png"].map((t=>[t,De.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,De.POWERPOINT])),...["rar"].map((t=>[t,De.RAR])),...["stp"].map((t=>[t,De.STP])),...["txt","rtf","md","mdown"].map((t=>[t,De.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,De.VIDEO])),...["wav"].map((t=>[t,De.WAV])),...["wma"].map((t=>[t,De.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,De.WORD])),...["xml","xsl","rdf"].map((t=>[t,De.XML])),...["yaml","yml","x-yaml"].map((t=>[t,De.YAML])),...["zip"].map((t=>[t,De.ZIP]))]),De.ABW,De.AUDIO,De.AVI,De.CHM,De.CODE,De.CSV,De.DITA,De.EPUB,De.EXCEL,De.FLAC,De.GIF,De.GZIP,De.HTML,De.IMAGE,De.JPEG,De.JSON,De.M4A,De.MOV,De.MP3,De.MP4,De.OGG,De.PDF,De.PNG,De.POWERPOINT,De.RAR,De.STP,De.TEXT,De.UNKNOWN,De.VIDEO,De.WAV,De.WMA,De.WORD,De.XML,De.YAML,De.ZIP;const He={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ge=e.css`
|
|
294
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Ke(t,o,{platform:{...Le,getOffsetParent:t=>Le.getOffsetParent(t,Ze)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Mo(r,t),p={x:o,y:e},s=await oe(t,c),f=Xo(To(i)),h=_o(f);let d=p[h],g=p[f];if(n){const t="y"===h?"bottom":"right";d=jo(d+s["y"===h?"top":"left"],d,d-s[t])}if(a){const t="y"===f?"bottom":"right";g=jo(g+s["y"===f?"top":"left"],g,g-s[t])}const y=l.fn({...t,[h]:d,[f]:g});return{...y,data:{x:y.x-o,y:y.y-e}}}}),re({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ae.elementDefinitions={"ft-typography":Ro},Ae.styles=Zo,Be([r.property()],Ae.prototype,"text",void 0),Be([r.property({type:Boolean})],Ae.prototype,"manual",void 0),Be([r.property({type:Boolean})],Ae.prototype,"inline",void 0),Be([r.property({type:Number})],Ae.prototype,"delay",void 0),Be([r.property()],Ae.prototype,"position",void 0),Be([r.queryAssignedNodes()],Ae.prototype,"slotNodes",void 0),Be([r.query(".ft-tooltip--container")],Ae.prototype,"container",void 0),Be([r.query(".ft-tooltip")],Ae.prototype,"tooltip",void 0),Be([r.query(".ft-tooltip--content")],Ae.prototype,"tooltipContent",void 0),Be([r.state()],Ae.prototype,"visible",void 0),Be([r.eventOptions({passive:!0})],Ae.prototype,"onTouch",null),Be([r.eventOptions({passive:!0})],Ae.prototype,"onHover",null),Be([r.eventOptions({passive:!0})],Ae.prototype,"onOut",null),Be([r.eventOptions({passive:!0})],Ae.prototype,"onClick",null),o.customElement("ft-tooltip")(Ae),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Fe||(Fe={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(De||(De={})),new Map([...["abw"].map((t=>[t,De.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,De.AUDIO])),...["avi"].map((t=>[t,De.AVI])),...["chm","xhs"].map((t=>[t,De.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,De.CODE])),...["csv"].map((t=>[t,De.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,De.DITA])),...["epub"].map((t=>[t,De.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,De.EXCEL])),...["flac"].map((t=>[t,De.FLAC])),...["gif"].map((t=>[t,De.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,De.GZIP])),...["html","htm","xhtml"].map((t=>[t,De.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,De.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,De.JPEG])),...["json"].map((t=>[t,De.JSON])),...["m4a","m4p"].map((t=>[t,De.M4A])),...["mov","qt"].map((t=>[t,De.MOV])),...["mp3"].map((t=>[t,De.MP3])),...["mp4","m4v"].map((t=>[t,De.MP4])),...["ogg","oga"].map((t=>[t,De.OGG])),...["pdf","ps"].map((t=>[t,De.PDF])),...["png"].map((t=>[t,De.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,De.POWERPOINT])),...["rar"].map((t=>[t,De.RAR])),...["stp"].map((t=>[t,De.STP])),...["txt","rtf","md","mdown"].map((t=>[t,De.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,De.VIDEO])),...["wav"].map((t=>[t,De.WAV])),...["wma"].map((t=>[t,De.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,De.WORD])),...["xml","xsl","rdf"].map((t=>[t,De.XML])),...["yaml","yml","x-yaml"].map((t=>[t,De.YAML])),...["zip"].map((t=>[t,De.ZIP]))]),De.ABW,De.AUDIO,De.AVI,De.CHM,De.CODE,De.CSV,De.DITA,De.EPUB,De.EXCEL,De.FLAC,De.GIF,De.GZIP,De.HTML,De.IMAGE,De.JPEG,De.JSON,De.M4A,De.MOV,De.MP3,De.MP4,De.OGG,De.PDF,De.PNG,De.POWERPOINT,De.RAR,De.STP,De.TEXT,De.UNKNOWN,De.VIDEO,De.WAV,De.WMA,De.WORD,De.XML,De.YAML,De.ZIP;const He={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ge=e.css`
|
|
295
295
|
:host, i.ft-icon {
|
|
296
296
|
display: inline-flex;
|
|
297
297
|
align-items: center;
|
package/build/ft-switch.min.js
CHANGED
|
@@ -82,14 +82,15 @@ const Ft=globalThis,Zt=Ft.trustedTypes,zt=Zt?Zt.createPolicy("lit-html",{createH
|
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
class bo extends Kt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class Oo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function vo(t,o){return xo(`${t.name}: ${o}`)}const wo={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",wo.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",wo.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",wo.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",wo.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",wo.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",wo.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",wo.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",wo.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",wo.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",wo.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",wo.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",wo.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",wo.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",wo.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",wo.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",wo.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",wo.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",wo.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",wo.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",wo.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",wo.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",wo.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",wo.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",wo.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",wo.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",wo.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",wo.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",wo.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",wo.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",wo.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",wo.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",wo.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",wo.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",wo.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",wo.spacing4),Oo.extend("--ft-button-large-gap","",wo.spacing2),Oo.extend("--ft-button-large-border-radius","",wo.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",wo.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",wo.spacing3),Oo.extend("--ft-button-small-gap","",wo.spacing2),Oo.extend("--ft-button-small-border-radius","",wo.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",wo.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",wo.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-tabs-top-left-border-radius","",wo.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",wo.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",wo.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",wo.spacing3),Oo.extend("--ft-tabs-label-gap","",wo.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",wo.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",wo.spacing1),Oo.extend("--ft-switch-group-gap","",wo.spacing1),Oo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",wo.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",wo.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",wo.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",wo.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",wo.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",wo.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",wo.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",wo.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",wo.colorYellow100),Oo.extend("--ft-chart-3-light","",wo.colorUltramarine40),Oo.extend("--ft-chart-3-base","",wo.colorUltramarine70),Oo.extend("--ft-chart-4-light","",wo.colorCyan50),Oo.extend("--ft-chart-4-base","",wo.colorCyan100),Oo.extend("--ft-chart-5-light","",wo.colorRed40),Oo.extend("--ft-chart-5-base","",wo.colorRed60),Oo.extend("--ft-chart-6-light","",wo.colorGreen40),Oo.extend("--ft-chart-6-base","",wo.colorGreen70),Oo.extend("--ft-chart-7-light","",wo.colorOrange70),Oo.extend("--ft-chart-7-base","",wo.colorOrange100),Oo.extend("--ft-chart-8-light","",wo.colorAvocado70),Oo.extend("--ft-chart-8-base","",wo.colorAvocado200),Oo.extend("--ft-chart-9-light","",wo.colorBrown50),Oo.extend("--ft-chart-9-base","",wo.colorBrown200),Oo.extend("--ft-chart-10-light","",wo.colorGray50),Oo.extend("--ft-chart-10-base","",wo.colorGray80),Oo.extend("--ft-chart-monochrome-10","",wo.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",wo.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",wo.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",wo.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",wo.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",wo.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",wo.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",wo.spacing2),Oo.extend("--ft-chip-large-gap","",wo.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",wo.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",wo.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",wo.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",wo.spacing1),Oo.extend("--ft-chip-medium-gap","",wo.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",wo.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",wo.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",wo.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",wo.spacing05),Oo.extend("--ft-chip-small-gap","",wo.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",wo.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",wo.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",So.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",So.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",wo.spacing2),Oo.extend("--ft-notice-vertical-padding","",wo.spacing1),Oo.extend("--ft-notice-border-radius","",wo.borderRadiusS),Oo.extend("--ft-notice-gap","",wo.spacing2),Oo.extend("--ft-notice-icon-size","",wo.iconSize3),Oo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",So.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",wo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",wo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",wo.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",wo.spacing3),Oo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",So.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",wo.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",wo.spacing3),Oo.extend("--ft-notification-icon-size","",wo.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",wo.spacing4),Oo.extend("--ft-notification-vertical-padding","",wo.spacing4),Oo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",So.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",So.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",wo.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",wo.spacing2),Oo.extend("--ft-notification-gap-trailing","",wo.spacing8);const Co={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=window,Eo=Ro.ShadowRoot&&(void 0===Ro.ShadyCSS||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
85
|
+
class bo extends Kt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new co(o.insertBefore(Ht(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oo}}bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo}),(globalThis.litElementVersions??=[]).push("4.0.2");const xo=t=>"string"==typeof t?bt(t):t;class Oo{static create(t,o,e,i){const r=t=>xo(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=mt`var(${xo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>mt`var(${xo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):xo(null!=o?o:t.lastResortDefaultValue()),i=mt`var(${xo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>mt`var(${xo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function vo(t,o){return xo(`${t.name}: ${o}`)}const wo={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},No={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},So={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",wo.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",wo.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",wo.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",wo.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",wo.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",wo.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",wo.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",wo.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",wo.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",wo.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",wo.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",wo.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",wo.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",wo.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",wo.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",wo.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",wo.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",wo.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",wo.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",wo.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",wo.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",wo.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",wo.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",wo.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",wo.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",wo.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",wo.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",wo.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",wo.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",wo.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",wo.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",wo.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",wo.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",wo.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",wo.spacing4),Oo.extend("--ft-button-large-gap","",wo.spacing2),Oo.extend("--ft-button-large-border-radius","",wo.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",wo.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",wo.spacing3),Oo.extend("--ft-button-small-gap","",wo.spacing2),Oo.extend("--ft-button-small-border-radius","",wo.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",wo.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",wo.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-tabs-top-left-border-radius","",wo.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",wo.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",wo.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",wo.spacing3),Oo.extend("--ft-tabs-label-gap","",wo.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",wo.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",wo.spacing1),Oo.extend("--ft-switch-group-gap","",wo.spacing1),Oo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",wo.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",wo.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",wo.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",wo.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",wo.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",wo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",wo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",wo.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",wo.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",wo.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",wo.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",wo.colorYellow100),Oo.extend("--ft-chart-3-light","",wo.colorUltramarine40),Oo.extend("--ft-chart-3-base","",wo.colorUltramarine70),Oo.extend("--ft-chart-4-light","",wo.colorCyan50),Oo.extend("--ft-chart-4-base","",wo.colorCyan100),Oo.extend("--ft-chart-5-light","",wo.colorRed40),Oo.extend("--ft-chart-5-base","",wo.colorRed60),Oo.extend("--ft-chart-6-light","",wo.colorGreen40),Oo.extend("--ft-chart-6-base","",wo.colorGreen70),Oo.extend("--ft-chart-7-light","",wo.colorOrange70),Oo.extend("--ft-chart-7-base","",wo.colorOrange100),Oo.extend("--ft-chart-8-light","",wo.colorAvocado70),Oo.extend("--ft-chart-8-base","",wo.colorAvocado200),Oo.extend("--ft-chart-9-light","",wo.colorBrown50),Oo.extend("--ft-chart-9-base","",wo.colorBrown200),Oo.extend("--ft-chart-10-light","",wo.colorGray50),Oo.extend("--ft-chart-10-base","",wo.colorGray80),Oo.extend("--ft-chart-monochrome-10","",wo.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",wo.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",wo.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",wo.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",wo.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",wo.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",wo.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",wo.spacing2),Oo.extend("--ft-chip-large-gap","",wo.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",wo.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",wo.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",wo.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",wo.spacing1),Oo.extend("--ft-chip-medium-gap","",wo.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",wo.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",wo.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",wo.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",wo.spacing05),Oo.extend("--ft-chip-small-gap","",wo.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",wo.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",wo.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",So.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",So.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",wo.spacing2),Oo.extend("--ft-notice-vertical-padding","",wo.spacing1),Oo.extend("--ft-notice-border-radius","",wo.borderRadiusS),Oo.extend("--ft-notice-gap","",wo.spacing2),Oo.extend("--ft-notice-icon-size","",wo.iconSize3),Oo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",So.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",wo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",wo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",wo.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",wo.spacing3),Oo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",So.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",wo.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",wo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",wo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",wo.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",wo.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",wo.spacing3),Oo.extend("--ft-notification-icon-size","",wo.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",wo.spacing4),Oo.extend("--ft-notification-vertical-padding","",wo.spacing4),Oo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",So.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",So.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",wo.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",wo.spacing2),Oo.extend("--ft-notification-gap-trailing","",wo.spacing8);const Co={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=["start","end"],Eo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ro[0],o+"-"+Ro[1])),[]),$o=Math.min,Uo=Math.max,ko=Math.round,Io=t=>({x:t,y:t}),Wo={left:"right",right:"left",bottom:"top",top:"bottom"},Lo={start:"end",end:"start"};function Ko(t,o,e){return Uo(t,$o(o,e))}function Fo(t,o){return"function"==typeof t?t(o):t}function Zo(t){return t.split("-")[0]}function zo(t){return t.split("-")[1]}function Ao(t){return"x"===t?"y":"x"}function Mo(t){return"y"===t?"height":"width"}function Do(t){return["top","bottom"].includes(Zo(t))?"y":"x"}function Bo(t){return Ao(Do(t))}function Po(t){return t.replace(/left|right|bottom|top/g,(t=>Wo[t]))}function Ho(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jo(t,o,e){let{reference:i,floating:r}=t;const n=Do(o),a=Bo(o),s=Mo(a),l=Zo(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(zo(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function To(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Fo(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Ho(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Ho(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function _o(t,o,e){return(t?[...e.filter((o=>zo(o)===t)),...e.filter((o=>zo(o)!==t))]:e.filter((t=>Zo(t)===t))).filter((e=>!t||(zo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Lo[t]))}(e)!==e)))}const Go=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Eo,autoAlignment:d=!0,...u}=Fo(t,o),y=void 0!==f||h===Eo?_o(f||null,d,h):h,g=await To(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=zo(t),r=Bo(t),n=Mo(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Po(a)),[a,Po(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Zo(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:v},reset:{placement:w}};const N=v.map((t=>{const o=zo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=N.filter((t=>t[2].slice(0,zo(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=S[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Yo(t){return qo(t)?(t.nodeName||"").toLowerCase():"#document"}function Vo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Jo(t){var o;return null==(o=(qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function qo(t){return t instanceof Node||t instanceof Vo(t).Node}function Xo(t){return t instanceof Element||t instanceof Vo(t).Element}function Qo(t){return t instanceof HTMLElement||t instanceof Vo(t).HTMLElement}function te(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Vo(t).ShadowRoot)}function oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=ae(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function ee(t){return["table","td","th"].includes(Yo(t))}function ie(t){const o=re(),e=ae(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function re(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ne(t){return["html","body","#document"].includes(Yo(t))}function ae(t){return Vo(t).getComputedStyle(t)}function se(t){return Xo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function le(t){if("html"===Yo(t))return t;const o=t.assignedSlot||t.parentNode||te(t)&&t.host||Jo(t);return te(o)?o.host:o}function ce(t){const o=le(t);return ne(o)?t.ownerDocument?t.ownerDocument.body:t.body:Qo(o)&&oe(o)?o:ce(o)}function pe(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ce(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Vo(r);return n?o.concat(a,a.visualViewport||[],oe(r)?r:[],a.frameElement&&e?pe(a.frameElement):[]):o.concat(r,pe(r,[],e))}function fe(t){const o=ae(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Qo(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=ko(e)!==n||ko(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function he(t){return Xo(t)?t:t.contextElement}function de(t){const o=he(t);if(!Qo(o))return Io(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=fe(o);let a=(n?ko(e.width):e.width)/i,s=(n?ko(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ue=Io(0);function ye(t){const o=Vo(t);return re()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ue}function ge(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=he(t);let a=Io(1);o&&(i?Xo(i)&&(a=de(i)):a=de(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Vo(t))&&o}(n,e,i)?ye(n):Io(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=Vo(n),o=i&&Xo(i)?Vo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=de(e),o=e.getBoundingClientRect(),i=ae(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=Vo(e).frameElement}}return Ho({width:p,height:f,x:l,y:c})}function be(t){return ge(Jo(t)).left+se(t).scrollLeft}function me(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Vo(t),i=Jo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=re();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Jo(t),e=se(t),i=t.ownerDocument.body,r=Uo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Uo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+be(t);const s=-e.scrollTop;return"rtl"===ae(i).direction&&(a+=Uo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Jo(t));else if(Xo(o))i=function(t,o){const e=ge(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Qo(t)?de(t):Io(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=ye(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Ho(i)}function xe(t,o){const e=le(t);return!(e===o||!Xo(e)||ne(e))&&("fixed"===ae(e).position||xe(e,o))}function Oe(t,o,e){const i=Qo(o),r=Jo(o),n="fixed"===e,a=ge(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Io(0);if(i||!i&&!n)if(("body"!==Yo(o)||oe(r))&&(s=se(o)),i){const t=ge(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=be(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ve(t,o){return Qo(t)&&"fixed"!==ae(t).position?o?o(t):t.offsetParent:null}function we(t,o){const e=Vo(t);if(!Qo(t))return e;let i=ve(t,o);for(;i&&ee(i)&&"static"===ae(i).position;)i=ve(i,o);return i&&("html"===Yo(i)||"body"===Yo(i)&&"static"===ae(i).position&&!ie(i))?e:i||function(t){let o=le(t);for(;Qo(o)&&!ne(o);){if(ie(o))return o;o=le(o)}return null}(t)||e}const Ne={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Qo(e),n=Jo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Io(1);const l=Io(0);if((r||!r&&"fixed"!==i)&&(("body"!==Yo(e)||oe(n))&&(a=se(e)),Qo(e))){const t=ge(e);s=de(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Jo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=pe(t,[],!1).filter((t=>Xo(t)&&"body"!==Yo(t))),r=null;const n="fixed"===ae(t).position;let a=n?le(t):t;for(;Xo(a)&&!ne(a);){const o=ae(a),e=ie(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||oe(a)&&!e&&xe(t,a))?i=i.filter((t=>t!==a)):r=o,a=le(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=me(o,e,r);return t.top=Uo(i.top,t.top),t.right=$o(i.right,t.right),t.bottom=$o(i.bottom,t.bottom),t.left=Uo(i.left,t.left),t}),me(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:we,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||we,n=this.getDimensions;return{reference:Oe(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return fe(t)},getScale:de,isElement:Xo,isRTL:function(t){return"rtl"===ae(t).direction}},Se=(t,o,e)=>{const i=new Map,r={platform:Ne,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=jo(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=jo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Ce(t){return function(t){for(let o=t;o;o=Re(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Re(t);o;o=Re(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Re(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2019 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
|
-
*/
|
|
90
|
+
*/
|
|
91
|
+
const Ee=window,$e=Ee.ShadowRoot&&(void 0===Ee.ShadyCSS||Ee.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ue extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{$e?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Ee.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var ke,Ie=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const We=Symbol("constructorPrototype"),Le=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Fe extends Ue{constructor(){super(),this[ke]=new o(5),this[Le]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Le]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}ke=Ke,Ie([C()],Fe.prototype,"exportpartsPrefix",void 0),Ie([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}([])],Fe.prototype,"exportpartsPrefixes",void 0),Ie([C()],Fe.prototype,"customStylesheet",void 0);const Ze=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");mt`
|
|
91
92
|
.highlight-html-match {
|
|
92
|
-
background: ${
|
|
93
|
+
background: ${Ze};
|
|
93
94
|
}
|
|
94
95
|
`,mt`
|
|
95
96
|
.ft-no-text-select {
|
|
@@ -112,7 +113,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
112
113
|
-webkit-hyphens: auto;
|
|
113
114
|
hyphens: auto
|
|
114
115
|
}
|
|
115
|
-
`;const
|
|
116
|
+
`;const ze=mt`
|
|
116
117
|
.ft-safari-ellipsis-fix {
|
|
117
118
|
margin-right: 0;
|
|
118
119
|
|
|
@@ -123,17 +124,17 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
123
124
|
display: inline-block;
|
|
124
125
|
width: 0;
|
|
125
126
|
}
|
|
126
|
-
`;function
|
|
127
|
+
`;function Ae(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Me,De,Be;const Pe=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),je=Symbol("internalStores");class Te extends Fe{constructor(){super(...arguments),this[Me]=new Map,this[De]=new Map,this[Be]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[je].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ae(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[je].delete(o)}setupStore(t,o){this[je].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[je].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[He].set(t,o.subscribe((()=>this.updateFromStores()))),Ae(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Pe].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Pe].forEach((t=>t())),this[Pe]=[]}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()}}var _e,Ge,Ye;Me=He,De=je,Be=Pe,Te.reduxProperties=new Map,Te.reduxReactiveProperties=new Set,Te.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Ve=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ye=null===(Ge=null===(_e=window.safari)||void 0===_e?void 0:_e.pushNotification)||void 0===Ge?void 0:Ge.toString())&&void 0!==Ye?Ye:""),Je=1,qe=2,Xe=t=>(...o)=>({_$litDirective$:t,values:o});
|
|
127
128
|
/**
|
|
128
129
|
* @license
|
|
129
130
|
* Copyright 2017 Google LLC
|
|
130
131
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
-
*/let
|
|
132
|
+
*/let Qe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
132
133
|
/**
|
|
133
134
|
* @license
|
|
134
135
|
* Copyright 2018 Google LLC
|
|
135
136
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/const
|
|
137
|
+
*/const ti=Xe(class extends Qe{constructor(t){if(super(t),t.type!==Je||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return X}}),oi=Oo.extend("--ft-ripple-color","",Co.colorContent),ei={color:oi,backgroundColor:Oo.extend("--ft-ripple-background-color","",oi),opacityContentOnSurfacePressed:Oo.external(Co.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external(Co.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external(Co.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external(Co.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},ii=Oo.extend("--ft-ripple-color","",Co.colorPrimary),ri=ii,ni=Oo.extend("--ft-ripple-background-color","",ii),ai=Oo.extend("--ft-ripple-color","",Co.colorSecondary),si=ai,li=Oo.extend("--ft-ripple-background-color","",ai),ci=mt`
|
|
137
138
|
:host {
|
|
138
139
|
display: contents;
|
|
139
140
|
}
|
|
@@ -146,7 +147,7 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
146
147
|
|
|
147
148
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
148
149
|
overflow: hidden;
|
|
149
|
-
border-radius: ${
|
|
150
|
+
border-radius: ${ei.borderRadius};
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
.ft-ripple .ft-ripple--background,
|
|
@@ -180,27 +181,27 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
.ft-ripple .ft-ripple--background {
|
|
183
|
-
background-color: ${
|
|
184
|
+
background-color: ${ei.backgroundColor};
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
.ft-ripple .ft-ripple--effect {
|
|
187
|
-
background-color: ${
|
|
188
|
+
background-color: ${ei.color};
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
191
|
-
background-color: ${
|
|
192
|
+
background-color: ${li};
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
195
|
-
background-color: ${
|
|
196
|
+
background-color: ${si};
|
|
196
197
|
}
|
|
197
198
|
|
|
198
199
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
199
|
-
background-color: ${
|
|
200
|
+
background-color: ${ni};
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
203
|
-
background-color: ${
|
|
204
|
+
background-color: ${ri};
|
|
204
205
|
}
|
|
205
206
|
|
|
206
207
|
.ft-ripple .ft-ripple--background {
|
|
@@ -230,134 +231,134 @@ class bo extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
230
231
|
}
|
|
231
232
|
|
|
232
233
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
233
|
-
opacity: ${
|
|
234
|
+
opacity: ${ei.opacityContentOnSurfaceHover};
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
237
|
-
opacity: ${
|
|
238
|
+
opacity: ${ei.opacityContentOnSurfaceSelected};
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
241
|
-
opacity: ${
|
|
242
|
+
opacity: ${ei.opacityContentOnSurfaceFocused};
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
245
|
-
opacity: ${
|
|
246
|
+
opacity: ${ei.opacityContentOnSurfacePressed};
|
|
246
247
|
transform: translate(-50%, -50%) scale(1);
|
|
247
248
|
}
|
|
248
|
-
`;var
|
|
249
|
+
`;var pi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fi extends Fe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return to`
|
|
249
250
|
<style>
|
|
250
251
|
.ft-ripple .ft-ripple--effect {
|
|
251
252
|
left: ${this.originX}px;
|
|
252
253
|
top: ${this.originY}px;
|
|
253
254
|
}
|
|
254
255
|
</style>
|
|
255
|
-
<div class="${
|
|
256
|
+
<div class="${ti(t)}">
|
|
256
257
|
<div class="ft-ripple--background"></div>
|
|
257
258
|
<div class="ft-ripple--effect"></div>
|
|
258
259
|
</div>
|
|
259
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
260
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}fi.elementDefinitions={},fi.styles=ci,pi([C({type:Boolean})],fi.prototype,"primary",void 0),pi([C({type:Boolean})],fi.prototype,"secondary",void 0),pi([C({type:Boolean})],fi.prototype,"unbounded",void 0),pi([C({type:Boolean})],fi.prototype,"activated",void 0),pi([C({type:Boolean})],fi.prototype,"selected",void 0),pi([C({type:Boolean})],fi.prototype,"disabled",void 0),pi([R()],fi.prototype,"hovered",void 0),pi([R()],fi.prototype,"focused",void 0),pi([R()],fi.prototype,"pressed",void 0),pi([R()],fi.prototype,"rippling",void 0),pi([R()],fi.prototype,"originX",void 0),pi([R()],fi.prototype,"originY",void 0),pi([U(".ft-ripple")],fi.prototype,"ripple",void 0),pi([U(".ft-ripple--effect")],fi.prototype,"rippleEffect",void 0),I("ft-ripple")(fi);
|
|
260
261
|
/**
|
|
261
262
|
* @license
|
|
262
263
|
* Copyright 2020 Google LLC
|
|
263
264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
264
265
|
*/
|
|
265
|
-
const
|
|
266
|
+
const hi=Symbol.for(""),di=t=>{if(t?.r===hi)return t?._$litStatic$},ui=t=>({_$litStatic$:t,r:hi}),yi=new Map,gi=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=di(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=yi.get(t))&&(a.raw=a,yi.set(t,o=a)),e=s}return t(o,...e)})(q);var bi;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(bi||(bi={}));const mi=Oo.extend("--ft-typography-font-family","",Co.titleFont),xi=Oo.extend("--ft-typography-font-family","",Co.contentFont),Oi={fontFamily:xi,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},vi=Oo.extend("--ft-typography-title-font-family","",mi),wi=Oo.extend("--ft-typography-title-font-size","",Oi.fontSize,"20px"),Ni=Oo.extend("--ft-typography-title-font-weight","",Oi.fontWeight,"normal"),Si=Oo.extend("--ft-typography-title-letter-spacing","",Oi.letterSpacing,"0.15px"),Ci=Oo.extend("--ft-typography-title-line-height","",Oi.lineHeight,"1.2"),Ri=Oo.extend("--ft-typography-title-text-transform","",Oi.textTransform,"inherit"),Ei=Oo.extend("--ft-typography-title-dense-font-family","",mi),$i=Oo.extend("--ft-typography-title-dense-font-size","",Oi.fontSize,"14px"),Ui=Oo.extend("--ft-typography-title-dense-font-weight","",Oi.fontWeight,"normal"),ki=Oo.extend("--ft-typography-title-dense-letter-spacing","",Oi.letterSpacing,"0.105px"),Ii=Oo.extend("--ft-typography-title-dense-line-height","",Oi.lineHeight,"1.7"),Wi=Oo.extend("--ft-typography-title-dense-text-transform","",Oi.textTransform,"inherit"),Li=Oo.extend("--ft-typography-subtitle1-font-family","",xi),Ki=Oo.extend("--ft-typography-subtitle1-font-size","",Oi.fontSize,"16px"),Fi=Oo.extend("--ft-typography-subtitle1-font-weight","",Oi.fontWeight,"600"),Zi=Oo.extend("--ft-typography-subtitle1-letter-spacing","",Oi.letterSpacing,"0.144px"),zi=Oo.extend("--ft-typography-subtitle1-line-height","",Oi.lineHeight,"1.5"),Ai=Oo.extend("--ft-typography-subtitle1-text-transform","",Oi.textTransform,"inherit"),Mi=Oo.extend("--ft-typography-subtitle2-font-family","",xi),Di=Oo.extend("--ft-typography-subtitle2-font-size","",Oi.fontSize,"14px"),Bi=Oo.extend("--ft-typography-subtitle2-font-weight","",Oi.fontWeight,"normal"),Pi=Oo.extend("--ft-typography-subtitle2-letter-spacing","",Oi.letterSpacing,"0.098px"),Hi=Oo.extend("--ft-typography-subtitle2-line-height","",Oi.lineHeight,"1.7"),ji=Oo.extend("--ft-typography-subtitle2-text-transform","",Oi.textTransform,"inherit"),Ti=Oo.extend("--ft-typography-body1-font-family","",xi),_i=Oo.extend("--ft-typography-body1-font-size","",Oi.fontSize,"16px"),Gi=Oo.extend("--ft-typography-body1-font-weight","",Oi.fontWeight,"normal"),Yi=Oo.extend("--ft-typography-body1-letter-spacing","",Oi.letterSpacing,"0.496px"),Vi=Oo.extend("--ft-typography-body1-line-height","",Oi.lineHeight,"1.5"),Ji=Oo.extend("--ft-typography-body1-text-transform","",Oi.textTransform,"inherit"),qi=Oo.extend("--ft-typography-body2-font-family","",xi),Xi=Oo.extend("--ft-typography-body2-font-size","",Oi.fontSize,"14px"),Qi=Oo.extend("--ft-typography-body2-font-weight","",Oi.fontWeight,"normal"),tr=Oo.extend("--ft-typography-body2-letter-spacing","",Oi.letterSpacing,"0.252px"),or=Oo.extend("--ft-typography-body2-line-height","",Oi.lineHeight,"1.4"),er=Oo.extend("--ft-typography-body2-text-transform","",Oi.textTransform,"inherit"),ir=Oo.extend("--ft-typography-caption-font-family","",xi),rr=Oo.extend("--ft-typography-caption-font-size","",Oi.fontSize,"12px"),nr=Oo.extend("--ft-typography-caption-font-weight","",Oi.fontWeight,"normal"),ar=Oo.extend("--ft-typography-caption-letter-spacing","",Oi.letterSpacing,"0.396px"),sr=Oo.extend("--ft-typography-caption-line-height","",Oi.lineHeight,"1.33"),lr=Oo.extend("--ft-typography-caption-text-transform","",Oi.textTransform,"inherit"),cr=Oo.extend("--ft-typography-breadcrumb-font-family","",xi),pr=Oo.extend("--ft-typography-breadcrumb-font-size","",Oi.fontSize,"10px"),fr=Oo.extend("--ft-typography-breadcrumb-font-weight","",Oi.fontWeight,"normal"),hr=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",Oi.letterSpacing,"0.33px"),dr=Oo.extend("--ft-typography-breadcrumb-line-height","",Oi.lineHeight,"1.6"),ur=Oo.extend("--ft-typography-breadcrumb-text-transform","",Oi.textTransform,"inherit"),yr=Oo.extend("--ft-typography-overline-font-family","",xi),gr=Oo.extend("--ft-typography-overline-font-size","",Oi.fontSize,"10px"),br=Oo.extend("--ft-typography-overline-font-weight","",Oi.fontWeight,"normal"),mr=Oo.extend("--ft-typography-overline-letter-spacing","",Oi.letterSpacing,"1.5px"),xr=Oo.extend("--ft-typography-overline-line-height","",Oi.lineHeight,"1.6"),Or=Oo.extend("--ft-typography-overline-text-transform","",Oi.textTransform,"uppercase"),vr={fontFamily:Oo.extend("--ft-typography-button-font-family","",xi),fontSize:Oo.extend("--ft-typography-button-font-size","",Oi.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",Oi.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",Oi.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",Oi.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",Oi.textTransform,"uppercase")},wr=mt`
|
|
266
267
|
.ft-typography--title {
|
|
267
|
-
font-family: ${
|
|
268
|
-
font-size: ${
|
|
269
|
-
font-weight: ${
|
|
270
|
-
letter-spacing: ${
|
|
271
|
-
line-height: ${
|
|
272
|
-
text-transform: ${
|
|
273
|
-
}
|
|
274
|
-
`,
|
|
268
|
+
font-family: ${vi};
|
|
269
|
+
font-size: ${wi};
|
|
270
|
+
font-weight: ${Ni};
|
|
271
|
+
letter-spacing: ${Si};
|
|
272
|
+
line-height: ${Ci};
|
|
273
|
+
text-transform: ${Ri};
|
|
274
|
+
}
|
|
275
|
+
`,Nr=mt`
|
|
275
276
|
.ft-typography--title-dense {
|
|
276
|
-
font-family: ${
|
|
277
|
-
font-size: ${
|
|
278
|
-
font-weight: ${
|
|
279
|
-
letter-spacing: ${
|
|
280
|
-
line-height: ${
|
|
281
|
-
text-transform: ${
|
|
282
|
-
}
|
|
283
|
-
`,
|
|
277
|
+
font-family: ${Ei};
|
|
278
|
+
font-size: ${$i};
|
|
279
|
+
font-weight: ${Ui};
|
|
280
|
+
letter-spacing: ${ki};
|
|
281
|
+
line-height: ${Ii};
|
|
282
|
+
text-transform: ${Wi};
|
|
283
|
+
}
|
|
284
|
+
`,Sr=mt`
|
|
284
285
|
.ft-typography--subtitle1 {
|
|
285
|
-
font-family: ${
|
|
286
|
-
font-size: ${
|
|
287
|
-
font-weight: ${
|
|
288
|
-
letter-spacing: ${
|
|
289
|
-
line-height: ${
|
|
290
|
-
text-transform: ${
|
|
291
|
-
}
|
|
292
|
-
`,
|
|
286
|
+
font-family: ${Li};
|
|
287
|
+
font-size: ${Ki};
|
|
288
|
+
font-weight: ${Fi};
|
|
289
|
+
letter-spacing: ${Zi};
|
|
290
|
+
line-height: ${zi};
|
|
291
|
+
text-transform: ${Ai};
|
|
292
|
+
}
|
|
293
|
+
`,Cr=mt`
|
|
293
294
|
.ft-typography--subtitle2 {
|
|
294
|
-
font-family: ${
|
|
295
|
-
font-size: ${
|
|
296
|
-
font-weight: ${
|
|
297
|
-
letter-spacing: ${
|
|
298
|
-
line-height: ${
|
|
299
|
-
text-transform: ${
|
|
295
|
+
font-family: ${Mi};
|
|
296
|
+
font-size: ${Di};
|
|
297
|
+
font-weight: ${Bi};
|
|
298
|
+
letter-spacing: ${Pi};
|
|
299
|
+
line-height: ${Hi};
|
|
300
|
+
text-transform: ${ji};
|
|
300
301
|
}
|
|
301
302
|
|
|
302
|
-
`,
|
|
303
|
+
`,Rr=mt`
|
|
303
304
|
.ft-typography--body1 {
|
|
304
|
-
font-family: ${
|
|
305
|
-
font-size: ${
|
|
306
|
-
font-weight: ${
|
|
307
|
-
letter-spacing: ${
|
|
308
|
-
line-height: ${
|
|
309
|
-
text-transform: ${
|
|
310
|
-
}
|
|
311
|
-
`,
|
|
305
|
+
font-family: ${Ti};
|
|
306
|
+
font-size: ${_i};
|
|
307
|
+
font-weight: ${Gi};
|
|
308
|
+
letter-spacing: ${Yi};
|
|
309
|
+
line-height: ${Vi};
|
|
310
|
+
text-transform: ${Ji};
|
|
311
|
+
}
|
|
312
|
+
`,Er=mt`
|
|
312
313
|
.ft-typography--body2 {
|
|
313
|
-
font-family: ${
|
|
314
|
-
font-size: ${
|
|
315
|
-
font-weight: ${
|
|
316
|
-
letter-spacing: ${
|
|
317
|
-
line-height: ${
|
|
318
|
-
text-transform: ${
|
|
319
|
-
}
|
|
320
|
-
|
|
314
|
+
font-family: ${qi};
|
|
315
|
+
font-size: ${Xi};
|
|
316
|
+
font-weight: ${Qi};
|
|
317
|
+
letter-spacing: ${tr};
|
|
318
|
+
line-height: ${or};
|
|
319
|
+
text-transform: ${er};
|
|
320
|
+
}
|
|
321
|
+
`,$r=mt`
|
|
321
322
|
.ft-typography--caption {
|
|
322
|
-
font-family: ${
|
|
323
|
-
font-size: ${
|
|
324
|
-
font-weight: ${
|
|
325
|
-
letter-spacing: ${
|
|
326
|
-
line-height: ${
|
|
327
|
-
text-transform: ${
|
|
328
|
-
}
|
|
329
|
-
|
|
323
|
+
font-family: ${ir};
|
|
324
|
+
font-size: ${rr};
|
|
325
|
+
font-weight: ${nr};
|
|
326
|
+
letter-spacing: ${ar};
|
|
327
|
+
line-height: ${sr};
|
|
328
|
+
text-transform: ${lr};
|
|
329
|
+
}
|
|
330
|
+
`,Ur=mt`
|
|
330
331
|
.ft-typography--breadcrumb {
|
|
331
|
-
font-family: ${
|
|
332
|
-
font-size: ${
|
|
333
|
-
font-weight: ${
|
|
334
|
-
letter-spacing: ${
|
|
335
|
-
line-height: ${
|
|
336
|
-
text-transform: ${
|
|
337
|
-
}
|
|
338
|
-
`,
|
|
332
|
+
font-family: ${cr};
|
|
333
|
+
font-size: ${pr};
|
|
334
|
+
font-weight: ${fr};
|
|
335
|
+
letter-spacing: ${hr};
|
|
336
|
+
line-height: ${dr};
|
|
337
|
+
text-transform: ${ur};
|
|
338
|
+
}
|
|
339
|
+
`,kr=mt`
|
|
339
340
|
.ft-typography--overline {
|
|
340
|
-
font-family: ${
|
|
341
|
-
font-size: ${
|
|
342
|
-
font-weight: ${
|
|
343
|
-
letter-spacing: ${
|
|
344
|
-
line-height: ${
|
|
345
|
-
text-transform: ${
|
|
346
|
-
}
|
|
347
|
-
`,
|
|
341
|
+
font-family: ${yr};
|
|
342
|
+
font-size: ${gr};
|
|
343
|
+
font-weight: ${br};
|
|
344
|
+
letter-spacing: ${mr};
|
|
345
|
+
line-height: ${xr};
|
|
346
|
+
text-transform: ${Or};
|
|
347
|
+
}
|
|
348
|
+
`,Ir=mt`
|
|
348
349
|
.ft-typography--button {
|
|
349
|
-
font-family: ${
|
|
350
|
-
font-size: ${
|
|
351
|
-
font-weight: ${
|
|
352
|
-
letter-spacing: ${
|
|
353
|
-
line-height: ${
|
|
354
|
-
text-transform: ${
|
|
355
|
-
}
|
|
356
|
-
`,
|
|
350
|
+
font-family: ${vr.fontFamily};
|
|
351
|
+
font-size: ${vr.fontSize};
|
|
352
|
+
font-weight: ${vr.fontWeight};
|
|
353
|
+
letter-spacing: ${vr.letterSpacing};
|
|
354
|
+
line-height: ${vr.lineHeight};
|
|
355
|
+
text-transform: ${vr.textTransform};
|
|
356
|
+
}
|
|
357
|
+
`,Wr=mt`
|
|
357
358
|
.ft-typography {
|
|
358
359
|
vertical-align: inherit;
|
|
359
360
|
}
|
|
360
|
-
`,
|
|
361
|
+
`,Lr=[Object.keys(No).map((t=>function(t){const o=No[t];return mt`
|
|
361
362
|
.ft-typography--${bt(t)} {
|
|
362
363
|
font-family: ${o.fontFamily};
|
|
363
364
|
font-size: ${o.fontSize};
|
|
@@ -366,14 +367,14 @@ const fe=Symbol.for(""),he=t=>{if(t?.r===fe)return t?._$litStatic$},de=t=>({_$li
|
|
|
366
367
|
line-height: ${o.lineHeight};
|
|
367
368
|
text-transform: ${o.textCase};
|
|
368
369
|
}
|
|
369
|
-
`}(t)))];var
|
|
370
|
-
<${
|
|
370
|
+
`}(t)))];var Kr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fr extends Fe{constructor(){super(...arguments),this.variant=bi.body1}render(){return this.element?gi`
|
|
371
|
+
<${ui(this.element)}
|
|
371
372
|
class="ft-typography ft-typography--${this.variant}">
|
|
372
373
|
<slot></slot>
|
|
373
|
-
</${
|
|
374
|
-
`:
|
|
374
|
+
</${ui(this.element)}>
|
|
375
|
+
`:gi`
|
|
375
376
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
376
|
-
`}}
|
|
377
|
+
`}}Fr.styles=[wr,Nr,Sr,Cr,Rr,Er,$r,Ur,kr,Ir,Wr,...Lr],Kr([C()],Fr.prototype,"element",void 0),Kr([C()],Fr.prototype,"variant",void 0),I("ft-typography")(Fr);const Zr=Oo.create("--ft-tooltip-distance","","SIZE","4px"),zr=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ar=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),Mr=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),Dr=Oo.external(Co.borderRadiusS,"Design system"),Br=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),Pr=mt`
|
|
377
378
|
.ft-tooltip--container {
|
|
378
379
|
display: block;
|
|
379
380
|
}
|
|
@@ -388,21 +389,21 @@ const fe=Symbol.for(""),he=t=>{if(t?.r===fe)return t?._$litStatic$},de=t=>({_$li
|
|
|
388
389
|
box-sizing: border-box;
|
|
389
390
|
overflow: hidden;
|
|
390
391
|
width: max-content;
|
|
391
|
-
max-width: ${
|
|
392
|
+
max-width: ${Br};
|
|
392
393
|
text-align: center;
|
|
393
|
-
padding: ${
|
|
394
|
-
z-index: ${
|
|
394
|
+
padding: ${Zr};
|
|
395
|
+
z-index: ${Mr};
|
|
395
396
|
}
|
|
396
397
|
|
|
397
398
|
.ft-tooltip--content {
|
|
398
399
|
padding: 4px 8px;
|
|
399
|
-
border-radius: ${
|
|
400
|
-
background-color: ${
|
|
401
|
-
color: ${
|
|
400
|
+
border-radius: ${Dr};
|
|
401
|
+
background-color: ${Ar};
|
|
402
|
+
color: ${zr};
|
|
402
403
|
position: relative;
|
|
403
404
|
word-break: break-word;
|
|
404
405
|
}
|
|
405
|
-
`,Pi=["start","end"],Hi=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Pi[0],o+"-"+Pi[1])),[]),ji=Math.min,Ti=Math.max,_i=Math.round,Gi=t=>({x:t,y:t}),Yi={left:"right",right:"left",bottom:"top",top:"bottom"},Vi={start:"end",end:"start"};function Ji(t,o,e){return Ti(t,ji(o,e))}function qi(t,o){return"function"==typeof t?t(o):t}function Xi(t){return t.split("-")[0]}function Qi(t){return t.split("-")[1]}function tr(t){return"x"===t?"y":"x"}function or(t){return"y"===t?"height":"width"}function er(t){return["top","bottom"].includes(Xi(t))?"y":"x"}function ir(t){return tr(er(t))}function rr(t){return t.replace(/left|right|bottom|top/g,(t=>Yi[t]))}function nr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ar(t,o,e){let{reference:i,floating:r}=t;const n=er(o),a=ir(o),s=or(a),l=Xi(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Qi(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function sr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=qi(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=nr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=nr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function lr(t,o,e){return(t?[...e.filter((o=>Qi(o)===t)),...e.filter((o=>Qi(o)!==t))]:e.filter((t=>Xi(t)===t))).filter((e=>!t||(Qi(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Vi[t]))}(e)!==e)))}const cr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Hi,autoAlignment:d=!0,...u}=qi(t,o),y=void 0!==f||h===Hi?lr(f||null,d,h):h,g=await sr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Qi(t),r=ir(t),n=or(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=rr(a)),[a,rr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Xi(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:v},reset:{placement:w}};const N=v.map((t=>{const o=Qi(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=N.filter((t=>t[2].slice(0,Qi(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=S[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function pr(t){return dr(t)?(t.nodeName||"").toLowerCase():"#document"}function fr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function hr(t){var o;return null==(o=(dr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function dr(t){return t instanceof Node||t instanceof fr(t).Node}function ur(t){return t instanceof Element||t instanceof fr(t).Element}function yr(t){return t instanceof HTMLElement||t instanceof fr(t).HTMLElement}function gr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof fr(t).ShadowRoot)}function br(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=wr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function mr(t){return["table","td","th"].includes(pr(t))}function xr(t){const o=Or(),e=wr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Or(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function vr(t){return["html","body","#document"].includes(pr(t))}function wr(t){return fr(t).getComputedStyle(t)}function Nr(t){return ur(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Sr(t){if("html"===pr(t))return t;const o=t.assignedSlot||t.parentNode||gr(t)&&t.host||hr(t);return gr(o)?o.host:o}function Cr(t){const o=Sr(t);return vr(o)?t.ownerDocument?t.ownerDocument.body:t.body:yr(o)&&br(o)?o:Cr(o)}function Rr(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Cr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=fr(r);return n?o.concat(a,a.visualViewport||[],br(r)?r:[],a.frameElement&&e?Rr(a.frameElement):[]):o.concat(r,Rr(r,[],e))}function Er(t){const o=wr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=yr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=_i(e)!==n||_i(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function $r(t){return ur(t)?t:t.contextElement}function Ur(t){const o=$r(t);if(!yr(o))return Gi(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Er(o);let a=(n?_i(e.width):e.width)/i,s=(n?_i(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const kr=Gi(0);function Ir(t){const o=fr(t);return Or()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:kr}function Wr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=$r(t);let a=Gi(1);o&&(i?ur(i)&&(a=Ur(i)):a=Ur(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==fr(t))&&o}(n,e,i)?Ir(n):Gi(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=fr(n),o=i&&ur(i)?fr(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Ur(e),o=e.getBoundingClientRect(),i=wr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=fr(e).frameElement}}return nr({width:p,height:f,x:l,y:c})}function Lr(t){return Wr(hr(t)).left+Nr(t).scrollLeft}function Kr(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=fr(t),i=hr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Or();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=hr(t),e=Nr(t),i=t.ownerDocument.body,r=Ti(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Ti(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Lr(t);const s=-e.scrollTop;return"rtl"===wr(i).direction&&(a+=Ti(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(hr(t));else if(ur(o))i=function(t,o){const e=Wr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=yr(t)?Ur(t):Gi(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ir(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return nr(i)}function Fr(t,o){const e=Sr(t);return!(e===o||!ur(e)||vr(e))&&("fixed"===wr(e).position||Fr(e,o))}function Zr(t,o,e){const i=yr(o),r=hr(o),n="fixed"===e,a=Wr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Gi(0);if(i||!i&&!n)if(("body"!==pr(o)||br(r))&&(s=Nr(o)),i){const t=Wr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=Lr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function zr(t,o){return yr(t)&&"fixed"!==wr(t).position?o?o(t):t.offsetParent:null}function Ar(t,o){const e=fr(t);if(!yr(t))return e;let i=zr(t,o);for(;i&&mr(i)&&"static"===wr(i).position;)i=zr(i,o);return i&&("html"===pr(i)||"body"===pr(i)&&"static"===wr(i).position&&!xr(i))?e:i||function(t){let o=Sr(t);for(;yr(o)&&!vr(o);){if(xr(o))return o;o=Sr(o)}return null}(t)||e}const Mr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=yr(e),n=hr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Gi(1);const l=Gi(0);if((r||!r&&"fixed"!==i)&&(("body"!==pr(e)||br(n))&&(a=Nr(e)),yr(e))){const t=Wr(e);s=Ur(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:hr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Rr(t,[],!1).filter((t=>ur(t)&&"body"!==pr(t))),r=null;const n="fixed"===wr(t).position;let a=n?Sr(t):t;for(;ur(a)&&!vr(a);){const o=wr(a),e=xr(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||br(a)&&!e&&Fr(t,a))?i=i.filter((t=>t!==a)):r=o,a=Sr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=Kr(o,e,r);return t.top=Ti(i.top,t.top),t.right=ji(i.right,t.right),t.bottom=ji(i.bottom,t.bottom),t.left=Ti(i.left,t.left),t}),Kr(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ar,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Ar,n=this.getDimensions;return{reference:Zr(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Er(t)},getScale:Ur,isElement:ur,isRTL:function(t){return"rtl"===wr(t).direction}},Dr=(t,o,e)=>{const i=new Map,r={platform:Mr,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=ar(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=ar(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Br(t){return function(t){for(let o=t;o;o=Pr(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Pr(t);o;o=Pr(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Pr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Hr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Ko{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
406
|
+
`;var Hr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class jr extends Fe{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return to`
|
|
406
407
|
<div part="container"
|
|
407
408
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
408
409
|
@mouseenter=${this.onHover}
|
|
@@ -420,13 +421,13 @@ const fe=Symbol.for(""),he=t=>{if(t?.r===fe)return t?._$litStatic$},de=t=>({_$li
|
|
|
420
421
|
</div>
|
|
421
422
|
</div>
|
|
422
423
|
</div>
|
|
423
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){
|
|
424
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Se(t,o,{platform:{...Ne,getOffsetParent:t=>Ne.getOffsetParent(t,Ce)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Fo(i,t),c={x:o,y:e},p=await To(t,l),f=Do(Zo(r)),h=Ao(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Ko(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ko(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Go({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}jr.elementDefinitions={"ft-typography":Fr},jr.styles=Pr,Hr([C()],jr.prototype,"text",void 0),Hr([C({type:Boolean})],jr.prototype,"manual",void 0),Hr([C({type:Boolean})],jr.prototype,"inline",void 0),Hr([C({type:Number})],jr.prototype,"delay",void 0),Hr([C()],jr.prototype,"position",void 0),Hr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return $(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],jr.prototype,"slotNodes",void 0),Hr([U(".ft-tooltip--container")],jr.prototype,"container",void 0),Hr([U(".ft-tooltip")],jr.prototype,"tooltip",void 0),Hr([U(".ft-tooltip--content")],jr.prototype,"tooltipContent",void 0),Hr([R()],jr.prototype,"visible",void 0),Hr([E({passive:!0})],jr.prototype,"onTouch",null),Hr([E({passive:!0})],jr.prototype,"onHover",null),Hr([E({passive:!0})],jr.prototype,"onOut",null),Hr([E({passive:!0})],jr.prototype,"onClick",null),I("ft-tooltip")(jr);
|
|
424
425
|
/**
|
|
425
426
|
* @license
|
|
426
427
|
* Copyright 2017 Google LLC
|
|
427
428
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
428
429
|
*/
|
|
429
|
-
class Tr extends
|
|
430
|
+
class Tr extends Qe{constructor(t){if(super(t),this.et=Q,t.type!==qe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.vt=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Tr.directiveName="unsafeHTML",Tr.resultType=1;const _r=Xe(Tr);var Gr,Yr;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Gr||(Gr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Yr||(Yr={})),new Map([...["abw"].map((t=>[t,Yr.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,Yr.AUDIO])),...["avi"].map((t=>[t,Yr.AVI])),...["chm","xhs"].map((t=>[t,Yr.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,Yr.CODE])),...["csv"].map((t=>[t,Yr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Yr.DITA])),...["epub"].map((t=>[t,Yr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Yr.EXCEL])),...["flac"].map((t=>[t,Yr.FLAC])),...["gif"].map((t=>[t,Yr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Yr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Yr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Yr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Yr.JPEG])),...["json"].map((t=>[t,Yr.JSON])),...["m4a","m4p"].map((t=>[t,Yr.M4A])),...["mov","qt"].map((t=>[t,Yr.MOV])),...["mp3"].map((t=>[t,Yr.MP3])),...["mp4","m4v"].map((t=>[t,Yr.MP4])),...["ogg","oga"].map((t=>[t,Yr.OGG])),...["pdf","ps"].map((t=>[t,Yr.PDF])),...["png"].map((t=>[t,Yr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Yr.POWERPOINT])),...["rar"].map((t=>[t,Yr.RAR])),...["stp"].map((t=>[t,Yr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Yr.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,Yr.VIDEO])),...["wav"].map((t=>[t,Yr.WAV])),...["wma"].map((t=>[t,Yr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Yr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Yr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Yr.YAML])),...["zip"].map((t=>[t,Yr.ZIP]))]),Yr.ABW,Yr.AUDIO,Yr.AVI,Yr.CHM,Yr.CODE,Yr.CSV,Yr.DITA,Yr.EPUB,Yr.EXCEL,Yr.FLAC,Yr.GIF,Yr.GZIP,Yr.HTML,Yr.IMAGE,Yr.JPEG,Yr.JSON,Yr.M4A,Yr.MOV,Yr.MP3,Yr.MP4,Yr.OGG,Yr.PDF,Yr.PNG,Yr.POWERPOINT,Yr.RAR,Yr.STP,Yr.TEXT,Yr.UNKNOWN,Yr.VIDEO,Yr.WAV,Yr.WMA,Yr.WORD,Yr.XML,Yr.YAML,Yr.ZIP;const Vr={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Jr=mt`
|
|
430
431
|
:host, i.ft-icon {
|
|
431
432
|
display: inline-flex;
|
|
432
433
|
align-items: center;
|
|
@@ -474,12 +475,12 @@ class Tr extends Xo{constructor(t){if(super(t),this.et=Q,t.type!==Jo)throw Error
|
|
|
474
475
|
.ft-icon--material {
|
|
475
476
|
font-family: ${Vr.materialFontFamily}, "Material Icons", sans-serif;
|
|
476
477
|
}
|
|
477
|
-
`;var qr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qr||(qr={}));var Xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qr extends
|
|
478
|
+
`;var qr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(qr||(qr={}));var Xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qr extends Fe{constructor(){super(...arguments),this.resolvedIcon=eo}render(){const t=this.variant&&Object.values(qr).includes(this.variant)?this.variant:qr.fluid_topics,o=t!==qr.material||!!this.value;return to`
|
|
478
479
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
479
480
|
${_r(this.resolvedIcon)}
|
|
480
481
|
<slot ?hidden=${o}></slot>
|
|
481
482
|
</i>
|
|
482
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case qr.file_format:this.resolvedIcon=null!==(t=Yr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case qr.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=Gr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Qr.elementDefinitions={},Qr.styles=Jr,Xr([C()],Qr.prototype,"variant",void 0),Xr([C()],Qr.prototype,"value",void 0),Xr([R()],Qr.prototype,"resolvedIcon",void 0),Xr([U("slot")],Qr.prototype,"slottedContent",void 0),I("ft-icon")(Qr);const tn={textColor:Oo.extend("--ft-switch-text-color","",Co.colorOnSurfaceHigh),backgroundColor:Oo.extend("--ft-switch-background-color","",Co.colorSurface),selectedTextColor:Oo.extend("--ft-switch-selected-text-color","",Co.colorPrimary),selectedBackgroundColor:Oo.extend("--ft-switch-selected-background-color","",Co.colorPrimary),borderColor:Oo.extend("--ft-switch-border-color","",Co.colorOutline),borderRadius:Oo.extend("--ft-switch-border-radius","",Co.borderRadiusL),fontSize:Oo.extend("--ft-switch-font-size","",
|
|
483
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case qr.file_format:this.resolvedIcon=null!==(t=Yr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case qr.material:this.resolvedIcon=this.value||eo;break;default:this.resolvedIcon=null!==(o=Gr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Qr.elementDefinitions={},Qr.styles=Jr,Xr([C()],Qr.prototype,"variant",void 0),Xr([C()],Qr.prototype,"value",void 0),Xr([R()],Qr.prototype,"resolvedIcon",void 0),Xr([U("slot")],Qr.prototype,"slottedContent",void 0),I("ft-icon")(Qr);const tn={textColor:Oo.extend("--ft-switch-text-color","",Co.colorOnSurfaceHigh),backgroundColor:Oo.extend("--ft-switch-background-color","",Co.colorSurface),selectedTextColor:Oo.extend("--ft-switch-selected-text-color","",Co.colorPrimary),selectedBackgroundColor:Oo.extend("--ft-switch-selected-background-color","",Co.colorPrimary),borderColor:Oo.extend("--ft-switch-border-color","",Co.colorOutline),borderRadius:Oo.extend("--ft-switch-border-radius","",Co.borderRadiusL),fontSize:Oo.extend("--ft-switch-font-size","",vr.fontSize),iconSize:Oo.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:Oo.extend("--ft-switch-text-color","",Co.colorOnSurfaceMedium),rippleColor:Oo.extend("--ft-switch-ripple-color","",Co.colorPrimary),outlineColor:Oo.extend("--ft-switch-outline-color","",Co.colorPrimary)},on={borderRadiusLeft:Oo.extend("--ft-switch-option-border-radius-left","",Co.borderRadiusL),borderRadiusRight:Oo.extend("--ft-switch-option-border-radius-right","",Co.borderRadiusL),borderWidthLeft:Oo.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:Oo.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:Oo.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},en=mt`
|
|
483
484
|
.ft-switch-option {
|
|
484
485
|
position: relative;
|
|
485
486
|
display: inline-block;
|
|
@@ -531,8 +532,8 @@ class Tr extends Xo{constructor(t){if(super(t),this.et=Q,t.type!==Jo)throw Error
|
|
|
531
532
|
text-overflow: ellipsis;
|
|
532
533
|
display: block;
|
|
533
534
|
margin: 0 8px;
|
|
534
|
-
${vo(
|
|
535
|
-
${vo(
|
|
535
|
+
${vo(vr.fontSize,tn.fontSize)};
|
|
536
|
+
${vo(vr.lineHeight,"var(--ft-switch-option-internal-content-height)")}
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
.ft-switch-option--selected .ft-switch-option--label {
|
|
@@ -544,7 +545,7 @@ class Tr extends Xo{constructor(t){if(super(t),this.et=Q,t.type!==Jo)throw Error
|
|
|
544
545
|
}
|
|
545
546
|
|
|
546
547
|
.ft-switch-option--ripple {
|
|
547
|
-
${vo(
|
|
548
|
+
${vo(ei.color,tn.rippleColor)};
|
|
548
549
|
}
|
|
549
550
|
|
|
550
551
|
ft-icon, ft-ripple, ft-typography {
|
|
@@ -563,14 +564,14 @@ class Tr extends Xo{constructor(t){if(super(t),this.et=Q,t.type!==Jo)throw Error
|
|
|
563
564
|
.ft-switch-option--selected ft-icon {
|
|
564
565
|
color: ${tn.selectedTextColor};
|
|
565
566
|
}
|
|
566
|
-
`;var rn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}}class an extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}}class sn extends
|
|
567
|
-
<label part="label" for="input" class=${
|
|
567
|
+
`;var rn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}}class an extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}}class sn extends Fe{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new an(this.selected))}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(to`
|
|
568
|
+
<label part="label" for="input" class=${ti(t)}
|
|
568
569
|
@click=${this.onChange}>
|
|
569
570
|
<div class="ft-switch-option--content">
|
|
570
571
|
<ft-ripple part="ripple" class="ft-switch-option--ripple"></ft-ripple>
|
|
571
572
|
<ft-typography part="text"
|
|
572
573
|
variant="button"
|
|
573
|
-
class="ft-switch-option--label ${
|
|
574
|
+
class="ft-switch-option--label ${Ve?"ft-safari-ellipsis-fix":""}"
|
|
574
575
|
?hidden=${!this.hasTextContent()}>
|
|
575
576
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
576
577
|
</ft-typography>
|
|
@@ -587,8 +588,8 @@ class Tr extends Xo{constructor(t){if(super(t),this.et=Q,t.type!==Jo)throw Error
|
|
|
587
588
|
</ft-tooltip>
|
|
588
589
|
`}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new nn(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?to`
|
|
589
590
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
590
|
-
`:eo}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}sn.elementDefinitions={"ft-ripple":
|
|
591
|
-
<div @keydown=${this.onKeyDown} tabindex="0" class="${
|
|
591
|
+
`:eo}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}sn.elementDefinitions={"ft-ripple":fi,"ft-typography":Fr,"ft-tooltip":jr,"ft-icon":Qr},sn.styles=[ze,en],rn([C()],sn.prototype,"value",void 0),rn([C()],sn.prototype,"icon",void 0),rn([C()],sn.prototype,"iconVariant",void 0),rn([C()],sn.prototype,"label",void 0),rn([C()],sn.prototype,"tooltipPosition",void 0),rn([C({type:Boolean,reflect:!0})],sn.prototype,"selected",void 0),rn([C({type:Boolean})],sn.prototype,"trailingIcon",void 0),rn([C({type:Boolean})],sn.prototype,"unselectable",void 0),rn([U(".ft-switch-option--content slot")],sn.prototype,"slottedContent",void 0),rn([U(".ft-switch-option--input")],sn.prototype,"input",void 0);var ln=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cn extends CustomEvent{constructor(t){super("change",{detail:t})}}class pn extends Fe{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return to`
|
|
592
|
+
<div @keydown=${this.onKeyDown} tabindex="0" class="${ti(t)}">
|
|
592
593
|
<slot @slotchange=${this.onSlotchange}
|
|
593
594
|
@option-change=${this.onOptionChangeByScript}
|
|
594
595
|
@option-change-by-user=${this.onOptionChangeByUser}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-switch",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "two-state",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-icon": "1.1.
|
|
23
|
-
"@fluid-topics/ft-ripple": "1.1.
|
|
24
|
-
"@fluid-topics/ft-tooltip": "1.1.
|
|
25
|
-
"@fluid-topics/ft-typography": "1.1.
|
|
26
|
-
"@fluid-topics/ft-wc-utils": "1.1.
|
|
22
|
+
"@fluid-topics/ft-icon": "1.1.23",
|
|
23
|
+
"@fluid-topics/ft-ripple": "1.1.23",
|
|
24
|
+
"@fluid-topics/ft-tooltip": "1.1.23",
|
|
25
|
+
"@fluid-topics/ft-typography": "1.1.23",
|
|
26
|
+
"@fluid-topics/ft-wc-utils": "1.1.23",
|
|
27
27
|
"lit": "3.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "2845d04866000c1eec5e025b204d5507e7a98a94"
|
|
30
30
|
}
|