@triptease/tt-navbar 0.0.64 → 0.0.65

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Config.ts", "../../src/getInitialNavbarState.ts"],
4
- "sourcesContent": ["const Config = {\n NavbarStateCookieName: 'tt-navbar-state',\n NavbarStateCookieOpenValue: 'open' as 'open',\n NavbarStateCookieClosedValue: 'closed' as 'closed',\n};\n\nexport { Config };\n", "import { Config } from './Config.js';\n\nconst getInitialNavbarState = (cookieString?: string) => {\n const cookies = cookieString || document.cookie;\n\n if (!cookies) {\n return undefined;\n }\n\n const stateCookie = cookies\n .split(';')\n .find(c => c.trim().startsWith(`${Config.NavbarStateCookieName}`));\n\n if (!stateCookie) {\n return undefined;\n }\n\n const value = stateCookie.split('=')[1];\n\n if (\n value !== Config.NavbarStateCookieOpenValue &&\n value !== Config.NavbarStateCookieClosedValue\n ) {\n return undefined;\n }\n\n return value;\n};\n\nexport { getInitialNavbarState };\n"],
5
- "mappings": ";;;;;AAAA,IAAM,SAAS;AAAA,EACb,uBAAuB;AAAA,EACvB,4BAA4B;AAAA,EAC5B,8BAA8B;AAChC;;;ACFA,IAAM,wBAAwB,CAAC,iBAA0B;AACvD,QAAM,UAAU,gBAAgB,SAAS;AAEzC,MAAI,CAAC,SAAS;AACZ,WAAO;AAAA,EACT;AAEA,QAAM,cAAc,QACjB,MAAM,GAAG,EACT,KAAK,OAAK,EAAE,KAAK,EAAE,WAAW,GAAG,OAAO,qBAAqB,EAAE,CAAC;AAEnE,MAAI,CAAC,aAAa;AAChB,WAAO;AAAA,EACT;AAEA,QAAM,QAAQ,YAAY,MAAM,GAAG,EAAE,CAAC;AAEtC,MACE,UAAU,OAAO,8BACjB,UAAU,OAAO,8BACjB;AACA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;",
4
+ "sourcesContent": ["const Config = {\n NavbarStateCookieName: 'tt-navbar-state',\n NavbarStateCookieOpenValue: 'open' as const,\n NavbarStateCookieClosedValue: 'closed' as const,\n};\n\nexport { Config };\n", "import { Config } from './Config.js';\n\nconst getInitialNavbarState = (cookieString?: string) => {\n const cookies = cookieString || document.cookie;\n\n if (!cookies) {\n return undefined;\n }\n\n const stateCookie = cookies.split(';').find((c) => c.trim().startsWith(`${Config.NavbarStateCookieName}`));\n\n if (!stateCookie) {\n return undefined;\n }\n\n const value = stateCookie.split('=')[1];\n\n if (value !== Config.NavbarStateCookieOpenValue && value !== Config.NavbarStateCookieClosedValue) {\n return undefined;\n }\n\n return value;\n};\n\nexport { getInitialNavbarState };\n"],
5
+ "mappings": ";;;;;AAAA,IAAM,SAAS;AAAA,EACb,uBAAuB;AAAA,EACvB,4BAA4B;AAAA,EAC5B,8BAA8B;AAChC;;;ACFA,IAAM,wBAAwB,CAAC,iBAA0B;AACvD,QAAM,UAAU,gBAAgB,SAAS;AAEzC,MAAI,CAAC,SAAS;AACZ,WAAO;AAAA,EACT;AAEA,QAAM,cAAc,QAAQ,MAAM,GAAG,EAAE,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,OAAO,qBAAqB,EAAE,CAAC;AAEzG,MAAI,CAAC,aAAa;AAChB,WAAO;AAAA,EACT;AAEA,QAAM,QAAQ,YAAY,MAAM,GAAG,EAAE,CAAC;AAEtC,MAAI,UAAU,OAAO,8BAA8B,UAAU,OAAO,8BAA8B;AAChG,WAAO;AAAA,EACT;AAEA,SAAO;AACT;",
6
6
  "names": []
7
7
  }
package/dist/web/index.js CHANGED
@@ -3,12 +3,12 @@
3
3
  */
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __decorateClass = (decorators, target, key, kind) => {
7
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6
+ var __decorateClass = (decorators, target2, key, kind) => {
7
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target2, key) : target2;
8
8
  for (var i7 = decorators.length - 1, decorator; i7 >= 0; i7--)
9
9
  if (decorator = decorators[i7])
10
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result) __defProp(target, key, result);
10
+ result = (kind ? decorator(target2, key, result) : decorator(result)) || result;
11
+ if (kind && result) __defProp(target2, key, result);
12
12
  return result;
13
13
  };
14
14
 
