@ptcwebops/ptcw-design 6.4.7-beta → 6.4.7

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 (429) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blogs-search-section.cjs.entry.js +1 -4
  3. package/dist/cjs/bundle-example.cjs.entry.js +1 -1
  4. package/dist/cjs/buying-option-card.cjs.entry.js +1 -1
  5. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +43 -1
  6. package/dist/cjs/{component-6a178a16.js → component-06dda623.js} +1494 -3305
  7. package/dist/cjs/component-5b5b6a98.js +1819 -0
  8. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -3
  9. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
  10. package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
  11. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  12. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  13. package/dist/cjs/homepage-toggled-content.cjs.entry.js +2 -4
  14. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  15. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  16. package/dist/cjs/list-item.cjs.entry.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -3
  19. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +1 -3
  23. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -6
  24. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-checkbox-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  28. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
  30. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +6 -724
  36. package/dist/cjs/ptc-form-radio-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-img.cjs.entry.js +7 -87
  42. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-inline-cta.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-jumbotron.cjs.entry.js +5 -11
  45. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +2 -5
  49. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +730 -0
  50. package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  52. package/dist/cjs/ptc-office-location-card.cjs.entry.js +1 -1
  53. package/dist/cjs/ptc-office-locations.cjs.entry.js +1 -1
  54. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-picture.cjs.entry.js +18 -1
  56. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  57. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  58. package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -11
  59. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +10 -26
  60. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  61. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  62. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  63. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  64. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +1 -1
  65. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  66. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  67. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +1 -1
  68. package/dist/cjs/ptc-search-field.cjs.entry.js +1 -1
  69. package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
  70. package/dist/cjs/ptc-social-icons.cjs.entry.js +1 -1
  71. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +430 -0
  72. package/dist/cjs/ptc-svg-btn.cjs.entry.js +1 -1
  73. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  74. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +1 -1
  75. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  76. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  77. package/dist/cjs/ptc-white-paper.cjs.entry.js +9 -19
  78. package/dist/cjs/ptcw-design.cjs.js +1 -1
  79. package/dist/cjs/sequential-bundle-example.cjs.entry.js +1 -1
  80. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
  81. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
  82. package/dist/collection/collection-manifest.json +1 -1
  83. package/dist/collection/components/buying-option-card/buying-option-card.css +11 -10
  84. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +25 -19
  85. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +42 -0
  86. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +1 -3
  87. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +2 -30
  88. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +2 -25
  89. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +1 -0
  90. package/dist/collection/components/list-item/list-item.css +2 -1
  91. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +1 -0
  92. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +1 -4
  93. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +1 -1
  94. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +383 -263
  95. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +1 -1
  96. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +13 -17
  97. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +13 -17
  98. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +11 -16
  99. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +2 -1
  100. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +1 -3
  101. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +11 -16
  102. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +11 -16
  103. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +12 -16
  104. package/dist/collection/components/ptc-announcement/ptc-announcement.css +0 -2
  105. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -2
  106. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +1 -0
  107. package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -4
  108. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +4 -26
  109. package/dist/collection/components/ptc-card/ptc-card.css +4 -40
  110. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -3
  111. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +11 -40
  112. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +3 -1
  113. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +3 -1
  114. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +3 -0
  115. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +2 -0
  116. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +0 -24
  117. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +3 -4
  118. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +1 -29
  119. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +3 -0
  120. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +2 -0
  121. package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +1 -0
  122. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +11 -16
  123. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +0 -1
  124. package/dist/collection/components/ptc-img/ptc-img.css +0 -76
  125. package/dist/collection/components/ptc-img/ptc-img.js +7 -132
  126. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +2 -1
  127. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +3 -0
  128. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +38 -38
  129. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +4 -28
  130. package/dist/collection/components/ptc-link/ptc-link.css +2 -1
  131. package/dist/collection/components/ptc-media-card/ptc-media-card.css +4 -2
  132. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +0 -6
  133. package/dist/collection/components/ptc-modal/ptc-modal.css +2 -5
  134. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  135. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +2 -0
  136. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +1 -4
  137. package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +4 -1
  138. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +0 -34
  139. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +2 -0
  140. package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +3 -3
  141. package/dist/collection/components/ptc-para/ptc-para.css +0 -3
  142. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  143. package/dist/collection/components/ptc-picture/ptc-picture.css +14 -7
  144. package/dist/collection/components/ptc-picture/ptc-picture.js +40 -0
  145. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +0 -49
  146. package/dist/collection/components/ptc-preloader/ptc-preloader.css +111 -147
  147. package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
  148. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +21 -9
  149. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -4
  150. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
  151. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -28
  152. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +1 -0
  153. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +9 -25
  154. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +28 -12
  155. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  156. package/dist/collection/components/ptc-product-card/ptc-product-card.css +0 -24
  157. package/dist/collection/components/ptc-product-category/ptc-product-category.css +0 -24
  158. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +0 -24
  159. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +3 -1
  160. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +0 -24
  161. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +0 -24
  162. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
  163. package/dist/collection/components/ptc-search-field/ptc-search-field.css +13 -0
  164. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  165. package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +0 -8
  166. package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +1 -0
  167. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +396 -0
  168. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +483 -0
  169. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +0 -16
  170. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +0 -2
  171. package/dist/collection/components/ptc-textfield/ptc-textfield.css +11 -1
  172. package/dist/collection/components/ptc-textfield/ptc-textfield.js +5 -3
  173. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +1 -25
  174. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +1 -24
  175. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +0 -24
  176. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +3 -54
  177. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +8 -18
  178. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +2 -1
  179. package/dist/collection/stories/organisms/ptc/Buying Options Cards Slider/preview.stories.js +7 -6
  180. package/dist/collection/stories/organisms/ptc/Subnav New/preview.stories.js +360 -0
  181. package/dist/custom-elements/index.d.ts +6 -6
  182. package/dist/custom-elements/index.js +629 -381
  183. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  184. package/dist/esm/blog-detail-layout.entry.js +1 -1
  185. package/dist/esm/blogs-search-section.entry.js +2 -5
  186. package/dist/esm/bundle-example.entry.js +1 -1
  187. package/dist/esm/buying-option-card.entry.js +1 -1
  188. package/dist/esm/buying-option-cards-slider.entry.js +43 -1
  189. package/dist/esm/{component-80f298b4.js → component-274da230.js} +1482 -3281
  190. package/dist/esm/component-341e4eaa.js +1802 -0
  191. package/dist/esm/dynamic-box-bundle.entry.js +1 -3
  192. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  193. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  194. package/dist/esm/featured-list.entry.js +1 -1
  195. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  196. package/dist/esm/homepage-toggled-content.entry.js +3 -5
  197. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  198. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  199. package/dist/esm/list-item.entry.js +1 -1
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/most-popular-news.entry.js +1 -1
  202. package/dist/esm/my-component.entry.js +1 -1
  203. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  204. package/dist/esm/ptc-announcement.entry.js +2 -3
  205. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  206. package/dist/esm/ptc-background-video.entry.js +2 -2
  207. package/dist/esm/ptc-bio-card.entry.js +1 -1
  208. package/dist/esm/ptc-button.entry.js +1 -1
  209. package/dist/esm/ptc-card-bottom_2.entry.js +1 -3
  210. package/dist/esm/ptc-card_2.entry.js +5 -6
  211. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  212. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  213. package/dist/esm/ptc-checkbox.entry.js +1 -1
  214. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  215. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  216. package/dist/esm/ptc-data-lookup.entry.js +2 -1
  217. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  218. package/dist/esm/ptc-featured-list.entry.js +1 -1
  219. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  220. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  221. package/dist/esm/ptc-footer.entry.js +1 -1
  222. package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +8 -724
  223. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  224. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  225. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  226. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  227. package/dist/esm/ptc-icon-card.entry.js +1 -1
  228. package/dist/esm/ptc-icon-component.entry.js +1 -1
  229. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  230. package/dist/esm/ptc-img.entry.js +7 -87
  231. package/dist/esm/ptc-info-tile.entry.js +1 -1
  232. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  233. package/dist/esm/ptc-jumbotron.entry.js +5 -11
  234. package/dist/esm/ptc-link.entry.js +2 -2
  235. package/dist/esm/ptc-media-card.entry.js +2 -2
  236. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  237. package/dist/esm/ptc-modal-quiz.entry.js +2 -5
  238. package/dist/esm/ptc-multi-select_2.entry.js +725 -0
  239. package/dist/esm/ptc-nav-card.entry.js +1 -1
  240. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  241. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  242. package/dist/esm/ptc-office-locations.entry.js +1 -1
  243. package/dist/esm/ptc-para.entry.js +2 -2
  244. package/dist/esm/ptc-picture.entry.js +18 -1
  245. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  246. package/dist/esm/ptc-preloader.entry.js +1 -1
  247. package/dist/esm/ptc-previous-url.entry.js +2 -11
  248. package/dist/esm/ptc-pricing-packaging-table.entry.js +11 -27
  249. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  250. package/dist/esm/ptc-product-card.entry.js +1 -1
  251. package/dist/esm/ptc-product-category.entry.js +1 -1
  252. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  253. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  254. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  255. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  256. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  257. package/dist/esm/ptc-search-field.entry.js +1 -1
  258. package/dist/esm/ptc-slit-card.entry.js +1 -1
  259. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  260. package/dist/esm/ptc-social-icons.entry.js +1 -1
  261. package/dist/esm/ptc-subnav-v2.entry.js +426 -0
  262. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  263. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  264. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  265. package/dist/esm/ptc-title.entry.js +1 -1
  266. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  267. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  268. package/dist/esm/ptc-white-paper.entry.js +9 -19
  269. package/dist/esm/ptcw-design.js +1 -1
  270. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  271. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  272. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  273. package/dist/esm/{utils-bdd0cc16.js → utils-a64ba942.js} +1 -1
  274. package/dist/ptcw-design/media/designer-v6.0.7.svg +2 -30
  275. package/dist/ptcw-design/p-009fbf1f.entry.js +1 -0
  276. package/dist/ptcw-design/p-00e21489.entry.js +1 -0
  277. package/dist/ptcw-design/p-09be9b46.entry.js +1 -0
  278. package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
  279. package/dist/ptcw-design/{p-e5369c4d.entry.js → p-0c914932.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-4c89d63d.entry.js → p-0df868d2.entry.js} +1 -1
  281. package/dist/ptcw-design/p-100a7cc8.entry.js +1 -0
  282. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-18d699f0.entry.js} +1 -1
  283. package/dist/ptcw-design/p-1a853854.entry.js +1 -0
  284. package/dist/ptcw-design/p-1c63c812.entry.js +1 -0
  285. package/dist/ptcw-design/p-1d789cd7.entry.js +1 -0
  286. package/dist/ptcw-design/{p-43a8ccc3.entry.js → p-1e32a493.entry.js} +1 -1
  287. package/dist/ptcw-design/p-1f0daed2.entry.js +1 -0
  288. package/dist/ptcw-design/p-1f15239e.entry.js +1 -0
  289. package/dist/ptcw-design/p-2270dbd2.entry.js +1 -0
  290. package/dist/ptcw-design/{p-c7e948b2.js → p-22cf00e7.js} +1 -1
  291. package/dist/ptcw-design/{p-db1dcce0.entry.js → p-23cb5b5b.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-ddb898c7.entry.js → p-2a22123e.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-7235425a.entry.js → p-2a3c8a30.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-04ff81ef.entry.js → p-2b08a37d.entry.js} +1 -1
  295. package/dist/ptcw-design/p-2bfd8371.entry.js +1 -0
  296. package/dist/ptcw-design/p-2cd2a8bd.entry.js +1 -0
  297. package/dist/ptcw-design/p-2e6e2a9d.entry.js +1 -0
  298. package/dist/ptcw-design/{p-26b70120.entry.js → p-2f21b69b.entry.js} +1 -1
  299. package/dist/ptcw-design/p-2f4efddd.entry.js +68 -0
  300. package/dist/ptcw-design/{p-4703e417.entry.js → p-34374e4d.entry.js} +1 -1
  301. package/dist/ptcw-design/p-3e4861a2.entry.js +1 -0
  302. package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
  303. package/dist/ptcw-design/{p-9c6cad16.entry.js → p-456c5cbb.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-0e63560d.entry.js → p-46b47ed7.entry.js} +1 -1
  305. package/dist/ptcw-design/p-46c518c8.entry.js +1 -0
  306. package/dist/ptcw-design/p-50569afd.entry.js +1 -0
  307. package/dist/ptcw-design/p-506dac1f.entry.js +1 -0
  308. package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-567535fb.entry.js} +1 -1
  309. package/dist/ptcw-design/p-56a73429.entry.js +1 -0
  310. package/dist/ptcw-design/{p-4f0b8ca2.entry.js → p-575861b3.entry.js} +1 -1
  311. package/dist/ptcw-design/p-5af60742.entry.js +1 -0
  312. package/dist/ptcw-design/{p-c3b27836.entry.js → p-5cf5b9f8.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-f61a3476.entry.js → p-5dd538c4.entry.js} +1 -1
  314. package/dist/ptcw-design/p-6115c067.entry.js +1 -0
  315. package/dist/ptcw-design/{p-3a40c41f.entry.js → p-614b66d8.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-674acf91.entry.js → p-62e3cd51.entry.js} +1 -1
  317. package/dist/ptcw-design/p-6ac4cfab.entry.js +1 -0
  318. package/dist/ptcw-design/p-74f6bb23.entry.js +1 -0
  319. package/dist/ptcw-design/p-7714bbaf.entry.js +1 -0
  320. package/dist/ptcw-design/{p-fb790fa9.entry.js → p-7834cfee.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-e5e1e8fb.entry.js → p-82f766d2.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-4d11aafc.entry.js → p-84c15835.entry.js} +1 -1
  323. package/dist/ptcw-design/p-850a6205.entry.js +1 -0
  324. package/dist/ptcw-design/p-8aeb229a.entry.js +1 -0
  325. package/dist/ptcw-design/{p-769b5691.entry.js → p-9063956c.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-927373d4.entry.js} +1 -1
  327. package/dist/ptcw-design/{p-3cb011c9.entry.js → p-92ad78c5.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-89177041.entry.js → p-92e76318.entry.js} +1 -1
  329. package/dist/ptcw-design/p-9493dfa0.entry.js +1 -0
  330. package/dist/ptcw-design/p-95efe7ee.entry.js +1 -0
  331. package/dist/ptcw-design/{p-5793ca02.entry.js → p-9ca635fa.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-0a214a22.entry.js → p-9efa8199.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-3ca1b46e.entry.js → p-9fb21bdf.entry.js} +1 -1
  334. package/dist/ptcw-design/p-a8304a3e.entry.js +1 -0
  335. package/dist/ptcw-design/p-a993c0a6.entry.js +1 -0
  336. package/dist/ptcw-design/p-ab4906a7.entry.js +1 -0
  337. package/dist/ptcw-design/{p-77cad16c.entry.js → p-ac7b2779.entry.js} +1 -1
  338. package/dist/ptcw-design/p-b19cda95.entry.js +1 -0
  339. package/dist/ptcw-design/p-b44f4fb1.entry.js +1 -0
  340. package/dist/ptcw-design/p-b89136c6.entry.js +1 -0
  341. package/dist/ptcw-design/{p-9da57f76.entry.js → p-bc31938f.entry.js} +1 -1
  342. package/dist/ptcw-design/p-bd3d71f1.entry.js +1 -0
  343. package/dist/ptcw-design/p-be533f0d.js +134 -0
  344. package/dist/ptcw-design/{p-b209c116.entry.js → p-c061b32d.entry.js} +1 -1
  345. package/dist/ptcw-design/p-c1513c3f.js +203 -0
  346. package/dist/ptcw-design/{p-3cfe0126.entry.js → p-c160bda4.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-f731fc96.entry.js → p-c4674bc8.entry.js} +1 -1
  348. package/dist/ptcw-design/p-cc652ebe.entry.js +1 -0
  349. package/dist/ptcw-design/p-cc7d5eb7.entry.js +1 -0
  350. package/dist/ptcw-design/p-d391c01b.entry.js +1 -0
  351. package/dist/ptcw-design/{p-8c49d736.entry.js → p-d8b2466d.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-4cee12b8.entry.js → p-e0e87d61.entry.js} +1 -1
  353. package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
  354. package/dist/ptcw-design/p-e73a1a0b.entry.js +1 -0
  355. package/dist/ptcw-design/p-e7c00e48.entry.js +1 -0
  356. package/dist/ptcw-design/p-ec70069f.entry.js +1 -0
  357. package/dist/ptcw-design/p-ef897c5a.entry.js +1 -0
  358. package/dist/ptcw-design/p-f0958536.entry.js +1 -0
  359. package/dist/ptcw-design/{p-5a2ed8fb.entry.js → p-f2675bb0.entry.js} +1 -1
  360. package/dist/ptcw-design/p-f3d3c161.entry.js +1 -0
  361. package/dist/ptcw-design/{p-258963da.entry.js → p-ff66587b.entry.js} +1 -1
  362. package/dist/ptcw-design/ptcw-design.css +3 -4
  363. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  364. package/dist/types/components/buying-option-cards-slider/buying-option-cards-slider.d.ts +1 -0
  365. package/dist/types/components/ptc-img/ptc-img.d.ts +1 -29
  366. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -4
  367. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  368. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  369. package/dist/types/components/ptc-picture/ptc-picture.d.ts +2 -0
  370. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
  371. package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +55 -0
  372. package/dist/types/components.d.ts +84 -113
  373. package/package.json +101 -98
  374. package/readme.md +19 -23
  375. package/dist/cjs/modal-form-example.cjs.entry.js +0 -109
  376. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
  377. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -114
  378. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
  379. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
  380. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
  381. package/dist/esm/modal-form-example.entry.js +0 -105
  382. package/dist/ptcw-design/p-056748b3.entry.js +0 -1
  383. package/dist/ptcw-design/p-0a7cc9e4.entry.js +0 -1
  384. package/dist/ptcw-design/p-1c52250d.entry.js +0 -1
  385. package/dist/ptcw-design/p-1e3bf09c.entry.js +0 -1
  386. package/dist/ptcw-design/p-214d9da6.entry.js +0 -1
  387. package/dist/ptcw-design/p-2670ac97.entry.js +0 -1
  388. package/dist/ptcw-design/p-2afea59e.entry.js +0 -1
  389. package/dist/ptcw-design/p-312c41b8.entry.js +0 -1
  390. package/dist/ptcw-design/p-349f43d5.entry.js +0 -1
  391. package/dist/ptcw-design/p-36abe396.entry.js +0 -1
  392. package/dist/ptcw-design/p-36ee2e12.entry.js +0 -1
  393. package/dist/ptcw-design/p-390c0dee.entry.js +0 -1
  394. package/dist/ptcw-design/p-464d8e22.entry.js +0 -1
  395. package/dist/ptcw-design/p-50308f02.entry.js +0 -1
  396. package/dist/ptcw-design/p-5a8e7557.entry.js +0 -1
  397. package/dist/ptcw-design/p-5c81c755.entry.js +0 -1
  398. package/dist/ptcw-design/p-63b3bcbe.entry.js +0 -1
  399. package/dist/ptcw-design/p-656e8773.entry.js +0 -1
  400. package/dist/ptcw-design/p-672a349f.js +0 -336
  401. package/dist/ptcw-design/p-684ef1e5.entry.js +0 -1
  402. package/dist/ptcw-design/p-6e8ed2ee.entry.js +0 -1
  403. package/dist/ptcw-design/p-6f9f55b3.entry.js +0 -1
  404. package/dist/ptcw-design/p-7218fe2c.entry.js +0 -1
  405. package/dist/ptcw-design/p-74097f89.entry.js +0 -1
  406. package/dist/ptcw-design/p-761a31f8.entry.js +0 -1
  407. package/dist/ptcw-design/p-799afee5.entry.js +0 -1
  408. package/dist/ptcw-design/p-7a3e9ecd.entry.js +0 -1
  409. package/dist/ptcw-design/p-81bcde85.entry.js +0 -1
  410. package/dist/ptcw-design/p-8fb48953.entry.js +0 -1
  411. package/dist/ptcw-design/p-94a76216.entry.js +0 -68
  412. package/dist/ptcw-design/p-95187918.entry.js +0 -1
  413. package/dist/ptcw-design/p-ac766cb3.entry.js +0 -1
  414. package/dist/ptcw-design/p-af831c13.entry.js +0 -1
  415. package/dist/ptcw-design/p-b533cd17.entry.js +0 -1
  416. package/dist/ptcw-design/p-b684ca9d.entry.js +0 -1
  417. package/dist/ptcw-design/p-c09a8288.entry.js +0 -1
  418. package/dist/ptcw-design/p-cb0e3ec2.entry.js +0 -1
  419. package/dist/ptcw-design/p-ce121fb3.entry.js +0 -1
  420. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  421. package/dist/ptcw-design/p-d9df1a16.entry.js +0 -1
  422. package/dist/ptcw-design/p-da02913d.entry.js +0 -1
  423. package/dist/ptcw-design/p-dbf8da08.entry.js +0 -1
  424. package/dist/ptcw-design/p-de960790.entry.js +0 -1
  425. package/dist/ptcw-design/p-e03d7060.entry.js +0 -1
  426. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
  427. package/dist/ptcw-design/p-e93714e9.entry.js +0 -1
  428. package/dist/ptcw-design/p-f57f32ee.entry.js +0 -1
  429. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
