@content-blocks/js 0.5.0 → 0.6.0

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.
Files changed (115) hide show
  1. package/dist/cjs/content-accordion_11.cjs.entry.js +56 -40
  2. package/dist/cjs/content-accordion_11.cjs.entry.js.map +1 -1
  3. package/dist/cjs/content-blocks.cjs.js +2 -2
  4. package/dist/cjs/content-carousel.cjs.entry.js +2 -1
  5. package/dist/cjs/content-carousel.cjs.entry.js.map +1 -1
  6. package/dist/cjs/content-navigation-block.cjs.entry.js +23 -19
  7. package/dist/cjs/content-navigation-block.cjs.entry.js.map +1 -1
  8. package/dist/cjs/content-split-block.cjs.entry.js +4 -4
  9. package/dist/cjs/content-split-block.cjs.entry.js.map +1 -1
  10. package/dist/cjs/content-tabs.cjs.entry.js +3 -3
  11. package/dist/cjs/{index-072153fb.js → index-9f20d89a.js} +34 -4
  12. package/dist/cjs/index-9f20d89a.js.map +1 -0
  13. package/dist/cjs/index.cjs.js +1 -1
  14. package/dist/cjs/loader.cjs.js +2 -2
  15. package/dist/cjs/{utils-9856e159.js → utils-db61cd70.js} +1 -3
  16. package/dist/cjs/utils-db61cd70.js.map +1 -0
  17. package/dist/cjs/{window-resize-service-77b2c64e.js → window-resize-service-ac5c2012.js} +2 -2
  18. package/dist/cjs/{window-resize-service-77b2c64e.js.map → window-resize-service-ac5c2012.js.map} +1 -1
  19. package/dist/collection/blocks/content-hero-block/content-hero-block.css +6 -0
  20. package/dist/collection/blocks/content-split-block/content-split-block.js +1 -1
  21. package/dist/collection/blocks/content-split-block/content-split-block.js.map +1 -1
  22. package/dist/collection/components/content-accordion/content-accordion.js +2 -2
  23. package/dist/collection/components/content-accordion/content-accordion.js.map +1 -1
  24. package/dist/collection/components/content-carousel/content-carousel.js +1 -0
  25. package/dist/collection/components/content-carousel/content-carousel.js.map +1 -1
  26. package/dist/collection/components/content-navigation-block/content-navigation-block.js +20 -16
  27. package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +1 -1
  28. package/dist/collection/components/content-overlay/content-overlay.css +6 -3
  29. package/dist/collection/components/content-overlay/content-overlay.js +24 -9
  30. package/dist/collection/components/content-overlay/content-overlay.js.map +1 -1
  31. package/dist/collection/elements/content-button/content-button.js +2 -5
  32. package/dist/collection/elements/content-button/content-button.js.map +1 -1
  33. package/dist/collection/elements/content-image/content-image.css +4 -7
  34. package/dist/collection/elements/content-image/content-image.js +79 -21
  35. package/dist/collection/elements/content-image/content-image.js.map +1 -1
  36. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.css +1 -0
  37. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js +46 -3
  38. package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js.map +1 -1
  39. package/dist/collection/formatters/content-spacer/content-spacer.js +3 -2
  40. package/dist/collection/formatters/content-spacer/content-spacer.js.map +1 -1
  41. package/dist/components/content-accordion.js +1 -1
  42. package/dist/components/content-accordion.js.map +1 -1
  43. package/dist/components/content-button.js +2 -5
  44. package/dist/components/content-button.js.map +1 -1
  45. package/dist/components/content-carousel.js +1 -0
  46. package/dist/components/content-carousel.js.map +1 -1
  47. package/dist/components/content-grid-formatter2.js +8 -2
  48. package/dist/components/content-grid-formatter2.js.map +1 -1
  49. package/dist/components/content-hero-block.js +1 -1
  50. package/dist/components/content-hero-block.js.map +1 -1
  51. package/dist/components/content-image.js +26 -22
  52. package/dist/components/content-image.js.map +1 -1
  53. package/dist/components/content-navigation-block.js +20 -16
  54. package/dist/components/content-navigation-block.js.map +1 -1
  55. package/dist/components/content-overlay.js +22 -7
  56. package/dist/components/content-overlay.js.map +1 -1
  57. package/dist/components/content-spacer.js +1 -1
  58. package/dist/components/content-spacer.js.map +1 -1
  59. package/dist/components/content-split-block.js +1 -1
  60. package/dist/components/content-split-block.js.map +1 -1
  61. package/dist/components/utils.js +1 -1
  62. package/dist/components/utils.js.map +1 -1
  63. package/dist/content-blocks/content-blocks.esm.js +1 -1
  64. package/dist/content-blocks/content-blocks.esm.js.map +1 -1
  65. package/dist/content-blocks/index.esm.js +1 -1
  66. package/dist/content-blocks/{p-ebaee21f.entry.js → p-167a9155.entry.js} +2 -2
  67. package/dist/content-blocks/{p-ebaee21f.entry.js.map → p-167a9155.entry.js.map} +1 -1
  68. package/dist/content-blocks/{p-30ab003a.entry.js → p-271fb304.entry.js} +2 -2
  69. package/dist/content-blocks/p-271fb304.entry.js.map +1 -0
  70. package/dist/content-blocks/p-288eace9.js +3 -0
  71. package/dist/content-blocks/p-288eace9.js.map +1 -0
  72. package/dist/content-blocks/p-4038cd42.entry.js +10 -0
  73. package/dist/content-blocks/p-4038cd42.entry.js.map +1 -0
  74. package/dist/content-blocks/{p-fd14acd9.entry.js → p-4bfbd7ef.entry.js} +2 -2
  75. package/dist/content-blocks/{p-fd14acd9.entry.js.map → p-4bfbd7ef.entry.js.map} +1 -1
  76. package/dist/content-blocks/{p-2c515f18.entry.js → p-8cc22c1e.entry.js} +2 -2
  77. package/dist/content-blocks/{p-da2c36ea.js → p-b04fe808.js} +2 -2
  78. package/dist/content-blocks/{p-da2c36ea.js.map → p-b04fe808.js.map} +1 -1
  79. package/dist/content-blocks/{p-3b4b9ad1.js → p-cfb4593f.js} +2 -2
  80. package/dist/esm/content-accordion_11.entry.js +56 -40
  81. package/dist/esm/content-accordion_11.entry.js.map +1 -1
  82. package/dist/esm/content-blocks.js +3 -3
  83. package/dist/esm/content-carousel.entry.js +2 -1
  84. package/dist/esm/content-carousel.entry.js.map +1 -1
  85. package/dist/esm/content-navigation-block.entry.js +23 -19
  86. package/dist/esm/content-navigation-block.entry.js.map +1 -1
  87. package/dist/esm/content-split-block.entry.js +4 -4
  88. package/dist/esm/content-split-block.entry.js.map +1 -1
  89. package/dist/esm/content-tabs.entry.js +3 -3
  90. package/dist/esm/{index-5c31f78b.js → index-e848c048.js} +34 -4
  91. package/dist/esm/index-e848c048.js.map +1 -0
  92. package/dist/esm/index.js +1 -1
  93. package/dist/esm/loader.js +3 -3
  94. package/dist/esm/{utils-4f29a9cf.js → utils-4f78228e.js} +2 -2
  95. package/dist/esm/utils-4f78228e.js.map +1 -0
  96. package/dist/esm/{window-resize-service-332e7420.js → window-resize-service-f40ec51c.js} +2 -2
  97. package/dist/esm/{window-resize-service-332e7420.js.map → window-resize-service-f40ec51c.js.map} +1 -1
  98. package/dist/types/components/content-accordion/content-accordion.d.ts +6 -6
  99. package/dist/types/components/content-overlay/content-overlay.d.ts +4 -2
  100. package/dist/types/components.d.ts +37 -3
  101. package/dist/types/elements/content-image/content-image.d.ts +12 -0
  102. package/dist/types/formatters/content-grid-formatter/content-grid-formatter.d.ts +8 -2
  103. package/dist/types/typings.d.ts +3 -3
  104. package/package.json +1 -1
  105. package/dist/cjs/index-072153fb.js.map +0 -1
  106. package/dist/cjs/utils-9856e159.js.map +0 -1
  107. package/dist/content-blocks/p-2faf0c78.js +0 -3
  108. package/dist/content-blocks/p-2faf0c78.js.map +0 -1
  109. package/dist/content-blocks/p-30ab003a.entry.js.map +0 -1
  110. package/dist/content-blocks/p-b8009321.entry.js +0 -10
  111. package/dist/content-blocks/p-b8009321.entry.js.map +0 -1
  112. package/dist/esm/index-5c31f78b.js.map +0 -1
  113. package/dist/esm/utils-4f29a9cf.js.map +0 -1
  114. /package/dist/content-blocks/{p-2c515f18.entry.js.map → p-8cc22c1e.entry.js.map} +0 -0
  115. /package/dist/content-blocks/{p-3b4b9ad1.js.map → p-cfb4593f.js.map} +0 -0
