@kanorio/elements 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +57 -2
  3. package/dist/MediaPlayer-MWIDJORE.js +2 -0
  4. package/dist/MediaPlayer-STITRANS.js +13 -0
  5. package/dist/PDFViewerFull-HIUSAO57.js +13 -0
  6. package/dist/PDFViewerFull-L7VMOAMU.js +28062 -0
  7. package/dist/altcha-DSOKKAAV.js +3153 -0
  8. package/dist/altcha-FLBUR2LJ.js +4 -0
  9. package/dist/ar-4CBE4BWH.js +1233 -0
  10. package/dist/ar-6G7ZVSQ3.js +2 -0
  11. package/dist/ar-XCPH4WO5.js +98 -0
  12. package/dist/ar-ZVJL6XGE.js +2 -0
  13. package/dist/bg-4WPFSAMC.js +2 -0
  14. package/dist/bg-BKFL64I6.js +98 -0
  15. package/dist/bg-CB273F4D.js +1233 -0
  16. package/dist/bg-HCH4LMEX.js +2 -0
  17. package/dist/bn-HLYDEXHQ.js +1233 -0
  18. package/dist/bn-HVEVBAGM.js +98 -0
  19. package/dist/bn-OY7YGJIT.js +2 -0
  20. package/dist/bn-XX3O4VQB.js +2 -0
  21. package/dist/chunk-2UBPQBQI.js +1848 -0
  22. package/dist/chunk-5OB57Z46.js +23620 -0
  23. package/dist/chunk-6LJZ4HRF.js +1350 -0
  24. package/dist/chunk-6TUB24LJ.js +415 -0
  25. package/dist/chunk-74RRJOB4.js +15 -0
  26. package/dist/chunk-7TNRMVML.js +2 -0
  27. package/dist/chunk-BH27SBYG.js +2 -0
  28. package/dist/chunk-BQU7QZGC.js +4 -0
  29. package/dist/chunk-CHSZMJ5D.js +15103 -0
  30. package/dist/chunk-DDKQOHPW.js +930 -0
  31. package/dist/chunk-E5ZVE4VL.js +5 -0
  32. package/dist/chunk-FGBB7FT5.js +4 -0
  33. package/dist/chunk-FSH5K5FU.js +57 -0
  34. package/dist/chunk-G3PMV62Z.js +36 -0
  35. package/dist/chunk-IUB5YLUU.js +1538 -0
  36. package/dist/chunk-J7AP6FJF.js +8616 -0
  37. package/dist/chunk-LKOMEUNH.js +72 -0
  38. package/dist/chunk-NB57OIQA.js +2 -0
  39. package/dist/chunk-NLJE74VA.js +2 -0
  40. package/dist/chunk-NQBPWU5Z.js +15 -0
  41. package/dist/chunk-OJQYDPRD.js +39 -0
  42. package/dist/chunk-PDKFEXLU.js +59 -0
  43. package/dist/chunk-POG53MIA.js +2 -0
  44. package/dist/chunk-PXABHOW4.js +10871 -0
  45. package/dist/chunk-QDUG7UMV.js +363 -0
  46. package/dist/chunk-RFBBAUMM.js +2 -0
  47. package/dist/chunk-RJTKNOYT.js +67 -0
  48. package/dist/chunk-VH4656UY.js +2 -0
  49. package/dist/chunk-XAORGJWX.js +2 -0
  50. package/dist/chunk-Y77XXKLY.js +1858 -0
  51. package/dist/cs-EDLILQAV.js +1233 -0
  52. package/dist/cs-EOBDWVFI.js +2 -0
  53. package/dist/cs-Q732FDDB.js +98 -0
  54. package/dist/cs-UO3FC3H4.js +2 -0
  55. package/dist/da-43RMOYSN.js +98 -0
  56. package/dist/da-ANHSL3GD.js +2 -0
  57. package/dist/da-RBW34GCF.js +2 -0
  58. package/dist/da-SJ7YQT4L.js +1233 -0
  59. package/dist/de-2D2GW24Z.js +2 -0
  60. package/dist/de-5WGC4CMF.js +1233 -0
  61. package/dist/de-CPU2ARG7.js +98 -0
  62. package/dist/de-GVWNGUWZ.js +2 -0
  63. package/dist/deliverables-QUJISOBO.js +98 -0
  64. package/dist/deliverables-Z6ZBT6D3.js +2046 -0
  65. package/dist/el-FRNBHLQF.js +98 -0
  66. package/dist/el-HCBWOOCJ.js +1233 -0
  67. package/dist/el-KK7DBDUW.js +2 -0
  68. package/dist/el-SK362ZEN.js +2 -0
  69. package/dist/elements.css +2 -0
  70. package/dist/en-AU-BQA3DX35.js +1233 -0
  71. package/dist/en-AU-VZAXNXRA.js +2 -0
  72. package/dist/en-CA-T2VRZJVQ.js +2 -0
  73. package/dist/en-CA-ZWY5HD2Z.js +1233 -0
  74. package/dist/en-GB-CH3IGZSE.js +1233 -0
  75. package/dist/en-GB-MZQ2MGOR.js +2 -0
  76. package/dist/en-M24TV37U.js +2 -0
  77. package/dist/en-OURP64TI.js +2 -0
  78. package/dist/en-US-VWMNQOMN.js +2 -0
  79. package/dist/en-US-WJZ2OBFI.js +1233 -0
  80. package/dist/en-USCPKTM6.js +1233 -0
  81. package/dist/en-YND44PUO.js +98 -0
  82. package/dist/errors-7SQHRWKX.js +77 -0
  83. package/dist/errors-S6NFCUG2.js +2 -0
  84. package/dist/es-419-EMD4NA5M.js +2 -0
  85. package/dist/es-419-GPBJSXLV.js +2 -0
  86. package/dist/es-419-S6IHEZ4E.js +1233 -0
  87. package/dist/es-419-XPZOWYCA.js +98 -0
  88. package/dist/es-ES-EGMSPSY2.js +1233 -0
  89. package/dist/es-ES-U6NF6JHU.js +2 -0
  90. package/dist/es-es-ILD7QLKC.js +98 -0
  91. package/dist/es-es-MPX25JA6.js +2 -0
  92. package/dist/fa-5J3M6LW4.js +2 -0
  93. package/dist/fa-OC7ZPRF2.js +98 -0
  94. package/dist/fa-OFIO7IXD.js +1233 -0
  95. package/dist/fa-ZTPM4LEB.js +2 -0
  96. package/dist/fi-2V2STXSQ.js +2 -0
  97. package/dist/fi-7J4LPMG2.js +98 -0
  98. package/dist/fi-FMEAITYP.js +1233 -0
  99. package/dist/fi-N3BC4FYB.js +2 -0
  100. package/dist/fr-CA-IKSBTBHG.js +2 -0
  101. package/dist/fr-CA-S23ERMPM.js +1233 -0
  102. package/dist/fr-FR-RRTMSQWD.js +2 -0
  103. package/dist/fr-FR-SOIXFVK2.js +1233 -0
  104. package/dist/fr-ca-SUWTTOEW.js +2 -0
  105. package/dist/fr-ca-UUHAWMHI.js +98 -0
  106. package/dist/fr-fr-SGQ77PBC.js +98 -0
  107. package/dist/fr-fr-XE2V7MKM.js +2 -0
  108. package/dist/gu-RT7GQT5B.js +2 -0
  109. package/dist/gu-Z2QX2VCX.js +1233 -0
  110. package/dist/he-27MBDHSP.js +2 -0
  111. package/dist/he-E7RIZOIT.js +1233 -0
  112. package/dist/he-QGD477CH.js +98 -0
  113. package/dist/he-R3UJFF46.js +2 -0
  114. package/dist/hi-2AVAXR7K.js +1233 -0
  115. package/dist/hi-6ZBMVMGH.js +2 -0
  116. package/dist/hi-SGQH4OWG.js +98 -0
  117. package/dist/hi-XJHFN25N.js +2 -0
  118. package/dist/hls-C5FWCMHH.js +37426 -0
  119. package/dist/hls-ZQNRY2TQ.js +45 -0
  120. package/dist/hu-IOGZTF7L.js +2 -0
  121. package/dist/hu-KNZXJ7ZI.js +98 -0
  122. package/dist/hu-ORVGO3ZY.js +1233 -0
  123. package/dist/hu-PKL3T3JT.js +2 -0
  124. package/dist/id-FKFVQIN6.js +2 -0
  125. package/dist/id-JH2DLDBA.js +98 -0
  126. package/dist/id-TMOJUCBD.js +1233 -0
  127. package/dist/id-WLBO2VOW.js +2 -0
  128. package/dist/index.d.ts +2955 -0
  129. package/dist/index.js +67 -0
  130. package/dist/it-AGUEDSVA.js +2 -0
  131. package/dist/it-PJAB5BQB.js +98 -0
  132. package/dist/it-WF5BTFFJ.js +2 -0
  133. package/dist/it-YMZRYSIJ.js +1233 -0
  134. package/dist/ja-2ZVND7MB.js +2 -0
  135. package/dist/ja-555SY4AF.js +1233 -0
  136. package/dist/ja-RMBJ7E5Z.js +2 -0
  137. package/dist/ja-ZKBUQDUT.js +98 -0
  138. package/dist/kanorio-elements.js +97 -0
  139. package/dist/km-DF366BBP.js +1233 -0
  140. package/dist/km-JIUQ7MSM.js +2 -0
  141. package/dist/kn-KTJPREMQ.js +2 -0
  142. package/dist/kn-MJKASLJD.js +1233 -0
  143. package/dist/ko-CGY75OW4.js +2 -0
  144. package/dist/ko-KECCYX66.js +2 -0
  145. package/dist/ko-L5735TRU.js +98 -0
  146. package/dist/ko-S3OTZKIG.js +1233 -0
  147. package/dist/lo-7R55FKUB.js +1233 -0
  148. package/dist/lo-DNWTAFYF.js +2 -0
  149. package/dist/ml-B4BJPFVQ.js +2 -0
  150. package/dist/ml-FCTNQ4SP.js +1233 -0
  151. package/dist/mr-FJ4EDO7F.js +2 -0
  152. package/dist/mr-TZTFABWX.js +2 -0
  153. package/dist/mr-VZ5Y74YA.js +1233 -0
  154. package/dist/mr-Y464JCKX.js +98 -0
  155. package/dist/ms-VCX47GHB.js +2 -0
  156. package/dist/ms-WAJKD7ZV.js +1233 -0
  157. package/dist/my-S5L32WDK.js +2 -0
  158. package/dist/my-T7Y3Y64H.js +1233 -0
  159. package/dist/nb-53GCFBHF.js +2 -0
  160. package/dist/nb-IJDALVGX.js +99 -0
  161. package/dist/nb-LXBBUZUD.js +1233 -0
  162. package/dist/nb-PWWLEFUC.js +2 -0
  163. package/dist/ne-F7EEIDMA.js +2 -0
  164. package/dist/ne-NDLRKG6T.js +1233 -0
  165. package/dist/nl-262SKC6R.js +98 -0
  166. package/dist/nl-BE-3KOYUD6Y.js +1233 -0
  167. package/dist/nl-BE-VZJDK6CH.js +2 -0
  168. package/dist/nl-NL-3OIKN2DQ.js +2 -0
  169. package/dist/nl-NL-T7SQOLLA.js +1233 -0
  170. package/dist/nl-XKCUNU3P.js +2 -0
  171. package/dist/nn-AHWRAFXZ.js +1233 -0
  172. package/dist/nn-YH7F7UK3.js +2 -0
  173. package/dist/pa-HC24FOUI.js +2 -0
  174. package/dist/pa-J26C5J7M.js +1233 -0
  175. package/dist/pl-QSTOYTPG.js +1233 -0
  176. package/dist/pl-T7J6A26Y.js +2 -0
  177. package/dist/pl-TYHET6JJ.js +2 -0
  178. package/dist/pl-XDJJ6AUG.js +98 -0
  179. package/dist/prod-MRWX5W24.js +38 -0
  180. package/dist/prod-YHXWTKNF.js +2 -0
  181. package/dist/pt-BR-4QRR4PXU.js +2 -0
  182. package/dist/pt-BR-7JM75AGX.js +1233 -0
  183. package/dist/pt-PT-W3WZEROD.js +1233 -0
  184. package/dist/pt-PT-Z5FI4CLF.js +2 -0
  185. package/dist/pt-br-2W4P4ZAJ.js +2 -0
  186. package/dist/pt-br-JP6VI5C5.js +98 -0
  187. package/dist/pt-pt-22LJFZT5.js +98 -0
  188. package/dist/pt-pt-HOBFIPWZ.js +2 -0
  189. package/dist/ro-3KXIEYVK.js +98 -0
  190. package/dist/ro-3YUPB2TJ.js +1233 -0
  191. package/dist/ro-JXHNIBOA.js +2 -0
  192. package/dist/ro-KHPOLQC6.js +2 -0
  193. package/dist/ru-5ZVLKPFN.js +2 -0
  194. package/dist/ru-ASND25AB.js +2 -0
  195. package/dist/ru-ATGZC5LB.js +1233 -0
  196. package/dist/ru-W44AHOIC.js +98 -0
  197. package/dist/si-RHXLIDQI.js +1233 -0
  198. package/dist/si-U3O6NRHE.js +2 -0
  199. package/dist/srt-parser-6DEDUV5P.js +43 -0
  200. package/dist/srt-parser-E666S3YO.js +3 -0
  201. package/dist/ssa-parser-5GJ737XF.js +309 -0
  202. package/dist/ssa-parser-BR3CTDHR.js +5 -0
  203. package/dist/sv-5LOOKXJA.js +98 -0
  204. package/dist/sv-6GKNCPMS.js +2 -0
  205. package/dist/sv-LL3HMUIA.js +1233 -0
  206. package/dist/sv-RRJ6LYFT.js +2 -0
  207. package/dist/sw-HBNHIHPG.js +2 -0
  208. package/dist/sw-HP7MYGQ5.js +1233 -0
  209. package/dist/sw-NTSCFQXY.js +2 -0
  210. package/dist/sw-YIUB7QN3.js +98 -0
  211. package/dist/ta-4RG3PWN5.js +98 -0
  212. package/dist/ta-ARSNSDK5.js +2 -0
  213. package/dist/ta-Q2LBTDH6.js +2 -0
  214. package/dist/ta-Z5EVUBYF.js +1233 -0
  215. package/dist/te-FAWIFHVW.js +2 -0
  216. package/dist/te-FXJYUGGL.js +98 -0
  217. package/dist/te-GDV3DJFJ.js +1233 -0
  218. package/dist/te-TIMB7HBY.js +2 -0
  219. package/dist/th-7CEFYE5H.js +2 -0
  220. package/dist/th-CFAEFK3E.js +1233 -0
  221. package/dist/th-KGPTXFIF.js +2 -0
  222. package/dist/th-TC6J25FB.js +98 -0
  223. package/dist/tl-2JDK2CBL.js +2 -0
  224. package/dist/tl-SGZM4XSX.js +1233 -0
  225. package/dist/tr-27OEWIPE.js +1233 -0
  226. package/dist/tr-2MEHQO75.js +98 -0
  227. package/dist/tr-7P2UAX7U.js +2 -0
  228. package/dist/tr-NKD6C4RY.js +2 -0
  229. package/dist/uk-CXQISVJP.js +2 -0
  230. package/dist/uk-EJIGGLKY.js +1233 -0
  231. package/dist/uk-JCI3UE6Q.js +98 -0
  232. package/dist/uk-QM5BBWP7.js +2 -0
  233. package/dist/ur-5EWYHPME.js +1233 -0
  234. package/dist/ur-IIOUQYSA.js +98 -0
  235. package/dist/ur-M3QWGAPF.js +2 -0
  236. package/dist/ur-TLLPXSTM.js +2 -0
  237. package/dist/vi-AXQYYRD3.js +2 -0
  238. package/dist/vi-JALLXYS7.js +1233 -0
  239. package/dist/vi-SS65KZTI.js +2 -0
  240. package/dist/vi-YQVNQEVG.js +98 -0
  241. package/dist/vidstack-B9fTkxQO-LJP5ADOO.js +215 -0
  242. package/dist/vidstack-B9fTkxQO-OCT23G55.js +2 -0
  243. package/dist/vidstack-BmcqUMKx-A2W3TQB6.js +2 -0
  244. package/dist/vidstack-BmcqUMKx-G6TB22IC.js +286 -0
  245. package/dist/vidstack-C0fPJIzs-7AH6MOHO.js +2 -0
  246. package/dist/vidstack-C0fPJIzs-PNQOR4TK.js +11 -0
  247. package/dist/vidstack-CHcsWfRV-UAVLHO6N.js +40 -0
  248. package/dist/vidstack-CHcsWfRV-V52LFHYG.js +2 -0
  249. package/dist/vidstack-CvezEmSQ-JXKCQ4VQ.js +2 -0
  250. package/dist/vidstack-CvezEmSQ-R32NZKJ2.js +130 -0
  251. package/dist/vidstack-D2vrrUMs-7XAY5IBS.js +2 -0
  252. package/dist/vidstack-D2vrrUMs-FNQR2A5M.js +467 -0
  253. package/dist/vidstack-Di0HObvT-6ND3AXWZ.js +112 -0
  254. package/dist/vidstack-Di0HObvT-ZV7XK2OT.js +2 -0
  255. package/dist/vidstack-DiaLSJYx-H762DXYG.js +2 -0
  256. package/dist/vidstack-DiaLSJYx-S7DDW2H3.js +380 -0
  257. package/dist/vidstack-Dy74GavT-EYLL6MEF.js +2 -0
  258. package/dist/vidstack-Dy74GavT-XNIJ7PF4.js +11 -0
  259. package/dist/vidstack-GkTzay8D-C7EJKMV4.js +2 -0
  260. package/dist/vidstack-GkTzay8D-SQU5IF3P.js +482 -0
  261. package/dist/web-components.d.ts +12 -0
  262. package/dist/web-components.js +123 -0
  263. package/dist/worker.js +1 -0
  264. package/dist/zh-CN-PVVDP25S.js +2 -0
  265. package/dist/zh-CN-TLPNCXUN.js +1233 -0
  266. package/dist/zh-HK-GOKVZUJZ.js +1233 -0
  267. package/dist/zh-HK-Z5B2ANLW.js +2 -0
  268. package/dist/zh-Hant-2R7T4HJT.js +1233 -0
  269. package/dist/zh-Hant-MWAFLLDD.js +2 -0
  270. package/dist/zh-cn-D36OS2SI.js +2 -0
  271. package/dist/zh-cn-Z5YVUN62.js +98 -0
  272. package/dist/zh-tw-JWILJCBD.js +2 -0
  273. package/dist/zh-tw-X7JGMR4G.js +98 -0
  274. package/package.json +84 -3
