@ptcwebops/ptcw-design 5.9.2 → 5.9.4

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 (384) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +271 -0
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +70 -0
  3. package/dist/cjs/icon-asset_10.cjs.entry.js +739 -0
  4. package/dist/cjs/interfaces-574e6df7.js +15 -0
  5. package/dist/cjs/list-item.cjs.entry.js +47 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  8. package/dist/cjs/ptc-background-video.cjs.entry.js +86 -0
  9. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  10. package/dist/cjs/ptc-button.cjs.entry.js +84 -0
  11. package/dist/cjs/ptc-card_2.cjs.entry.js +67 -42
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -6
  13. package/dist/cjs/ptc-date.cjs.entry.js +61 -0
  14. package/dist/cjs/{ptc-filter-dropdown_4.cjs.entry.js → ptc-filter-dropdown_3.cjs.entry.js} +0 -74
  15. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  16. package/dist/cjs/ptc-inline-cta.cjs.entry.js +125 -0
  17. package/dist/cjs/ptc-jumbotron.cjs.entry.js +148 -0
  18. package/dist/cjs/ptc-link.cjs.entry.js +92 -0
  19. package/dist/cjs/ptc-para.cjs.entry.js +125 -0
  20. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +2 -2
  21. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +2 -2
  22. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +3 -2
  23. package/dist/cjs/ptc-social-icons.cjs.entry.js +33 -0
  24. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  25. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +56 -0
  26. package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
  27. package/dist/cjs/ptcw-design.cjs.js +1 -1
  28. package/dist/collection/components/list-item/list-item.css +13 -0
  29. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +6 -6
  30. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +5 -0
  31. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +19 -1
  32. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +7 -0
  33. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
  34. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +12 -0
  35. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +1 -1
  36. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +4 -0
  37. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +1 -1
  38. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +5 -0
  39. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +2 -1
  40. package/dist/collection/components/ptc-social-share/ptc-social-share.css +5 -0
  41. package/dist/collection/components/ptc-social-share/ptc-social-share.js +24 -1
  42. package/dist/custom-elements/index.js +29 -21
  43. package/dist/esm/academic-form-test.entry.js +1 -1
  44. package/dist/esm/author-listing-example.entry.js +1 -1
  45. package/dist/esm/blog-detail-content_2.entry.js +266 -0
  46. package/dist/esm/blog-detail-layout.entry.js +66 -0
  47. package/dist/esm/blogs-search-section.entry.js +1 -1
  48. package/dist/esm/bundle-example.entry.js +1 -1
  49. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  50. package/dist/esm/dropdown-item.entry.js +1 -1
  51. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  52. package/dist/esm/embedded-form.entry.js +1 -1
  53. package/dist/esm/featured-list.entry.js +1 -1
  54. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  55. package/dist/esm/footer-form.entry.js +1 -1
  56. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  57. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  58. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  59. package/dist/esm/icon-asset_10.entry.js +726 -0
  60. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  61. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  62. package/dist/esm/interfaces-7c0243be.js +12 -0
  63. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  64. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  65. package/dist/esm/list-item.entry.js +43 -0
  66. package/dist/esm/loader.js +3 -3
  67. package/dist/esm/max-width-container.entry.js +50 -0
  68. package/dist/esm/most-popular-news.entry.js +1 -1
  69. package/dist/esm/my-component.entry.js +1 -1
  70. package/dist/esm/news-search-result.entry.js +1 -1
  71. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  72. package/dist/esm/ptc-accordion.entry.js +1 -1
  73. package/dist/esm/ptc-announcement.entry.js +1 -1
  74. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  75. package/dist/esm/ptc-background-video.entry.js +82 -0
  76. package/dist/esm/ptc-badge.entry.js +1 -1
  77. package/dist/esm/ptc-bio-card.entry.js +1 -1
  78. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  79. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  80. package/dist/esm/ptc-button.entry.js +80 -0
  81. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  82. package/dist/esm/ptc-card-content.entry.js +1 -1
  83. package/dist/esm/ptc-card_2.entry.js +68 -43
  84. package/dist/esm/ptc-case-studies-slider.entry.js +7 -7
  85. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  86. package/dist/esm/ptc-checkbox.entry.js +1 -1
  87. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  88. package/dist/esm/ptc-container.entry.js +1 -1
  89. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  90. package/dist/esm/ptc-date.entry.js +57 -0
  91. package/dist/esm/ptc-dropdown.entry.js +1 -1
  92. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  93. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  94. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  95. package/dist/esm/ptc-featured-list.entry.js +1 -1
  96. package/dist/esm/{ptc-filter-dropdown_4.entry.js → ptc-filter-dropdown_3.entry.js} +2 -75
  97. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  98. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  99. package/dist/esm/ptc-footer.entry.js +1 -1
  100. package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
  101. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  102. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  103. package/dist/esm/ptc-form.entry.js +1 -1
  104. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  105. package/dist/esm/ptc-hero.entry.js +1 -1
  106. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  107. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  108. package/dist/esm/ptc-icon-card.entry.js +1 -1
  109. package/dist/esm/ptc-icon-component.entry.js +1 -1
  110. package/dist/esm/ptc-icon-list.entry.js +1 -1
  111. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  112. package/dist/esm/ptc-img.entry.js +129 -0
  113. package/dist/esm/ptc-info-tile.entry.js +1 -1
  114. package/dist/esm/ptc-inline-cta.entry.js +121 -0
  115. package/dist/esm/ptc-jumbotron.entry.js +144 -0
  116. package/dist/esm/ptc-link.entry.js +88 -0
  117. package/dist/esm/ptc-list.entry.js +1 -1
  118. package/dist/esm/ptc-media-card.entry.js +1 -1
  119. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  120. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  121. package/dist/esm/ptc-multi-select_2.entry.js +1 -1
  122. package/dist/esm/ptc-nav-card.entry.js +1 -1
  123. package/dist/esm/ptc-nav-link.entry.js +1 -1
  124. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  125. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  126. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  127. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  128. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  129. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  130. package/dist/esm/ptc-office-locations.entry.js +1 -1
  131. package/dist/esm/ptc-overlay.entry.js +1 -1
  132. package/dist/esm/ptc-para.entry.js +121 -0
  133. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  134. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  135. package/dist/esm/ptc-previous-url.entry.js +1 -1
  136. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  137. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  138. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  139. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  140. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  141. package/dist/esm/ptc-product-card.entry.js +1 -1
  142. package/dist/esm/ptc-product-category.entry.js +1 -1
  143. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  144. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  145. package/dist/esm/ptc-product-list.entry.js +1 -1
  146. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  147. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  148. package/dist/esm/ptc-quantity-counter.entry.js +3 -3
  149. package/dist/esm/ptc-quote.entry.js +1 -1
  150. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  151. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  152. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  153. package/dist/esm/ptc-readmore.entry.js +1 -1
  154. package/dist/esm/ptc-related-card-rail.entry.js +3 -3
  155. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  156. package/dist/esm/ptc-search-field.entry.js +1 -1
  157. package/dist/esm/ptc-seo-title.entry.js +1 -1
  158. package/dist/esm/ptc-shopping-cart.entry.js +4 -3
  159. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  160. package/dist/esm/ptc-skeleton.entry.js +1 -1
  161. package/dist/esm/ptc-slit-card.entry.js +1 -1
  162. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  163. package/dist/esm/ptc-social-icons.entry.js +29 -0
  164. package/dist/esm/ptc-spacer.entry.js +34 -0
  165. package/dist/esm/ptc-span.entry.js +1 -1
  166. package/dist/esm/ptc-square-card.entry.js +1 -1
  167. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  168. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  169. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  170. package/dist/esm/ptc-subnav.entry.js +1 -1
  171. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  172. package/dist/esm/ptc-tab-list.entry.js +1 -1
  173. package/dist/esm/ptc-tab.entry.js +1 -1
  174. package/dist/esm/ptc-tabs.entry.js +1 -1
  175. package/dist/esm/ptc-text-copy-with-background.entry.js +52 -0
  176. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  177. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  178. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  179. package/dist/esm/ptc-tooltip.entry.js +103 -0
  180. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  181. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  182. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  183. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  184. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  185. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  187. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  188. package/dist/esm/ptc-video-embed.entry.js +1 -1
  189. package/dist/esm/ptc-white-paper.entry.js +1 -1
  190. package/dist/esm/ptcw-design.js +3 -3
  191. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  192. package/dist/esm/sequential-bundle.entry.js +1 -1
  193. package/dist/esm/tab-content.entry.js +1 -1
  194. package/dist/esm/tab-header.entry.js +1 -1
  195. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-9c112fb9.entry.js → p-040621d3.entry.js} +1 -1
  197. package/dist/ptcw-design/{p-428b050e.entry.js → p-072dd199.entry.js} +1 -1
  198. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  199. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  200. package/dist/ptcw-design/p-107dd637.entry.js +1 -0
  201. package/dist/ptcw-design/{p-e5fdd222.entry.js → p-11315f18.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  206. package/dist/ptcw-design/p-1acd3617.entry.js +1 -0
  207. package/dist/ptcw-design/{p-1f8ca0be.entry.js → p-1d040924.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-b3bbd17d.entry.js → p-1e44cf5e.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  210. package/dist/ptcw-design/p-1eb92079.entry.js +1 -0
  211. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-de680809.entry.js → p-1ff6a79e.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  214. package/dist/ptcw-design/p-21612ffa.entry.js +1 -0
  215. package/dist/ptcw-design/{p-2c634cfd.entry.js → p-2294d50a.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-85cc23f7.entry.js → p-251513ee.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-8798a958.entry.js → p-29816755.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-dc488936.entry.js → p-2aa419ae.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-bdc2f146.entry.js → p-2c5df150.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-092388f5.entry.js → p-32b9f5da.entry.js} +1 -1
  225. package/dist/ptcw-design/p-397276af.entry.js +1 -0
  226. package/dist/ptcw-design/{p-f618e1d4.entry.js → p-3a67aedf.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-cfd07b95.entry.js → p-3b93096b.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-6e0bf873.entry.js → p-3cb0f54d.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  232. package/dist/ptcw-design/p-3e90100b.entry.js +1 -0
  233. package/dist/ptcw-design/{p-f2a67fc5.entry.js → p-3f3713cd.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-e3d38b0c.entry.js → p-407253be.entry.js} +1 -1
  235. package/dist/ptcw-design/p-4335d7f3.entry.js +1 -0
  236. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-0c20d1f1.entry.js → p-47496762.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-ae7aa3b1.entry.js → p-4af3a6d4.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-e3bce6bf.entry.js → p-4f6c9992.entry.js} +1 -1
  241. package/dist/ptcw-design/p-50605d7c.entry.js +1 -0
  242. package/dist/ptcw-design/{p-374734fb.entry.js → p-5177c7e0.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-1ca8a5bf.entry.js → p-520542e2.entry.js} +1 -1
  244. package/dist/ptcw-design/p-53cd14ba.entry.js +1 -0
  245. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  246. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-a83d18b8.entry.js → p-595d3ad5.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-dca69b87.entry.js → p-5dee4e02.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-849655f7.entry.js → p-65b9b38b.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-ec94b1d2.entry.js → p-66754504.entry.js} +1 -1
  253. package/dist/ptcw-design/p-6b64f167.entry.js +1 -0
  254. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  255. package/dist/ptcw-design/{p-b65b59ab.entry.js → p-75f3b444.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-83a0be46.entry.js → p-7698c568.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-612c0f9b.entry.js → p-79232125.entry.js} +1 -1
  260. package/dist/ptcw-design/p-7964e154.entry.js +1 -0
  261. package/dist/ptcw-design/p-79883a07.entry.js +1 -0
  262. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  263. package/dist/ptcw-design/p-7e1507e1.entry.js +1 -0
  264. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  265. package/dist/ptcw-design/p-7e4a71ff.entry.js +1 -0
  266. package/dist/ptcw-design/{p-ebb04883.entry.js → p-7ea4b858.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  268. package/dist/ptcw-design/p-8039fa0d.entry.js +1 -0
  269. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  271. package/dist/ptcw-design/p-8436f21f.entry.js +1 -0
  272. package/dist/ptcw-design/p-875594e4.entry.js +1 -0
  273. package/dist/ptcw-design/{p-1eecdb7f.entry.js → p-879f4796.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-ae16e7f9.entry.js → p-887c44ae.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  277. package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
  278. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  279. package/dist/ptcw-design/{p-daa07e11.entry.js → p-982c3ef3.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-0e796d1a.entry.js → p-9a7b6c70.entry.js} +1 -1
  281. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  282. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  284. package/dist/ptcw-design/p-9f2823a1.entry.js +1 -0
  285. package/dist/ptcw-design/{p-d1857ada.entry.js → p-9fa81b74.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-cea1077c.entry.js → p-a1a34215.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-2a6a0034.entry.js → p-a31b8cad.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-58c10456.entry.js → p-a5ae3230.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-51a275df.entry.js → p-a9df5985.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-de1367a8.entry.js → p-ab49b93b.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-e61d7e23.entry.js → p-ad8b3161.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-fdc65d81.entry.js → p-b44dbb3f.entry.js} +1 -1
  298. package/dist/ptcw-design/p-b67d4f9c.entry.js +1 -0
  299. package/dist/ptcw-design/{p-5b21bdc1.entry.js → p-b6e5c0f7.entry.js} +1 -1
  300. package/dist/ptcw-design/p-b72f0796.entry.js +1 -0
  301. package/dist/ptcw-design/{p-00980d4d.entry.js → p-b912ff93.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-8c2ef359.entry.js → p-bacd25a1.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-971b8a7d.entry.js → p-be00fb74.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-1fb78c17.entry.js → p-bedf2794.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-af9026f2.entry.js → p-c1e07fde.entry.js} +1 -1
  309. package/dist/ptcw-design/p-c2a171a7.entry.js +1 -0
  310. package/dist/ptcw-design/{p-927f537c.entry.js → p-c3bd5805.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-768ceec1.entry.js → p-c8b29c81.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-16429296.entry.js → p-ccebb76c.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-5857be70.entry.js → p-ccf1dacd.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-6ddefda6.entry.js → p-cd0fe5b4.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  320. package/dist/ptcw-design/p-d52cc1ee.entry.js +1 -0
  321. package/dist/ptcw-design/{p-0ee01112.entry.js → p-d5fbe774.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-37480ed1.entry.js → p-d9b2186d.entry.js} +1 -1
  323. package/dist/ptcw-design/p-d9ec506c.entry.js +1 -0
  324. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  327. package/dist/ptcw-design/{p-68cf7811.entry.js → p-df712bfe.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-2bbc5d85.entry.js → p-e5f38e09.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  330. package/dist/ptcw-design/p-e75dff95.entry.js +1 -0
  331. package/dist/ptcw-design/{p-6ce1cc72.entry.js → p-e7ede17d.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  333. package/dist/ptcw-design/p-e9bde223.entry.js +1 -0
  334. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  335. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-c1820648.entry.js → p-eddff1f7.entry.js} +1 -1
  337. package/dist/ptcw-design/p-ee1183b2.js +1 -0
  338. package/dist/ptcw-design/p-ef0079b0.entry.js +1 -0
  339. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  340. package/dist/ptcw-design/p-f26ea42b.entry.js +1 -0
  341. package/dist/ptcw-design/{p-94cc3bb8.entry.js → p-f2ed73d6.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-3e5f19f9.entry.js → p-fda8d2a8.entry.js} +1 -1
  344. package/dist/ptcw-design/p-fe2e34d4.entry.js +1 -0
  345. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  346. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +0 -1
  347. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -0
  348. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +2 -0
  349. package/dist/types/components.d.ts +10 -0
  350. package/package.json +1 -1
  351. package/readme.md +1 -1
  352. package/dist/cjs/blog-detail-content_21.cjs.entry.js +0 -1859
  353. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -206
  354. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +0 -29
  355. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +0 -23
  356. package/dist/cjs/ptc-news.cjs.entry.js +0 -32
  357. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -43
  358. package/dist/esm/blog-detail-content_21.entry.js +0 -1835
  359. package/dist/esm/ptc-close-icon_2.entry.js +0 -201
  360. package/dist/esm/ptc-image-download-strip.entry.js +0 -25
  361. package/dist/esm/ptc-minimized-nav.entry.js +0 -19
  362. package/dist/esm/ptc-news.entry.js +0 -28
  363. package/dist/esm/ptc-sticky-icons.entry.js +0 -39
  364. package/dist/ptcw-design/p-07b497ce.entry.js +0 -1
  365. package/dist/ptcw-design/p-0e5932f0.entry.js +0 -1
  366. package/dist/ptcw-design/p-0eb16aec.entry.js +0 -1
  367. package/dist/ptcw-design/p-1f1510fc.entry.js +0 -1
  368. package/dist/ptcw-design/p-2cfeeac8.entry.js +0 -1
  369. package/dist/ptcw-design/p-3dae22b8.entry.js +0 -1
  370. package/dist/ptcw-design/p-57c17ddf.entry.js +0 -1
  371. package/dist/ptcw-design/p-592d99fd.entry.js +0 -1
  372. package/dist/ptcw-design/p-5ede7718.entry.js +0 -1
  373. package/dist/ptcw-design/p-6b6c09c7.entry.js +0 -1
  374. package/dist/ptcw-design/p-7eb22ed5.entry.js +0 -1
  375. package/dist/ptcw-design/p-8bf47996.entry.js +0 -1
  376. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  377. package/dist/ptcw-design/p-94ec3187.entry.js +0 -1
  378. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  379. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  380. package/dist/ptcw-design/p-ab7224b7.entry.js +0 -1
  381. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  382. package/dist/ptcw-design/p-d7275289.entry.js +0 -1
  383. package/dist/ptcw-design/p-fae82882.entry.js +0 -1
  384. package/dist/ptcw-design/p-fc51fc29.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as a,H as i}from"./p-ac75c7ad.js";const e=class{constructor(a){t(this,a),this.cardType="sim-card",this.cardHref=void 0,this.target="_self",this.rel=void 0,this.heading=void 0,this.content=void 0,this.styles=void 0,this.cardImage=void 0}render(){const t=this.cardHref?"a":"div";return a(i,Object.assign({},this.cardType?{class:this.cardType}:{}),a(t,Object.assign({},this.cardHref?{href:this.cardHref}:{},this.target&&this.cardHref?{target:this.target}:{},this.rel&&this.cardHref?{rel:this.rel}:{},this.cardImage?{dataImage:this.cardImage}:{},{class:"card-link"}),a("slot",{name:"slot-before-heading"}),this.heading?[a("div",{class:"card-heading"},a("div",{class:"card-heading-div"},a("span",{class:"ptc-h3"},this.heading),a("div",{class:"sim-arrow-wrapper"},a("div",{class:"sim-arrow"}))))]:null,this.content?[a("div",{class:"card-body"},a("ptc-para",{"font-size":"xx-small","font-weight":"w-6","para-margin":"margin-flush","para-style":"main","para-line-h":"line-height-dense"},this.content))]:null))}};e.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(.sim-card){display:block;height:100%}:host(.sim-card) .card-link{display:flex;flex-direction:column;outline:none;text-decoration:none;height:100%}:host(.sim-card) .card-link .card-heading{display:block;background-color:var(--color-gray-10);clip-path:polygon(0% 0%, calc(100% - 35px) 0%, 100% 45%, 100% 100%, 0% 100%)}:host(.sim-card) .card-link .card-heading .card-heading-div{max-width:75%;margin:15px 0px 15px 15px}:host(.sim-card) .card-link .card-heading .card-heading-div .sim-arrow-wrapper{color:var(--color-green-14);display:inline;margin-bottom:2rem;white-space:nowrap}:host(.sim-card) .card-link .card-heading .card-heading-div .sim-arrow-wrapper .sim-arrow{background:transparent url(https://www.ptc.com/images/right-arrow.svg) no-repeat 100%;display:inline-block;height:10px;margin-left:5px;-webkit-transition:-webkit-transform 0.15s ease-in-out;transition:-webkit-transform 0.15s ease-in-out;-o-transition:transform 0.15s ease-in-out;transition:transform 0.15s ease-in-out;transition:transform 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;vertical-align:middle;width:10px}:host(.sim-card) .card-link .card-heading .ptc-h3{color:var(--color-white);font-family:var(--ptc-font-secondary-latin);font-size:14px;font-weight:900;line-height:2.17;position:relative}:host(.sim-card) .card-link .card-heading .ptc-h3::after{background-color:var(--color-green-14);bottom:-5px;content:"";height:2px;left:0;position:absolute;-webkit-transition:width 0.2s ease-in-out;-o-transition:width 0.2s ease-in-out;transition:width 0.2s ease-in-out;width:30px}:host(.sim-card) .card-link .card-body{background:var(--color-white);box-shadow:0 3px 25px 0 rgba(0, 0, 0, 0.16);padding:20px 15px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;height:100%}:host(.sim-card) .card-link:hover{outline:none;text-decoration:none}:host(.sim-card) .card-link:hover .card-heading{display:block}:host(.sim-card) .card-link:hover .card-heading .ptc-h3::after{width:100%}:host(.sim-card) .card-link:hover .card-heading .sim-arrow{-ms-transform:translateX(20px);-webkit-transform:translateX(20px);transform:translateX(20px)}:host(.sim-card) .card-link:hover .card-body{box-shadow:0 10px 30px 0 rgba(0, 0, 0, 0.3)}:host(.sim-card) .card-link:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.sim-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}';export{e as ptc_slit_card}
1
+ import{r as t,h as i,H as a}from"./p-944c5be8.js";const e=class{constructor(i){t(this,i),this.cardType="sim-card",this.cardHref=void 0,this.target="_self",this.rel=void 0,this.heading=void 0,this.content=void 0,this.styles=void 0,this.cardImage=void 0}render(){const t=this.cardHref?"a":"div";return i(a,Object.assign({},this.cardType?{class:this.cardType}:{}),i(t,Object.assign({},this.cardHref?{href:this.cardHref}:{},this.target&&this.cardHref?{target:this.target}:{},this.rel&&this.cardHref?{rel:this.rel}:{},this.cardImage?{dataImage:this.cardImage}:{},{class:"card-link"}),i("slot",{name:"slot-before-heading"}),this.heading?[i("div",{class:"card-heading"},i("div",{class:"card-heading-div"},i("span",{class:"ptc-h3"},this.heading),i("div",{class:"sim-arrow-wrapper"},i("div",{class:"sim-arrow"}))))]:null,this.content?[i("div",{class:"card-body"},i("ptc-para",{"font-size":"xx-small","font-weight":"w-6","para-margin":"margin-flush","para-style":"main","para-line-h":"line-height-dense"},this.content))]:null))}};e.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(.sim-card){display:block;height:100%}:host(.sim-card) .card-link{display:flex;flex-direction:column;outline:none;text-decoration:none;height:100%}:host(.sim-card) .card-link .card-heading{display:block;background-color:var(--color-gray-10);clip-path:polygon(0% 0%, calc(100% - 35px) 0%, 100% 45%, 100% 100%, 0% 100%)}:host(.sim-card) .card-link .card-heading .card-heading-div{max-width:75%;margin:15px 0px 15px 15px}:host(.sim-card) .card-link .card-heading .card-heading-div .sim-arrow-wrapper{color:var(--color-green-14);display:inline;margin-bottom:2rem;white-space:nowrap}:host(.sim-card) .card-link .card-heading .card-heading-div .sim-arrow-wrapper .sim-arrow{background:transparent url(https://www.ptc.com/images/right-arrow.svg) no-repeat 100%;display:inline-block;height:10px;margin-left:5px;-webkit-transition:-webkit-transform 0.15s ease-in-out;transition:-webkit-transform 0.15s ease-in-out;-o-transition:transform 0.15s ease-in-out;transition:transform 0.15s ease-in-out;transition:transform 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;vertical-align:middle;width:10px}:host(.sim-card) .card-link .card-heading .ptc-h3{color:var(--color-white);font-family:var(--ptc-font-secondary-latin);font-size:14px;font-weight:900;line-height:2.17;position:relative}:host(.sim-card) .card-link .card-heading .ptc-h3::after{background-color:var(--color-green-14);bottom:-5px;content:"";height:2px;left:0;position:absolute;-webkit-transition:width 0.2s ease-in-out;-o-transition:width 0.2s ease-in-out;transition:width 0.2s ease-in-out;width:30px}:host(.sim-card) .card-link .card-body{background:var(--color-white);box-shadow:0 3px 25px 0 rgba(0, 0, 0, 0.16);padding:20px 15px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;height:100%}:host(.sim-card) .card-link:hover{outline:none;text-decoration:none}:host(.sim-card) .card-link:hover .card-heading{display:block}:host(.sim-card) .card-link:hover .card-heading .ptc-h3::after{width:100%}:host(.sim-card) .card-link:hover .card-heading .sim-arrow{-ms-transform:translateX(20px);-webkit-transform:translateX(20px);transform:translateX(20px)}:host(.sim-card) .card-link:hover .card-body{box-shadow:0 10px 30px 0 rgba(0, 0, 0, 0.3)}:host(.sim-card) .card-link:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.sim-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}';export{e as ptc_slit_card}
@@ -1 +1 @@
1
- import{r as t,h as o,H as i,g as e}from"./p-ac75c7ad.js";import{s as r}from"./p-2f4f6ccd.js";const n=class{constructor(o){t(this,o),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}handleResize(){this.isMobile=window.innerWidth<992,this.isMobile&&(this.showMap=!1)}handleAddressClicked(t){this.address=t.detail,this.isMobile||(this.showMap=!0)}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 o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t[1].replace(/\s+/g,"")}`),i=this.hostEl.shadowRoot.querySelector(`#${t[0].replace(/\s+/g,"")}`);o.classList.contains("selected")||o.classList.add("selected"),i.checked||(i.checked=!0)})),this.checkboxes=[]}componentWillLoad(){if(this.isMobile=window.innerWidth<992,document.querySelectorAll("ptc-office-location-card").forEach(((t,o)=>{const i=t.getAttribute("region"),e=t.getAttribute("country");i&&e&&this.locations.push({id:o,region:i,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){this.openRegion=this.openRegion===t?"":t}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((o=>{const i=o.getAttribute("region"),e=o.getAttribute("country");o.style.display=t.length>0?t.includes(i)||t.includes(e)?"block":"none":"block"})),this.showFirstMap()}applyFilter(t){this.updateOfficeList(),this.toggleCountryList(t)}clearFilter(t){const o=this.getCheckboxes(t),i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);o.forEach((t=>{t.checked=!1})),i.classList.remove("selected"),this.updateOfficeList(),this.toggleCountryList(t)}updateCheckboxStatus(t,o){const i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`),e=this.getCheckboxes(t),r=o.target.id===`all-regions-${t.replace(/\s+/g,"")}`;let n=!1;e.forEach((t=>{r?t.checked=!!t.classList.contains("all-region-label")&&o.target.checked:t.classList.contains("all-region-label")&&(t.checked=!1),t.checked&&(n=!0)})),i.classList.toggle("selected",n)}updateSelectedClass(t){this.fadeInWrapper();const o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);let i;this.getCheckboxes(t).forEach((t=>{t.classList.contains("all-region-label")||(t.checked=!1),t.classList.contains("all-region-label")&&(t.checked=!t.checked,i=t.checked)})),o.classList.toggle("selected",i),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 i=[...new Map(this.locations.filter((o=>o.region===t)).map((t=>[t.country,t]))).values()];return o("ul",{id:"region-list-"+t.replace(/\s+/g,"")},o("li",null,o("label",{htmlFor:"all-regions-"+t.replace(/\s+/g,"")},this.allRegionsText,o("input",{type:"checkbox",class:"all-region-label",id:"all-regions-"+t.replace(/\s+/g,""),value:t,"data-continent":t,onChange:o=>this.updateCheckboxStatus(t.replace(/\s+/g,""),o)}),o("span",{class:"checkmark"}))),i.map((i=>o("li",{key:i.id},o("label",{htmlFor:i.country},i.country,o("input",{type:"checkbox",id:i.country,value:i.country,"data-continent":t,onChange:o=>this.updateCheckboxStatus(t.replace(/\s+/g,""),o)}),o("span",{class:"checkmark"}))))))}toggleMap(){this.showMap=!this.showMap}showFirstMap(){const t=document.querySelectorAll("ptc-office-location-card"),o=Array.from(t).filter((t=>""===t.style.display||"block"===t.style.display));this.address=(o.length>0?o[0]:null).getAttribute("address")}render(){const t=this.getCssClassMap();return o(i,null,!this.isMobile&&o("div",{class:"region-list"},this.regions.map((t=>o("div",{class:"region "+(this.openRegion===t?"active":""),key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},o("span",{class:"region-btn"},o("span",{class:"continent-name",onClick:()=>{this.updateSelectedClass(t.replace(/\s+/g,""))}},t),o("span",{class:"continent-arrow",onClick:()=>this.toggleCountryList(t)},o("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M1 1L5 5L9 1",stroke:"#40434A","stroke-width":"2","stroke-linecap":"round"})))),o("div",{class:"country-list country-list-desktop"},this.renderCountrylist(t),o("div",{class:"country-list-footer"},o("ptc-button",{color:"ptc-tertiary","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),o("ptc-button",{color:"ptc-secondary","link-title":"Apply",type:"button",size:"small",onClick:()=>this.applyFilter(t)},this.applyText)))))),o("span",{class:"map-btn",onClick:()=>{this.toggleMap()}},o("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}),o("span",null,this.showMap?this.hideMapText:this.showMapText," "))),this.isMobile&&o("button",{class:"filter-cta",onClick:()=>{this.openFilterModal()}}," ",o("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&&o("ptc-modal",{id:"modal-example",show:!1,size:"lg",fixed:!0,rounded:!0,"show-header-footer":"true"},o("div",{slot:"header"},o("ptc-title",{type:"h4",upperline:"no-upperline","text-align":"center","title-margin":"margin-5"},this.filtersText)),o("div",{slot:"footer",class:"modal-footer"},o("ptc-button",{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),o("ptc-button",{color:"ptc-secondary","link-title":"Apply",type:"button",size:"small",onClick:()=>{this.applyFilterMobile()}},this.applyText)),o("div",{slot:"body"},o("div",{class:"filter-modal-body"},this.regions.map((t=>o("div",{class:"country-list country-list-mobile",key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},o("span",{class:"continent-name"},t),this.renderCountrylist(t))))))),o("div",{class:t},o("div",{class:"ol-list-bg "},o("slot",null)),!this.isMobile&&o("div",{class:"map-embed"},o("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: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 .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-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.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 .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 .map-icon{margin-right:10px;min-height:20px}';export{n as ptc_office_locations}
1
+ import{r as t,h as o,H as i,a as e}from"./p-944c5be8.js";import{s as r}from"./p-2f4f6ccd.js";const n=class{constructor(o){t(this,o),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}handleResize(){this.isMobile=window.innerWidth<992,this.isMobile&&(this.showMap=!1)}handleAddressClicked(t){this.address=t.detail,this.isMobile||(this.showMap=!0)}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 o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t[1].replace(/\s+/g,"")}`),i=this.hostEl.shadowRoot.querySelector(`#${t[0].replace(/\s+/g,"")}`);o.classList.contains("selected")||o.classList.add("selected"),i.checked||(i.checked=!0)})),this.checkboxes=[]}componentWillLoad(){if(this.isMobile=window.innerWidth<992,document.querySelectorAll("ptc-office-location-card").forEach(((t,o)=>{const i=t.getAttribute("region"),e=t.getAttribute("country");i&&e&&this.locations.push({id:o,region:i,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){this.openRegion=this.openRegion===t?"":t}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((o=>{const i=o.getAttribute("region"),e=o.getAttribute("country");o.style.display=t.length>0?t.includes(i)||t.includes(e)?"block":"none":"block"})),this.showFirstMap()}applyFilter(t){this.updateOfficeList(),this.toggleCountryList(t)}clearFilter(t){const o=this.getCheckboxes(t),i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);o.forEach((t=>{t.checked=!1})),i.classList.remove("selected"),this.updateOfficeList(),this.toggleCountryList(t)}updateCheckboxStatus(t,o){const i=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`),e=this.getCheckboxes(t),r=o.target.id===`all-regions-${t.replace(/\s+/g,"")}`;let n=!1;e.forEach((t=>{r?t.checked=!!t.classList.contains("all-region-label")&&o.target.checked:t.classList.contains("all-region-label")&&(t.checked=!1),t.checked&&(n=!0)})),i.classList.toggle("selected",n)}updateSelectedClass(t){this.fadeInWrapper();const o=this.hostEl.shadowRoot.querySelector(`#region-wrap-${t.replace(/\s+/g,"")}`);let i;this.getCheckboxes(t).forEach((t=>{t.classList.contains("all-region-label")||(t.checked=!1),t.classList.contains("all-region-label")&&(t.checked=!t.checked,i=t.checked)})),o.classList.toggle("selected",i),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 i=[...new Map(this.locations.filter((o=>o.region===t)).map((t=>[t.country,t]))).values()];return o("ul",{id:"region-list-"+t.replace(/\s+/g,"")},o("li",null,o("label",{htmlFor:"all-regions-"+t.replace(/\s+/g,"")},this.allRegionsText,o("input",{type:"checkbox",class:"all-region-label",id:"all-regions-"+t.replace(/\s+/g,""),value:t,"data-continent":t,onChange:o=>this.updateCheckboxStatus(t.replace(/\s+/g,""),o)}),o("span",{class:"checkmark"}))),i.map((i=>o("li",{key:i.id},o("label",{htmlFor:i.country},i.country,o("input",{type:"checkbox",id:i.country,value:i.country,"data-continent":t,onChange:o=>this.updateCheckboxStatus(t.replace(/\s+/g,""),o)}),o("span",{class:"checkmark"}))))))}toggleMap(){this.showMap=!this.showMap}showFirstMap(){const t=document.querySelectorAll("ptc-office-location-card"),o=Array.from(t).filter((t=>""===t.style.display||"block"===t.style.display));this.address=(o.length>0?o[0]:null).getAttribute("address")}render(){const t=this.getCssClassMap();return o(i,null,!this.isMobile&&o("div",{class:"region-list"},this.regions.map((t=>o("div",{class:"region "+(this.openRegion===t?"active":""),key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},o("span",{class:"region-btn"},o("span",{class:"continent-name",onClick:()=>{this.updateSelectedClass(t.replace(/\s+/g,""))}},t),o("span",{class:"continent-arrow",onClick:()=>this.toggleCountryList(t)},o("svg",{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M1 1L5 5L9 1",stroke:"#40434A","stroke-width":"2","stroke-linecap":"round"})))),o("div",{class:"country-list country-list-desktop"},this.renderCountrylist(t),o("div",{class:"country-list-footer"},o("ptc-button",{color:"ptc-tertiary","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),o("ptc-button",{color:"ptc-secondary","link-title":"Apply",type:"button",size:"small",onClick:()=>this.applyFilter(t)},this.applyText)))))),o("span",{class:"map-btn",onClick:()=>{this.toggleMap()}},o("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}),o("span",null,this.showMap?this.hideMapText:this.showMapText," "))),this.isMobile&&o("button",{class:"filter-cta",onClick:()=>{this.openFilterModal()}}," ",o("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&&o("ptc-modal",{id:"modal-example",show:!1,size:"lg",fixed:!0,rounded:!0,"show-header-footer":"true"},o("div",{slot:"header"},o("ptc-title",{type:"h4",upperline:"no-upperline","text-align":"center","title-margin":"margin-5"},this.filtersText)),o("div",{slot:"footer",class:"modal-footer"},o("ptc-button",{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),o("ptc-button",{color:"ptc-secondary","link-title":"Apply",type:"button",size:"small",onClick:()=>{this.applyFilterMobile()}},this.applyText)),o("div",{slot:"body"},o("div",{class:"filter-modal-body"},this.regions.map((t=>o("div",{class:"country-list country-list-mobile",key:t.id,id:"region-wrap-"+t.replace(/\s+/g,"")},o("span",{class:"continent-name"},t),this.renderCountrylist(t))))))),o("div",{class:t},o("div",{class:"ol-list-bg "},o("slot",null)),!this.isMobile&&o("div",{class:"map-embed"},o("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: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 .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-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.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 .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 .map-icon{margin-right:10px;min-height:20px}';export{n as ptc_office_locations}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.optionClicked=void 0,this.label=void 0,this.price=void 0,this.active=void 0,this.disabled=void 0}render(){const t=this.getCssClassMap();return e(i,null,e("div",{class:t},e("span",{class:"left-text"},e("slot",{name:"right-text"})),e("span",{class:"right-text"},e("slot",{name:"right-text"}))))}getCssClassMap(){return{"ptc-pricing-block":!0,active:!!this.active}}};a.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;margin-top:var(--ptc-element-spacing-03);color:var(--color-gray-12);box-sizing:border-box}:host .ptc-pricing-block{width:100%;background-color:var(--color-gray-02);border-radius:var(--ptc-border-radius-standard);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);display:block;transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium)}:host .ptc-pricing-block.active{background-color:var(--color-gray-12);color:var(--color-white)}:host .ptc-pricing-block:hover:not(.active){background-color:var(--color-gray-03)}:host .right-text{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-dense);text-align:right;float:right;margin:15px 20px 15px 15px;display:block}:host .left-text{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-align:left;margin:15px 15px 15px 20px;display:inline-block}.tabs-list{border-bottom:1px solid #dddddd;padding:0 5px}.tab-button{border:0;font-size:14px;padding:8px;outline:none;cursor:pointer}.tab-button:hover:not(:disabled):not(.active){border-bottom:3px solid grey}.tab-button:disabled{opacity:0.4}.tab-button.active{border-bottom:3px solid blue;font-weight:600}";export{a as ptc_tab}
1
+ import{r as t,h as e,H as i}from"./p-944c5be8.js";const a=class{constructor(e){t(this,e),this.optionClicked=void 0,this.label=void 0,this.price=void 0,this.active=void 0,this.disabled=void 0}render(){const t=this.getCssClassMap();return e(i,null,e("div",{class:t},e("span",{class:"left-text"},e("slot",{name:"right-text"})),e("span",{class:"right-text"},e("slot",{name:"right-text"}))))}getCssClassMap(){return{"ptc-pricing-block":!0,active:!!this.active}}};a.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;margin-top:var(--ptc-element-spacing-03);color:var(--color-gray-12);box-sizing:border-box}:host .ptc-pricing-block{width:100%;background-color:var(--color-gray-02);border-radius:var(--ptc-border-radius-standard);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);display:block;transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium)}:host .ptc-pricing-block.active{background-color:var(--color-gray-12);color:var(--color-white)}:host .ptc-pricing-block:hover:not(.active){background-color:var(--color-gray-03)}:host .right-text{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-dense);text-align:right;float:right;margin:15px 20px 15px 15px;display:block}:host .left-text{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-align:left;margin:15px 15px 15px 20px;display:inline-block}.tabs-list{border-bottom:1px solid #dddddd;padding:0 5px}.tab-button{border:0;font-size:14px;padding:8px;outline:none;cursor:pointer}.tab-button:hover:not(:disabled):not(.active){border-bottom:3px solid grey}.tab-button:disabled{opacity:0.4}.tab-button.active{border-bottom:3px solid blue;font-weight:600}";export{a as ptc_tab}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e,g as o}from"./p-ac75c7ad.js";const n=class{constructor(e){i(this,e),this.itemSelected=t(this,"itemSelected",7),this.menuitemNodes=[],this.firstMenuitem=!1,this.lastMenuitem=!1,this.dataItems=[],this.selectedTab=void 0,this.isDropdownOpen=!1,this.isMobile=void 0,this.isIPad=void 0,this.dropdownType="default"}dropdownToggle(i){i.currentTarget.classList.toggle("show"),this.isDropdownOpen=i.currentTarget.classList.contains("show")}onItemSelected(i){this.itemSelected.emit(i)}offClick(i){let t=this.host.shadowRoot.querySelector(".ptc-ellipsis-dropdown");i&&!this.host.contains(i.target)&&this.isDropdownOpen&&(t.classList.remove("show"),this.isDropdownOpen=!1)}handleResize(){this.isMobile=window.innerWidth<768,this.isIPad=window.innerWidth<992||screen.width<992}onEscClicked(){var i;let t=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector(".ptc-ellipsis-dropdown");t&&(t.classList.remove("show"),this.isDropdownOpen=!1)}componentWillLoad(){this.isMobile=window.innerWidth<768,this.isIPad=window.innerWidth<992||screen.width<992}onMenuitemKeydown(i){var t=i.currentTarget,e=!1;if(!(i.ctrlKey||i.altKey||i.metaKey)){if(i.shiftKey);else switch(i.key){case"Up":case"ArrowUp":this.setFocusToPreviousMenuitem(t),e=!0;break;case"ArrowDown":case"Down":this.setFocusToNextMenuitem(t),e=!0;break;case"Home":case"PageUp":this.setFocusToFirstMenuitem(),e=!0;break;case"End":case"PageDown":this.setFocusToLastMenuitem(),e=!0;break;case"Tab":this.onEscClicked()}e&&(i.stopPropagation(),i.preventDefault())}}setFocusToMenuitem(i){this.menuitemNodes.forEach((function(t){t===i?(t.tabIndex=0,i.focus()):t.tabIndex=-1}))}setFocusToFirstMenuitem(){this.setFocusToMenuitem(this.firstMenuitem)}setFocusToLastMenuitem(){this.setFocusToMenuitem(this.lastMenuitem)}setFocusToPreviousMenuitem(i){var t,e;return i===this.firstMenuitem?t=this.lastMenuitem:(e=this.menuitemNodes.indexOf(i),t=this.menuitemNodes[e-1]),this.setFocusToMenuitem(t),t}setFocusToNextMenuitem(i){var t,e;return i===this.lastMenuitem?t=this.firstMenuitem:(e=this.menuitemNodes.indexOf(i),t=this.menuitemNodes[e+1]),this.setFocusToMenuitem(t),t}componentDidLoad(){setTimeout((()=>{this.menuitems=this.host.shadowRoot.querySelectorAll("dropdown-item");for(var i=0;i<this.menuitems.length;i++){var t=this.menuitems[i];this.menuitemNodes.push(t),t.tabIndex=-1,t.addEventListener("keydown",this.onMenuitemKeydown.bind(this)),this.firstMenuitem||(this.firstMenuitem=t),this.lastMenuitem=t}}),100);const i=this.host.shadowRoot.querySelector(".ptc-ellipsis-dropdown");this.host.addEventListener("keydown",(t=>{"Enter"===t.key&&i.click(),"ArrowDown"===t.key&&this.host.shadowRoot.querySelectorAll("dropdown-item")[0].focus()})),(this.isMobile||this.isIPad&&"tab-with-banner"===this.dropdownType)&&this.host.setAttribute("tabindex","0")}render(){let i=!1;return this.dataItems.find((i=>1==i.isSelected))&&(i=!0),e("div",{class:"tab-with-banner"==this.dropdownType?"ptc-ellipsis-dropdown tab-with-banner":"ptc-ellipsis-dropdown default",onClick:i=>this.dropdownToggle(i)},this.isMobile||this.isIPad&&"tab-with-banner"===this.dropdownType?e("div",{class:"mob-drop"},e("span",{class:"opt-name"},this.dataItems.map((i=>i.isSelected?i.text:""))),e("svg",{width:"12",height:"9",viewBox:"0 0 12 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M1 1.65723L5.94975 6.60697L10.8995 1.65723",stroke:"#00890B","stroke-width":"2","stroke-linecap":"round"}))):e("div",{class:i||this.isDropdownOpen?"ellipsis-icon active":"ellipsis-icon"},e("icon-asset",{type:"ptc",size:"xxx-small",name:"ellipsis",color:i||this.isDropdownOpen?"white":"black"})),e("div",{class:"dropdown-container",role:"menu","aria-labelledby":"menubutton1"},e("slot",{name:"dropdown"}),this.dataItems.map((i=>e("dropdown-item",{role:"menuitem",class:(i.value==this.selectedTab?"active":"")+(i.isSelected?"selected-drop":"")+"mf-listen",onKeyDown:t=>{"Enter"===t.key&&(t.preventDefault(),this.onItemSelected(i))}},e("span",{onClick:t=>{t.preventDefault(),this.onItemSelected(i)}},i.text))))))}get host(){return o(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}}.ellipsis-icon{box-sizing:border-box;border:1px solid var(--color-gray-08);border-radius:2px;vertical-align:middle;height:18px;width:18px;text-align:center;display:flex;align-items:center;justify-content:center;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium)}.ellipsis-icon:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}.ellipsis-icon icon-asset{display:inline-block}.ellipsis-icon icon-asset svg{margin:0 auto;display:block;width:10px !important;height:10px !important}.ellipsis-icon.active{background-color:var(--color-green-07);border-color:var(--color-green-07)}.ellipsis-icon.active::after{content:"";width:32px;height:2px;display:inline-block;background-color:var(--color-green-07);position:absolute;bottom:-11px}@media only screen and (min-width: 1440px){.ellipsis-icon.active::after{bottom:-17px}}.ptc-ellipsis-dropdown{position:relative;display:inline-block;cursor:pointer;padding:2px 0 14px 0;border-bottom:2px solid var(--color-green-07);margin:0 1rem -1px 1rem;box-sizing:border-box}@media only screen and (min-width: 768px){.ptc-ellipsis-dropdown.default{padding:0px;border-bottom:none;margin:0;height:44px;width:44px;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}}.ptc-ellipsis-dropdown.tab-with-banner{padding:0px 0 16px 0;margin:0 1rem -2.5px 1rem}@media only screen and (min-width: 992px){.ptc-ellipsis-dropdown.tab-with-banner{padding:0px 0px 1rem 0px;border-bottom:none;margin:0;height:100%;width:44px;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}}.ptc-ellipsis-dropdown.tab-with-banner .ellipsis-icon.active::after{bottom:-2px}.ptc-ellipsis-dropdown.tab-with-banner .dropdown-container{display:none;margin-top:16px;box-shadow:0 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:1010;background:var(--color-white);padding:0.8rem 0;right:auto;left:0;min-width:max-content;width:100%}@media only screen and (min-width: 992px){.ptc-ellipsis-dropdown.tab-with-banner .dropdown-container{right:0;left:auto;top:50%;margin-top:22px}}.ptc-ellipsis-dropdown.tab-with-banner.show .dropdown-container{display:inline-block}@media only screen and (min-width: 1440px){.ptc-ellipsis-dropdown{height:34px;width:34px}}.ptc-ellipsis-dropdown .mob-drop{color:var(--color-gray-10);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-family:"Raleway";font-style:normal;display:flex;align-items:center}.ptc-ellipsis-dropdown .mob-drop svg{display:inline-block;vertical-align:middle;margin:4px 0px 0px 12px;min-width:12px}.dropdown-container{display:none;margin-top:16px;box-shadow:0 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:1010;background:var(--color-white);padding:0.8rem 0;right:auto;left:0;min-width:max-content;width:100%}@media only screen and (min-width: 768px){.dropdown-container{right:0;left:auto;margin-top:48px}}@media only screen and (min-width: 1440px){.dropdown-container{margin-top:45px}}.dropdown-container .selected-drop .dropdown-item span{position:relative;font-weight:var(--ptc-font-weight-bold)}.dropdown-container .selected-drop .dropdown-item span::before{content:"";width:2px;height:60%;background:var(--color-green-07);display:block;left:16px;position:absolute;top:20%}.show .dropdown-container{display:inline-block}dropdown-item:focus-visible{outline:none}dropdown-item:focus-visible .dropdown-item{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}';export{n as ptc_ellipsis_dropdown}
1
+ import{r as i,c as t,h as e,a as o}from"./p-944c5be8.js";const n=class{constructor(e){i(this,e),this.itemSelected=t(this,"itemSelected",7),this.menuitemNodes=[],this.firstMenuitem=!1,this.lastMenuitem=!1,this.dataItems=[],this.selectedTab=void 0,this.isDropdownOpen=!1,this.isMobile=void 0,this.isIPad=void 0,this.dropdownType="default"}dropdownToggle(i){i.currentTarget.classList.toggle("show"),this.isDropdownOpen=i.currentTarget.classList.contains("show")}onItemSelected(i){this.itemSelected.emit(i)}offClick(i){let t=this.host.shadowRoot.querySelector(".ptc-ellipsis-dropdown");i&&!this.host.contains(i.target)&&this.isDropdownOpen&&(t.classList.remove("show"),this.isDropdownOpen=!1)}handleResize(){this.isMobile=window.innerWidth<768,this.isIPad=window.innerWidth<992||screen.width<992}onEscClicked(){var i;let t=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector(".ptc-ellipsis-dropdown");t&&(t.classList.remove("show"),this.isDropdownOpen=!1)}componentWillLoad(){this.isMobile=window.innerWidth<768,this.isIPad=window.innerWidth<992||screen.width<992}onMenuitemKeydown(i){var t=i.currentTarget,e=!1;if(!(i.ctrlKey||i.altKey||i.metaKey)){if(i.shiftKey);else switch(i.key){case"Up":case"ArrowUp":this.setFocusToPreviousMenuitem(t),e=!0;break;case"ArrowDown":case"Down":this.setFocusToNextMenuitem(t),e=!0;break;case"Home":case"PageUp":this.setFocusToFirstMenuitem(),e=!0;break;case"End":case"PageDown":this.setFocusToLastMenuitem(),e=!0;break;case"Tab":this.onEscClicked()}e&&(i.stopPropagation(),i.preventDefault())}}setFocusToMenuitem(i){this.menuitemNodes.forEach((function(t){t===i?(t.tabIndex=0,i.focus()):t.tabIndex=-1}))}setFocusToFirstMenuitem(){this.setFocusToMenuitem(this.firstMenuitem)}setFocusToLastMenuitem(){this.setFocusToMenuitem(this.lastMenuitem)}setFocusToPreviousMenuitem(i){var t,e;return i===this.firstMenuitem?t=this.lastMenuitem:(e=this.menuitemNodes.indexOf(i),t=this.menuitemNodes[e-1]),this.setFocusToMenuitem(t),t}setFocusToNextMenuitem(i){var t,e;return i===this.lastMenuitem?t=this.firstMenuitem:(e=this.menuitemNodes.indexOf(i),t=this.menuitemNodes[e+1]),this.setFocusToMenuitem(t),t}componentDidLoad(){setTimeout((()=>{this.menuitems=this.host.shadowRoot.querySelectorAll("dropdown-item");for(var i=0;i<this.menuitems.length;i++){var t=this.menuitems[i];this.menuitemNodes.push(t),t.tabIndex=-1,t.addEventListener("keydown",this.onMenuitemKeydown.bind(this)),this.firstMenuitem||(this.firstMenuitem=t),this.lastMenuitem=t}}),100);const i=this.host.shadowRoot.querySelector(".ptc-ellipsis-dropdown");this.host.addEventListener("keydown",(t=>{"Enter"===t.key&&i.click(),"ArrowDown"===t.key&&this.host.shadowRoot.querySelectorAll("dropdown-item")[0].focus()})),(this.isMobile||this.isIPad&&"tab-with-banner"===this.dropdownType)&&this.host.setAttribute("tabindex","0")}render(){let i=!1;return this.dataItems.find((i=>1==i.isSelected))&&(i=!0),e("div",{class:"tab-with-banner"==this.dropdownType?"ptc-ellipsis-dropdown tab-with-banner":"ptc-ellipsis-dropdown default",onClick:i=>this.dropdownToggle(i)},this.isMobile||this.isIPad&&"tab-with-banner"===this.dropdownType?e("div",{class:"mob-drop"},e("span",{class:"opt-name"},this.dataItems.map((i=>i.isSelected?i.text:""))),e("svg",{width:"12",height:"9",viewBox:"0 0 12 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M1 1.65723L5.94975 6.60697L10.8995 1.65723",stroke:"#00890B","stroke-width":"2","stroke-linecap":"round"}))):e("div",{class:i||this.isDropdownOpen?"ellipsis-icon active":"ellipsis-icon"},e("icon-asset",{type:"ptc",size:"xxx-small",name:"ellipsis",color:i||this.isDropdownOpen?"white":"black"})),e("div",{class:"dropdown-container",role:"menu","aria-labelledby":"menubutton1"},e("slot",{name:"dropdown"}),this.dataItems.map((i=>e("dropdown-item",{role:"menuitem",class:(i.value==this.selectedTab?"active":"")+(i.isSelected?"selected-drop":"")+"mf-listen",onKeyDown:t=>{"Enter"===t.key&&(t.preventDefault(),this.onItemSelected(i))}},e("span",{onClick:t=>{t.preventDefault(),this.onItemSelected(i)}},i.text))))))}get host(){return o(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}}.ellipsis-icon{box-sizing:border-box;border:1px solid var(--color-gray-08);border-radius:2px;vertical-align:middle;height:18px;width:18px;text-align:center;display:flex;align-items:center;justify-content:center;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium)}.ellipsis-icon:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}.ellipsis-icon icon-asset{display:inline-block}.ellipsis-icon icon-asset svg{margin:0 auto;display:block;width:10px !important;height:10px !important}.ellipsis-icon.active{background-color:var(--color-green-07);border-color:var(--color-green-07)}.ellipsis-icon.active::after{content:"";width:32px;height:2px;display:inline-block;background-color:var(--color-green-07);position:absolute;bottom:-11px}@media only screen and (min-width: 1440px){.ellipsis-icon.active::after{bottom:-17px}}.ptc-ellipsis-dropdown{position:relative;display:inline-block;cursor:pointer;padding:2px 0 14px 0;border-bottom:2px solid var(--color-green-07);margin:0 1rem -1px 1rem;box-sizing:border-box}@media only screen and (min-width: 768px){.ptc-ellipsis-dropdown.default{padding:0px;border-bottom:none;margin:0;height:44px;width:44px;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}}.ptc-ellipsis-dropdown.tab-with-banner{padding:0px 0 16px 0;margin:0 1rem -2.5px 1rem}@media only screen and (min-width: 992px){.ptc-ellipsis-dropdown.tab-with-banner{padding:0px 0px 1rem 0px;border-bottom:none;margin:0;height:100%;width:44px;display:flex;justify-content:center;align-content:center;flex-wrap:wrap}}.ptc-ellipsis-dropdown.tab-with-banner .ellipsis-icon.active::after{bottom:-2px}.ptc-ellipsis-dropdown.tab-with-banner .dropdown-container{display:none;margin-top:16px;box-shadow:0 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:1010;background:var(--color-white);padding:0.8rem 0;right:auto;left:0;min-width:max-content;width:100%}@media only screen and (min-width: 992px){.ptc-ellipsis-dropdown.tab-with-banner .dropdown-container{right:0;left:auto;top:50%;margin-top:22px}}.ptc-ellipsis-dropdown.tab-with-banner.show .dropdown-container{display:inline-block}@media only screen and (min-width: 1440px){.ptc-ellipsis-dropdown{height:34px;width:34px}}.ptc-ellipsis-dropdown .mob-drop{color:var(--color-gray-10);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);font-family:"Raleway";font-style:normal;display:flex;align-items:center}.ptc-ellipsis-dropdown .mob-drop svg{display:inline-block;vertical-align:middle;margin:4px 0px 0px 12px;min-width:12px}.dropdown-container{display:none;margin-top:16px;box-shadow:0 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:1010;background:var(--color-white);padding:0.8rem 0;right:auto;left:0;min-width:max-content;width:100%}@media only screen and (min-width: 768px){.dropdown-container{right:0;left:auto;margin-top:48px}}@media only screen and (min-width: 1440px){.dropdown-container{margin-top:45px}}.dropdown-container .selected-drop .dropdown-item span{position:relative;font-weight:var(--ptc-font-weight-bold)}.dropdown-container .selected-drop .dropdown-item span::before{content:"";width:2px;height:60%;background:var(--color-green-07);display:block;left:16px;position:absolute;top:20%}.show .dropdown-container{display:inline-block}dropdown-item:focus-visible{outline:none}dropdown-item:focus-visible .dropdown-item{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}';export{n as ptc_ellipsis_dropdown}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as a,g as o}from"./p-ac75c7ad.js";import{s}from"./p-2f4f6ccd.js";const n='\n<svg width="16" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M15.9902 16.6115C15.9672 16.448 15.6893 16.163 15.1565 15.7565C15.0145 15.6335 12.6694 13.5744 12.559 13.4924C12.4485 13.4104 12.3345 13.3585 12.2177 13.3373C12.0513 13.3071 11.822 13.3915 11.5297 13.5904C11.2369 13.7907 10.9611 14.0162 10.7055 14.2646C10.5444 14.4209 10.212 14.705 10.212 14.705L9.84109 14.9888C9.59663 15.1585 9.40545 15.2308 9.26754 15.2056C9.1924 15.1919 8.29273 14.5193 8.27776 14.5077C7.24698 13.648 6.37687 12.7367 5.70389 11.7471C5.03092 10.7576 4.49606 9.60254 4.06403 8.3109C4.05882 8.29161 4.02462 8.20179 3.962 8.04012C3.89938 7.87844 3.75234 7.1916 3.76559 7.11459C3.78959 6.97451 3.91815 6.81662 4.15017 6.64077L4.53583 6.37819C4.72177 6.26033 4.91515 6.14922 5.11598 6.04487C5.42974 5.88223 5.72956 5.6925 6.01221 5.47772C6.29477 5.26306 6.45049 5.06975 6.47938 4.8978C6.49974 4.77807 6.49158 4.64997 6.45453 4.51516C6.41724 4.37965 5.34032 1.4061 5.27662 1.2267C5.17083 0.861105 5.07258 0.585353 4.98186 0.39945C4.91025 0.252936 4.84323 0.162222 4.78081 0.127311C4.75216 0.108083 4.71438 0.0908609 4.66746 0.0756436C4.6208 0.0608755 4.57324 0.0492726 4.52511 0.0409101C4.30025 0.000202494 3.999 -0.0101256 3.62135 0.00992609C3.24371 0.0299777 2.94267 0.0682131 2.71823 0.124632C2.60239 0.151743 2.48103 0.201406 2.35414 0.273619C2.32869 0.28815 2.30301 0.303559 2.27708 0.319847L1.90066 0.607067C1.6583 0.821784 1.3991 1.10462 1.12306 1.45558C1.03738 1.56652 0.956681 1.67822 0.880955 1.79068C0.458524 2.41695 0.189921 3.06519 0.0751441 3.73541C0.0358113 3.9615 0.0116542 4.19011 0.00284494 4.41961C-0.00547723 4.64394 0.00445899 4.90045 0.032653 5.18914C0.0606603 5.47734 0.0862267 5.6921 0.109353 5.83342C0.132479 5.97474 0.177157 6.22857 0.243388 6.59491C0.309805 6.96112 0.348735 7.18468 0.360098 7.26696C0.508457 8.16162 0.725847 8.97588 1.01227 9.70974C1.48239 10.9277 2.18658 12.2265 3.12482 13.6059C3.63237 14.3522 4.14183 15.0243 4.65322 15.6224C5.08653 16.129 5.52131 16.5823 5.95756 16.9824C6.00291 17.0243 6.04877 17.066 6.09516 17.1074C6.63551 17.5885 7.25834 18.0358 7.96364 18.4492C8.0342 18.4883 8.22538 18.6026 8.53719 18.7921C8.84797 18.9813 9.06402 19.1112 9.18536 19.1819C9.30699 19.2533 9.49432 19.3508 9.74783 19.4775C10.0015 19.6029 10.2322 19.7 10.44 19.7686C10.6521 19.8388 10.8687 19.8939 11.0882 19.9334C11.8558 20.0728 12.6689 19.9946 13.5275 19.6989C13.9475 19.5497 14.2978 19.3934 14.5782 19.23L14.9674 18.9624C15.1049 18.8482 15.2114 18.7308 15.2868 18.6102C15.2879 18.6086 15.2889 18.607 15.2899 18.6055C15.4179 18.4077 15.5543 18.1312 15.7011 17.7755C15.8485 17.4169 15.9422 17.1218 15.9822 16.8902C16.0029 16.7695 16.0055 16.677 15.9902 16.6115Z" fill="#40434A"/>\n</svg>\n',h=class{constructor(e){t(this,e),this.officeCardClicked=i(this,"officeCardClicked",7),this.region=void 0,this.country=void 0,this.address=void 0,this.isContactEmpty=!1,this.officeName=void 0,this.showFullAddressModal=!1,this.showFullAddressText="Show Full Address"}handleClick(){this.officeCardClicked.emit(this.address)}showFullAddress(t){t.stopPropagation(),this.hostElement.shadowRoot.querySelector("#show-full-add").show=!0}render(){return e(a,null,e("div",{class:"ofc-card-wrapper",onClick:()=>this.handleClick()},this.showFullAddressModal&&e("div",{class:"show-full-cta",onClick:t=>{this.showFullAddress(t)}},this.showFullAddressText,e("span",{innerHTML:'<svg class="ol-full-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M7.51557e-07 5.8973C7.45775e-07 6.09464 0.0783039 6.2839 0.217689 6.42346C0.357075 6.56302 0.546129 6.64145 0.743274 6.64149H0.758399C0.955544 6.64145 1.1446 6.56302 1.28398 6.42346C1.42337 6.2839 1.50167 6.09464 1.50167 5.8973V2.56619L4.93013 5.99805C5.06957 6.13756 5.25865 6.21592 5.4558 6.21592C5.65295 6.21592 5.84203 6.13756 5.98148 5.99805L5.9921 5.98742C6.13146 5.84784 6.20975 5.65857 6.20975 5.46122C6.20975 5.26388 6.13146 5.07461 5.9921 4.93503L2.56365 1.50316H5.84067C5.93833 1.50323 6.03505 1.48404 6.1253 1.44669C6.21555 1.40933 6.29757 1.35454 6.36666 1.28545C6.43575 1.21636 6.49056 1.13432 6.52797 1.04401C6.56538 0.953708 6.58464 0.856911 6.58467 0.759152V0.744012C6.58462 0.546672 6.50627 0.35743 6.36685 0.217906C6.22743 0.0783817 6.03836 7.46516e-07 5.84121 7.52304e-07H0.54107C0.469983 -0.000117944 0.399571 0.0138101 0.333872 0.0409864C0.268173 0.0681627 0.208479 0.108053 0.158212 0.158369C0.107945 0.208686 0.068095 0.268439 0.0409457 0.334204C0.0137964 0.399968 -0.000117827 0.47045 7.51557e-07 0.541608V5.8973Z"\n fill="#40434A" />\n <path\n d="M9.3584 0.744087V0.759227C9.35845 0.956505 9.43675 1.14569 9.57609 1.28521C9.71543 1.42472 9.90441 1.50314 10.1015 1.50324H13.3785L9.95096 4.9351C9.8116 5.07469 9.73331 5.26395 9.73331 5.4613C9.73331 5.65864 9.8116 5.84791 9.95096 5.9875L9.96159 5.99813C10.101 6.13763 10.2901 6.216 10.4873 6.216C10.6844 6.216 10.8735 6.13763 11.0129 5.99813L14.4409 2.56627V5.89738C14.4409 5.99511 14.4601 6.09188 14.4974 6.18217C14.5348 6.27246 14.5896 6.3545 14.6586 6.4236C14.7276 6.49271 14.8096 6.54752 14.8998 6.58492C14.99 6.62232 15.0867 6.64157 15.1843 6.64157H15.1993C15.2969 6.64157 15.3936 6.62232 15.4838 6.58492C15.574 6.54752 15.6559 6.49271 15.725 6.4236C15.794 6.3545 15.8488 6.27246 15.8861 6.18217C15.9235 6.09188 15.9427 5.99511 15.9427 5.89738V0.541683C15.9427 0.398279 15.8858 0.260748 15.7845 0.159346C15.6832 0.0579437 15.5458 0.000976563 15.4025 0.000976562H10.1015C9.90457 0.00107184 9.71572 0.0793713 9.5764 0.21869C9.43709 0.358009 9.35868 0.546965 9.3584 0.744087Z"\n fill="#40434A" />\n <path\n d="M5.9921 10.0125L5.98148 10.0018C5.84203 9.86234 5.65295 9.78397 5.4558 9.78397C5.25865 9.78397 5.06957 9.86234 4.93013 10.0018L1.50167 13.4337V10.1026C1.50167 9.90525 1.42337 9.71599 1.28398 9.57643C1.1446 9.43687 0.955543 9.35845 0.758398 9.3584H0.743273C0.546128 9.35845 0.357074 9.43687 0.217689 9.57643C0.0783032 9.71599 -5.78131e-09 9.90525 0 10.1026L0 15.4583C-9.86272e-08 15.5294 0.0140016 15.5998 0.0412039 15.6654C0.0684062 15.7311 0.108275 15.7907 0.15853 15.8409C0.208785 15.8912 0.268439 15.931 0.334079 15.9581C0.39972 15.9852 0.470058 15.9991 0.54107 15.999H5.84121C6.03836 15.999 6.22743 15.9206 6.36685 15.7811C6.50627 15.6416 6.58462 15.4523 6.58467 15.255V15.2398C6.58462 15.0425 6.50627 14.8533 6.36685 14.7137C6.22743 14.5742 6.03836 14.4958 5.84121 14.4958H2.56418L5.9921 11.0649C6.13146 10.9253 6.20975 10.736 6.20975 10.5387C6.20975 10.3413 6.13146 10.1521 5.9921 10.0125Z"\n fill="#40434A" />\n <path\n d="M14.4983 13.4337L11.0698 10.0027C10.9304 9.86324 10.7413 9.78487 10.5442 9.78487C10.347 9.78487 10.1579 9.86324 10.0185 10.0027L10.0079 10.0134C9.8685 10.153 9.79021 10.3422 9.79021 10.5396C9.79021 10.7369 9.8685 10.9262 10.0079 11.0658L13.4363 14.4967H10.1593C9.96216 14.4967 9.77311 14.5751 9.63372 14.7146C9.49432 14.8542 9.41602 15.0434 9.41602 15.2407V15.2559C9.41602 15.4532 9.49432 15.6424 9.63372 15.782C9.77311 15.9215 9.96216 15.9999 10.1593 15.9999H15.4589C15.6022 15.9999 15.7395 15.9429 15.8408 15.8415C15.9422 15.7401 15.9991 15.6026 15.9991 15.4592V10.1026C15.9991 9.90525 15.9208 9.71599 15.7814 9.57643C15.642 9.43687 15.4529 9.35845 15.2558 9.3584H15.2407C15.0435 9.35845 14.8545 9.43687 14.7151 9.57643C14.5757 9.71599 14.4974 9.90525 14.4974 10.1026L14.4983 13.4337Z"\n fill="#40434A" />\n</svg>\n'})),e("div",{class:"ofc-title"},this.officeName),e("div",{class:"map-link"},e("span",{class:"ofc-icon",innerHTML:s}),e("slot",{name:"map-link"})),e("div",{class:"contact-number"},!this.isContactEmpty&&e("span",{class:"ofc-icon",innerHTML:n}),e("slot",{name:"contact-number"})),e("slot",null)),this.showFullAddressModal&&e("ptc-modal",{id:"show-full-add",show:!1,size:"md",fixed:!0,rounded:!0,overlay:!0,"keep-in-viewport":!0,styles:".modal-body{padding: 0 32px 32px 32px;box-sizing: border-box;}"},e("div",{class:"ofc-title"},this.officeName),e("div",{class:"map-link"},e("span",{class:"ofc-icon",innerHTML:s}),e("slot",{name:"map-link-modal"})),e("div",{class:"contact-number"},!this.isContactEmpty&&e("span",{class:"ofc-icon",innerHTML:n}),e("slot",{name:"contact-number-modal"}))))}get hostElement(){return o(this)}};h.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;position:relative}:host .ofc-card-wrapper{padding:2rem;border:1px solid var(--color-gray-02);cursor:pointer;color:var(--color-gray-10);height:100%;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .ofc-card-wrapper:hover{border-color:var(--color-gray-10)}:host .map-link,:host .contact-number{margin-top:20px;display:flex;align-items:center;color:var(--color-gray-10)}:host .map-link a,:host .contact-number a{color:#2bad56 !important}:host .ofc-icon{margin-right:1rem}:host .show-full-cta{position:absolute;top:12px;right:12px;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-densest);display:flex;text-decoration:none;transition:text-decoration var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .show-full-cta:hover{text-decoration:underline}:host .show-full-cta span{margin-left:8px}:host .ofc-title{color:var(--color-gray-10);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest)}";export{h as ptc_office_location_card}
1
+ import{r as t,c as i,h as e,H as a,a as o}from"./p-944c5be8.js";import{s}from"./p-2f4f6ccd.js";const n='\n<svg width="16" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M15.9902 16.6115C15.9672 16.448 15.6893 16.163 15.1565 15.7565C15.0145 15.6335 12.6694 13.5744 12.559 13.4924C12.4485 13.4104 12.3345 13.3585 12.2177 13.3373C12.0513 13.3071 11.822 13.3915 11.5297 13.5904C11.2369 13.7907 10.9611 14.0162 10.7055 14.2646C10.5444 14.4209 10.212 14.705 10.212 14.705L9.84109 14.9888C9.59663 15.1585 9.40545 15.2308 9.26754 15.2056C9.1924 15.1919 8.29273 14.5193 8.27776 14.5077C7.24698 13.648 6.37687 12.7367 5.70389 11.7471C5.03092 10.7576 4.49606 9.60254 4.06403 8.3109C4.05882 8.29161 4.02462 8.20179 3.962 8.04012C3.89938 7.87844 3.75234 7.1916 3.76559 7.11459C3.78959 6.97451 3.91815 6.81662 4.15017 6.64077L4.53583 6.37819C4.72177 6.26033 4.91515 6.14922 5.11598 6.04487C5.42974 5.88223 5.72956 5.6925 6.01221 5.47772C6.29477 5.26306 6.45049 5.06975 6.47938 4.8978C6.49974 4.77807 6.49158 4.64997 6.45453 4.51516C6.41724 4.37965 5.34032 1.4061 5.27662 1.2267C5.17083 0.861105 5.07258 0.585353 4.98186 0.39945C4.91025 0.252936 4.84323 0.162222 4.78081 0.127311C4.75216 0.108083 4.71438 0.0908609 4.66746 0.0756436C4.6208 0.0608755 4.57324 0.0492726 4.52511 0.0409101C4.30025 0.000202494 3.999 -0.0101256 3.62135 0.00992609C3.24371 0.0299777 2.94267 0.0682131 2.71823 0.124632C2.60239 0.151743 2.48103 0.201406 2.35414 0.273619C2.32869 0.28815 2.30301 0.303559 2.27708 0.319847L1.90066 0.607067C1.6583 0.821784 1.3991 1.10462 1.12306 1.45558C1.03738 1.56652 0.956681 1.67822 0.880955 1.79068C0.458524 2.41695 0.189921 3.06519 0.0751441 3.73541C0.0358113 3.9615 0.0116542 4.19011 0.00284494 4.41961C-0.00547723 4.64394 0.00445899 4.90045 0.032653 5.18914C0.0606603 5.47734 0.0862267 5.6921 0.109353 5.83342C0.132479 5.97474 0.177157 6.22857 0.243388 6.59491C0.309805 6.96112 0.348735 7.18468 0.360098 7.26696C0.508457 8.16162 0.725847 8.97588 1.01227 9.70974C1.48239 10.9277 2.18658 12.2265 3.12482 13.6059C3.63237 14.3522 4.14183 15.0243 4.65322 15.6224C5.08653 16.129 5.52131 16.5823 5.95756 16.9824C6.00291 17.0243 6.04877 17.066 6.09516 17.1074C6.63551 17.5885 7.25834 18.0358 7.96364 18.4492C8.0342 18.4883 8.22538 18.6026 8.53719 18.7921C8.84797 18.9813 9.06402 19.1112 9.18536 19.1819C9.30699 19.2533 9.49432 19.3508 9.74783 19.4775C10.0015 19.6029 10.2322 19.7 10.44 19.7686C10.6521 19.8388 10.8687 19.8939 11.0882 19.9334C11.8558 20.0728 12.6689 19.9946 13.5275 19.6989C13.9475 19.5497 14.2978 19.3934 14.5782 19.23L14.9674 18.9624C15.1049 18.8482 15.2114 18.7308 15.2868 18.6102C15.2879 18.6086 15.2889 18.607 15.2899 18.6055C15.4179 18.4077 15.5543 18.1312 15.7011 17.7755C15.8485 17.4169 15.9422 17.1218 15.9822 16.8902C16.0029 16.7695 16.0055 16.677 15.9902 16.6115Z" fill="#40434A"/>\n</svg>\n',h=class{constructor(e){t(this,e),this.officeCardClicked=i(this,"officeCardClicked",7),this.region=void 0,this.country=void 0,this.address=void 0,this.isContactEmpty=!1,this.officeName=void 0,this.showFullAddressModal=!1,this.showFullAddressText="Show Full Address"}handleClick(){this.officeCardClicked.emit(this.address)}showFullAddress(t){t.stopPropagation(),this.hostElement.shadowRoot.querySelector("#show-full-add").show=!0}render(){return e(a,null,e("div",{class:"ofc-card-wrapper",onClick:()=>this.handleClick()},this.showFullAddressModal&&e("div",{class:"show-full-cta",onClick:t=>{this.showFullAddress(t)}},this.showFullAddressText,e("span",{innerHTML:'<svg class="ol-full-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path\n d="M7.51557e-07 5.8973C7.45775e-07 6.09464 0.0783039 6.2839 0.217689 6.42346C0.357075 6.56302 0.546129 6.64145 0.743274 6.64149H0.758399C0.955544 6.64145 1.1446 6.56302 1.28398 6.42346C1.42337 6.2839 1.50167 6.09464 1.50167 5.8973V2.56619L4.93013 5.99805C5.06957 6.13756 5.25865 6.21592 5.4558 6.21592C5.65295 6.21592 5.84203 6.13756 5.98148 5.99805L5.9921 5.98742C6.13146 5.84784 6.20975 5.65857 6.20975 5.46122C6.20975 5.26388 6.13146 5.07461 5.9921 4.93503L2.56365 1.50316H5.84067C5.93833 1.50323 6.03505 1.48404 6.1253 1.44669C6.21555 1.40933 6.29757 1.35454 6.36666 1.28545C6.43575 1.21636 6.49056 1.13432 6.52797 1.04401C6.56538 0.953708 6.58464 0.856911 6.58467 0.759152V0.744012C6.58462 0.546672 6.50627 0.35743 6.36685 0.217906C6.22743 0.0783817 6.03836 7.46516e-07 5.84121 7.52304e-07H0.54107C0.469983 -0.000117944 0.399571 0.0138101 0.333872 0.0409864C0.268173 0.0681627 0.208479 0.108053 0.158212 0.158369C0.107945 0.208686 0.068095 0.268439 0.0409457 0.334204C0.0137964 0.399968 -0.000117827 0.47045 7.51557e-07 0.541608V5.8973Z"\n fill="#40434A" />\n <path\n d="M9.3584 0.744087V0.759227C9.35845 0.956505 9.43675 1.14569 9.57609 1.28521C9.71543 1.42472 9.90441 1.50314 10.1015 1.50324H13.3785L9.95096 4.9351C9.8116 5.07469 9.73331 5.26395 9.73331 5.4613C9.73331 5.65864 9.8116 5.84791 9.95096 5.9875L9.96159 5.99813C10.101 6.13763 10.2901 6.216 10.4873 6.216C10.6844 6.216 10.8735 6.13763 11.0129 5.99813L14.4409 2.56627V5.89738C14.4409 5.99511 14.4601 6.09188 14.4974 6.18217C14.5348 6.27246 14.5896 6.3545 14.6586 6.4236C14.7276 6.49271 14.8096 6.54752 14.8998 6.58492C14.99 6.62232 15.0867 6.64157 15.1843 6.64157H15.1993C15.2969 6.64157 15.3936 6.62232 15.4838 6.58492C15.574 6.54752 15.6559 6.49271 15.725 6.4236C15.794 6.3545 15.8488 6.27246 15.8861 6.18217C15.9235 6.09188 15.9427 5.99511 15.9427 5.89738V0.541683C15.9427 0.398279 15.8858 0.260748 15.7845 0.159346C15.6832 0.0579437 15.5458 0.000976563 15.4025 0.000976562H10.1015C9.90457 0.00107184 9.71572 0.0793713 9.5764 0.21869C9.43709 0.358009 9.35868 0.546965 9.3584 0.744087Z"\n fill="#40434A" />\n <path\n d="M5.9921 10.0125L5.98148 10.0018C5.84203 9.86234 5.65295 9.78397 5.4558 9.78397C5.25865 9.78397 5.06957 9.86234 4.93013 10.0018L1.50167 13.4337V10.1026C1.50167 9.90525 1.42337 9.71599 1.28398 9.57643C1.1446 9.43687 0.955543 9.35845 0.758398 9.3584H0.743273C0.546128 9.35845 0.357074 9.43687 0.217689 9.57643C0.0783032 9.71599 -5.78131e-09 9.90525 0 10.1026L0 15.4583C-9.86272e-08 15.5294 0.0140016 15.5998 0.0412039 15.6654C0.0684062 15.7311 0.108275 15.7907 0.15853 15.8409C0.208785 15.8912 0.268439 15.931 0.334079 15.9581C0.39972 15.9852 0.470058 15.9991 0.54107 15.999H5.84121C6.03836 15.999 6.22743 15.9206 6.36685 15.7811C6.50627 15.6416 6.58462 15.4523 6.58467 15.255V15.2398C6.58462 15.0425 6.50627 14.8533 6.36685 14.7137C6.22743 14.5742 6.03836 14.4958 5.84121 14.4958H2.56418L5.9921 11.0649C6.13146 10.9253 6.20975 10.736 6.20975 10.5387C6.20975 10.3413 6.13146 10.1521 5.9921 10.0125Z"\n fill="#40434A" />\n <path\n d="M14.4983 13.4337L11.0698 10.0027C10.9304 9.86324 10.7413 9.78487 10.5442 9.78487C10.347 9.78487 10.1579 9.86324 10.0185 10.0027L10.0079 10.0134C9.8685 10.153 9.79021 10.3422 9.79021 10.5396C9.79021 10.7369 9.8685 10.9262 10.0079 11.0658L13.4363 14.4967H10.1593C9.96216 14.4967 9.77311 14.5751 9.63372 14.7146C9.49432 14.8542 9.41602 15.0434 9.41602 15.2407V15.2559C9.41602 15.4532 9.49432 15.6424 9.63372 15.782C9.77311 15.9215 9.96216 15.9999 10.1593 15.9999H15.4589C15.6022 15.9999 15.7395 15.9429 15.8408 15.8415C15.9422 15.7401 15.9991 15.6026 15.9991 15.4592V10.1026C15.9991 9.90525 15.9208 9.71599 15.7814 9.57643C15.642 9.43687 15.4529 9.35845 15.2558 9.3584H15.2407C15.0435 9.35845 14.8545 9.43687 14.7151 9.57643C14.5757 9.71599 14.4974 9.90525 14.4974 10.1026L14.4983 13.4337Z"\n fill="#40434A" />\n</svg>\n'})),e("div",{class:"ofc-title"},this.officeName),e("div",{class:"map-link"},e("span",{class:"ofc-icon",innerHTML:s}),e("slot",{name:"map-link"})),e("div",{class:"contact-number"},!this.isContactEmpty&&e("span",{class:"ofc-icon",innerHTML:n}),e("slot",{name:"contact-number"})),e("slot",null)),this.showFullAddressModal&&e("ptc-modal",{id:"show-full-add",show:!1,size:"md",fixed:!0,rounded:!0,overlay:!0,"keep-in-viewport":!0,styles:".modal-body{padding: 0 32px 32px 32px;box-sizing: border-box;}"},e("div",{class:"ofc-title"},this.officeName),e("div",{class:"map-link"},e("span",{class:"ofc-icon",innerHTML:s}),e("slot",{name:"map-link-modal"})),e("div",{class:"contact-number"},!this.isContactEmpty&&e("span",{class:"ofc-icon",innerHTML:n}),e("slot",{name:"contact-number-modal"}))))}get hostElement(){return o(this)}};h.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;position:relative}:host .ofc-card-wrapper{padding:2rem;border:1px solid var(--color-gray-02);cursor:pointer;color:var(--color-gray-10);height:100%;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .ofc-card-wrapper:hover{border-color:var(--color-gray-10)}:host .map-link,:host .contact-number{margin-top:20px;display:flex;align-items:center;color:var(--color-gray-10)}:host .map-link a,:host .contact-number a{color:#2bad56 !important}:host .ofc-icon{margin-right:1rem}:host .show-full-cta{position:absolute;top:12px;right:12px;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-densest);display:flex;text-decoration:none;transition:text-decoration var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .show-full-cta:hover{text-decoration:underline}:host .show-full-cta span{margin-left:8px}:host .ofc-title{color:var(--color-gray-10);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest)}";export{h as ptc_office_location_card}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as a,a as o}from"./p-944c5be8.js";const h=class{constructor(i){t(this,i),this.selectedFilterValues=e(this,"selectedFilterValues",7),this.internalOptions=[],this.selectedOptions=[],this.placeholder=void 0,this.selectedTag=void 0,this.styles=void 0,this.isOpen=!1}async clearFilterSelection(){this.clearFilter()}componentDidLoad(){this.dropdownPlaceholder=this.hostElement.shadowRoot.querySelector(".dropdown-placeholder .dropdown-filter-name")}parseOptions(){let t=Array.from(this.hostElement.querySelectorAll("span"));t&&(this.internalOptions=t.map((t=>({tabId:t.getAttribute("tab-id"),value:t.textContent,tagName:t.getAttribute("tag-name")}))))}toggleDropdown(){this.isOpen=!this.isOpen}clearFilter(){this.selectedOptions=[],this.hostElement.shadowRoot.querySelectorAll('.filter-list input[type="radio"]').forEach((t=>{t instanceof HTMLInputElement&&(t.checked=!1)})),this.dropdownPlaceholder&&(this.dropdownPlaceholder.textContent=this.placeholder),this.emitSelectedOptions("clearButton")}emitSelectedOptions(t){this.selectedOptions=this.internalOptions.filter((t=>null!==this.hostElement.shadowRoot.querySelector(`input[tab-id="${t.tabId}"]:checked`))).map((t=>({tabId:t.tabId,value:t.value,tagName:t.tagName}))),this.selectedFilterValues.emit({sender:this,selectedOptions:this.selectedOptions}),"applyButton"==t&&this.toggleDropdown(),this.dropdownPlaceholder&&(this.dropdownPlaceholder.textContent=this.selectedOptions[0].value)}componentWillRender(){this.parseOptions()}render(){return i(a,null,this.styles&&i("style",null,this.styles),i("div",{class:"dropdown"},i("div",{class:"dropdown-toggle",onClick:()=>this.toggleDropdown()},i("span",{class:"dropdown-placeholder"},i("strong",null,"Filter: "),i("span",{class:"dropdown-filter-name"},this.placeholder)),i("span",{class:"caret"},i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"7",viewBox:"0 0 12 7",fill:"none"},i("path",{d:"M10.2426 1.24264L6 5.48528L1.75736 1.24264",stroke:"#20262A","stroke-width":"2","stroke-linecap":"round"})))),this.isOpen&&i("div",{class:"dropdown-menu"},i("ul",{class:"filter-list"},this.internalOptions.map((t=>i("li",{key:t.tabId},i("label",{class:"radio-label",htmlFor:t.value.replace(/\s+/g,"")},i("input",{type:"radio",id:t.value.replace(/\s+/g,""),name:"theater-filter",value:t.value,checked:this.selectedOptions.some((e=>e.value===t.value)),"tab-id":t.tabId,"tag-name":t.tagName}),t.value))))),i("div",{class:"filter-btns"},i("span",{class:"clear-btn",onClick:()=>this.clearFilter()},"Clear"),i("ptc-button",{type:"link",color:"ptc-secondary",onClick:()=>this.emitSelectedOptions("applyButton"),styles:" a span { font-size: 16px !important; } a{ padding: 10px 16px !important; }"},"Apply")))),i("div",{class:"hidden"},i("slot",null)))}get hostElement(){return o(this)}};h.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;box-sizing:border-box}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;font-size:16px;color:var(--color-gray-10)}:host .dropdown .dropdown-toggle{padding:var(--ptc-element-spacing-01) 14px var(--ptc-element-spacing-01) 14px;border:1px solid var(--color-gray-05);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;border-radius:4px}:host .dropdown .dropdown-toggle .dropdown-placeholder{display:flex}:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{padding-left:10px;padding-right:5px;word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{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 .dropdown .caret{display:inline-block;vertical-align:middle;margin-left:5px}:host .dropdown .dropdown-menu{position:absolute;top:100%;left:0;left:0;border:1px solid var(--color-gray-03);background-color:var(--color-white);overflow-y:auto;width:100%;border-radius:4px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);display:flex;flex-direction:column;margin-top:8px;min-width:278px;overflow:hidden;position:absolute;transition:max-height 0.25s ease-out;z-index:2000;max-height:1000px}:host .dropdown .dropdown-menu .filter-list{padding:24px 24px 16px 24px;margin:0;list-style:none;border-bottom:1px solid var(--color-gray-02)}:host .dropdown .dropdown-menu .filter-btns{display:flex;justify-content:space-between;align-items:center;padding:16px 24px}:host .dropdown .dropdown-menu .filter-btns .clear-btn{cursor:pointer}:host .dropdown .dropdown-menu .filter-btns .clear-btn:hover{text-decoration:underline}:host .dropdown::-webkit-scrollbar{width:5px}:host .dropdown::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .radio-label{margin-bottom:16px;font-size:16px;font-weight:500;cursor:pointer;display:block;font-weight:500;position:relative;user-select:none;line-height:1.5;display:flex;align-items:baseline;word-break:break-word;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual}:host .radio-label input{margin-right:10px}:host .radio-label .checkmark{width:20px;height:20px;background-color:#fff;border:1px solid #1f2024;border-radius:0.4rem;margin-right:8px;position:absolute;left:0;top:0}:host .radio-label .checkmark::after{background-image:url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none"><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:"";height:20px;width:20px;position:absolute;left:0;top:0;display:none}';const s=class{constructor(i){t(this,i),this.vCardClicked=e(this,"vCardClicked",7),this.cardTitle=void 0,this.cardDescription=void 0,this.thumbImg=void 0,this.cardNumber=void 0,this.videoId=void 0,this.vtagName=void 0,this.modalType="video-with-description"}showCardDetails(){this.vCardClicked.emit({sender:this,cardNumber:this.cardNumber})}render(){return i(a,{"video-id":this.videoId,"vtag-name":this.vtagName,"modal-type":this.modalType},i("div",{class:"img-wrap",onClick:()=>this.showCardDetails()},i("img",{src:this.thumbImg,alt:""}),i("span",{class:"card-number"},this.cardNumber+1),i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"54",height:"56",viewBox:"0 0 54 56",fill:"none"},i("g",{filter:"url(#filter0_d_214_969)"},i("path",{d:"M42 20L12 36V4L42 20Z",fill:"white"})),i("defs",null,i("filter",{id:"filter0_d_214_969",x:"0",y:"0",width:"54",height:"56",filterUnits:"userSpaceOnUse","color-interpolation-filters":"s-rGB"},i("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),i("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i("feOffset",{dy:"8"}),i("feGaussianBlur",{stdDeviation:"6"}),i("feComposite",{in2:"hardAlpha",operator:"out"}),i("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}),i("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_214_969"}),i("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_214_969",result:"shape"}))))),i("h3",{class:"vcard-title"},this.cardTitle),i("div",{class:"hidden description"},i("slot",null)))}get ele(){return o(this)}};s.style="h1.sc-ptc-theater-video,h2.sc-ptc-theater-video,h3.sc-ptc-theater-video,h4.sc-ptc-theater-video,h5.sc-ptc-theater-video,h6.sc-ptc-theater-video,p.sc-ptc-theater-video,ul.sc-ptc-theater-video,li.sc-ptc-theater-video,ptc-subnav.sc-ptc-theater-video,ptc-tab-list.sc-ptc-theater-video,ptc-link.sc-ptc-theater-video,ptc-square-card.sc-ptc-theater-video,.hyphenate-text.sc-ptc-theater-video,ptc-footer.sc-ptc-theater-video{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-theater-video,h2.sc-ptc-theater-video,h3.sc-ptc-theater-video,h4.sc-ptc-theater-video,h5.sc-ptc-theater-video,h6.sc-ptc-theater-video,p.sc-ptc-theater-video,ul.sc-ptc-theater-video,li.sc-ptc-theater-video,ptc-subnav.sc-ptc-theater-video,ptc-tab-list.sc-ptc-theater-video,ptc-link.sc-ptc-theater-video,ptc-square-card.sc-ptc-theater-video,.hyphenate-text.sc-ptc-theater-video,ptc-footer.sc-ptc-theater-video{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}}.sc-ptc-theater-video-h{display:block;max-width:205px;min-width:205px;color:var(--color-white)}.hide.sc-ptc-theater-video-h{display:none}.show.sc-ptc-theater-video-h{display:inline-block}@media only screen and (min-width: 768px){.sc-ptc-theater-video-h{min-width:auto;min-width:205px}}@media only screen and (min-width: 1200px){.sc-ptc-theater-video-h{max-width:260px;min-width:260px}}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video{position:relative;border-radius:12px;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.24);cursor:pointer}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video img.sc-ptc-theater-video{max-width:100%;border-radius:12px}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video svg.sc-ptc-theater-video{fill:#FFF;filter:drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.5));position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video .card-number.sc-ptc-theater-video{position:absolute;left:6px;top:6px;width:32px;height:32px;background-color:var(--color-gray-09);border-radius:50%;border:2px solid var(--color-green-05);text-align:center;color:#FFF;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding-bottom:3px}.sc-ptc-theater-video-h h3.sc-ptc-theater-video{margin:12px 0 0 0;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);color:var(--color-white)}.sc-ptc-theater-video-h .hidden.sc-ptc-theater-video{display:none}";const r=class{constructor(e){t(this,e),this.cards=[],this.currentCardIndex=0,this.filteredTagName=void 0,this.cardElements=void 0}componentWillLoad(){this.cardElements=this.host.querySelectorAll("ptc-theater-video")}componentDidLoad(){this.setupCards(),this.sortCards("")}handleFilterClick(t){this.filteredTagName=t.detail["selected-tag"],this.sortCards(this.filteredTagName)}handleVCardClickedEvent(t){console.log(t.detail)}sortCards(t){this.cardElements.forEach((e=>{let i;e.getAttribute("vtag-name")&&(i=e.getAttribute("vtag-name").split(",").map((t=>t.trim())));const a=t.trim();""!==a&&"reset"!==a?i.includes(a)?(e.classList.add("show"),e.classList.remove("hide")):(e.classList.add("hide"),e.classList.remove("show")):(e.classList.add("show"),e.classList.remove("hide"))}))}setupCards(){console.log("Setup called"),this.cardElements.forEach(((t,e)=>{this.cards.push(this.setCardData(t,e)),t.addEventListener("click",(()=>{this.showCardDetails(e)}))}))}updateCardData(t){console.log("updateCard called"),this.cards=[],this.cardElements.forEach(((e,i)=>{const a=e.getAttribute("vtag-name").split(",").map((t=>t.trim()));""!==this.filteredTagName&&"reset"!==this.filteredTagName&&void 0!==this.filteredTagName&&a.includes(this.filteredTagName)?(this.cards.push(this.setCardData(e,i)),e.addEventListener("click",(()=>{this.showCardDetails(t)}))):"reset"===this.filteredTagName&&this.cards.push(this.setCardData(e,i))}))}setCardData(t,e){return{title:t.querySelector(".vcard-title").textContent,cardDescription:t.cardDescription,descriptionModal:t.querySelector(".description").innerHTML,videoId:t.getAttribute("video-id"),vtagName:t.getAttribute("vtag-name"),cardNumber:t.getAttribute("card-number"),index:e,modalType:t.getAttribute("modal-type")}}showCardDetails(t){this.currentCardIndex=t;const e=document.querySelector("ptc-theater-video-modal");e&&e.updateData(this.cards,this.currentCardIndex)}render(){return i("div",{class:"card-list"},i("slot",null))}get host(){return o(this)}};r.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 .card-list{display:flex;overflow-x:auto}@media only screen and (min-width: 768px){:host .card-list{flex-wrap:wrap}}";export{h as ptc_filter_dropdown,s as ptc_theater_video,r as ptc_theater_video_playlist}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as s,a}from"./p-944c5be8.js";const r=class{constructor(i){t(this,i),this.selectedResult=e(this,"selectedResult",7),this.clearsearch=e(this,"clearsearch",7),this.inputChanged=e(this,"inputChanged",7),this.emptyResult=e(this,"emptyResult",7),this.searchTerm="",this.suggestions=[],this.filterResults="Filter Results",this.filterText="Filter",this.clearText="Clear",this.technologyText="Technology",this.jumpToProduct="Jump to Product",this.selectTechnology="Select a technology",this.suggestionList=[]}componentWillLoad(){this.getDomData()}componentDidLoad(){this.productListWrap=this.hostElement.shadowRoot.querySelector(".product-list-wrap"),this.clearBtn=this.hostElement.shadowRoot.querySelector(".clear-cta")}getDomData(){document.querySelectorAll("ptc-product-category").forEach((t=>{let e={categoryName:t.getAttribute("category-title"),products:[]};this.suggestionList.push(e),t.querySelectorAll("ptc-product-card").forEach((t=>{let i=t.getAttribute("card-title");e.products.push(i)}))}))}handleInputChange(t){this.searchTerm=t.target.value.toLocaleLowerCase(),this.clearBtn.classList.add("show"),this.getSuggestions(),this.inputChanged.emit({sender:this,event:t})}getSuggestions(){const t=this.searchTerm.toLowerCase(),e=this.suggestionList.reduce(((e,i)=>{i.categoryName.toLowerCase().includes(t)&&e.push(i.categoryName);const s=i.products.filter((e=>e.toLowerCase().includes(t)));return s.length>0&&e.push(...s),e}),[]);this.suggestions=e}handleSelectSuggestion(t,e){this.searchTerm=t,this.productListWrap.classList.add("hide"),this.selectedResult.emit({sender:this,event:e,searchTerm:this.searchTerm})}handleKeyUp(t){this.searchTerm=t.target.value.toLocaleLowerCase(),13===t.keyCode&&0==this.suggestions.length&&this.emptyResult.emit({sender:this,event:t})}clearSearch(t){let e=this.hostElement.shadowRoot.querySelector("input");this.productListWrap.classList.remove("hide"),this.clearBtn.classList.remove("show"),e&&(e.value=""),this.suggestions=[],this.clearsearch.emit({sender:this,event:t,searchTerm:e.value})}handleDropdownTouched(t){const{sender:e,isOpen:i}=t.detail;if(e&&i){let t=this.hostElement.shadowRoot.querySelector("input");t&&(t.value="")}}handleClick(){this.suggestions=[]}handleclearCtaClicked(t){const{sender:e,event:i}=t.detail;e&&this.clearSearch(i)}handleSelectedValues(t){const{sender:e,selectedOptions:i}=t.detail;e&&(i.length>0?(this.clearBtn.classList.add("show"),this.productListWrap.classList.add("hide")):(this.clearBtn.classList.remove("show"),this.productListWrap.classList.remove("hide")))}render(){return i(s,{class:"search-box"},i("div",{class:"filter-result-wrap white-box"},i("div",{class:"result-header"},i("ptc-title",{type:"h3","title-margin":"margin-flush",upperline:"no-upperline","title-size":"medium","title-height":"densest"},this.filterResults),i("span",{class:"clear-cta",onClick:t=>this.clearSearch(t)},this.clearText)),i("div",{class:"sort-wrap"},i("div",{class:"typeahead-input"},i("label",{htmlFor:"searchBox"},this.filterText),i("div",{class:"input-wrap"},i("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M0.208984 0V1.2375L6.95898 7.65V14.2875L11.5715 17.8875V7.65L18.209 1.35V0H0.208984Z",fill:"#323B42"})),i("input",{type:"text",value:this.searchTerm,onInput:t=>this.handleInputChange(t),onKeyUp:t=>this.handleKeyUp(t),id:"searchBox"})),this.suggestions.length>0&&i("div",{class:"suggestion-wrap"},i("ul",{class:"suggestions"},this.suggestions.map((t=>i("li",{onClick:e=>this.handleSelectSuggestion(t,e)},t)))))),i("div",{class:"dropdwon-filter"},i("label",{htmlFor:"tech-dropdown"},this.technologyText),i("ptc-product-dropdown",{placeholder:this.selectTechnology,id:"tech-dropdown"},this.suggestionList.map((t=>i("span",null,t.categoryName))))))),i("ptc-spacer",{size:"large"}),i("ptc-spacer",{size:"large"}),i("div",{class:"product-list-wrap white-box"},i("ptc-title",{type:"h3","title-margin":"margin-flush",upperline:"no-upperline","title-size":"medium","title-height":"densest"},this.jumpToProduct),this.suggestionList.map((t=>i("div",{class:"category-list"},i("ptc-para",{"font-size":"x-small","font-weight":"w-7","para-line-h":"line-height-densest","para-margin":"margin-flush"},i("list-item",{"list-type":"list-underline","link-href":"#"+t.categoryName},i("ptc-tooltip",{"text-display":"inline","text-lines":"4","z-index":"z-2",description:t.categoryName,position:"bottom"}))),i("div",{class:"product-list"},i("ul",null,t.products.map((t=>i("list-item",{"list-type":"list-underline","link-href":"#"+t},t))))))))))}get hostElement(){return a(this)}};r.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;position:relative}:host .hide{display:none !important}:host .white-box{padding:12px;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard)}:host .sort-wrap{display:block}@media only screen and (min-width: 768px){:host .sort-wrap{display:flex;justify-content:space-between}}@media only screen and (min-width: 992px){:host .sort-wrap{display:block}}:host .filter-result-wrap label{font-size:var(--ptc-font-size-xx-small);font-weight:600}@media only screen and (min-width: 992px){:host .filter-result-wrap label{font-size:var(--ptc-font-size-x-small)}}:host .filter-result-wrap .result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}@media only screen and (min-width: 992px){:host .filter-result-wrap .result-header{margin-bottom:26px}}:host .filter-result-wrap .result-header .clear-cta{cursor:pointer;display:none;color:var(--color-gray-07);font-size:var(--ptc-font-size-x-small);text-decoration:underline}:host .filter-result-wrap .result-header .clear-cta.show{display:block}:host .filter-result-wrap .typeahead-input{box-sizing:border-box;margin-bottom:14px;width:100%;margin-right:0}@media only screen and (min-width: 768px){:host .filter-result-wrap .typeahead-input{margin-right:40px}}@media only screen and (min-width: 992px){:host .filter-result-wrap .typeahead-input{margin-right:0}}:host .filter-result-wrap .typeahead-input .input-wrap{position:relative}:host .filter-result-wrap .typeahead-input .input-wrap svg{position:absolute;left:8px;top:8px}:host .filter-result-wrap .typeahead-input .input-wrap input{margin-top:4px;padding:8px 8px 8px 34px;display:block;width:100%;box-sizing:border-box;border:1px solid var(--color-gray-03);font-size:14px}:host .filter-result-wrap .typeahead-input .suggestion-wrap{position:relative;width:100%}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions{border:1px solid var(--color-gray-03);box-shadow:0px 2px 4px rgba(35, 43, 45, 0.3);background-color:var(--color-white);position:absolute;z-index:105;top:0;margin:0;width:100%;box-sizing:border-box;padding:0;max-height:400px;overflow-y:auto}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions::-webkit-scrollbar{width:5px}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li{list-style:none;padding:10px 16px;cursor:pointer;display:block;font-size:14px}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:first-child{padding-top:20px}:host .filter-result-wrap .typeahead-input .suggestion-wrap .suggestions li:last-child{padding-bottom:20px}:host .filter-result-wrap .dropdwon-filter{margin-bottom:10px;width:100%}:host .product-list-wrap{display:none}@media only screen and (min-width: 992px){:host .product-list-wrap{display:block}}:host .product-list-wrap .category-list{display:block;padding:12px 4px;font-size:var(--ptc-font-size-x-small)}:host .product-list-wrap .category-list ptc-para{padding-bottom:4px;display:block}:host .product-list-wrap .category-list ul{padding-left:20px;margin:0}";export{r as ptc_product_sidebar}
@@ -1 +1 @@
1
- import{r as i,h as t,H as h,g as e}from"./p-ac75c7ad.js";import{f as s,l as C,x as o}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}openModal(i){i.preventDefault(),this.hostElement.shadowRoot.querySelector("#QRModal").show=!0}render(){return t(h,null,t("slot",null),t("ul",null,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?s:"",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?C:"",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?o:"",target:this.target},""!=this.xImageUrl&&t("img",{src:this.xImageUrl,alt:this.xImageAlt}))," "),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 e(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}@media only screen and (min-width: 992px){:host ul li a{padding:4px;width:36px;height:36px}}";export{n as ptc_social_icons_footer}
1
+ import{r as i,h as t,H as h,a as e}from"./p-944c5be8.js";import{f as s,l as C,x as o}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}openModal(i){i.preventDefault(),this.hostElement.shadowRoot.querySelector("#QRModal").show=!0}render(){return t(h,null,t("slot",null),t("ul",null,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?s:"",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?C:"",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?o:"",target:this.target},""!=this.xImageUrl&&t("img",{src:this.xImageUrl,alt:this.xImageAlt}))," "),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 e(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}@media only screen and (min-width: 992px){:host ul li a{padding:4px;width:36px;height:36px}}";export{n as ptc_social_icons_footer}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,H as i,g as h}from"./p-ac75c7ad.js";const s=class{constructor(o){t(this,o),this.selectedValues=e(this,"selectedValues",7),this.dropdownTouched=e(this,"dropdownTouched",7),this.internalOptions=void 0,this.newOptions=void 0,this.selectedOptions=[],this.placeholder=void 0,this.isOpen=!1}parseOptions(){let t=Array.from(this.hostElement.querySelectorAll("span"));t&&(this.internalOptions=t.map((t=>t.textContent)))}toggleDropdown(){this.isOpen=!this.isOpen,this.dropdownTouched.emit({sender:this,isOpen:this.isOpen})}handleSearchResult(t){const{sender:e,searchTerm:o}=t.detail;e&&""===o&&(this.selectedOptions=[],this.isOpen=!1)}handleinputChanged(t){const{sender:e}=t.detail;e&&(this.selectedOptions=[],this.isOpen=!1)}handleCheckboxChange(t){const e=this.selectedOptions.indexOf(t);e>-1?(this.selectedOptions.splice(e,1),this.selectedValues.emit({sender:this,selectedOptions:this.selectedOptions})):(this.selectedOptions.push(t),this.selectedValues.emit({sender:this,selectedOptions:this.selectedOptions}))}componentWillLoad(){this.parseOptions()}render(){return o(i,null,o("div",{class:"dropdown"},o("div",{class:"dropdown-toggle",onClick:()=>this.toggleDropdown()},o("span",{class:"dropdown-placeholder"},this.placeholder),o("span",{class:"caret"},o("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z",fill:"#323B42"})))),this.isOpen&&o("div",{class:"dropdown-menu"},this.internalOptions.map((t=>o("label",{class:"checkbox-label"},o("input",{type:"checkbox",checked:this.selectedOptions.includes(t),onChange:()=>this.handleCheckboxChange(t)}),t))))),o("div",{class:"hidden"},o("slot",null)))}get hostElement(){return h(this)}};s.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;margin-top:4px;background-color:var(--color-white)}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;width:100%;font-size:16px}:host .dropdown .dropdown-toggle{padding:0.5rem;border:1px solid var(--color-gray-03);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:34px;box-sizing:border-box}:host .dropdown .dropdown-toggle .dropdown-placeholder{font-size:14px;color:var(--color-gray-07)}:host .caret{display:inline-block;vertical-align:middle}:host .dropdown-menu{position:absolute;top:100%;left:0;min-width:10rem;border:1px solid var(--color-gray-03);background-color:var(--color-white);box-shadow:0px 2px 4px rgba(35, 43, 45, 0.3);z-index:105;max-height:400px;overflow-y:auto;width:100%;box-sizing:border-box}:host .dropdown-menu::-webkit-scrollbar{width:5px}:host .dropdown-menu::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown-menu::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .checkbox-label{display:flex;align-items:flex-start;padding:6px 16px;cursor:pointer;font-size:14px}:host .checkbox-label:first-child{padding-top:20px}:host .checkbox-label:last-child{padding-bottom:20px}:host .checkbox-label input[type=checkbox]{min-width:20px;margin-right:8px;width:20px;height:20px;margin-top:0}";export{s as ptc_product_dropdown}
1
+ import{r as t,c as e,h as o,H as i,a as h}from"./p-944c5be8.js";const s=class{constructor(o){t(this,o),this.selectedValues=e(this,"selectedValues",7),this.dropdownTouched=e(this,"dropdownTouched",7),this.internalOptions=void 0,this.newOptions=void 0,this.selectedOptions=[],this.placeholder=void 0,this.isOpen=!1}parseOptions(){let t=Array.from(this.hostElement.querySelectorAll("span"));t&&(this.internalOptions=t.map((t=>t.textContent)))}toggleDropdown(){this.isOpen=!this.isOpen,this.dropdownTouched.emit({sender:this,isOpen:this.isOpen})}handleSearchResult(t){const{sender:e,searchTerm:o}=t.detail;e&&""===o&&(this.selectedOptions=[],this.isOpen=!1)}handleinputChanged(t){const{sender:e}=t.detail;e&&(this.selectedOptions=[],this.isOpen=!1)}handleCheckboxChange(t){const e=this.selectedOptions.indexOf(t);e>-1?(this.selectedOptions.splice(e,1),this.selectedValues.emit({sender:this,selectedOptions:this.selectedOptions})):(this.selectedOptions.push(t),this.selectedValues.emit({sender:this,selectedOptions:this.selectedOptions}))}componentWillLoad(){this.parseOptions()}render(){return o(i,null,o("div",{class:"dropdown"},o("div",{class:"dropdown-toggle",onClick:()=>this.toggleDropdown()},o("span",{class:"dropdown-placeholder"},this.placeholder),o("span",{class:"caret"},o("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{d:"M1.86537 0.917969L6.14614 4.56922L10.4269 0.917969L11.9769 2.23997L6.14614 7.21323L0.31543 2.23997L1.86537 0.917969Z",fill:"#323B42"})))),this.isOpen&&o("div",{class:"dropdown-menu"},this.internalOptions.map((t=>o("label",{class:"checkbox-label"},o("input",{type:"checkbox",checked:this.selectedOptions.includes(t),onChange:()=>this.handleCheckboxChange(t)}),t))))),o("div",{class:"hidden"},o("slot",null)))}get hostElement(){return h(this)}};s.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;margin-top:4px;background-color:var(--color-white)}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;width:100%;font-size:16px}:host .dropdown .dropdown-toggle{padding:0.5rem;border:1px solid var(--color-gray-03);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:34px;box-sizing:border-box}:host .dropdown .dropdown-toggle .dropdown-placeholder{font-size:14px;color:var(--color-gray-07)}:host .caret{display:inline-block;vertical-align:middle}:host .dropdown-menu{position:absolute;top:100%;left:0;min-width:10rem;border:1px solid var(--color-gray-03);background-color:var(--color-white);box-shadow:0px 2px 4px rgba(35, 43, 45, 0.3);z-index:105;max-height:400px;overflow-y:auto;width:100%;box-sizing:border-box}:host .dropdown-menu::-webkit-scrollbar{width:5px}:host .dropdown-menu::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown-menu::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .checkbox-label{display:flex;align-items:flex-start;padding:6px 16px;cursor:pointer;font-size:14px}:host .checkbox-label:first-child{padding-top:20px}:host .checkbox-label:last-child{padding-bottom:20px}:host .checkbox-label input[type=checkbox]{min-width:20px;margin-right:8px;width:20px;height:20px;margin-top:0}";export{s as ptc_product_dropdown}