@@ -12,7 +12,7 @@ const ContentSpacingWrapper = /*@__PURE__*/ proxyCustomElement(class ContentSpac
12
12
  this.maxWidth = '100';
13
13
  this.fullHeight = 'false';
14
14
  this.textAlign = 'default';
15
- this.horizontalPosition = undefined;
15
+ this.horizontalPosition = 'default';
16
16
  this.topOffset = '0';
17
17
  this.bottomOffset = '0';
18
18
  this.leftOffset = '0';
@@ -1 +1 @@
1
- {"file":"content-spacer.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,kfAAkf;;MCa9f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B,GAAG,QAAQ,GAAG,GAAG,GAAE,CAAC;SAC9H,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,QAAQ;YAClE,IAAI,CAAC,WAAW,mCAAQ,IAAI,CAAC,WAAW,KAAE,cAAc,EAAE,KAAK,CAAC,QAAe,CAAC,GAAI,QAAmB,GAAG,QAAQ,GAAG,GAAG,GAAE,CAAC;SAC5H,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,QAAQ;YACnE,IAAI,CAAC,WAAW,mCAAQ,IAAI,CAAC,WAAW,KAAE,eAAe,EAAE,KAAK,CAAC,QAAe,CAAC,GAAI,QAAmB,GAAG,QAAQ,GAAG,GAAG,GAAE,CAAC;SAC7H,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC,WAAW,GAAG,QAAkB,CAAC,CAAC,CAAC;KAC/G;IAED,MAAM;QACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,IACpD,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,eAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/formatters/content-spacer/content-spacer.scss?tag=content-spacer","src/formatters/content-spacer/content-spacer.tsx"],"sourcesContent":["content-spacer {\n display: block;\n width: 100%;\n height: auto;\n &[full-height=\"true\"] {\n height: 100%;\n }\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n &[horizontal-position=\"left\"] {\n margin-left: 0;\n margin-right: auto;\n }\n &[horizontal-position=\"center\"] {\n margin-left: auto;\n margin-right: auto;\n }\n &[horizontal-position=\"right\"] {\n margin-left: auto;\n margin-right: 0;\n }\n}","import { Component, h, Prop, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of spacing wrapper, can be anything.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-spacer',\n styleUrls: ['content-spacer.scss'],\n shadow: false,\n})\nexport class ContentSpacingWrapper {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\".\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100';\n\n /**\n * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.\n * @type Boolean\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n fullHeight: ResponsiveBoolean = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontalPosition: ContentLineTextAlignOptions;\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() topOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() bottomOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() leftOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() rightOffset: ResponsiveNumber = '0';\n\n @State() inlineStyle?: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => (this.fullHeight = newValue as string));\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => (this.textAlign = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.horizontalPosition).subscribe(newValue => (this.horizontalPosition = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.maxWidth).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'max-width': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.topOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-top': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.bottomOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-bottom': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.leftOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-left': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.rightOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-right': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"content-spacer.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,kfAAkf;;MCa9f,qBAAqB;;;;;;wBAYK,KAAK;0BAW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AAG,GAAE,CAAC;SAC9H,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,QAAQ;YAClE,IAAI,CAAC,WAAW,mCAAQ,IAAI,CAAC,WAAW,KAAE,cAAc,EAAE,KAAK,CAAC,QAAe,CAAC,GAAI,QAAmB,GAAG,QAAQ,GAAG,GAAG,GAAE,CAAC;SAC5H,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,QAAQ;YACnE,IAAI,CAAC,WAAW,mCAAQ,IAAI,CAAC,WAAW,KAAE,eAAe,EAAE,KAAK,CAAC,QAAe,CAAC,GAAI,QAAmB,GAAG,QAAQ,GAAG,GAAG,GAAE,CAAC;SAC7H,CAAC,CAAC;QACH,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC,WAAW,GAAG,QAAkB,CAAC,CAAC,CAAC;KAC/G;IAED,MAAM;QACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,IACpD,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,eAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/formatters/content-spacer/content-spacer.scss?tag=content-spacer","src/formatters/content-spacer/content-spacer.tsx"],"sourcesContent":["content-spacer {\n display: block;\n width: 100%;\n height: auto;\n &[full-height=\"true\"] {\n height: 100%;\n }\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n &[horizontal-position=\"left\"] {\n margin-left: 0;\n margin-right: auto;\n }\n &[horizontal-position=\"center\"] {\n margin-left: auto;\n margin-right: auto;\n }\n &[horizontal-position=\"right\"] {\n margin-left: auto;\n margin-right: 0;\n }\n}","import { Component, h, Prop, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of spacing wrapper, can be anything.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-spacer',\n styleUrls: ['content-spacer.scss'],\n shadow: false,\n})\nexport class ContentSpacingWrapper {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\".\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100';\n\n /**\n * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.\n * @type Boolean\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n fullHeight: ResponsiveBoolean = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontalPosition: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() topOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() bottomOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() leftOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() rightOffset: ResponsiveNumber = '0';\n\n @State() inlineStyle?: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => (this.fullHeight = newValue as string));\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => (this.textAlign = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.horizontalPosition).subscribe(newValue => (this.horizontalPosition = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.maxWidth).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'max-width': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.topOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-top': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.bottomOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-bottom': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.leftOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-left': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.rightOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-right': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -18,7 +18,7 @@ const ContentSplitBlock$1 = /*@__PURE__*/ proxyCustomElement(class ContentSplitB
18
18
  WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue));
19
19
  }
20
20
  render() {
21
- return (h(Host, { class: this.classString, reverse: this.reverse }, h("content-grid-formatter", { type: "flex", "flex-grow": "true", "flex-shrink": "true", columns: this.columns }, h("slot", { name: "column1" }), h("slot", { name: "column2" }))));
21
+ return (h(Host, { class: this.classString, reverse: this.reverse }, h("content-grid-formatter", { type: "none|flex", "flex-grow": "true", "flex-shrink": "true", columns: this.columns }, h("slot", { name: "column1" }), h("slot", { name: "column2" }))));
22
22
  }
23
23
  static get style() { return contentSplitBlockCss; }
24
24
  }, [4, "content-split-block", {
@@ -1 +1 @@
1
- {"file":"content-split-block.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,wZAAwZ;;MCYxaA,mBAAiB;;;;uBASW,KAAK;uBAKlB,KAAK;;;;IAY/B,iBAAiB;QACf,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC,OAAO,GAAG,QAAkB,CAAC,CAAC,CAAC;QAC1G,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC,WAAW,GAAG,QAAkB,CAAC,CAAC,CAAC;KAC/G;IAED,MAAM;QACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAClD,8BAAwB,IAAI,EAAC,MAAM,eAAW,MAAM,iBAAa,MAAM,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,IAC3F,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,YAAM,IAAI,EAAC,SAAS,GAAQ,CACL,CACpB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ContentSplitBlock"],"sources":["src/blocks/content-split-block/content-split-block.scss?tag=content-split-block","src/blocks/content-split-block/content-split-block.tsx"],"sourcesContent":["content-split-block {\n display: block;\n \n &[reverse=\"true\"] {\n content-grid-formatter[type=\"flex\"] [slot=\"column1\"],\n content-grid-formatter[type=\"grid\"] [slot=\"column1\"] {\n order: 2;\n }\n\n content-grid-formatter[type=\"flex\"] [slot=\"column2\"],\n content-grid-formatter[type=\"grid\"] [slot=\"column2\"] {\n order: 1;\n }\n }\n}","import { Component, h, Host, Prop, State } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveString } from '../../typings';\n/**\n * @slot column1 - This will be column 1.\n * @slot column2 - This will be column 2.\n */\n@Component({\n tag: 'content-split-block',\n styleUrl: 'content-split-block.scss',\n shadow: false,\n})\nexport class ContentSplitBlock {\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n reverse: ResponsiveBoolean | boolean = false;\n /**\n * @type Number\n * @responsive\n */\n @Prop() columns: string = '1|2';\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.reverse).subscribe(newValue => (this.reverse = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} reverse={this.reverse}>\n <content-grid-formatter type=\"flex\" flex-grow=\"true\" flex-shrink=\"true\" columns={this.columns}>\n <slot name=\"column1\"></slot>\n <slot name=\"column2\"></slot>\n </content-grid-formatter>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"content-split-block.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,wZAAwZ;;MCYxaA,mBAAiB;;;;uBASW,KAAK;uBAKlB,KAAK;;;;IAY/B,iBAAiB;QACf,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC,OAAO,GAAG,QAAkB,CAAC,CAAC,CAAC;QAC1G,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,KAAK,IAAI,CAAC,WAAW,GAAG,QAAkB,CAAC,CAAC,CAAC;KAC/G;IAED,MAAM;QACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAClD,8BAAwB,IAAI,EAAC,WAAW,eAAW,MAAM,iBAAa,MAAM,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,IAChG,YAAM,IAAI,EAAC,SAAS,GAAQ,EAC5B,YAAM,IAAI,EAAC,SAAS,GAAQ,CACL,CACpB,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["ContentSplitBlock"],"sources":["src/blocks/content-split-block/content-split-block.scss?tag=content-split-block","src/blocks/content-split-block/content-split-block.tsx"],"sourcesContent":["content-split-block {\n display: block;\n \n &[reverse=\"true\"] {\n content-grid-formatter[type=\"flex\"] [slot=\"column1\"],\n content-grid-formatter[type=\"grid\"] [slot=\"column1\"] {\n order: 2;\n }\n\n content-grid-formatter[type=\"flex\"] [slot=\"column2\"],\n content-grid-formatter[type=\"grid\"] [slot=\"column2\"] {\n order: 1;\n }\n }\n}","import { Component, h, Host, Prop, State } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveString } from '../../typings';\n/**\n * @slot column1 - This will be column 1.\n * @slot column2 - This will be column 2.\n */\n@Component({\n tag: 'content-split-block',\n styleUrl: 'content-split-block.scss',\n shadow: false,\n})\nexport class ContentSplitBlock {\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n reverse: ResponsiveBoolean | boolean = false;\n /**\n * @type Number\n * @responsive\n */\n @Prop() columns: string = '1|2';\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.reverse).subscribe(newValue => (this.reverse = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} reverse={this.reverse}>\n <content-grid-formatter type=\"none|flex\" flex-grow=\"true\" flex-shrink=\"true\" columns={this.columns}>\n <slot name=\"column1\"></slot>\n <slot name=\"column2\"></slot>\n </content-grid-formatter>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -111,6 +111,6 @@ const utils = /*#__PURE__*/Object.freeze({
111
111
  objectToCssString: objectToCssString
112
112
  });
113
113
 
114
- export { getCurrentValue as a, breakpointValues as b, getValueAtIndex as c, getCurrentBreakpointIndex as g, utils as u };
114
+ export { getCurrentValue as a, getCurrentBreakpointIndex as g, utils as u };
115
115
 
116
116
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"file":"utils.js","mappings":"AAEO,MAAM,WAAW,GAAG,CAAC,QAAQ,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC;AACrH,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC;MACtH,gBAAgB,GAAG,CAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,EAAC,IAAI,EAAE;SAE5C,mBAAmB;IACjC,OAAO,gBAAgB,CAAC;AAC1B,CAAC;SACe,iBAAiB,CAAC,QAAkB,EAAE,UAAkB;IACtE,IAAI,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,cAAc,UAAU,IAAI,CAAC,CAAC;;IAEnE,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACzC,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;QAC1C,OAAO,C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;KAC3C;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;SAEe,iBAAiB,CAAC,MAAc;IAC9C,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,KAAK,IAAI,GAAG,IAAI,MAAM,EAAE;QACtB,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE;YAChE,MAAM,IAAI,GAAG,GAAG,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC;SACrC;KACF;IACD,OAAO,MAAM,CAAC;AAChB;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/utils/utils.ts"],"sourcesContent":["import { ResponsiveString } from \"../typings\";\n\nexport const breakpoints = ['mobile', 'tablet-portrait', 'tablet-landscape', 'tablet-pro', 'desktop-large', 'desktop-wide'];\nexport const breakpointLabels = ['Mobile', 'Tablet (Portrait)', 'Tablet (Landscape)', 'iPad Pro', 'Desktop Large', 'Desktop Wide'];\nexport const breakpointValues = [0,768,1024,1366,1440,1920];\n\nexport function getBreakpointValues() {\n return breakpointValues;\n}\nexport function insertCssIntoHead(document: Document, fontCssUrl: string) {\n let element = document.querySelector(`link[href=\"${fontCssUrl}\"]`);\n // Only inject the element if it's not yet present\n if (!element) {\n element = document.createElement('link');\n element.setAttribute('rel', 'stylesheet');\n element.setAttribute('href', fontCssUrl);\n document.head.prepend(element);\n }\n}\n\nexport function generateResponsiveClass(classPrefix: string, responsiveValue: string) {\n let index = -1;\n let classString = '';\n responsiveValue.split('|').forEach(value => {\n index++;\n if (!value || value === 'false') {\n return false;\n }\n classString += ` ${classPrefix}-${breakpoints[index]}-${value}`\n });\n return classString;\n}\n\n// Fills in default value if none exists for a breakpoint\nexport function generateResponsiveValues(responsiveValue: string): string[] {\n if (!responsiveValue) {\n return [];\n }\n let responseArray = [];\n let splitResponsiveValues = responsiveValue.split('|');\n let lastGoodValue = splitResponsiveValues[0];\n breakpointValues.forEach((_value, index) => {\n let thisBreakpointValue = splitResponsiveValues[index];\n if (thisBreakpointValue) {\n lastGoodValue = thisBreakpointValue;\n }\n responseArray.push(thisBreakpointValue ? thisBreakpointValue : lastGoodValue);\n });\n return responseArray;\n}\n\nexport function getCurrentBreakpointIndex(): number {\n let activeBreakpointIndex: number = 0;\n let windowWidth = window.innerWidth;\n breakpointValues.some((width) => {\n // The first time this is true will end the loop\n let condition = width > windowWidth;\n if (!condition) {\n activeBreakpointIndex = breakpointValues.indexOf(width);\n }\n return condition;\n });\n return activeBreakpointIndex;\n}\n\nexport function getCurrentValue(responsiveValue: string|boolean): string {\n if (!responsiveValue) {\n return '';\n }\n let currentBreakpoint = getCurrentBreakpointIndex();\n let responsiveValues = generateResponsiveValues(responsiveValue.toString());\n let returnValue: string;\n for (var i = currentBreakpoint; i >= 0; i--) {\n if (responsiveValues[i]) {\n returnValue = responsiveValues[i];\n i = -1;\n }\n }\n return returnValue;\n}\n\nexport function getValueAtIndex(index: number, responsiveValue: ResponsiveString): string {\n let responsiveValues = generateResponsiveValues(responsiveValue.toString());\n return responsiveValues[index].trim();\n}\n\nexport function getHydratedClassString(classString: string): string {\n let cleanedString = getCurrentValue(classString).trim();\n if (cleanedString.includes('hydrated')) {\n return cleanedString.trim();\n }\n if (cleanedString) {\n return cleanedString.trim() + ' hydrated';\n }\n return 'hydrated';\n}\n\nexport function objectToCssString(object: object): string {\n let string = '';\n for (var key in object) {\n if (object[key].length > 0 && !['px', '%'].includes(object[key])) {\n string += `${key}: ${object[key]};`;\n }\n }\n return string;\n}"],"version":3}
1
+ {"file":"utils.js","mappings":"AAEO,MAAM,WAAW,GAAG,CAAC,QAAQ,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC;AACrH,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,UAAU,E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AAC;AACrB,CAAC;SAEe,eAAe,CAAC,KAAa,EAAE,eAAiC;IAC9E,IAAI,gBAAgB,GAAG,wBAAwB,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC5E,OAAO,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;AACxC,CAAC;SAEe,sBAAsB,CAAC,WAAmB;IACxD,IAAI,aAAa,GAAG,eAAe,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,CAAC;IACxD,IAAI,aAAa,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;QACtC,OAAO,aAAa,CAAC,IAAI,EAAE,CAAC;KAC7B;IACD,IAAI,aAAa,EAAE;QACjB,OAAO,aAAa,CAAC,IAAI,EAAE,GAAG,WAAW,CAAC;KAC3C;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;SAEe,iBAAiB,CAAC,MAAc;IAC9C,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,KAAK,IAAI,GAAG,IAAI,MAAM,EAAE;QACtB,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE;YAChE,MAAM,IAAI,GAAG,GAAG,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC;SACrC;KACF;IACD,OAAO,MAAM,CAAC;AAChB;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/utils/utils.ts"],"sourcesContent":["import { ResponsiveString } from \"../typings\";\n\nexport const breakpoints = ['mobile', 'tablet-portrait', 'tablet-landscape', 'tablet-pro', 'desktop-large', 'desktop-wide'];\nexport const breakpointLabels = ['Mobile', 'Tablet (Portrait)', 'Tablet (Landscape)', 'iPad Pro', 'Desktop Large', 'Desktop Wide'];\nexport const breakpointValues = [0,768,1024,1366,1440,1920];\n\nexport function getBreakpointValues() {\n return breakpointValues;\n}\nexport function insertCssIntoHead(document: Document, fontCssUrl: string) {\n let element = document.querySelector(`link[href=\"${fontCssUrl}\"]`);\n // Only inject the element if it's not yet present\n if (!element) {\n element = document.createElement('link');\n element.setAttribute('rel', 'stylesheet');\n element.setAttribute('href', fontCssUrl);\n document.head.prepend(element);\n }\n}\n\nexport function generateResponsiveClass(classPrefix: string, responsiveValue: string) {\n let index = -1;\n let classString = '';\n responsiveValue.split('|').forEach(value => {\n index++;\n if (!value || value === 'false') {\n return false;\n }\n classString += ` ${classPrefix}-${breakpoints[index]}-${value}`\n });\n return classString;\n}\n\n// Fills in default value if none exists for a breakpoint\nexport function generateResponsiveValues(responsiveValue: string): string[] {\n if (!responsiveValue) {\n return [];\n }\n let responseArray = [];\n let splitResponsiveValues = responsiveValue.split('|');\n let lastGoodValue = splitResponsiveValues[0];\n breakpointValues.forEach((_value, index) => {\n let thisBreakpointValue = splitResponsiveValues[index];\n if (thisBreakpointValue) {\n lastGoodValue = thisBreakpointValue;\n }\n responseArray.push(thisBreakpointValue ? thisBreakpointValue : lastGoodValue);\n });\n return responseArray;\n}\n\nexport function getCurrentBreakpointIndex(): number {\n let activeBreakpointIndex: number = 0;\n let windowWidth = window.innerWidth;\n breakpointValues.some((width) => {\n // The first time this is true will end the loop\n let condition = width > windowWidth;\n if (!condition) {\n activeBreakpointIndex = breakpointValues.indexOf(width);\n }\n return condition;\n });\n return activeBreakpointIndex;\n}\n\nexport function getCurrentValue(responsiveValue: string|boolean): string {\n if (!responsiveValue) {\n return '';\n }\n let currentBreakpoint = getCurrentBreakpointIndex();\n let responsiveValues = generateResponsiveValues(responsiveValue.toString());\n let returnValue: string;\n for (var i = currentBreakpoint; i >= 0; i--) {\n if (responsiveValues[i]) {\n returnValue = responsiveValues[i];\n i = -1;\n }\n }\n return returnValue;\n}\n\nexport function getValueAtIndex(index: number, responsiveValue: ResponsiveString): string {\n let responsiveValues = generateResponsiveValues(responsiveValue.toString());\n return responsiveValues[index].trim();\n}\n\nexport function getHydratedClassString(classString: string): string {\n let cleanedString = getCurrentValue(classString).trim();\n if (cleanedString.includes('hydrated')) {\n return cleanedString.trim();\n }\n if (cleanedString) {\n return cleanedString.trim() + ' hydrated';\n }\n return 'hydrated';\n}\n\nexport function objectToCssString(object: object): string {\n let string = '';\n for (var key in object) {\n if (object[key].length > 0 && !['px', '%'].includes(object[key])) {\n string += `${key}: ${object[key]};`;\n }\n }\n return string;\n}"],"version":3}
@@ -1,2 +1,2 @@
1
- import{p as t,b as e}from"./p-2faf0c78.js";export{s as setNonce}from"./p-2faf0c78.js";const n=()=>{const e=import.meta.url;const n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return t(n)};n().then((t=>e([["p-fd14acd9",[[4,"content-split-block",{reverse:[1544],columns:[1],classes:[1537],classString:[32]}]]],["p-30ab003a",[[4,"content-carousel",{initMethod:[1,"init-method"],swiperOptions:[1,"swiper-options"]},[[0,"setSwiperOptions","setSwiperOptionsCallback"]]]]],["p-ebaee21f",[[4,"content-navigation-block",{hamburger:[1537],classes:[1537],classString:[32],ariaExpanded:[32],bodyToggle:[32]}]]],["p-2c515f18",[[4,"content-tabs",{classes:[1537],classString:[32]}]]],["p-b8009321",[[4,"content-accordion",{open:[1],animationStart:[1,"animation-start"],animationEnd:[1,"animation-end"],animationTime:[2,"animation-time"],revealElement:[32],isOpen:[32],randomID:[32],classString:[32]}],[4,"content-button",{href:[1537],target:[1],classes:[1],clickableBlock:[4,"clickable-block"],expanded:[1537],controls:[1],linkLabel:[1,"link-label"],linkClass:[1537,"link-class"],classString:[32],hasContentToActivate:[32]}],[4,"content-hero-block",{contentPosition:[1537,"content-position"],classes:[1],hasBackground:[32],classString:[32],revealHiddenContent:[32]},[[8,"contentBlockActivated","contentBlockActivationHandler"]]],[4,"content-image",{classes:[1537],lazyLoad:[4,"lazy-load"],src:[1025],alt:[1537],width:[1025],height:[1025],videoType:[1,"video-type"],showContent:[1537,"show-content"],activeSrc:[32],lazyLoadIsComplete:[32],showVideoAsGif:[32],activeLazyLoadClass:[32],classString:[32],inlineStyle:[32],hasMediaContent:[32]},null,{lazyLoadIsComplete:["watchLazyLoadIsComplete"]}],[4,"content-line",{tag:[1],textAlign:[1,"text-align"],classes:[8],maxWidth:[1,"max-width"],classString:[32],inlineStyle:[32]}],[4,"content-overlay",{target:[1],open:[1537],fullScreen:[1,"full-screen"],classes:[1],horizontalAlignment:[1537,"horizontal-alignment"],verticalAlignment:[1537,"vertical-alignment"],closeTitle:[1,"close-title"],isActive:[32],activeClass:[32],classString:[32],contentSlot:[32],isFullScreen:[32],openOverlay:[64],closeOverlay:[64]},[[0,"contentBlockActivated","onContentBlockActivated"]]],[4,"content-spacer",{classes:[1],maxWidth:[1,"max-width"],fullHeight:[1537,"full-height"],textAlign:[1537,"text-align"],horizontalPosition:[1537,"horizontal-position"],topOffset:[1,"top-offset"],bottomOffset:[1,"bottom-offset"],leftOffset:[1,"left-offset"],rightOffset:[1,"right-offset"],classString:[32],inlineStyle:[32]}],[4,"content-text-block",{classes:[1],minHeight:[1537,"min-height"],verticalAlignment:[1537,"vertical-alignment"],fullHeight:[1537,"full-height"],textAlign:[1537,"text-align"],classString:[32],inlineStyle:[32]}],[4,"content-tout-block",{hover:[1537],classes:[1],classString:[32],hasHoverContent:[32]}],[4,"content-video",{method:[1],autoplay:[4],src:[1],width:[2],height:[2],type:[1],playButtonAriaLabel:[1,"play-button-aria-label"],classes:[1537],controls:[4],preload:[1],fitContainer:[1537,"fit-container"],classString:[32],isLoaded:[32],hasPoster:[32],isPlayed:[32]}],[4,"content-grid-formatter",{classes:[1],type:[1537],flexGrow:[1537,"flex-grow"],flexShrink:[1537,"flex-shrink"],verticalAlignment:[1537,"vertical-alignment"],horizontalAlignment:[1537,"horizontal-alignment"],columns:[1537],classString:[32],activeClassString:[32],inlineStyle:[32]}]]]],t)));
1
+ import{p as t,b as e}from"./p-288eace9.js";export{s as setNonce}from"./p-288eace9.js";const n=()=>{const e=import.meta.url;const n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return t(n)};n().then((t=>e([["p-4bfbd7ef",[[4,"content-split-block",{reverse:[1544],columns:[1],classes:[1537],classString:[32]}]]],["p-271fb304",[[4,"content-carousel",{initMethod:[1,"init-method"],swiperOptions:[1,"swiper-options"]},[[0,"setSwiperOptions","setSwiperOptionsCallback"]]]]],["p-167a9155",[[4,"content-navigation-block",{hamburger:[1537],classes:[1537],classString:[32],ariaExpanded:[32],bodyToggle:[32]}]]],["p-8cc22c1e",[[4,"content-tabs",{classes:[1537],classString:[32]}]]],["p-4038cd42",[[4,"content-accordion",{open:[1],animationStart:[1,"animation-start"],animationEnd:[1,"animation-end"],animationTime:[2,"animation-time"],revealElement:[32],isOpen:[32],randomID:[32],classString:[32]}],[4,"content-button",{href:[1537],target:[1],classes:[1],clickableBlock:[4,"clickable-block"],expanded:[1537],controls:[1],linkLabel:[1,"link-label"],linkClass:[1537,"link-class"],classString:[32],hasContentToActivate:[32]}],[4,"content-hero-block",{contentPosition:[1537,"content-position"],classes:[1],hasBackground:[32],classString:[32],revealHiddenContent:[32]},[[8,"contentBlockActivated","contentBlockActivationHandler"]]],[4,"content-image",{classes:[1537],lazyLoad:[4,"lazy-load"],src:[1025],alt:[1537],width:[1025],height:[1025],aspectRatio:[1025,"aspect-ratio"],type:[1],videoType:[1,"video-type"],showContent:[1537,"show-content"],activeSrc:[32],lazyLoadIsComplete:[32],showVideoAsGif:[32],activeLazyLoadClass:[32],classString:[32],inlineStyle:[32],hasMediaContent:[32],pictureImageSrc:[32]},null,{lazyLoadIsComplete:["watchLazyLoadIsComplete"]}],[4,"content-line",{tag:[1],textAlign:[1,"text-align"],classes:[8],maxWidth:[1,"max-width"],classString:[32],inlineStyle:[32]}],[4,"content-overlay",{target:[1],open:[1537],fullScreen:[1,"full-screen"],classes:[1],horizontalAlignment:[1537,"horizontal-alignment"],verticalAlignment:[1537,"vertical-alignment"],closeTitle:[1,"close-title"],isActive:[32],activeClass:[32],classString:[32],contentSlot:[32],isFullScreen:[32],hasCloseButton:[32],originalMarkup:[32],openOverlay:[64],closeOverlay:[64]},[[0,"contentBlockActivated","onContentBlockActivated"]]],[4,"content-spacer",{classes:[1],maxWidth:[1,"max-width"],fullHeight:[1537,"full-height"],textAlign:[1537,"text-align"],horizontalPosition:[1537,"horizontal-position"],topOffset:[1,"top-offset"],bottomOffset:[1,"bottom-offset"],leftOffset:[1,"left-offset"],rightOffset:[1,"right-offset"],classString:[32],inlineStyle:[32]}],[4,"content-text-block",{classes:[1],minHeight:[1537,"min-height"],verticalAlignment:[1537,"vertical-alignment"],fullHeight:[1537,"full-height"],textAlign:[1537,"text-align"],classString:[32],inlineStyle:[32]}],[4,"content-tout-block",{hover:[1537],classes:[1],classString:[32],hasHoverContent:[32]}],[4,"content-video",{method:[1],autoplay:[4],src:[1],width:[2],height:[2],type:[1],playButtonAriaLabel:[1,"play-button-aria-label"],classes:[1537],controls:[4],preload:[1],fitContainer:[1537,"fit-container"],classString:[32],isLoaded:[32],hasPoster:[32],isPlayed:[32]}],[4,"content-grid-formatter",{classes:[1],type:[1537],flexGrow:[1537,"flex-grow"],flexShrink:[1537,"flex-shrink"],verticalAlignment:[1537,"vertical-alignment"],horizontalAlignment:[1537,"horizontal-alignment"],columns:[1537],columnGap:[1537,"column-gap"],classString:[32],activeClassString:[32],inlineStyle:[32]}]]]],t)));
2
2
  //# sourceMappingURL=content-blocks.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","reverse","columns","classes","classString","initMethod","swiperOptions","hamburger","ariaExpanded","bodyToggle","open","animationStart","animationEnd","animationTime","revealElement","isOpen","randomID","target","clickableBlock","expanded","controls","linkLabel","linkClass","hasContentToActivate","contentPosition","hasBackground","revealHiddenContent","lazyLoad","src","alt","width","height","videoType","showContent","activeSrc","lazyLoadIsComplete","showVideoAsGif","activeLazyLoadClass","inlineStyle","hasMediaContent","tag","textAlign","maxWidth","fullScreen","horizontalAlignment","verticalAlignment","closeTitle","isActive","activeClass","contentSlot","isFullScreen","openOverlay","closeOverlay","fullHeight","horizontalPosition","topOffset","bottomOffset","leftOffset","rightOffset","minHeight","hover","hasHoverContent","method","autoplay","type","playButtonAriaLabel","preload","fitContainer","isLoaded","hasPoster","isPlayed","flexGrow","flexShrink","activeClassString"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAc,yCAAuC,CAAAC,QAAA,OAAAC,QAAA,IAAAC,QAAA,OAAAC,YAAA,+CAAAC,WAAA,kBAAAC,cAAA,2HAAAC,UAAA,OAAAJ,QAAA,OAAAC,YAAA,KAAAI,aAAA,KAAAC,WAAA,2CAAAN,QAAA,OAAAC,YAAA,gDAAAM,KAAA,IAAAC,eAAA,sBAAAC,aAAA,oBAAAC,cAAA,qBAAAC,cAAA,KAAAC,OAAA,KAAAC,SAAA,KAAAZ,YAAA,4BAAAR,KAAA,OAAAqB,OAAA,IAAAd,QAAA,IAAAe,eAAA,sBAAAC,SAAA,OAAAC,SAAA,IAAAC,UAAA,iBAAAC,UAAA,oBAAAlB,YAAA,KAAAmB,qBAAA,gCAAAC,gBAAA,0BAAArB,QAAA,IAAAsB,cAAA,KAAArB,YAAA,KAAAsB,oBAAA,yFAAAvB,QAAA,OAAAwB,SAAA,gBAAAC,IAAA,OAAAC,IAAA,OAAAC,MAAA,OAAAC,OAAA,OAAAC,UAAA,iBAAAC,YAAA,sBAAAC,UAAA,KAAAC,mBAAA,KAAAC,eAAA,KAAAC,oBAAA,KAAAjC,YAAA,KAAAkC,YAAA,KAAAC,gBAAA,YAAAJ,mBAAA,iDAAAK,IAAA,IAAAC,UAAA,iBAAAtC,QAAA,IAAAuC,SAAA,gBAAAtC,YAAA,KAAAkC,YAAA,6BAAArB,OAAA,IAAAP,KAAA,OAAAiC,WAAA,kBAAAxC,QAAA,IAAAyC,oBAAA,8BAAAC,kBAAA,4BAAAC,WAAA,kBAAAC,SAAA,KAAAC,YAAA,KAAA5C,YAAA,KAAA6C,YAAA,KAAAC,aAAA,KAAAC,YAAA,KAAAC,aAAA,oFAAAjD,QAAA,IAAAuC,SAAA,gBAAAW,WAAA,qBAAAZ,UAAA,oBAAAa,mBAAA,6BAAAC,UAAA,iBAAAC,aAAA,oBAAAC,WAAA,kBAAAC,YAAA,mBAAAtD,YAAA,KAAAkC,YAAA,gCAAAnC,QAAA,IAAAwD,UAAA,oBAAAd,kBAAA,4BAAAQ,WAAA,qBAAAZ,UAAA,oBAAArC,YAAA,KAAAkC,YAAA,gCAAAsB,MAAA,OAAAzD,QAAA,IAAAC,YAAA,KAAAyD,gBAAA,2BAAAC,OAAA,IAAAC,SAAA,IAAAnC,IAAA,IAAAE,MAAA,IAAAC,OAAA,IAAAiC,KAAA,IAAAC,oBAAA,6BAAA9D,QAAA,OAAAiB,SAAA,IAAA8C,QAAA,IAAAC,aAAA,uBAAA/D,YAAA,KAAAgE,SAAA,KAAAC,UAAA,KAAAC,SAAA,oCAAAnE,QAAA,IAAA6D,KAAA,OAAAO,SAAA,mBAAAC,WAAA,qBAAA3B,kBAAA,4BAAAD,oBAAA,8BAAA1C,QAAA,OAAAE,YAAA,KAAAqE,kBAAA,KAAAnC,YAAA,UAAAvC"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","reverse","columns","classes","classString","initMethod","swiperOptions","hamburger","ariaExpanded","bodyToggle","open","animationStart","animationEnd","animationTime","revealElement","isOpen","randomID","target","clickableBlock","expanded","controls","linkLabel","linkClass","hasContentToActivate","contentPosition","hasBackground","revealHiddenContent","lazyLoad","src","alt","width","height","aspectRatio","type","videoType","showContent","activeSrc","lazyLoadIsComplete","showVideoAsGif","activeLazyLoadClass","inlineStyle","hasMediaContent","pictureImageSrc","tag","textAlign","maxWidth","fullScreen","horizontalAlignment","verticalAlignment","closeTitle","isActive","activeClass","contentSlot","isFullScreen","hasCloseButton","originalMarkup","openOverlay","closeOverlay","fullHeight","horizontalPosition","topOffset","bottomOffset","leftOffset","rightOffset","minHeight","hover","hasHoverContent","method","autoplay","playButtonAriaLabel","preload","fitContainer","isLoaded","hasPoster","isPlayed","flexGrow","flexShrink","columnGap","activeClassString"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.10.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,GAEXC,EAAc,yCAAuC,CAAAC,QAAA,OAAAC,QAAA,IAAAC,QAAA,OAAAC,YAAA,+CAAAC,WAAA,kBAAAC,cAAA,2HAAAC,UAAA,OAAAJ,QAAA,OAAAC,YAAA,KAAAI,aAAA,KAAAC,WAAA,2CAAAN,QAAA,OAAAC,YAAA,gDAAAM,KAAA,IAAAC,eAAA,sBAAAC,aAAA,oBAAAC,cAAA,qBAAAC,cAAA,KAAAC,OAAA,KAAAC,SAAA,KAAAZ,YAAA,4BAAAR,KAAA,OAAAqB,OAAA,IAAAd,QAAA,IAAAe,eAAA,sBAAAC,SAAA,OAAAC,SAAA,IAAAC,UAAA,iBAAAC,UAAA,oBAAAlB,YAAA,KAAAmB,qBAAA,gCAAAC,gBAAA,0BAAArB,QAAA,IAAAsB,cAAA,KAAArB,YAAA,KAAAsB,oBAAA,yFAAAvB,QAAA,OAAAwB,SAAA,gBAAAC,IAAA,OAAAC,IAAA,OAA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zC"}