@@ -1 +1 @@
1
- import{r as t,h as i,H as o,g as e}from"./p-ac75c7ad.js";import{s as r}from"./p-2f4f6ccd.js";const n=class{constructor(i){t(this,i),this.locations=[],this.regions=[],this.checkboxes=[],this.openRegion="",this.isMobile=void 0,this.address=void 0,this.regionListManual=void 0,this.showMapText="Show Map",this.hideMapText="Hide Map",this.filtersText="Filters",this.allRegionsText="All Regions",this.applyText="Apply",this.clearText="Clear",this.showMap=!1,this.cardScroll=!1}handleResize(){this.isMobile=window.innerWidth<992,this.isMobile&&(this.showMap=!1)}handleAddressClicked(t){if(t.preventDefault(),this.address=t.detail,!this.isMobile&&(this.showMap=!0,!this.cardScroll)){const i=this.hostEl.shadowRoot.querySelector(".office-location-list-wrapper");setTimeout((()=>{null==i||i.scrollIntoView({inline:"nearest",block:"start"})}),100),setTimeout((()=>{var o;null===(o=t.target)||void 0===o||o.scrollIntoView({inline:"nearest",block:"center"}),this.cardScroll=this.showMap,null==i||i.scrollIntoView({inline:"nearest",block:"start"})}),500)}}watchStateHandler(){this.checkboxes=Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked')).map((t=>[t.value,t.getAttribute("data-continent")]))}componentDidUpdate(){this.selectCheckboxesOnScreenResize()}selectCheckboxesOnScreenResize(){this.checkboxes.forEach((t=>{const i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t[1].replace(/\s+/g,"")}`),o=this.hostEl.shadowRoot.querySelector(`#${t[0].replace(/\s+/g,"")}`);i.classList.contains("selected")||i.classList.add("selected"),o.checked||(o.checked=!0)})),this.checkboxes=[]}componentWillLoad(){if(this.isMobile=window.innerWidth<992,document.querySelectorAll("ptc-office-location-card").forEach(((t,i)=>{const o=t.getAttribute("region"),e=t.getAttribute("country");o&&e&&this.locations.push({id:i,region:o,country:e})})),this.regionListManual){const t=this.regionListManual.split(",").map((t=>t.trim()));this.regions=t}else{const t=Array.from(new Set(this.locations.map((t=>t.region))));this.regions=t}this.showFirstMap()}toggleCountryList(t){let i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);this.openRegion===t?(this.openRegion="",i&&(i.querySelectorAll("label").forEach((t=>{t.tabIndex=-1})),i.querySelectorAll("ptc-button").forEach((t=>{t.tabIndex=-1})))):(this.openRegion=t,i&&(i.querySelectorAll("label").forEach((t=>{t.tabIndex=0})),i.querySelectorAll("ptc-button").forEach((t=>{t.removeAttribute("tabIndex")}))))}getCheckboxes(t){return this.hostEl.shadowRoot.querySelectorAll(`.country-list #region-list-${t.replace(/\s+/g,"")} input[type="checkbox"]`)}selectedCheckboxes(){return Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked')).map((t=>t.value))}updateOfficeList(){const t=this.selectedCheckboxes();document.querySelectorAll("ptc-office-location-card").forEach((i=>{const o=i.getAttribute("region"),e=i.getAttribute("country");i.style.display=t.length>0?t.includes(o)||t.includes(e)?"block":"none":"block"})),this.showFirstMap()}applyFilter(t){this.updateOfficeList(),this.toggleCountryList(t)}clearFilter(t){const i=this.getCheckboxes(t),o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);i.forEach((t=>{t.checked=!1})),o.classList.remove("selected"),this.updateOfficeList(),this.toggleCountryList(t)}updateCheckboxStatusOnenter(t,i){13==i.keyCode&&this.updateCheckboxStatus(t,i)}updateCheckboxStatus(t,i){const o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`),e=this.getCheckboxes(t),r=i.target.id===`all-regions-${t.replace(/\s+/g,"")}`||13===i.keyCode&&i.target.getAttribute("data-id")===`all-regions-${t.replace(/\s+/g,"")}`;let n=i.target.checked;if(13===i.keyCode){const t=i.target.querySelector("input");t&&(t.checked=!t.checked,n=t.checked)}let s=!1;e.forEach((t=>{r?t.checked=!!t.classList.contains("all-region-label")&&n:t.classList.contains("all-region-label")&&(t.checked=!1),t.checked&&(s=!0)})),o.classList.toggle("selected",s)}updateSelectedClass(t){this.fadeInWrapper();const i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);let o;this.getCheckboxes(t).forEach((t=>{t.classList.contains("all-region-label")||(t.checked=!1),t.classList.contains("all-region-label")&&(t.checked=!t.checked,o=t.checked)})),i.classList.toggle("selected",o),this.updateOfficeList(),this.toggleCountryList("")}fadeInWrapper(){const t=this.hostEl.shadowRoot.querySelector(".office-location-list-wrapper");t.classList.add("updating"),t.addEventListener("transitionend",(()=>{t.classList.remove("updating")}),{once:!0})}openFilterModal(){this.hostEl.shadowRoot.querySelector("ptc-modal").show=!0}clearFiltersMobile(){this.hostEl.shadowRoot.querySelectorAll("input[type=checkbox]").forEach((t=>{t.checked=!1})),this.updateOfficeList(),this.hostEl.shadowRoot.querySelector("ptc-modal").show=!1}applyFilterMobile(){this.updateOfficeList(),this.hostEl.shadowRoot.querySelector("ptc-modal").show=!1}renderCountrylist(t){const o=[...new Map(this.locations.filter((i=>i.region===t)).map((t=>[t.country,t]))).values()];return i("ul",{id:"region-list-"+t.replace(/\s+/g,"")},i("li",{id:"all-regions-id-"+t.replace(/\s+/g,""),class:"mf-listen"},i("label",{htmlFor:"all-regions-"+t.replace(/\s+/g,""),"data-id":"all-regions-"+t.replace(/\s+/g,""),onKeyDown:i=>this.updateCheckboxStatusOnenter(t.replace(/\s+/g,""),i),tabindex:this.isMobile?0:-1},this.allRegionsText,i("input",{type:"checkbox",class:"all-region-label",tabindex:-1,id:"all-regions-"+t.replace(/\s+/g,""),value:t,"data-continent":t,onChange:i=>this.updateCheckboxStatus(t.replace(/\s+/g,""),i)}),i("span",{class:"checkmark"}))),o.map((o=>i("li",{key:o.id,id:o.id+"id",class:"mf-listen"},i("label",{htmlFor:o.country,tabindex:this.isMobile?0:-1,"data-id":o.country,onKeyDown:i=>this.updateCheckboxStatusOnenter(t.replace(/\s+/g,""),i)},o.country,i("input",{type:"checkbox",id:o.country,tabindex:-1,value:o.country,"data-continent":t,onChange:i=>this.updateCheckboxStatus(t.replace(/\s+/g,""),i)}),i("span",{class:"checkmark"}))))))}toggleMap(){this.showMap=!this.showMap,this.cardScroll=this.showMap}showFirstMap(){const t=document.querySelectorAll("ptc-office-location-card"),i=Array.from(t).filter((t=>""===t.style.display||"block"===t.style.display));this.address=(i.length>0?i[0]:null).getAttribute("address")}render(){const t=this.getCssClassMap();return i(o,null,!this.isMobile&&i("div",{class:"region-list"},this.regions.map((t=>i("div",{class:"region mf-listen "+(this.openRegion===t?"active":""),key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},i("span",{class:"region-btn"},i("span",{class:"continent-name",onClick:()=>{this.updateSelectedClass(t.replace(/\s+/g,""))},onKeyPress:()=>{this.updateSelectedClass(t.replace(/\s+/g,""))},tabindex:"0"},t),i("span",{class:"continent-arrow",onClick:()=>this.toggleCountryList(t),onKeyPress:()=>this.toggleCountryList(t),tabindex:"0"},i("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M1 1L5 5L9 1",stroke:"#40434A","stroke-width":"2","stroke-linecap":"round"})))),i("div",{class:"country-list country-list-desktop"},this.renderCountrylist(t),i("div",{class:"country-list-footer"},i("ptc-button",{"tracker-id":"clearBtnID",color:"ptc-tertiary",tabIndex:-1,"link-title":"Clear",type:"button",size:"small",onClick:()=>this.clearFilter(t),styles:"button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}"},this.clearText),i("ptc-button",{"tracker-id":"applyBtnID",color:"ptc-secondary",tabIndex:-1,"link-title":"Apply",type:"button",size:"small",onClick:()=>this.applyFilter(t)},this.applyText)))))),i("span",{class:"map-btn mf-listen",id:"mapBtnID",onClick:()=>{this.toggleMap()},onKeyPress:()=>{this.toggleMap()},tabindex:0},i("span",{class:"map-icon",innerHTML:this.showMap?'<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd"\n d="M10.5868 2.58474C9.80356 2.2099 8.92629 2 8 2C4.68629 2 2 4.68629 2 8C2 8.72579 2.28784 9.5654 2.73742 10.4342L5.00454 8.16703C5.00151 8.11174 4.99997 8.05605 4.99997 8.00001C4.99997 6.34315 6.34312 5.00001 7.99997 5.00001C8.05602 5.00001 8.11171 5.00154 8.16699 5.00458L10.5868 2.58474ZM7.83299 10.9954C7.88826 10.9985 7.94394 11 7.99997 11C9.65683 11 11 9.65686 11 8.00001C11 7.94397 10.9984 7.8883 10.9954 7.83302L13.4153 5.41317C13.7901 6.19644 14 7.07371 14 8C14 11.3137 8 17 8 17C8 17 6.52564 15.6027 5.03862 13.7898L7.83299 10.9954Z"\n fill="#40434A" />\n <path d="M1 15L15 1" stroke="#40434A" />\n</svg>\n':r}),i("span",null,this.showMap?this.hideMapText:this.showMapText," "))),this.isMobile&&i("button",{class:"filter-cta",onClick:()=>{this.openFilterModal()}}," ",i("span",{class:"svg-close",innerHTML:'\n<svg width="19" height="16" viewBox="0 0 19 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M18.3883 7.52054H6.17773C6.24693 7.83585 6.24693 8.16265 6.17773 8.47797H18.3883C18.4509 8.47867 18.5131 8.4668 18.5712 8.44305C18.6292 8.41931 18.6821 8.38416 18.7266 8.33964C18.7712 8.29511 18.8065 8.2421 18.8307 8.18368C18.8548 8.12525 18.8672 8.06256 18.8672 7.99925C18.8672 7.93594 18.8548 7.87325 18.8307 7.81483C18.8065 7.7564 18.7712 7.70339 18.7266 7.65887C18.6821 7.61435 18.6292 7.5792 18.5712 7.55545C18.5131 7.53171 18.4509 7.51984 18.3883 7.52054V7.52054Z" fill="#40434A"/>\n<path d="M1.88029 7.52054H0.478934C0.41629 7.51984 0.354131 7.53171 0.296055 7.55545C0.237979 7.5792 0.185141 7.61435 0.140598 7.65887C0.096056 7.70339 0.0606943 7.7564 0.0365604 7.81483C0.0124266 7.87325 0 7.93594 0 7.99925C0 8.06256 0.0124266 8.12525 0.0365604 8.18368C0.0606943 8.2421 0.096056 8.29511 0.140598 8.33964C0.185141 8.38416 0.237979 8.41931 0.296055 8.44305C0.354131 8.4668 0.41629 8.47867 0.478934 8.47797H1.88029C1.81109 8.16265 1.81109 7.83585 1.88029 7.52054V7.52054Z" fill="#40434A"/>\n<path d="M18.3894 1.74612H17.207C17.2762 2.06144 17.2762 2.38824 17.207 2.70356H18.3894C18.4521 2.70426 18.5142 2.69239 18.5723 2.66865C18.6304 2.6449 18.6832 2.60975 18.7278 2.56523C18.7723 2.52071 18.8077 2.4677 18.8318 2.40927C18.8559 2.35084 18.8684 2.28816 18.8684 2.22484C18.8684 2.16153 18.8559 2.09884 18.8318 2.04041C18.8077 1.98199 18.7723 1.92898 18.7278 1.88446C18.6832 1.83993 18.6304 1.80478 18.5723 1.78104C18.5142 1.75729 18.4521 1.74543 18.3894 1.74612V1.74612Z" fill="#40434A"/>\n<path d="M12.9086 1.74612H0.478933C0.416289 1.74543 0.35413 1.75729 0.296054 1.78104C0.237979 1.80478 0.18514 1.83993 0.140598 1.88446C0.0960558 1.92898 0.0606941 1.98199 0.0365603 2.04041C0.0124266 2.09884 0 2.16153 0 2.22484C0 2.28816 0.0124266 2.35084 0.0365603 2.40927C0.0606941 2.4677 0.0960558 2.52071 0.140598 2.56523C0.18514 2.60975 0.237979 2.6449 0.296054 2.66865C0.35413 2.69239 0.416289 2.70426 0.478933 2.70356H12.9086C12.8394 2.38824 12.8394 2.06144 12.9086 1.74612V1.74612Z" fill="#40434A"/>\n<path d="M18.3886 13.2969H13.2285C13.2978 13.6122 13.2978 13.939 13.2285 14.2543H18.3886C18.4512 14.255 18.5134 14.2432 18.5715 14.2194C18.6295 14.1957 18.6824 14.1605 18.7269 14.116C18.7715 14.0715 18.8068 14.0185 18.831 13.96C18.8551 13.9016 18.8675 13.8389 18.8675 13.7756C18.8675 13.7123 18.8551 13.6496 18.831 13.5912C18.8068 13.5328 18.7715 13.4798 18.7269 13.4352C18.6824 13.3907 18.6295 13.3556 18.5715 13.3318C18.5134 13.3081 18.4512 13.2962 18.3886 13.2969V13.2969Z" fill="#40434A"/>\n<path d="M8.93086 13.2969H0.478936C0.416291 13.2962 0.354132 13.3081 0.296056 13.3318C0.23798 13.3556 0.185142 13.3907 0.140599 13.4352C0.0960564 13.4798 0.0606945 13.5328 0.0365606 13.5912C0.0124266 13.6496 0 13.7123 0 13.7756C0 13.8389 0.0124266 13.9016 0.0365606 13.96C0.0606945 14.0185 0.0960564 14.0715 0.140599 14.116C0.185142 14.1605 0.23798 14.1957 0.296056 14.2194C0.354132 14.2432 0.416291 14.255 0.478936 14.2543H8.93086C8.86166 13.939 8.86166 13.6122 8.93086 13.2969V13.2969Z" fill="#40434A"/>\n<path d="M17.2049 1.74544C16.9877 0.748413 16.107 0 15.0561 0C14.0052 0 13.1245 0.748413 12.9074 1.74544C12.8382 2.06076 12.8382 2.38756 12.9074 2.70288C13.1247 3.69991 14.0053 4.44838 15.0563 4.44838C16.1072 4.44838 16.9877 3.69991 17.2049 2.70317C17.2741 2.38785 17.2741 2.06105 17.2049 1.74573V1.74544ZM15.0561 3.49094C14.365 3.49094 13.8027 2.92266 13.8027 2.22419C13.8027 1.52572 14.365 0.957435 15.0561 0.957435C15.7472 0.957435 16.3095 1.52566 16.3095 2.22419C16.3095 2.92271 15.7472 3.49094 15.0561 3.49094Z" fill="#40434A"/>\n<path d="M6.17784 7.5218C5.96049 6.52478 5.0798 5.77637 4.02893 5.77637C2.97806 5.77637 2.09737 6.52478 1.88002 7.5218C1.81083 7.83711 1.81083 8.16392 1.88002 8.47923C2.09737 9.47626 2.97801 10.2247 4.02893 10.2247C5.07986 10.2247 5.96049 9.47626 6.17784 8.47923C6.24704 8.16392 6.24704 7.83711 6.17784 7.5218V7.5218ZM4.02893 9.26724C3.33781 9.26724 2.77549 8.69901 2.77549 8.00049C2.77549 7.30196 3.33781 6.7338 4.02893 6.7338C4.72006 6.7338 5.28237 7.30208 5.28237 8.00049C5.28237 8.69889 4.72006 9.26724 4.02893 9.26724Z" fill="#40434A"/>\n<path d="M13.2286 13.2973C13.0113 12.3002 12.1306 11.5518 11.0797 11.5518C10.0287 11.5518 9.1481 12.3002 8.9308 13.2973C8.86161 13.6126 8.86161 13.9394 8.9308 14.2547C9.1481 15.2517 10.0288 16.0002 11.0797 16.0002C12.1305 16.0002 13.0113 15.2517 13.2286 14.2547C13.2978 13.9394 13.2978 13.6126 13.2286 13.2973ZM11.0797 15.0427C10.3885 15.0427 9.82628 14.4745 9.82628 13.776C9.82628 13.0774 10.3885 12.5092 11.0797 12.5092C11.7708 12.5092 12.3333 13.0775 12.3333 13.776C12.3333 14.4744 11.7708 15.0427 11.0797 15.0427Z" fill="#40434A"/>\n</svg>\n'}),this.filtersText),this.isMobile&&i("ptc-modal",{id:"modal-example",show:!1,size:"lg",fixed:!0,rounded:!0,"show-header-footer":"true"},i("div",{slot:"header"},i("ptc-title",{type:"h4",upperline:"no-upperline","text-align":"center","title-margin":"margin-5"},this.filtersText)),i("div",{slot:"footer",class:"modal-footer"},i("ptc-button",{"tracker-id":"mobileClearBtnID",color:"ptc-tertiary","link-title":"Clear",type:"button",size:"small",onClick:()=>{this.clearFiltersMobile()},styles:"button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}"},this.clearText),i("ptc-button",{"tracker-id":"mobileApplyBtnID",color:"ptc-secondary","link-title":"Apply",type:"button",size:"small",onClick:()=>{this.applyFilterMobile()}},this.applyText)),i("div",{slot:"body"},i("div",{class:"filter-modal-body"},this.regions.map((t=>i("div",{class:"country-list country-list-mobile mf-listen",key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},i("span",{class:"continent-name"},t),this.renderCountrylist(t))))))),i("div",{class:t},i("div",{class:"ol-list-bg "},i("slot",null)),!this.isMobile&&i("div",{class:"map-embed"},i("iframe",{frameborder:"0",referrerPolicy:"no-referrer-when-downgrade",width:"100%",height:"100%",style:{border:"0"},allowfullScreen:!0,src:`https://www.google.com/maps/embed/v1/place?key=AIzaSyATvSgSVv2hH0yXiKMcBYsF26j67d3oPLg&q=${this.address}`}))))}getCssClassMap(){return{"office-location-list-wrapper":!0,"showing-map":this.showMap}}get hostEl(){return e(this)}static get watchers(){return{isMobile:["watchStateHandler"]}}};n.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .country-list{z-index:1056;min-width:278px;position:absolute;top:100%;left:16px;width:max-content;margin-top:8px;-webkit-box-orient:vertical;-webkit-box-direction:normal;border-radius:var(--ptc-border-radius-standard);box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);background-color:var(--color-white);border-top:none;overflow:hidden;max-height:0;transition:max-height 0.25s ease-out}:host .country-list ul{list-style:none;margin:0;padding:24px 24px 8px 24px;border-bottom:1px solid var(--color-gray-02);max-height:480px}@media only screen and (min-width: 992px){:host .country-list ul{overflow:auto}}:host .country-list ul::-webkit-scrollbar{width:8px}:host .country-list ul::-webkit-scrollbar-track{background:transparent}:host .country-list ul::-webkit-scrollbar-thumb{background:var(--color-gray-02);border-radius:var(--ptc-border-radius-pill)}:host .country-list li{margin-bottom:1rem;cursor:pointer;transition:background-color 0.3s ease}:host .country-list li label{display:inline-block;position:relative;padding:0 0 4px 32px;font-weight:var(--ptc-font-weight-medium);color:var(--color-gray-10);cursor:pointer}:host .country-list li label .checkmark{background-color:var(--color-white);border:1px solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard);-webkit-box-sizing:border-box;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;width:20px}:host .country-list li label .checkmark::after{background-image:url(\'data:image/svg+xml,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 4L5.5 8L12.5 1" stroke="white" stroke-width="2"/></svg>\');background-position:50%;background-repeat:no-repeat;background-size:75% 100%;content:"";display:none;height:20px;left:-1px;position:absolute;top:-1px;width:20px}:host .country-list li label input[type=checkbox]{cursor:pointer;height:0;opacity:0;position:absolute;width:0;margin:0}:host .country-list li label input:checked~.checkmark{background-color:#1f2024}:host .country-list li label input:checked~.checkmark::after{display:block}:host .country-list li label:hover .checkmark{background-color:var(--color-gray-02)}:host .country-list li label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);padding-bottom:0px}:host .country-list .country-list-footer{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:1rem}:host .country-list.country-list-mobile{display:block;position:relative;overflow:auto;max-height:100%;width:100%;box-shadow:none;margin:0;padding:24px 32px;border-top:1px solid var(--color-gray-02)}:host .country-list.country-list-mobile .continent-name{color:var(--color-gray-10);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-bold);margin-bottom:1rem}:host .country-list.country-list-mobile ul{border:none;padding:16px 0 0 0}:host .region-list{display:flex;justify-content:center;height:100%}:host .region-list .region{position:relative}:host .region-list .region .region-btn{margin:0 0.5rem;height:100%;display:flex;cursor:pointer;position:relative}:host .region-list .region .region-btn .continent-arrow,:host .region-list .region .region-btn .continent-name{background-color:var(--color-gray-02);transition:background-color ease-out 250ms;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);color:var(--color-gray-10)}:host .region-list .region .region-btn .continent-arrow:hover,:host .region-list .region .region-btn .continent-name:hover{background-color:var(--color-gray-03)}:host .region-list .region .region-btn .continent-name{display:flex;border-top-left-radius:270px;border-bottom-left-radius:270px;align-items:center;padding:12px 8px 12px 16px;border-right:1px solid var(--color-gray-03);text-align:center}@media only screen and (min-width: 1200px){:host .region-list .region .region-btn .continent-name{padding:12px 12px 12px 20px}}:host .region-list .region .region-btn .continent-name:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);z-index:9}:host .region-list .region .region-btn .continent-arrow{display:flex;align-items:center;border-top-right-radius:270px;border-bottom-right-radius:270px;padding:12px 16px 12px 12px}@media only screen and (min-width: 1200px){:host .region-list .region .region-btn .continent-arrow{padding:12px 18px 12px 12px}}:host .region-list .region .region-btn .continent-arrow svg{transition:transform ease-out 250ms}:host .region-list .region .region-btn .continent-arrow:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .region-list .region.active .country-list{max-height:800px;}:host .region-list .region.active .region-btn .continent-arrow svg{transform:rotate(-180deg)}:host .region-list .region.selected .continent-arrow,:host .region-list .region.selected .continent-name{background-color:var(--color-gray-12);transition:background-color ease-out 250ms;color:var(--color-white)}:host .region-list .region.selected .continent-arrow:hover,:host .region-list .region.selected .continent-name:hover{background-color:var(--color-gray-12);color:var(--color-white)}:host .region-list .region.selected .continent-arrow svg path{stroke:var(--color-white)}:host .office-location-list-wrapper{opacity:1;transition:opacity 0.25s ease-out;margin-top:2rem}:host .office-location-list-wrapper.updating{opacity:0}:host .office-location-list-wrapper .ol-list-bg{background-color:var(--color-white);display:grid;align-content:flex-start;padding:16px;column-gap:16px;row-gap:16px;grid-template-columns:1fr;overflow-y:auto}@media only screen and (min-width: 768px){:host .office-location-list-wrapper .ol-list-bg{grid-template-columns:1fr 1fr}}@media only screen and (min-width: 1200px){:host .office-location-list-wrapper .ol-list-bg{grid-template-columns:1fr 1fr 1fr}}:host .office-location-list-wrapper .map-embed{display:none}:host .office-location-list-wrapper.showing-map{display:flex;flex-direction:row;height:56rem;max-width:1736rem}:host .office-location-list-wrapper.showing-map .ol-list-bg{width:100%;grid-template-columns:1fr}@media only screen and (min-width: 992px){:host .office-location-list-wrapper.showing-map .ol-list-bg{width:40%}}@media only screen and (min-width: 1200px){:host .office-location-list-wrapper.showing-map .ol-list-bg{width:35%}}@media only screen and (min-width: 1440px){:host .office-location-list-wrapper.showing-map .ol-list-bg{width:65%;grid-template-columns:1fr 1fr}}@media only screen and (min-width: 992px){:host .office-location-list-wrapper.showing-map .map-embed{width:60%}}@media only screen and (min-width: 1200px){:host .office-location-list-wrapper.showing-map .map-embed{width:65%}}@media only screen and (min-width: 1440px){:host .office-location-list-wrapper.showing-map .map-embed{width:35%}}:host .office-location-list-wrapper.showing-map .map-embed{display:block}:host .filter-cta{background:var(--color-white);border:1px solid transparent;border-radius:var(--ptc-border-radius-pill);display:flex;flex-direction:row;margin:0 auto;padding:12px 20px;transition:border 0.25s ease-out;font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10)}:host .filter-cta svg{margin-right:10px}:host .filter-cta:hover{border:1px solid var(--color-gray-02)}:host .filter-cta:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .modal-footer{display:flex;justify-items:center;justify-content:space-between;padding:0 1rem}:host .map-btn{margin:0 0.5rem;height:100%;display:flex;align-items:center;cursor:pointer;position:relative;background-color:var(--color-white);padding:9px 20px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);border-radius:var(--ptc-border-radius-pill);color:var(--color-gray-10);border:1px solid transparent;transition:border 0.25s ease-out;box-sizing:border-box}@media only screen and (min-width: 1200px){:host .map-btn{margin:0 1rem}}:host .map-btn:hover{border:1px solid var(--color-gray-04)}:host .map-btn:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .map-btn .map-icon{margin-right:10px;min-height:20px}';export{n as ptc_office_locations}
1
+ import{r as t,h as i,H as o,g as e}from"./p-ac75c7ad.js";import{s as r}from"./p-2f4f6ccd.js";const n=class{constructor(i){t(this,i),this.locations=[],this.regions=[],this.checkboxes=[],this.openRegion="",this.isMobile=void 0,this.address=void 0,this.regionListManual=void 0,this.showMapText="Show Map",this.hideMapText="Hide Map",this.filtersText="Filters",this.allRegionsText="All Regions",this.applyText="Apply",this.clearText="Clear",this.showMap=!1,this.cardScroll=!1}handleResize(){this.isMobile=window.innerWidth<992,this.isMobile&&(this.showMap=!1)}handleAddressClicked(t){if(t.preventDefault(),this.address=t.detail,!this.isMobile&&(this.showMap=!0,!this.cardScroll)){const i=this.hostEl.shadowRoot.querySelector(".office-location-list-wrapper");setTimeout((()=>{null==i||i.scrollIntoView({inline:"nearest",block:"start"})}),100),setTimeout((()=>{var o;null===(o=t.target)||void 0===o||o.scrollIntoView({inline:"nearest",block:"center"}),this.cardScroll=this.showMap,null==i||i.scrollIntoView({inline:"nearest",block:"start"})}),500)}}watchStateHandler(){this.checkboxes=Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked')).map((t=>[t.value,t.getAttribute("data-continent")]))}componentDidUpdate(){this.selectCheckboxesOnScreenResize()}selectCheckboxesOnScreenResize(){this.checkboxes.forEach((t=>{const i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t[1].replace(/\s+/g,"")}`),o=this.hostEl.shadowRoot.querySelector(`#${t[0].replace(/\s+/g,"")}`);i.classList.contains("selected")||i.classList.add("selected"),o.checked||(o.checked=!0)})),this.checkboxes=[]}componentWillLoad(){if(this.isMobile=window.innerWidth<992,document.querySelectorAll("ptc-office-location-card").forEach(((t,i)=>{const o=t.getAttribute("region"),e=t.getAttribute("country");o&&e&&this.locations.push({id:i,region:o,country:e})})),this.regionListManual){const t=this.regionListManual.split(",").map((t=>t.trim()));this.regions=t}else{const t=Array.from(new Set(this.locations.map((t=>t.region))));this.regions=t}this.showFirstMap()}toggleCountryList(t){let i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);this.openRegion===t?(this.openRegion="",i&&(i.querySelectorAll("label").forEach((t=>{t.tabIndex=-1})),i.querySelectorAll("ptc-button").forEach((t=>{t.tabIndex=-1})))):(this.openRegion=t,i&&(i.querySelectorAll("label").forEach((t=>{t.tabIndex=0})),i.querySelectorAll("ptc-button").forEach((t=>{t.removeAttribute("tabIndex")}))))}getCheckboxes(t){return this.hostEl.shadowRoot.querySelectorAll(`.country-list #region-list-${t.replace(/\s+/g,"")} input[type="checkbox"]`)}selectedCheckboxes(){return Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked')).map((t=>t.value))}updateOfficeList(){const t=this.selectedCheckboxes();document.querySelectorAll("ptc-office-location-card").forEach((i=>{const o=i.getAttribute("region"),e=i.getAttribute("country");i.style.display=t.length>0?t.includes(o)||t.includes(e)?"block":"none":"block"})),this.showFirstMap()}applyFilter(t){this.updateOfficeList(),this.toggleCountryList(t)}clearFilter(t){const i=this.getCheckboxes(t),o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);i.forEach((t=>{t.checked=!1})),o.classList.remove("selected"),this.updateOfficeList(),this.toggleCountryList(t)}updateCheckboxStatusOnenter(t,i){13==i.keyCode&&this.updateCheckboxStatus(t,i)}updateCheckboxStatus(t,i){const o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`),e=this.getCheckboxes(t),r=i.target.id===`all-regions-${t.replace(/\s+/g,"")}`||13===i.keyCode&&i.target.getAttribute("data-id")===`all-regions-${t.replace(/\s+/g,"")}`;let n=i.target.checked;if(13===i.keyCode){const t=i.target.querySelector("input");t&&(t.checked=!t.checked,n=t.checked)}let s=!1;e.forEach((t=>{r?t.checked=!!t.classList.contains("all-region-label")&&n:t.classList.contains("all-region-label")&&(t.checked=!1),t.checked&&(s=!0)})),o.classList.toggle("selected",s)}updateSelectedClass(t){this.fadeInWrapper();const i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);let o;this.getCheckboxes(t).forEach((t=>{t.classList.contains("all-region-label")||(t.checked=!1),t.classList.contains("all-region-label")&&(t.checked=!t.checked,o=t.checked)})),i.classList.toggle("selected",o),this.updateOfficeList(),this.toggleCountryList("")}fadeInWrapper(){const t=this.hostEl.shadowRoot.querySelector(".office-location-list-wrapper");t.classList.add("updating"),t.addEventListener("transitionend",(()=>{t.classList.remove("updating")}),{once:!0})}openFilterModal(){this.hostEl.shadowRoot.querySelector("ptc-modal").show=!0}clearFiltersMobile(){this.hostEl.shadowRoot.querySelectorAll("input[type=checkbox]").forEach((t=>{t.checked=!1})),this.updateOfficeList(),this.hostEl.shadowRoot.querySelector("ptc-modal").show=!1}applyFilterMobile(){this.updateOfficeList(),this.hostEl.shadowRoot.querySelector("ptc-modal").show=!1}renderCountrylist(t){const o=[...new Map(this.locations.filter((i=>i.region===t)).map((t=>[t.country,t]))).values()];return i("ul",{id:"region-list-"+t.replace(/\s+/g,"")},i("li",{id:"all-regions-id-"+t.replace(/\s+/g,""),class:"mf-listen"},i("label",{htmlFor:"all-regions-"+t.replace(/\s+/g,""),"data-id":"all-regions-"+t.replace(/\s+/g,""),onKeyDown:i=>this.updateCheckboxStatusOnenter(t.replace(/\s+/g,""),i),tabindex:this.isMobile?0:-1},this.allRegionsText,i("input",{type:"checkbox",class:"all-region-label",tabindex:-1,id:"all-regions-"+t.replace(/\s+/g,""),value:t,"data-continent":t,onChange:i=>this.updateCheckboxStatus(t.replace(/\s+/g,""),i)}),i("span",{class:"checkmark"}))),o.map((o=>i("li",{key:o.id,id:o.id+"id",class:"mf-listen"},i("label",{htmlFor:o.country,tabindex:this.isMobile?0:-1,"data-id":o.country,onKeyDown:i=>this.updateCheckboxStatusOnenter(t.replace(/\s+/g,""),i)},o.country,i("input",{type:"checkbox",id:o.country,tabindex:-1,value:o.country,"data-continent":t,onChange:i=>this.updateCheckboxStatus(t.replace(/\s+/g,""),i)}),i("span",{class:"checkmark"}))))))}toggleMap(){this.showMap=!this.showMap,this.cardScroll=this.showMap}showFirstMap(){const t=document.querySelectorAll("ptc-office-location-card"),i=Array.from(t).filter((t=>""===t.style.display||"block"===t.style.display));this.address=(i.length>0?i[0]:null).getAttribute("address")}render(){const t=this.getCssClassMap();return i(o,null,!this.isMobile&&i("div",{class:"region-list"},this.regions.map((t=>i("div",{class:"region mf-listen "+(this.openRegion===t?"active":""),key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},i("span",{class:"region-btn"},i("span",{class:"continent-name",onClick:()=>{this.updateSelectedClass(t.replace(/\s+/g,""))},onKeyPress:()=>{this.updateSelectedClass(t.replace(/\s+/g,""))},tabindex:"0"},t),i("span",{class:"continent-arrow",onClick:()=>this.toggleCountryList(t),onKeyPress:()=>this.toggleCountryList(t),tabindex:"0"},i("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M1 1L5 5L9 1",stroke:"#40434A","stroke-width":"2","stroke-linecap":"round"})))),i("div",{class:"country-list country-list-desktop"},this.renderCountrylist(t),i("div",{class:"country-list-footer"},i("ptc-button",{"tracker-id":"clearBtnID",color:"ptc-tertiary",tabIndex:-1,"link-title":"Clear",type:"button",size:"small",onClick:()=>this.clearFilter(t),styles:"button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}"},this.clearText),i("ptc-button",{"tracker-id":"applyBtnID",color:"ptc-secondary",tabIndex:-1,"link-title":"Apply",type:"button",size:"small",onClick:()=>this.applyFilter(t)},this.applyText)))))),i("span",{class:"map-btn mf-listen",id:"mapBtnID",onClick:()=>{this.toggleMap()},onKeyPress:()=>{this.toggleMap()},tabindex:0},i("span",{class:"map-icon",innerHTML:this.showMap?'<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd"\n d="M10.5868 2.58474C9.80356 2.2099 8.92629 2 8 2C4.68629 2 2 4.68629 2 8C2 8.72579 2.28784 9.5654 2.73742 10.4342L5.00454 8.16703C5.00151 8.11174 4.99997 8.05605 4.99997 8.00001C4.99997 6.34315 6.34312 5.00001 7.99997 5.00001C8.05602 5.00001 8.11171 5.00154 8.16699 5.00458L10.5868 2.58474ZM7.83299 10.9954C7.88826 10.9985 7.94394 11 7.99997 11C9.65683 11 11 9.65686 11 8.00001C11 7.94397 10.9984 7.8883 10.9954 7.83302L13.4153 5.41317C13.7901 6.19644 14 7.07371 14 8C14 11.3137 8 17 8 17C8 17 6.52564 15.6027 5.03862 13.7898L7.83299 10.9954Z"\n fill="#40434A" />\n <path d="M1 15L15 1" stroke="#40434A" />\n</svg>\n':r}),i("span",null,this.showMap?this.hideMapText:this.showMapText," "))),this.isMobile&&i("button",{class:"filter-cta",onClick:()=>{this.openFilterModal()}}," ",i("span",{class:"svg-close",innerHTML:'\n<svg width="19" height="16" viewBox="0 0 19 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M18.3883 7.52054H6.17773C6.24693 7.83585 6.24693 8.16265 6.17773 8.47797H18.3883C18.4509 8.47867 18.5131 8.4668 18.5712 8.44305C18.6292 8.41931 18.6821 8.38416 18.7266 8.33964C18.7712 8.29511 18.8065 8.2421 18.8307 8.18368C18.8548 8.12525 18.8672 8.06256 18.8672 7.99925C18.8672 7.93594 18.8548 7.87325 18.8307 7.81483C18.8065 7.7564 18.7712 7.70339 18.7266 7.65887C18.6821 7.61435 18.6292 7.5792 18.5712 7.55545C18.5131 7.53171 18.4509 7.51984 18.3883 7.52054V7.52054Z" fill="#40434A"/>\n<path d="M1.88029 7.52054H0.478934C0.41629 7.51984 0.354131 7.53171 0.296055 7.55545C0.237979 7.5792 0.185141 7.61435 0.140598 7.65887C0.096056 7.70339 0.0606943 7.7564 0.0365604 7.81483C0.0124266 7.87325 0 7.93594 0 7.99925C0 8.06256 0.0124266 8.12525 0.0365604 8.18368C0.0606943 8.2421 0.096056 8.29511 0.140598 8.33964C0.185141 8.38416 0.237979 8.41931 0.296055 8.44305C0.354131 8.4668 0.41629 8.47867 0.478934 8.47797H1.88029C1.81109 8.16265 1.81109 7.83585 1.88029 7.52054V7.52054Z" fill="#40434A"/>\n<path d="M18.3894 1.74612H17.207C17.2762 2.06144 17.2762 2.38824 17.207 2.70356H18.3894C18.4521 2.70426 18.5142 2.69239 18.5723 2.66865C18.6304 2.6449 18.6832 2.60975 18.7278 2.56523C18.7723 2.52071 18.8077 2.4677 18.8318 2.40927C18.8559 2.35084 18.8684 2.28816 18.8684 2.22484C18.8684 2.16153 18.8559 2.09884 18.8318 2.04041C18.8077 1.98199 18.7723 1.92898 18.7278 1.88446C18.6832 1.83993 18.6304 1.80478 18.5723 1.78104C18.5142 1.75729 18.4521 1.74543 18.3894 1.74612V1.74612Z" fill="#40434A"/>\n<path d="M12.9086 1.74612H0.478933C0.416289 1.74543 0.35413 1.75729 0.296054 1.78104C0.237979 1.80478 0.18514 1.83993 0.140598 1.88446C0.0960558 1.92898 0.0606941 1.98199 0.0365603 2.04041C0.0124266 2.09884 0 2.16153 0 2.22484C0 2.28816 0.0124266 2.35084 0.0365603 2.40927C0.0606941 2.4677 0.0960558 2.52071 0.140598 2.56523C0.18514 2.60975 0.237979 2.6449 0.296054 2.66865C0.35413 2.69239 0.416289 2.70426 0.478933 2.70356H12.9086C12.8394 2.38824 12.8394 2.06144 12.9086 1.74612V1.74612Z" fill="#40434A"/>\n<path d="M18.3886 13.2969H13.2285C13.2978 13.6122 13.2978 13.939 13.2285 14.2543H18.3886C18.4512 14.255 18.5134 14.2432 18.5715 14.2194C18.6295 14.1957 18.6824 14.1605 18.7269 14.116C18.7715 14.0715 18.8068 14.0185 18.831 13.96C18.8551 13.9016 18.8675 13.8389 18.8675 13.7756C18.8675 13.7123 18.8551 13.6496 18.831 13.5912C18.8068 13.5328 18.7715 13.4798 18.7269 13.4352C18.6824 13.3907 18.6295 13.3556 18.5715 13.3318C18.5134 13.3081 18.4512 13.2962 18.3886 13.2969V13.2969Z" fill="#40434A"/>\n<path d="M8.93086 13.2969H0.478936C0.416291 13.2962 0.354132 13.3081 0.296056 13.3318C0.23798 13.3556 0.185142 13.3907 0.140599 13.4352C0.0960564 13.4798 0.0606945 13.5328 0.0365606 13.5912C0.0124266 13.6496 0 13.7123 0 13.7756C0 13.8389 0.0124266 13.9016 0.0365606 13.96C0.0606945 14.0185 0.0960564 14.0715 0.140599 14.116C0.185142 14.1605 0.23798 14.1957 0.296056 14.2194C0.354132 14.2432 0.416291 14.255 0.478936 14.2543H8.93086C8.86166 13.939 8.86166 13.6122 8.93086 13.2969V13.2969Z" fill="#40434A"/>\n<path d="M17.2049 1.74544C16.9877 0.748413 16.107 0 15.0561 0C14.0052 0 13.1245 0.748413 12.9074 1.74544C12.8382 2.06076 12.8382 2.38756 12.9074 2.70288C13.1247 3.69991 14.0053 4.44838 15.0563 4.44838C16.1072 4.44838 16.9877 3.69991 17.2049 2.70317C17.2741 2.38785 17.2741 2.06105 17.2049 1.74573V1.74544ZM15.0561 3.49094C14.365 3.49094 13.8027 2.92266 13.8027 2.22419C13.8027 1.52572 14.365 0.957435 15.0561 0.957435C15.7472 0.957435 16.3095 1.52566 16.3095 2.22419C16.3095 2.92271 15.7472 3.49094 15.0561 3.49094Z" fill="#40434A"/>\n<path d="M6.17784 7.5218C5.96049 6.52478 5.0798 5.77637 4.02893 5.77637C2.97806 5.77637 2.09737 6.52478 1.88002 7.5218C1.81083 7.83711 1.81083 8.16392 1.88002 8.47923C2.09737 9.47626 2.97801 10.2247 4.02893 10.2247C5.07986 10.2247 5.96049 9.47626 6.17784 8.47923C6.24704 8.16392 6.24704 7.83711 6.17784 7.5218V7.5218ZM4.02893 9.26724C3.33781 9.26724 2.77549 8.69901 2.77549 8.00049C2.77549 7.30196 3.33781 6.7338 4.02893 6.7338C4.72006 6.7338 5.28237 7.30208 5.28237 8.00049C5.28237 8.69889 4.72006 9.26724 4.02893 9.26724Z" fill="#40434A"/>\n<path d="M13.2286 13.2973C13.0113 12.3002 12.1306 11.5518 11.0797 11.5518C10.0287 11.5518 9.1481 12.3002 8.9308 13.2973C8.86161 13.6126 8.86161 13.9394 8.9308 14.2547C9.1481 15.2517 10.0288 16.0002 11.0797 16.0002C12.1305 16.0002 13.0113 15.2517 13.2286 14.2547C13.2978 13.9394 13.2978 13.6126 13.2286 13.2973ZM11.0797 15.0427C10.3885 15.0427 9.82628 14.4745 9.82628 13.776C9.82628 13.0774 10.3885 12.5092 11.0797 12.5092C11.7708 12.5092 12.3333 13.0775 12.3333 13.776C12.3333 14.4744 11.7708 15.0427 11.0797 15.0427Z" fill="#40434A"/>\n</svg>\n'}),this.filtersText),this.isMobile&&i("ptc-modal",{id:"modal-example",show:!1,size:"lg",fixed:!0,rounded:!0,"show-header-footer":"true"},i("div",{slot:"header"},i("ptc-title",{type:"h4",upperline:"no-upperline","text-align":"center","title-margin":"margin-5"},this.filtersText)),i("div",{slot:"footer",class:"modal-footer"},i("ptc-button",{"tracker-id":"mobileClearBtnID",color:"ptc-tertiary","link-title":"Clear",type:"button",size:"small",onClick:()=>{this.clearFiltersMobile()},styles:"button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}"},this.clearText),i("ptc-button",{"tracker-id":"mobileApplyBtnID",color:"ptc-secondary","link-title":"Apply",type:"button",size:"small",onClick:()=>{this.applyFilterMobile()}},this.applyText)),i("div",{slot:"body"},i("div",{class:"filter-modal-body"},this.regions.map((t=>i("div",{class:"country-list country-list-mobile mf-listen",key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},i("span",{class:"continent-name"},t),this.renderCountrylist(t))))))),i("div",{class:t},i("div",{class:"ol-list-bg "},i("slot",null)),!this.isMobile&&i("div",{class:"map-embed"},i("iframe",{frameborder:"0",referrerPolicy:"no-referrer-when-downgrade",width:"100%",height:"100%",style:{border:"0"},allowfullScreen:!0,src:`https://www.google.com/maps/embed/v1/place?key=AIzaSyATvSgSVv2hH0yXiKMcBYsF26j67d3oPLg&q=${this.address}`}))))}getCssClassMap(){return{"office-location-list-wrapper":!0,"showing-map":this.showMap}}get hostEl(){return e(this)}static get watchers(){return{isMobile:["watchStateHandler"]}}};n.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .country-list{z-index:1056;min-width:278px;position:absolute;top:100%;left:16px;width:-moz-max-content;width:max-content;margin-top:8px;-webkit-box-orient:vertical;border-radius:var(--ptc-border-radius-standard);box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);background-color:var(--color-white);border-top:none;overflow:hidden;max-height:0;transition:max-height 0.25s ease-out}:host .country-list ul{list-style:none;margin:0;padding:24px 24px 8px 24px;border-bottom:1px solid var(--color-gray-02);max-height:480px}@media only screen and (min-width: 992px){:host .country-list ul{overflow:auto}}:host .country-list ul::-webkit-scrollbar{width:8px}:host .country-list ul::-webkit-scrollbar-track{background:transparent}:host .country-list ul::-webkit-scrollbar-thumb{background:var(--color-gray-02);border-radius:var(--ptc-border-radius-pill)}:host .country-list li{margin-bottom:1rem;cursor:pointer;transition:background-color 0.3s ease}:host .country-list li label{display:inline-block;position:relative;padding:0 0 4px 32px;font-weight:var(--ptc-font-weight-medium);color:var(--color-gray-10);cursor:pointer}:host .country-list li label .checkmark{background-color:var(--color-white);border:1px solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard);box-sizing:border-box;height:20px;left:0;position:absolute;top:0;width:20px}:host .country-list li label .checkmark::after{background-image:url(\'data:image/svg+xml,<svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.5 4L5.5 8L12.5 1" stroke="white" stroke-width="2"/></svg>\');background-position:50%;background-repeat:no-repeat;background-size:75% 100%;content:"";display:none;height:20px;left:-1px;position:absolute;top:-1px;width:20px}:host .country-list li label input[type=checkbox]{cursor:pointer;height:0;opacity:0;position:absolute;width:0;margin:0}:host .country-list li label input:checked~.checkmark{background-color:#1f2024}:host .country-list li label input:checked~.checkmark::after{display:block}:host .country-list li label:hover .checkmark{background-color:var(--color-gray-02)}:host .country-list li label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);padding-bottom:0px}:host .country-list .country-list-footer{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:1rem}:host .country-list.country-list-mobile{display:block;position:relative;overflow:auto;max-height:100%;width:100%;box-shadow:none;margin:0;padding:24px 32px;border-top:1px solid var(--color-gray-02)}:host .country-list.country-list-mobile .continent-name{color:var(--color-gray-10);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-bold);margin-bottom:1rem}:host .country-list.country-list-mobile ul{border:none;padding:16px 0 0 0}:host .region-list{display:flex;justify-content:center;height:100%}:host .region-list .region{position:relative}:host .region-list .region .region-btn{margin:0 0.5rem;height:100%;display:flex;cursor:pointer;position:relative}:host .region-list .region .region-btn .continent-arrow,:host .region-list .region .region-btn .continent-name{background-color:var(--color-gray-02);transition:background-color ease-out 250ms;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);color:var(--color-gray-10)}:host .region-list .region .region-btn .continent-arrow:hover,:host .region-list .region .region-btn .continent-name:hover{background-color:var(--color-gray-03)}:host .region-list .region .region-btn .continent-name{display:flex;border-top-left-radius:270px;border-bottom-left-radius:270px;align-items:center;padding:12px 8px 12px 16px;border-right:1px solid var(--color-gray-03);text-align:center}@media only screen and (min-width: 1200px){:host .region-list .region .region-btn .continent-name{padding:12px 12px 12px 20px}}:host .region-list .region .region-btn .continent-name:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);z-index:9}:host .region-list .region .region-btn .continent-arrow{display:flex;align-items:center;border-top-right-radius:270px;border-bottom-right-radius:270px;padding:12px 16px 12px 12px}@media only screen and (min-width: 1200px){:host .region-list .region .region-btn .continent-arrow{padding:12px 18px 12px 12px}}:host .region-list .region .region-btn .continent-arrow svg{transition:transform ease-out 250ms}:host .region-list .region .region-btn .continent-arrow:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .region-list .region.active .country-list{max-height:800px;}:host .region-list .region.active .region-btn .continent-arrow svg{transform:rotate(-180deg)}:host .region-list .region.selected .continent-arrow,:host .region-list .region.selected .continent-name{background-color:var(--color-gray-12);transition:background-color ease-out 250ms;color:var(--color-white)}:host .region-list .region.selected .continent-arrow:hover,:host .region-list .region.selected .continent-name:hover{background-color:var(--color-gray-12);color:var(--color-white)}:host .region-list .region.selected .continent-arrow svg path{stroke:var(--color-white)}:host .office-location-list-wrapper{opacity:1;transition:opacity 0.25s ease-out;margin-top:2rem}:host .office-location-list-wrapper.updating{opacity:0}:host .office-location-list-wrapper .ol-list-bg{background-color:var(--color-white);display:grid;align-content:flex-start;padding:16px;-moz-column-gap:16px;column-gap:16px;row-gap:16px;grid-template-columns:1fr;overflow-y:auto}@media only screen and (min-width: 768px){:host .office-location-list-wrapper .ol-list-bg{grid-template-columns:1fr 1fr}}@media only screen and (min-width: 1200px){:host .office-location-list-wrapper .ol-list-bg{grid-template-columns:1fr 1fr 1fr}}:host .office-location-list-wrapper .map-embed{display:none}:host .office-location-list-wrapper.showing-map{display:flex;flex-direction:row;height:56rem;max-width:1736rem}:host .office-location-list-wrapper.showing-map .ol-list-bg{width:100%;grid-template-columns:1fr}@media only screen and (min-width: 992px){:host .office-location-list-wrapper.showing-map .ol-list-bg{width:40%}}@media only screen and (min-width: 1200px){:host .office-location-list-wrapper.showing-map .ol-list-bg{width:35%}}@media only screen and (min-width: 1440px){:host .office-location-list-wrapper.showing-map .ol-list-bg{width:65%;grid-template-columns:1fr 1fr}}@media only screen and (min-width: 992px){:host .office-location-list-wrapper.showing-map .map-embed{width:60%}}@media only screen and (min-width: 1200px){:host .office-location-list-wrapper.showing-map .map-embed{width:65%}}@media only screen and (min-width: 1440px){:host .office-location-list-wrapper.showing-map .map-embed{width:35%}}:host .office-location-list-wrapper.showing-map .map-embed{display:block}:host .filter-cta{background:var(--color-white);border:1px solid transparent;border-radius:var(--ptc-border-radius-pill);display:flex;flex-direction:row;margin:0 auto;padding:12px 20px;transition:border 0.25s ease-out;font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10)}:host .filter-cta svg{margin-right:10px}:host .filter-cta:hover{border:1px solid var(--color-gray-02)}:host .filter-cta:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .modal-footer{display:flex;justify-items:center;justify-content:space-between;padding:0 1rem}:host .map-btn{margin:0 0.5rem;height:100%;display:flex;align-items:center;cursor:pointer;position:relative;background-color:var(--color-white);padding:9px 20px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);border-radius:var(--ptc-border-radius-pill);color:var(--color-gray-10);border:1px solid transparent;transition:border 0.25s ease-out;box-sizing:border-box}@media only screen and (min-width: 1200px){:host .map-btn{margin:0 1rem}}:host .map-btn:hover{border:1px solid var(--color-gray-04)}:host .map-btn:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .map-btn .map-icon{margin-right:10px;min-height:20px}';export{n as ptc_office_locations}
@@ -1 +1 @@
1
- import{r as i,h as t,H as e,g as s}from"./p-ac75c7ad.js";import{C as h}from"./p-c7e948b2.js";import{f as C,l as o,x as a}from"./p-7f2c5da5.js";const n=class{constructor(t){i(this,t),this.instagramUrl=void 0,this.facebookUrl=void 0,this.linkedinUrl=void 0,this.xUrl=void 0,this.youtubeUrl=void 0,this.weiboUrl=void 0,this.youkuUrl=void 0,this.wechatQrImageUrl=void 0,this.wechatQrImageAltText=void 0,this.wechatImageUrl=void 0,this.wechatImageAlt=void 0,this.instagramImageUrl=void 0,this.facebookImageUrl=void 0,this.linkedinImageUrl=void 0,this.xImageUrl=void 0,this.youtubeImageUrl=void 0,this.weiboImageUrl=void 0,this.youkuImageUrl=void 0,this.instagramImageAlt=void 0,this.facebookImageAlt=void 0,this.linkedinImageAlt=void 0,this.xImageAlt=void 0,this.youtubeImageAlt=void 0,this.weiboImageAlt=void 0,this.youkuImageAlt=void 0,this.target=void 0,this.darkFocusState=!1}openModal(i){i.preventDefault(),this.hostElement.shadowRoot.querySelector("#QRModal").show=!0}componentWillLoad(){h(this,this.hostElement)}render(){return t(e,null,t("slot",null),t("ul",{class:this.darkFocusState?"dark-bg":"standard-bg"},this.instagramUrl&&t("li",{id:"footerInstagramIconID"}," ",t("a",{href:this.instagramUrl,title:this.instagramImageAlt,innerHTML:""==this.instagramImageUrl?'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M5.45845 0.530037C4.54845 0.570037 3.92845 0.720037 3.38845 0.930037C2.82845 1.15004 2.34845 1.44004 1.87845 1.92004C1.40845 2.40004 1.11845 2.87004 0.898451 3.43004C0.688451 3.97004 0.548451 4.59004 0.508451 5.50004C0.468451 6.41004 0.45845 6.70004 0.46845 9.02004C0.47845 11.34 0.478452 11.63 0.528452 12.54C0.568452 13.45 0.718453 14.07 0.928453 14.61C1.14845 15.17 1.43845 15.65 1.91845 16.12C2.39845 16.59 2.86845 16.88 3.42845 17.1C3.96845 17.31 4.58845 17.45 5.49845 17.49C6.40845 17.53 6.69845 17.54 9.01845 17.53C11.3385 17.53 11.6285 17.52 12.5385 17.47C13.4485 17.42 14.0685 17.28 14.6085 17.07C15.1685 16.85 15.6485 16.56 16.1185 16.08C16.5885 15.6 16.8785 15.13 17.0985 14.57C17.3085 14.03 17.4485 13.41 17.4885 12.5C17.5285 11.59 17.5385 11.3 17.5285 8.98004C17.5185 6.66004 17.5184 6.37004 17.4685 5.46004C17.4185 4.55004 17.2785 3.93004 17.0685 3.39004C16.8485 2.83004 16.5585 2.35004 16.0785 1.88004C15.5985 1.41004 15.1285 1.11004 14.5685 0.900038C14.0285 0.690038 13.4085 0.550037 12.4985 0.510037C11.5885 0.470037 11.2985 0.460038 8.97845 0.470038C6.65845 0.480038 6.36845 0.480037 5.45845 0.530037ZM5.55845 15.97C4.72845 15.93 4.27845 15.8 3.96845 15.68C3.56845 15.53 3.28845 15.34 2.98845 15.04C2.68845 14.74 2.50845 14.46 2.34845 14.06C2.22845 13.76 2.08845 13.31 2.04845 12.47C2.00845 11.57 1.99845 11.3 1.98845 9.02004C1.97845 6.74004 1.98845 6.47004 2.02845 5.57004C2.06845 4.74004 2.19845 4.29004 2.31845 3.98004C2.46845 3.58004 2.65845 3.30004 2.95845 3.00004C3.25845 2.70004 3.53845 2.52004 3.93845 2.36004C4.23845 2.24004 4.68845 2.10004 5.51845 2.06004C6.41845 2.02004 6.68845 2.01004 8.96845 2.00004C11.2485 2.00004 11.5185 2.00004 12.4185 2.04004C13.2485 2.08004 13.6985 2.21004 14.0085 2.33004C14.4085 2.48004 14.6885 2.67004 14.9885 2.97004C15.2885 3.27004 15.4685 3.55004 15.6285 3.95004C15.7485 4.25004 15.8885 4.70004 15.9285 5.53004C15.9685 6.43004 15.9785 6.70004 15.9885 8.98004C15.9885 11.26 15.9885 11.53 15.9485 12.43C15.9085 13.26 15.7785 13.71 15.6585 14.02C15.5085 14.42 15.3185 14.7 15.0185 15C14.7185 15.3 14.4385 15.48 14.0385 15.64C13.7385 15.76 13.2885 15.9 12.4585 15.94C11.5585 15.98 11.2885 15.99 9.00845 16C6.72845 16.01 6.45845 16 5.55845 15.96M12.5185 4.45004C12.5185 5.02004 12.9785 5.47004 13.5485 5.47004C14.1185 5.47004 14.5685 5.01004 14.5685 4.44004C14.5685 3.87004 14.1085 3.42004 13.5385 3.42004C12.9685 3.42004 12.5185 3.88004 12.5185 4.45004ZM4.61845 9.02004C4.61845 11.44 6.58845 13.4 9.00845 13.4C11.4285 13.4 13.3885 11.43 13.3885 9.01004C13.3885 6.59004 11.4185 4.63004 8.99845 4.63004C6.57845 4.63004 4.61845 6.60004 4.61845 9.02004ZM6.14845 9.02004C6.14845 7.45004 7.41845 6.17004 8.98845 6.17004C10.5585 6.17004 11.8385 7.44004 11.8385 9.01004C11.8385 10.58 10.5685 11.86 8.99845 11.86C7.42845 11.86 6.14845 10.59 6.14845 9.02004Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.instagramImageUrl&&t("img",{src:this.instagramImageUrl,alt:this.instagramImageAlt}))," "),this.facebookUrl&&t("li",{id:"footerFacebookIconID"}," ",t("a",{href:this.facebookUrl,title:this.facebookImageAlt,innerHTML:""==this.facebookImageUrl?C:"",target:this.target},""!=this.facebookImageUrl&&t("img",{src:this.facebookImageUrl,alt:this.facebookImageAlt}))," "),this.linkedinUrl&&t("li",{id:"footerLinkedInIconID"}," ",t("a",{href:this.linkedinUrl,title:this.linkedinImageAlt,innerHTML:""==this.linkedinImageUrl?o:"",target:this.target},""!=this.linkedinImageUrl&&t("img",{src:this.linkedinImageUrl,alt:this.linkedinImageAlt}))," "),this.xUrl&&t("li",{id:"footerXIconID"}," ",t("a",{href:this.xUrl,title:this.xImageAlt,innerHTML:""==this.xImageUrl?a:"",target:this.target},""!=this.xImageUrl&&t("img",{src:this.xImageUrl,alt:this.xImageAlt,"aria-label":"X, formerly Twitter"}))," "),this.youtubeUrl&&t("li",{id:"footerYouTubeIconID"}," ",t("a",{href:this.youtubeUrl,title:this.youtubeImageAlt,innerHTML:""==this.youtubeImageUrl?'<svg width="20" height="15" viewBox="0 0 20 15" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M19.4794 2.55343C19.2494 1.70343 18.5794 1.03343 17.7294 0.803432C16.1894 0.393432 9.99937 0.393433 9.99937 0.393433C9.99937 0.393433 3.80938 0.393432 2.26938 0.803432C1.41938 1.03343 0.749379 1.70343 0.519379 2.55343C0.109379 4.09343 0.109375 7.31343 0.109375 7.31343C0.109375 7.31343 0.109379 10.5334 0.519379 12.0734C0.749379 12.9234 1.41938 13.5934 2.26938 13.8234C3.80938 14.2334 9.99937 14.2334 9.99937 14.2334C9.99937 14.2334 16.1894 14.2334 17.7294 13.8234C18.5794 13.5934 19.2494 12.9234 19.4794 12.0734C19.8894 10.5334 19.8894 7.31343 19.8894 7.31343C19.8894 7.31343 19.8894 4.09343 19.4794 2.55343ZM8.01938 10.2834V4.34343L13.1594 7.31343L8.01938 10.2834Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.youtubeImageUrl&&t("img",{src:this.youtubeImageUrl,alt:this.youtubeImageAlt}))," "),this.weiboUrl&&t("li",{id:"footerWeiboIconID"}," ",t("a",{href:this.weiboUrl,title:this.weiboImageAlt,innerHTML:""==this.weiboImageUrl?'<svg width="22" height="16" viewBox="0 0 22 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M20.2332 7.27176C20.9763 7.20612 21.1665 5.87974 21.0798 4.77303C20.8492 1.8417 18.3741 -0.375939 15.0943 0.0532817C15.0491 0.0592253 15.0039 0.064479 14.9591 0.0696876C14.5725 0.114632 14.2148 0.156222 14.1349 0.608744C13.9724 1.55041 14.8096 1.46972 15.4197 1.41091C15.5522 1.39814 15.6741 1.38639 15.7726 1.38639C17.7226 1.38639 19.7131 2.97956 19.6684 5.27294C19.6645 5.46856 19.6228 5.69617 19.5807 5.92639C19.4524 6.62725 19.3196 7.35222 20.2332 7.27176ZM16.3829 7.77071C16.1595 7.66321 15.9345 7.55494 15.7163 7.43756C16.0251 6.64645 16.2162 5.62221 15.7163 5.04992C14.9022 4.11874 13.3512 4.53988 12.0925 4.88164C11.5969 5.01618 11.1467 5.13842 10.8046 5.16101C11.3677 3.47106 10.7499 1.75754 8.65936 2.27429C6.73292 2.75064 5.31733 3.78414 3.97412 5.10546C2.56611 6.48991 1.13201 8.11506 0.924973 10.2132C0.685115 12.6505 2.24293 13.8742 3.74773 14.7107C9.23586 17.7591 18.0223 14.9725 18.539 10.8242C18.7759 8.9221 17.6029 8.35771 16.3829 7.77071ZM15.0951 10.6029C15.0977 11.4966 14.644 12.2642 14.1921 12.7675C12.9566 14.1469 10.3552 15.0491 7.75631 14.8774C2.85057 14.5542 1.16399 10.4101 5.15911 8.10411C8.66946 6.07836 15.0867 6.90398 15.0951 10.6029ZM17.1202 5.61813C17.0933 6.09179 17.0744 6.42375 17.6914 6.38334C18.8368 6.30843 18.6516 2.4951 15.6597 2.71897C15.6204 2.72191 15.5774 2.72351 15.5323 2.72518C15.2025 2.73744 14.7558 2.75405 14.7558 3.32998C14.7558 3.88763 15.1542 3.88743 15.6096 3.8872C15.8737 3.88707 16.157 3.88693 16.3928 3.99569C16.7201 4.14718 17.0955 4.66141 17.1266 5.10662C17.139 5.28715 17.1292 5.46049 17.1202 5.61813ZM5.49728 12.4909C6.64355 15.5628 12.9102 13.9006 11.7075 10.3254C11.3465 9.25659 10.1261 8.43518 8.4892 8.60434C6.57202 8.80212 4.73058 10.4365 5.49728 12.4909ZM8.82753 10.9364C9.08254 11.3707 9.66914 11.0585 9.6178 10.7143C9.55636 10.3162 8.82248 10.3751 8.82753 10.9364ZM7.81171 12.8242C8.8654 12.5776 9.00679 10.6259 7.41615 10.992C6.08052 11.2983 6.33889 13.1684 7.81171 12.8242Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.weiboImageUrl&&t("img",{src:this.weiboImageUrl,alt:this.weiboImageAlt}))," "),this.youkuUrl&&t("li",{id:"footerYouKuIconID"}," ",t("a",{href:this.youkuUrl,title:this.youkuImageAlt,innerHTML:""==this.youkuImageUrl?'<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.09226 0.500002C8.81645 0.500453 8.54001 0.573924 8.30251 0.737896C7.77953 1.09934 7.48857 2.21333 7.13732 3.00625C6.7505 3.87857 6.41111 4.75772 6.03415 5.39807C5.01463 4.24129 4.31909 1.67753 3.09104 0.737896C2.69493 0.435153 1.82655 0.443776 1.43544 0.737896C0.377561 1.53428 1.43894 2.94227 1.86441 3.68101C2.79833 5.30068 3.83358 7.03506 4.62377 8.52494C4.1101 9.8795 1.51589 13.7073 4.99186 13.4912C5.83311 12.9475 6.18934 11.8163 6.64691 10.7927C7.58241 8.69842 8.37723 6.88907 9.34482 4.7233C9.74697 3.82303 10.7158 2.49291 10.51 1.47353C10.3947 0.90533 9.74553 0.498938 9.09228 0.500002H9.09226ZM17.5022 1.33092C16.9995 1.33595 16.4926 1.5707 16.2733 2.0254C15.9105 2.4393 15.522 2.82722 15.1081 3.19003C14.9093 3.44064 14.6842 3.66504 14.434 3.86423C14.1429 4.16697 13.9068 4.52309 13.514 4.72332V2.33206C13.505 1.03135 11.0712 1.03135 11.0618 2.33206V9.13827C11.1681 9.62396 11.3889 9.99531 11.9198 10.0571H12.656C13.1607 9.96944 13.4477 9.66401 13.514 9.13827V7.66643C13.514 7.15622 13.4185 6.29491 13.7592 6.8079C14.2587 7.29671 14.9626 7.82261 15.5992 8.4015C16.2102 8.95866 16.7948 9.85792 17.438 9.99567C18.7549 10.278 19.3358 9.01398 18.8484 8.0954C18.3337 7.12435 16.8512 6.50292 16.2119 5.64271C16.6427 4.65683 18.9847 4.05116 18.7869 2.33206C18.709 1.65301 18.1089 1.32484 17.5023 1.33092H17.5022Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.youkuImageUrl&&t("img",{src:this.youkuImageUrl,alt:this.youkuImageAlt}))," "),this.wechatQrImageUrl&&t("li",{id:"footerWeChatIconID"}," ",t("a",{href:"#",onClick:i=>{this.openModal(i)},title:""!=this.wechatImageAlt?this.wechatImageAlt:"WeChat",innerHTML:""==this.wechatImageUrl?'<svg width="22" height="18" viewBox="0 0 22 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M14.9521 5.59994H14.8246C10.8382 5.59994 7.59972 8.2689 7.59972 11.5499C7.61236 11.932 7.6694 12.3114 7.76972 12.6803C7.78501 12.7464 7.78429 12.8151 7.76762 12.8808C7.75095 12.9465 7.71882 13.0072 7.6739 13.0579C7.62898 13.1087 7.57258 13.1479 7.50941 13.1725C7.44623 13.197 7.37811 13.206 7.31072 13.1988C6.66727 13.1267 6.03418 12.9812 5.42375 12.7653L3.17128 14.0488C3.09186 14.0963 2.99914 14.1165 2.90719 14.1065C2.81523 14.0964 2.72906 14.0567 2.66175 13.9932C2.59445 13.9298 2.54968 13.8461 2.53426 13.7549C2.51883 13.6637 2.53359 13.5699 2.57628 13.4878L3.42627 11.7284C2.6321 11.1885 1.97907 10.466 1.52204 9.62146C1.06501 8.77692 0.817329 7.83503 0.799805 6.87492C0.799805 3.35596 4.14026 0.5 8.23721 0.5C11.5012 0.5 14.3316 2.27648 15.3091 4.92845C15.3596 5.00069 15.3863 5.08683 15.3856 5.17494C15.3758 5.28578 15.3267 5.38947 15.2472 5.46738C15.1678 5.54528 15.0631 5.59228 14.9521 5.59994ZM10.6219 4.04321C10.4821 3.94981 10.3178 3.89996 10.1497 3.89996C9.92426 3.89996 9.70806 3.98951 9.54866 4.14891C9.38925 4.30832 9.2997 4.52452 9.2997 4.74995C9.2997 4.91806 9.34955 5.0824 9.44295 5.22218C9.53635 5.36196 9.6691 5.4709 9.82441 5.53524C9.97973 5.59957 10.1506 5.6164 10.3155 5.5836C10.4804 5.55081 10.6318 5.46985 10.7507 5.35098C10.8696 5.23211 10.9505 5.08065 10.9833 4.91577C11.0161 4.75089 10.9993 4.57999 10.935 4.42467C10.8706 4.26936 10.7617 4.13661 10.6219 4.04321ZM5.42751 5.45669C5.56729 5.55009 5.73163 5.59994 5.89974 5.59994C6.12517 5.59994 6.34137 5.51038 6.50077 5.35098C6.66018 5.19158 6.74973 4.97538 6.74973 4.74995C6.74973 4.58184 6.69988 4.4175 6.60648 4.27772C6.51308 4.13794 6.38033 4.02899 6.22502 3.96466C6.0697 3.90033 5.8988 3.88349 5.73392 3.91629C5.56903 3.94909 5.41758 4.03004 5.29871 4.14891C5.17983 4.26779 5.09888 4.41924 5.06608 4.58412C5.03329 4.749 5.05012 4.91991 5.11445 5.07522C5.17879 5.23054 5.28773 5.36329 5.42751 5.45669ZM14.8249 6.45004C18.3438 6.45004 21.1998 8.73651 21.1998 11.55C21.1691 12.3435 20.9418 13.117 20.5382 13.8009C20.1347 14.4849 19.5676 15.0579 18.8878 15.4684L19.4658 16.9134C19.4922 16.9778 19.5025 17.0477 19.4956 17.117C19.4887 17.1862 19.4649 17.2527 19.4263 17.3107C19.3877 17.3686 19.3354 17.4161 19.2742 17.4491C19.2129 17.4821 19.1444 17.4996 19.0748 17.4999C19.01 17.5002 18.9461 17.4856 18.8878 17.4574L16.7798 16.4034C16.1411 16.5674 15.4843 16.6502 14.8249 16.6499C11.3059 16.6499 8.44993 14.3634 8.44993 11.55C8.44993 8.73651 11.3059 6.45004 14.8249 6.45004ZM12.2276 10.5567C12.3674 10.6501 12.5318 10.7 12.6999 10.7C12.9253 10.7 13.1415 10.6104 13.3009 10.451C13.4603 10.2916 13.5499 10.0754 13.5499 9.85C13.5499 9.68189 13.5 9.51755 13.4066 9.37777C13.3132 9.23799 13.1805 9.12904 13.0252 9.06471C12.8698 9.00038 12.6989 8.98354 12.5341 9.01634C12.3692 9.04914 12.2177 9.13009 12.0988 9.24896C11.98 9.36784 11.899 9.51929 11.8662 9.68417C11.8334 9.84906 11.8503 10.02 11.9146 10.1753C11.9789 10.3306 12.0879 10.4633 12.2276 10.5567ZM16.4776 10.5567C16.6174 10.6501 16.7817 10.7 16.9498 10.7C17.1753 10.7 17.3915 10.6104 17.5509 10.451C17.7103 10.2916 17.7998 10.0754 17.7998 9.85C17.7998 9.68189 17.75 9.51755 17.6566 9.37777C17.5632 9.23799 17.4304 9.12904 17.2751 9.06471C17.1198 9.00038 16.9489 8.98354 16.784 9.01634C16.6191 9.04914 16.4677 9.13009 16.3488 9.24896C16.2299 9.36784 16.149 9.51929 16.1162 9.68417C16.0834 9.84906 16.1002 10.02 16.1645 10.1753C16.2289 10.3306 16.3378 10.4633 16.4776 10.5567Z" fill="white"/>\n</svg>\n':""},""!=this.wechatImageUrl&&t("img",{src:this.wechatImageUrl,alt:this.wechatImageAlt}))," ")),t("ptc-modal",{id:"QRModal",show:!1,size:"sm","close-on-blur":!0,fixed:!0,styles:".wrapper .modal-popup .modal-body { padding-bottom: 40px}"},t("ptc-picture",{alt:this.wechatQrImageAltText,src:this.wechatQrImageUrl,"max-width":"250","image-alignment":"center",styles:"img{margin:auto}"})))}get hostElement(){return s(this)}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;height:100%;width:100%}@media only screen and (min-width: 992px){:host{width:auto}}:host ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:100%;gap:var(--ptc-layout-spacing-03)}@media only screen and (min-width: 992px){:host ul{align-items:flex-start}}@media only screen and (min-width: 1200px){:host ul{flex-direction:column;align-items:flex-end;gap:initial}}:host ul li{width:100%}:host ul li a{background-color:var(--color-gray-10);border-radius:4px;display:flex;padding:11px;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;width:100%;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host ul li a:hover{background-color:var(--color-gray-08)}:host ul li a:active{background-color:var(--color-gray-09);transition:none}:host ul li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}@media only screen and (min-width: 992px){:host ul li a{padding:4px;width:36px;height:36px}}:host ul.dark-bg a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";export{n as ptc_social_icons_footer}
1
+ import{r as i,h as t,H as e,g as s}from"./p-ac75c7ad.js";import{C as h}from"./p-22cf00e7.js";import{f as C,l as o,x as a}from"./p-7f2c5da5.js";const n=class{constructor(t){i(this,t),this.instagramUrl=void 0,this.facebookUrl=void 0,this.linkedinUrl=void 0,this.xUrl=void 0,this.youtubeUrl=void 0,this.weiboUrl=void 0,this.youkuUrl=void 0,this.wechatQrImageUrl=void 0,this.wechatQrImageAltText=void 0,this.wechatImageUrl=void 0,this.wechatImageAlt=void 0,this.instagramImageUrl=void 0,this.facebookImageUrl=void 0,this.linkedinImageUrl=void 0,this.xImageUrl=void 0,this.youtubeImageUrl=void 0,this.weiboImageUrl=void 0,this.youkuImageUrl=void 0,this.instagramImageAlt=void 0,this.facebookImageAlt=void 0,this.linkedinImageAlt=void 0,this.xImageAlt=void 0,this.youtubeImageAlt=void 0,this.weiboImageAlt=void 0,this.youkuImageAlt=void 0,this.target=void 0,this.darkFocusState=!1}openModal(i){i.preventDefault(),this.hostElement.shadowRoot.querySelector("#QRModal").show=!0}componentWillLoad(){h(this,this.hostElement)}render(){return t(e,null,t("slot",null),t("ul",{class:this.darkFocusState?"dark-bg":"standard-bg"},this.instagramUrl&&t("li",{id:"footerInstagramIconID"}," ",t("a",{href:this.instagramUrl,title:this.instagramImageAlt,innerHTML:""==this.instagramImageUrl?'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M5.45845 0.530037C4.54845 0.570037 3.92845 0.720037 3.38845 0.930037C2.82845 1.15004 2.34845 1.44004 1.87845 1.92004C1.40845 2.40004 1.11845 2.87004 0.898451 3.43004C0.688451 3.97004 0.548451 4.59004 0.508451 5.50004C0.468451 6.41004 0.45845 6.70004 0.46845 9.02004C0.47845 11.34 0.478452 11.63 0.528452 12.54C0.568452 13.45 0.718453 14.07 0.928453 14.61C1.14845 15.17 1.43845 15.65 1.91845 16.12C2.39845 16.59 2.86845 16.88 3.42845 17.1C3.96845 17.31 4.58845 17.45 5.49845 17.49C6.40845 17.53 6.69845 17.54 9.01845 17.53C11.3385 17.53 11.6285 17.52 12.5385 17.47C13.4485 17.42 14.0685 17.28 14.6085 17.07C15.1685 16.85 15.6485 16.56 16.1185 16.08C16.5885 15.6 16.8785 15.13 17.0985 14.57C17.3085 14.03 17.4485 13.41 17.4885 12.5C17.5285 11.59 17.5385 11.3 17.5285 8.98004C17.5185 6.66004 17.5184 6.37004 17.4685 5.46004C17.4185 4.55004 17.2785 3.93004 17.0685 3.39004C16.8485 2.83004 16.5585 2.35004 16.0785 1.88004C15.5985 1.41004 15.1285 1.11004 14.5685 0.900038C14.0285 0.690038 13.4085 0.550037 12.4985 0.510037C11.5885 0.470037 11.2985 0.460038 8.97845 0.470038C6.65845 0.480038 6.36845 0.480037 5.45845 0.530037ZM5.55845 15.97C4.72845 15.93 4.27845 15.8 3.96845 15.68C3.56845 15.53 3.28845 15.34 2.98845 15.04C2.68845 14.74 2.50845 14.46 2.34845 14.06C2.22845 13.76 2.08845 13.31 2.04845 12.47C2.00845 11.57 1.99845 11.3 1.98845 9.02004C1.97845 6.74004 1.98845 6.47004 2.02845 5.57004C2.06845 4.74004 2.19845 4.29004 2.31845 3.98004C2.46845 3.58004 2.65845 3.30004 2.95845 3.00004C3.25845 2.70004 3.53845 2.52004 3.93845 2.36004C4.23845 2.24004 4.68845 2.10004 5.51845 2.06004C6.41845 2.02004 6.68845 2.01004 8.96845 2.00004C11.2485 2.00004 11.5185 2.00004 12.4185 2.04004C13.2485 2.08004 13.6985 2.21004 14.0085 2.33004C14.4085 2.48004 14.6885 2.67004 14.9885 2.97004C15.2885 3.27004 15.4685 3.55004 15.6285 3.95004C15.7485 4.25004 15.8885 4.70004 15.9285 5.53004C15.9685 6.43004 15.9785 6.70004 15.9885 8.98004C15.9885 11.26 15.9885 11.53 15.9485 12.43C15.9085 13.26 15.7785 13.71 15.6585 14.02C15.5085 14.42 15.3185 14.7 15.0185 15C14.7185 15.3 14.4385 15.48 14.0385 15.64C13.7385 15.76 13.2885 15.9 12.4585 15.94C11.5585 15.98 11.2885 15.99 9.00845 16C6.72845 16.01 6.45845 16 5.55845 15.96M12.5185 4.45004C12.5185 5.02004 12.9785 5.47004 13.5485 5.47004C14.1185 5.47004 14.5685 5.01004 14.5685 4.44004C14.5685 3.87004 14.1085 3.42004 13.5385 3.42004C12.9685 3.42004 12.5185 3.88004 12.5185 4.45004ZM4.61845 9.02004C4.61845 11.44 6.58845 13.4 9.00845 13.4C11.4285 13.4 13.3885 11.43 13.3885 9.01004C13.3885 6.59004 11.4185 4.63004 8.99845 4.63004C6.57845 4.63004 4.61845 6.60004 4.61845 9.02004ZM6.14845 9.02004C6.14845 7.45004 7.41845 6.17004 8.98845 6.17004C10.5585 6.17004 11.8385 7.44004 11.8385 9.01004C11.8385 10.58 10.5685 11.86 8.99845 11.86C7.42845 11.86 6.14845 10.59 6.14845 9.02004Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.instagramImageUrl&&t("img",{src:this.instagramImageUrl,alt:this.instagramImageAlt}))," "),this.facebookUrl&&t("li",{id:"footerFacebookIconID"}," ",t("a",{href:this.facebookUrl,title:this.facebookImageAlt,innerHTML:""==this.facebookImageUrl?C:"",target:this.target},""!=this.facebookImageUrl&&t("img",{src:this.facebookImageUrl,alt:this.facebookImageAlt}))," "),this.linkedinUrl&&t("li",{id:"footerLinkedInIconID"}," ",t("a",{href:this.linkedinUrl,title:this.linkedinImageAlt,innerHTML:""==this.linkedinImageUrl?o:"",target:this.target},""!=this.linkedinImageUrl&&t("img",{src:this.linkedinImageUrl,alt:this.linkedinImageAlt}))," "),this.xUrl&&t("li",{id:"footerXIconID"}," ",t("a",{href:this.xUrl,title:this.xImageAlt,innerHTML:""==this.xImageUrl?a:"",target:this.target},""!=this.xImageUrl&&t("img",{src:this.xImageUrl,alt:this.xImageAlt,"aria-label":"X, formerly Twitter"}))," "),this.youtubeUrl&&t("li",{id:"footerYouTubeIconID"}," ",t("a",{href:this.youtubeUrl,title:this.youtubeImageAlt,innerHTML:""==this.youtubeImageUrl?'<svg width="20" height="15" viewBox="0 0 20 15" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M19.4794 2.55343C19.2494 1.70343 18.5794 1.03343 17.7294 0.803432C16.1894 0.393432 9.99937 0.393433 9.99937 0.393433C9.99937 0.393433 3.80938 0.393432 2.26938 0.803432C1.41938 1.03343 0.749379 1.70343 0.519379 2.55343C0.109379 4.09343 0.109375 7.31343 0.109375 7.31343C0.109375 7.31343 0.109379 10.5334 0.519379 12.0734C0.749379 12.9234 1.41938 13.5934 2.26938 13.8234C3.80938 14.2334 9.99937 14.2334 9.99937 14.2334C9.99937 14.2334 16.1894 14.2334 17.7294 13.8234C18.5794 13.5934 19.2494 12.9234 19.4794 12.0734C19.8894 10.5334 19.8894 7.31343 19.8894 7.31343C19.8894 7.31343 19.8894 4.09343 19.4794 2.55343ZM8.01938 10.2834V4.34343L13.1594 7.31343L8.01938 10.2834Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.youtubeImageUrl&&t("img",{src:this.youtubeImageUrl,alt:this.youtubeImageAlt}))," "),this.weiboUrl&&t("li",{id:"footerWeiboIconID"}," ",t("a",{href:this.weiboUrl,title:this.weiboImageAlt,innerHTML:""==this.weiboImageUrl?'<svg width="22" height="16" viewBox="0 0 22 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M20.2332 7.27176C20.9763 7.20612 21.1665 5.87974 21.0798 4.77303C20.8492 1.8417 18.3741 -0.375939 15.0943 0.0532817C15.0491 0.0592253 15.0039 0.064479 14.9591 0.0696876C14.5725 0.114632 14.2148 0.156222 14.1349 0.608744C13.9724 1.55041 14.8096 1.46972 15.4197 1.41091C15.5522 1.39814 15.6741 1.38639 15.7726 1.38639C17.7226 1.38639 19.7131 2.97956 19.6684 5.27294C19.6645 5.46856 19.6228 5.69617 19.5807 5.92639C19.4524 6.62725 19.3196 7.35222 20.2332 7.27176ZM16.3829 7.77071C16.1595 7.66321 15.9345 7.55494 15.7163 7.43756C16.0251 6.64645 16.2162 5.62221 15.7163 5.04992C14.9022 4.11874 13.3512 4.53988 12.0925 4.88164C11.5969 5.01618 11.1467 5.13842 10.8046 5.16101C11.3677 3.47106 10.7499 1.75754 8.65936 2.27429C6.73292 2.75064 5.31733 3.78414 3.97412 5.10546C2.56611 6.48991 1.13201 8.11506 0.924973 10.2132C0.685115 12.6505 2.24293 13.8742 3.74773 14.7107C9.23586 17.7591 18.0223 14.9725 18.539 10.8242C18.7759 8.9221 17.6029 8.35771 16.3829 7.77071ZM15.0951 10.6029C15.0977 11.4966 14.644 12.2642 14.1921 12.7675C12.9566 14.1469 10.3552 15.0491 7.75631 14.8774C2.85057 14.5542 1.16399 10.4101 5.15911 8.10411C8.66946 6.07836 15.0867 6.90398 15.0951 10.6029ZM17.1202 5.61813C17.0933 6.09179 17.0744 6.42375 17.6914 6.38334C18.8368 6.30843 18.6516 2.4951 15.6597 2.71897C15.6204 2.72191 15.5774 2.72351 15.5323 2.72518C15.2025 2.73744 14.7558 2.75405 14.7558 3.32998C14.7558 3.88763 15.1542 3.88743 15.6096 3.8872C15.8737 3.88707 16.157 3.88693 16.3928 3.99569C16.7201 4.14718 17.0955 4.66141 17.1266 5.10662C17.139 5.28715 17.1292 5.46049 17.1202 5.61813ZM5.49728 12.4909C6.64355 15.5628 12.9102 13.9006 11.7075 10.3254C11.3465 9.25659 10.1261 8.43518 8.4892 8.60434C6.57202 8.80212 4.73058 10.4365 5.49728 12.4909ZM8.82753 10.9364C9.08254 11.3707 9.66914 11.0585 9.6178 10.7143C9.55636 10.3162 8.82248 10.3751 8.82753 10.9364ZM7.81171 12.8242C8.8654 12.5776 9.00679 10.6259 7.41615 10.992C6.08052 11.2983 6.33889 13.1684 7.81171 12.8242Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.weiboImageUrl&&t("img",{src:this.weiboImageUrl,alt:this.weiboImageAlt}))," "),this.youkuUrl&&t("li",{id:"footerYouKuIconID"}," ",t("a",{href:this.youkuUrl,title:this.youkuImageAlt,innerHTML:""==this.youkuImageUrl?'<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.09226 0.500002C8.81645 0.500453 8.54001 0.573924 8.30251 0.737896C7.77953 1.09934 7.48857 2.21333 7.13732 3.00625C6.7505 3.87857 6.41111 4.75772 6.03415 5.39807C5.01463 4.24129 4.31909 1.67753 3.09104 0.737896C2.69493 0.435153 1.82655 0.443776 1.43544 0.737896C0.377561 1.53428 1.43894 2.94227 1.86441 3.68101C2.79833 5.30068 3.83358 7.03506 4.62377 8.52494C4.1101 9.8795 1.51589 13.7073 4.99186 13.4912C5.83311 12.9475 6.18934 11.8163 6.64691 10.7927C7.58241 8.69842 8.37723 6.88907 9.34482 4.7233C9.74697 3.82303 10.7158 2.49291 10.51 1.47353C10.3947 0.90533 9.74553 0.498938 9.09228 0.500002H9.09226ZM17.5022 1.33092C16.9995 1.33595 16.4926 1.5707 16.2733 2.0254C15.9105 2.4393 15.522 2.82722 15.1081 3.19003C14.9093 3.44064 14.6842 3.66504 14.434 3.86423C14.1429 4.16697 13.9068 4.52309 13.514 4.72332V2.33206C13.505 1.03135 11.0712 1.03135 11.0618 2.33206V9.13827C11.1681 9.62396 11.3889 9.99531 11.9198 10.0571H12.656C13.1607 9.96944 13.4477 9.66401 13.514 9.13827V7.66643C13.514 7.15622 13.4185 6.29491 13.7592 6.8079C14.2587 7.29671 14.9626 7.82261 15.5992 8.4015C16.2102 8.95866 16.7948 9.85792 17.438 9.99567C18.7549 10.278 19.3358 9.01398 18.8484 8.0954C18.3337 7.12435 16.8512 6.50292 16.2119 5.64271C16.6427 4.65683 18.9847 4.05116 18.7869 2.33206C18.709 1.65301 18.1089 1.32484 17.5023 1.33092H17.5022Z" fill="white"/>\n</svg>\n':"",target:this.target},""!=this.youkuImageUrl&&t("img",{src:this.youkuImageUrl,alt:this.youkuImageAlt}))," "),this.wechatQrImageUrl&&t("li",{id:"footerWeChatIconID"}," ",t("a",{href:"#",onClick:i=>{this.openModal(i)},title:""!=this.wechatImageAlt?this.wechatImageAlt:"WeChat",innerHTML:""==this.wechatImageUrl?'<svg width="22" height="18" viewBox="0 0 22 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M14.9521 5.59994H14.8246C10.8382 5.59994 7.59972 8.2689 7.59972 11.5499C7.61236 11.932 7.6694 12.3114 7.76972 12.6803C7.78501 12.7464 7.78429 12.8151 7.76762 12.8808C7.75095 12.9465 7.71882 13.0072 7.6739 13.0579C7.62898 13.1087 7.57258 13.1479 7.50941 13.1725C7.44623 13.197 7.37811 13.206 7.31072 13.1988C6.66727 13.1267 6.03418 12.9812 5.42375 12.7653L3.17128 14.0488C3.09186 14.0963 2.99914 14.1165 2.90719 14.1065C2.81523 14.0964 2.72906 14.0567 2.66175 13.9932C2.59445 13.9298 2.54968 13.8461 2.53426 13.7549C2.51883 13.6637 2.53359 13.5699 2.57628 13.4878L3.42627 11.7284C2.6321 11.1885 1.97907 10.466 1.52204 9.62146C1.06501 8.77692 0.817329 7.83503 0.799805 6.87492C0.799805 3.35596 4.14026 0.5 8.23721 0.5C11.5012 0.5 14.3316 2.27648 15.3091 4.92845C15.3596 5.00069 15.3863 5.08683 15.3856 5.17494C15.3758 5.28578 15.3267 5.38947 15.2472 5.46738C15.1678 5.54528 15.0631 5.59228 14.9521 5.59994ZM10.6219 4.04321C10.4821 3.94981 10.3178 3.89996 10.1497 3.89996C9.92426 3.89996 9.70806 3.98951 9.54866 4.14891C9.38925 4.30832 9.2997 4.52452 9.2997 4.74995C9.2997 4.91806 9.34955 5.0824 9.44295 5.22218C9.53635 5.36196 9.6691 5.4709 9.82441 5.53524C9.97973 5.59957 10.1506 5.6164 10.3155 5.5836C10.4804 5.55081 10.6318 5.46985 10.7507 5.35098C10.8696 5.23211 10.9505 5.08065 10.9833 4.91577C11.0161 4.75089 10.9993 4.57999 10.935 4.42467C10.8706 4.26936 10.7617 4.13661 10.6219 4.04321ZM5.42751 5.45669C5.56729 5.55009 5.73163 5.59994 5.89974 5.59994C6.12517 5.59994 6.34137 5.51038 6.50077 5.35098C6.66018 5.19158 6.74973 4.97538 6.74973 4.74995C6.74973 4.58184 6.69988 4.4175 6.60648 4.27772C6.51308 4.13794 6.38033 4.02899 6.22502 3.96466C6.0697 3.90033 5.8988 3.88349 5.73392 3.91629C5.56903 3.94909 5.41758 4.03004 5.29871 4.14891C5.17983 4.26779 5.09888 4.41924 5.06608 4.58412C5.03329 4.749 5.05012 4.91991 5.11445 5.07522C5.17879 5.23054 5.28773 5.36329 5.42751 5.45669ZM14.8249 6.45004C18.3438 6.45004 21.1998 8.73651 21.1998 11.55C21.1691 12.3435 20.9418 13.117 20.5382 13.8009C20.1347 14.4849 19.5676 15.0579 18.8878 15.4684L19.4658 16.9134C19.4922 16.9778 19.5025 17.0477 19.4956 17.117C19.4887 17.1862 19.4649 17.2527 19.4263 17.3107C19.3877 17.3686 19.3354 17.4161 19.2742 17.4491C19.2129 17.4821 19.1444 17.4996 19.0748 17.4999C19.01 17.5002 18.9461 17.4856 18.8878 17.4574L16.7798 16.4034C16.1411 16.5674 15.4843 16.6502 14.8249 16.6499C11.3059 16.6499 8.44993 14.3634 8.44993 11.55C8.44993 8.73651 11.3059 6.45004 14.8249 6.45004ZM12.2276 10.5567C12.3674 10.6501 12.5318 10.7 12.6999 10.7C12.9253 10.7 13.1415 10.6104 13.3009 10.451C13.4603 10.2916 13.5499 10.0754 13.5499 9.85C13.5499 9.68189 13.5 9.51755 13.4066 9.37777C13.3132 9.23799 13.1805 9.12904 13.0252 9.06471C12.8698 9.00038 12.6989 8.98354 12.5341 9.01634C12.3692 9.04914 12.2177 9.13009 12.0988 9.24896C11.98 9.36784 11.899 9.51929 11.8662 9.68417C11.8334 9.84906 11.8503 10.02 11.9146 10.1753C11.9789 10.3306 12.0879 10.4633 12.2276 10.5567ZM16.4776 10.5567C16.6174 10.6501 16.7817 10.7 16.9498 10.7C17.1753 10.7 17.3915 10.6104 17.5509 10.451C17.7103 10.2916 17.7998 10.0754 17.7998 9.85C17.7998 9.68189 17.75 9.51755 17.6566 9.37777C17.5632 9.23799 17.4304 9.12904 17.2751 9.06471C17.1198 9.00038 16.9489 8.98354 16.784 9.01634C16.6191 9.04914 16.4677 9.13009 16.3488 9.24896C16.2299 9.36784 16.149 9.51929 16.1162 9.68417C16.0834 9.84906 16.1002 10.02 16.1645 10.1753C16.2289 10.3306 16.3378 10.4633 16.4776 10.5567Z" fill="white"/>\n</svg>\n':""},""!=this.wechatImageUrl&&t("img",{src:this.wechatImageUrl,alt:this.wechatImageAlt}))," ")),t("ptc-modal",{id:"QRModal",show:!1,size:"sm","close-on-blur":!0,fixed:!0,styles:".wrapper .modal-popup .modal-body { padding-bottom: 40px}"},t("ptc-picture",{alt:this.wechatQrImageAltText,src:this.wechatQrImageUrl,"max-width":"250","image-alignment":"center",styles:"img{margin:auto}"})))}get hostElement(){return s(this)}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;height:100%;width:100%}@media only screen and (min-width: 992px){:host{width:auto}}:host ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:100%;gap:var(--ptc-layout-spacing-03)}@media only screen and (min-width: 992px){:host ul{align-items:flex-start}}@media only screen and (min-width: 1200px){:host ul{flex-direction:column;align-items:flex-end;gap:initial}}:host ul li{width:100%}:host ul li a{background-color:var(--color-gray-10);border-radius:4px;display:flex;padding:11px;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;width:100%;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host ul li a:hover{background-color:var(--color-gray-08)}:host ul li a:active{background-color:var(--color-gray-09);transition:none}:host ul li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}@media only screen and (min-width: 992px){:host ul li a{padding:4px;width:36px;height:36px}}:host ul.dark-bg a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";export{n as ptc_social_icons_footer}