@@ -686,22 +686,22 @@ var t4 = class extends e8 {
686
686
  t4.directiveName = "unsafeSVG", t4.resultType = 2;
687
687
  var o8 = e7(t4);
688
688
 
689
- // node_modules/@triptease/icons/dist/src/icons/alert.js
689
+ // ../icons/dist/src/icons/alert.js
690
690
  var alert = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
691
691
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20ZM9.25 5.75C9.25 5.33579 9.58579 5 10 5C10.4142 5 10.75 5.33579 10.75 5.75V11.25C10.75 11.6642 10.4142 12 10 12C9.58579 12 9.25 11.6642 9.25 11.25V5.75ZM10.75 13.75C10.75 14.1642 10.4142 14.5 10 14.5C9.58579 14.5 9.25 14.1642 9.25 13.75C9.25 13.3358 9.58579 13 10 13C10.4142 13 10.75 13.3358 10.75 13.75Z" fill="#3B353B"/>
692
692
  </svg>`;
693
693
 
694
- // node_modules/@triptease/icons/dist/src/icons/campaigns.js
694
+ // ../icons/dist/src/icons/campaigns.js
695
695
  var campaigns = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
696
696
  <path fill-rule="evenodd" clip-rule="evenodd" d="M13.75 11C13.75 9.47056 14.1646 8.11984 14.7956 7.17338C15.1658 6.61803 15.5905 6.22612 16.0341 5.99602L17.0795 5.75165C17.8298 5.78274 18.5916 6.25415 19.2044 7.17338C19.8354 8.11984 20.25 9.47056 20.25 11C20.25 12.5294 19.8354 13.8802 19.2044 14.8266C18.5916 15.7458 17.8298 16.2173 17.0794 16.2484L16.0341 16.004C15.5905 15.7739 15.1659 15.382 14.7956 14.8266C14.1646 13.8802 13.75 12.5294 13.75 11ZM12.25 11C12.25 9.3468 12.6627 7.80949 13.373 6.61808L5.48783 8.46138C4.46994 8.69932 3.75 9.60698 3.75 10.6523V11.3477C3.75 12.393 4.46994 13.3007 5.48783 13.5386L13.373 15.3819C12.6627 14.1905 12.25 12.6532 12.25 11ZM5.14639 7.00075L15.5263 4.57427C15.9817 4.36663 16.4756 4.25 17 4.25C18.4334 4.25 19.6392 5.12146 20.4525 6.34133C21.2692 7.56645 21.75 9.21573 21.75 11C21.75 12.7843 21.2692 14.4335 20.4525 15.6587C19.6392 16.8785 18.4334 17.75 17 17.75C16.4756 17.75 15.9817 17.6334 15.5263 17.4257L11.75 16.5429V17.5C11.75 19.2949 10.2949 20.75 8.5 20.75C6.70507 20.75 5.25 19.2949 5.25 17.5V15.0235L5.14639 14.9992C3.4499 14.6027 2.25 13.0899 2.25 11.3477V10.6523C2.25 8.91009 3.4499 7.39734 5.14639 7.00075ZM6.75 15.3741V17.5C6.75 18.4665 7.5335 19.25 8.5 19.25C9.4665 19.25 10.25 18.4665 10.25 17.5V16.1923L6.75 15.3741Z" />
697
697
  </svg>`;
698
698
 
699
- // node_modules/@triptease/icons/dist/src/icons/channels.js
699
+ // ../icons/dist/src/icons/channels.js
700
700
  var channels = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
701
701
  <path d="M18 3C19.6569 3 21 4.34315 21 6C21 7.65685 19.6569 9 18 9C17.4435 9 16.9243 8.84513 16.4775 8.58105L15.3076 9.75098C15.7443 10.3919 16 11.166 16 12C16 12.8334 15.7437 13.6064 15.3076 14.2471L16.4775 15.417C16.9241 15.1532 17.4438 15 18 15C19.6569 15 21 16.3431 21 18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18C15 17.4438 15.1532 16.9241 15.417 16.4775L14.2471 15.3076C13.6064 15.7437 12.8334 16 12 16C11.166 16 10.3919 15.7443 9.75098 15.3076L8.58105 16.4775C8.84513 16.9243 9 17.4435 9 18C9 19.6569 7.65685 21 6 21C4.34315 21 3 19.6569 3 18C3 16.3431 4.34315 15 6 15C6.55558 15 7.07429 15.1538 7.52051 15.417L8.69141 14.2471C8.2555 13.6065 8 12.8332 8 12C8 11.1665 8.25523 10.3927 8.69141 9.75195L7.52148 8.58203C7.07501 8.84569 6.55606 9 6 9C4.34315 9 3 7.65685 3 6C3 4.34315 4.34315 3 6 3C7.65685 3 9 4.34315 9 6C9 6.55606 8.84569 7.07501 8.58203 7.52148L9.75195 8.69141C9.73784 8.70101 9.72394 8.71092 9.70996 8.7207C10.3587 8.26679 11.1481 8 12 8C12.833 8 13.6066 8.25472 14.2471 8.69043L15.417 7.52051C15.1538 7.07429 15 6.55558 15 6C15 4.34315 16.3431 3 18 3ZM6 16.5C5.17157 16.5 4.5 17.1716 4.5 18C4.5 18.8284 5.17157 19.5 6 19.5C6.82843 19.5 7.5 18.8284 7.5 18C7.5 17.1716 6.82843 16.5 6 16.5ZM18 16.5C17.1716 16.5 16.5 17.1716 16.5 18C16.5 18.8284 17.1716 19.5 18 19.5C18.8284 19.5 19.5 18.8284 19.5 18C19.5 17.1716 18.8284 16.5 18 16.5ZM12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5ZM6 4.5C5.17157 4.5 4.5 5.17157 4.5 6C4.5 6.82843 5.17157 7.5 6 7.5C6.82843 7.5 7.5 6.82843 7.5 6C7.5 5.17157 6.82843 4.5 6 4.5ZM18 4.5C17.1716 4.5 16.5 5.17157 16.5 6C16.5 6.82843 17.1716 7.5 18 7.5C18.8284 7.5 19.5 6.82843 19.5 6C19.5 5.17157 18.8284 4.5 18 4.5Z" />
702
702
  </svg>`;
703
703
 
704
- // node_modules/@triptease/icons/dist/src/icons/chevron-down.js
704
+ // ../icons/dist/src/icons/chevron-down.js
705
705
  var chevronDown = `
706
706
  <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-chevron-down chevron-down"
707
707
  viewBox="0 0 16 16" role="presentation">
@@ -710,53 +710,53 @@ var chevronDown = `
710
710
  stroke="currentColor"/>
711
711
  </svg>`;
712
712
 
713
- // node_modules/@triptease/icons/dist/src/icons/external.js
713
+ // ../icons/dist/src/icons/external.js
714
714
  var external = `<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
715
715
  <path d="M6 2C6.41421 2 6.75 2.33579 6.75 2.75C6.75 3.16421 6.41421 3.5 6 3.5H4.75C4.05964 3.5 3.5 4.05964 3.5 4.75V11.25C3.5 11.9404 4.05964 12.5 4.75 12.5H11.25C11.9404 12.5 12.5 11.9404 12.5 11.25V10C12.5 9.58579 12.8358 9.25 13.25 9.25C13.6642 9.25 14 9.58579 14 10V11.25C14 12.7688 12.7688 14 11.25 14H4.75C3.23122 14 2 12.7688 2 11.25V4.75C2 3.23122 3.23122 2 4.75 2H6ZM14 6C14 6.41421 13.6642 6.75 13.25 6.75C12.8358 6.75 12.5 6.41421 12.5 6V4.56055L8.03027 9.03027C7.73738 9.32317 7.26262 9.32317 6.96973 9.03027C6.67683 8.73738 6.67683 8.26262 6.96973 7.96973L11.4395 3.5H10C9.58579 3.5 9.25 3.16421 9.25 2.75C9.25 2.33579 9.58579 2 10 2H14V6Z" fill="#D3D3DA"/>
716
716
  </svg>`;
717
717
 
718
- // node_modules/@triptease/icons/dist/src/icons/gear.js
718
+ // ../icons/dist/src/icons/gear.js
719
719
  var gear = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
720
720
  <path d="M13.4678 2C13.9142 2.00002 14.307 2.2963 14.4297 2.72559L15.0049 4.74219L16.8398 3.72363C17.1813 3.53396 17.5973 3.56262 17.9072 3.78418L18.0332 3.89062L20.1084 5.9668C20.4241 6.2825 20.4932 6.76987 20.2764 7.16016L19.2568 8.99316L21.2744 9.57031C21.6502 9.67769 21.9239 9.9921 21.9863 10.3682L22 10.5322V13.4678C22 13.9142 21.7037 14.307 21.2744 14.4297L19.2568 15.0049L20.2764 16.8398C20.4661 17.1813 20.4374 17.5972 20.2158 17.9072L20.1094 18.0332L18.0332 20.1084C17.7175 20.4241 17.2301 20.4932 16.8398 20.2764L15.0049 19.2568L14.4297 21.2744C14.3223 21.6502 14.0079 21.9239 13.6318 21.9863L13.4678 22H10.5322C10.0858 22 9.69297 21.7037 9.57031 21.2744L8.99316 19.2568L7.16016 20.2764C6.81867 20.466 6.40275 20.4374 6.09277 20.2158L5.9668 20.1094L3.8916 18.0332C3.5759 17.7175 3.50683 17.2301 3.72363 16.8398L4.74219 15.0059L2.72559 14.4297C2.34982 14.3223 2.07606 14.0079 2.01367 13.6318L2 13.4678V10.5322C2.00005 10.0858 2.29632 9.69296 2.72559 9.57031L4.74219 8.99316L3.72363 7.16016C3.53394 6.81866 3.5626 6.40276 3.78418 6.09277L3.89062 5.9668L5.9668 3.8916C6.28251 3.57589 6.76986 3.5068 7.16016 3.72363L8.99316 4.74219L9.57031 2.72559C9.67768 2.34981 9.99209 2.07606 10.3682 2.01367L10.5322 2H13.4678ZM10.4014 5.27148C9.70554 5.47089 9.05368 5.77388 8.46484 6.16504L6.76074 5.21875L5.21777 6.76074L6.22363 8.57031L6.23242 8.56738C5.91398 9.13213 5.67275 9.74545 5.52051 10.3936L5.49023 10.3398L3.5 10.9092V13.0908L5.49121 13.6592L5.52051 13.6055C5.67256 14.2532 5.91338 14.8662 6.23145 15.4307L6.22363 15.4287L5.21875 17.2393L5.21777 17.2383V17.2393H5.21875L6.76074 18.7822L8.46484 17.834C9.05398 18.2254 9.7061 18.5281 10.4023 18.7275L10.9092 20.5H13.0908L13.5488 18.8916C14.3898 18.7443 15.1787 18.4482 15.8877 18.0293L17.2393 18.7812L18.7822 17.2393L18.085 15.9863C18.6037 15.2393 18.9814 14.3876 19.1777 13.4678L20.5 13.0908V10.9092L19.1777 10.5303C18.9812 9.61065 18.6038 8.75856 18.085 8.01172L18.7812 6.76074L17.2393 5.21777L15.8857 5.96875C15.1773 5.55053 14.389 5.25458 13.5488 5.10742L13.0908 3.5H10.9092L10.4014 5.27148ZM12 8C14.2091 8 16 9.79086 16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8ZM12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5Z" />
721
721
  <path d="M13.6328 2.01367C14.0085 2.07631 14.3224 2.35007 14.4297 2.72559L15.0049 4.74219L16.8398 3.72363C17.1813 3.53396 17.5973 3.56262 17.9072 3.78418L18.0332 3.89062L20.1084 5.9668L20.2158 6.09277C20.4372 6.40274 20.466 6.81875 20.2764 7.16016L19.2568 8.99316L21.2744 9.57031C21.6502 9.67769 21.9239 9.9921 21.9863 10.3682L22 10.5322V13.4678L21.9863 13.6328C21.9237 14.0085 21.6499 14.3224 21.2744 14.4297L19.2568 15.0049L20.2764 16.8398C20.4661 17.1813 20.4374 17.5972 20.2158 17.9072L20.1094 18.0332L18.0332 20.1084L17.9072 20.2158C17.5973 20.4372 17.1813 20.466 16.8398 20.2764L15.0049 19.2568L14.4297 21.2744C14.3223 21.6502 14.0079 21.9239 13.6318 21.9863L13.4678 22H10.5322L10.3672 21.9863C9.99146 21.9237 9.6776 21.6499 9.57031 21.2744L8.99316 19.2568L7.16016 20.2764C6.81867 20.466 6.40275 20.4374 6.09277 20.2158L5.9668 20.1094L3.8916 18.0332L3.78418 17.9072C3.56278 17.5973 3.53398 17.1812 3.72363 16.8398L4.74219 15.0059L2.72559 14.4297C2.34982 14.3223 2.07606 14.0079 2.01367 13.6318L2 13.4678V10.5322L2.01367 10.3672C2.07633 9.99149 2.35009 9.6776 2.72559 9.57031L4.74219 8.99316L3.72363 7.16016C3.53394 6.81866 3.5626 6.40276 3.78418 6.09277L3.89062 5.9668L5.9668 3.8916L6.09277 3.78418C6.40275 3.56277 6.81875 3.53396 7.16016 3.72363L8.99316 4.74219L9.57031 2.72559C9.67768 2.34981 9.99209 2.07606 10.3682 2.01367L10.5322 2H13.4678L13.6328 2.01367ZM10.4014 5.27148C9.70554 5.47089 9.05368 5.77388 8.46484 6.16504L6.76074 5.21875L5.21777 6.76074L6.22363 8.57031L6.23242 8.56738C5.91398 9.13213 5.67275 9.74545 5.52051 10.3936L5.49023 10.3398L3.5 10.9092V13.0908L5.49121 13.6592L5.52051 13.6055C5.67256 14.2532 5.91338 14.8662 6.23145 15.4307L6.22363 15.4287L5.21875 17.2393L5.21777 17.2383V17.2393H5.21875L6.76074 18.7822L8.46484 17.834C9.05398 18.2254 9.7061 18.5281 10.4023 18.7275L10.9092 20.5H13.0908L13.5488 18.8916C14.3898 18.7443 15.1787 18.4482 15.8877 18.0293L17.2393 18.7812L18.7822 17.2393L18.085 15.9863C18.6037 15.2393 18.9814 14.3876 19.1777 13.4678L20.5 13.0908V10.9092L19.1777 10.5303C18.9812 9.61065 18.6038 8.75856 18.085 8.01172L18.7812 6.76074L17.2393 5.21777L15.8857 5.96875C15.1773 5.55053 14.389 5.25458 13.5488 5.10742L13.0908 3.5H10.9092L10.4014 5.27148ZM12 8C14.2091 8 16 9.79086 16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8ZM12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5Z" />
722
722
  </svg>`;
723
723
 
724
- // node_modules/@triptease/icons/dist/src/icons/graph.js
724
+ // ../icons/dist/src/icons/graph.js
725
725
  var graph = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
726
726
  <path d="M18.1543 3.00391C19.7394 3.08421 21 4.39489 21 6V18L20.9961 18.1543C20.9184 19.6883 19.6883 20.9184 18.1543 20.9961L18 21H6C4.39489 21 3.08421 19.7394 3.00391 18.1543L3 18V6C3 4.34315 4.34315 3 6 3H18L18.1543 3.00391ZM6 4.5C5.17157 4.5 4.5 5.17157 4.5 6V18C4.5 18.8284 5.17157 19.5 6 19.5H18C18.8284 19.5 19.5 18.8284 19.5 18V6C19.5 5.17157 18.8284 4.5 18 4.5H6ZM8 9C8.41421 9 8.75 9.33579 8.75 9.75V16.25C8.75 16.6642 8.41421 17 8 17C7.58579 17 7.25 16.6642 7.25 16.25V9.75C7.25 9.33579 7.58579 9 8 9ZM12 12C12.4142 12 12.75 12.3358 12.75 12.75V16.25C12.75 16.6642 12.4142 17 12 17C11.5858 17 11.25 16.6642 11.25 16.25V12.75C11.25 12.3358 11.5858 12 12 12ZM16 9C16.4142 9 16.75 9.33579 16.75 9.75V16.25C16.75 16.6642 16.4142 17 16 17C15.5858 17 15.25 16.6642 15.25 16.25V9.75C15.25 9.33579 15.5858 9 16 9Z" />
727
727
  </svg>`;
728
728
 
729
- // node_modules/@triptease/icons/dist/src/icons/home.js
729
+ // ../icons/dist/src/icons/home.js
730
730
  var home = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
731
731
  <path d="M10.7725 3.95499C11.4946 3.39358 12.5054 3.39358 13.2275 3.95499L20.2275 9.39936C20.7146 9.77822 20.9999 10.3614 21 10.9785V18C21 19.6051 19.7394 20.9158 18.1543 20.9961L18 21H6C4.39489 21 3.08421 19.7394 3.00391 18.1543L3 18V10.9785C3.00007 10.4386 3.21792 9.92445 3.59863 9.55073L3.77246 9.39936L10.7725 3.95499ZM12.3066 5.13859C12.1263 4.99869 11.8737 4.99869 11.6934 5.13859L4.69336 10.583C4.57163 10.6776 4.50008 10.8243 4.5 10.9785V18C4.5 18.8284 5.17157 19.5 6 19.5H8V16C8.00014 14.3432 9.34323 13 11 13H13C14.6568 13 15.9999 14.3432 16 16V19.5H18C18.8284 19.5 19.5 18.8284 19.5 18V10.9785C19.4999 10.8243 19.4284 10.6776 19.3066 10.583L12.3066 5.13859ZM11 14.5C10.1717 14.5 9.50014 15.1717 9.5 16V19.5H14.5V16C14.4999 15.1717 13.8283 14.5 13 14.5H11Z" />
732
732
  </svg>`;
733
733
 
734
- // node_modules/@triptease/icons/dist/src/icons/logout.js
734
+ // ../icons/dist/src/icons/logout.js
735
735
  var logout = `<svg width="17" height="20" viewBox="0 0 17 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
736
736
  <path d="M12 0C12.4142 0 12.75 0.335786 12.75 0.75C12.75 1.16421 12.4142 1.5 12 1.5H3.75C2.50736 1.5 1.5 2.50736 1.5 3.75V16.25C1.5 17.4926 2.50736 18.5 3.75 18.5H12C12.4142 18.5 12.75 18.8358 12.75 19.25C12.75 19.6642 12.4142 20 12 20H3.75C1.67893 20 0 18.3211 0 16.25V3.75C2.57706e-07 1.67893 1.67893 1.28851e-07 3.75 0H12ZM10.7197 5.71973C11.0125 5.42693 11.4874 5.42713 11.7803 5.71973L16.0605 10L11.7803 14.2803C11.4874 14.5729 11.0126 14.573 10.7197 14.2803C10.4272 13.9874 10.4272 13.5125 10.7197 13.2197L13.1895 10.75H6.5C6.08605 10.7498 5.7501 10.414 5.75 10C5.75009 9.58601 6.08604 9.25023 6.5 9.25H13.1895L10.7197 6.78027C10.4272 6.48743 10.4272 6.01254 10.7197 5.71973Z" />
737
737
  </svg>`;
738
738
 
739
- // node_modules/@triptease/icons/dist/src/icons/sidebar-collapsed.js
739
+ // ../icons/dist/src/icons/sidebar-collapsed.js
740
740
  var sidebarCollapsed = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
741
741
  <path d="M17 3.25C19.0711 3.25 20.75 4.92893 20.75 7V17C20.75 19.0711 19.0711 20.75 17 20.75H7C4.92893 20.75 3.25 19.0711 3.25 17V7C3.25 4.92893 4.92893 3.25 7 3.25H17ZM10 19.25H17C18.2426 19.25 19.25 18.2426 19.25 17V7C19.25 5.75736 18.2426 4.75 17 4.75H10V19.25Z"/>
742
742
  </svg>`;
743
743
 
744
- // node_modules/@triptease/icons/dist/src/icons/user.js
744
+ // ../icons/dist/src/icons/user.js
745
745
  var user = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
746
746
  <path d="M12 2C17.5228 2 22 6.47715 22 12C22 15.2098 20.4857 18.0638 18.1348 19.8936C18.0344 20.055 17.8763 20.1738 17.6875 20.2227C16.0725 21.3418 14.1137 22 12 22C9.88604 22 7.92664 21.3421 6.31152 20.2227C6.12294 20.1736 5.96441 20.055 5.86426 19.8936C3.51367 18.0638 2 15.2095 2 12C2 6.47715 6.47715 2 12 2ZM11.25 15.5C9.1884 15.5 7.49093 17.0597 7.27344 19.0635C8.62515 19.9698 10.2503 20.5 12 20.5C13.7494 20.5 15.374 19.9695 16.7256 19.0635C16.508 17.0598 14.8116 15.5 12.75 15.5H11.25ZM12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 14.3333 4.44073 16.4464 5.96289 17.9824C6.62169 15.683 8.73895 14 11.25 14H12.75C15.2609 14 17.3772 15.6832 18.0361 17.9824C19.5586 16.4464 20.5 14.3335 20.5 12C20.5 7.30558 16.6944 3.5 12 3.5ZM12 5.25C14.0711 5.25 15.75 6.92893 15.75 9C15.75 11.0711 14.0711 12.75 12 12.75C9.92893 12.75 8.25 11.0711 8.25 9C8.25 6.92893 9.92893 5.25 12 5.25ZM12 6.75C10.7574 6.75 9.75 7.75736 9.75 9C9.75 10.2426 10.7574 11.25 12 11.25C13.2426 11.25 14.25 10.2426 14.25 9C14.25 7.75736 13.2426 6.75 12 6.75Z" />
747
747
  </svg>`;
748
748
 
749
- // node_modules/@triptease/icons/dist/src/icons/wallet.js
749
+ // ../icons/dist/src/icons/wallet.js
750
750
  var wallet = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
751
751
  <path d="M14.2275 3.02681C16.5581 2.53634 18.7497 4.3152 18.75 6.69674V7.09518C20.0437 7.42823 20.9998 8.60187 21 9.99948V16.9995C21 18.6046 19.7394 19.9153 18.1543 19.9956L18 19.9995H6C4.39489 19.9995 3.08421 18.7389 3.00391 17.1538L3 16.9995V8.43405C3.00022 6.66092 4.2424 5.12941 5.97754 4.76412L14.2275 3.02681ZM6 8.49948C5.17173 8.49948 4.50026 9.17127 4.5 9.99948V16.9995C4.5 17.8279 5.17157 18.4995 6 18.4995H18C18.8284 18.4995 19.5 17.8279 19.5 16.9995V9.99948C19.4997 9.17127 18.8283 8.49948 18 8.49948H6ZM16.5 11.9995C17.3283 11.9995 17.9997 12.6713 18 13.4995C18 14.3279 17.3284 14.9995 16.5 14.9995C15.6716 14.9995 15 14.3279 15 13.4995C15.0003 12.6713 15.6717 11.9995 16.5 11.9995ZM17.25 6.69674C17.2497 5.26791 15.9344 4.20028 14.5361 4.49459L6.28613 6.2319C5.67607 6.36042 5.16896 6.73055 4.85254 7.22799C5.20609 7.08147 5.59347 6.99948 6 6.99948H17.25V6.69674Z" />
752
752
  </svg>`;
753
753
 
754
754
  // ../../node_modules/tslib/tslib.es6.mjs
755
- function __decorate(decorators, target, key, desc) {
756
- var c5 = arguments.length, r8 = c5 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
757
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r8 = Reflect.decorate(decorators, target, key, desc);
758
- else for (var i7 = decorators.length - 1; i7 >= 0; i7--) if (d3 = decorators[i7]) r8 = (c5 < 3 ? d3(r8) : c5 > 3 ? d3(target, key, r8) : d3(target, key)) || r8;
759
- return c5 > 3 && r8 && Object.defineProperty(target, key, r8), r8;
755
+ function __decorate(decorators, target2, key, desc) {
756
+ var c5 = arguments.length, r8 = c5 < 3 ? target2 : desc === null ? desc = Object.getOwnPropertyDescriptor(target2, key) : desc, d3;
757
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r8 = Reflect.decorate(decorators, target2, key, desc);
758
+ else for (var i7 = decorators.length - 1; i7 >= 0; i7--) if (d3 = decorators[i7]) r8 = (c5 < 3 ? d3(r8) : c5 > 3 ? d3(target2, key, r8) : d3(target2, key)) || r8;
759
+ return c5 > 3 && r8 && Object.defineProperty(target2, key, r8), r8;
760
760
  }
761
761
 
762
762
  // ../../node_modules/lit-html/directives/if-defined.js
@@ -870,7 +870,7 @@ var i6 = e7(class extends i5 {
870
870
  }
871
871
  });
872
872
 
873
- // node_modules/@triptease/tt-combobox/dist/src/styles.js
873
+ // ../tt-combobox/dist/src/styles.js
874
874
  var styles = i`
875
875
  :host {
876
876
  display: flex;
@@ -921,11 +921,11 @@ var styles = i`
921
921
  height: 20px;
922
922
  }