@@ -0,0 +1,2 @@
1
+ import{C as n}from"./chunk-BH27SBYG.js";function i(){return"https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"}function c(){return!!window.cast?.framework}function u(){return!!window.chrome?.cast?.isAvailable}function C(){return e().getCastState()===cast.framework.CastState.CONNECTED}function e(){return window.cast.framework.CastContext.getInstance()}function o(){return e().getCurrentSession()}function s(){return o()?.getSessionObj().media[0]}function d(t){return s()?.media.contentId===t?.src}function m(){return{language:"en-US",autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,resumeSavedSession:!0,androidReceiverCompatible:!0}}function f(t){return`Google Cast Error Code: ${t}`}function g(t,r){return n(e(),t,r)}export{i as a,c as b,u as c,C as d,e,o as f,s as g,d as h,m as i,f as j,g as k};
2
+ //# sourceMappingURL=chunk-NB57OIQA.js.map
@@ -0,0 +1,2 @@
1
+ var f=/(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)(?:\/shorts)?\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/,u=new Map,n=new Map;function l(e){return e.match(f)?.[1]}async function h(e,o){if(u.has(e))return u.get(e);if(n.has(e))return n.get(e);let t=new Promise(async c=>{for(let r of["maxresdefault","sddefault","hqdefault"])for(let a of[!0,!1]){let s=i(e,r,a);if((await fetch(s,{mode:"no-cors",signal:o.signal})).status<400){u.set(e,s),c(s);return}}}).catch(()=>"").finally(()=>n.delete(e));return n.set(e,t),t}function i(e,o,t){return`https://i.ytimg.com/${t?"vi_webp":"vi"}/${e}/${o}.${t?"webp":"jpg"}`}export{l as a,h as b};
2
+ //# sourceMappingURL=chunk-NLJE74VA.js.map
@@ -0,0 +1,15 @@
1
+ import{a as _t}from"./chunk-74RRJOB4.js";import{a as Pt,c as Se}from"./chunk-RFBBAUMM.js";var Nt=Pt(E=>{"use strict";var Re=_t();function kt(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function X(){}var A={d:{f:X,r:function(){throw Error(kt(522))},D:X,C:X,L:X,m:X,X,S:X,M:X},p:0,findDOMNode:null},Ae=Symbol.for("react.portal");function Ee(t,e,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ae,key:i==null?null:""+i,children:t,containerInfo:e,implementation:n}}var ct=Re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function dt(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}E.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A;E.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(kt(299));return Ee(t,e,null,n)};E.flushSync=function(t){var e=ct.T,n=A.p;try{if(ct.T=null,A.p=2,t)return t()}finally{ct.T=e,A.p=n,A.d.f()}};E.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,A.d.C(t,e))};E.prefetchDNS=function(t){typeof t=="string"&&A.d.D(t)};E.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var n=e.as,i=dt(n,e.crossOrigin),o=typeof e.integrity=="string"?e.integrity:void 0,r=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;n==="style"?A.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:i,integrity:o,fetchPriority:r}):n==="script"&&A.d.X(t,{crossOrigin:i,integrity:o,fetchPriority:r,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};E.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var n=dt(e.as,e.crossOrigin);A.d.M(t,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&A.d.M(t)};E.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var n=e.as,i=dt(n,e.crossOrigin);A.d.L(t,n,{crossOrigin:i,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};E.preloadModule=function(t,e){if(typeof t=="string")if(e){var n=dt(e.as,e.crossOrigin);A.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else A.d.m(t)};E.requestFormReset=function(t){A.d.r(t)};E.unstable_batchedUpdates=function(t,e){return t(e)};E.useFormState=function(t,e,n){return ct.H.useFormState(t,e,n)};E.useFormStatus=function(){return ct.H.useHostTransitionStatus()};E.version="19.2.1"});var Te=Pt((an,$t)=>{"use strict";function Bt(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bt)}catch(t){console.error(t)}}Bt(),$t.exports=Nt()});var J=["section","product","form","attachment"],Dt=[{mime:"image/jpeg",extensions:[".jpg",".jpeg"],kind:"image",purposes:["product","form"]},{mime:"image/png",extensions:[".png"],kind:"image",purposes:["product","form"]},{mime:"image/webp",extensions:[".webp"],kind:"image",purposes:["product","form"]},{mime:"application/pdf",extensions:[".pdf"],kind:"pdf",purposes:["section","blog","product","form","attachment"]},{mime:"application/msword",extensions:[".doc"],kind:"document",purposes:J},{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extensions:[".docx"],kind:"document",purposes:J,zipMarkers:["[Content_Types].xml","word/"]},{mime:"application/vnd.ms-excel",extensions:[".xls"],kind:"document",purposes:J},{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extensions:[".xlsx"],kind:"document",purposes:J,zipMarkers:["[Content_Types].xml","xl/"]},{mime:"application/vnd.ms-powerpoint",extensions:[".ppt"],kind:"document",purposes:J},{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extensions:[".pptx"],kind:"document",purposes:J,zipMarkers:["[Content_Types].xml","ppt/"]},{mime:"application/epub+zip",extensions:[".epub"],kind:"ebook",purposes:J,zipMarkers:["mimetype","META-INF/container.xml"]},{mime:"application/zip",extensions:[".zip"],kind:"archive",purposes:["section","product","attachment"]},{mime:"audio/mpeg",extensions:[".mp3"],kind:"audio",purposes:["section","blog","product"]},{mime:"audio/mp4",extensions:[".m4a"],kind:"audio",purposes:["section","blog","product"]},{mime:"audio/wav",extensions:[".wav"],kind:"audio",purposes:["section","blog","product"]},{mime:"audio/ogg",extensions:[".ogg"],kind:"audio",purposes:["section","blog"]},{mime:"audio/aac",extensions:[".aac"],kind:"audio",purposes:["section","blog","product"]},{mime:"audio/flac",extensions:[".flac"],kind:"audio",purposes:["section","blog","product"]},{mime:"video/mp4",extensions:[".mp4"],kind:"video",purposes:["section","blog","product"]},{mime:"video/webm",extensions:[".webm"],kind:"video",purposes:["section","blog","product"]},{mime:"video/quicktime",extensions:[".mov"],kind:"video",purposes:["section","blog","product"]}];function on(t){return Dt.filter(e=>e.purposes.includes(t))}function Mt(t){return Dt.find(e=>e.mime===t)??null}function rn(t){return Mt(t)?.kind??null}function sn(t){return Mt(t)?.extensions[0]??""}var Ce=new Map,Le=new Map;function It(t,e,n){let i=t.get(e);return i||(i=n(),t.set(e,i)),i}function Wt(t,e={}){return It(Ce,`${t}|${JSON.stringify(e)}`,()=>{try{return new Intl.NumberFormat(t,e)}catch{return new Intl.NumberFormat("en",e)}})}function fn(t,e){return It(Le,`${t}|${JSON.stringify(e)}`,()=>{try{return new Intl.DateTimeFormat(t,e)}catch{return new Intl.DateTimeFormat("en",{...e,timeZone:"UTC"})}})}var Fe="\u2014";var zt=["B","KB","MB","GB","TB"];function gn(t,e){if(t==null||!Number.isFinite(t)||t<0)return Fe;let n=t,i=0;for(;n>=1024&&i<zt.length-1;)n/=1024,i+=1;return`${Wt(e.locale,{maximumFractionDigits:i===0?0:1}).format(n)} ${zt[i]}`}function pn(t){let e=Math.max(0,Math.floor(t)),n=Math.floor(e/3600),i=Math.floor(e%3600/60),o=e%60,r=s=>String(s).padStart(2,"0");return n>0?`${n}:${r(i)}:${r(o)}`:`${i}:${r(o)}`}var Ut=["top","right","bottom","left"];var I=Math.min,T=Math.max,at=Math.round,ft=Math.floor,M=t=>({x:t,y:t}),Pe={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(t,e,n){return T(t,I(e,n))}function W(t,e){return typeof t=="function"?t(e):t}function z(t){return t.split("-")[0]}function Z(t){return t.split("-")[1]}function ht(t){return t==="x"?"y":"x"}function xt(t){return t==="y"?"height":"width"}function k(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function yt(t){return ht(k(t))}function jt(t,e,n){n===void 0&&(n=!1);let i=Z(t),o=yt(t),r=xt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=lt(s)),[s,lt(s)]}function Kt(t){let e=lt(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ht=["left","right"],Vt=["right","left"],_e=["top","bottom"],De=["bottom","top"];function Me(t,e,n){switch(t){case"top":case"bottom":return n?e?Vt:Ht:e?Ht:Vt;case"left":case"right":return e?_e:De;default:return[]}}function Gt(t,e,n,i){let o=Z(t),r=Me(z(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function lt(t){let e=z(t);return Pe[e]+t.slice(e.length)}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function At(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function Q(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function Yt(t,e,n){let{reference:i,floating:o}=t,r=k(e),s=yt(e),c=xt(s),f=z(e),m=r==="y",a=i.x+i.width/2-o.width/2,u=i.y+i.height/2-o.height/2,d=i[c]/2-o[c]/2,l;switch(f){case"top":l={x:a,y:i.y-o.height};break;case"bottom":l={x:a,y:i.y+i.height};break;case"right":l={x:i.x+i.width,y:u};break;case"left":l={x:i.x-o.width,y:u};break;default:l={x:i.x,y:i.y}}switch(Z(e)){case"start":l[s]-=d*(n&&m?-1:1);break;case"end":l[s]+=d*(n&&m?-1:1);break}return l}async function Jt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:c,strategy:f}=t,{boundary:m="clippingAncestors",rootBoundary:a="viewport",elementContext:u="floating",altBoundary:d=!1,padding:l=0}=W(e,t),g=At(l),x=c[d?u==="floating"?"reference":"floating":u],h=Q(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(x)))==null||n?x:x.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:m,rootBoundary:a,strategy:f})),w=u==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),v=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},b=Q(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:y,strategy:f}):w);return{top:(h.top-b.top+g.top)/v.y,bottom:(b.bottom-h.bottom+g.bottom)/v.y,left:(h.left-b.left+g.left)/v.x,right:(b.right-h.right+g.right)/v.x}}var Ne=50,Zt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,c=s.detectOverflow?s:{...s,detectOverflow:Jt},f=await(s.isRTL==null?void 0:s.isRTL(e)),m=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:a,y:u}=Yt(m,i,f),d=i,l=0,g={};for(let p=0;p<r.length;p++){let x=r[p];if(!x)continue;let{name:h,fn:w}=x,{x:y,y:v,data:b,reset:O}=await w({x:a,y:u,initialPlacement:i,placement:d,strategy:o,middlewareData:g,rects:m,platform:c,elements:{reference:t,floating:e}});a=y??a,u=v??u,g[h]={...g[h],...b},O&&l<Ne&&(l++,typeof O=="object"&&(O.placement&&(d=O.placement),O.rects&&(m=O.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):O.rects),{x:a,y:u}=Yt(m,d,f)),p=-1)}return{x:a,y:u,placement:d,strategy:o,middlewareData:g}},Qt=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:c,middlewareData:f}=e,{element:m,padding:a=0}=W(t,e)||{};if(m==null)return{};let u=At(a),d={x:n,y:i},l=yt(o),g=xt(l),p=await s.getDimensions(m),x=l==="y",h=x?"top":"left",w=x?"bottom":"right",y=x?"clientHeight":"clientWidth",v=r.reference[g]+r.reference[l]-d[l]-r.floating[g],b=d[l]-r.reference[l],O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(m)),S=O?O[y]:0;(!S||!await(s.isElement==null?void 0:s.isElement(O)))&&(S=c.floating[y]||r.floating[g]);let V=v/2-b/2,B=S/2-p[g]/2-1,L=I(u[h],B),K=I(u[w],B),$=L,G=S-p[g]-K,R=S/2-p[g]/2+V,q=pt($,R,G),U=!f.arrow&&Z(o)!=null&&R!==q&&r.reference[g]/2-(R<$?L:K)-p[g]/2<0,_=U?R<$?R-$:R-G:0;return{[l]:d[l]+_,data:{[l]:q,centerOffset:R-q-_,...U&&{alignmentOffset:_}},reset:U}}});var te=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:c,platform:f,elements:m}=e,{mainAxis:a=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:l="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:p=!0,...x}=W(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let h=z(o),w=k(c),y=z(c)===c,v=await(f.isRTL==null?void 0:f.isRTL(m.floating)),b=d||(y||!p?[lt(c)]:Kt(c)),O=g!=="none";!d&&O&&b.push(...Gt(c,p,g,v));let S=[c,...b],V=await f.detectOverflow(e,x),B=[],L=((i=r.flip)==null?void 0:i.overflows)||[];if(a&&B.push(V[h]),u){let R=jt(o,s,v);B.push(V[R[0]],V[R[1]])}if(L=[...L,{placement:o,overflows:B}],!B.every(R=>R<=0)){var K,$;let R=(((K=r.flip)==null?void 0:K.index)||0)+1,q=S[R];if(q&&(!(u==="alignment"?w!==k(q):!1)||L.every(D=>k(D.placement)===w?D.overflows[0]>0:!0)))return{data:{index:R,overflows:L},reset:{placement:q}};let U=($=L.filter(_=>_.overflows[0]<=0).sort((_,D)=>_.overflows[1]-D.overflows[1])[0])==null?void 0:$.placement;if(!U)switch(l){case"bestFit":{var G;let _=(G=L.filter(D=>{if(O){let Y=k(D.placement);return Y===w||Y==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(Y=>Y>0).reduce((Y,Oe)=>Y+Oe,0)]).sort((D,Y)=>D[1]-Y[1])[0])==null?void 0:G[0];_&&(U=_);break}case"initialPlacement":U=c;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function Xt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function qt(t){return Ut.some(e=>t[e]>=0)}var ee=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:i}=e,{strategy:o="referenceHidden",...r}=W(t,e);switch(o){case"referenceHidden":{let s=await i.detectOverflow(e,{...r,elementContext:"reference"}),c=Xt(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:qt(c)}}}case"escaped":{let s=await i.detectOverflow(e,{...r,altBoundary:!0}),c=Xt(s,n.floating);return{data:{escapedOffsets:c,escaped:qt(c)}}}default:return{}}}}};var ne=new Set(["left","top"]);async function Be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=z(n),c=Z(n),f=k(n)==="y",m=ne.has(s)?-1:1,a=r&&f?-1:1,u=W(e,t),{mainAxis:d,crossAxis:l,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof g=="number"&&(l=c==="end"?g*-1:g),f?{x:l*a,y:d*m}:{x:d*m,y:l*a}}var ie=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:c}=e,f=await Be(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:r+f.y,data:{...f,placement:s}}}}},oe=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:f={fn:h=>{let{x:w,y}=h;return{x:w,y}}},...m}=W(t,e),a={x:n,y:i},u=await r.detectOverflow(e,m),d=k(z(o)),l=ht(d),g=a[l],p=a[d];if(s){let h=l==="y"?"top":"left",w=l==="y"?"bottom":"right",y=g+u[h],v=g-u[w];g=pt(y,g,v)}if(c){let h=d==="y"?"top":"left",w=d==="y"?"bottom":"right",y=p+u[h],v=p-u[w];p=pt(y,p,v)}let x=f.fn({...e,[l]:g,[d]:p});return{...x,data:{x:x.x-n,y:x.y-i,enabled:{[l]:s,[d]:c}}}}}},re=function(t){return t===void 0&&(t={}),{options:t,fn(e){let{x:n,y:i,placement:o,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:f=!0,crossAxis:m=!0}=W(t,e),a={x:n,y:i},u=k(o),d=ht(u),l=a[d],g=a[u],p=W(c,e),x=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(f){let y=d==="y"?"height":"width",v=r.reference[d]-r.floating[y]+x.mainAxis,b=r.reference[d]+r.reference[y]-x.mainAxis;l<v?l=v:l>b&&(l=b)}if(m){var h,w;let y=d==="y"?"width":"height",v=ne.has(z(o)),b=r.reference[u]-r.floating[y]+(v&&((h=s.offset)==null?void 0:h[u])||0)+(v?0:x.crossAxis),O=r.reference[u]+r.reference[y]+(v?0:((w=s.offset)==null?void 0:w[u])||0)-(v?x.crossAxis:0);g<b?g=b:g>O&&(g=O)}return{[d]:l,[u]:g}}}},se=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:r,platform:s,elements:c}=e,{apply:f=()=>{},...m}=W(t,e),a=await s.detectOverflow(e,m),u=z(o),d=Z(o),l=k(o)==="y",{width:g,height:p}=r.floating,x,h;u==="top"||u==="bottom"?(x=u,h=d===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(h=u,x=d==="end"?"top":"bottom");let w=p-a.top-a.bottom,y=g-a.left-a.right,v=I(p-a[x],w),b=I(g-a[h],y),O=!e.middlewareData.shift,S=v,V=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(V=y),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(S=w),O&&!d){let L=T(a.left,0),K=T(a.right,0),$=T(a.top,0),G=T(a.bottom,0);l?V=g-2*(L!==0||K!==0?L+K:T(a.left,a.right)):S=p-2*($!==0||G!==0?$+G:T(a.top,a.bottom))}await f({...e,availableWidth:V,availableHeight:S});let B=await s.getDimensions(c.floating);return g!==B.width||p!==B.height?{reset:{rects:!0}}:{}}}};function wt(){return typeof window<"u"}function et(t){return le(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function N(t){var e;return(e=(le(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function le(t){return wt()?t instanceof Node||t instanceof C(t).Node:!1}function F(t){return wt()?t instanceof Element||t instanceof C(t).Element:!1}function H(t){return wt()?t instanceof HTMLElement||t instanceof C(t).HTMLElement:!1}function ce(t){return!wt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof C(t).ShadowRoot}function rt(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function ae(t){return/^(table|td|th)$/.test(et(t))}function ut(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var $e=/transform|translate|scale|rotate|perspective|filter/,Ie=/paint|layout|strict|content/,tt=t=>!!t&&t!=="none",Et;function vt(t){let e=F(t)?P(t):t;return tt(e.transform)||tt(e.translate)||tt(e.scale)||tt(e.rotate)||tt(e.perspective)||!bt()&&(tt(e.backdropFilter)||tt(e.filter))||$e.test(e.willChange||"")||Ie.test(e.contain||"")}function fe(t){let e=j(t);for(;H(e)&&!nt(e);){if(vt(e))return e;if(ut(e))return null;e=j(e)}return null}function bt(){return Et==null&&(Et=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Et}function nt(t){return/^(html|body|#document)$/.test(et(t))}function P(t){return C(t).getComputedStyle(t)}function mt(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function j(t){if(et(t)==="html")return t;let e=t.assignedSlot||t.parentNode||ce(t)&&t.host||N(t);return ce(e)?e.host:e}function ue(t){let e=j(t);return nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:H(e)&&rt(e)?e:ue(e)}function ot(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=ue(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=C(o);if(r){let c=Ot(s);return e.concat(s,s.visualViewport||[],rt(o)?o:[],c&&n?ot(c):[])}else return e.concat(o,ot(o,[],n))}function Ot(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function pe(t){let e=P(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=H(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,c=at(n)!==r||at(i)!==s;return c&&(n=r,i=s),{width:n,height:i,$:c}}function Ct(t){return F(t)?t:t.contextElement}function st(t){let e=Ct(t);if(!H(e))return M(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=pe(e),s=(r?at(n.width):n.width)/i,c=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var We=M(0);function he(t){let e=C(t);return!bt()||!e.visualViewport?We:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ze(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==C(t)?!1:e}function it(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=Ct(t),s=M(1);e&&(i?F(i)&&(s=st(i)):s=st(t));let c=ze(r,n,i)?he(r):M(0),f=(o.left+c.x)/s.x,m=(o.top+c.y)/s.y,a=o.width/s.x,u=o.height/s.y;if(r){let d=C(r),l=i&&F(i)?C(i):i,g=d,p=Ot(g);for(;p&&i&&l!==g;){let x=st(p),h=p.getBoundingClientRect(),w=P(p),y=h.left+(p.clientLeft+parseFloat(w.paddingLeft))*x.x,v=h.top+(p.clientTop+parseFloat(w.paddingTop))*x.y;f*=x.x,m*=x.y,a*=x.x,u*=x.y,f+=y,m+=v,g=C(p),p=Ot(g)}}return Q({width:a,height:u,x:f,y:m})}function St(t,e){let n=mt(t).scrollLeft;return e?e.left+n:it(N(t)).left+n}function xe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-St(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function He(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=N(i),c=e?ut(e.floating):!1;if(i===s||c&&r)return n;let f={scrollLeft:0,scrollTop:0},m=M(1),a=M(0),u=H(i);if((u||!u&&!r)&&((et(i)!=="body"||rt(s))&&(f=mt(i)),u)){let l=it(i);m=st(i),a.x=l.x+i.clientLeft,a.y=l.y+i.clientTop}let d=s&&!u&&!r?xe(s,f):M(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-f.scrollLeft*m.x+a.x+d.x,y:n.y*m.y-f.scrollTop*m.y+a.y+d.y}}function Ve(t){return Array.from(t.getClientRects())}function Ue(t){let e=N(t),n=mt(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+St(t),c=-n.scrollTop;return P(i).direction==="rtl"&&(s+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:r,x:s,y:c}}var me=25;function je(t,e){let n=C(t),i=N(t),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,c=0,f=0;if(o){r=o.width,s=o.height;let a=bt();(!a||a&&e==="fixed")&&(c=o.offsetLeft,f=o.offsetTop)}let m=St(i);if(m<=0){let a=i.ownerDocument,u=a.body,d=getComputedStyle(u),l=a.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,g=Math.abs(i.clientWidth-u.clientWidth-l);g<=me&&(r-=g)}else m<=me&&(r+=m);return{width:r,height:s,x:c,y:f}}function Ke(t,e){let n=it(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=H(t)?st(t):M(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,f=o*r.x,m=i*r.y;return{width:s,height:c,x:f,y:m}}function de(t,e,n){let i;if(e==="viewport")i=je(t,n);else if(e==="document")i=Ue(N(t));else if(F(e))i=Ke(e,n);else{let o=he(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return Q(i)}function ye(t,e){let n=j(t);return n===e||!F(n)||nt(n)?!1:P(n).position==="fixed"||ye(n,e)}function Ge(t,e){let n=e.get(t);if(n)return n;let i=ot(t,[],!1).filter(c=>F(c)&&et(c)!=="body"),o=null,r=P(t).position==="fixed",s=r?j(t):t;for(;F(s)&&!nt(s);){let c=P(s),f=vt(s);!f&&c.position==="fixed"&&(o=null),(r?!f&&!o:!f&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||rt(s)&&!f&&ye(t,s))?i=i.filter(a=>a!==s):o=c,s=j(s)}return e.set(t,i),i}function Ye(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ut(e)?[]:Ge(e,this._c):[].concat(n),i],c=de(e,s[0],o),f=c.top,m=c.right,a=c.bottom,u=c.left;for(let d=1;d<s.length;d++){let l=de(e,s[d],o);f=T(l.top,f),m=I(l.right,m),a=I(l.bottom,a),u=T(l.left,u)}return{width:m-u,height:a-f,x:u,y:f}}function Xe(t){let{width:e,height:n}=pe(t);return{width:e,height:n}}function qe(t,e,n){let i=H(e),o=N(e),r=n==="fixed",s=it(t,!0,r,e),c={scrollLeft:0,scrollTop:0},f=M(0);function m(){f.x=St(o)}if(i||!i&&!r)if((et(e)!=="body"||rt(o))&&(c=mt(e)),i){let l=it(e,!0,r,e);f.x=l.x+e.clientLeft,f.y=l.y+e.clientTop}else o&&m();r&&!i&&o&&m();let a=o&&!i&&!r?xe(o,c):M(0),u=s.left+c.scrollLeft-f.x-a.x,d=s.top+c.scrollTop-f.y-a.y;return{x:u,y:d,width:s.width,height:s.height}}function Tt(t){return P(t).position==="static"}function ge(t,e){if(!H(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function we(t,e){let n=C(t);if(ut(t))return n;if(!H(t)){let o=j(t);for(;o&&!nt(o);){if(F(o)&&!Tt(o))return o;o=j(o)}return n}let i=ge(t,e);for(;i&&ae(i)&&Tt(i);)i=ge(i,e);return i&&nt(i)&&Tt(i)&&!vt(i)?n:i||fe(t)||n}var Je=async function(t){let e=this.getOffsetParent||we,n=this.getDimensions,i=await n(t.floating);return{reference:qe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ze(t){return P(t).direction==="rtl"}var Qe={convertOffsetParentRelativeRectToViewportRelativeRect:He,getDocumentElement:N,getClippingRect:Ye,getOffsetParent:we,getElementRects:Je,getClientRects:Ve,getDimensions:Xe,getScale:st,isElement:F,isRTL:Ze};function ve(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tn(t,e){let n=null,i,o=N(t);function r(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function s(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),r();let m=t.getBoundingClientRect(),{left:a,top:u,width:d,height:l}=m;if(c||e(),!d||!l)return;let g=ft(u),p=ft(o.clientWidth-(a+d)),x=ft(o.clientHeight-(u+l)),h=ft(a),y={rootMargin:-g+"px "+-p+"px "+-x+"px "+-h+"px",threshold:T(0,I(1,f))||1},v=!0;function b(O){let S=O[0].intersectionRatio;if(S!==f){if(!v)return s();S?s(!1,S):i=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!ve(m,t.getBoundingClientRect())&&s(),v=!1}try{n=new IntersectionObserver(b,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(t)}return s(!0),r}function Cn(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,m=Ct(t),a=o||r?[...m?ot(m):[],...e?ot(e):[]]:[];a.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});let u=m&&c?tn(m,n):null,d=-1,l=null;s&&(l=new ResizeObserver(h=>{let[w]=h;w&&w.target===m&&l&&e&&(l.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=l)==null||y.observe(e)})),n()}),m&&!f&&l.observe(m),e&&l.observe(e));let g,p=f?it(t):null;f&&x();function x(){let h=it(t);p&&!ve(p,h)&&n(),p=h,g=requestAnimationFrame(x)}return n(),()=>{var h;a.forEach(w=>{o&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u?.(),(h=l)==null||h.disconnect(),l=null,f&&cancelAnimationFrame(g)}}var Ln=ie;var Fn=oe,Pn=te,_n=se,Dn=ee,Mn=Qt;var kn=re,Nn=(t,e,n)=>{let i=new Map,o={platform:Qe,...n},r={...o.platform,_c:i};return Zt(t,e,{...o,platform:r})};var Rt=Se(_t());function $n(){let[t,e]=(0,Rt.useState)(!1);return(0,Rt.useEffect)(()=>{e(!0)},[]),t}var Lt=["ar","bn","bg","my","zh-CN","zh-HK","zh-Hant","cs","da","nl-BE","nl-NL","en-AU","en-CA","en-GB","en-US","tl","fi","fr-CA","fr-FR","de","el","gu","he","hi","hu","id","it","ja","kn","km","ko","lo","ms","ml","mr","ne","nb","nn","fa","pl","pt-BR","pt-PT","pa","ro","ru","si","es-419","es-ES","sw","sv","ta","te","th","tr","uk","ur","vi"],Wn=new Set(Lt);function en(t){return t.toLowerCase()}function Ft(t){return t.split("-")[0].toLowerCase()}function be(t){let e=t.toLowerCase();return!e.startsWith("zh")&&!e.startsWith("yue")?null:e.includes("hk")||e.includes("mo")||e.startsWith("yue")?"hk":e.includes("cn")||e.includes("hans")||e.includes("sg")?"cn":"tw"}function zn(t,e){let n=o=>Ft(o)==="yue"?"zh":Ft(o),i=n(t);return i!==n(e)?!1:i!=="zh"?!0:be(t)===be(e)}var nn=Array.from(new Set([...Lt.map(en),...Lt.map(Ft)])).sort(),Hn=new Set(nn);export{Cn as a,Ln as b,Fn as c,Pn as d,_n as e,Dn as f,Mn as g,kn as h,Nn as i,Te as j,$n as k,zn as l,on as m,rn as n,sn as o,fn as p,Fe as q,gn as r,pn as s};
2
+ /*! Bundled license information:
3
+
4
+ react-dom/cjs/react-dom.production.js:
5
+ (**
6
+ * @license React
7
+ * react-dom.production.js
8
+ *
9
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ *)
14
+ */
15
+ //# sourceMappingURL=chunk-NQBPWU5Z.js.map
@@ -0,0 +1,39 @@
1
+ // ../../node_modules/.pnpm/@vidstack+react@1.15.6_@types+react@19.2.8_react@19.2.1/node_modules/@vidstack/react/prod/chunks/vidstack-Dy74GavT.js
2
+ var videoIdRE = /(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)(?:\/shorts)?\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/;
3
+ var posterCache = /* @__PURE__ */ new Map();
4
+ var pendingFetch = /* @__PURE__ */ new Map();
5
+ function resolveYouTubeVideoId(src) {
6
+ return src.match(videoIdRE)?.[1];
7
+ }
8
+ async function findYouTubePoster(videoId, abort) {
9
+ if (posterCache.has(videoId)) return posterCache.get(videoId);
10
+ if (pendingFetch.has(videoId)) return pendingFetch.get(videoId);
11
+ const pending = new Promise(async (resolve) => {
12
+ for (const size of [
13
+ "maxresdefault",
14
+ "sddefault",
15
+ "hqdefault"
16
+ ]) for (const webp of [true, false]) {
17
+ const url = resolveYouTubePosterURL(videoId, size, webp);
18
+ if ((await fetch(url, {
19
+ mode: "no-cors",
20
+ signal: abort.signal
21
+ })).status < 400) {
22
+ posterCache.set(videoId, url);
23
+ resolve(url);
24
+ return;
25
+ }
26
+ }
27
+ }).catch(() => "").finally(() => pendingFetch.delete(videoId));
28
+ pendingFetch.set(videoId, pending);
29
+ return pending;
30
+ }
31
+ function resolveYouTubePosterURL(videoId, size, webp) {
32
+ return `https://i.ytimg.com/${webp ? "vi_webp" : "vi"}/${videoId}/${size}.${webp ? "webp" : "jpg"}`;
33
+ }
34
+
35
+ export {
36
+ resolveYouTubeVideoId,
37
+ findYouTubePoster
38
+ };
39
+ //# sourceMappingURL=chunk-OJQYDPRD.js.map
@@ -0,0 +1,59 @@
1
+ import {
2
+ listenEvent
3
+ } from "./chunk-IUB5YLUU.js";
4
+
5
+ // ../../node_modules/.pnpm/@vidstack+react@1.15.6_@types+react@19.2.8_react@19.2.1/node_modules/@vidstack/react/prod/chunks/vidstack-aCAqaLv8.js
6
+ function getCastFrameworkURL() {
7
+ return "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1";
8
+ }
9
+ function hasLoadedCastFramework() {
10
+ return !!window.cast?.framework;
11
+ }
12
+ function isCastAvailable() {
13
+ return !!window.chrome?.cast?.isAvailable;
14
+ }
15
+ function isCastConnected() {
16
+ return getCastContext().getCastState() === cast.framework.CastState.CONNECTED;
17
+ }
18
+ function getCastContext() {
19
+ return window.cast.framework.CastContext.getInstance();
20
+ }
21
+ function getCastSession() {
22
+ return getCastContext().getCurrentSession();
23
+ }
24
+ function getCastSessionMedia() {
25
+ return getCastSession()?.getSessionObj().media[0];
26
+ }
27
+ function hasActiveCastSession(src) {
28
+ return getCastSessionMedia()?.media.contentId === src?.src;
29
+ }
30
+ function getDefaultCastOptions() {
31
+ return {
32
+ language: "en-US",
33
+ autoJoinPolicy: chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,
34
+ receiverApplicationId: chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,
35
+ resumeSavedSession: true,
36
+ androidReceiverCompatible: true
37
+ };
38
+ }
39
+ function getCastErrorMessage(code) {
40
+ return `Google Cast Error Code: ${code}`;
41
+ }
42
+ function listenCastContextEvent(type, handler) {
43
+ return listenEvent(getCastContext(), type, handler);
44
+ }
45
+
46
+ export {
47
+ getCastFrameworkURL,
48
+ hasLoadedCastFramework,
49
+ isCastAvailable,
50
+ isCastConnected,
51
+ getCastContext,
52
+ getCastSession,
53
+ getCastSessionMedia,
54
+ hasActiveCastSession,
55
+ getDefaultCastOptions,
56
+ getCastErrorMessage,
57
+ listenCastContextEvent
58
+ };
59
+ //# sourceMappingURL=chunk-PDKFEXLU.js.map
@@ -0,0 +1,2 @@
1
+ import{a as q}from"./chunk-6TUB24LJ.js";import{a as ye}from"./chunk-74RRJOB4.js";import{c as v}from"./chunk-RFBBAUMM.js";function Xe(t,e){return{locale:e,ui:t.ui,search:t.search,shop:t.shop,blog:t.blog,productInfo:t.productInfo,delivery:t.delivery,paymentMethods:t.orderStatus.methodTypes,cookieSettings:t.cookieConsent.settings,curriculum:{contentUnitsCount:t.account.contentUnitsCount,contentPreviewBadge:t.account.contentPreviewBadge,contentLocked:t.account.contentLocked,contentOptional:t.account.contentOptional,contentLoadError:t.account.contentLoadError,contentNoUnits:t.account.contentNoUnits}}}function Ze(t,e){let n=t;for(let[r,i]of Object.entries(e))n=n.replaceAll(`{${r}}`,i);return n}var Re=["top-left","top","top-right","left","center","right","bottom-left","bottom","bottom-right"],xe=["logo","text","image"],X={min:5,max:50,default:20},Z={min:10,max:100,default:60},we=60,Q={pages:!0,articles:!0,products:!1},E={enabled:!1,source:"logo",text:"",image:null,layout:"single",position:"bottom-right",size:X.default,opacity:Z.default,apply:Q,overlay:null,version:null,activatedAt:null,deactivatedAt:null},M={allowDownload:!0,keepCopyright:!0,deterrence:!1,watermark:E};function K(t,e){return typeof t!="number"||!Number.isFinite(t)?e.default:Math.min(e.max,Math.max(e.min,Math.round(t)))}function Y(t,e,n){return typeof t=="string"&&e.includes(t)?t:n}function Ae(t){let e=t&&typeof t=="object"?t:{},n=r=>typeof e[r]=="boolean"?e[r]:Q[r];return{pages:n("pages"),articles:n("articles"),products:n("products")}}function Ie(t){let e=t&&typeof t=="object"?t:{},n=e.overlay&&typeof e.overlay=="object"?e.overlay:null,r=n&&typeof n.url=="string"&&typeof n.width=="number"&&typeof n.height=="number"&&typeof n.key=="string"?{url:n.url,width:n.width,height:n.height,key:n.key}:null,i=Array.isArray(e.regenHistory)?e.regenHistory.filter(a=>typeof a=="string"&&!Number.isNaN(Date.parse(a))):void 0,o=$(e.scheduledAt);return{enabled:e.enabled===!0,source:Y(e.source,xe,E.source),text:typeof e.text=="string"?e.text.slice(0,we):"",image:typeof e.image=="string"&&e.image?e.image:null,layout:e.layout==="tile"?"tile":"single",position:Y(e.position,Re,E.position),size:K(e.size,X),opacity:K(e.opacity,Z),apply:Ae(e.apply),overlay:r,version:typeof e.version=="string"&&e.version?e.version:null,activatedAt:$(e.activatedAt),deactivatedAt:$(e.deactivatedAt),...i&&i.length>0?{regenHistory:i}:{},...o?{scheduledAt:o}:{}}}function $(t){return typeof t=="string"&&!Number.isNaN(Date.parse(t))?t:null}function Je(t){let e=t&&typeof t=="object"?t:{},n=r=>typeof e[r]=="boolean"?e[r]:M[r];return{allowDownload:n("allowDownload"),keepCopyright:n("keepCopyright"),deterrence:n("deterrence"),watermark:Ie(e.watermark)}}function et(t){return t.allowDownload&&!t.deterrence}function tt(t){return!t.deterrence}var y=v(ye());var J=["24:9","21:9","16:9","4:3","1:1","4:5"],ee=["16:9","4:3","1:1","3:4","4:5"],Me=["4:3","1:1","3:4"];function d(t){if(typeof t!="string")return null;let e=/^(\d+(?:\.\d+)?):(\d+(?:\.\d+)?)$/.exec(t.trim());if(!e)return null;let n=Number(e[1]),r=Number(e[2]);if(!Number.isFinite(n)||!Number.isFinite(r)||n<=0||r<=0)return null;let i=n/r;return i<.25-1e-6||i>5+1e-6?null:i}function rt(t){return t.desktop===null||t.tablet===null||t.mobile===null}var T={mobile:{fill:"absolute inset-0 h-full w-full",flow:"relative h-auto w-full"},tablet:{fill:"md:absolute md:inset-0 md:h-full",flow:"md:relative md:inset-auto md:h-auto"},desktop:{fill:"lg:absolute lg:inset-0 lg:h-full",flow:"lg:relative lg:inset-auto lg:h-auto"}};function it(t){let e=a=>a&&d(a)?"fill":"flow",n=e(t.mobile),r=e(t.tablet),i=e(t.desktop),o=[T.mobile[n]];return r!==n&&o.push(T.tablet[r]),i!==r&&o.push(T.desktop[i]),o.join(" ")}function Se(t){switch(t??"standard"){case"compact":return"24:9";case"tall":return"16:9";default:return"21:9"}}var D={"page-main-visual:banner-profile":{tabletInherits:"desktop",devices:["desktop","tablet","mobile"],presets:J,allowCustomRatio:!0},"page-main-visual:split-hero":{tabletInherits:"mobile",devices:["desktop","tablet","mobile"],presets:ee,allowCustomRatio:!0},"page-main-visual:overlay-hero":{tabletInherits:"desktop",devices:["desktop","mobile"],presets:["16:9","4:5"],allowCustomRatio:!1,fixedHeight:!0},"image-text-split":{tabletInherits:"mobile",devices:["desktop","tablet","mobile"],presets:ee,allowCustomRatio:!0,allowNatural:!0},"full-width-image":{tabletInherits:"desktop",devices:["desktop","tablet","mobile"],presets:J,allowCustomRatio:!0,allowNatural:!0},"card-grid":{tabletInherits:"desktop",devices:["desktop"],presets:Me,allowCustomRatio:!1},"multi-link":{tabletInherits:"desktop",devices:["desktop"],presets:["4:3"],allowCustomRatio:!1}};function te(t,e,n="desktop"){if(t==null)return{desktop:e,tablet:e,mobile:e};if(typeof t!="object")return{desktop:t,tablet:t,mobile:t};let r=t,i=r.desktop??e,o=r.mobile??i,a=r.tablet??(n==="mobile"?o:i);return{desktop:i,tablet:a,mobile:o}}function Fe(t){let e=t.layout??"banner-profile";if(e==="overlay-hero")return{policy:D["page-main-visual:overlay-hero"],ratios:{desktop:"16:9",tablet:"16:9",mobile:"4:5"},fixedHeight:!0};if(e==="split-hero"){let o=D["page-main-visual:split-hero"],a=te(t.imageRatio,"4:3",o.tabletInherits);return{policy:o,ratios:{desktop:a.desktop==="natural"||!d(a.desktop)?"4:3":a.desktop,tablet:a.tablet==="natural"||!d(a.tablet)?"4:3":a.tablet,mobile:a.mobile==="natural"||!d(a.mobile)?"4:3":a.mobile},fixedHeight:!1}}let n=D["page-main-visual:banner-profile"],r=Se(t.bannerHeight),i=te(t.imageRatio,r,n.tabletInherits);return{policy:n,ratios:{desktop:i.desktop==="natural"||!d(i.desktop)?r:i.desktop,tablet:i.tablet==="natural"||!d(i.tablet)?r:i.tablet,mobile:i.mobile==="natural"||!d(i.mobile)?r:i.mobile},fixedHeight:!1}}function ke(t){let e=t.desktop,n=t.tablet,r=t.mobile;if(!e&&!n&&!r)return null;if(e&&e===n&&e===r)return[{device:"all",ratio:e}];let i=[];return e&&i.push({device:"desktop",ratio:e}),n&&n!==e&&n!==r&&i.push({device:"tablet",ratio:n}),r&&r!==e&&i.push({device:"mobile",ratio:r}),i.length>0?i:null}function Ce(t){let{ratios:e}=Fe(t??{});return ke(e)??[{device:"all",ratio:"21:9"}]}var ot=Ce();var S=.05;function ne(t){return Math.min(1,Math.max(0,t))}function _(t){if(!t||typeof t!="object")return null;let{x:e,y:n}=t;return typeof e!="number"||typeof n!="number"||!Number.isFinite(e)||!Number.isFinite(n)?null:{x:ne(e),y:ne(n)}}function re(t){if(!t||typeof t!="object")return null;let{x:e,y:n,w:r,h:i}=t;if(typeof e!="number"||typeof n!="number"||typeof r!="number"||typeof i!="number"||!Number.isFinite(e)||!Number.isFinite(n)||!Number.isFinite(r)||!Number.isFinite(i))return null;let o=Math.min(1,Math.max(S,r)),a=Math.min(1,Math.max(S,i)),s=Math.min(1-o,Math.max(0,e)),u=Math.min(1-a,Math.max(0,n));return{x:s,y:u,w:o,h:a}}function ie(t){if(!t||typeof t!="object")return null;let e=t;if(typeof e.ratio!="string"||!d(e.ratio))return null;let n=re(e.rect);return n?{ratio:e.ratio.trim(),rect:n}:null}function ve(t){if(typeof t!="string")return;let e=t.trim();return/^#[0-9a-fA-F]{6}$/.test(e)?e.toLowerCase():void 0}function $e(t){return Math.abs(t.x-.5)<.005&&Math.abs(t.y-.5)<.005}function P(t){let e=_(t?.focus);return!e||$e(e)?null:e}function O(t){if(!t?.screens||typeof t.screens!="object")return!1;for(let e of["desktop","tablet","mobile"])if(ie(t.screens[e]))return!0;return!1}function Ee(t,e,n){let r=_(t)??{x:.5,y:.5};if(!Number.isFinite(e)||e<=0||!Number.isFinite(n)||n<=0)return{x:0,y:0,w:1,h:1};if(e>=n){let s=Math.min(1,Math.max(S,n/e));return{x:Math.min(1-s,Math.max(0,r.x-s/2)),y:0,w:s,h:1}}let i=1,o=Math.min(1,Math.max(S,e/n));return{x:0,y:Math.min(1-o,Math.max(0,r.y-o/2)),w:i,h:o}}function Te(t,e,n){if(!t)return!1;let r=d(t.ratio),i=d(e);if(!r||!i||Math.abs(r-i)/i>.01)return!1;if(n&&n.width>0&&n.height>0&&t.rect.h>0){let o=t.rect.w*n.width/(t.rect.h*n.height);if(Math.abs(o-i)/i>.02)return!1}return!0}function U(t){let{framing:e,device:n,targetRatio:r,tabletInherits:i="desktop"}=t,o=t.source??e?.source??null,a=e?.screens,s=n==="desktop"?["desktop"]:n==="mobile"?["mobile","desktop"]:i==="mobile"?["tablet","mobile","desktop"]:["tablet","desktop"],u=null,c=!1;for(let h of s){let g=ie(a?.[h]);if(g){if(Te(g,r,o)){u=g;break}h===n&&(c=!0)}}if(u)return{ratio:r,rect:u.rect,derived:!1,ratioMismatchFallback:!1};let m=d(r)??16/9,l=o&&o.width>0&&o.height>0?o.width/o.height:m;return{ratio:r,rect:Ee(e?.focus,l,m),derived:!0,ratioMismatchFallback:c}}function L(t,e){if(!e||!Number.isFinite(e.width)||!Number.isFinite(e.height)||e.width<=0||e.height<=0)return null;let n=re(t);if(!n)return null;let r=Math.max(0,Math.round(n.x*e.width)),i=Math.max(0,Math.round(n.y*e.height)),o=Math.max(1,Math.round(n.w*e.width)),a=Math.max(1,Math.round(n.h*e.height)),s=Math.max(0,e.width-r-o),u=Math.max(0,e.height-i-a);return i<=1&&s<=1&&u<=1&&r<=1?null:{top:i,right:s,bottom:u,left:r}}function ct(t){let e=n=>`${Math.round(n*1e3)/10}%`;return`${e(t.x)} ${e(t.y)}`}function oe(t){let e=n=>(Math.round(n*100)/100).toFixed(2);return`${e(t.x)}x${e(t.y)}`}var ae="asset:",De=/^asset:[a-z0-9]+$/;function _e(t){return De.test(t)}var se="xu6i8N5WjaI_9HFe-hZzmg",mt=`https://img.kanorio.com/cdn-cgi/imagedelivery/${se}`;var pt=String.raw`[^\s"'()<>?#\\]+`,Pe=String.raw`[A-Za-z0-9_.-]+`;function Oe(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ft=String.raw`(?:[?#][^\s"'()<>\\]*)?`;var Ue=new RegExp(String.raw`^https://(?:imagedelivery\.net|[a-z0-9-]+\.kanorio\.com/cdn-cgi/imagedelivery|img\.kanorio\.com/wm/[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+)/${Oe(se)}/(${Pe})(?:[/?#]|$)`);function Le(t){return t?Ue.exec(t)?.[1]??null:null}var We="mixed";function Ne(t){return t&&t!==We?t:null}function ht(t,e){let n=t??"";if(!e?.name)return n;if(!n||n===e.name||e.formerNames?.includes(n))return e.name;let r=e.name.lastIndexOf("."),i=n.lastIndexOf(".");return r<=0||i<=0?n:`${n.slice(0,i)}${e.name.slice(r)}`}function bt(t,e){if(e.assetId){let i=t[`${ae}${e.assetId}`];if(i)return i}if(!e.url)return;if(_e(e.url))return t[e.url];let n=Le(e.url);if(n)return t[n];let r=e.url.split(/[?#]/,1)[0];for(let[i,o]of Object.entries(t))if(!i.startsWith(ae)&&r.endsWith(`/${i}`))return o}var p=85;function ce(t){if(t)try{let e=new URL(t),n=e.pathname.split("/").filter(Boolean);return e.hostname==="imagedelivery.net"&&n.length>=2?n[1]:e.hostname.endsWith(".kanorio.com")&&n[0]==="cdn-cgi"&&n[1]==="imagedelivery"&&n.length>=4?n[3]:void 0}catch{return}}function ze(t){return(t.split(/[?#]/,1)[0]??"").toLowerCase().endsWith(".svg")}function x(t){if(!t)return!1;try{let e=new URL(t);return!!(e.hostname==="imagedelivery.net"||e.hostname.endsWith(".kanorio.com")&&e.pathname.startsWith("/cdn-cgi/imagedelivery/"))}catch{return!1}}function je(t){try{let e=new URL(t);return e.searchParams.has("width")||e.searchParams.has("height")||e.searchParams.has("quality")||e.searchParams.has("fit")}catch{return!1}}function le(t){switch(t){case"page-main-visual-background":return{width:1920,quality:p,fit:"cover"};case"page-main-visual-logo":return{width:600,height:600,quality:p,fit:"scale-down"};case"header-logo":return{width:600,height:600,quality:p,fit:"scale-down"};case"card-grid-carousel-image":return{width:800,quality:p,fit:"crop"};case"image-text-split-image":return{width:1200,quality:p,fit:"crop"};case"multi-image-carousel-image":return{width:1600,quality:p,fit:"scale-down"};case"lightbox-image":return{width:4096,quality:p,fit:"scale-down"};case"full-width-image":return{width:1920,quality:p,fit:"contain"};default:return{width:1920,quality:p,fit:"crop"}}}function z(t){try{let e=new URL(t),n=e.pathname.split("/").filter(Boolean);return e.hostname==="imagedelivery.net"&&n.length>=3?{baseUrl:`${e.protocol}//${e.hostname}`,accountHash:n[0],imageId:n[1],variant:n[2]||"public"}:e.hostname.endsWith(".kanorio.com")&&n[0]==="cdn-cgi"&&n[1]==="imagedelivery"&&n.length>=5?{baseUrl:`${e.protocol}//${e.hostname}/cdn-cgi/imagedelivery`,accountHash:n[2],imageId:n[3],variant:n[4]||"public"}:null}catch{return null}}function He(t,e){let{baseUrl:n,accountHash:r,imageId:i}=t,o=le(e.useCase),a=e.width??o.width,s=e.height??o.height,u=p,c=e.fit??o.fit,m=e.format,l=[];if(e.trim){let{top:h,right:g,bottom:f,left:F}=e.trim;l.push(`trim=${Math.max(0,Math.round(h))};${Math.max(0,Math.round(g))};${Math.max(0,Math.round(f))};${Math.max(0,Math.round(F))}`)}return a&&l.push(`w=${a}`),s&&l.push(`h=${s}`),c&&l.push(`fit=${c}`),!e.trim&&e.focus&&a&&s&&(c==="crop"||c==="cover")&&l.push(`gravity=${oe(e.focus)}`),e.background&&/^#[0-9a-fA-F]{6}$/.test(e.background)&&l.push(`background=${encodeURIComponent(e.background)}`),l.push(`q=${u}`),m&&l.push(`f=${m}`),l.length>0?`${n}/${r}/${i}/${l.join(",")}`:`${n}/${r}/${i}/public`}function Ve(t){return le(t).width??1920}function W(t,e){if(!x(t)||je(t)&&!e.format)return t;let n=z(t);return n?He(n,e):t}function St(t){if(!x(t))return t;let e=z(t);return e?`${e.baseUrl}/${e.accountHash}/${e.imageId}/public`:t}var Ge=[400,800,1200,1600],Be="(max-width: 768px) 100vw, 960px";function Ft(t){if(!x(t))return null;let e=z(t);if(!e)return null;let{baseUrl:n,accountHash:r,imageId:i}=e,o=p,a="scale-down",s=Ge.map(c=>`${n}/${r}/${i}/w=${c},fit=${a},q=${o} ${c}w`).join(", ");return{src:`${n}/${r}/${i}/w=800,fit=${a},q=${o}`,srcSet:s,sizes:Be}}var qe={mobile:[640,1080],tablet:[1024,1536],desktop:[1440,1920]},R={mobile:"(max-width: 767px)",tablet:"(min-width: 768px) and (max-width: 1023px)",desktop:"(min-width: 1024px)"},ue=["desktop","tablet","mobile"];function de(t){let e={};for(let n of ue){let r=t.ratios[n];if(!r){e[n]={ratio:null,rect:null};continue}let i=U({framing:t.framing,device:n,targetRatio:r,tabletInherits:t.tabletInherits,source:t.source});e[n]={ratio:r,rect:i.derived?null:i.rect}}return e}function N(t,e){return t.ratio!==e.ratio?!1:!t.rect||!e.rect?t.rect===e.rect:Math.abs(t.rect.x-e.rect.x)<5e-4&&Math.abs(t.rect.y-e.rect.y)<5e-4&&Math.abs(t.rect.w-e.rect.w)<5e-4&&Math.abs(t.rect.h-e.rect.h)<5e-4}function Ke(t,e){let n=qe[t];return!e||e<=0||e>=n[n.length-1]?n:[...n.filter(r=>r<e),Math.round(e)]}function kt(t){let{src:e,framing:n,deviceRatios:r,tabletInherits:i="desktop"}=t;if(!e||!r)return"single";let o=r.mobile===r.desktop&&r.tablet===r.desktop,a=O(n);if(!a&&o)return"single";let s=x(e)&&!ze(e);if(!a)return s?"picture":"single";let u=n?.source&&n.source.width>0&&n.source.height>0?n.source:null,c=de({framing:n,ratios:r,tabletInherits:i,source:u});return ue.some(l=>c[l].rect!==null)?!s||!u?"css-fallback":o&&N(c.desktop,c.tablet)&&N(c.desktop,c.mobile)?"single-trim":"picture":o||!s?"single":"picture"}function Ct(t){let e=t.useCase??"general",n=t.width??Ve(e),r=d(t.ratio)??16/9,i=Math.max(1,Math.round(n/r)),o=t.framing?.source&&t.framing.source.width>0&&t.framing.source.height>0?t.framing.source:null,a=U({framing:t.framing,device:"desktop",targetRatio:t.ratio,tabletInherits:t.tabletInherits,source:o}),s=!a.derived&&o?L(a.rect,o):null;return{src:W(t.src,{useCase:e,width:n,height:i,fit:"crop",trim:s,focus:s?null:P(t.framing)}),width:n,height:i}}function vt(t){let{src:e,useCase:n="general",ratios:r,framing:i,tabletInherits:o="desktop",maxWidth:a}=t;if(!x(e))return null;let s=i?.source&&i.source.width>0&&i.source.height>0?i.source:null,u=P(i),c=de({framing:i,ratios:r,tabletInherits:o,source:s}),m=b=>{let{ratio:j,rect:H}=c[b],w=j?d(j)??16/9:null,V=H&&s?L(H,s):null,k=Ke(b,a),A=[],fe=k.map(I=>{let B=w?W(e,{useCase:n,width:I,height:Math.max(1,Math.round(I/w)),fit:"crop",trim:V,focus:V?null:u}):W(e,{useCase:n,width:I,fit:"scale-down"});return A.push(B),`${B} ${I}w`}),C=k[k.length-1],G=s?s.width/s.height:null,he=w?Math.max(1,Math.round(C/w)):G?Math.max(1,Math.round(C/G)):null,be=A[A.length-1];return{device:b,media:b==="desktop"?void 0:R[b],src:be,srcSet:fe.join(", "),sizes:t.sizes?.[b]??"100vw",width:C,height:he,urls:A}},l=m("mobile"),h=m("tablet"),g=m("desktop"),f=N(c.tablet,c.desktop)?null:h,F=f?[{media:R.mobile,href:l.src,imageSrcSet:l.srcSet,imageSizes:l.sizes},{media:R.tablet,href:f.src,imageSrcSet:f.srcSet,imageSizes:f.sizes},{media:R.desktop,href:g.src,imageSrcSet:g.srcSet,imageSizes:g.sizes}]:[{media:R.mobile,href:l.src,imageSrcSet:l.srcSet,imageSizes:l.sizes},{media:"(min-width: 768px)",href:g.src,imageSrcSet:g.srcSet,imageSizes:g.sizes}],pe=Array.from(new Set([...l.urls,...f?f.urls:[],...g.urls]));return{mobile:l,tablet:f,desktop:g,preloads:F,allVariantUrls:pe}}var me=v(q()),Ye={protection:M,imageDownloadUrl:()=>null},ge=(0,y.createContext)(Ye);function Dt({protection:t,websiteId:e,apiBase:n="",children:r}){let i=(0,y.useMemo)(()=>({protection:t??M,imageDownloadUrl:(o,a)=>{let s=ce(o);if(!e||!s)return null;let u=`${n}/api/public/sites/${encodeURIComponent(e)}/images/${encodeURIComponent(s)}/download`,c=new URLSearchParams;a&&c.set("name",a);let m=c.toString();return m?`${u}?${m}`:u}}),[t,e,n]);return(0,me.jsx)(ge.Provider,{value:i,children:r})}function _t(){return(0,y.useContext)(ge)}export{Xe as a,Ze as b,rt as c,it as d,re as e,ve as f,P as g,U as h,ct as i,Ne as j,ht as k,bt as l,ce as m,ze as n,W as o,St as p,Ft as q,kt as r,Ct as s,vt as t,Je as u,et as v,tt as w,Dt as x,_t as y};
2
+ //# sourceMappingURL=chunk-POG53MIA.js.map