@@ -1,2 +1,2 @@
1
- export{u as ResponsiveUtils}from"./p-da2c36ea.js";
1
+ export{u as ResponsiveUtils}from"./p-b04fe808.js";
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as n,H as o,g as e}from"./p-2faf0c78.js";import{W as a}from"./p-3b4b9ad1.js";import"./p-da2c36ea.js";import"./p-cd552ce2.js";const i="*{box-sizing:border-box}body.content-navigation-block-open{overflow:hidden}content-navigation-block[hamburger=fixed],content-navigation-block[hamburger=absolute],content-navigation-block[hamburger=static]{display:inline-block}content-navigation-block[hamburger=fixed][aria-expanded=false] [slot=closeButton],content-navigation-block[hamburger=absolute][aria-expanded=false] [slot=closeButton],content-navigation-block[hamburger=static][aria-expanded=false] [slot=closeButton]{display:none}content-navigation-block[hamburger=fixed] [slot=openButton],content-navigation-block[hamburger=fixed] [slot=closeButton],content-navigation-block[hamburger=absolute] [slot=openButton],content-navigation-block[hamburger=absolute] [slot=closeButton],content-navigation-block[hamburger=static] [slot=openButton],content-navigation-block[hamburger=static] [slot=closeButton]{cursor:pointer}content-navigation-block[hamburger=fixed] [slot=content],content-navigation-block[hamburger=absolute] [slot=content],content-navigation-block[hamburger=static] [slot=content]{display:none;background:white}content-navigation-block[hamburger=fixed] [slot=content][hidden=false],content-navigation-block[hamburger=absolute] [slot=content][hidden=false],content-navigation-block[hamburger=static] [slot=content][hidden=false]{display:block}content-navigation-block[hamburger=fixed] [slot=content]{position:fixed;left:0;top:0;width:100vw;height:100%;z-index:100}content-navigation-block[hamburger=absolute] [slot=content]{position:absolute;z-index:100}content-navigation-block[hamburger=static] [slot=content]{position:static}content-navigation-block[hamburger=none]{display:block}content-navigation-block[hamburger=none] [slot=openButton],content-navigation-block[hamburger=none] [slot=closeButton]{display:none}";const s=class{constructor(n){t(this,n);this.hamburger="fixed|none";this.classes=undefined;this.classString=undefined;this.ariaExpanded="false";this.bodyToggle=false}componentWillLoad(){a.registerProp(this.hamburger).subscribe((t=>{this.hamburger=t;this.bodyToggle=this.hamburger==="fixed";document.body.classList.remove("content-navigation-block-open")}));a.registerProp(this.classes).subscribe((t=>{this.classString=t}))}componentDidLoad(){let t=this.hostElement.querySelector('[slot="openButton"]');let n=this.hostElement.querySelector('[slot="closeButton"]');let o=this.hostElement.querySelector('[slot="content"]');t.onclick=()=>{this.ariaExpanded=this.ariaExpanded==="true"?"false":"true";o.setAttribute("hidden",this.ariaExpanded==="false"?"true":"false");if(this.ariaExpanded==="false"){document.body.classList.remove("content-navigation-block-open")}else if(this.bodyToggle){document.body.classList.add("content-navigation-block-open")}setTimeout((()=>n.focus()),1)};n.onclick=()=>{this.ariaExpanded="false";o.setAttribute("hidden","true");document.body.classList.remove("content-navigation-block-open");setTimeout((()=>t.focus()),1)}}render(){return n(o,{class:this.classString,"aria-expanded":this.ariaExpanded},n("slot",null),n("slot",{name:"openButton"}),n("slot",{name:"closeButton"}),n("slot",{name:"content"}))}get hostElement(){return e(this)}};s.style=i;export{s as content_navigation_block};
2
- //# sourceMappingURL=p-ebaee21f.entry.js.map
1
+ import{r as t,h as n,H as o,g as e}from"./p-288eace9.js";import{W as i}from"./p-cfb4593f.js";import"./p-b04fe808.js";import"./p-cd552ce2.js";const a="*{box-sizing:border-box}body.content-navigation-block-open{overflow:hidden}content-navigation-block[hamburger=fixed],content-navigation-block[hamburger=absolute],content-navigation-block[hamburger=static]{display:inline-block}content-navigation-block[hamburger=fixed][aria-expanded=false] [slot=closeButton],content-navigation-block[hamburger=absolute][aria-expanded=false] [slot=closeButton],content-navigation-block[hamburger=static][aria-expanded=false] [slot=closeButton]{display:none}content-navigation-block[hamburger=fixed] [slot=openButton],content-navigation-block[hamburger=fixed] [slot=closeButton],content-navigation-block[hamburger=absolute] [slot=openButton],content-navigation-block[hamburger=absolute] [slot=closeButton],content-navigation-block[hamburger=static] [slot=openButton],content-navigation-block[hamburger=static] [slot=closeButton]{cursor:pointer}content-navigation-block[hamburger=fixed] [slot=content],content-navigation-block[hamburger=absolute] [slot=content],content-navigation-block[hamburger=static] [slot=content]{display:none;background:white}content-navigation-block[hamburger=fixed] [slot=content][hidden=false],content-navigation-block[hamburger=absolute] [slot=content][hidden=false],content-navigation-block[hamburger=static] [slot=content][hidden=false]{display:block}content-navigation-block[hamburger=fixed] [slot=content]{position:fixed;left:0;top:0;width:100vw;height:100%;z-index:100}content-navigation-block[hamburger=absolute] [slot=content]{position:absolute;z-index:100}content-navigation-block[hamburger=static] [slot=content]{position:static}content-navigation-block[hamburger=none]{display:block}content-navigation-block[hamburger=none] [slot=openButton],content-navigation-block[hamburger=none] [slot=closeButton]{display:none}";const s=class{constructor(n){t(this,n);this.hamburger="fixed|none";this.classes=undefined;this.classString=undefined;this.ariaExpanded="false";this.bodyToggle=false}componentWillLoad(){i.registerProp(this.hamburger).subscribe((t=>{this.hamburger=t;this.bodyToggle=this.hamburger==="fixed";document.body.classList.remove("content-navigation-block-open")}));i.registerProp(this.classes).subscribe((t=>{this.classString=t}))}componentDidLoad(){let t=this.hostElement.querySelector('[slot="openButton"]');let n=this.hostElement.querySelector('[slot="closeButton"]');let o=this.hostElement.querySelector('[slot="content"]');if(t){t.onclick=()=>{this.ariaExpanded=this.ariaExpanded==="true"?"false":"true";o.setAttribute("hidden",this.ariaExpanded==="false"?"true":"false");if(this.ariaExpanded==="false"){document.body.classList.remove("content-navigation-block-open")}else if(this.bodyToggle){document.body.classList.add("content-navigation-block-open")}setTimeout((()=>n.focus()),1)}}if(n){n.onclick=()=>{this.ariaExpanded="false";o.setAttribute("hidden","true");document.body.classList.remove("content-navigation-block-open");setTimeout((()=>t.focus()),1)}}}render(){return n(o,{class:this.classString,"aria-expanded":this.ariaExpanded},n("slot",null),n("slot",{name:"openButton"}),n("slot",{name:"closeButton"}),n("slot",{name:"content"}))}get hostElement(){return e(this)}};s.style=a;export{s as content_navigation_block};
2
+ //# sourceMappingURL=p-167a9155.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["contentNavigationBlockCss","ContentNavigationBlock","componentWillLoad","WindowResizeService","registerProp","this","hamburger","subscribe","newValue","bodyToggle","document","body","classList","remove","classes","classString","componentDidLoad","openButton","hostElement","querySelector","closeButton","content","onclick","ariaExpanded","setAttribute","add","setTimeout","focus","render","h","Host","class","name"],"sources":["src/components/content-navigation-block/content-navigation-block.scss?tag=content-navigation-block","src/components/content-navigation-block/content-navigation-block.tsx"],"sourcesContent":["body.content-navigation-block-open {\n overflow: hidden;\n}\ncontent-navigation-block {\n &[hamburger=\"fixed\"],\n &[hamburger=\"absolute\"],\n &[hamburger=\"static\"] {\n display: inline-block;\n &[aria-expanded=\"false\"] {\n [slot=\"closeButton\"] {\n display: none;\n }\n }\n [slot=\"openButton\"],\n [slot=\"closeButton\"] {\n cursor: pointer;\n }\n \n [slot=\"content\"] {\n display: none;\n background: white;\n &[hidden=\"false\"] {\n display: block;\n }\n }\n }\n\n &[hamburger=\"fixed\"] {\n [slot=\"content\"] {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100%;\n z-index: 100;\n }\n }\n &[hamburger=\"absolute\"] {\n [slot=\"content\"] {\n position: absolute;\n z-index: 100;\n }\n }\n &[hamburger=\"static\"] {\n [slot=\"content\"] {\n position: static;\n }\n }\n \n &[hamburger=\"none\"] {\n display: block;\n [slot=\"openButton\"],\n [slot=\"closeButton\"] {\n display: none;\n }\n }\n}","import { Component, Prop, Host, h, State, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\n\n/**\n * @slot openButton - This slot will expand the navigation when clicked.\n * @slot closeButton - This slot will close the navigation when clicked.\n * @slot content - Default slot\n */\n@Component({\n tag: 'content-navigation-block',\n styleUrl: 'content-navigation-block.scss',\n shadow: false,\n})\nexport class ContentNavigationBlock {\n /**\n * @type Select\n * @responsive\n * @options fixed\n * @options absolute\n * @options static\n * @options none\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hamburger: ResponsiveString = 'fixed|none';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n @Element() hostElement: HTMLStencilElement;\n @State() ariaExpanded: string = 'false';\n @State() bodyToggle: boolean = false;\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.hamburger).subscribe(newValue => {\n this.hamburger = newValue as string;\n this.bodyToggle = this.hamburger === 'fixed';\n document.body.classList.remove('content-navigation-block-open');\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n componentDidLoad() {\n let openButton = this.hostElement.querySelector('[slot=\"openButton\"]') as HTMLElement;\n let closeButton = this.hostElement.querySelector('[slot=\"closeButton\"]') as HTMLElement;\n let content = this.hostElement.querySelector('[slot=\"content\"]') as HTMLElement;\n\n openButton.onclick = () => {\n this.ariaExpanded = this.ariaExpanded === 'true' ? 'false' : 'true';\n content.setAttribute('hidden', this.ariaExpanded === 'false' ? 'true' : 'false');\n if (this.ariaExpanded === 'false') {\n document.body.classList.remove('content-navigation-block-open');\n } else if (this.bodyToggle) {\n document.body.classList.add('content-navigation-block-open');\n }\n setTimeout(() => closeButton.focus(), 1);\n };\n closeButton.onclick = () => {\n this.ariaExpanded = 'false';\n content.setAttribute('hidden', 'true');\n document.body.classList.remove('content-navigation-block-open');\n setTimeout(() => openButton.focus(), 1);\n };\n }\n\n render() {\n return (\n <Host class={this.classString} aria-expanded={this.ariaExpanded}>\n <slot></slot>\n <slot name=\"openButton\"></slot>\n <slot name=\"closeButton\"></slot>\n <slot name=\"content\"></slot>\n </Host>\n );\n }\n}\n"],"mappings":"6IAAA,MAAMA,EAA4B,0vD,MCerBC,EAAsB,M,wCAaH,a,oEAaE,Q,gBACD,K,CAE/B,iBAAAC,GACEC,EAAoBC,aAAaC,KAAKC,WAAWC,WAAUC,IACzDH,KAAKC,UAAYE,EACjBH,KAAKI,WAAaJ,KAAKC,YAAc,QACrCI,SAASC,KAAKC,UAAUC,OAAO,gCAAgC,IAEjEV,EAAoBC,aAAaC,KAAKS,SAASP,WAAUC,IACvDH,KAAKU,YAAcP,CAAkB,G,CAIzC,gBAAAQ,GACE,IAAIC,EAAaZ,KAAKa,YAAYC,cAAc,uBAChD,IAAIC,EAAcf,KAAKa,YAAYC,cAAc,wBACjD,IAAIE,EAAUhB,KAAKa,YAAYC,cAAc,oBAE7CF,EAAWK,QAAU,KACnBjB,KAAKkB,aAAelB,KAAKkB,eAAiB,OAAS,QAAU,OAC7DF,EAAQG,aAAa,SAAUnB,KAAKkB,eAAiB,QAAU,OAAS,SACxE,GAAIlB,KAAKkB,eAAiB,QAAS,CACjCb,SAASC,KAAKC,UAAUC,OAAO,gC,MAC1B,GAAIR,KAAKI,WAAY,CAC1BC,SAASC,KAAKC,UAAUa,IAAI,gC,CAE9BC,YAAW,IAAMN,EAAYO,SAAS,EAAE,EAE1CP,EAAYE,QAAU,KACpBjB,KAAKkB,aAAe,QACpBF,EAAQG,aAAa,SAAU,QAC/Bd,SAASC,KAAKC,UAAUC,OAAO,iCAC/Ba,YAAW,IAAMT,EAAWU,SAAS,EAAE,C,CAI3C,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAO1B,KAAKU,YAAW,gBAAiBV,KAAKkB,cACjDM,EAAA,aACAA,EAAA,QAAMG,KAAK,eACXH,EAAA,QAAMG,KAAK,gBACXH,EAAA,QAAMG,KAAK,Y"}
1
+ {"version":3,"names":["contentNavigationBlockCss","ContentNavigationBlock","componentWillLoad","WindowResizeService","registerProp","this","hamburger","subscribe","newValue","bodyToggle","document","body","classList","remove","classes","classString","componentDidLoad","openButton","hostElement","querySelector","closeButton","content","onclick","ariaExpanded","setAttribute","add","setTimeout","focus","render","h","Host","class","name"],"sources":["src/components/content-navigation-block/content-navigation-block.scss?tag=content-navigation-block","src/components/content-navigation-block/content-navigation-block.tsx"],"sourcesContent":["body.content-navigation-block-open {\n overflow: hidden;\n}\ncontent-navigation-block {\n &[hamburger=\"fixed\"],\n &[hamburger=\"absolute\"],\n &[hamburger=\"static\"] {\n display: inline-block;\n &[aria-expanded=\"false\"] {\n [slot=\"closeButton\"] {\n display: none;\n }\n }\n [slot=\"openButton\"],\n [slot=\"closeButton\"] {\n cursor: pointer;\n }\n \n [slot=\"content\"] {\n display: none;\n background: white;\n &[hidden=\"false\"] {\n display: block;\n }\n }\n }\n\n &[hamburger=\"fixed\"] {\n [slot=\"content\"] {\n position: fixed;\n left: 0;\n top: 0;\n width: 100vw;\n height: 100%;\n z-index: 100;\n }\n }\n &[hamburger=\"absolute\"] {\n [slot=\"content\"] {\n position: absolute;\n z-index: 100;\n }\n }\n &[hamburger=\"static\"] {\n [slot=\"content\"] {\n position: static;\n }\n }\n \n &[hamburger=\"none\"] {\n display: block;\n [slot=\"openButton\"],\n [slot=\"closeButton\"] {\n display: none;\n }\n }\n}","import { Component, Prop, Host, h, State, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\n\n/**\n * @slot openButton - This slot will expand the navigation when clicked.\n * @slot closeButton - This slot will close the navigation when clicked.\n * @slot content - Default slot\n */\n@Component({\n tag: 'content-navigation-block',\n styleUrl: 'content-navigation-block.scss',\n shadow: false,\n})\nexport class ContentNavigationBlock {\n /**\n * @type Select\n * @responsive\n * @options fixed\n * @options absolute\n * @options static\n * @options none\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hamburger: ResponsiveString = 'fixed|none';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n @Element() hostElement: HTMLStencilElement;\n @State() ariaExpanded: string = 'false';\n @State() bodyToggle: boolean = false;\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.hamburger).subscribe(newValue => {\n this.hamburger = newValue as string;\n this.bodyToggle = this.hamburger === 'fixed';\n document.body.classList.remove('content-navigation-block-open');\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n componentDidLoad() {\n let openButton = this.hostElement.querySelector('[slot=\"openButton\"]') as HTMLElement;\n let closeButton = this.hostElement.querySelector('[slot=\"closeButton\"]') as HTMLElement;\n let content = this.hostElement.querySelector('[slot=\"content\"]') as HTMLElement;\n if (openButton) {\n openButton.onclick = () => {\n this.ariaExpanded = this.ariaExpanded === 'true' ? 'false' : 'true';\n content.setAttribute('hidden', this.ariaExpanded === 'false' ? 'true' : 'false');\n if (this.ariaExpanded === 'false') {\n document.body.classList.remove('content-navigation-block-open');\n } else if (this.bodyToggle) {\n document.body.classList.add('content-navigation-block-open');\n }\n setTimeout(() => closeButton.focus(), 1);\n };\n }\n if (closeButton) {\n closeButton.onclick = () => {\n this.ariaExpanded = 'false';\n content.setAttribute('hidden', 'true');\n document.body.classList.remove('content-navigation-block-open');\n setTimeout(() => openButton.focus(), 1);\n };\n }\n }\n\n render() {\n return (\n <Host class={this.classString} aria-expanded={this.ariaExpanded}>\n <slot></slot>\n <slot name=\"openButton\"></slot>\n <slot name=\"closeButton\"></slot>\n <slot name=\"content\"></slot>\n </Host>\n );\n }\n}\n"],"mappings":"6IAAA,MAAMA,EAA4B,0vD,MCerBC,EAAsB,M,wCAaH,a,oEAaE,Q,gBACD,K,CAE/B,iBAAAC,GACEC,EAAoBC,aAAaC,KAAKC,WAAWC,WAAUC,IACzDH,KAAKC,UAAYE,EACjBH,KAAKI,WAAaJ,KAAKC,YAAc,QACrCI,SAASC,KAAKC,UAAUC,OAAO,gCAAgC,IAEjEV,EAAoBC,aAAaC,KAAKS,SAASP,WAAUC,IACvDH,KAAKU,YAAcP,CAAkB,G,CAIzC,gBAAAQ,GACE,IAAIC,EAAaZ,KAAKa,YAAYC,cAAc,uBAChD,IAAIC,EAAcf,KAAKa,YAAYC,cAAc,wBACjD,IAAIE,EAAUhB,KAAKa,YAAYC,cAAc,oBAC7C,GAAIF,EAAY,CACdA,EAAWK,QAAU,KACnBjB,KAAKkB,aAAelB,KAAKkB,eAAiB,OAAS,QAAU,OAC7DF,EAAQG,aAAa,SAAUnB,KAAKkB,eAAiB,QAAU,OAAS,SACxE,GAAIlB,KAAKkB,eAAiB,QAAS,CACjCb,SAASC,KAAKC,UAAUC,OAAO,gC,MAC1B,GAAIR,KAAKI,WAAY,CAC1BC,SAASC,KAAKC,UAAUa,IAAI,gC,CAE9BC,YAAW,IAAMN,EAAYO,SAAS,EAAE,C,CAG5C,GAAIP,EAAa,CACfA,EAAYE,QAAU,KACpBjB,KAAKkB,aAAe,QACpBF,EAAQG,aAAa,SAAU,QAC/Bd,SAASC,KAAKC,UAAUC,OAAO,iCAC/Ba,YAAW,IAAMT,EAAWU,SAAS,EAAE,C,EAK7C,MAAAC,GACE,OACEC,EAACC,EAAI,CAACC,MAAO1B,KAAKU,YAAW,gBAAiBV,KAAKkB,cACjDM,EAAA,aACAA,EAAA,QAAMG,KAAK,eACXH,EAAA,QAAMG,KAAK,gBACXH,EAAA,QAAMG,KAAK,Y"}
@@ -1,2 +1,2 @@
1
- import{r as i,h as e,H as r,g as s}from"./p-2faf0c78.js";import{B as t}from"./p-cd552ce2.js";const a="@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAF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5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}*{box-sizing:border-box}content-carousel{display:block;overflow:hidden}";const p=class{constructor(e){i(this,e);this.loadStatus=new t(false);this.initMethod="load";this.swiperOptions='{"slidesPerView": 1, "slidesPerGroup": 1, "autoplay": true, "loop": false}'}getSwiperOptions(i){return Object.assign({observer:true,observeParents:true,pagination:{el:this.swiperPagination},navigation:{nextEl:this.swiperNextElement,prevEl:this.swiperPrevElement},scrollbar:{el:this.swiperScrollbar}},i)}componentDidLoad(){if(this.initMethod==="load"){if(this.swiperOptions){this.swiperOptionsFinal=this.getSwiperOptions(JSON.parse(this.swiperOptions||""))}let i={root:null,rootMargin:"0px",threshold:.1};let e=new IntersectionObserver((i=>{i.forEach((async i=>{if(i.isIntersecting&&!this.loadStatus.getValue()){await this.initSwiper();this.loadStatus.next(true)}}))}),i);e.observe(this.hostElement)}}setSwiperOptionsCallback(i){this.loadStatus.subscribe((async()=>{let e=this.loadStatus.value;if(e){this.swiperOptionsFinal=this.getSwiperOptions(i.detail);await this.initSwiper()}}))}async initSwiper(){let i=await import("./p-10819bfa.js");for(const i of this.swiperWrapper.children){i.classList.add("swiper-slide")}this.swiperCarousel=new i.Swiper(this.swiper,Object.assign(Object.assign({},this.swiperOptionsFinal),{}))}render(){return e(r,null,e("div",{class:"swiper",ref:i=>this.swiper=i},e("div",{class:"swiper-wrapper",ref:i=>this.swiperWrapper=i},e("slot",{name:"content"}),e("slot",null)),e("div",{class:"swiper-pagination",ref:i=>this.swiperPagination=i}),e("div",{class:"swiper-button-prev",ref:i=>this.swiperPrevElement=i}),e("div",{class:"swiper-button-next",ref:i=>this.swiperNextElement=i}),e("div",{class:"swiper-scrollbar",ref:i=>this.swiperScrollbar=i})))}get hostElement(){return s(this)}};p.style=a;export{p as content_carousel};
2
- //# sourceMappingURL=p-30ab003a.entry.js.map
1
+ import{r as i,h as e,H as r,g as s}from"./p-288eace9.js";import{B as t}from"./p-cd552ce2.js";const a="@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZ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iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active{pointer-events:auto}.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}*{box-sizing:border-box}content-carousel{display:block;overflow:hidden}";const p=class{constructor(e){i(this,e);this.loadStatus=new t(false);this.initMethod="load";this.swiperOptions='{"slidesPerView": 1, "slidesPerGroup": 1, "autoplay": true, "loop": false}'}getSwiperOptions(i){console.log(this.swiperNextElement);return Object.assign({observer:true,observeParents:true,pagination:{el:this.swiperPagination},navigation:{nextEl:this.swiperNextElement,prevEl:this.swiperPrevElement},scrollbar:{el:this.swiperScrollbar}},i)}componentDidLoad(){if(this.initMethod==="load"){if(this.swiperOptions){this.swiperOptionsFinal=this.getSwiperOptions(JSON.parse(this.swiperOptions||""))}let i={root:null,rootMargin:"0px",threshold:.1};let e=new IntersectionObserver((i=>{i.forEach((async i=>{if(i.isIntersecting&&!this.loadStatus.getValue()){await this.initSwiper();this.loadStatus.next(true)}}))}),i);e.observe(this.hostElement)}}setSwiperOptionsCallback(i){this.loadStatus.subscribe((async()=>{let e=this.loadStatus.value;if(e){this.swiperOptionsFinal=this.getSwiperOptions(i.detail);await this.initSwiper()}}))}async initSwiper(){let i=await import("./p-10819bfa.js");for(const i of this.swiperWrapper.children){i.classList.add("swiper-slide")}this.swiperCarousel=new i.Swiper(this.swiper,Object.assign(Object.assign({},this.swiperOptionsFinal),{}))}render(){return e(r,null,e("div",{class:"swiper",ref:i=>this.swiper=i},e("div",{class:"swiper-wrapper",ref:i=>this.swiperWrapper=i},e("slot",{name:"content"}),e("slot",null)),e("div",{class:"swiper-pagination",ref:i=>this.swiperPagination=i}),e("div",{class:"swiper-button-prev",ref:i=>this.swiperPrevElement=i}),e("div",{class:"swiper-button-next",ref:i=>this.swiperNextElement=i}),e("div",{class:"swiper-scrollbar",ref:i=>this.swiperScrollbar=i})))}get hostElement(){return s(this)}};p.style=a;export{p as content_carousel};
2
+ //# sourceMappingURL=p-271fb304.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["contentCarouselCss","ContentCarousel","this","loadStatus","BehaviorSubject","getSwiperOptions","newOptions","console","log","swiperNextElement","Object","assign","observer","observeParents","pagination","el","swiperPagination","navigation","nextEl","prevEl","swiperPrevElement","scrollbar","swiperScrollbar","componentDidLoad","initMethod","swiperOptions","swiperOptionsFinal","JSON","parse","options","root","rootMargin","threshold","IntersectionObserver","entries","forEach","async","entry","isIntersecting","getValue","initSwiper","next","observe","hostElement","setSwiperOptionsCallback","event","subscribe","loaded","value","detail","Swiper","import","slide","swiperWrapper","children","classList","add","swiperCarousel","swiper","render","h","Host","class","ref","name"],"sources":["src/components/content-carousel/content-carousel.scss?tag=content-carousel","src/components/content-carousel/content-carousel.tsx"],"sourcesContent":["@import \"~swiper/swiper-bundle.min.css\";\ncontent-carousel {\n display: block;\n overflow: hidden;\n}","import { Component, h, Host, Prop, Listen, Element } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { BehaviorSubject } from 'rxjs';\n// import { A11y, Navigation, Pagination } from 'swiper/modules';\n\n/**\n * @slot content - This slot will usually serve a content hero block or image.\n * @slot - Default slot, same as content slot.\n */\nexport type InitMethodType = 'load' | 'event';\n@Component({\n tag: 'content-carousel',\n styleUrl: 'content-carousel.scss',\n shadow: false,\n})\nexport class ContentCarousel {\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type Select\n * @options load\n * @options init\n */\n @Prop() initMethod: InitMethodType = 'load';\n /**\n * @type JSON\n * @schema Swiper Options\n */\n @Prop() swiperOptions: string = '{\"slidesPerView\": 1, \"slidesPerGroup\": 1, \"autoplay\": true, \"loop\": false}';\n public swiperCarousel: any;\n public swiper?: HTMLDivElement;\n public swiperWrapper?: HTMLDivElement;\n public swiperPagination?: HTMLDivElement;\n public swiperPrevElement?: HTMLDivElement;\n public swiperNextElement?: HTMLDivElement;\n public swiperScrollbar?: HTMLDivElement;\n public swiperOptionsFinal;\n\n loadStatus: BehaviorSubject<boolean> = new BehaviorSubject(false);\n\n getSwiperOptions(newOptions: string): string {\n console.log(this.swiperNextElement);\n return Object.assign({\n observer: true,\n observeParents: true,\n pagination: {\n el: this.swiperPagination,\n },\n navigation: {\n nextEl: this.swiperNextElement,\n prevEl: this.swiperPrevElement,\n },\n scrollbar: {\n el: this.swiperScrollbar,\n },\n }, newOptions);\n }\n componentDidLoad() {\n if (this.initMethod === 'load') {\n if (this.swiperOptions) {\n this.swiperOptionsFinal = this.getSwiperOptions(JSON.parse(this.swiperOptions as string || ''));\n }\n \n let options = {\n root: null,\n rootMargin: '0px',\n threshold: 0.1,\n }\n \n let observer = new IntersectionObserver((entries) => {\n entries.forEach(async entry => {\n if (entry.isIntersecting && !this.loadStatus.getValue()) {\n await this.initSwiper();\n this.loadStatus.next(true);\n }\n });\n }, options);\n observer.observe(this.hostElement);\n }\n }\n\n @Listen('setSwiperOptions')\n setSwiperOptionsCallback(event: CustomEvent) {\n this.loadStatus.subscribe(async () => {\n let loaded = this.loadStatus.value;\n if (loaded) {\n this.swiperOptionsFinal = this.getSwiperOptions(event.detail);\n await this.initSwiper();\n }\n });\n }\n\n async initSwiper() {\n let Swiper = await import('swiper');\n for (const slide of this.swiperWrapper.children as any) {\n slide.classList.add('swiper-slide');\n }\n // configure Swiper to use modules\n this.swiperCarousel = new Swiper.Swiper(this.swiper, {\n ...this.swiperOptionsFinal, ...{\n // modules: [A11y, Navigation, Pagination]\n }\n });\n }\n\n render() {\n return (\n <Host>\n <div class=\"swiper\" ref={el => this.swiper = el as HTMLDivElement}>\n <div class=\"swiper-wrapper\" ref={el => this.swiperWrapper = el as HTMLDivElement}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <div class=\"swiper-pagination\" ref={el => this.swiperPagination = el as HTMLDivElement}></div>\n\n <div class=\"swiper-button-prev\" ref={el => this.swiperPrevElement = el as HTMLDivElement}></div>\n <div class=\"swiper-button-next\" ref={el => this.swiperNextElement = el as HTMLDivElement}></div>\n\n <div class=\"swiper-scrollbar\" ref={el => this.swiperScrollbar = el as HTMLDivElement}></div>\n </div>\n </Host>\n );\n }\n\n}\n"],"mappings":"6FAAA,MAAMA,EAAqB,40jB,MCedC,EAAe,M,yBAsB1BC,KAAAC,WAAuC,IAAIC,EAAgB,O,gBAftB,O,mBAKL,4E,CAYhC,gBAAAC,CAAiBC,GACfC,QAAQC,IAAIN,KAAKO,mBACjB,OAAOC,OAAOC,OAAO,CACnBC,SAAU,KACVC,eAAgB,KAChBC,WAAY,CACVC,GAAIb,KAAKc,kBAEXC,WAAY,CACVC,OAAQhB,KAAKO,kBACbU,OAAQjB,KAAKkB,mBAEfC,UAAW,CACTN,GAAIb,KAAKoB,kBAEVhB,E,CAEL,gBAAAiB,GACE,GAAIrB,KAAKsB,aAAe,OAAQ,CAC9B,GAAItB,KAAKuB,cAAe,CACtBvB,KAAKwB,mBAAqBxB,KAAKG,iBAAiBsB,KAAKC,MAAM1B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,0 +1,3 @@
1
+ const e="content-blocks";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:false,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:false,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:true};let n;let s;let l=false;let o=false;let i=false;let c=false;let f=false;const r=(e,t="")=>{{return()=>{}}};const a=(e,t)=>{{return()=>{}}};const u="{visibility:hidden}.hydrated{visibility:inherit}";const d="slot-fb{display:contents}slot-fb[hidden]{display:none}";const v={};const p="http://www.w3.org/2000/svg";const m="http://www.w3.org/1999/xhtml";const h=e=>{e=typeof e;return e==="object"||e==="function"};function y(e){var t,n,s;return(s=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const b=(e,t,...n)=>{let s=null;let l=null;let o=false;let i=false;const c=[];const f=t=>{for(let n=0;n<t.length;n++){s=t[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof e!=="function"&&!h(s)){s=String(s)}if(o&&i){c[c.length-1].t+=s}else{c.push(o?g(null,s):s)}i=o}}};f(n);if(t){if(t.name){l=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,c,S)}const r=g(e,null);r.l=t;if(c.length>0){r.o=c}{r.i=l}return r};const g=(e,t)=>{const n={u:0,v:e,t,p:null,o:null};{n.l=null}{n.i=null}return n};const $={};const w=e=>e&&e.v===$;const S={forEach:(e,t)=>e.map(k).forEach(t),map:(e,t)=>e.map(k).map(t).map(C)};const k=e=>({vattrs:e.l,vchildren:e.o,vkey:e.m,vname:e.i,vtag:e.v,vtext:e.t});const C=e=>{if(typeof e.vtag==="function"){const t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return b(e.vtag,t,...e.vchildren||[])}const t=g(e.vtag,e.vtext);t.l=e.vattrs;t.o=e.vchildren;t.m=e.vkey;t.i=e.vname;return t};const j=(e,t)=>{if(e!=null&&!h(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};const x=e=>Te(e).$hostElement$;const O=(e,t,n)=>{const s=x(e);return{emit:e=>T(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};const T=(e,t,n)=>{const s=We.ce(t,n);e.dispatchEvent(s);return s};const L=new WeakMap;const R=(e,t,n)=>{let s=Ne.get(e);if(ze&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=t}else{s.replaceSync(t)}}else{s=t}Ne.set(e,s)};const D=(e,t,n)=>{var s;const l=M(t);const o=Ne.get(l);e=e.nodeType===11?e:Ue;if(o){if(typeof o==="string"){e=e.head||e;let n=L.get(e);let i;if(!n){L.set(e,n=new Set)}if(!n.has(l)){{i=Ue.createElement("style");i.innerHTML=o;const t=(s=We.h)!==null&&s!==void 0?s:y(Ue);if(t!=null){i.setAttribute("nonce",t)}e.insertBefore(i,e.querySelector("link"))}if(t.u&4){i.innerHTML+=d}if(n){n.add(l)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]}}return l};const F=e=>{const t=e.$;const n=e.$hostElement$;const s=r("attachStyles",t.S);D(n.getRootNode(),t);s()};const M=(e,t)=>"sc-"+e.S;const A=(e,t,n,s,l,o)=>{if(n!==s){let i=De(e,t);let c=t.toLowerCase();if(t==="class"){const t=e.classList;const l=P(n);const o=P(s);t.remove(...l.filter((e=>e&&!o.includes(e))));t.add(...o.filter((e=>e&&!l.includes(e))))}else if(t==="style"){{for(const t in n){if(!s||s[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in s){if(!n||s[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,s[t])}else{e.style[t]=s[t]}}}}else if(t==="ref"){if(s){s(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(De(Pe,c)){t=c.slice(2)}else{t=c[2]+t.slice(3)}if(n||s){const l=t.endsWith(U);t=t.replace(W,"");if(n){We.rel(e,t,n,l)}if(s){We.ael(e,t,s,l)}}}else{const c=h(s);if((i||c&&s!==null)&&!l){try{if(!e.tagName.includes("-")){const l=s==null?"":s;if(t==="list"){i=false}else if(n==null||e[t]!=l){e[t]=l}}else{e[t]=s}}catch(e){}}if(s==null||s===false){if(s!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;{e.setAttribute(t,s)}}}}};const N=/\s/;const P=e=>!e?[]:e.split(N);const U="Capture";const W=new RegExp(U+"$");const E=(e,t,n,s)=>{const l=t.p.nodeType===11&&t.p.host?t.p.host:t.p;const o=e&&e.l||v;const i=t.l||v;{for(s in o){if(!(s in i)){A(l,s,o[s],undefined,n,t.u)}}}for(s in i){A(l,s,o[s],i[s],n,t.u)}};const z=(e,t,o,f)=>{const r=t.o[o];let a=0;let u;let d;let v;if(!l){i=true;if(r.v==="slot"){r.u|=r.o?2:1}}if(r.t!==null){u=r.p=Ue.createTextNode(r.t)}else if(r.u&1){u=r.p=Ue.createTextNode("")}else{if(!c){c=r.v==="svg"}u=r.p=Ue.createElementNS(c?p:m,r.u&2?"slot-fb":r.v);if(c&&r.v==="foreignObject"){c=false}{E(null,r,c)}if(r.o){for(a=0;a<r.o.length;++a){d=z(e,r,a);if(d){u.appendChild(d)}}}{if(r.v==="svg"){c=false}else if(u.tagName==="foreignObject"){c=true}}}u["s-hn"]=s;{if(r.u&(2|1)){u["s-sr"]=true;u["s-cr"]=n;u["s-sn"]=r.i||"";v=e&&e.o&&e.o[o];if(v&&v.v===r.v&&e.p){{B(e.p,false)}}}}return u};const B=(e,t)=>{We.u|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const l=n[e];if(l["s-hn"]!==s&&l["s-ol"]){V(l).insertBefore(l,K(l));l["s-ol"].remove();l["s-ol"]=undefined;l["s-sh"]=undefined;i=true}if(t){B(l,t)}}We.u&=~1};const H=(e,t,n,s,l,o)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e;let c;for(;l<=o;++l){if(s[l]){c=z(null,n,l);if(c){s[l].p=c;i.insertBefore(c,K(t))}}}};const Q=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.p;Z(t);if(e){{o=true;if(e["s-ol"]){e["s-ol"].remove()}else{B(e,true)}}e.remove()}}}};const q=(e,t,n,s,l=false)=>{let o=0;let i=0;let c=t.length-1;let f=t[0];let r=t[c];let a=s.length-1;let u=s[0];let d=s[a];let v;while(o<=c&&i<=a){if(f==null){f=t[++o]}else if(r==null){r=t[--c]}else if(u==null){u=s[++i]}else if(d==null){d=s[--a]}else if(I(f,u,l)){X(f,u,l);f=t[++o];u=s[++i]}else if(I(r,d,l)){X(r,d,l);r=t[--c];d=s[--a]}else if(I(f,d,l)){if(f.v==="slot"||d.v==="slot"){B(f.p.parentNode,false)}X(f,d,l);e.insertBefore(f.p,r.p.nextSibling);f=t[++o];d=s[--a]}else if(I(r,u,l)){if(f.v==="slot"||d.v==="slot"){B(r.p.parentNode,false)}X(r,u,l);e.insertBefore(r.p,f.p);r=t[--c];u=s[++i]}else{{v=z(t&&t[i],n,i);u=s[++i]}if(v){{V(f.p).insertBefore(v,K(f.p))}}}}if(o>c){H(e,s[a+1]==null?null:s[a+1].p,n,s,i,a)}else if(i>a){Q(t,o,c)}};const I=(e,t,n=false)=>{if(e.v===t.v){if(e.v==="slot"){return e.i===t.i}return true}return false};const K=e=>e&&e["s-ol"]||e;const V=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;const X=(e,t,n=false)=>{const s=t.p=e.p;const l=e.o;const o=t.o;const i=t.v;const f=t.t;let r;if(f===null){{c=i==="svg"?true:i==="foreignObject"?false:c}{if(i==="slot");else{E(e,t,c)}}if(l!==null&&o!==null){q(s,l,t,o,n)}else if(o!==null){if(e.t!==null){s.textContent=""}H(s,null,t,o,0,o.length-1)}else if(l!==null){Q(l,0,l.length-1)}if(c&&i==="svg"){c=false}}else if(r=s["s-cr"]){r.parentNode.textContent=f}else if(e.t!==f){s.data=f}};const _=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const n=e["s-sn"];e.hidden=false;for(const s of t){if(s!==e){if(s["s-hn"]!==e["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){e.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){e.hidden=true;break}}}}}_(e)}}};const G=[];const J=e=>{let n;let s;let l;for(const i of e.childNodes){if(i["s-sr"]&&(n=i["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=i["s-sn"];for(l=s.length-1;l>=0;l--){n=s[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==i["s-hn"]&&!t.experimentalSlotFixes){if(Y(n,e)){let t=G.find((e=>e.k===n));o=true;n["s-sn"]=n["s-sn"]||e;if(t){t.k["s-sh"]=i["s-hn"];t.C=i}else{n["s-sh"]=i["s-hn"];G.push({C:i,k:n})}if(n["s-sr"]){G.map((e=>{if(Y(e.k,n["s-sn"])){t=G.find((e=>e.k===n));if(t&&!e.C){e.C=t.C}}}))}}else if(!G.some((e=>e.k===n))){G.push({k:n})}}}}if(i.nodeType===1){J(i)}}};const Y=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};const Z=e=>{{e.l&&e.l.ref&&e.l.ref(null);e.o&&e.o.map(Z)}};const ee=(e,t,c=false)=>{var f,r,a,u;const d=e.$hostElement$;const v=e.$;const p=e.j||g(null,null);const m=w(t)?t:b(null,null,t);s=d.tagName;if(v.O){m.l=m.l||{};v.O.map((([e,t])=>m.l[t]=d[e]))}if(c&&m.l){for(const e of Object.keys(m.l)){if(d.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){m.l[e]=d[e]}}}m.v=null;m.u|=4;e.j=m;m.p=p.p=d;{n=d["s-cr"];l=(v.u&1)!==0;o=false}X(p,m,c);{We.u|=1;if(i){J(m.p);for(const e of G){const t=e.k;if(!t["s-ol"]){const e=Ue.createTextNode("");e["s-nr"]=t;t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of G){const t=e.k;const n=e.C;if(n){const e=n.parentNode;let s=n.nextSibling;{let n=(f=t["s-ol"])===null||f===void 0?void 0:f.previousSibling;while(n){let l=(r=n["s-nr"])!==null&&r!==void 0?r:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;if(!l||!l["s-nr"]){s=l;break}}n=n.previousSibling}}if(!s&&e!==t.parentNode||t.nextSibling!==s){if(t!==s){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}e.insertBefore(t,s);if(t.nodeType===1){t.hidden=(a=t["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(t.nodeType===1){if(c){t["s-ih"]=(u=t.hidden)!==null&&u!==void 0?u:false}t.hidden=true}}}}if(o){_(m.p)}We.u&=~1;G.length=0}};const te=(e,t)=>{if(t&&!e.T&&t["s-p"]){t["s-p"].push(new Promise((t=>e.T=t)))}};const ne=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}te(e,e.L);const n=()=>se(e,t);return Ve(n)};const se=(e,t)=>{const n=r("scheduleUpdate",e.$.S);const s=e.R;let l;if(t){{e.u|=256;if(e.D){e.D.map((([e,t])=>ae(s,e,t)));e.D=undefined}}{l=ae(s,"componentWillLoad")}}n();return le(l,(()=>ie(e,s,t)))};const le=(e,t)=>oe(e)?e.then(t):t();const oe=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";const ie=async(e,t,n)=>{var s;const l=e.$hostElement$;const o=r("update",e.$.S);const i=l["s-rc"];if(n){F(e)}const c=r("render",e.$.S);{ce(e,t,l,n)}if(i){i.map((e=>e()));l["s-rc"]=undefined}c();o();{const t=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>fe(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.u|=4;t.length=0}}};const ce=(e,t,n,s)=>{try{t=t.render();{e.u&=~16}{e.u|=2}{{{ee(e,t,s)}}}}catch(t){Fe(t,e.$hostElement$)}return null};const fe=e=>{const t=e.$.S;const n=e.$hostElement$;const s=r("postUpdate",t);const l=e.R;const o=e.L;{ae(l,"componentDidRender")}if(!(e.u&64)){e.u|=64;{ue(n)}{ae(l,"componentDidLoad")}s();{e.F(n);if(!o){re()}}}else{s()}{e.M(n)}{if(e.T){e.T();e.T=undefined}if(e.u&512){Ke((()=>ne(e,false)))}e.u&=~(4|512)}};const re=t=>{{ue(Ue.documentElement)}Ke((()=>T(Pe,"appload",{detail:{namespace:e}})))};const ae=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){Fe(e)}}return undefined};const ue=e=>e.classList.add("hydrated");const de=(e,t)=>Te(e).A.get(t);const ve=(e,t,n,s)=>{const l=Te(e);const o=l.$hostElement$;const i=l.A.get(t);const c=l.u;const f=l.R;n=j(n,s.N[t][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const a=n!==i&&!r;if((!(c&8)||i===undefined)&&a){l.A.set(t,n);if(f){if(s.P&&c&128){const e=s.P[t];if(e){e.map((e=>{try{f[e](n,i,t)}catch(e){Fe(e,o)}}))}}if((c&(2|16))===2){ne(l,false)}}}};const pe=(e,t,n)=>{var s;const l=e.prototype;if(t.N){if(e.watchers){t.P=e.watchers}const o=Object.entries(t.N);o.map((([e,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,e,{get(){return de(this,e)},set(n){ve(this,e,n,t)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,e,{value(...t){var n;const s=Te(this);return(n=s===null||s===void 0?void 0:s.U)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.R)===null||n===void 0?void 0:n[e](...t)}))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(e,s,o){We.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c)){o=this[c];delete this[c]}else if(l.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==o){return}else if(c==null){const n=Te(this);const l=n===null||n===void 0?void 0:n.u;if(l&&!(l&8)&&l&128&&o!==s){const l=n.R;const c=(i=t.P)===null||i===void 0?void 0:i[e];c===null||c===void 0?void 0:c.forEach((t=>{if(l[t]!=null){l[t].call(l,o,s,e)}}))}return}this[c]=o===null&&typeof this[c]==="boolean"?false:o}))};e.observedAttributes=Array.from(new Set([...Object.keys((s=t.P)!==null&&s!==void 0?s:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,s])=>{var l;const o=s[1]||e;n.set(o,e);if(s[0]&512){(l=t.O)===null||l===void 0?void 0:l.push([e,o])}return o}))]))}}return e};const me=async(e,t,n,s)=>{let l;if((t.u&32)===0){t.u|=32;{l=Ae(n);if(l.then){const e=a();l=await l;e()}if(!l.isProxied){{n.P=l.watchers}pe(l,n,2);l.isProxied=true}const e=r("createInstance",n.S);{t.u|=8}try{new l(t)}catch(e){Fe(e)}{t.u&=~8}{t.u|=128}e()}if(l.style){let e=l.style;const t=M(n);if(!Ne.has(t)){const s=r("registerStyles",n.S);R(t,e,!!(n.u&1));s()}}}const o=t.L;const i=()=>ne(t,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const he=e=>{};const ye=e=>{if((We.u&1)===0){const t=Te(e);const n=t.$;const s=r("connectedCallback",n.S);if(!(t.u&1)){t.u|=1;{if(n.u&(4|8)){be(e)}}{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){te(t,t.L=n);break}}}if(n.N){Object.entries(n.N).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{me(e,t,n)}}else{Se(e,t,n.W);if(t===null||t===void 0?void 0:t.R);else if(t===null||t===void 0?void 0:t.B){t.B.then((()=>he()))}}s()}};const be=e=>{const t=e["s-cr"]=Ue.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};const ge=e=>{};const $e=async e=>{if((We.u&1)===0){const t=Te(e);{if(t.H){t.H.map((e=>e()));t.H=undefined}}if(t===null||t===void 0?void 0:t.R);else if(t===null||t===void 0?void 0:t.B){t.B.then((()=>ge()))}}};const we=(e,t={})=>{var n;const s=r();const l=[];const o=t.exclude||[];const i=Pe.customElements;const c=Ue.head;const f=c.querySelector("meta[charset]");const a=Ue.createElement("style");const v=[];let p;let m=true;Object.assign(We,t);We.q=new URL(t.resourcesUrl||"./",Ue.baseURI).href;let h=false;e.map((e=>{e[1].map((t=>{var n;const s={u:t[0],S:t[1],N:t[2],W:t[3]};if(s.u&4){h=true}{s.N=t[2]}{s.W=t[3]}{s.O=[]}{s.P=(n=t[4])!==null&&n!==void 0?n:{}}const c=s.S;const f=class extends HTMLElement{constructor(e){super(e);e=this;Re(e,s)}connectedCallback(){if(p){clearTimeout(p);p=null}if(m){v.push(this)}else{We.jmp((()=>ye(this)))}}disconnectedCallback(){We.jmp((()=>$e(this)))}componentOnReady(){return Te(this).B}};s.I=e[0];if(!o.includes(c)&&!i.get(c)){l.push(c);i.define(c,pe(f,s,1))}}))}));if(h){a.innerHTML+=d}{a.innerHTML+=l+u}if(a.innerHTML.length){a.setAttribute("data-styles","");const e=(n=We.h)!==null&&n!==void 0?n:y(Ue);if(e!=null){a.setAttribute("nonce",e)}c.insertBefore(a,f?f.nextSibling:c.firstChild)}m=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{We.jmp((()=>p=setTimeout(re,30)))}}s()};const Se=(e,t,n,s)=>{if(n){n.map((([n,s,l])=>{const o=Ce(e,n);const i=ke(t,l);const c=je(n);We.ael(o,s,i,c);(t.H=t.H||[]).push((()=>We.rel(o,s,i,c)))}))}};const ke=(e,t)=>n=>{try{{if(e.u&256){e.R[t](n)}else{(e.D=e.D||[]).push([t,n])}}}catch(e){Fe(e)}};const Ce=(e,t)=>{if(t&8)return Pe;return e};const je=e=>(e&2)!==0;const xe=e=>We.h=e;const Oe=new WeakMap;const Te=e=>Oe.get(e);const Le=(e,t)=>Oe.set(t.R=e,t);const Re=(e,t)=>{const n={u:0,$hostElement$:e,$:t,A:new Map};{n.U=new Promise((e=>n.M=e))}{n.B=new Promise((e=>n.F=e));e["s-p"]=[];e["s-rc"]=[]}Se(e,n,t.W);return Oe.set(e,n)};const De=(e,t)=>t in e;const Fe=(e,t)=>(0,console.error)(e,t);const Me=new Map;const Ae=(e,t,n)=>{const s=e.S.replace(/-/g,"_");const l=e.I;const o=Me.get(l);if(o){return o[s]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((e=>{{Me.set(l,e)}return e[s]}),Fe)};const Ne=new Map;const Pe=typeof window!=="undefined"?window:{};const Ue=Pe.document||{head:{}};const We={u:0,q:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};const Ee=e=>Promise.resolve(e);const ze=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();const Be=[];const He=[];const Qe=(e,t)=>n=>{e.push(n);if(!f){f=true;if(t&&We.u&4){Ke(Ie)}else{We.raf(Ie)}}};const qe=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){Fe(e)}}e.length=0};const Ie=()=>{qe(Be);{qe(He);if(f=Be.length>0){We.raf(Ie)}}};const Ke=e=>Ee().then(e);const Ve=Qe(He,true);export{$ as H,we as b,O as c,x as g,b as h,Ee as p,Le as r,xe as s};
3
+ //# sourceMappingURL=p-288eace9.js.map