923
923
 
924
- .tt-combobox-container:has([role="combobox"][aria-invalid="true"]) ~ .errormessage {
924
+ .tt-combobox-container:has([role='combobox'][aria-invalid='true']) ~ .errormessage {
925
925
  visibility: visible;
926
926
  }
927
927
 
928
- :has([role="combobox"][aria-invalid="true"]) ::slotted([slot="error"]) {
928
+ :has([role='combobox'][aria-invalid='true']) ::slotted([slot='error']) {
929
929
  color: var(--color-alert-400, darkred);
930
930
  font-size: var(--font-size-100);
931
931
  margin: 0;
@@ -933,7 +933,7 @@ var styles = i`
933
933
  line-height: 1.2;
934
934
  }
935
935
 
936
- slot[name="option"]::slotted(*) {
936
+ slot[name='option']::slotted(*) {
937
937
  display: none;
938
938
  }
939
939
 
@@ -960,11 +960,11 @@ var styles = i`
960
960
  //width: 100%;
961
961
  }
962
962
 
963
- [role="listbox"] {
963
+ [role='listbox'] {
964
964
  display: none;
965
965
  }
966
966
 
967
- [role="combobox"] {
967
+ [role='combobox'] {
968
968
  width: 100%;
969
969
  border-style: none;
970
970
  background-color: transparent;
@@ -975,26 +975,26 @@ var styles = i`
975
975
  caret-color: transparent;
976
976
  }
977
977
 
978
- [role="combobox"]::placeholder {
978
+ [role='combobox']::placeholder {
979
979
  color: var(--tt-combobox-placeholder-color, var(--color-text-300));
980
980
  font-family: var(--font-family-inter);
981
981
  font-size: var(--tt-combobox-font-size, var(--font-size-200));
982
982
  }
983
983
 
984
- :host([disabled]) [role="combobox"]::placeholder {
984
+ :host([disabled]) [role='combobox']::placeholder {
985
985
  color: var(--tt-combobox-disabled-placeholder-color, var(--color-text-200));
986
986
  }
987
987
 
988
- [role="combobox"]:placeholder-shown {
988
+ [role='combobox']:placeholder-shown {
989
989
  text-overflow: ellipsis;
990
990
  overflow: clip;
991
991
  }
992
992
 
993
- [role="combobox"]:focus {
993
+ [role='combobox']:focus {
994
994
  outline: none;
995
995
  }
996
996
 
997
- [role="combobox"] ~ button {
997
+ [role='combobox'] ~ button {
998
998
  appearance: none;
999
999
  padding: 0;
1000
1000
  border-width: 0;
@@ -1002,16 +1002,16 @@ var styles = i`
1002
1002
  aspect-ratio: 1;
1003
1003
  }
1004
1004
 
1005
- [role="combobox"] ~ button svg {
1005
+ [role='combobox'] ~ button svg {
1006
1006
  transition: transform 0.2s ease-in-out;
1007
1007
  color: var(--tt-combobox-dropdown-color, var(--color-text-400));
1008
1008
  }
1009
1009
 
1010
- [role="combobox"][aria-expanded="true"] ~ button svg {
1010
+ [role='combobox'][aria-expanded='true'] ~ button svg {
1011
1011
  transform: rotate(180deg);
1012
1012
  }
1013
1013
 
1014
- [role="combobox"][aria-expanded="true"] ~ [role="listbox"] {
1014
+ [role='combobox'][aria-expanded='true'] ~ [role='listbox'] {
1015
1015
  display: block;
1016
1016
  width: max-content;
1017
1017
  max-width: var(--tt-combobox-list-max-width, 35ch);
@@ -1032,7 +1032,6 @@ var styles = i`
1032
1032
  max-height: var(--tt-combobox-max-height, 400px);
1033
1033
  overflow-y: auto;
1034
1034
 
1035
-
1036
1035
  .no-results {
1037
1036
  display: none;
1038
1037
  }
@@ -1052,7 +1051,6 @@ var styles = i`
1052
1051
  overflow-y: visible;
1053
1052
  flex: 1;
1054
1053
 
1055
-
1056
1054
  span {
1057
1055
  overflow: hidden;
1058
1056
  text-overflow: ellipsis;
@@ -1068,12 +1066,12 @@ var styles = i`
1068
1066
  }
1069
1067
  }
1070
1068
 
1071
- [role="combobox"][aria-expanded="true"] ~ [role="listbox"][data-open-upward] {
1069
+ [role='combobox'][aria-expanded='true'] ~ [role='listbox'][data-open-upward] {
1072
1070
  top: unset;
1073
1071
  bottom: calc(100% + 0.5rem);
1074
1072
  }
1075
1073
 
1076
- slot[name="icon"] {
1074
+ slot[name='icon'] {
1077
1075
  display: inline-block;
1078
1076
  max-width: var(--tt-combobox-icon-size, 1rem);
1079
1077
  aspect-ratio: 1;
@@ -1094,7 +1092,7 @@ var styles = i`
1094
1092
  }
1095
1093
  `;
1096
1094
 
1097
- // node_modules/@triptease/tt-combobox/dist/src/TtCombobox.js
1095
+ // ../tt-combobox/dist/src/TtCombobox.js
1098
1096
  var TtCombobox = class extends i4 {
1099
1097
  get form() {
1100
1098
  return this.internals.form;
@@ -1177,12 +1175,21 @@ var TtCombobox = class extends i4 {
1177
1175
  exportparts="option, checkbox"
1178
1176
  part="option"
1179
1177
  value="select-all"
1180
- >Select all</tt-option>
1178
+ >Select all</tt-option
1179
+ >
1181
1180
  `;
1182
1181
  };
1183
1182
  this._renderChevron = () => x`
1184
- <button type="button" aria-label="Expand" @click="${this._onChevronClick}" aria-expanded="${this._expanded}"
1185
- aria-controls="${this.id}-list" tabindex="-1" ?disabled=${this.disabled} part="arrow">
1183
+ <button
1184
+ type="button"
1185
+ aria-label="Expand"
1186
+ @click="${this._onChevronClick}"
1187
+ aria-expanded="${this._expanded}"
1188
+ aria-controls="${this.id}-list"
1189
+ tabindex="-1"
1190
+ ?disabled=${this.disabled}
1191
+ part="arrow"
1192
+ >
1186
1193
  ${o8(chevronDown)}
1187
1194
  </button>
1188
1195
  `;
@@ -1380,32 +1387,31 @@ var TtCombobox = class extends i4 {
1380
1387
  }
1381
1388
  return `${this._selectedVisibleOptions.length} options selected`;
1382
1389
  });
1383
- return x`
1384
- <input
1385
- type="text"
1386
- id="${this.id}"
1387
- name="${this.name}"
1388
- autocomplete="off"
1389
- aria-label="${this.labelContent}"
1390
- aria-labelledby="${this.ariaLabelledby}"
1391
- role="combobox"
1392
- aria-controls="${this.id}-list"
1393
- aria-expanded="${this._expanded}"
1394
- aria-autocomplete="list"
1395
- aria-haspopup="listbox"
1396
- aria-disabled="${this.disabled}"
1397
- aria-invalid="${!this._isValid}"
1398
- aria-errormessage="${!this._isValid ? `error-msg-${this.id}` : E}"
1399
- aria-required="${this.required}"
1400
- ?disabled=${this.disabled}
1401
- aria-activedescendant="${o9(this._getActiveOptionId())}"
1402
- @input="${this._onInput}"
1403
- .value="${this._filter}"
1404
- .placeholder="${placeHolderValue}"
1405
- @focusout="${this._handleFocusOut}"
1406
- part="input"
1407
- class=${this.hideCaret ? "hide-caret" : ""}
1408
- />`;
1390
+ return x` <input
1391
+ type="text"
1392
+ id="${this.id}"
1393
+ name="${this.name}"
1394
+ autocomplete="off"
1395
+ aria-label="${this.labelContent}"
1396
+ aria-labelledby="${this.ariaLabelledby}"
1397
+ role="combobox"
1398
+ aria-controls="${this.id}-list"
1399
+ aria-expanded="${this._expanded}"
1400
+ aria-autocomplete="list"
1401
+ aria-haspopup="listbox"
1402
+ aria-disabled="${this.disabled}"
1403
+ aria-invalid="${!this._isValid}"
1404
+ aria-errormessage="${!this._isValid ? `error-msg-${this.id}` : E}"
1405
+ aria-required="${this.required}"
1406
+ ?disabled=${this.disabled}
1407
+ aria-activedescendant="${o9(this._getActiveOptionId())}"
1408
+ @input="${this._onInput}"
1409
+ .value="${this._filter}"
1410
+ .placeholder="${placeHolderValue}"
1411
+ @focusout="${this._handleFocusOut}"
1412
+ part="input"
1413
+ class=${this.hideCaret ? "hide-caret" : ""}
1414
+ />`;
1409
1415
  }
1410
1416
  _renderOption(option) {
1411
1417
  const hidden = Boolean(this._filter !== "" && !option.value.toLowerCase().includes(this._filter.toLowerCase()) && !option.innerText.toLowerCase().includes(this._filter.toLowerCase()) || option.hidden);
@@ -1432,11 +1438,16 @@ var TtCombobox = class extends i4 {
1432
1438
  }
1433
1439
  render() {
1434
1440
  return x`
1435
- <div class="tt-combobox-container" @focus="${this._onFocus}" @keydown="${this._onKeyUp}" @click="${this._onClick}"
1436
- aria-disabled="${this.disabled}" part="container">
1441
+ <div
1442
+ class="tt-combobox-container"
1443
+ @focus="${this._onFocus}"
1444
+ @keydown="${this._onKeyUp}"
1445
+ @click="${this._onClick}"
1446
+ aria-disabled="${this.disabled}"
1447
+ part="container"
1448
+ >
1437
1449
  <slot name="icon" part="icon"></slot>
1438
- ${this._renderCombobox()}
1439
- ${this._renderChevron()}
1450
+ ${this._renderCombobox()} ${this._renderChevron()}
1440
1451
  <ul
1441
1452
  id="${this.id}-list"
1442
1453
  role="listbox"
@@ -1445,16 +1456,20 @@ var TtCombobox = class extends i4 {
1445
1456
  part="listbox"
1446
1457
  ?data-open-upward="${this.openUpward}"
1447
1458
  >
1448
- ${this._renderSelectAll()}
1449
-
1450
- ${c4(this.options, (opt) => opt.value, this._renderOption.bind(this))}
1459
+ ${this._renderSelectAll()} ${c4(this.options, (opt) => opt.value, this._renderOption.bind(this))}
1451
1460
 
1452
1461
  <li part="no-results" class="no-results">No results</li>
1453
1462
  </ul>
1454
1463
  </div>
1455
1464
  <slot name="option" @slotchange=${() => this.requestUpdate("options")}></slot>
1456
- <div class="errormessage" id="error-msg-${this.id}" role="alert" aria-atomic="true"
1457
- ?data-hidden="${!this._hasErrorContent()}" part="error">
1465
+ <div
1466
+ class="errormessage"
1467
+ id="error-msg-${this.id}"
1468
+ role="alert"
1469
+ aria-atomic="true"
1470
+ ?data-hidden="${!this._hasErrorContent()}"
1471
+ part="error"
1472
+ >
1458
1473
  ${o8(alert)}
1459
1474
  <slot name="error"></slot>
1460
1475
  </div>
@@ -1540,78 +1555,79 @@ __decorate([
1540
1555
  n4({ type: Array, attribute: "value" })
1541
1556
  ], TtCombobox.prototype, "value", void 0);
1542
1557
 
1543
- // node_modules/@triptease/tt-combobox/dist/src/tt-option/styles.js
1558
+ // ../tt-combobox/dist/src/tt-option/styles.js
1544
1559
  var styles2 = i`
1545
- li {
1546
- cursor: pointer;
1547
- display: flex;
1548
- padding: 0.5rem;
1549
- box-sizing: border-box;
1550
- text-align: left;
1551
- text-overflow: ellipsis;
1552
- text-wrap: nowrap;
1553
- align-items: center;
1554
- gap: 0.25rem;
1555
- max-width: 100%;
1556
- width: 100%;
1557
- overflow-y: visible;
1558
- flex: 1;
1559
-
1560
- input[type="checkbox"] {
1561
- width: var(--checkbox-size, var(--space-scale-2));
1562
- aspect-ratio: 1;
1563
- flex: 0 0 auto;
1564
- accent-color: var(--color-primary-400);
1565
- pointer-events: none;
1566
- }
1567
-
1568
- span {
1569
- overflow: hidden;
1560
+ li {
1561
+ cursor: pointer;
1562
+ display: flex;
1563
+ padding: 0.5rem;
1564
+ box-sizing: border-box;
1565
+ text-align: left;
1570
1566
  text-overflow: ellipsis;
1571
- white-space: nowrap;
1567
+ text-wrap: nowrap;
1568
+ align-items: center;
1569
+ gap: 0.25rem;
1570
+ max-width: 100%;
1571
+ width: 100%;
1572
+ overflow-y: visible;
1572
1573
  flex: 1;
1573
- line-height: 1.1;
1574
- }
1575
1574
 
1576
- &[aria-hidden="true"] {
1577
- visibility: hidden;
1578
- display: none;
1579
- }
1575
+ input[type='checkbox'] {
1576
+ width: var(--checkbox-size, var(--space-scale-2));
1577
+ aspect-ratio: 1;
1578
+ flex: 0 0 auto;
1579
+ accent-color: var(--color-primary-400);
1580
+ pointer-events: none;
1581
+ }
1580
1582
 
1581
- &[aria-disabled="true"] {
1582
- pointer-events: none;
1583
- opacity: 0.5;
1584
- }
1583
+ span {
1584
+ overflow: hidden;
1585
+ text-overflow: ellipsis;
1586
+ white-space: nowrap;
1587
+ flex: 1;
1588
+ line-height: 1.1;
1589
+ }
1585
1590
 
1586
- &[aria-selected="true"]:not(:has(input[type="checkbox"])) {
1587
- color: var(--tt-combobox-option-selected-color, var(--color-primary-400));
1588
- font-weight: var(--font-weight-medium);
1589
- }
1590
- }
1591
+ &[aria-hidden='true'] {
1592
+ visibility: hidden;
1593
+ display: none;
1594
+ }
1591
1595
 
1592
- :host([active]), :host(:hover) {
1593
- li {
1594
- background-color: var(--tt-combobox-option-background-color-hover, var(--color-surface-300));
1595
- color: var(--tt-combobox-option-color-hover, inherit);
1596
- }
1596
+ &[aria-disabled='true'] {
1597
+ pointer-events: none;
1598
+ opacity: 0.5;
1599
+ }
1597
1600
 
1598
- &:first-child li {
1599
- border-top-left-radius: var(--border-radius);
1600
- border-top-right-radius: var(--border-radius);
1601
+ &[aria-selected='true']:not(:has(input[type='checkbox'])) {
1602
+ color: var(--tt-combobox-option-selected-color, var(--color-primary-400));
1603
+ font-weight: var(--font-weight-medium);
1604
+ }
1601
1605
  }
1602
1606
 
1603
- &:last-child li {
1604
- border-bottom-left-radius: var(--border-radius);
1605
- border-bottom-right-radius: var(--border-radius);
1607
+ :host([active]),
1608
+ :host(:hover) {
1609
+ li {
1610
+ background-color: var(--tt-combobox-option-background-color-hover, var(--color-surface-300));
1611
+ color: var(--tt-combobox-option-color-hover, inherit);
1612
+ }
1613
+
1614
+ &:first-child li {
1615
+ border-top-left-radius: var(--border-radius);
1616
+ border-top-right-radius: var(--border-radius);
1617
+ }
1618
+
1619
+ &:last-child li {
1620
+ border-bottom-left-radius: var(--border-radius);
1621
+ border-bottom-right-radius: var(--border-radius);
1622
+ }
1606
1623
  }
1607
- }
1608
1624
 
1609
- :host([disabled]) {
1610
- pointer-events: none;
1611
- }
1625
+ :host([disabled]) {
1626
+ pointer-events: none;
1627
+ }
1612
1628
  `;
1613
1629
 
1614
- // node_modules/@triptease/tt-combobox/dist/src/tt-option/TtOption.js
1630
+ // ../tt-combobox/dist/src/tt-option/TtOption.js
1615
1631
  var TtOption = class extends i4 {
1616
1632
  constructor() {
1617
1633
  super(...arguments);
@@ -1649,8 +1665,7 @@ var TtOption = class extends i4 {
1649
1665
  @mousedown="${(event) => event.preventDefault()}"
1650
1666
  part="option"
1651
1667
  >
1652
- ${this.includeCheckbox ? x`<input type="checkbox" ?checked=${this.selected}
1653
- role="presentation" tabindex="-1" part="checkbox">` : E}
1668
+ ${this.includeCheckbox ? x`<input type="checkbox" ?checked=${this.selected} role="presentation" tabindex="-1" part="checkbox" />` : E}
1654
1669
  <span>
1655
1670
  <slot></slot>
1656
1671
  </span>
@@ -1679,14 +1694,14 @@ __decorate([
1679
1694
  n4({ type: Boolean, attribute: "include-checkbox" })
1680
1695
  ], TtOption.prototype, "includeCheckbox", void 0);
1681
1696
 
1682
- // node_modules/@triptease/tt-combobox/dist/src/tt-option/tt-option.js
1697
+ // ../tt-combobox/dist/src/tt-option/tt-option.js
1683
1698
  if (typeof window !== "undefined") {
1684
1699
  if (!window.customElements.get("tt-option")) {
1685
1700
  window.customElements.define("tt-option", TtOption);
1686
1701
  }
1687
1702
  }
1688
1703
 
1689
- // node_modules/@triptease/tt-combobox/dist/src/tt-combobox.js
1704
+ // ../tt-combobox/dist/src/tt-combobox.js
1690
1705
  if (typeof window !== "undefined") {
1691
1706
  if (!window.customElements.get("tt-combobox")) {
1692
1707
  window.customElements.define("tt-combobox", TtCombobox);
@@ -1999,9 +2014,7 @@ var styles3 = i`
1999
2014
  --tt-combobox-color: var(--color-text-inverted-400);
2000
2015
  --tt-combobox-dropdown-color: var(--color-text-inverted-400);
2001
2016
  --tt-combobox-list-background-color: var(--color-surface-inverted-100);
2002
- --tt-combobox-option-background-color-hover: var(
2003
- --color-surface-inverted-200
2004
- );
2017
+ --tt-combobox-option-background-color-hover: var(--color-surface-inverted-200);
2005
2018
  --tt-combobox-placeholder-color: var(--color-text-inverted-300);
2006
2019
  --tt-combobox-background-color: var(--color-surface-inverted-100);
2007
2020
  --tt-combobox-hover-background-color: var(--color-surface-inverted-200);
@@ -2104,7 +2117,9 @@ var TtNavbar = class extends i4 {
2104
2117
  if (!bestMatch && this.clientKey) {
2105
2118
  const parsedPath = currentPath.replace(this.clientKey, "$CLIENT_KEY");
2106
2119
  let mappedUrl = urlMappings[parsedPath];
2107
- const matchedPattern = this.mappedUrlPatterns.find((pattern) => pattern.test(currentPath, window.location.origin))?.pathname;
2120
+ const matchedPattern = this.mappedUrlPatterns.find(
2121
+ (pattern) => pattern.test(currentPath, window.location.origin)
2122
+ )?.pathname;
2108
2123
  if (matchedPattern) {
2109
2124
  mappedUrl = urlMappings[matchedPattern];
2110
2125
  }
@@ -2154,22 +2169,18 @@ var TtNavbar = class extends i4 {
2154
2169
  this.toggleSidebar = () => {
2155
2170
  this.closeAllDetails();
2156
2171
  this.isOpen = !this.isOpen;
2157
- const {
2158
- NavbarStateCookieName,
2159
- NavbarStateCookieOpenValue,
2160
- NavbarStateCookieClosedValue
2161
- } = Config;
2172
+ const { NavbarStateCookieName, NavbarStateCookieOpenValue, NavbarStateCookieClosedValue } = Config;
2162
2173
  const domain = window.location.hostname.endsWith(".triptease.io") ? "domain=.triptease.io" : "";
2163
2174
  document.cookie = `${NavbarStateCookieName}=${this.isOpen ? NavbarStateCookieOpenValue : NavbarStateCookieClosedValue}; path=/; max-age=31536000; ${domain}`;
2164
2175
  };
2165
2176
  this.handleDetailsToggle = (e10) => {
2166
2177
  const { newState } = e10;
2167
- const target = e10.currentTarget;
2178
+ const target2 = e10.currentTarget;
2168
2179
  if (newState === "open") {
2169
2180
  if (!this.isOpen) {
2170
2181
  this.toggleSidebar();
2171
2182
  }
2172
- this.closeAllDetails(target);
2183
+ this.closeAllDetails(target2);
2173
2184
  }
2174
2185
  };
2175
2186
  this.buildUrl = (path) => {
@@ -2208,9 +2219,10 @@ var TtNavbar = class extends i4 {
2208
2219
  window.removeEventListener("tetris:navigate", this.setActiveState);
2209
2220
  super.disconnectedCallback();
2210
2221
  }
2211
- // eslint-disable-next-line no-undef
2212
2222
  get mappedUrlPatterns() {
2213
- return Object.keys(urlMappings).map((pattern) => new URLPattern({ pathname: pattern, baseURL: window.location.origin }));
2223
+ return Object.keys(urlMappings).map(
2224
+ (pattern) => new URLPattern({ pathname: pattern, baseURL: window.location.origin })
2225
+ );
2214
2226
  }
2215
2227
  render() {
2216
2228
  return x`
@@ -2396,9 +2408,7 @@ var TtNavbar = class extends i4 {
2396
2408
  >
2397
2409
  ${this.clients.map(
2398
2410
  (client) => x`
2399
- <option slot="option" value=${client.clientKey}>
2400
- ${client.displayName}
2401
- </option>
2411
+ <option slot="option" value=${client.clientKey}>${client.displayName}</option>
2402
2412
  `
2403
2413
  )}
2404
2414
  </tt-combobox>