@fluid-topics/ft-in-product-help 1.1.102 → 1.1.104
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.
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
height: calc(100% - ${L.topBarHeight});
|
|
57
57
|
border: none;
|
|
58
58
|
}
|
|
59
|
-
`;var wo=y(R());var ae=y(U()),It=y(dt()),vo=y(R()),No=y(So());var it;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.EYE="",e.SHARE="󨃱"})(it||(it={}));var h;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(h||(h={}));var Ca=new Map([...["abw"].map(e=>[e,h.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(e=>[e,h.AUDIO]),...["avi"].map(e=>[e,h.AVI]),...["chm","xhs"].map(e=>[e,h.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(e=>[e,h.CODE]),...["csv"].map(e=>[e,h.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,h.DITA]),...["epub"].map(e=>[e,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,h.EXCEL]),...["flac"].map(e=>[e,h.FLAC]),...["gif"].map(e=>[e,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,h.GZIP]),...["html","htm","xhtml"].map(e=>[e,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,h.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,h.JPEG]),...["json"].map(e=>[e,h.JSON]),...["m4a","m4p"].map(e=>[e,h.M4A]),...["mov","qt"].map(e=>[e,h.MOV]),...["mp3"].map(e=>[e,h.MP3]),...["mp4","m4v"].map(e=>[e,h.MP4]),...["ogg","oga"].map(e=>[e,h.OGG]),...["pdf","ps"].map(e=>[e,h.PDF]),...["png"].map(e=>[e,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,h.POWERPOINT]),...["rar"].map(e=>[e,h.RAR]),...["stp"].map(e=>[e,h.STP]),...["txt","rtf","md","mdown"].map(e=>[e,h.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(e=>[e,h.VIDEO]),...["wav"].map(e=>[e,h.WAV]),...["wma"].map(e=>[e,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,h.WORD]),...["xml","xsl","rdf"].map(e=>[e,h.XML]),...["yaml","yml","x-yaml"].map(e=>[e,h.YAML]),...["zip"].map(e=>[e,h.ZIP])]);var va={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var Oo=y(U()),mt=y(R()),
|
|
59
|
+
`;var wo=y(R());var ae=y(U()),It=y(dt()),vo=y(R()),No=y(So());var it;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.EYE="",e.SHARE="󨃱"})(it||(it={}));var h;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(h||(h={}));var Ca=new Map([...["abw"].map(e=>[e,h.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(e=>[e,h.AUDIO]),...["avi"].map(e=>[e,h.AVI]),...["chm","xhs"].map(e=>[e,h.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(e=>[e,h.CODE]),...["csv"].map(e=>[e,h.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,h.DITA]),...["epub"].map(e=>[e,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,h.EXCEL]),...["flac"].map(e=>[e,h.FLAC]),...["gif"].map(e=>[e,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,h.GZIP]),...["html","htm","xhtml"].map(e=>[e,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,h.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,h.JPEG]),...["json"].map(e=>[e,h.JSON]),...["m4a","m4p"].map(e=>[e,h.M4A]),...["mov","qt"].map(e=>[e,h.MOV]),...["mp3"].map(e=>[e,h.MP3]),...["mp4","m4v"].map(e=>[e,h.MP4]),...["ogg","oga"].map(e=>[e,h.OGG]),...["pdf","ps"].map(e=>[e,h.PDF]),...["png"].map(e=>[e,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,h.POWERPOINT]),...["rar"].map(e=>[e,h.RAR]),...["stp"].map(e=>[e,h.STP]),...["txt","rtf","md","mdown"].map(e=>[e,h.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(e=>[e,h.VIDEO]),...["wav"].map(e=>[e,h.WAV]),...["wma"].map(e=>[e,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,h.WORD]),...["xml","xsl","rdf"].map(e=>[e,h.XML]),...["yaml","yml","x-yaml"].map(e=>[e,h.YAML]),...["zip"].map(e=>[e,h.ZIP])]);var va={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var Oo=y(U()),mt=y(R()),Y={size:mt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:mt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",mt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:mt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",mt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:mt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",mt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:mt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Co=Oo.css`
|
|
60
60
|
:host, i.ft-icon {
|
|
61
61
|
display: inline-flex;
|
|
62
62
|
align-items: center;
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
:host {
|
|
68
|
-
width: ${
|
|
69
|
-
height: ${
|
|
68
|
+
width: ${Y.size};
|
|
69
|
+
height: ${Y.size};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
i.ft-icon {
|
|
73
73
|
width: 100%;
|
|
74
74
|
height: 100%;
|
|
75
|
-
font-size: ${
|
|
75
|
+
font-size: ${Y.size};
|
|
76
76
|
line-height: 1;
|
|
77
77
|
font-weight: normal;
|
|
78
78
|
text-transform: none;
|
|
@@ -83,33 +83,33 @@
|
|
|
83
83
|
text-rendering: auto;
|
|
84
84
|
-webkit-font-smoothing: antialiased;
|
|
85
85
|
-moz-osx-font-smoothing: grayscale;
|
|
86
|
-
vertical-align: ${
|
|
86
|
+
vertical-align: ${Y.verticalAlign};
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
i.ft-icon.ft-icon--fluid-topics {
|
|
90
|
-
font-family: ${
|
|
90
|
+
font-family: ${Y.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
91
91
|
|
|
92
92
|
/* Ugly fix because font is broken */
|
|
93
|
-
font-size: calc(0.75 * ${
|
|
94
|
-
line-height: ${
|
|
93
|
+
font-size: calc(0.75 * ${Y.size});
|
|
94
|
+
line-height: ${Y.size};
|
|
95
95
|
position: relative;
|
|
96
96
|
top: -4%;
|
|
97
97
|
justify-content: center;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ft-icon--file-format {
|
|
101
|
-
font-family: ${
|
|
101
|
+
font-family: ${Y.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-icon--material {
|
|
105
|
-
font-family: ${
|
|
105
|
+
font-family: ${Y.materialFontFamily}, "Material Icons", sans-serif;
|
|
106
106
|
}
|
|
107
107
|
`;var ft;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ft||(ft={}));var Ce=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},nt=class extends vo.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ae.nothing}render(){let o=this.variant&&Object.values(ft).includes(this.variant)?this.variant:ft.fluid_topics,n=o!==ft.material||!!this.value;return ae.html`
|
|
108
108
|
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
109
109
|
${(0,No.unsafeHTML)(this.resolvedIcon)}
|
|
110
110
|
<slot ?hidden=${n}></slot>
|
|
111
111
|
</i>
|
|
112
|
-
`}get textContent(){var o,n;return(n=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}update(o){super.update(o),["value","variant"].some(n=>o.has(n))&&this.resolveIcon()}resolveIcon(){var o,n;let a=this.value||this.textContent;switch(this.variant){case ft.file_format:this.resolvedIcon=(o=h[a.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:a;break;case ft.material:this.resolvedIcon=this.value||ae.nothing;break;default:this.resolvedIcon=(n=it[a.replace("-","_").toUpperCase()])!==null&&n!==void 0?n:a;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};nt.elementDefinitions={};nt.styles=Co;Ce([(0,It.property)()],nt.prototype,"variant",void 0);Ce([(0,It.property)()],nt.prototype,"value",void 0);Ce([(0,It.state)()],nt.prototype,"resolvedIcon",void 0);Ce([(0,It.query)("slot")],nt.prototype,"slottedContent",void 0);(0,wo.customElement)("ft-icon")(nt);var Pn=y(ve());var lo=y(R());var be=y(dt()),En=y(R());var vr=y(U()),S=y(R());var Wo=y(U()),
|
|
112
|
+
`}get textContent(){var o,n;return(n=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}update(o){super.update(o),["value","variant"].some(n=>o.has(n))&&this.resolveIcon()}resolveIcon(){var o,n;let a=this.value||this.textContent;switch(this.variant){case ft.file_format:this.resolvedIcon=(o=h[a.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:a;break;case ft.material:this.resolvedIcon=this.value||ae.nothing;break;default:this.resolvedIcon=(n=it[a.replace("-","_").toUpperCase()])!==null&&n!==void 0?n:a;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};nt.elementDefinitions={};nt.styles=Co;Ce([(0,It.property)()],nt.prototype,"variant",void 0);Ce([(0,It.property)()],nt.prototype,"value",void 0);Ce([(0,It.state)()],nt.prototype,"resolvedIcon",void 0);Ce([(0,It.query)("slot")],nt.prototype,"slottedContent",void 0);(0,wo.customElement)("ft-icon")(nt);var Pn=y(ve());var lo=y(R());var be=y(dt()),En=y(R());var vr=y(U()),S=y(R());var Wo=y(U()),H=y(R()),Ro=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorContent),w={color:Ro,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ro),opacityContentOnSurfacePressed:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:H.FtCssVariableFactory.external(H.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:H.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ao=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorPrimary),Lo={color:Ao,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ao)},$o=H.FtCssVariableFactory.extend("--ft-ripple-color","",H.designSystemVariables.colorSecondary),Io={color:$o,backgroundColor:H.FtCssVariableFactory.extend("--ft-ripple-background-color","",$o)},To=Wo.css`
|
|
113
113
|
:host {
|
|
114
114
|
display: contents;
|
|
115
115
|
}
|
|
@@ -326,7 +326,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
326
326
|
.ft-typography {
|
|
327
327
|
vertical-align: inherit;
|
|
328
328
|
}
|
|
329
|
-
`,br=[Object.keys(Ne).map(e=>ar(e))];var xr=y(U()),ie=y(R()),
|
|
329
|
+
`,br=[Object.keys(Ne).map(e=>ar(e))];var xr=y(U()),ie=y(R()),X={color:ie.FtCssVariableFactory.extend("--ft-loader-color","",ie.designSystemVariables.colorPrimary),size:ie.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Sr=xr.css`
|
|
330
330
|
:host {
|
|
331
331
|
line-height: 0;
|
|
332
332
|
}
|
|
@@ -335,8 +335,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
335
335
|
display: inline-block;
|
|
336
336
|
position: relative;
|
|
337
337
|
|
|
338
|
-
width: ${
|
|
339
|
-
height: ${
|
|
338
|
+
width: ${X.size};
|
|
339
|
+
height: ${X.size};
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
.ft-loader div {
|
|
@@ -345,7 +345,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
345
345
|
width: 25%;
|
|
346
346
|
height: 25%;
|
|
347
347
|
border-radius: 50%;
|
|
348
|
-
background: ${
|
|
348
|
+
background: ${X.color};
|
|
349
349
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
350
350
|
}
|
|
351
351
|
|
|
@@ -392,7 +392,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
392
392
|
transform: translate(0, 0);
|
|
393
393
|
}
|
|
394
394
|
100% {
|
|
395
|
-
transform: translate(calc(0.35 * ${
|
|
395
|
+
transform: translate(calc(0.35 * ${X.size}), 0);
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
398
|
`;var Or=S.FtCssVariableFactory.extend("--ft-button-color","",S.designSystemVariables.colorPrimary),G={backgroundColor:S.FtCssVariableFactory.extend("--ft-button-background-color","",S.designSystemVariables.colorSurface),borderRadius:S.FtCssVariableFactory.extend("--ft-button-border-radius","",S.designSystemVariables.borderRadiusL),color:Or,fontSize:S.FtCssVariableFactory.extend("--ft-button-font-size","",ht.fontSize),iconSize:S.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:S.FtCssVariableFactory.extend("--ft-button-ripple-color","",Or),verticalPadding:S.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:S.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:S.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:S.FtCssVariableFactory.external(S.designSystemVariables.colorOpacityDisabled,"Design system")},Cr=S.FtCssVariableFactory.extend("--ft-button-primary-color","",S.FtCssVariableFactory.extend("--ft-button-color","",S.designSystemVariables.colorOnPrimary)),Ue={backgroundColor:S.FtCssVariableFactory.extend("--ft-button-primary-background-color","",S.FtCssVariableFactory.extend("--ft-button-background-color","",S.designSystemVariables.colorPrimary)),color:Cr,rippleColor:S.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Cr)},ut={borderRadius:S.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",S.FtCssVariableFactory.extend("--ft-button-border-radius","",S.designSystemVariables.borderRadiusM)),verticalPadding:S.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:S.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:S.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Nr=[vr.css`
|
|
@@ -437,7 +437,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
437
437
|
|
|
438
438
|
--ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
|
|
439
439
|
--ft-button-internal-color: ${G.color};
|
|
440
|
-
${(0,S.setVariable)(
|
|
440
|
+
${(0,S.setVariable)(Y.size,G.iconSize)};
|
|
441
441
|
${(0,S.setVariable)(w.color,G.rippleColor)};
|
|
442
442
|
|
|
443
443
|
border-radius: ${G.borderRadius};
|
|
@@ -528,8 +528,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
ft-loader {
|
|
531
|
-
${(0,S.setVariable)(
|
|
532
|
-
${(0,S.setVariable)(
|
|
531
|
+
${(0,S.setVariable)(X.size,G.iconSize)};
|
|
532
|
+
${(0,S.setVariable)(X.color,"var(--ft-button-internal-color)")};
|
|
533
533
|
}
|
|
534
534
|
`,S.noTextSelect];var oe=y(R());var Rr=y(R());var wr=y(U()),K=y(dt()),Er=y(ve()),le=y(R());var q=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},$=class extends le.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new le.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new le.Debouncer(10),this.moveRipple=o=>{var n,a;let{x:i,y:l}=this.getCoordinates(o),c=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(l!=null?l-c.y:c.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 wr.html`
|
|
535
535
|
<style>
|
|
@@ -581,7 +581,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
581
581
|
position: relative;
|
|
582
582
|
word-break: break-word;
|
|
583
583
|
}
|
|
584
|
-
`;var qr=["top","right","bottom","left"],Xr=["start","end"],Je=qr.reduce((e,o)=>e.concat(o,o+"-"+Xr[0],o+"-"+Xr[1]),[]),fe=Math.min,Lt=Math.max,he=Math.round;var St=e=>({x:e,y:e}),Xn={left:"right",right:"left",bottom:"top",top:"bottom"},qn={start:"end",end:"start"};function Qe(e,o,n){return Lt(e,fe(o,n))}function $e(e,o){return typeof e=="function"?e(o):e}function Jt(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function to(e){return e==="x"?"y":"x"}function eo(e){return e==="y"?"height":"width"}function Ie(e){return["top","bottom"].includes(Jt(e))?"y":"x"}function oo(e){return to(Ie(e))}function Jr(e,o,n){n===void 0&&(n=!1);let a=$t(e),i=oo(e),l=eo(i),c=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=qe(c)),[c,qe(c)]}function Qr(e){return e.replace(/start|end/g,o=>qn[o])}function qe(e){return e.replace(/left|right|bottom|top/g,o=>Xn[o])}function Jn(e){return{top:0,right:0,bottom:0,left:0,...e}}function tn(e){return typeof e!="number"?Jn(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function en(e,o,n){let{reference:a,floating:i}=e,l=Ie(o),c=oo(o),p=eo(c),d=Jt(o),g=l==="y",x=a.x+a.width/2-i.width/2,m=a.y+a.height/2-i.height/2,v=a[p]/2-i[p]/2,O;switch(d){case"top":O={x,y:a.y-i.height};break;case"bottom":O={x,y:a.y+a.height};break;case"right":O={x:a.x+a.width,y:m};break;case"left":O={x:a.x-i.width,y:m};break;default:O={x:a.x,y:a.y}}switch($t(o)){case"start":O[c]-=v*(n&&g?-1:1);break;case"end":O[c]+=v*(n&&g?-1:1);break}return O}var on=async(e,o,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:l=[],platform:c}=n,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:i}),{x,y:m}=en(g,a,d),v=a,O={},E=0;for(let P=0;P<p.length;P++){let{name:_,fn:B}=p[P],{x:k,y:V,data:wt,reset:F}=await B({x,y:m,initialPlacement:a,placement:v,strategy:i,middlewareData:O,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=k??x,m=V??m,O={...O,[_]:{...O[_],...wt}},F&&E<=50){E++,typeof F=="object"&&(F.placement&&(v=F.placement),F.rects&&(g=F.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:i}):F.rects),{x,y:m}=en(g,v,d)),P=-1;continue}}return{x,y:m,placement:v,strategy:i,middlewareData:O}};async function ro(e,o){var n;o===void 0&&(o={});let{x:a,y:i,platform:l,rects:c,elements:p,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:m="floating",altBoundary:v=!1,padding:O=0}=$e(o,e),E=tn(O),_=p[v?m==="floating"?"reference":"floating":m],B=Bt(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(_)))==null||n?_:_.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:g,rootBoundary:x,strategy:d})),k=m==="floating"?{...c.floating,x:a,y:i}:c.reference,V=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),wt=await(l.isElement==null?void 0:l.isElement(V))?await(l.getScale==null?void 0:l.getScale(V))||{x:1,y:1}:{x:1,y:1},F=Bt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:V,strategy:d}):k);return{top:(B.top-F.top+E.top)/wt.y,bottom:(F.bottom-B.bottom+E.bottom)/wt.y,left:(B.left-F.left+E.left)/wt.x,right:(F.right-B.right+E.right)/wt.x}}function Qn(e,o,n){return(e?[...n.filter(i=>$t(i)===e),...n.filter(i=>$t(i)!==e)]:n.filter(i=>Jt(i)===i)).filter(i=>e?$t(i)===e||(o?Qr(i)!==i:!1):!0)}var no=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,a,i;let{rects:l,middlewareData:c,placement:p,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:m,allowedPlacements:v=Je,autoAlignment:O=!0,...E}=$e(e,o),P=m!==void 0||v===Je?Qn(m||null,O,v):v,_=await ro(o,E),B=((n=c.autoPlacement)==null?void 0:n.index)||0,k=P[B];if(k==null)return{};let V=Jr(k,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(p!==k)return{reset:{placement:P[0]}};let wt=[_[Jt(k)],_[V[0]],_[V[1]]],F=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:k,overflows:wt}],so=P[B+1];if(so)return{data:{index:B+1,overflows:F},reset:{placement:so}};let po=F.map(pt=>{let re=$t(pt.placement);return[pt.placement,re&&x?pt.overflows.slice(0,2).reduce((zn,Hn)=>zn+Hn,0):pt.overflows[0],pt.overflows]}).sort((pt,re)=>pt[1]-re[1]),fo=((i=po.filter(pt=>pt[2].slice(0,$t(pt[0])?2:3).every(re=>re<=0))[0])==null?void 0:i[0])||po[0][0];return fo!==p?{data:{index:B+1,overflows:F},reset:{placement:fo}}:{}}}};var ao=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:a,placement:i}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:_=>{let{x:B,y:k}=_;return{x:B,y:k}}},...d}=$e(e,o),g={x:n,y:a},x=await ro(o,d),m=Ie(Jt(i)),v=to(m),O=g[v],E=g[m];if(l){let _=v==="y"?"top":"left",B=v==="y"?"bottom":"right",k=O+x[_],V=O-x[B];O=Qe(k,O,V)}if(c){let _=m==="y"?"top":"left",B=m==="y"?"bottom":"right",k=E+x[_],V=E-x[B];E=Qe(k,E,V)}let P=p.fn({...o,[v]:O,[m]:E});return{...P,data:{x:P.x-n,y:P.y-a}}}}};function Ot(e){return nn(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ct(e){var o;return(o=(nn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function nn(e){return e instanceof Node||e instanceof J(e).Node}function gt(e){return e instanceof Element||e instanceof J(e).Element}function ct(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function rn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function Qt(e){let{overflow:o,overflowX:n,overflowY:a,display:i}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&!["inline","contents"].includes(i)}function an(e){return["table","td","th"].includes(Ot(e))}function Te(e){let o=Pe(),n=tt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function ln(e){let o=zt(e);for(;ct(o)&&!ue(o);){if(Te(o))return o;o=zt(o)}return null}function Pe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ue(e){return["html","body","#document"].includes(Ot(e))}function tt(e){return J(e).getComputedStyle(e)}function ge(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zt(e){if(Ot(e)==="html")return e;let o=e.assignedSlot||e.parentNode||rn(e)&&e.host||Ct(e);return rn(o)?o.host:o}function cn(e){let o=zt(e);return ue(o)?e.ownerDocument?e.ownerDocument.body:e.body:ct(o)&&Qt(o)?o:cn(o)}function We(e,o,n){var a;o===void 0&&(o=[]),n===void 0&&(n=!0);let i=cn(e),l=i===((a=e.ownerDocument)==null?void 0:a.body),c=J(i);return l?o.concat(c,c.visualViewport||[],Qt(i)?i:[],c.frameElement&&n?We(c.frameElement):[]):o.concat(i,We(i,[],n))}function dn(e){let o=tt(e),n=parseFloat(o.width)||0,a=parseFloat(o.height)||0,i=ct(e),l=i?e.offsetWidth:n,c=i?e.offsetHeight:a,p=he(n)!==l||he(a)!==c;return p&&(n=l,a=c),{width:n,height:a,$:p}}function fn(e){return gt(e)?e:e.contextElement}function te(e){let o=fn(e);if(!ct(o))return St(1);let n=o.getBoundingClientRect(),{width:a,height:i,$:l}=dn(o),c=(l?he(n.width):n.width)/a,p=(l?he(n.height):n.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var ta=St(0);function hn(e){let o=J(e);return!Pe()||!o.visualViewport?ta:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ea(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==J(e)?!1:o}function me(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),l=fn(e),c=St(1);o&&(a?gt(a)&&(c=te(a)):c=te(e));let p=ea(l,n,a)?hn(l):St(0),d=(i.left+p.x)/c.x,g=(i.top+p.y)/c.y,x=i.width/c.x,m=i.height/c.y;if(l){let v=J(l),O=a&>(a)?J(a):a,E=v.frameElement;for(;E&&a&&O!==v;){let P=te(E),_=E.getBoundingClientRect(),B=tt(E),k=_.left+(E.clientLeft+parseFloat(B.paddingLeft))*P.x,V=_.top+(E.clientTop+parseFloat(B.paddingTop))*P.y;d*=P.x,g*=P.y,x*=P.x,m*=P.y,d+=k,g+=V,E=J(E).frameElement}}return Bt({width:x,height:m,x:d,y:g})}function oa(e){let{rect:o,offsetParent:n,strategy:a}=e,i=ct(n),l=Ct(n);if(n===l)return o;let c={scrollLeft:0,scrollTop:0},p=St(1),d=St(0);if((i||!i&&a!=="fixed")&&((Ot(n)!=="body"||Qt(l))&&(c=ge(n)),ct(n))){let g=me(n);p=te(n),d.x=g.x+n.clientLeft,d.y=g.y+n.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-c.scrollLeft*p.x+d.x,y:o.y*p.y-c.scrollTop*p.y+d.y}}function ra(e){return Array.from(e.getClientRects())}function un(e){return me(Ct(e)).left+ge(e).scrollLeft}function na(e){let o=Ct(e),n=ge(e),a=e.ownerDocument.body,i=Lt(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),l=Lt(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-n.scrollLeft+un(e),p=-n.scrollTop;return tt(a).direction==="rtl"&&(c+=Lt(o.clientWidth,a.clientWidth)-i),{width:i,height:l,x:c,y:p}}function aa(e,o){let n=J(e),a=Ct(e),i=n.visualViewport,l=a.clientWidth,c=a.clientHeight,p=0,d=0;if(i){l=i.width,c=i.height;let g=Pe();(!g||g&&o==="fixed")&&(p=i.offsetLeft,d=i.offsetTop)}return{width:l,height:c,x:p,y:d}}function ia(e,o){let n=me(e,!0,o==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,l=ct(e)?te(e):St(1),c=e.clientWidth*l.x,p=e.clientHeight*l.y,d=i*l.x,g=a*l.y;return{width:c,height:p,x:d,y:g}}function sn(e,o,n){let a;if(o==="viewport")a=aa(e,n);else if(o==="document")a=na(Ct(e));else if(gt(o))a=ia(o,n);else{let i=hn(e);a={...o,x:o.x-i.x,y:o.y-i.y}}return Bt(a)}function gn(e,o){let n=zt(e);return n===o||!gt(n)||ue(n)?!1:tt(n).position==="fixed"||gn(n,o)}function la(e,o){let n=o.get(e);if(n)return n;let a=We(e,[],!1).filter(p=>gt(p)&&Ot(p)!=="body"),i=null,l=tt(e).position==="fixed",c=l?zt(e):e;for(;gt(c)&&!ue(c);){let p=tt(c),d=Te(c);!d&&p.position==="fixed"&&(i=null),(l?!d&&!i:!d&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Qt(c)&&!d&&gn(e,c))?a=a.filter(x=>x!==c):i=p,c=zt(c)}return o.set(e,a),a}function ca(e){let{element:o,boundary:n,rootBoundary:a,strategy:i}=e,c=[...n==="clippingAncestors"?la(o,this._c):[].concat(n),a],p=c[0],d=c.reduce((g,x)=>{let m=sn(o,x,i);return g.top=Lt(m.top,g.top),g.right=fe(m.right,g.right),g.bottom=fe(m.bottom,g.bottom),g.left=Lt(m.left,g.left),g},sn(o,p,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function sa(e){return dn(e)}function pa(e,o,n){let a=ct(o),i=Ct(o),l=n==="fixed",c=me(e,!0,l,o),p={scrollLeft:0,scrollTop:0},d=St(0);if(a||!a&&!l)if((Ot(o)!=="body"||Qt(i))&&(p=ge(o)),a){let g=me(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else i&&(d.x=un(i));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function pn(e,o){return!ct(e)||tt(e).position==="fixed"?null:o?o(e):e.offsetParent}function mn(e,o){let n=J(e);if(!ct(e))return n;let a=pn(e,o);for(;a&&an(a)&&tt(a).position==="static";)a=pn(a,o);return a&&(Ot(a)==="html"||Ot(a)==="body"&&tt(a).position==="static"&&!Te(a))?n:a||ln(e)||n}var da=async function(e){let{reference:o,floating:n,strategy:a}=e,i=this.getOffsetParent||mn,l=this.getDimensions;return{reference:pa(o,await i(n),a),floating:{x:0,y:0,...await l(n)}}};function fa(e){return tt(e).direction==="rtl"}var Be={convertOffsetParentRelativeRectToViewportRelativeRect:oa,getDocumentElement:Ct,getClippingRect:ca,getOffsetParent:mn,getElementRects:da,getClientRects:ra,getDimensions:sa,getScale:te,isElement:gt,isRTL:fa};var yn=(e,o,n)=>{let a=new Map,i={platform:Be,...n},l={...i.platform,_c:a};return on(e,o,{...i,platform:l})};function bn(e){return ha(e)}function io(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ha(e){for(let o=e;o;o=io(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=io(e);o;o=io(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function xn(e,o,n){return yn(e,o,{platform:{...Be,getOffsetParent:a=>Be.getOffsetParent(a,bn)},middleware:[ao({crossAxis:!0}),no({allowedPlacements:[n]})]})}var Q=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},I=class extends ye.FtLitElement{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 ye.Debouncer,this.revealDebouncer=new ye.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Sn.html`
|
|
584
|
+
`;var qr=["top","right","bottom","left"],Xr=["start","end"],Je=qr.reduce((e,o)=>e.concat(o,o+"-"+Xr[0],o+"-"+Xr[1]),[]),fe=Math.min,Lt=Math.max,he=Math.round;var St=e=>({x:e,y:e}),Xn={left:"right",right:"left",bottom:"top",top:"bottom"},qn={start:"end",end:"start"};function Qe(e,o,n){return Lt(e,fe(o,n))}function $e(e,o){return typeof e=="function"?e(o):e}function Jt(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function to(e){return e==="x"?"y":"x"}function eo(e){return e==="y"?"height":"width"}function Ie(e){return["top","bottom"].includes(Jt(e))?"y":"x"}function oo(e){return to(Ie(e))}function Jr(e,o,n){n===void 0&&(n=!1);let a=$t(e),i=oo(e),l=eo(i),c=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=qe(c)),[c,qe(c)]}function Qr(e){return e.replace(/start|end/g,o=>qn[o])}function qe(e){return e.replace(/left|right|bottom|top/g,o=>Xn[o])}function Jn(e){return{top:0,right:0,bottom:0,left:0,...e}}function tn(e){return typeof e!="number"?Jn(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function en(e,o,n){let{reference:a,floating:i}=e,l=Ie(o),c=oo(o),p=eo(c),d=Jt(o),g=l==="y",x=a.x+a.width/2-i.width/2,m=a.y+a.height/2-i.height/2,v=a[p]/2-i[p]/2,O;switch(d){case"top":O={x,y:a.y-i.height};break;case"bottom":O={x,y:a.y+a.height};break;case"right":O={x:a.x+a.width,y:m};break;case"left":O={x:a.x-i.width,y:m};break;default:O={x:a.x,y:a.y}}switch($t(o)){case"start":O[c]-=v*(n&&g?-1:1);break;case"end":O[c]+=v*(n&&g?-1:1);break}return O}var on=async(e,o,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:l=[],platform:c}=n,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:i}),{x,y:m}=en(g,a,d),v=a,O={},E=0;for(let B=0;B<p.length;B++){let{name:_,fn:z}=p[B],{x:k,y:j,data:wt,reset:F}=await z({x,y:m,initialPlacement:a,placement:v,strategy:i,middlewareData:O,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=k??x,m=j??m,O={...O,[_]:{...O[_],...wt}},F&&E<=50){E++,typeof F=="object"&&(F.placement&&(v=F.placement),F.rects&&(g=F.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:i}):F.rects),{x,y:m}=en(g,v,d)),B=-1;continue}}return{x,y:m,placement:v,strategy:i,middlewareData:O}};async function ro(e,o){var n;o===void 0&&(o={});let{x:a,y:i,platform:l,rects:c,elements:p,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:m="floating",altBoundary:v=!1,padding:O=0}=$e(o,e),E=tn(O),_=p[v?m==="floating"?"reference":"floating":m],z=Bt(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(_)))==null||n?_:_.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:g,rootBoundary:x,strategy:d})),k=m==="floating"?{...c.floating,x:a,y:i}:c.reference,j=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),wt=await(l.isElement==null?void 0:l.isElement(j))?await(l.getScale==null?void 0:l.getScale(j))||{x:1,y:1}:{x:1,y:1},F=Bt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:j,strategy:d}):k);return{top:(z.top-F.top+E.top)/wt.y,bottom:(F.bottom-z.bottom+E.bottom)/wt.y,left:(z.left-F.left+E.left)/wt.x,right:(F.right-z.right+E.right)/wt.x}}function Qn(e,o,n){return(e?[...n.filter(i=>$t(i)===e),...n.filter(i=>$t(i)!==e)]:n.filter(i=>Jt(i)===i)).filter(i=>e?$t(i)===e||(o?Qr(i)!==i:!1):!0)}var no=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,a,i;let{rects:l,middlewareData:c,placement:p,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:m,allowedPlacements:v=Je,autoAlignment:O=!0,...E}=$e(e,o),B=m!==void 0||v===Je?Qn(m||null,O,v):v,_=await ro(o,E),z=((n=c.autoPlacement)==null?void 0:n.index)||0,k=B[z];if(k==null)return{};let j=Jr(k,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(p!==k)return{reset:{placement:B[0]}};let wt=[_[Jt(k)],_[j[0]],_[j[1]]],F=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:k,overflows:wt}],so=B[z+1];if(so)return{data:{index:z+1,overflows:F},reset:{placement:so}};let po=F.map(pt=>{let re=$t(pt.placement);return[pt.placement,re&&x?pt.overflows.slice(0,2).reduce((zn,Hn)=>zn+Hn,0):pt.overflows[0],pt.overflows]}).sort((pt,re)=>pt[1]-re[1]),fo=((i=po.filter(pt=>pt[2].slice(0,$t(pt[0])?2:3).every(re=>re<=0))[0])==null?void 0:i[0])||po[0][0];return fo!==p?{data:{index:z+1,overflows:F},reset:{placement:fo}}:{}}}};var ao=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:a,placement:i}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:_=>{let{x:z,y:k}=_;return{x:z,y:k}}},...d}=$e(e,o),g={x:n,y:a},x=await ro(o,d),m=Ie(Jt(i)),v=to(m),O=g[v],E=g[m];if(l){let _=v==="y"?"top":"left",z=v==="y"?"bottom":"right",k=O+x[_],j=O-x[z];O=Qe(k,O,j)}if(c){let _=m==="y"?"top":"left",z=m==="y"?"bottom":"right",k=E+x[_],j=E-x[z];E=Qe(k,E,j)}let B=p.fn({...o,[v]:O,[m]:E});return{...B,data:{x:B.x-n,y:B.y-a}}}}};function Ot(e){return nn(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ct(e){var o;return(o=(nn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function nn(e){return e instanceof Node||e instanceof J(e).Node}function gt(e){return e instanceof Element||e instanceof J(e).Element}function ct(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function rn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function Qt(e){let{overflow:o,overflowX:n,overflowY:a,display:i}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&!["inline","contents"].includes(i)}function an(e){return["table","td","th"].includes(Ot(e))}function Te(e){let o=Pe(),n=et(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function ln(e){let o=zt(e);for(;ct(o)&&!ue(o);){if(Te(o))return o;o=zt(o)}return null}function Pe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ue(e){return["html","body","#document"].includes(Ot(e))}function et(e){return J(e).getComputedStyle(e)}function ge(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function zt(e){if(Ot(e)==="html")return e;let o=e.assignedSlot||e.parentNode||rn(e)&&e.host||Ct(e);return rn(o)?o.host:o}function cn(e){let o=zt(e);return ue(o)?e.ownerDocument?e.ownerDocument.body:e.body:ct(o)&&Qt(o)?o:cn(o)}function We(e,o,n){var a;o===void 0&&(o=[]),n===void 0&&(n=!0);let i=cn(e),l=i===((a=e.ownerDocument)==null?void 0:a.body),c=J(i);return l?o.concat(c,c.visualViewport||[],Qt(i)?i:[],c.frameElement&&n?We(c.frameElement):[]):o.concat(i,We(i,[],n))}function dn(e){let o=et(e),n=parseFloat(o.width)||0,a=parseFloat(o.height)||0,i=ct(e),l=i?e.offsetWidth:n,c=i?e.offsetHeight:a,p=he(n)!==l||he(a)!==c;return p&&(n=l,a=c),{width:n,height:a,$:p}}function fn(e){return gt(e)?e:e.contextElement}function te(e){let o=fn(e);if(!ct(o))return St(1);let n=o.getBoundingClientRect(),{width:a,height:i,$:l}=dn(o),c=(l?he(n.width):n.width)/a,p=(l?he(n.height):n.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var ta=St(0);function hn(e){let o=J(e);return!Pe()||!o.visualViewport?ta:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ea(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==J(e)?!1:o}function me(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),l=fn(e),c=St(1);o&&(a?gt(a)&&(c=te(a)):c=te(e));let p=ea(l,n,a)?hn(l):St(0),d=(i.left+p.x)/c.x,g=(i.top+p.y)/c.y,x=i.width/c.x,m=i.height/c.y;if(l){let v=J(l),O=a&>(a)?J(a):a,E=v.frameElement;for(;E&&a&&O!==v;){let B=te(E),_=E.getBoundingClientRect(),z=et(E),k=_.left+(E.clientLeft+parseFloat(z.paddingLeft))*B.x,j=_.top+(E.clientTop+parseFloat(z.paddingTop))*B.y;d*=B.x,g*=B.y,x*=B.x,m*=B.y,d+=k,g+=j,E=J(E).frameElement}}return Bt({width:x,height:m,x:d,y:g})}function oa(e){let{rect:o,offsetParent:n,strategy:a}=e,i=ct(n),l=Ct(n);if(n===l)return o;let c={scrollLeft:0,scrollTop:0},p=St(1),d=St(0);if((i||!i&&a!=="fixed")&&((Ot(n)!=="body"||Qt(l))&&(c=ge(n)),ct(n))){let g=me(n);p=te(n),d.x=g.x+n.clientLeft,d.y=g.y+n.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-c.scrollLeft*p.x+d.x,y:o.y*p.y-c.scrollTop*p.y+d.y}}function ra(e){return Array.from(e.getClientRects())}function un(e){return me(Ct(e)).left+ge(e).scrollLeft}function na(e){let o=Ct(e),n=ge(e),a=e.ownerDocument.body,i=Lt(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),l=Lt(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-n.scrollLeft+un(e),p=-n.scrollTop;return et(a).direction==="rtl"&&(c+=Lt(o.clientWidth,a.clientWidth)-i),{width:i,height:l,x:c,y:p}}function aa(e,o){let n=J(e),a=Ct(e),i=n.visualViewport,l=a.clientWidth,c=a.clientHeight,p=0,d=0;if(i){l=i.width,c=i.height;let g=Pe();(!g||g&&o==="fixed")&&(p=i.offsetLeft,d=i.offsetTop)}return{width:l,height:c,x:p,y:d}}function ia(e,o){let n=me(e,!0,o==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,l=ct(e)?te(e):St(1),c=e.clientWidth*l.x,p=e.clientHeight*l.y,d=i*l.x,g=a*l.y;return{width:c,height:p,x:d,y:g}}function sn(e,o,n){let a;if(o==="viewport")a=aa(e,n);else if(o==="document")a=na(Ct(e));else if(gt(o))a=ia(o,n);else{let i=hn(e);a={...o,x:o.x-i.x,y:o.y-i.y}}return Bt(a)}function gn(e,o){let n=zt(e);return n===o||!gt(n)||ue(n)?!1:et(n).position==="fixed"||gn(n,o)}function la(e,o){let n=o.get(e);if(n)return n;let a=We(e,[],!1).filter(p=>gt(p)&&Ot(p)!=="body"),i=null,l=et(e).position==="fixed",c=l?zt(e):e;for(;gt(c)&&!ue(c);){let p=et(c),d=Te(c);!d&&p.position==="fixed"&&(i=null),(l?!d&&!i:!d&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Qt(c)&&!d&&gn(e,c))?a=a.filter(x=>x!==c):i=p,c=zt(c)}return o.set(e,a),a}function ca(e){let{element:o,boundary:n,rootBoundary:a,strategy:i}=e,c=[...n==="clippingAncestors"?la(o,this._c):[].concat(n),a],p=c[0],d=c.reduce((g,x)=>{let m=sn(o,x,i);return g.top=Lt(m.top,g.top),g.right=fe(m.right,g.right),g.bottom=fe(m.bottom,g.bottom),g.left=Lt(m.left,g.left),g},sn(o,p,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function sa(e){return dn(e)}function pa(e,o,n){let a=ct(o),i=Ct(o),l=n==="fixed",c=me(e,!0,l,o),p={scrollLeft:0,scrollTop:0},d=St(0);if(a||!a&&!l)if((Ot(o)!=="body"||Qt(i))&&(p=ge(o)),a){let g=me(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else i&&(d.x=un(i));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function pn(e,o){return!ct(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function mn(e,o){let n=J(e);if(!ct(e))return n;let a=pn(e,o);for(;a&&an(a)&&et(a).position==="static";)a=pn(a,o);return a&&(Ot(a)==="html"||Ot(a)==="body"&&et(a).position==="static"&&!Te(a))?n:a||ln(e)||n}var da=async function(e){let{reference:o,floating:n,strategy:a}=e,i=this.getOffsetParent||mn,l=this.getDimensions;return{reference:pa(o,await i(n),a),floating:{x:0,y:0,...await l(n)}}};function fa(e){return et(e).direction==="rtl"}var Be={convertOffsetParentRelativeRectToViewportRelativeRect:oa,getDocumentElement:Ct,getClippingRect:ca,getOffsetParent:mn,getElementRects:da,getClientRects:ra,getDimensions:sa,getScale:te,isElement:gt,isRTL:fa};var yn=(e,o,n)=>{let a=new Map,i={platform:Be,...n},l={...i.platform,_c:a};return on(e,o,{...i,platform:l})};function bn(e){return ha(e)}function io(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ha(e){for(let o=e;o;o=io(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=io(e);o;o=io(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function xn(e,o,n){return yn(e,o,{platform:{...Be,getOffsetParent:a=>Be.getOffsetParent(a,bn)},middleware:[ao({crossAxis:!0}),no({allowedPlacements:[n]})]})}var Q=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},I=class extends ye.FtLitElement{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 ye.Debouncer,this.revealDebouncer=new ye.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Sn.html`
|
|
585
585
|
<div part="container"
|
|
586
586
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
587
587
|
@mouseenter=${this.onHover}
|
|
@@ -606,10 +606,10 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
606
606
|
<div></div>
|
|
607
607
|
<div></div>
|
|
608
608
|
</div>
|
|
609
|
-
`}};Ht.styles=Sr;(0,Nn.customElement)("ft-loader")(Ht);var ee=y(U()),wn=y(ve()),
|
|
609
|
+
`}};Ht.styles=Sr;(0,Nn.customElement)("ft-loader")(Ht);var ee=y(U()),wn=y(ve()),V=y(dt()),tt=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},P=class extends(0,oe.toFtFormComponent)(oe.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var n;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(ee.html`
|
|
610
610
|
<button part="button"
|
|
611
611
|
class="${(0,wn.classMap)(this.buttonClasses)}"
|
|
612
|
-
aria-label="${this.getLabel()}"
|
|
612
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
613
613
|
?disabled=${this.isDisabled()}>
|
|
614
614
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
615
615
|
<ft-typography part="label"
|
|
@@ -632,7 +632,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
632
632
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
633
633
|
`:ee.html`
|
|
634
634
|
<slot part="icon" name="icon"></slot>
|
|
635
|
-
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
635
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};P.elementDefinitions={"ft-ripple":$,"ft-tooltip":I,"ft-typography":lt,"ft-icon":nt,"ft-loader":Ht};tt([(0,V.property)({type:String,reflect:!0})],P.prototype,"role",void 0);tt([(0,V.property)()],P.prototype,"type",void 0);tt([(0,V.property)({type:Boolean})],P.prototype,"disabled",void 0);tt([(0,V.property)()],P.prototype,"label",void 0);tt([(0,V.property)()],P.prototype,"icon",void 0);tt([(0,V.property)()],P.prototype,"iconVariant",void 0);tt([(0,V.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);tt([(0,V.property)({type:Boolean})],P.prototype,"loading",void 0);tt([(0,V.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);tt([(0,V.property)()],P.prototype,"tooltipPosition",void 0);tt([(0,V.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);tt([(0,V.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);tt([(0,V.query)(".ft-button")],P.prototype,"button",void 0);tt([(0,V.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);var ze=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},st=class extends P{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};st.styles=[En.safariEllipsisFix,Nr];ze([(0,be.property)({type:Boolean})],st.prototype,"primary",void 0);ze([(0,be.property)({type:Boolean})],st.prototype,"outlined",void 0);ze([(0,be.property)({type:Boolean})],st.prototype,"dense",void 0);ze([(0,be.property)({type:Boolean})],st.prototype,"round",void 0);var xe=y(dt());var _e=y(R());var Rn=y(U()),C=y(R());var An=[Rn.css`
|
|
636
636
|
:host {
|
|
637
637
|
display: inline-block;
|
|
638
638
|
max-width: 100%;
|
|
@@ -716,7 +716,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
716
716
|
/** Primary styles **/
|
|
717
717
|
|
|
718
718
|
.ft-button--primary {
|
|
719
|
-
${(0,C.setVariable)(
|
|
719
|
+
${(0,C.setVariable)(X.color,f.primaryIconColor)};
|
|
720
720
|
|
|
721
721
|
${(0,C.setVariable)(w.color,f.primaryStateLayerColor)};
|
|
722
722
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.primaryHoverStateLayerOpacity)};
|
|
@@ -740,7 +740,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
740
740
|
/** Secondary styles **/
|
|
741
741
|
|
|
742
742
|
.ft-button--secondary {
|
|
743
|
-
${(0,C.setVariable)(
|
|
743
|
+
${(0,C.setVariable)(X.color,f.secondaryIconColor)};
|
|
744
744
|
|
|
745
745
|
${(0,C.setVariable)(w.color,f.secondaryStateLayerColor)};
|
|
746
746
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.secondaryHoverStateLayerOpacity)};
|
|
@@ -765,7 +765,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
765
765
|
/** Tertiary styles **/
|
|
766
766
|
|
|
767
767
|
.ft-button--tertiary {
|
|
768
|
-
${(0,C.setVariable)(
|
|
768
|
+
${(0,C.setVariable)(X.color,f.tertiaryIconColor)};
|
|
769
769
|
|
|
770
770
|
${(0,C.setVariable)(w.color,f.tertiaryStateLayerColor)};
|
|
771
771
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.tertiaryHoverStateLayerOpacity)};
|
|
@@ -789,7 +789,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
789
789
|
/** Neutral styles **/
|
|
790
790
|
|
|
791
791
|
.ftds--family-neutral {
|
|
792
|
-
${(0,C.setVariable)(
|
|
792
|
+
${(0,C.setVariable)(X.color,f.neutralIconColor)};
|
|
793
793
|
|
|
794
794
|
${(0,C.setVariable)(w.backgroundColor,f.neutralStateLayerColor)};
|
|
795
795
|
${(0,C.setVariable)(w.opacityContentOnSurfaceHover,f.neutralHoverStateLayerOpacity)};
|
|
@@ -813,8 +813,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
813
813
|
/** Large styles **/
|
|
814
814
|
|
|
815
815
|
.ftds--size-large {
|
|
816
|
-
${(0,C.setVariable)(j.size,f.largeIconSize)};
|
|
817
816
|
${(0,C.setVariable)(Y.size,f.largeIconSize)};
|
|
817
|
+
${(0,C.setVariable)(X.size,f.largeIconSize)};
|
|
818
818
|
|
|
819
819
|
height: ${f.largeHeight};
|
|
820
820
|
padding: 0 ${f.largeHorizontalPadding};
|
|
@@ -835,8 +835,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
835
835
|
/** Small styles **/
|
|
836
836
|
|
|
837
837
|
.ftds--size-medium {
|
|
838
|
-
${(0,C.setVariable)(j.size,f.mediumIconSize)};
|
|
839
838
|
${(0,C.setVariable)(Y.size,f.mediumIconSize)};
|
|
839
|
+
${(0,C.setVariable)(X.size,f.mediumIconSize)};
|
|
840
840
|
|
|
841
841
|
height: ${f.mediumHeight};
|
|
842
842
|
padding: 0 ${f.mediumHorizontalPadding};
|
|
@@ -858,8 +858,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
858
858
|
/** Small styles **/
|
|
859
859
|
|
|
860
860
|
.ftds--size-small {
|
|
861
|
-
${(0,C.setVariable)(j.size,f.smallIconSize)};
|
|
862
861
|
${(0,C.setVariable)(Y.size,f.smallIconSize)};
|
|
862
|
+
${(0,C.setVariable)(X.size,f.smallIconSize)};
|
|
863
863
|
|
|
864
864
|
height: ${f.smallHeight};
|
|
865
865
|
padding: 0 ${f.smallHorizontalPadding};
|
|
@@ -876,7 +876,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
876
876
|
.ftds--size-small.ft-button--icon-only {
|
|
877
877
|
width: ${f.smallIconOnlyWidth};
|
|
878
878
|
}
|
|
879
|
-
`,C.noTextSelect];var He=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},vt=class extends(0,_e.toFtdsBase)(
|
|
879
|
+
`,C.noTextSelect];var He=function(e,o,n,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,n,l):c(o,n))||l);return i>3&&l&&Object.defineProperty(o,n,l),l},vt=class extends(0,_e.toFtdsBase)(P){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=we.brand,this.iconVariant=ft.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case kt.large:return At.body2medium;case kt.medium:return At.caption1medium;case kt.small:return At.caption2medium}}};vt.styles=[_e.safariEllipsisFix,An];He([(0,xe.property)({type:Boolean})],vt.prototype,"primary",void 0);He([(0,xe.property)({type:Boolean})],vt.prototype,"secondary",void 0);He([(0,xe.property)({type:Boolean})],vt.prototype,"tertiary",void 0);He([(0,xe.property)({type:Boolean})],vt.prototype,"round",void 0);(0,lo.customElement)("ft-button")(st);(0,lo.customElement)("ftds-button")(vt);var Wn=y(R());var In=y(U()),_t=y(dt()),ke=y(R());var Nt;(function(e){e.S="S",e.M="M",e.L="L",e.XL="XL",e.XXL="XXL"})(Nt||(Nt={}));var Ln=y(U());var $n=Ln.css`
|
|
880
880
|
.ft-size-watcher--pixel {
|
|
881
881
|
width: 0;
|
|
882
882
|
height: 0;
|