@outmarket-ai/react-sdk 0.1.0-alpha.20 → 0.1.0-alpha.21

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 (355) hide show
  1. package/dist/{AddNoteDialog-B0QU5RtL.js → AddNoteDialog-BDeTEwwM.js} +1 -1
  2. package/dist/{AlertDialog-B02zPEDi.js → AlertDialog-D5MGd3ig.js} +1 -1
  3. package/dist/{ApproveWorkflowsList-CIShtUGD.js → ApproveWorkflowsList--Luovw6Q.js} +1 -1
  4. package/dist/{BORLetterEditor-6WZhlTuS.js → BORLetterEditor-fOPwn-Ad.js} +1 -1
  5. package/dist/{BillDetailModal-CgBvra8F.js → BillDetailModal-BZRIntoh.js} +1 -1
  6. package/dist/{CoiIssueHolderModal-Djbpd1IP.js → CoiIssueHolderModal-DGaHA_C5.js} +1 -1
  7. package/dist/{DeletePromptDialog-4hYd92Tn.js → DeletePromptDialog-DYH27rP8.js} +1 -1
  8. package/dist/{EmailFormatSelectionDialog-BS0tVBtB.js → EmailFormatSelectionDialog-BSnfAf9P.js} +1 -1
  9. package/dist/{ExcelExportPreviewDialog-UUhI0h1G.js → ExcelExportPreviewDialog-D8VOzrxP.js} +1 -1
  10. package/dist/{ExplainPanel-B6bJOITi.js → ExplainPanel-PGsqkuZc.js} +1 -1
  11. package/dist/{ExportDialog-CdynRozZ.js → ExportDialog-Cw4qI_LD.js} +1 -1
  12. package/dist/{ExportToAmsDialog-CK_igAUe.js → ExportToAmsDialog-Cuuc3kRS.js} +1 -1
  13. package/dist/{ExportToDriveDialog-C4NpEVO_.js → ExportToDriveDialog-ii4jJwDn.js} +1 -1
  14. package/dist/{FeedbackTool-CqSBMYwG.js → FeedbackTool-W3nl0F62.js} +1 -1
  15. package/dist/{LayerDetailModal-R32oQ3ku.js → LayerDetailModal-DvI028jt.js} +1 -1
  16. package/dist/{LogoEditor-kavvRFeG.js → LogoEditor-Aqs_Firq.js} +1 -1
  17. package/dist/{MarkdownExportPreviewDialog-DtID3i1g.js → MarkdownExportPreviewDialog-DMH34AYn.js} +1 -1
  18. package/dist/{NotificationDrawer-J690JlaE.js → NotificationDrawer-_FH6Ng1J.js} +1 -1
  19. package/dist/{PhoneNumbersDisplay-CpJLjZhW.js → PhoneNumbersDisplay-ChXpXlM7.js} +1 -1
  20. package/dist/{PlanSelector-x-19W5x3.js → PlanSelector-HGIlt_zH.js} +1 -1
  21. package/dist/{PlanSettingsModal-B9V-3rzb.js → PlanSettingsModal-Ct-UpuYX.js} +1 -1
  22. package/dist/{PlanWizardModal-mJsbYjP2.js → PlanWizardModal-BLN92E-D.js} +1 -1
  23. package/dist/{RenameAssetDialog-BDQxC7OQ.js → RenameAssetDialog-BUQkPleU.js} +1 -1
  24. package/dist/{SaveBlockDialog-DVFBUOZV.js → SaveBlockDialog-CYdoGHY-.js} +1 -1
  25. package/dist/{SaveOutlineDialog-D1KW1LrL.js → SaveOutlineDialog-CUu8sYbF.js} +1 -1
  26. package/dist/{SavePromptDialog-BViFG3gX.js → SavePromptDialog-B86wFbuX.js} +1 -1
  27. package/dist/{ShareResourceDialog-Cp1WBQMw.js → ShareResourceDialog-Dl3HCdtD.js} +1 -1
  28. package/dist/{TermsNoticeModal-NdxPbybv.js → TermsNoticeModal-DJnt_wTm.js} +1 -1
  29. package/dist/{TowerAlertModal-krq8iQFj.js → TowerAlertModal-BlfZBZe4.js} +1 -1
  30. package/dist/{TowerSummaryModal-5R79NO1E.js → TowerSummaryModal-Da5xP6VO.js} +1 -1
  31. package/dist/{VaultSettingsDialog-gm7M1Xku.js → VaultSettingsDialog-V7uIh5ua.js} +1 -1
  32. package/dist/{ViewNoteDialog-D9ph_o11.js → ViewNoteDialog-CZZHgnmn.js} +1 -1
  33. package/dist/{WhatsNewProvider-S1H08mI7.js → WhatsNewProvider-CzATiJPS.js} +1 -1
  34. package/dist/{WidgetRawDataView-AvV5RfGZ.js → WidgetRawDataView-6Jh2kRRw.js} +1 -1
  35. package/dist/{abap-BeF1Hrob.js → abap-BBFQNxwA.js} +1 -1
  36. package/dist/{abnf-DNOK2dWs.js → abnf-DF4NYk5N.js} +1 -1
  37. package/dist/{actionscript-BqsdGvay.js → actionscript-DQ7jN7CI.js} +1 -1
  38. package/dist/{activityLog-1Ei6neq3.js → activityLog-HN5jqLLO.js} +1 -1
  39. package/dist/{ada-jVbnqboO.js → ada-DUaMGbMd.js} +1 -1
  40. package/dist/{agda-CdPxs9EQ.js → agda-CfzmnNLy.js} +1 -1
  41. package/dist/{al-DVrvkhhQ.js → al-Caxukjfc.js} +1 -1
  42. package/dist/{antlr4-DBhNVHYW.js → antlr4-DK3nxydh.js} +1 -1
  43. package/dist/{apacheconf-Bdr01SVe.js → apacheconf-YhY8l2K3.js} +1 -1
  44. package/dist/{apex-D7TA-Y9L.js → apex-DOxFkvIE.js} +1 -1
  45. package/dist/{apl-CX4UcARX.js → apl-Chktf8sB.js} +1 -1
  46. package/dist/{applescript-D2EIw454.js → applescript-Dii6SIQl.js} +1 -1
  47. package/dist/{aql-D2XfHkhu.js → aql-DnFSehxn.js} +1 -1
  48. package/dist/{arduino-D7Y8yYD9.js → arduino-esml1pqd.js} +1 -1
  49. package/dist/{arff-C5PAyce3.js → arff-7ysjwjw5.js} +1 -1
  50. package/dist/{asciidoc-DpASUyP1.js → asciidoc-DYXOP4lq.js} +1 -1
  51. package/dist/{asm6502-DlBTCQf_.js → asm6502-BUN9R22Q.js} +1 -1
  52. package/dist/{asmatmel-BUaOz0yY.js → asmatmel-b-P5Hdaa.js} +1 -1
  53. package/dist/{aspnet-CrZYYkkE.js → aspnet-Cqqp10XW.js} +1 -1
  54. package/dist/{autohotkey-CNyshobb.js → autohotkey-BQcSUaRl.js} +1 -1
  55. package/dist/{autoit-CIIJC_4I.js → autoit-CiYh23Dp.js} +1 -1
  56. package/dist/{avisynth-CcmMa10N.js → avisynth-CBjUxQxP.js} +1 -1
  57. package/dist/{avro-idl-1nfK7zfe.js → avro-idl-C4NvncJt.js} +1 -1
  58. package/dist/{bash-NHup-hMx.js → bash-B_bavvVC.js} +1 -1
  59. package/dist/{basic-DKWl5tUA.js → basic-A8PDqXWG.js} +1 -1
  60. package/dist/{batch-m2ZhLR3M.js → batch-BzuBJeVY.js} +1 -1
  61. package/dist/{bbcode-CIVL9oIh.js → bbcode-DOYoSCA1.js} +1 -1
  62. package/dist/{bell-DThQJAGJ.js → bell-CxBaBvQx.js} +1 -1
  63. package/dist/{bicep-oRhTLZ6Y.js → bicep-DoWNr4H3.js} +1 -1
  64. package/dist/{birb-BhP4gOP5.js → birb-DsV2B22B.js} +1 -1
  65. package/dist/{bison-P8aZHZJO.js → bison-DEOPPC6Y.js} +1 -1
  66. package/dist/{blockEditorContent-xv04nEAu.js → blockEditorContent-B9msP-C2.js} +1 -1
  67. package/dist/{bnf-DKwFP_KA.js → bnf-Cnwo6IoR.js} +1 -1
  68. package/dist/{brainfuck-DDNhRJoB.js → brainfuck-vImIqz-B.js} +1 -1
  69. package/dist/{brightscript-BoJQ6Nfm.js → brightscript-CjT5L0aZ.js} +1 -1
  70. package/dist/{bro-DNh3FzKr.js → bro-DJEJHqAb.js} +1 -1
  71. package/dist/{bsl-CQKOhAx4.js → bsl-mXp8NjxB.js} +1 -1
  72. package/dist/{c-B95wonXF.js → c-BhLllB9k.js} +1 -1
  73. package/dist/{calendar-uA1wH8sn.js → calendar-DFABOvz-.js} +1 -1
  74. package/dist/{cfscript-VHrVsJQP.js → cfscript-CY1w0UF8.js} +1 -1
  75. package/dist/{chaiscript-DoIHZCcF.js → chaiscript-6wE42tf6.js} +1 -1
  76. package/dist/{cil-DziF6w22.js → cil-Bs42Nath.js} +1 -1
  77. package/dist/{clike-CVjuRGGD.js → clike-BijSspoB.js} +1 -1
  78. package/dist/{clojure-DjxuXlHP.js → clojure-DXn4S6Qc.js} +1 -1
  79. package/dist/{cmake-CiSZC7rK.js → cmake-BB0XTCCh.js} +1 -1
  80. package/dist/{cobol-C_p56rwf.js → cobol-FRRqgCyB.js} +1 -1
  81. package/dist/{coffeescript-B3wEdLCG.js → coffeescript-25pgJj6d.js} +1 -1
  82. package/dist/{concurnas-BtvMkSbY.js → concurnas-D5dURWYI.js} +1 -1
  83. package/dist/{contactsList-B4gMAgq7.js → contactsList-Dq6F0nBE.js} +2 -2
  84. package/dist/{copyPreviewToClipboard-BCgxCEeu.js → copyPreviewToClipboard-CrqdB_4R.js} +1 -1
  85. package/dist/{coq-Cco7Yf2y.js → coq-Cxopjvq4.js} +1 -1
  86. package/dist/{core-B52RSf4N.js → core-CEc3Ym_U.js} +1 -1
  87. package/dist/{cpp-kFd9e2eu.js → cpp-WKrU9ffg.js} +1 -1
  88. package/dist/{crystal-D_5f8hNl.js → crystal-Csapjd30.js} +1 -1
  89. package/dist/{csharp-B5HSAi3L.js → csharp-D8p6gSTh.js} +1 -1
  90. package/dist/{cshtml-DHFjlHuD.js → cshtml-CCq9eJl1.js} +1 -1
  91. package/dist/{csp-DuM54GNd.js → csp-BQgcRxDV.js} +1 -1
  92. package/dist/{css-Mlysg0Eu.js → css--P0MMAmv.js} +1 -1
  93. package/dist/{css-extras-CxcxEALo.js → css-extras-DhoYdS_M.js} +1 -1
  94. package/dist/{csv-CDAyTEO1.js → csv-CFipGj-_.js} +1 -1
  95. package/dist/{cypher-DjjmK_Sq.js → cypher-NjtUqGA9.js} +1 -1
  96. package/dist/{d-BZKYwnUm.js → d-DWkCnnHX.js} +1 -1
  97. package/dist/{dart-plc15Hyy.js → dart-DJRKKZB0.js} +1 -1
  98. package/dist/{dataweave-BWHekKxi.js → dataweave-B_POfrSO.js} +1 -1
  99. package/dist/{dax-BsvThJQH.js → dax-CJRdbl2f.js} +1 -1
  100. package/dist/{dhall-CkJNnxML.js → dhall-CKXLV0Bx.js} +1 -1
  101. package/dist/{diff-C0AqVrco.js → diff-CnH8ceri.js} +1 -1
  102. package/dist/{django-DtxAfCpY.js → django-C-F5HBRJ.js} +1 -1
  103. package/dist/{dns-zone-file-DdLUKAzs.js → dns-zone-file-1wvplXL3.js} +1 -1
  104. package/dist/{docker-CzDQZNjJ.js → docker-UadYWJ2r.js} +1 -1
  105. package/dist/{dot-CfZ_yfvK.js → dot-Dno21wOy.js} +1 -1
  106. package/dist/{ebnf-BQ60GNM8.js → ebnf-DpYaazc-.js} +1 -1
  107. package/dist/{editCarrierDialog-DGdf9Rq5.js → editCarrierDialog-DL1oQuBI.js} +1 -1
  108. package/dist/{editorconfig-BBEBbyBq.js → editorconfig-CWATlQqG.js} +1 -1
  109. package/dist/{eiffel-CDxkn4vq.js → eiffel-4KPTs0up.js} +1 -1
  110. package/dist/{ejs-B1FJxgOP.js → ejs-Cx5Zgf6Q.js} +1 -1
  111. package/dist/{elixir-BSUrUzdI.js → elixir-ByraU5cG.js} +1 -1
  112. package/dist/{elm-Kr5zvUHk.js → elm-yjA02wGr.js} +1 -1
  113. package/dist/{erb-BbJ1xriH.js → erb-CBmQJe6z.js} +1 -1
  114. package/dist/{erlang-CaSGWzRc.js → erlang-DTe3Pxbj.js} +1 -1
  115. package/dist/{etlua-BH_QHf82.js → etlua-B57gV6Bm.js} +1 -1
  116. package/dist/{excel-formula-C4K1Xymq.js → excel-formula-BVeK1rMY.js} +1 -1
  117. package/dist/{exportFileGeneration-D32KAGo1.js → exportFileGeneration-BwdVpyZy.js} +1 -1
  118. package/dist/{exportImageReadiness-BTrkiI55.js → exportImageReadiness-CoRFPI1M.js} +1 -1
  119. package/dist/{exportImageReadinessNotifier-BbCKWYjA.js → exportImageReadinessNotifier-BOLEaiRY.js} +1 -1
  120. package/dist/{exportPageHtml-lGyIi1LN.js → exportPageHtml-BZCFlrQ6.js} +1 -1
  121. package/dist/{exportPreviewToDocx-BXGRUrbW.js → exportPreviewToDocx-BSF3nsAB.js} +2 -2
  122. package/dist/{exportPreviewToPdf-Dttq0c48.js → exportPreviewToPdf-CRpJ-gEX.js} +1 -1
  123. package/dist/{factor-CP2llNRq.js → factor-L19E56Xd.js} +1 -1
  124. package/dist/{false-C0n6etdS.js → false-DXofKZkq.js} +1 -1
  125. package/dist/{firestore-security-rules-DVjH8xTP.js → firestore-security-rules-CGO-mOId.js} +1 -1
  126. package/dist/{flask-conical-DEZbpite.js → flask-conical-qfmeYoJ0.js} +1 -1
  127. package/dist/{flow-D-kc0yOO.js → flow-UHsVwzJ9.js} +1 -1
  128. package/dist/{fortran-rL-bzLmX.js → fortran--ULGUKz4.js} +1 -1
  129. package/dist/{fsharp-CKqwcyyY.js → fsharp-C5w0y7hO.js} +1 -1
  130. package/dist/{ftl-egv0jEIh.js → ftl-CzzUc8D-.js} +1 -1
  131. package/dist/{gap-DYnw-81Z.js → gap-C_3nqnjp.js} +1 -1
  132. package/dist/{gcode-CuSK5Mlp.js → gcode-B4MH8Abc.js} +1 -1
  133. package/dist/{gdscript-BYDdUU20.js → gdscript-DtiCUUUQ.js} +1 -1
  134. package/dist/{gedcom-CT1U-yJy.js → gedcom-D0uImtbf.js} +1 -1
  135. package/dist/{gherkin-CGPCynt8.js → gherkin-y7J5p9lt.js} +1 -1
  136. package/dist/{git-BRJ6tBMc.js → git-CaUQIJ5f.js} +1 -1
  137. package/dist/{glsl-WDnQrYzR.js → glsl-rtu8bOal.js} +1 -1
  138. package/dist/{gml-BoOHEv7y.js → gml-BlY95YuC.js} +1 -1
  139. package/dist/{gn-OWVn09b8.js → gn-DW1MI4sO.js} +1 -1
  140. package/dist/{go-CJardDB3.js → go-BFXnOQXc.js} +1 -1
  141. package/dist/{go-module-CMu37pO2.js → go-module-DtlEBSbV.js} +1 -1
  142. package/dist/{graphql-Cg2Ttieq.js → graphql-C2mn5kZ5.js} +1 -1
  143. package/dist/{groovy-DlvK8AQ_.js → groovy-C67UrWz7.js} +1 -1
  144. package/dist/{haml-Bfwx3_wU.js → haml-Cjh7rfeX.js} +1 -1
  145. package/dist/{handlebars-DxQXkSKc.js → handlebars-847jBPq2.js} +1 -1
  146. package/dist/{haskell-CLPjC9Sk.js → haskell-BdfybM0r.js} +1 -1
  147. package/dist/{haxe-CP-KPpwo.js → haxe-cxma7vdR.js} +1 -1
  148. package/dist/{hcl-9-ICv7iz.js → hcl-BqHh_6l5.js} +1 -1
  149. package/dist/{highlighter-mvYQ4WPn.js → highlighter-DTj18SIh.js} +1 -1
  150. package/dist/{hlsl-D_NxaPj_.js → hlsl-Chigmrfh.js} +1 -1
  151. package/dist/{hoon-bo9ppJ71.js → hoon-BzAAazeb.js} +1 -1
  152. package/dist/{hpkp-1y-P-oqI.js → hpkp-962ed5Dl.js} +1 -1
  153. package/dist/{hsts-Bmm6ZGFx.js → hsts-CacTEhtr.js} +1 -1
  154. package/dist/{http-B8_9Hbc5.js → http-BMziRbue.js} +1 -1
  155. package/dist/{ichigojam-a4kn7E23.js → ichigojam-LJKpl5Qs.js} +1 -1
  156. package/dist/{icon-bBKPJdtK.js → icon-BFm2xZ6K.js} +1 -1
  157. package/dist/{icu-message-format-CxZK0hT1.js → icu-message-format-DI4dtzRX.js} +1 -1
  158. package/dist/{idris-BnvZweJK.js → idris-BW3aar4y.js} +1 -1
  159. package/dist/{iecst--DF_ijX8.js → iecst-B0fx8fOm.js} +1 -1
  160. package/dist/{ignore-DhcOLH9C.js → ignore-PcUCCs3U.js} +1 -1
  161. package/dist/{image-plus-DxY6VV3f.js → image-plus-D_pvY3QX.js} +1 -1
  162. package/dist/{index-DDC-Cr8l.js → index-CEGNPvYd.js} +1 -1
  163. package/dist/{index-C7xuGCwg.js → index-DRazq4dz.js} +1 -1
  164. package/dist/{index-HgfDbuTc.js → index-DxHYUess.js} +1 -1
  165. package/dist/{index-BkeW7T8X.js → index-RiF1JfkO.js} +1 -1
  166. package/dist/{index-DGl2QwrW.js → index-_x7UHLhl.js} +1 -1
  167. package/dist/{index-DD7sr1ji.js → index-cjyF6XK_.js} +1 -1
  168. package/dist/index-jnJl2n1k.js +1 -0
  169. package/dist/{index.client-BTRQheUT.js → index.client-B7eiqEC6.js} +1 -1
  170. package/dist/index.js +1 -1
  171. package/dist/{inform7-C0TEb_Ba.js → inform7-vlRsrY0j.js} +1 -1
  172. package/dist/{ini-Dz-WeUE0.js → ini-DFkZDNuc.js} +1 -1
  173. package/dist/{io-C4-iwMf0.js → io-BLcXupxn.js} +1 -1
  174. package/dist/{j-CXTLduJd.js → j-CwOjaGt7.js} +1 -1
  175. package/dist/{java-DS9LGy6I.js → java-Bku7ADjC.js} +1 -1
  176. package/dist/{javadoc-BN_AZuit.js → javadoc-DYMmrIN3.js} +1 -1
  177. package/dist/{javadoclike-BfjzSbYW.js → javadoclike-BtobxQjB.js} +1 -1
  178. package/dist/{javascript-CdL60QMu.js → javascript-CYi-Pp7p.js} +1 -1
  179. package/dist/{javastacktrace-BQ7LtoQt.js → javastacktrace-L3OA-Fk5.js} +1 -1
  180. package/dist/{jexl-Cr12k8ff.js → jexl-DW8QQVk4.js} +1 -1
  181. package/dist/{jolie-B0dA9VW0.js → jolie-H8tJtK-J.js} +1 -1
  182. package/dist/{jq-LgaHrPRN.js → jq-BZsTDMY2.js} +1 -1
  183. package/dist/{js-extras-DIZkOYSp.js → js-extras-Dodk8unJ.js} +1 -1
  184. package/dist/{js-templates-BDUDbiAD.js → js-templates-D_IhGgNE.js} +1 -1
  185. package/dist/{jsdoc-BbzlqJBO.js → jsdoc-CMtphQNs.js} +1 -1
  186. package/dist/{json-BkUfRc_0.js → json-qBVw7TMH.js} +1 -1
  187. package/dist/{json5-CsBtNNAM.js → json5-BmGi5Cbf.js} +1 -1
  188. package/dist/{jsonp-LbfBFdG8.js → jsonp-Cgr5E6dt.js} +1 -1
  189. package/dist/{jsstacktrace-DeUrF3P2.js → jsstacktrace-0CV2e6SL.js} +1 -1
  190. package/dist/{jsx-s1X1pgZR.js → jsx-CQAASbFR.js} +1 -1
  191. package/dist/{julia-DMAuK9aH.js → julia-C-x5IHIs.js} +1 -1
  192. package/dist/{keepalived-Dj4vKrrs.js → keepalived-DCj6Fy4H.js} +1 -1
  193. package/dist/{keyman-BJ8Ip8ze.js → keyman-DpK64Pr1.js} +1 -1
  194. package/dist/{kotlin-DJmpcmev.js → kotlin-njrx2-H1.js} +1 -1
  195. package/dist/{kumir-DpLmmW0T.js → kumir-YIpxlpmi.js} +1 -1
  196. package/dist/{kusto-D_qvVnnv.js → kusto-D2Ub3x-Y.js} +1 -1
  197. package/dist/{latex-D0pCP5h-.js → latex-CuZVBHko.js} +1 -1
  198. package/dist/{latte-CUOofMQd.js → latte-BYtff_V1.js} +1 -1
  199. package/dist/{less-Va0AOwNi.js → less-CUKGgO3n.js} +1 -1
  200. package/dist/{lilypond-SjYy5WAA.js → lilypond-Cfvlia6q.js} +1 -1
  201. package/dist/{link-2-off-DAVh_MC4.js → link-2-off-D4K3XQT4.js} +1 -1
  202. package/dist/{liquid-DgxS10M8.js → liquid-RYn9Tnyl.js} +1 -1
  203. package/dist/{lisp-C1kay_9m.js → lisp-BgnWmWLr.js} +1 -1
  204. package/dist/{livescript-BIbIpZNN.js → livescript-DreX1R6P.js} +1 -1
  205. package/dist/{llvm-DTqG6y9o.js → llvm-BXB-_Kuu.js} +1 -1
  206. package/dist/{lock-keyhole-BNWqqXXs.js → lock-keyhole-2lBG_wsv.js} +1 -1
  207. package/dist/{log-CnnEmUSs.js → log-B7C5Xnpz.js} +1 -1
  208. package/dist/{lolcode-CT2J2Ne4.js → lolcode-DC-VGVuy.js} +1 -1
  209. package/dist/{lua-N9-NyO1u.js → lua-CEAXlRT7.js} +1 -1
  210. package/dist/{lucide-react-BD7aM5XS.js → lucide-react-DPeTM8o7.js} +1 -1
  211. package/dist/{luckyexcel.umd-GC_lw_Qx.js → luckyexcel.umd-Dv1cFbEN.js} +1 -1
  212. package/dist/{magma-CpK8l-R5.js → magma-ChIZ8SaQ.js} +1 -1
  213. package/dist/{makefile-Bab7qRI9.js → makefile-bNmYd4Re.js} +1 -1
  214. package/dist/{markdown-CIR5DagS.js → markdown-BBeyrLLj.js} +1 -1
  215. package/dist/{markup-CaUw_zTn.js → markup-D1LVkN77.js} +1 -1
  216. package/dist/{markup-templating-YpACrJHf.js → markup-templating-D-5D4Mng.js} +1 -1
  217. package/dist/{matlab-DiFvCh2R.js → matlab-Bi6-mE4M.js} +1 -1
  218. package/dist/{maxscript-B5uG8Vge.js → maxscript-BgIHrgCT.js} +1 -1
  219. package/dist/{mel-Dt7eDuN-.js → mel-DTWcH-JU.js} +1 -1
  220. package/dist/{mermaid-DChHjQ3l.js → mermaid-9tsZVqLo.js} +1 -1
  221. package/dist/{mizar-D9erKwij.js → mizar-CMANINnc.js} +1 -1
  222. package/dist/{mongodb-u2UpCt2i.js → mongodb-i9C3x2iq.js} +1 -1
  223. package/dist/{monkey-CExL775T.js → monkey-BU_OkP4N.js} +1 -1
  224. package/dist/{moonscript-C49Ps9Ea.js → moonscript-Ckup0PlJ.js} +1 -1
  225. package/dist/{n1ql-DEnXDJJ1.js → n1ql-CnZVnX19.js} +1 -1
  226. package/dist/{n4js-DnwVK0nO.js → n4js-DFSVDXAO.js} +1 -1
  227. package/dist/{nand2tetris-hdl-CJe-5jlm.js → nand2tetris-hdl-DlpjMvhx.js} +1 -1
  228. package/dist/{naniscript-CUYfzV-0.js → naniscript-q09p96D9.js} +1 -1
  229. package/dist/{nasm-B5YjpGFP.js → nasm-48-ngNnW.js} +1 -1
  230. package/dist/{neon-TVj3taYU.js → neon-DS7U3JRx.js} +1 -1
  231. package/dist/{nevod-CwFdTyvl.js → nevod-D8Z8ipCl.js} +1 -1
  232. package/dist/{nginx-Ciux24IR.js → nginx-BJlqbVJf.js} +1 -1
  233. package/dist/{nim-DMpd8WE8.js → nim-Ormp-iIf.js} +1 -1
  234. package/dist/{nix-BT26epyg.js → nix-CzSjtARF.js} +1 -1
  235. package/dist/{nsis-LgJN8LCt.js → nsis-BTAF1Bhj.js} +1 -1
  236. package/dist/{objectivec-CMpctoJc.js → objectivec-eZQt1O8k.js} +1 -1
  237. package/dist/{ocaml-CWEG0K4d.js → ocaml-Dbla3l_h.js} +1 -1
  238. package/dist/{opencl-DgzRUhQa.js → opencl-3BQ9ow4O.js} +1 -1
  239. package/dist/{openqasm-0YBYVhBS.js → openqasm-D-iVCKtx.js} +1 -1
  240. package/dist/{oz-D6mqGTcu.js → oz-CfcQG3yT.js} +1 -1
  241. package/dist/{paintbrush-DlCTYfl6.js → paintbrush-p4cHXFV7.js} +1 -1
  242. package/dist/{parigp-6gsh2MSj.js → parigp-BntCTYGx.js} +1 -1
  243. package/dist/{parser-BOtzGMpB.js → parser-BgeM_XgN.js} +1 -1
  244. package/dist/{pascal-g6LGMBc7.js → pascal-C-ovsgwb.js} +1 -1
  245. package/dist/{pascaligo-BP7rZZZB.js → pascaligo-BCvKoUZk.js} +1 -1
  246. package/dist/{pcaxis-CA-e8XZR.js → pcaxis-DfKrJP8M.js} +1 -1
  247. package/dist/{pen-tool-Dnpn6hvq.js → pen-tool-CCbmxrun.js} +1 -1
  248. package/dist/{peoplecode-BjK0xDz3.js → peoplecode-BgNHoSnF.js} +1 -1
  249. package/dist/{perl-BvEVxPqw.js → perl-D6NDVoE2.js} +1 -1
  250. package/dist/{php-CWRjIsT3.js → php-B1EiJ86e.js} +1 -1
  251. package/dist/{php-extras-BjxY9cr2.js → php-extras-BtHSA6xS.js} +1 -1
  252. package/dist/{phpdoc-sdnOGqxu.js → phpdoc-CtT6zxDV.js} +1 -1
  253. package/dist/{plsql-BhCWJ8Md.js → plsql-D5hvZJ6-.js} +1 -1
  254. package/dist/{plyr-QynO-6kd.js → plyr-BmMcOd0B.js} +1 -1
  255. package/dist/{powerquery-Cceh4-sg.js → powerquery-CbC1Rruz.js} +1 -1
  256. package/dist/{powershell-BgqGNyQ0.js → powershell-D-kf7ag3.js} +1 -1
  257. package/dist/{processing-gfaIndwY.js → processing-z7EpyWD-.js} +1 -1
  258. package/dist/{prolog-C04T78J8.js → prolog-DyzjSi0z.js} +1 -1
  259. package/dist/{promql-BGMPtHf8.js → promql-C_-JasTo.js} +1 -1
  260. package/dist/{properties-DcypnMyZ.js → properties-B6cMtz4x.js} +1 -1
  261. package/dist/{protobuf-DWu13szW.js → protobuf-BVOGKf1d.js} +1 -1
  262. package/dist/{psl-VaHh3IQH.js → psl-DNEBGtBN.js} +1 -1
  263. package/dist/{pug-CC-uI36k.js → pug-BZpAh5RA.js} +1 -1
  264. package/dist/{puppet-DFkPPQva.js → puppet-CzCRhsTf.js} +1 -1
  265. package/dist/{pure-CAMKvvl_.js → pure-C7dvFWFN.js} +1 -1
  266. package/dist/{purebasic-lSfXswVM.js → purebasic-BTipKd0w.js} +1 -1
  267. package/dist/{purescript-BewssIeD.js → purescript-a0K4Ku3e.js} +1 -1
  268. package/dist/{python-BUae7Trx.js → python-EcaEE4ja.js} +1 -1
  269. package/dist/{q-C6SCP8yO.js → q-NJiXgsGl.js} +1 -1
  270. package/dist/{qml-B0hEyuLe.js → qml-CgucsmdH.js} +1 -1
  271. package/dist/{qore-Dgtel3CW.js → qore-CGXoZB15.js} +1 -1
  272. package/dist/{qsharp-DPIkiLLe.js → qsharp-BItrQPb5.js} +1 -1
  273. package/dist/{quill-C-t-7aVw.js → quill-CR1UyjQT.js} +1 -1
  274. package/dist/{r-DWxo54fJ.js → r-D5a9mZc4.js} +1 -1
  275. package/dist/{racket-CJ49u_iI.js → racket-DBDDBkmZ.js} +1 -1
  276. package/dist/{reason-C0dhNyMk.js → reason-CRTEHSGn.js} +1 -1
  277. package/dist/{regex-D66pu4p8.js → regex-CzN5D_QP.js} +1 -1
  278. package/dist/{rego-BCpPy4zS.js → rego-Bn5A1Zsc.js} +1 -1
  279. package/dist/{renpy-Br3YcuKx.js → renpy-DlpwYhoo.js} +1 -1
  280. package/dist/{rest-DVx_xQcx.js → rest-dMF0v7NF.js} +1 -1
  281. package/dist/{rip-B0u0b3kU.js → rip-RxlTjYY0.js} +1 -1
  282. package/dist/{roboconf-D_V6BRfs.js → roboconf-DSSHOQQg.js} +1 -1
  283. package/dist/{robotframework-pzBqySSz.js → robotframework-BkzYZ-PT.js} +1 -1
  284. package/dist/{ruby-CZmLmj0f.js → ruby-CI54aDGp.js} +1 -1
  285. package/dist/{runtime-C-qIJtZS.js → runtime-NrR-iZBw.js} +26 -26
  286. package/dist/{rust-IQ50fkxR.js → rust-Co-qun80.js} +1 -1
  287. package/dist/{sas-CrTnoqC7.js → sas-BHtFrEGQ.js} +1 -1
  288. package/dist/{sass-BK68wNuN.js → sass-QzjJRZFZ.js} +1 -1
  289. package/dist/{scala-D1O6EqDX.js → scala-CED1X52N.js} +1 -1
  290. package/dist/{scheme-0xTKRnVO.js → scheme-CUcTsF7x.js} +1 -1
  291. package/dist/{scss-xVmTxTYk.js → scss-BYkDANLO.js} +1 -1
  292. package/dist/{shell-session-DxyaLhqn.js → shell-session-BCj63msb.js} +1 -1
  293. package/dist/{smali-CcfQjkDr.js → smali-E_EezaAn.js} +1 -1
  294. package/dist/{smalltalk-CDztUxtC.js → smalltalk-B1_NBig-.js} +1 -1
  295. package/dist/{smarty-B1Scgfo7.js → smarty-BsNnMDks.js} +1 -1
  296. package/dist/{sml-DTHSv5uc.js → sml-DAvMY7FG.js} +1 -1
  297. package/dist/{solidity-BWYYZue0.js → solidity-BW__ksYO.js} +1 -1
  298. package/dist/{solution-file-BuyXU1rY.js → solution-file-BCOBslPw.js} +1 -1
  299. package/dist/{soy-DbPZU2eU.js → soy-BP1wNI82.js} +1 -1
  300. package/dist/{sparql-DCoRDHGS.js → sparql-BghK8eEf.js} +1 -1
  301. package/dist/{splunk-spl-hWGywfPW.js → splunk-spl-CEGLiDJH.js} +1 -1
  302. package/dist/{sqf-DHw3RM99.js → sqf-eCpyIVyS.js} +1 -1
  303. package/dist/{sql-KVlgsNsi.js → sql-BbHX2KEs.js} +1 -1
  304. package/dist/{squirrel-BCfmiolp.js → squirrel-CmkUibCA.js} +1 -1
  305. package/dist/{stan-p6mkPYN2.js → stan-CIuFGirB.js} +1 -1
  306. package/dist/{stylus-DSHCBkUQ.js → stylus-DZruYk0o.js} +1 -1
  307. package/dist/{swift-Bj_ILzmy.js → swift-IVNV1jst.js} +1 -1
  308. package/dist/{systemd-CWaTPDTq.js → systemd-OPhHnMoP.js} +1 -1
  309. package/dist/{t4-cs-CTK6Rph1.js → t4-cs-CXVLxQtq.js} +1 -1
  310. package/dist/{t4-templating-8wpPkq8Q.js → t4-templating-3PCefCNq.js} +1 -1
  311. package/dist/{t4-vb-CrR4FB1Y.js → t4-vb-CcinHw58.js} +1 -1
  312. package/dist/{table-BBd46_dT.js → table-Ch7lW6AX.js} +1 -1
  313. package/dist/{tap-CH2X270M.js → tap-TagGVbt9.js} +1 -1
  314. package/dist/{tcl-CLOnd_jG.js → tcl-C21F2IhT.js} +1 -1
  315. package/dist/{templateSelectorDialog-CaHGH7cC.js → templateSelectorDialog-B4McjGn5.js} +2 -2
  316. package/dist/{textile-BFGAxu82.js → textile-DQq-gKPl.js} +1 -1
  317. package/dist/{toml-DWbj1mUa.js → toml-DK6Pi0dU.js} +1 -1
  318. package/dist/{tremor-DbIlYAvS.js → tremor-BFNqqKQS.js} +1 -1
  319. package/dist/{tsx-Cs18kGED.js → tsx-DgYALs4k.js} +1 -1
  320. package/dist/{tt2-Cgz8WWhQ.js → tt2-BtVOSMjr.js} +1 -1
  321. package/dist/{turtle-CYgpaquv.js → turtle-CZoNHsT0.js} +1 -1
  322. package/dist/{twig-Ddrfss2A.js → twig-pyMHfXCM.js} +1 -1
  323. package/dist/{typescript-D53wqMq0.js → typescript-ixojA7FE.js} +1 -1
  324. package/dist/{typoscript-D_euHGwj.js → typoscript-BG1QM7GT.js} +1 -1
  325. package/dist/{unrealscript-D5Rcnlcv.js → unrealscript-DCIIIFg1.js} +1 -1
  326. package/dist/{uorazor-CRANoEVV.js → uorazor-zULid2aj.js} +1 -1
  327. package/dist/{uri-El7-aEn2.js → uri-nXTUQit-.js} +1 -1
  328. package/dist/{usePromptLibraryMutations-CK_hIM4v.js → usePromptLibraryMutations-BQwy7esY.js} +1 -1
  329. package/dist/{useSupabaseBlobUrl-CUDMWNhf.js → useSupabaseBlobUrl-CehSq9rg.js} +1 -1
  330. package/dist/{useTermsNotice-BWepCPcT.js → useTermsNotice-NXUUMpf1.js} +1 -1
  331. package/dist/{user-plus-Ic2RGymA.js → user-plus-IDaa_DIP.js} +1 -1
  332. package/dist/{user-round-plus-CMTTz57a.js → user-round-plus-HHJfrcd-.js} +1 -1
  333. package/dist/{v-ByWGXVqS.js → v-BK4Lv86e.js} +1 -1
  334. package/dist/{vala-C2bsAnmI.js → vala-BSghZc08.js} +1 -1
  335. package/dist/{vbnet-CJLJfDBr.js → vbnet-BimeKTLc.js} +1 -1
  336. package/dist/{velocity-DBFp72T9.js → velocity-BYZn_kKF.js} +1 -1
  337. package/dist/{verilog-BcpcthMq.js → verilog-BUw29tAi.js} +1 -1
  338. package/dist/{vhdl-C7zurYxc.js → vhdl-D5d1o2L_.js} +1 -1
  339. package/dist/{vim-CxrdhO5W.js → vim-Mhkpzc-h.js} +1 -1
  340. package/dist/{visual-basic-BIUcnbK-.js → visual-basic-BKA74xAo.js} +1 -1
  341. package/dist/{warpscript-CE2wFzqs.js → warpscript-Bt-P6v1v.js} +1 -1
  342. package/dist/{wasm-OxH02MXC.js → wasm-BxK-pkMu.js} +1 -1
  343. package/dist/{web-idl-B3loxgf9.js → web-idl-CWmHpa8X.js} +1 -1
  344. package/dist/{wiki-Dqh0bogR.js → wiki-BJDGqrGK.js} +1 -1
  345. package/dist/{wolfram-DUZ0s8mZ.js → wolfram-fcm9UEUw.js} +1 -1
  346. package/dist/{wren-KAQE41mR.js → wren-BtepbvOM.js} +1 -1
  347. package/dist/{xeora-B-AfP8p_.js → xeora-BkUH9hqD.js} +1 -1
  348. package/dist/{xml-doc-B_AtW1Ld.js → xml-doc-V6gkrmqQ.js} +1 -1
  349. package/dist/{xojo-CevqEtZ4.js → xojo-BgGSVM_w.js} +1 -1
  350. package/dist/{xquery-BK4Tgq8g.js → xquery-BWevSuQd.js} +1 -1
  351. package/dist/{yaml-rrzawTxK.js → yaml-BsCQWiEY.js} +1 -1
  352. package/dist/{yang-C8Hj8nT9.js → yang-gAquNHOB.js} +1 -1
  353. package/dist/{zig-75qVKgfX.js → zig-BD4aClsx.js} +1 -1
  354. package/package.json +2 -2
  355. package/dist/index-BaEMX28x.js +0 -1
@@ -1 +1 @@
1
- import{dz as b}from"./runtime-C-qIJtZS.js";function f(n,i){for(var o=0;o<i.length;o++){const t=i[o];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in n)){const r=Object.getOwnPropertyDescriptor(t,e);r&&Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var s,c;function d(){if(c)return s;c=1,s=n,n.displayName="pascaligo",n.aliases=[];function n(i){(function(o){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,e=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return t}),r=o.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return e}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return e}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return e})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},p=["comment","keyword","builtin","operator","punctuation"].reduce(function(a,u){return a[u]=r[u],a},{});r["class-name"].forEach(function(a){a.inside=p})})(i)}return s}var l=d();const g=b(l),y=f({__proto__:null,default:g},[l]);export{y as p};
1
+ import{dz as b}from"./runtime-NrR-iZBw.js";function f(n,i){for(var o=0;o<i.length;o++){const t=i[o];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in n)){const r=Object.getOwnPropertyDescriptor(t,e);r&&Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var s,c;function d(){if(c)return s;c=1,s=n,n.displayName="pascaligo",n.aliases=[];function n(i){(function(o){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,e=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return t}),r=o.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return e}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return e}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return e})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},p=["comment","keyword","builtin","operator","punctuation"].reduce(function(a,u){return a[u]=r[u],a},{});r["class-name"].forEach(function(a){a.inside=p})})(i)}return s}var l=d();const g=b(l),y=f({__proto__:null,default:g},[l]);export{y as p};
@@ -1 +1 @@
1
- import{dz as u}from"./runtime-C-qIJtZS.js";function d(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(r,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var s,i;function l(){if(i)return s;i=1,s=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return s}var p=l();const c=u(p),g=d({__proto__:null,default:c},[p]);export{g as p};
1
+ import{dz as u}from"./runtime-NrR-iZBw.js";function d(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(r,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var s,i;function l(){if(i)return s;i=1,s=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return s}var p=l();const c=u(p),g=d({__proto__:null,default:c},[p]);export{g as p};
@@ -1,4 +1,4 @@
1
- import{cy as a}from"./runtime-C-qIJtZS.js";const e=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],t=a("eraser",e);const o=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],c=a("pen-tool",o);export{t as E,c as P};
1
+ import{cy as a}from"./runtime-NrR-iZBw.js";const e=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],t=a("eraser",e);const o=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],c=a("pen-tool",o);export{t as E,c as P};
2
2
  /**
3
3
  * @license lucide-react v0.539.0 - ISC
4
4
  *
@@ -1 +1 @@
1
- import{dz as c}from"./runtime-C-qIJtZS.js";function p(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const r in o)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(o,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1,i=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return i}var l=u();const d=c(l),f=p({__proto__:null,default:d},[l]);export{f as p};
1
+ import{dz as c}from"./runtime-NrR-iZBw.js";function p(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const r in o)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(o,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1,i=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return i}var l=u();const d=c(l),f=p({__proto__:null,default:d},[l]);export{f as p};
@@ -1 +1 @@
1
- import{dz as d}from"./runtime-C-qIJtZS.js";function l(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const s=Object.getOwnPropertyDescriptor(e,n);s&&Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a,i;function c(){if(i)return a;i=1,a=r,r.displayName="perl",r.aliases=[];function r(o){(function(t){var e=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,e].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,e].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,e+/\s*/.source+e].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(o)}return a}var u=c();const p=d(u),b=l({__proto__:null,default:p},[u]);export{b as p};
1
+ import{dz as d}from"./runtime-NrR-iZBw.js";function l(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const s=Object.getOwnPropertyDescriptor(e,n);s&&Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a,i;function c(){if(i)return a;i=1,a=r,r.displayName="perl",r.aliases=[];function r(o){(function(t){var e=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,e].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,e].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,e+/\s*/.source+e].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(o)}return a}var u=c();const p=d(u),b=l({__proto__:null,default:p},[u]);export{b as p};
@@ -1 +1 @@
1
- import{dz as a}from"./runtime-C-qIJtZS.js";import{r as c}from"./php-D0A5Cwxv.js";function p(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=c();const s=a(i),l=p({__proto__:null,default:s},[i]);export{l as p};
1
+ import{dz as a}from"./runtime-NrR-iZBw.js";import{r as c}from"./php-D0A5Cwxv.js";function p(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=c();const s=a(i),l=p({__proto__:null,default:s},[i]);export{l as p};
@@ -1 +1 @@
1
- import{dz as f}from"./runtime-C-qIJtZS.js";import{r as c}from"./php-D0A5Cwxv.js";function l(t,r){for(var e=0;e<r.length;e++){const a=r[e];if(typeof a!="string"&&!Array.isArray(a)){for(const n in a)if(n!=="default"&&!(n in t)){const o=Object.getOwnPropertyDescriptor(a,n);o&&Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>a[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1;var t=c();i=r,r.displayName="phpExtras",r.aliases=[];function r(e){e.register(t),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return i}var p=u();const b=f(p),g=l({__proto__:null,default:b},[p]);export{g as p};
1
+ import{dz as f}from"./runtime-NrR-iZBw.js";import{r as c}from"./php-D0A5Cwxv.js";function l(t,r){for(var e=0;e<r.length;e++){const a=r[e];if(typeof a!="string"&&!Array.isArray(a)){for(const n in a)if(n!=="default"&&!(n in t)){const o=Object.getOwnPropertyDescriptor(a,n);o&&Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>a[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1;var t=c();i=r,r.displayName="phpExtras",r.aliases=[];function r(e){e.register(t),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return i}var p=u();const b=f(p),g=l({__proto__:null,default:b},[p]);export{g as p};
@@ -1 +1 @@
1
- import{dz as s}from"./runtime-C-qIJtZS.js";import{r as c}from"./php-D0A5Cwxv.js";import{r as u}from"./javadoclike-odLU89VS.js";function g(t,n){for(var a=0;a<n.length;a++){const r=n[a];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const o=Object.getOwnPropertyDescriptor(r,e);o&&Object.defineProperty(t,e,o.get?o:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i,p;function d(){if(p)return i;p=1;var t=c(),n=u();i=a,a.displayName="phpdoc",a.aliases=[];function a(r){r.register(t),r.register(n),(function(e){var o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)})(r)}return i}var l=d();const f=s(l),b=g({__proto__:null,default:f},[l]);export{b as p};
1
+ import{dz as s}from"./runtime-NrR-iZBw.js";import{r as c}from"./php-D0A5Cwxv.js";import{r as u}from"./javadoclike-odLU89VS.js";function g(t,n){for(var a=0;a<n.length;a++){const r=n[a];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const o=Object.getOwnPropertyDescriptor(r,e);o&&Object.defineProperty(t,e,o.get?o:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i,p;function d(){if(p)return i;p=1;var t=c(),n=u();i=a,a.displayName="phpdoc",a.aliases=[];function a(r){r.register(t),r.register(n),(function(e){var o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)})(r)}return i}var l=d();const f=s(l),b=g({__proto__:null,default:f},[l]);export{b as p};
@@ -1 +1 @@
1
- import{dz as C}from"./runtime-C-qIJtZS.js";import{r as D}from"./sql-aYT6xcy6.js";function U(T,A){for(var E=0;E<A.length;E++){const I=A[E];if(typeof I!="string"&&!Array.isArray(I)){for(const R in I)if(R!=="default"&&!(R in T)){const N=Object.getOwnPropertyDescriptor(I,R);N&&Object.defineProperty(T,R,N.get?N:{enumerable:!0,get:()=>I[R]})}}}return Object.freeze(Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}))}var O,S;function M(){if(S)return O;S=1;var T=D();O=A,A.displayName="plsql",A.aliases=[];function A(E){E.register(T),E.languages.plsql=E.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),E.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return O}var L=M();const P=C(L),B=U({__proto__:null,default:P},[L]);export{B as p};
1
+ import{dz as C}from"./runtime-NrR-iZBw.js";import{r as D}from"./sql-aYT6xcy6.js";function U(T,A){for(var E=0;E<A.length;E++){const I=A[E];if(typeof I!="string"&&!Array.isArray(I)){for(const R in I)if(R!=="default"&&!(R in T)){const N=Object.getOwnPropertyDescriptor(I,R);N&&Object.defineProperty(T,R,N.get?N:{enumerable:!0,get:()=>I[R]})}}}return Object.freeze(Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}))}var O,S;function M(){if(S)return O;S=1;var T=D();O=A,A.displayName="plsql",A.aliases=[];function A(E){E.register(T),E.languages.plsql=E.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),E.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return O}var L=M();const P=C(L),B=U({__proto__:null,default:P},[L]);export{B as p};
@@ -1,2 +1,2 @@
1
- var ft=Object.defineProperty,yt=(e,i,t)=>i in e?ft(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,m=(e,i,t)=>yt(e,typeof i!="symbol"?i+"":i,t);import{dz as bt}from"./runtime-C-qIJtZS.js";function vt(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}function Oe(e,i){for(var t=0;t<i.length;t++){var s=i[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function wt(e,i,t){return i&&Oe(e.prototype,i),t&&Oe(e,t),e}function kt(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function _e(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);i&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function je(e){for(var i=1;i<arguments.length;i++){var t=arguments[i]!=null?arguments[i]:{};i%2?_e(Object(t),!0).forEach((function(s){kt(e,s,t[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_e(Object(t)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))}))}return e}var De={addCSS:!0,thumbWidth:15,watch:!0};function Tt(e,i){return(function(){return Array.from(document.querySelectorAll(i)).includes(this)}).call(e,i)}function Ct(e,i){if(e&&i){var t=new Event(i,{bubbles:!0});e.dispatchEvent(t)}}var Q=function(e){return e!=null?e.constructor:null},fe=function(e,i){return!!(e&&i&&e instanceof i)},He=function(e){return e==null},Re=function(e){return Q(e)===Object},At=function(e){return Q(e)===Number&&!Number.isNaN(e)},qe=function(e){return Q(e)===String},St=function(e){return Q(e)===Boolean},Et=function(e){return Q(e)===Function},Fe=function(e){return Array.isArray(e)},Ve=function(e){return fe(e,NodeList)},Pt=function(e){return fe(e,Element)},Mt=function(e){return fe(e,Event)},Nt=function(e){return He(e)||(qe(e)||Fe(e)||Ve(e))&&!e.length||Re(e)&&!Object.keys(e).length},D={nullOrUndefined:He,object:Re,number:At,string:qe,boolean:St,function:Et,array:Fe,nodeList:Ve,element:Pt,event:Mt,empty:Nt};function xt(e){var i="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return i?Math.max(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0}function Lt(e,i){if(1>i){var t=xt(i);return parseFloat(e.toFixed(t))}return Math.round(e/i)*i}var It=(function(){function e(i,t){vt(this,e),D.element(i)?this.element=i:D.string(i)&&(this.element=document.querySelector(i)),D.element(this.element)&&D.empty(this.element.rangeTouch)&&(this.config=je({},De,{},t),this.init())}return wt(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(i){var t=this,s=i?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(a){t.element[s](a,(function(n){return t.set(n)}),!1)}))}},{key:"get",value:function(i){if(!e.enabled||!D.event(i))return null;var t,s=i.target,a=i.changedTouches[0],n=parseFloat(s.getAttribute("min"))||0,r=parseFloat(s.getAttribute("max"))||100,o=parseFloat(s.getAttribute("step"))||1,c=s.getBoundingClientRect(),u=100/c.width*(this.config.thumbWidth/2)/100;return 0>(t=100/c.width*(a.clientX-c.left))?t=0:100<t&&(t=100),50>t?t-=(100-2*t)*u:50<t&&(t+=2*(t-50)*u),n+Lt(t/100*(r-n),o)}},{key:"set",value:function(i){e.enabled&&D.event(i)&&!i.target.disabled&&(i.preventDefault(),i.target.value=this.get(i),Ct(i.target,i.type==="touchend"?"change":"input"))}}],[{key:"setup",value:function(i){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},s=null;if(D.empty(i)||D.string(i)?s=Array.from(document.querySelectorAll(D.string(i)?i:'input[type="range"]')):D.element(i)?s=[i]:D.nodeList(i)?s=Array.from(i):D.array(i)&&(s=i.filter(D.element)),D.empty(s))return null;var a=je({},De,{},t);if(D.string(i)&&a.watch){var n=new MutationObserver((function(r){Array.from(r).forEach((function(o){Array.from(o.addedNodes).forEach((function(c){D.element(c)&&Tt(c,i)&&new e(c,a)}))}))}));n.observe(document.body,{childList:!0,subtree:!0})}return s.map((function(r){return new e(r,t)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e})();const J=e=>e!==null&&typeof e<"u"?e.constructor:null,U=(e,i)=>!!(e&&i&&e instanceof i),ye=e=>e===null||typeof e>"u",Ue=e=>J(e)===Object,$t=e=>J(e)===Number&&!Number.isNaN(e),re=e=>J(e)===String,Ot=e=>J(e)===Boolean,We=e=>typeof e=="function",Be=e=>Array.isArray(e),_t=e=>U(e,WeakMap),ze=e=>U(e,NodeList),jt=e=>J(e)===Text,Dt=e=>U(e,Event),Ht=e=>U(e,KeyboardEvent),Rt=e=>U(e,window.TextTrackCue)||U(e,window.VTTCue),qt=e=>U(e,TextTrack)||!ye(e)&&re(e.kind),Ft=e=>U(e,Promise)&&We(e.then);function Vt(e){return e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.style=="object"&&typeof e.ownerDocument=="object"}function Ke(e){return ye(e)||(re(e)||Be(e)||ze(e))&&!e.length||Ue(e)&&!Object.keys(e).length}function Ut(e){if(U(e,window.URL))return!0;if(!re(e))return!1;let i=e;(!e.startsWith("http://")||!e.startsWith("https://"))&&(i=`http://${e}`);try{return!Ke(new URL(i).hostname)}catch{return!1}}const l={nullOrUndefined:ye,object:Ue,number:$t,string:re,boolean:Ot,function:We,array:Be,weakMap:_t,nodeList:ze,element:Vt,textNode:jt,event:Dt,keyboardEvent:Ht,cue:Rt,track:qt,promise:Ft,url:Ut,empty:Ke},be=(()=>{const e=document.createElement("span"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},t=Object.keys(i).find(s=>e.style[s]!==void 0);return l.string(t)?i[t]:!1})();function Ye(e,i){setTimeout(()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch{}},i)}function Wt(e){return JSON.parse(JSON.stringify(e))}function Xe(e,i){return i.split(".").reduce((t,s)=>t&&t[s],e)}function x(e={},...i){if(!i.length)return e;const t=i.shift();return l.object(t)?(Object.keys(t).forEach(s=>{l.object(t[s])?(Object.keys(e).includes(s)||Object.assign(e,{[s]:{}}),x(e[s],t[s])):Object.assign(e,{[s]:t[s]})}),x(e,...i)):e}function Qe(e,i){const t=e.length?e:[e];Array.from(t).reverse().forEach((s,a)=>{const n=a>0?i.cloneNode(!0):i,r=s.parentNode,o=s.nextSibling;n.appendChild(s),o?r.insertBefore(n,o):r.appendChild(n)})}function ve(e,i){!l.element(e)||l.empty(i)||Object.entries(i).filter(([,t])=>!l.nullOrUndefined(t)).forEach(([t,s])=>e.setAttribute(t,s))}function b(e,i,t){const s=document.createElement(e);return l.object(i)&&ve(s,i),l.string(t)&&(s.textContent=t),s}function Bt(e,i){!l.element(e)||!l.element(i)||i.parentNode.insertBefore(e,i.nextSibling)}function Je(e,i,t,s){l.element(i)&&i.appendChild(b(e,t,s))}function W(e){if(l.nodeList(e)||l.array(e)){Array.from(e).forEach(W);return}!l.element(e)||!l.element(e.parentNode)||e.parentNode.removeChild(e)}function oe(e){if(!l.element(e))return;let{length:i}=e.childNodes;for(;i>0;)e.removeChild(e.lastChild),i-=1}function ce(e,i){return!l.element(i)||!l.element(i.parentNode)||!l.element(e)?null:(i.parentNode.replaceChild(e,i),e)}function F(e,i){if(!l.string(e)||l.empty(e))return{};const t={},s=x({},i);return e.split(",").forEach(a=>{const n=a.trim(),r=n.replace(".",""),o=n.replace(/[[\]]/g,"").split("="),[c]=o,u=o.length>1?o[1].replace(/["']/g,""):"";switch(n.charAt(0)){case".":l.string(s.class)?t.class=`${s.class} ${r}`:t.class=r;break;case"#":t.id=n.replace("#","");break;case"[":t[c]=u;break}}),x(s,t)}function K(e,i){if(!l.element(e))return;let t=i;l.boolean(t)||(t=!e.hidden),e.hidden=t}function S(e,i,t){if(l.nodeList(e))return Array.from(e).map(s=>S(s,i,t));if(l.element(e)){let s="toggle";return typeof t<"u"&&(s=t?"add":"remove"),e.classList[s](i),e.classList.contains(i)}return!1}function ue(e,i){return l.element(e)&&e.classList.contains(i)}function Y(e,i){const{prototype:t}=Element;function s(){return Array.from(document.querySelectorAll(i)).includes(this)}return(t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||s).call(e,i)}function zt(e,i){const{prototype:t}=Element;function s(){let a=this;do{if(Y.matches(a,i))return a;a=a.parentElement||a.parentNode}while(a!==null&&a.nodeType===1);return null}return(t.closest||s).call(e,i)}function G(e){return this.elements.container.querySelectorAll(e)}function $(e){return this.elements.container.querySelector(e)}function we(e=null,i=!1){l.element(e)&&e.focus({preventScroll:!0,focusVisible:i})}const Ge={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},L={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,i){const t=L[e]||i!=="html5",s=t&&L.rangeInput;return{api:t,ui:s}},pip:document.pictureInPictureEnabled&&!b("video").disablePictureInPicture,airplay:l.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(l.empty(e))return!1;const[i]=e.split("/");let t=e;if(!this.isHTML5||i!==this.type)return!1;Object.keys(Ge).includes(t)&&(t+=`; codecs="${Ge[e]}"`);try{return!!(t&&this.media.canPlayType(t).replace(/no/,""))}catch{return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range",e.type==="range"})(),touch:"ontouchstart"in document.documentElement,transitions:be!==!1,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},Kt=(()=>{let e=!1;try{const i=Object.defineProperty({},"passive",{get(){return e=!0,null}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch{}return e})();function Z(e,i,t,s=!1,a=!0,n=!1){if(!e||!("addEventListener"in e)||l.empty(i)||!l.function(t))return;const r=i.split(" ");let o=n;Kt&&(o={passive:a,capture:n}),r.forEach(c=>{this&&this.eventListeners&&s&&this.eventListeners.push({element:e,type:c,callback:t,options:o}),e[s?"addEventListener":"removeEventListener"](c,t,o)})}function C(e,i="",t,s=!0,a=!1){Z.call(this,e,i,t,!0,s,a)}function he(e,i="",t,s=!0,a=!1){Z.call(this,e,i,t,!1,s,a)}function ke(e,i="",t,s=!0,a=!1){const n=(...r)=>{he(e,i,n,s,a),t.apply(this,r)};Z.call(this,e,i,n,!0,s,a)}function v(e,i="",t=!1,s={}){if(!l.element(e)||l.empty(i))return;const a=new CustomEvent(i,{bubbles:t,detail:{...s,plyr:this}});e.dispatchEvent(a)}function Yt(){this&&this.eventListeners&&(this.eventListeners.forEach(e=>{const{element:i,type:t,callback:s,options:a}=e;i.removeEventListener(t,s,a)}),this.eventListeners=[])}function Xt(){return new Promise(e=>this.ready?setTimeout(e,0):C.call(this,this.elements.container,"ready",e)).then(()=>{})}function V(e){l.promise(e)&&e.then(null,()=>{})}function Te(e){return l.array(e)?e.filter((i,t)=>e.indexOf(i)===t):e}function Ze(e,i){return!l.array(e)||!e.length?null:e.reduce((t,s)=>Math.abs(s-i)<Math.abs(t-i)?s:t)}function et(e){return!window||!window.CSS?!1:window.CSS.supports(e)}const tt=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((e,[i,t])=>({...e,[i/t]:[i,t]}),{});function it(e){return!l.array(e)&&(!l.string(e)||!e.includes(":"))?!1:(l.array(e)?e:e.split(":")).map(Number).every(l.number)}function de(e){if(!l.array(e)||!e.every(l.number))return null;const[i,t]=e,s=(n,r)=>r===0?n:s(r,n%r),a=s(i,t);return[i/a,t/a]}function Ce(e){const i=s=>it(s)?s.split(":").map(Number):null;let t=i(e);if(t===null&&(t=i(this.config.ratio)),t===null&&!l.empty(this.embed)&&l.array(this.embed.ratio)&&({ratio:t}=this.embed),t===null&&this.isHTML5){const{videoWidth:s,videoHeight:a}=this.media;t=[s,a]}return de(t)}function X(e){if(!this.isVideo)return{};const{wrapper:i}=this.elements,t=Ce.call(this,e);if(!l.array(t))return{};const[s,a]=de(t),n=et(`aspect-ratio: ${s}/${a}`),r=100/s*a;if(n?i.style.aspectRatio=`${s}/${a}`:i.style.paddingBottom=`${r}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const o=100/this.media.offsetWidth*Number.parseInt(window.getComputedStyle(this.media).paddingBottom,10),c=(o-r)/(o/50);this.fullscreen.active?i.style.paddingBottom=null:this.media.style.transform=`translateY(-${c}%)`}else this.isHTML5&&i.classList.add(this.config.classNames.videoFixedRatio);return{padding:r,ratio:t}}function st(e,i,t=.05){const s=e/i,a=Ze(Object.keys(tt),s);return Math.abs(a-s)<=t?tt[a]:[e,i]}function Qt(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),i=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0);return[e,i]}const B={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(e=>{const i=e.getAttribute("type");return l.empty(i)?!0:L.mime.call(this,i)}):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:B.getSources.call(this).map(e=>Number(e.getAttribute("size"))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,l.empty(this.config.ratio)||X.call(e),Object.defineProperty(e.media,"quality",{get(){const i=B.getSources.call(e).find(t=>t.getAttribute("src")===e.source);return i&&Number(i.getAttribute("size"))},set(i){if(e.quality!==i){if(e.config.quality.forced&&l.function(e.config.quality.onChange))e.config.quality.onChange(i);else{const t=B.getSources.call(e).find(c=>Number(c.getAttribute("size"))===i);if(!t)return;const{currentTime:s,paused:a,preload:n,readyState:r,playbackRate:o}=e.media;e.media.src=t.getAttribute("src"),(n!=="none"||r)&&(e.once("loadedmetadata",()=>{e.speed=o,e.currentTime=s,a||V(e.play())}),e.media.load())}v.call(e,e.media,"qualitychange",!1,{quality:i})}}})},cancelRequests(){this.isHTML5&&(W(B.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}},Jt=!!window.document.documentMode,Gt=/Edge/.test(navigator.userAgent),Zt="WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),ei=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,ti=/iPad|iPhone|iPod/i.test(navigator.userAgent)&&navigator.maxTouchPoints>1,_={isIE:Jt,isEdge:Gt,isWebKit:Zt,isIPadOS:ei,isIos:ti};function ii(e){return`${e}-${Math.floor(Math.random()*1e4)}`}function Ae(e,...i){return l.empty(e)?e:e.toString().replace(/\{(\d+)\}/g,(t,s)=>i[s].toString())}function si(e,i){return e===0||i===0||Number.isNaN(e)||Number.isNaN(i)?0:(e/i*100).toFixed(2)}function ee(e="",i="",t=""){return e.replace(new RegExp(i.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),t.toString())}function nt(e=""){return e.toString().replace(/\w\S*/g,i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase())}function ni(e=""){let i=e.toString();return i=ee(i,"-"," "),i=ee(i,"_"," "),i=nt(i),ee(i," ","")}function ai(e=""){let i=e.toString();return i=ni(i),i.charAt(0).toLowerCase()+i.slice(1)}function li(e){const i=document.createDocumentFragment(),t=document.createElement("div");return i.appendChild(t),t.innerHTML=e,i.firstChild.textContent}function ri(e){const i=document.createElement("div");return i.appendChild(e),i.innerHTML}const at={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},O={get(e="",i={}){if(l.empty(e)||l.empty(i))return"";let t=Xe(i.i18n,e);if(l.empty(t))return Object.keys(at).includes(e)?at[e]:"";const s={"{seektime}":i.seekTime,"{title}":i.title};return Object.entries(s).forEach(([a,n])=>{t=ee(t,a,n)}),t}};class ne{constructor(i){m(this,"get",t=>{if(!ne.supported||!this.enabled)return null;const s=window.localStorage.getItem(this.key);if(l.empty(s))return null;const a=JSON.parse(s);return l.string(t)&&t.length?a[t]:a}),m(this,"set",t=>{if(!ne.supported||!this.enabled||!l.object(t))return;let s=this.get();l.empty(s)&&(s={}),x(s,t);try{window.localStorage.setItem(this.key,JSON.stringify(s))}catch{}}),this.enabled=i.config.storage.enabled,this.key=i.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const i="___test";return window.localStorage.setItem(i,i),window.localStorage.removeItem(i),!0}catch{return!1}}}function te(e,i="text",t=!1){return new Promise((s,a)=>{try{const n=new XMLHttpRequest;if(!("withCredentials"in n))return;t&&(n.withCredentials=!0),n.addEventListener("load",()=>{if(i==="text")try{s(JSON.parse(n.responseText))}catch{s(n.responseText)}else s(n.response)}),n.addEventListener("error",()=>{throw new Error(n.status)}),n.open("GET",e,!0),n.responseType=i,n.send()}catch(n){a(n)}})}function lt(e,i){if(!l.string(e))return;const t="cache",s=l.string(i);let a=!1;const n=()=>document.getElementById(i)!==null,r=(o,c)=>{o.innerHTML=c,!(s&&n())&&document.body.insertAdjacentElement("afterbegin",o)};if(!s||!n()){const o=ne.supported,c=document.createElement("div");if(c.setAttribute("hidden",""),s&&c.setAttribute("id",i),o){const u=window.localStorage.getItem(`${t}-${i}`);if(a=u!==null,a){const p=JSON.parse(u);r(c,p.content)}}te(e).then(u=>{if(!l.empty(u)){if(o)try{window.localStorage.setItem(`${t}-${i}`,JSON.stringify({content:u}))}catch{}r(c,u)}}).catch(()=>{})}}const rt=e=>Math.trunc(e/60/60%60,10),oi=e=>Math.trunc(e/60%60,10),ci=e=>Math.trunc(e%60,10);function me(e=0,i=!1,t=!1){if(!l.number(e))return me(void 0,i,t);const s=o=>`0${o}`.slice(-2);let a=rt(e);const n=oi(e),r=ci(e);return i||a>0?a=`${a}:`:a="",`${t&&e>0?"-":""}${a}${s(n)}:${s(r)}`}const d={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),i=window.location.host?window.location.host:window.top.location.host,t=e.host!==i||_.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements(){try{return this.elements.controls=$.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:G.call(this,this.config.selectors.buttons.play),pause:$.call(this,this.config.selectors.buttons.pause),restart:$.call(this,this.config.selectors.buttons.restart),rewind:$.call(this,this.config.selectors.buttons.rewind),fastForward:$.call(this,this.config.selectors.buttons.fastForward),mute:$.call(this,this.config.selectors.buttons.mute),pip:$.call(this,this.config.selectors.buttons.pip),airplay:$.call(this,this.config.selectors.buttons.airplay),settings:$.call(this,this.config.selectors.buttons.settings),captions:$.call(this,this.config.selectors.buttons.captions),fullscreen:$.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=$.call(this,this.config.selectors.progress),this.elements.inputs={seek:$.call(this,this.config.selectors.inputs.seek),volume:$.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:$.call(this,this.config.selectors.display.buffer),currentTime:$.call(this,this.config.selectors.display.currentTime),duration:$.call(this,this.config.selectors.display.duration)},l.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,i){const t="http://www.w3.org/2000/svg",s=d.getIconUrl.call(this),a=`${s.cors?"":s.url}#${this.config.iconPrefix}`,n=document.createElementNS(t,"svg");ve(n,x(i,{"aria-hidden":"true",focusable:"false"}));const r=document.createElementNS(t,"use"),o=`${a}-${e}`;return"href"in r&&r.setAttributeNS("http://www.w3.org/1999/xlink","href",o),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),n.appendChild(r),n},createLabel(e,i={}){const t=O.get(e,this.config),s={...i,class:[i.class,this.config.classNames.hidden].filter(Boolean).join(" ")};return b("span",s,t)},createBadge(e){if(l.empty(e))return null;const i=b("span",{class:this.config.classNames.menu.value});return i.appendChild(b("span",{class:this.config.classNames.menu.badge},e)),i},createButton(e,i){const t=x({},i);let s=ai(e);const a={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(r=>{Object.keys(t).includes(r)&&(a[r]=t[r],delete t[r])}),a.element==="button"&&!Object.keys(t).includes("type")&&(t.type="button"),Object.keys(t).includes("class")?t.class.split(" ").includes(this.config.classNames.control)||x(t,{class:`${t.class} ${this.config.classNames.control}`}):t.class=this.config.classNames.control,e){case"play":a.toggle=!0,a.label="play",a.labelPressed="pause",a.icon="play",a.iconPressed="pause";break;case"mute":a.toggle=!0,a.label="mute",a.labelPressed="unmute",a.icon="volume",a.iconPressed="muted";break;case"captions":a.toggle=!0,a.label="enableCaptions",a.labelPressed="disableCaptions",a.icon="captions-off",a.iconPressed="captions-on";break;case"fullscreen":a.toggle=!0,a.label="enterFullscreen",a.labelPressed="exitFullscreen",a.icon="enter-fullscreen",a.iconPressed="exit-fullscreen";break;case"play-large":t.class+=` ${this.config.classNames.control}--overlaid`,s="play",a.label="play",a.icon="play";break;default:l.empty(a.label)&&(a.label=s),l.empty(a.icon)&&(a.icon=e)}const n=b(a.element);return a.toggle?(n.appendChild(d.createIcon.call(this,a.iconPressed,{class:"icon--pressed"})),n.appendChild(d.createIcon.call(this,a.icon,{class:"icon--not-pressed"})),n.appendChild(d.createLabel.call(this,a.labelPressed,{class:"label--pressed"})),n.appendChild(d.createLabel.call(this,a.label,{class:"label--not-pressed"}))):(n.appendChild(d.createIcon.call(this,a.icon)),n.appendChild(d.createLabel.call(this,a.label))),x(t,F(this.config.selectors.buttons[s],t)),ve(n,t),s==="play"?(l.array(this.elements.buttons[s])||(this.elements.buttons[s]=[]),this.elements.buttons[s].push(n)):this.elements.buttons[s]=n,n},createRange(e,i){const t=b("input",x(F(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":O.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},i));return this.elements.inputs[e]=t,d.updateRangeFill.call(this,t),It.setup(t),t},createProgress(e,i){const t=b("progress",x(F(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},i));if(e!=="volume"){t.appendChild(b("span",null,"0"));const s={played:"played",buffer:"buffered"}[e],a=s?O.get(s,this.config):"";t.textContent=`% ${a.toLowerCase()}`}return this.elements.display[e]=t,t},createTime(e,i){const t=F(this.config.selectors.display[e],i),s=b("div",x(t,{class:`${t.class?t.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":O.get(e,this.config),role:"timer"}),"00:00");return this.elements.display[e]=s,s},bindMenuItemShortcuts(e,i){C.call(this,e,"keydown keyup",t=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(t.key)||(t.preventDefault(),t.stopPropagation(),t.type==="keydown"))return;const s=Y(e,'[role="menuitemradio"]');if(!s&&[" ","ArrowRight"].includes(t.key))d.showMenuPanel.call(this,i,!0);else{let a;t.key!==" "&&(t.key==="ArrowDown"||s&&t.key==="ArrowRight"?(a=e.nextElementSibling,l.element(a)||(a=e.parentNode.firstElementChild)):(a=e.previousElementSibling,l.element(a)||(a=e.parentNode.lastElementChild)),we.call(this,a,!0))}},!1),C.call(this,e,"keyup",t=>{t.key==="Return"&&d.focusFirstMenuItem.call(this,null,!0)})},createMenuItem({value:e,list:i,type:t,title:s,badge:a=null,checked:n=!1}){const r=F(this.config.selectors.inputs[t]),o=b("button",x(r,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${r.class?r.class:""}`.trim(),"aria-checked":n,value:e})),c=b("span");c.innerHTML=s,l.element(a)&&c.appendChild(a),o.appendChild(c),Object.defineProperty(o,"checked",{enumerable:!0,get(){return o.getAttribute("aria-checked")==="true"},set(u){u&&Array.from(o.parentNode.children).filter(p=>Y(p,'[role="menuitemradio"]')).forEach(p=>p.setAttribute("aria-checked","false")),o.setAttribute("aria-checked",u?"true":"false")}}),this.listeners.bind(o,"click keyup",u=>{if(!(l.keyboardEvent(u)&&u.key!==" ")){switch(u.preventDefault(),u.stopPropagation(),o.checked=!0,t){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=Number.parseFloat(e);break}d.showMenuPanel.call(this,"home",l.keyboardEvent(u))}},t,!1),d.bindMenuItemShortcuts.call(this,o,t),i.appendChild(o)},formatTime(e=0,i=!1){if(!l.number(e))return e;const t=rt(this.duration)>0;return me(e,t,i)},updateTimeDisplay(e=null,i=0,t=!1){!l.element(e)||!l.number(i)||(e.textContent=d.formatTime(i,t))},updateVolume(){this.supported.ui&&(l.element(this.elements.inputs.volume)&&d.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),l.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||this.volume===0))},setRange(e,i=0){l.element(e)&&(e.value=i,d.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!l.event(e))return;let i=0;const t=(s,a)=>{const n=l.number(a)?a:0,r=l.element(s)?s:this.elements.display.buffer;if(l.element(r)){r.value=n;const o=r.getElementsByTagName("span")[0];l.element(o)&&(o.childNodes[0].nodeValue=n)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":i=si(this.currentTime,this.duration),e.type==="timeupdate"&&d.setRange.call(this,this.elements.inputs.seek,i);break;case"playing":case"progress":t(this.elements.display.buffer,this.buffered*100);break}},updateRangeFill(e){const i=l.event(e)?e.target:e;if(!(!l.element(i)||i.getAttribute("type")!=="range")){if(Y(i,this.config.selectors.inputs.seek)){i.setAttribute("aria-valuenow",this.currentTime);const t=d.formatTime(this.currentTime),s=d.formatTime(this.duration),a=O.get("seekLabel",this.config);i.setAttribute("aria-valuetext",a.replace("{currentTime}",t).replace("{duration}",s))}else if(Y(i,this.config.selectors.inputs.volume)){const t=i.value*100;i.setAttribute("aria-valuenow",t),i.setAttribute("aria-valuetext",`${t.toFixed(1)}%`)}else i.setAttribute("aria-valuenow",i.value);!_.isWebKit&&!_.isIPadOS||i.style.setProperty("--value",`${i.value/i.max*100}%`)}},updateSeekTooltip(e){var i,t;if(!this.config.tooltips.seek||!l.element(this.elements.inputs.seek)||!l.element(this.elements.display.seekTooltip)||this.duration===0)return;const s=this.elements.display.seekTooltip,a=`${this.config.classNames.tooltip}--visible`,n=p=>S(s,a,p);if(this.touch){n(!1);return}let r=0;const o=this.elements.progress.getBoundingClientRect();if(l.event(e)){const p=e.pageX-e.clientX;r=100/o.width*(e.pageX-o.left-p)}else if(ue(s,a))r=Number.parseFloat(s.style.left,10);else return;r<0?r=0:r>100&&(r=100);const c=this.duration/100*r;s.textContent=d.formatTime(c);const u=(t=(i=this.config.markers)==null?void 0:i.points)==null?void 0:t.find(({time:p})=>p===Math.round(c));u&&s.insertAdjacentHTML("afterbegin",`${u.label}<br>`),s.style.left=`${r}%`,l.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&n(e.type==="mouseenter")},timeUpdate(e){const i=!l.element(this.elements.display.duration)&&this.config.invertTime;d.updateTimeDisplay.call(this,this.elements.display.currentTime,i?this.duration-this.currentTime:this.currentTime,i),!(e&&e.type==="timeupdate"&&this.media.seeking)&&d.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32){K(this.elements.display.currentTime,!0),K(this.elements.progress,!0);return}l.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=l.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&d.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&d.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&d.setMarkers.call(this),d.updateSeekTooltip.call(this)},toggleMenuButton(e,i){K(this.elements.settings.buttons[e],!i)},updateSetting(e,i,t){const s=this.elements.settings.panels[e];let a=null,n=i;if(e==="captions")a=this.currentTrack;else{if(a=l.empty(t)?this[e]:t,l.empty(a)&&(a=this.config[e].default),!l.empty(this.options[e])&&!this.options[e].includes(a)){this.debug.warn(`Unsupported value of '${a}' for ${e}`);return}if(!this.config[e].options.includes(a)){this.debug.warn(`Disabled value of '${a}' for ${e}`);return}}if(l.element(n)||(n=s&&s.querySelector('[role="menu"]')),!l.element(n))return;const r=this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`);r.innerHTML=d.getLabel.call(this,e,a);const o=n&&n.querySelector(`[value="${a}"]`);l.element(o)&&(o.checked=!0)},getLabel(e,i){switch(e){case"speed":return i===1?O.get("normal",this.config):`${i}&times;`;case"quality":if(l.number(i)){const t=O.get(`qualityLabel.${i}`,this.config);return t.length?t:`${i}p`}return nt(i);case"captions":return A.getLabel.call(this);default:return null}},setQualityMenu(e){if(!l.element(this.elements.settings.panels.quality))return;const i="quality",t=this.elements.settings.panels.quality.querySelector('[role="menu"]');l.array(e)&&(this.options.quality=Te(e).filter(n=>this.config.quality.options.includes(n)));const s=!l.empty(this.options.quality)&&this.options.quality.length>1;if(d.toggleMenuButton.call(this,i,s),oe(t),d.checkMenu.call(this),!s)return;const a=n=>{const r=O.get(`qualityBadge.${n}`,this.config);return r.length?d.createBadge.call(this,r):null};this.options.quality.sort((n,r)=>{const o=this.config.quality.options;return o.indexOf(n)>o.indexOf(r)?1:-1}).forEach(n=>{d.createMenuItem.call(this,{value:n,list:t,type:i,title:d.getLabel.call(this,"quality",n),badge:a(n)})}),d.updateSetting.call(this,i,t)},setCaptionsMenu(){if(!l.element(this.elements.settings.panels.captions))return;const e="captions",i=this.elements.settings.panels.captions.querySelector('[role="menu"]'),t=A.getTracks.call(this),s=!!t.length;if(d.toggleMenuButton.call(this,e,s),oe(i),d.checkMenu.call(this),!s)return;const a=t.map((n,r)=>({value:r,checked:this.captions.toggled&&this.currentTrack===r,title:A.getLabel.call(this,n),badge:n.language&&d.createBadge.call(this,n.language.toUpperCase()),list:i,type:"language"}));a.unshift({value:-1,checked:!this.captions.toggled,title:O.get("disabled",this.config),list:i,type:"language"}),a.forEach(d.createMenuItem.bind(this)),d.updateSetting.call(this,e,i)},setSpeedMenu(){if(!l.element(this.elements.settings.panels.speed))return;const e="speed",i=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(s=>s>=this.minimumSpeed&&s<=this.maximumSpeed);const t=!l.empty(this.options.speed)&&this.options.speed.length>1;d.toggleMenuButton.call(this,e,t),oe(i),d.checkMenu.call(this),t&&(this.options.speed.forEach(s=>{d.createMenuItem.call(this,{value:s,list:i,type:e,title:d.getLabel.call(this,"speed",s)})}),d.updateSetting.call(this,e,i))},checkMenu(){const{buttons:e}=this.elements.settings,i=!l.empty(e)&&Object.values(e).some(t=>!t.hidden);K(this.elements.settings.menu,!i)},focusFirstMenuItem(e,i=!1){if(this.elements.settings.popup.hidden)return;let t=e;l.element(t)||(t=Object.values(this.elements.settings.panels).find(a=>!a.hidden));const s=t.querySelector('[role^="menuitem"]');we.call(this,s,i)},toggleMenu(e){const{popup:i}=this.elements.settings,t=this.elements.buttons.settings;if(!l.element(i)||!l.element(t))return;const{hidden:s}=i;let a=s;if(l.boolean(e))a=e;else if(l.keyboardEvent(e)&&e.key==="Escape")a=!1;else if(l.event(e)){const n=l.function(e.composedPath)?e.composedPath()[0]:e.target,r=i.contains(n);if(r||!r&&e.target!==t&&a)return}t.setAttribute("aria-expanded",a),K(i,!a),S(this.elements.container,this.config.classNames.menu.open,a),a&&l.keyboardEvent(e)?d.focusFirstMenuItem.call(this,null,!0):!a&&!s&&we.call(this,t,l.keyboardEvent(e))},getMenuSize(e){const i=e.cloneNode(!0);i.style.position="absolute",i.style.opacity=0,i.removeAttribute("hidden"),e.parentNode.appendChild(i);const t=i.scrollWidth,s=i.scrollHeight;return W(i),{width:t,height:s}},showMenuPanel(e="",i=!1){const t=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!l.element(t))return;const s=t.parentNode,a=Array.from(s.children).find(n=>!n.hidden);if(L.transitions&&!L.reducedMotion){s.style.width=`${a.scrollWidth}px`,s.style.height=`${a.scrollHeight}px`;const n=d.getMenuSize.call(this,t),r=o=>{o.target!==s||!["width","height"].includes(o.propertyName)||(s.style.width="",s.style.height="",he.call(this,s,be,r))};C.call(this,s,be,r),s.style.width=`${n.width}px`,s.style.height=`${n.height}px`}K(a,!0),K(t,!1),d.focusFirstMenuItem.call(this,t,i)},setDownloadUrl(){const e=this.elements.buttons.download;l.element(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:i,createButton:t,createProgress:s,createRange:a,createTime:n,setQualityMenu:r,setSpeedMenu:o,showMenuPanel:c}=d;this.elements.controls=null,l.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(t.call(this,"play-large"));const u=b("div",F(this.config.selectors.controls.wrapper));this.elements.controls=u;const p={class:"plyr__controls__item"};return Te(l.array(this.config.controls)?this.config.controls:[]).forEach(y=>{if(y==="restart"&&u.appendChild(t.call(this,"restart",p)),y==="rewind"&&u.appendChild(t.call(this,"rewind",p)),y==="play"&&u.appendChild(t.call(this,"play",p)),y==="fast-forward"&&u.appendChild(t.call(this,"fast-forward",p)),y==="progress"){const h=b("div",{class:`${p.class} plyr__progress__container`}),f=b("div",F(this.config.selectors.progress));if(f.appendChild(a.call(this,"seek",{id:`plyr-seek-${e.id}`})),f.appendChild(s.call(this,"buffer")),this.config.tooltips.seek){const T=b("span",{class:this.config.classNames.tooltip},"00:00");f.appendChild(T),this.elements.display.seekTooltip=T}this.elements.progress=f,h.appendChild(this.elements.progress),u.appendChild(h)}if(y==="current-time"&&u.appendChild(n.call(this,"currentTime",p)),y==="duration"&&u.appendChild(n.call(this,"duration",p)),y==="mute"||y==="volume"){let{volume:h}=this.elements;if((!l.element(h)||!u.contains(h))&&(h=b("div",x({},p,{class:`${p.class} plyr__volume`.trim()})),this.elements.volume=h,u.appendChild(h)),y==="mute"&&h.appendChild(t.call(this,"mute")),y==="volume"&&!_.isIos&&!_.isIPadOS){const f={max:1,step:.05,value:this.config.volume};h.appendChild(a.call(this,"volume",x(f,{id:`plyr-volume-${e.id}`})))}}if(y==="captions"&&u.appendChild(t.call(this,"captions",p)),y==="settings"&&!l.empty(this.config.settings)){const h=b("div",x({},p,{class:`${p.class} plyr__menu`.trim(),hidden:""}));h.appendChild(t.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const f=b("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),T=b("div"),w=b("div",{id:`plyr-settings-${e.id}-home`}),I=b("div",{role:"menu"});w.appendChild(I),T.appendChild(w),this.elements.settings.panels.home=w,this.config.settings.forEach(P=>{const g=b("button",x(F(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));i.call(this,g,P),C.call(this,g,"click",()=>{c.call(this,P,!1)});const k=b("span",null,O.get(P,this.config)),M=b("span",{class:this.config.classNames.menu.value});M.innerHTML=e[P],k.appendChild(M),g.appendChild(k),I.appendChild(g);const j=b("div",{id:`plyr-settings-${e.id}-${P}`,hidden:""}),H=b("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});H.appendChild(b("span",{"aria-hidden":!0},O.get(P,this.config))),H.appendChild(b("span",{class:this.config.classNames.hidden},O.get("menuBack",this.config))),C.call(this,j,"keydown",R=>{R.key==="ArrowLeft"&&(R.preventDefault(),R.stopPropagation(),c.call(this,"home",!0))},!1),C.call(this,H,"click",()=>{c.call(this,"home",!1)}),j.appendChild(H),j.appendChild(b("div",{role:"menu"})),T.appendChild(j),this.elements.settings.buttons[P]=g,this.elements.settings.panels[P]=j}),f.appendChild(T),h.appendChild(f),u.appendChild(h),this.elements.settings.popup=f,this.elements.settings.menu=h}if(y==="pip"&&L.pip&&u.appendChild(t.call(this,"pip",p)),y==="airplay"&&L.airplay&&u.appendChild(t.call(this,"airplay",p)),y==="download"){const h=x({},p,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(h.download="");const{download:f}=this.config.urls;!l.url(f)&&this.isEmbed&&x(h,{icon:`logo-${this.provider}`,label:this.provider}),u.appendChild(t.call(this,"download",h))}y==="fullscreen"&&u.appendChild(t.call(this,"fullscreen",p))}),this.isHTML5&&r.call(this,B.getQualityOptions.call(this)),o.call(this),u},inject(){if(this.config.loadSprite){const r=d.getIconUrl.call(this);r.cors&&lt(r.url,"sprite-plyr")}this.id=Math.floor(Math.random()*1e4);let e=null;this.elements.controls=null;const i={id:this.id,seektime:this.config.seekTime,title:this.config.title};let t=!0;l.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),l.element(this.config.controls)||l.string(this.config.controls)?e=this.config.controls:(e=d.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:A.getLabel.call(this)}),t=!1);const s=r=>{let o=r;return Object.entries(i).forEach(([c,u])=>{o=ee(o,`{${c}}`,u)}),o};t&&l.string(this.config.controls)&&(e=s(e));let a;l.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),l.element(a)||(a=this.elements.container);const n=l.element(e)?"insertAdjacentElement":"insertAdjacentHTML";if(a[n]("afterbegin",e),l.element(this.elements.controls)||d.findElements.call(this),!l.empty(this.elements.buttons)){const r=o=>{const c=this.config.classNames.controlPressed;o.setAttribute("aria-pressed","false"),Object.defineProperty(o,"pressed",{configurable:!0,enumerable:!0,get(){return ue(o,c)},set(u=!1){S(o,c,u),o.setAttribute("aria-pressed",u?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach(o=>{l.array(o)||l.nodeList(o)?Array.from(o).filter(Boolean).forEach(r):r(o)})}if(_.isEdge&&Ye(a),this.config.tooltips.controls){const{classNames:r,selectors:o}=this.config,c=`${o.controls.wrapper} ${o.labels} .${r.hidden}`,u=G.call(this,c);Array.from(u).forEach(p=>{S(p,this.config.classNames.hidden,!1),S(p,this.config.classNames.tooltip,!0)})}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch{}},setMarkers(){var e,i;if(!this.duration||this.elements.markers)return;const t=(i=(e=this.config.markers)==null?void 0:e.points)==null?void 0:i.filter(({time:c})=>c>0&&c<this.duration);if(!(t!=null&&t.length))return;const s=document.createDocumentFragment(),a=document.createDocumentFragment();let n=null;const r=`${this.config.classNames.tooltip}--visible`,o=c=>S(n,r,c);t.forEach(c=>{const u=b("span",{class:this.config.classNames.marker},""),p=`${c.time/this.duration*100}%`;n&&(u.addEventListener("mouseenter",()=>{c.label||(n.style.left=p,n.innerHTML=c.label,o(!0))}),u.addEventListener("mouseleave",()=>{o(!1)})),u.addEventListener("click",()=>{this.currentTime=c.time}),u.style.left=p,a.appendChild(u)}),s.appendChild(a),this.config.tooltips.seek||(n=b("span",{class:this.config.classNames.tooltip},""),s.appendChild(n)),this.elements.markers={points:a,tip:n},this.elements.progress.appendChild(s)}};function ot(e,i=!0){let t=e;if(i){const s=document.createElement("a");s.href=t,t=s.href}try{return new URL(t)}catch{return null}}function ct(e){const i=new URLSearchParams;return l.object(e)&&Object.entries(e).forEach(([t,s])=>{i.set(t,s)}),i}const A={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!L.textTracks){l.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&d.setCaptionsMenu.call(this);return}if(l.element(this.elements.captions)||(this.elements.captions=b("div",F(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),Bt(this.elements.captions,this.elements.wrapper)),_.isIE&&window.URL){const a=this.media.querySelectorAll("track");Array.from(a).forEach(n=>{const r=n.getAttribute("src"),o=ot(r);o!==null&&o.hostname!==window.location.href.hostname&&["http:","https:"].includes(o.protocol)&&te(r,"blob").then(c=>{n.setAttribute("src",window.URL.createObjectURL(c))}).catch(()=>{W(n)})})}const e=navigator.languages||[navigator.language||navigator.userLanguage||"en"],i=Te(e.map(a=>a.split("-")[0]));let t=(this.storage.get("language")||this.captions.language||this.config.captions.language||"auto").toLowerCase();t==="auto"&&([t]=i);let s=this.storage.get("captions")||this.captions.active;if(l.boolean(s)||({active:s}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:s,language:t,languages:i}),this.isHTML5){const a=this.config.captions.update?"addtrack removetrack":"removetrack";C.call(this,this.media.textTracks,a,A.update.bind(this))}setTimeout(A.update.bind(this),0)},update(){const e=A.getTracks.call(this,!0),{active:i,language:t,meta:s,currentTrackNode:a}=this.captions,n=!!e.find(r=>r.language===t);this.isHTML5&&this.isVideo&&e.filter(r=>!s.get(r)).forEach(r=>{this.debug.log("Track added",r),s.set(r,{default:r.mode==="showing"}),r.mode==="showing"&&(r.mode="hidden"),C.call(this,r,"cuechange",()=>A.updateCues.call(this))}),(n&&this.language!==t||!e.includes(a))&&(A.setLanguage.call(this,t),A.toggle.call(this,i&&n)),this.elements&&S(this.elements.container,this.config.classNames.captions.enabled,!l.empty(e)),l.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&d.setCaptionsMenu.call(this)},toggle(e,i=!0){if(!this.supported.ui)return;const{toggled:t}=this.captions,s=this.config.classNames.captions.active,a=l.nullOrUndefined(e)?!t:e;if(a!==t){if(i||(this.captions.active=a,this.storage.set({captions:a})),!this.language&&a&&!i){const n=A.getTracks.call(this),r=A.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);this.captions.language=r.language,A.set.call(this,n.indexOf(r));return}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=a),S(this.elements.container,s,a),this.captions.toggled=a,d.updateSetting.call(this,"captions"),v.call(this,this.media,a?"captionsenabled":"captionsdisabled")}setTimeout(()=>{a&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")})},set(e,i=!0){const t=A.getTracks.call(this);if(e===-1){A.toggle.call(this,!1,i);return}if(!l.number(e)){this.debug.warn("Invalid caption argument",e);return}if(!(e in t)){this.debug.warn("Track not found",e);return}if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const s=t[e],{language:a}=s||{};this.captions.currentTrackNode=s,d.updateSetting.call(this,"captions"),i||(this.captions.language=a,this.storage.set({language:a})),this.isVimeo&&this.embed.enableTextTrack(a),v.call(this,this.media,"languagechange")}A.toggle.call(this,!0,i),this.isHTML5&&this.isVideo&&A.updateCues.call(this)},setLanguage(e,i=!0){if(!l.string(e)){this.debug.warn("Invalid language argument",e);return}const t=e.toLowerCase();this.captions.language=t;const s=A.getTracks.call(this),a=A.findTrack.call(this,[t]);A.set.call(this,s.indexOf(a),i)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter(i=>!this.isHTML5||e||this.captions.meta.has(i)).filter(i=>["captions","subtitles"].includes(i.kind))},findTrack(e,i=!1){const t=A.getTracks.call(this),s=r=>Number((this.captions.meta.get(r)||{}).default),a=Array.from(t).sort((r,o)=>s(o)-s(r));let n;return e.every(r=>(n=a.find(o=>o.language===r),!n)),n||(i?a[0]:void 0)},getCurrentTrack(){return A.getTracks.call(this)[this.currentTrack]},getLabel(e){let i=e;return!l.track(i)&&L.textTracks&&this.captions.toggled&&(i=A.getCurrentTrack.call(this)),l.track(i)?l.empty(i.label)?l.empty(i.language)?O.get("enabled",this.config):e.language.toUpperCase():i.label:O.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!l.element(this.elements.captions)){this.debug.warn("No captions element to render to");return}if(!l.nullOrUndefined(e)&&!Array.isArray(e)){this.debug.warn("updateCues: Invalid input",e);return}let i=e;if(!i){const s=A.getCurrentTrack.call(this);i=Array.from((s||{}).activeCues||[]).map(a=>a.getCueAsHTML()).map(ri)}const t=i.map(s=>s.trim()).join(`
1
+ var ft=Object.defineProperty,yt=(e,i,t)=>i in e?ft(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,m=(e,i,t)=>yt(e,typeof i!="symbol"?i+"":i,t);import{dz as bt}from"./runtime-NrR-iZBw.js";function vt(e,i){if(!(e instanceof i))throw new TypeError("Cannot call a class as a function")}function Oe(e,i){for(var t=0;t<i.length;t++){var s=i[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function wt(e,i,t){return i&&Oe(e.prototype,i),t&&Oe(e,t),e}function kt(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function _e(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);i&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function je(e){for(var i=1;i<arguments.length;i++){var t=arguments[i]!=null?arguments[i]:{};i%2?_e(Object(t),!0).forEach((function(s){kt(e,s,t[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_e(Object(t)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))}))}return e}var De={addCSS:!0,thumbWidth:15,watch:!0};function Tt(e,i){return(function(){return Array.from(document.querySelectorAll(i)).includes(this)}).call(e,i)}function Ct(e,i){if(e&&i){var t=new Event(i,{bubbles:!0});e.dispatchEvent(t)}}var Q=function(e){return e!=null?e.constructor:null},fe=function(e,i){return!!(e&&i&&e instanceof i)},He=function(e){return e==null},Re=function(e){return Q(e)===Object},At=function(e){return Q(e)===Number&&!Number.isNaN(e)},qe=function(e){return Q(e)===String},St=function(e){return Q(e)===Boolean},Et=function(e){return Q(e)===Function},Fe=function(e){return Array.isArray(e)},Ve=function(e){return fe(e,NodeList)},Pt=function(e){return fe(e,Element)},Mt=function(e){return fe(e,Event)},Nt=function(e){return He(e)||(qe(e)||Fe(e)||Ve(e))&&!e.length||Re(e)&&!Object.keys(e).length},D={nullOrUndefined:He,object:Re,number:At,string:qe,boolean:St,function:Et,array:Fe,nodeList:Ve,element:Pt,event:Mt,empty:Nt};function xt(e){var i="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return i?Math.max(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0}function Lt(e,i){if(1>i){var t=xt(i);return parseFloat(e.toFixed(t))}return Math.round(e/i)*i}var It=(function(){function e(i,t){vt(this,e),D.element(i)?this.element=i:D.string(i)&&(this.element=document.querySelector(i)),D.element(this.element)&&D.empty(this.element.rangeTouch)&&(this.config=je({},De,{},t),this.init())}return wt(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(i){var t=this,s=i?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(a){t.element[s](a,(function(n){return t.set(n)}),!1)}))}},{key:"get",value:function(i){if(!e.enabled||!D.event(i))return null;var t,s=i.target,a=i.changedTouches[0],n=parseFloat(s.getAttribute("min"))||0,r=parseFloat(s.getAttribute("max"))||100,o=parseFloat(s.getAttribute("step"))||1,c=s.getBoundingClientRect(),u=100/c.width*(this.config.thumbWidth/2)/100;return 0>(t=100/c.width*(a.clientX-c.left))?t=0:100<t&&(t=100),50>t?t-=(100-2*t)*u:50<t&&(t+=2*(t-50)*u),n+Lt(t/100*(r-n),o)}},{key:"set",value:function(i){e.enabled&&D.event(i)&&!i.target.disabled&&(i.preventDefault(),i.target.value=this.get(i),Ct(i.target,i.type==="touchend"?"change":"input"))}}],[{key:"setup",value:function(i){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},s=null;if(D.empty(i)||D.string(i)?s=Array.from(document.querySelectorAll(D.string(i)?i:'input[type="range"]')):D.element(i)?s=[i]:D.nodeList(i)?s=Array.from(i):D.array(i)&&(s=i.filter(D.element)),D.empty(s))return null;var a=je({},De,{},t);if(D.string(i)&&a.watch){var n=new MutationObserver((function(r){Array.from(r).forEach((function(o){Array.from(o.addedNodes).forEach((function(c){D.element(c)&&Tt(c,i)&&new e(c,a)}))}))}));n.observe(document.body,{childList:!0,subtree:!0})}return s.map((function(r){return new e(r,t)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e})();const J=e=>e!==null&&typeof e<"u"?e.constructor:null,U=(e,i)=>!!(e&&i&&e instanceof i),ye=e=>e===null||typeof e>"u",Ue=e=>J(e)===Object,$t=e=>J(e)===Number&&!Number.isNaN(e),re=e=>J(e)===String,Ot=e=>J(e)===Boolean,We=e=>typeof e=="function",Be=e=>Array.isArray(e),_t=e=>U(e,WeakMap),ze=e=>U(e,NodeList),jt=e=>J(e)===Text,Dt=e=>U(e,Event),Ht=e=>U(e,KeyboardEvent),Rt=e=>U(e,window.TextTrackCue)||U(e,window.VTTCue),qt=e=>U(e,TextTrack)||!ye(e)&&re(e.kind),Ft=e=>U(e,Promise)&&We(e.then);function Vt(e){return e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.style=="object"&&typeof e.ownerDocument=="object"}function Ke(e){return ye(e)||(re(e)||Be(e)||ze(e))&&!e.length||Ue(e)&&!Object.keys(e).length}function Ut(e){if(U(e,window.URL))return!0;if(!re(e))return!1;let i=e;(!e.startsWith("http://")||!e.startsWith("https://"))&&(i=`http://${e}`);try{return!Ke(new URL(i).hostname)}catch{return!1}}const l={nullOrUndefined:ye,object:Ue,number:$t,string:re,boolean:Ot,function:We,array:Be,weakMap:_t,nodeList:ze,element:Vt,textNode:jt,event:Dt,keyboardEvent:Ht,cue:Rt,track:qt,promise:Ft,url:Ut,empty:Ke},be=(()=>{const e=document.createElement("span"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},t=Object.keys(i).find(s=>e.style[s]!==void 0);return l.string(t)?i[t]:!1})();function Ye(e,i){setTimeout(()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch{}},i)}function Wt(e){return JSON.parse(JSON.stringify(e))}function Xe(e,i){return i.split(".").reduce((t,s)=>t&&t[s],e)}function x(e={},...i){if(!i.length)return e;const t=i.shift();return l.object(t)?(Object.keys(t).forEach(s=>{l.object(t[s])?(Object.keys(e).includes(s)||Object.assign(e,{[s]:{}}),x(e[s],t[s])):Object.assign(e,{[s]:t[s]})}),x(e,...i)):e}function Qe(e,i){const t=e.length?e:[e];Array.from(t).reverse().forEach((s,a)=>{const n=a>0?i.cloneNode(!0):i,r=s.parentNode,o=s.nextSibling;n.appendChild(s),o?r.insertBefore(n,o):r.appendChild(n)})}function ve(e,i){!l.element(e)||l.empty(i)||Object.entries(i).filter(([,t])=>!l.nullOrUndefined(t)).forEach(([t,s])=>e.setAttribute(t,s))}function b(e,i,t){const s=document.createElement(e);return l.object(i)&&ve(s,i),l.string(t)&&(s.textContent=t),s}function Bt(e,i){!l.element(e)||!l.element(i)||i.parentNode.insertBefore(e,i.nextSibling)}function Je(e,i,t,s){l.element(i)&&i.appendChild(b(e,t,s))}function W(e){if(l.nodeList(e)||l.array(e)){Array.from(e).forEach(W);return}!l.element(e)||!l.element(e.parentNode)||e.parentNode.removeChild(e)}function oe(e){if(!l.element(e))return;let{length:i}=e.childNodes;for(;i>0;)e.removeChild(e.lastChild),i-=1}function ce(e,i){return!l.element(i)||!l.element(i.parentNode)||!l.element(e)?null:(i.parentNode.replaceChild(e,i),e)}function F(e,i){if(!l.string(e)||l.empty(e))return{};const t={},s=x({},i);return e.split(",").forEach(a=>{const n=a.trim(),r=n.replace(".",""),o=n.replace(/[[\]]/g,"").split("="),[c]=o,u=o.length>1?o[1].replace(/["']/g,""):"";switch(n.charAt(0)){case".":l.string(s.class)?t.class=`${s.class} ${r}`:t.class=r;break;case"#":t.id=n.replace("#","");break;case"[":t[c]=u;break}}),x(s,t)}function K(e,i){if(!l.element(e))return;let t=i;l.boolean(t)||(t=!e.hidden),e.hidden=t}function S(e,i,t){if(l.nodeList(e))return Array.from(e).map(s=>S(s,i,t));if(l.element(e)){let s="toggle";return typeof t<"u"&&(s=t?"add":"remove"),e.classList[s](i),e.classList.contains(i)}return!1}function ue(e,i){return l.element(e)&&e.classList.contains(i)}function Y(e,i){const{prototype:t}=Element;function s(){return Array.from(document.querySelectorAll(i)).includes(this)}return(t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||s).call(e,i)}function zt(e,i){const{prototype:t}=Element;function s(){let a=this;do{if(Y.matches(a,i))return a;a=a.parentElement||a.parentNode}while(a!==null&&a.nodeType===1);return null}return(t.closest||s).call(e,i)}function G(e){return this.elements.container.querySelectorAll(e)}function $(e){return this.elements.container.querySelector(e)}function we(e=null,i=!1){l.element(e)&&e.focus({preventScroll:!0,focusVisible:i})}const Ge={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},L={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,i){const t=L[e]||i!=="html5",s=t&&L.rangeInput;return{api:t,ui:s}},pip:document.pictureInPictureEnabled&&!b("video").disablePictureInPicture,airplay:l.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(l.empty(e))return!1;const[i]=e.split("/");let t=e;if(!this.isHTML5||i!==this.type)return!1;Object.keys(Ge).includes(t)&&(t+=`; codecs="${Ge[e]}"`);try{return!!(t&&this.media.canPlayType(t).replace(/no/,""))}catch{return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range",e.type==="range"})(),touch:"ontouchstart"in document.documentElement,transitions:be!==!1,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},Kt=(()=>{let e=!1;try{const i=Object.defineProperty({},"passive",{get(){return e=!0,null}});window.addEventListener("test",null,i),window.removeEventListener("test",null,i)}catch{}return e})();function Z(e,i,t,s=!1,a=!0,n=!1){if(!e||!("addEventListener"in e)||l.empty(i)||!l.function(t))return;const r=i.split(" ");let o=n;Kt&&(o={passive:a,capture:n}),r.forEach(c=>{this&&this.eventListeners&&s&&this.eventListeners.push({element:e,type:c,callback:t,options:o}),e[s?"addEventListener":"removeEventListener"](c,t,o)})}function C(e,i="",t,s=!0,a=!1){Z.call(this,e,i,t,!0,s,a)}function he(e,i="",t,s=!0,a=!1){Z.call(this,e,i,t,!1,s,a)}function ke(e,i="",t,s=!0,a=!1){const n=(...r)=>{he(e,i,n,s,a),t.apply(this,r)};Z.call(this,e,i,n,!0,s,a)}function v(e,i="",t=!1,s={}){if(!l.element(e)||l.empty(i))return;const a=new CustomEvent(i,{bubbles:t,detail:{...s,plyr:this}});e.dispatchEvent(a)}function Yt(){this&&this.eventListeners&&(this.eventListeners.forEach(e=>{const{element:i,type:t,callback:s,options:a}=e;i.removeEventListener(t,s,a)}),this.eventListeners=[])}function Xt(){return new Promise(e=>this.ready?setTimeout(e,0):C.call(this,this.elements.container,"ready",e)).then(()=>{})}function V(e){l.promise(e)&&e.then(null,()=>{})}function Te(e){return l.array(e)?e.filter((i,t)=>e.indexOf(i)===t):e}function Ze(e,i){return!l.array(e)||!e.length?null:e.reduce((t,s)=>Math.abs(s-i)<Math.abs(t-i)?s:t)}function et(e){return!window||!window.CSS?!1:window.CSS.supports(e)}const tt=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((e,[i,t])=>({...e,[i/t]:[i,t]}),{});function it(e){return!l.array(e)&&(!l.string(e)||!e.includes(":"))?!1:(l.array(e)?e:e.split(":")).map(Number).every(l.number)}function de(e){if(!l.array(e)||!e.every(l.number))return null;const[i,t]=e,s=(n,r)=>r===0?n:s(r,n%r),a=s(i,t);return[i/a,t/a]}function Ce(e){const i=s=>it(s)?s.split(":").map(Number):null;let t=i(e);if(t===null&&(t=i(this.config.ratio)),t===null&&!l.empty(this.embed)&&l.array(this.embed.ratio)&&({ratio:t}=this.embed),t===null&&this.isHTML5){const{videoWidth:s,videoHeight:a}=this.media;t=[s,a]}return de(t)}function X(e){if(!this.isVideo)return{};const{wrapper:i}=this.elements,t=Ce.call(this,e);if(!l.array(t))return{};const[s,a]=de(t),n=et(`aspect-ratio: ${s}/${a}`),r=100/s*a;if(n?i.style.aspectRatio=`${s}/${a}`:i.style.paddingBottom=`${r}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const o=100/this.media.offsetWidth*Number.parseInt(window.getComputedStyle(this.media).paddingBottom,10),c=(o-r)/(o/50);this.fullscreen.active?i.style.paddingBottom=null:this.media.style.transform=`translateY(-${c}%)`}else this.isHTML5&&i.classList.add(this.config.classNames.videoFixedRatio);return{padding:r,ratio:t}}function st(e,i,t=.05){const s=e/i,a=Ze(Object.keys(tt),s);return Math.abs(a-s)<=t?tt[a]:[e,i]}function Qt(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),i=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0);return[e,i]}const B={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(e=>{const i=e.getAttribute("type");return l.empty(i)?!0:L.mime.call(this,i)}):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:B.getSources.call(this).map(e=>Number(e.getAttribute("size"))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,l.empty(this.config.ratio)||X.call(e),Object.defineProperty(e.media,"quality",{get(){const i=B.getSources.call(e).find(t=>t.getAttribute("src")===e.source);return i&&Number(i.getAttribute("size"))},set(i){if(e.quality!==i){if(e.config.quality.forced&&l.function(e.config.quality.onChange))e.config.quality.onChange(i);else{const t=B.getSources.call(e).find(c=>Number(c.getAttribute("size"))===i);if(!t)return;const{currentTime:s,paused:a,preload:n,readyState:r,playbackRate:o}=e.media;e.media.src=t.getAttribute("src"),(n!=="none"||r)&&(e.once("loadedmetadata",()=>{e.speed=o,e.currentTime=s,a||V(e.play())}),e.media.load())}v.call(e,e.media,"qualitychange",!1,{quality:i})}}})},cancelRequests(){this.isHTML5&&(W(B.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}},Jt=!!window.document.documentMode,Gt=/Edge/.test(navigator.userAgent),Zt="WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),ei=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,ti=/iPad|iPhone|iPod/i.test(navigator.userAgent)&&navigator.maxTouchPoints>1,_={isIE:Jt,isEdge:Gt,isWebKit:Zt,isIPadOS:ei,isIos:ti};function ii(e){return`${e}-${Math.floor(Math.random()*1e4)}`}function Ae(e,...i){return l.empty(e)?e:e.toString().replace(/\{(\d+)\}/g,(t,s)=>i[s].toString())}function si(e,i){return e===0||i===0||Number.isNaN(e)||Number.isNaN(i)?0:(e/i*100).toFixed(2)}function ee(e="",i="",t=""){return e.replace(new RegExp(i.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),t.toString())}function nt(e=""){return e.toString().replace(/\w\S*/g,i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase())}function ni(e=""){let i=e.toString();return i=ee(i,"-"," "),i=ee(i,"_"," "),i=nt(i),ee(i," ","")}function ai(e=""){let i=e.toString();return i=ni(i),i.charAt(0).toLowerCase()+i.slice(1)}function li(e){const i=document.createDocumentFragment(),t=document.createElement("div");return i.appendChild(t),t.innerHTML=e,i.firstChild.textContent}function ri(e){const i=document.createElement("div");return i.appendChild(e),i.innerHTML}const at={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},O={get(e="",i={}){if(l.empty(e)||l.empty(i))return"";let t=Xe(i.i18n,e);if(l.empty(t))return Object.keys(at).includes(e)?at[e]:"";const s={"{seektime}":i.seekTime,"{title}":i.title};return Object.entries(s).forEach(([a,n])=>{t=ee(t,a,n)}),t}};class ne{constructor(i){m(this,"get",t=>{if(!ne.supported||!this.enabled)return null;const s=window.localStorage.getItem(this.key);if(l.empty(s))return null;const a=JSON.parse(s);return l.string(t)&&t.length?a[t]:a}),m(this,"set",t=>{if(!ne.supported||!this.enabled||!l.object(t))return;let s=this.get();l.empty(s)&&(s={}),x(s,t);try{window.localStorage.setItem(this.key,JSON.stringify(s))}catch{}}),this.enabled=i.config.storage.enabled,this.key=i.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const i="___test";return window.localStorage.setItem(i,i),window.localStorage.removeItem(i),!0}catch{return!1}}}function te(e,i="text",t=!1){return new Promise((s,a)=>{try{const n=new XMLHttpRequest;if(!("withCredentials"in n))return;t&&(n.withCredentials=!0),n.addEventListener("load",()=>{if(i==="text")try{s(JSON.parse(n.responseText))}catch{s(n.responseText)}else s(n.response)}),n.addEventListener("error",()=>{throw new Error(n.status)}),n.open("GET",e,!0),n.responseType=i,n.send()}catch(n){a(n)}})}function lt(e,i){if(!l.string(e))return;const t="cache",s=l.string(i);let a=!1;const n=()=>document.getElementById(i)!==null,r=(o,c)=>{o.innerHTML=c,!(s&&n())&&document.body.insertAdjacentElement("afterbegin",o)};if(!s||!n()){const o=ne.supported,c=document.createElement("div");if(c.setAttribute("hidden",""),s&&c.setAttribute("id",i),o){const u=window.localStorage.getItem(`${t}-${i}`);if(a=u!==null,a){const p=JSON.parse(u);r(c,p.content)}}te(e).then(u=>{if(!l.empty(u)){if(o)try{window.localStorage.setItem(`${t}-${i}`,JSON.stringify({content:u}))}catch{}r(c,u)}}).catch(()=>{})}}const rt=e=>Math.trunc(e/60/60%60,10),oi=e=>Math.trunc(e/60%60,10),ci=e=>Math.trunc(e%60,10);function me(e=0,i=!1,t=!1){if(!l.number(e))return me(void 0,i,t);const s=o=>`0${o}`.slice(-2);let a=rt(e);const n=oi(e),r=ci(e);return i||a>0?a=`${a}:`:a="",`${t&&e>0?"-":""}${a}${s(n)}:${s(r)}`}const d={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),i=window.location.host?window.location.host:window.top.location.host,t=e.host!==i||_.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements(){try{return this.elements.controls=$.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:G.call(this,this.config.selectors.buttons.play),pause:$.call(this,this.config.selectors.buttons.pause),restart:$.call(this,this.config.selectors.buttons.restart),rewind:$.call(this,this.config.selectors.buttons.rewind),fastForward:$.call(this,this.config.selectors.buttons.fastForward),mute:$.call(this,this.config.selectors.buttons.mute),pip:$.call(this,this.config.selectors.buttons.pip),airplay:$.call(this,this.config.selectors.buttons.airplay),settings:$.call(this,this.config.selectors.buttons.settings),captions:$.call(this,this.config.selectors.buttons.captions),fullscreen:$.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=$.call(this,this.config.selectors.progress),this.elements.inputs={seek:$.call(this,this.config.selectors.inputs.seek),volume:$.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:$.call(this,this.config.selectors.display.buffer),currentTime:$.call(this,this.config.selectors.display.currentTime),duration:$.call(this,this.config.selectors.display.duration)},l.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,i){const t="http://www.w3.org/2000/svg",s=d.getIconUrl.call(this),a=`${s.cors?"":s.url}#${this.config.iconPrefix}`,n=document.createElementNS(t,"svg");ve(n,x(i,{"aria-hidden":"true",focusable:"false"}));const r=document.createElementNS(t,"use"),o=`${a}-${e}`;return"href"in r&&r.setAttributeNS("http://www.w3.org/1999/xlink","href",o),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),n.appendChild(r),n},createLabel(e,i={}){const t=O.get(e,this.config),s={...i,class:[i.class,this.config.classNames.hidden].filter(Boolean).join(" ")};return b("span",s,t)},createBadge(e){if(l.empty(e))return null;const i=b("span",{class:this.config.classNames.menu.value});return i.appendChild(b("span",{class:this.config.classNames.menu.badge},e)),i},createButton(e,i){const t=x({},i);let s=ai(e);const a={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(r=>{Object.keys(t).includes(r)&&(a[r]=t[r],delete t[r])}),a.element==="button"&&!Object.keys(t).includes("type")&&(t.type="button"),Object.keys(t).includes("class")?t.class.split(" ").includes(this.config.classNames.control)||x(t,{class:`${t.class} ${this.config.classNames.control}`}):t.class=this.config.classNames.control,e){case"play":a.toggle=!0,a.label="play",a.labelPressed="pause",a.icon="play",a.iconPressed="pause";break;case"mute":a.toggle=!0,a.label="mute",a.labelPressed="unmute",a.icon="volume",a.iconPressed="muted";break;case"captions":a.toggle=!0,a.label="enableCaptions",a.labelPressed="disableCaptions",a.icon="captions-off",a.iconPressed="captions-on";break;case"fullscreen":a.toggle=!0,a.label="enterFullscreen",a.labelPressed="exitFullscreen",a.icon="enter-fullscreen",a.iconPressed="exit-fullscreen";break;case"play-large":t.class+=` ${this.config.classNames.control}--overlaid`,s="play",a.label="play",a.icon="play";break;default:l.empty(a.label)&&(a.label=s),l.empty(a.icon)&&(a.icon=e)}const n=b(a.element);return a.toggle?(n.appendChild(d.createIcon.call(this,a.iconPressed,{class:"icon--pressed"})),n.appendChild(d.createIcon.call(this,a.icon,{class:"icon--not-pressed"})),n.appendChild(d.createLabel.call(this,a.labelPressed,{class:"label--pressed"})),n.appendChild(d.createLabel.call(this,a.label,{class:"label--not-pressed"}))):(n.appendChild(d.createIcon.call(this,a.icon)),n.appendChild(d.createLabel.call(this,a.label))),x(t,F(this.config.selectors.buttons[s],t)),ve(n,t),s==="play"?(l.array(this.elements.buttons[s])||(this.elements.buttons[s]=[]),this.elements.buttons[s].push(n)):this.elements.buttons[s]=n,n},createRange(e,i){const t=b("input",x(F(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":O.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},i));return this.elements.inputs[e]=t,d.updateRangeFill.call(this,t),It.setup(t),t},createProgress(e,i){const t=b("progress",x(F(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},i));if(e!=="volume"){t.appendChild(b("span",null,"0"));const s={played:"played",buffer:"buffered"}[e],a=s?O.get(s,this.config):"";t.textContent=`% ${a.toLowerCase()}`}return this.elements.display[e]=t,t},createTime(e,i){const t=F(this.config.selectors.display[e],i),s=b("div",x(t,{class:`${t.class?t.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":O.get(e,this.config),role:"timer"}),"00:00");return this.elements.display[e]=s,s},bindMenuItemShortcuts(e,i){C.call(this,e,"keydown keyup",t=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(t.key)||(t.preventDefault(),t.stopPropagation(),t.type==="keydown"))return;const s=Y(e,'[role="menuitemradio"]');if(!s&&[" ","ArrowRight"].includes(t.key))d.showMenuPanel.call(this,i,!0);else{let a;t.key!==" "&&(t.key==="ArrowDown"||s&&t.key==="ArrowRight"?(a=e.nextElementSibling,l.element(a)||(a=e.parentNode.firstElementChild)):(a=e.previousElementSibling,l.element(a)||(a=e.parentNode.lastElementChild)),we.call(this,a,!0))}},!1),C.call(this,e,"keyup",t=>{t.key==="Return"&&d.focusFirstMenuItem.call(this,null,!0)})},createMenuItem({value:e,list:i,type:t,title:s,badge:a=null,checked:n=!1}){const r=F(this.config.selectors.inputs[t]),o=b("button",x(r,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${r.class?r.class:""}`.trim(),"aria-checked":n,value:e})),c=b("span");c.innerHTML=s,l.element(a)&&c.appendChild(a),o.appendChild(c),Object.defineProperty(o,"checked",{enumerable:!0,get(){return o.getAttribute("aria-checked")==="true"},set(u){u&&Array.from(o.parentNode.children).filter(p=>Y(p,'[role="menuitemradio"]')).forEach(p=>p.setAttribute("aria-checked","false")),o.setAttribute("aria-checked",u?"true":"false")}}),this.listeners.bind(o,"click keyup",u=>{if(!(l.keyboardEvent(u)&&u.key!==" ")){switch(u.preventDefault(),u.stopPropagation(),o.checked=!0,t){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=Number.parseFloat(e);break}d.showMenuPanel.call(this,"home",l.keyboardEvent(u))}},t,!1),d.bindMenuItemShortcuts.call(this,o,t),i.appendChild(o)},formatTime(e=0,i=!1){if(!l.number(e))return e;const t=rt(this.duration)>0;return me(e,t,i)},updateTimeDisplay(e=null,i=0,t=!1){!l.element(e)||!l.number(i)||(e.textContent=d.formatTime(i,t))},updateVolume(){this.supported.ui&&(l.element(this.elements.inputs.volume)&&d.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),l.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||this.volume===0))},setRange(e,i=0){l.element(e)&&(e.value=i,d.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!l.event(e))return;let i=0;const t=(s,a)=>{const n=l.number(a)?a:0,r=l.element(s)?s:this.elements.display.buffer;if(l.element(r)){r.value=n;const o=r.getElementsByTagName("span")[0];l.element(o)&&(o.childNodes[0].nodeValue=n)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":i=si(this.currentTime,this.duration),e.type==="timeupdate"&&d.setRange.call(this,this.elements.inputs.seek,i);break;case"playing":case"progress":t(this.elements.display.buffer,this.buffered*100);break}},updateRangeFill(e){const i=l.event(e)?e.target:e;if(!(!l.element(i)||i.getAttribute("type")!=="range")){if(Y(i,this.config.selectors.inputs.seek)){i.setAttribute("aria-valuenow",this.currentTime);const t=d.formatTime(this.currentTime),s=d.formatTime(this.duration),a=O.get("seekLabel",this.config);i.setAttribute("aria-valuetext",a.replace("{currentTime}",t).replace("{duration}",s))}else if(Y(i,this.config.selectors.inputs.volume)){const t=i.value*100;i.setAttribute("aria-valuenow",t),i.setAttribute("aria-valuetext",`${t.toFixed(1)}%`)}else i.setAttribute("aria-valuenow",i.value);!_.isWebKit&&!_.isIPadOS||i.style.setProperty("--value",`${i.value/i.max*100}%`)}},updateSeekTooltip(e){var i,t;if(!this.config.tooltips.seek||!l.element(this.elements.inputs.seek)||!l.element(this.elements.display.seekTooltip)||this.duration===0)return;const s=this.elements.display.seekTooltip,a=`${this.config.classNames.tooltip}--visible`,n=p=>S(s,a,p);if(this.touch){n(!1);return}let r=0;const o=this.elements.progress.getBoundingClientRect();if(l.event(e)){const p=e.pageX-e.clientX;r=100/o.width*(e.pageX-o.left-p)}else if(ue(s,a))r=Number.parseFloat(s.style.left,10);else return;r<0?r=0:r>100&&(r=100);const c=this.duration/100*r;s.textContent=d.formatTime(c);const u=(t=(i=this.config.markers)==null?void 0:i.points)==null?void 0:t.find(({time:p})=>p===Math.round(c));u&&s.insertAdjacentHTML("afterbegin",`${u.label}<br>`),s.style.left=`${r}%`,l.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&n(e.type==="mouseenter")},timeUpdate(e){const i=!l.element(this.elements.display.duration)&&this.config.invertTime;d.updateTimeDisplay.call(this,this.elements.display.currentTime,i?this.duration-this.currentTime:this.currentTime,i),!(e&&e.type==="timeupdate"&&this.media.seeking)&&d.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32){K(this.elements.display.currentTime,!0),K(this.elements.progress,!0);return}l.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=l.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&d.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&d.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&d.setMarkers.call(this),d.updateSeekTooltip.call(this)},toggleMenuButton(e,i){K(this.elements.settings.buttons[e],!i)},updateSetting(e,i,t){const s=this.elements.settings.panels[e];let a=null,n=i;if(e==="captions")a=this.currentTrack;else{if(a=l.empty(t)?this[e]:t,l.empty(a)&&(a=this.config[e].default),!l.empty(this.options[e])&&!this.options[e].includes(a)){this.debug.warn(`Unsupported value of '${a}' for ${e}`);return}if(!this.config[e].options.includes(a)){this.debug.warn(`Disabled value of '${a}' for ${e}`);return}}if(l.element(n)||(n=s&&s.querySelector('[role="menu"]')),!l.element(n))return;const r=this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`);r.innerHTML=d.getLabel.call(this,e,a);const o=n&&n.querySelector(`[value="${a}"]`);l.element(o)&&(o.checked=!0)},getLabel(e,i){switch(e){case"speed":return i===1?O.get("normal",this.config):`${i}&times;`;case"quality":if(l.number(i)){const t=O.get(`qualityLabel.${i}`,this.config);return t.length?t:`${i}p`}return nt(i);case"captions":return A.getLabel.call(this);default:return null}},setQualityMenu(e){if(!l.element(this.elements.settings.panels.quality))return;const i="quality",t=this.elements.settings.panels.quality.querySelector('[role="menu"]');l.array(e)&&(this.options.quality=Te(e).filter(n=>this.config.quality.options.includes(n)));const s=!l.empty(this.options.quality)&&this.options.quality.length>1;if(d.toggleMenuButton.call(this,i,s),oe(t),d.checkMenu.call(this),!s)return;const a=n=>{const r=O.get(`qualityBadge.${n}`,this.config);return r.length?d.createBadge.call(this,r):null};this.options.quality.sort((n,r)=>{const o=this.config.quality.options;return o.indexOf(n)>o.indexOf(r)?1:-1}).forEach(n=>{d.createMenuItem.call(this,{value:n,list:t,type:i,title:d.getLabel.call(this,"quality",n),badge:a(n)})}),d.updateSetting.call(this,i,t)},setCaptionsMenu(){if(!l.element(this.elements.settings.panels.captions))return;const e="captions",i=this.elements.settings.panels.captions.querySelector('[role="menu"]'),t=A.getTracks.call(this),s=!!t.length;if(d.toggleMenuButton.call(this,e,s),oe(i),d.checkMenu.call(this),!s)return;const a=t.map((n,r)=>({value:r,checked:this.captions.toggled&&this.currentTrack===r,title:A.getLabel.call(this,n),badge:n.language&&d.createBadge.call(this,n.language.toUpperCase()),list:i,type:"language"}));a.unshift({value:-1,checked:!this.captions.toggled,title:O.get("disabled",this.config),list:i,type:"language"}),a.forEach(d.createMenuItem.bind(this)),d.updateSetting.call(this,e,i)},setSpeedMenu(){if(!l.element(this.elements.settings.panels.speed))return;const e="speed",i=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(s=>s>=this.minimumSpeed&&s<=this.maximumSpeed);const t=!l.empty(this.options.speed)&&this.options.speed.length>1;d.toggleMenuButton.call(this,e,t),oe(i),d.checkMenu.call(this),t&&(this.options.speed.forEach(s=>{d.createMenuItem.call(this,{value:s,list:i,type:e,title:d.getLabel.call(this,"speed",s)})}),d.updateSetting.call(this,e,i))},checkMenu(){const{buttons:e}=this.elements.settings,i=!l.empty(e)&&Object.values(e).some(t=>!t.hidden);K(this.elements.settings.menu,!i)},focusFirstMenuItem(e,i=!1){if(this.elements.settings.popup.hidden)return;let t=e;l.element(t)||(t=Object.values(this.elements.settings.panels).find(a=>!a.hidden));const s=t.querySelector('[role^="menuitem"]');we.call(this,s,i)},toggleMenu(e){const{popup:i}=this.elements.settings,t=this.elements.buttons.settings;if(!l.element(i)||!l.element(t))return;const{hidden:s}=i;let a=s;if(l.boolean(e))a=e;else if(l.keyboardEvent(e)&&e.key==="Escape")a=!1;else if(l.event(e)){const n=l.function(e.composedPath)?e.composedPath()[0]:e.target,r=i.contains(n);if(r||!r&&e.target!==t&&a)return}t.setAttribute("aria-expanded",a),K(i,!a),S(this.elements.container,this.config.classNames.menu.open,a),a&&l.keyboardEvent(e)?d.focusFirstMenuItem.call(this,null,!0):!a&&!s&&we.call(this,t,l.keyboardEvent(e))},getMenuSize(e){const i=e.cloneNode(!0);i.style.position="absolute",i.style.opacity=0,i.removeAttribute("hidden"),e.parentNode.appendChild(i);const t=i.scrollWidth,s=i.scrollHeight;return W(i),{width:t,height:s}},showMenuPanel(e="",i=!1){const t=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!l.element(t))return;const s=t.parentNode,a=Array.from(s.children).find(n=>!n.hidden);if(L.transitions&&!L.reducedMotion){s.style.width=`${a.scrollWidth}px`,s.style.height=`${a.scrollHeight}px`;const n=d.getMenuSize.call(this,t),r=o=>{o.target!==s||!["width","height"].includes(o.propertyName)||(s.style.width="",s.style.height="",he.call(this,s,be,r))};C.call(this,s,be,r),s.style.width=`${n.width}px`,s.style.height=`${n.height}px`}K(a,!0),K(t,!1),d.focusFirstMenuItem.call(this,t,i)},setDownloadUrl(){const e=this.elements.buttons.download;l.element(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:i,createButton:t,createProgress:s,createRange:a,createTime:n,setQualityMenu:r,setSpeedMenu:o,showMenuPanel:c}=d;this.elements.controls=null,l.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(t.call(this,"play-large"));const u=b("div",F(this.config.selectors.controls.wrapper));this.elements.controls=u;const p={class:"plyr__controls__item"};return Te(l.array(this.config.controls)?this.config.controls:[]).forEach(y=>{if(y==="restart"&&u.appendChild(t.call(this,"restart",p)),y==="rewind"&&u.appendChild(t.call(this,"rewind",p)),y==="play"&&u.appendChild(t.call(this,"play",p)),y==="fast-forward"&&u.appendChild(t.call(this,"fast-forward",p)),y==="progress"){const h=b("div",{class:`${p.class} plyr__progress__container`}),f=b("div",F(this.config.selectors.progress));if(f.appendChild(a.call(this,"seek",{id:`plyr-seek-${e.id}`})),f.appendChild(s.call(this,"buffer")),this.config.tooltips.seek){const T=b("span",{class:this.config.classNames.tooltip},"00:00");f.appendChild(T),this.elements.display.seekTooltip=T}this.elements.progress=f,h.appendChild(this.elements.progress),u.appendChild(h)}if(y==="current-time"&&u.appendChild(n.call(this,"currentTime",p)),y==="duration"&&u.appendChild(n.call(this,"duration",p)),y==="mute"||y==="volume"){let{volume:h}=this.elements;if((!l.element(h)||!u.contains(h))&&(h=b("div",x({},p,{class:`${p.class} plyr__volume`.trim()})),this.elements.volume=h,u.appendChild(h)),y==="mute"&&h.appendChild(t.call(this,"mute")),y==="volume"&&!_.isIos&&!_.isIPadOS){const f={max:1,step:.05,value:this.config.volume};h.appendChild(a.call(this,"volume",x(f,{id:`plyr-volume-${e.id}`})))}}if(y==="captions"&&u.appendChild(t.call(this,"captions",p)),y==="settings"&&!l.empty(this.config.settings)){const h=b("div",x({},p,{class:`${p.class} plyr__menu`.trim(),hidden:""}));h.appendChild(t.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const f=b("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),T=b("div"),w=b("div",{id:`plyr-settings-${e.id}-home`}),I=b("div",{role:"menu"});w.appendChild(I),T.appendChild(w),this.elements.settings.panels.home=w,this.config.settings.forEach(P=>{const g=b("button",x(F(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));i.call(this,g,P),C.call(this,g,"click",()=>{c.call(this,P,!1)});const k=b("span",null,O.get(P,this.config)),M=b("span",{class:this.config.classNames.menu.value});M.innerHTML=e[P],k.appendChild(M),g.appendChild(k),I.appendChild(g);const j=b("div",{id:`plyr-settings-${e.id}-${P}`,hidden:""}),H=b("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});H.appendChild(b("span",{"aria-hidden":!0},O.get(P,this.config))),H.appendChild(b("span",{class:this.config.classNames.hidden},O.get("menuBack",this.config))),C.call(this,j,"keydown",R=>{R.key==="ArrowLeft"&&(R.preventDefault(),R.stopPropagation(),c.call(this,"home",!0))},!1),C.call(this,H,"click",()=>{c.call(this,"home",!1)}),j.appendChild(H),j.appendChild(b("div",{role:"menu"})),T.appendChild(j),this.elements.settings.buttons[P]=g,this.elements.settings.panels[P]=j}),f.appendChild(T),h.appendChild(f),u.appendChild(h),this.elements.settings.popup=f,this.elements.settings.menu=h}if(y==="pip"&&L.pip&&u.appendChild(t.call(this,"pip",p)),y==="airplay"&&L.airplay&&u.appendChild(t.call(this,"airplay",p)),y==="download"){const h=x({},p,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(h.download="");const{download:f}=this.config.urls;!l.url(f)&&this.isEmbed&&x(h,{icon:`logo-${this.provider}`,label:this.provider}),u.appendChild(t.call(this,"download",h))}y==="fullscreen"&&u.appendChild(t.call(this,"fullscreen",p))}),this.isHTML5&&r.call(this,B.getQualityOptions.call(this)),o.call(this),u},inject(){if(this.config.loadSprite){const r=d.getIconUrl.call(this);r.cors&&lt(r.url,"sprite-plyr")}this.id=Math.floor(Math.random()*1e4);let e=null;this.elements.controls=null;const i={id:this.id,seektime:this.config.seekTime,title:this.config.title};let t=!0;l.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),l.element(this.config.controls)||l.string(this.config.controls)?e=this.config.controls:(e=d.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:A.getLabel.call(this)}),t=!1);const s=r=>{let o=r;return Object.entries(i).forEach(([c,u])=>{o=ee(o,`{${c}}`,u)}),o};t&&l.string(this.config.controls)&&(e=s(e));let a;l.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),l.element(a)||(a=this.elements.container);const n=l.element(e)?"insertAdjacentElement":"insertAdjacentHTML";if(a[n]("afterbegin",e),l.element(this.elements.controls)||d.findElements.call(this),!l.empty(this.elements.buttons)){const r=o=>{const c=this.config.classNames.controlPressed;o.setAttribute("aria-pressed","false"),Object.defineProperty(o,"pressed",{configurable:!0,enumerable:!0,get(){return ue(o,c)},set(u=!1){S(o,c,u),o.setAttribute("aria-pressed",u?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach(o=>{l.array(o)||l.nodeList(o)?Array.from(o).filter(Boolean).forEach(r):r(o)})}if(_.isEdge&&Ye(a),this.config.tooltips.controls){const{classNames:r,selectors:o}=this.config,c=`${o.controls.wrapper} ${o.labels} .${r.hidden}`,u=G.call(this,c);Array.from(u).forEach(p=>{S(p,this.config.classNames.hidden,!1),S(p,this.config.classNames.tooltip,!0)})}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch{}},setMarkers(){var e,i;if(!this.duration||this.elements.markers)return;const t=(i=(e=this.config.markers)==null?void 0:e.points)==null?void 0:i.filter(({time:c})=>c>0&&c<this.duration);if(!(t!=null&&t.length))return;const s=document.createDocumentFragment(),a=document.createDocumentFragment();let n=null;const r=`${this.config.classNames.tooltip}--visible`,o=c=>S(n,r,c);t.forEach(c=>{const u=b("span",{class:this.config.classNames.marker},""),p=`${c.time/this.duration*100}%`;n&&(u.addEventListener("mouseenter",()=>{c.label||(n.style.left=p,n.innerHTML=c.label,o(!0))}),u.addEventListener("mouseleave",()=>{o(!1)})),u.addEventListener("click",()=>{this.currentTime=c.time}),u.style.left=p,a.appendChild(u)}),s.appendChild(a),this.config.tooltips.seek||(n=b("span",{class:this.config.classNames.tooltip},""),s.appendChild(n)),this.elements.markers={points:a,tip:n},this.elements.progress.appendChild(s)}};function ot(e,i=!0){let t=e;if(i){const s=document.createElement("a");s.href=t,t=s.href}try{return new URL(t)}catch{return null}}function ct(e){const i=new URLSearchParams;return l.object(e)&&Object.entries(e).forEach(([t,s])=>{i.set(t,s)}),i}const A={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!L.textTracks){l.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&d.setCaptionsMenu.call(this);return}if(l.element(this.elements.captions)||(this.elements.captions=b("div",F(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),Bt(this.elements.captions,this.elements.wrapper)),_.isIE&&window.URL){const a=this.media.querySelectorAll("track");Array.from(a).forEach(n=>{const r=n.getAttribute("src"),o=ot(r);o!==null&&o.hostname!==window.location.href.hostname&&["http:","https:"].includes(o.protocol)&&te(r,"blob").then(c=>{n.setAttribute("src",window.URL.createObjectURL(c))}).catch(()=>{W(n)})})}const e=navigator.languages||[navigator.language||navigator.userLanguage||"en"],i=Te(e.map(a=>a.split("-")[0]));let t=(this.storage.get("language")||this.captions.language||this.config.captions.language||"auto").toLowerCase();t==="auto"&&([t]=i);let s=this.storage.get("captions")||this.captions.active;if(l.boolean(s)||({active:s}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:s,language:t,languages:i}),this.isHTML5){const a=this.config.captions.update?"addtrack removetrack":"removetrack";C.call(this,this.media.textTracks,a,A.update.bind(this))}setTimeout(A.update.bind(this),0)},update(){const e=A.getTracks.call(this,!0),{active:i,language:t,meta:s,currentTrackNode:a}=this.captions,n=!!e.find(r=>r.language===t);this.isHTML5&&this.isVideo&&e.filter(r=>!s.get(r)).forEach(r=>{this.debug.log("Track added",r),s.set(r,{default:r.mode==="showing"}),r.mode==="showing"&&(r.mode="hidden"),C.call(this,r,"cuechange",()=>A.updateCues.call(this))}),(n&&this.language!==t||!e.includes(a))&&(A.setLanguage.call(this,t),A.toggle.call(this,i&&n)),this.elements&&S(this.elements.container,this.config.classNames.captions.enabled,!l.empty(e)),l.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&d.setCaptionsMenu.call(this)},toggle(e,i=!0){if(!this.supported.ui)return;const{toggled:t}=this.captions,s=this.config.classNames.captions.active,a=l.nullOrUndefined(e)?!t:e;if(a!==t){if(i||(this.captions.active=a,this.storage.set({captions:a})),!this.language&&a&&!i){const n=A.getTracks.call(this),r=A.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);this.captions.language=r.language,A.set.call(this,n.indexOf(r));return}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=a),S(this.elements.container,s,a),this.captions.toggled=a,d.updateSetting.call(this,"captions"),v.call(this,this.media,a?"captionsenabled":"captionsdisabled")}setTimeout(()=>{a&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")})},set(e,i=!0){const t=A.getTracks.call(this);if(e===-1){A.toggle.call(this,!1,i);return}if(!l.number(e)){this.debug.warn("Invalid caption argument",e);return}if(!(e in t)){this.debug.warn("Track not found",e);return}if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const s=t[e],{language:a}=s||{};this.captions.currentTrackNode=s,d.updateSetting.call(this,"captions"),i||(this.captions.language=a,this.storage.set({language:a})),this.isVimeo&&this.embed.enableTextTrack(a),v.call(this,this.media,"languagechange")}A.toggle.call(this,!0,i),this.isHTML5&&this.isVideo&&A.updateCues.call(this)},setLanguage(e,i=!0){if(!l.string(e)){this.debug.warn("Invalid language argument",e);return}const t=e.toLowerCase();this.captions.language=t;const s=A.getTracks.call(this),a=A.findTrack.call(this,[t]);A.set.call(this,s.indexOf(a),i)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter(i=>!this.isHTML5||e||this.captions.meta.has(i)).filter(i=>["captions","subtitles"].includes(i.kind))},findTrack(e,i=!1){const t=A.getTracks.call(this),s=r=>Number((this.captions.meta.get(r)||{}).default),a=Array.from(t).sort((r,o)=>s(o)-s(r));let n;return e.every(r=>(n=a.find(o=>o.language===r),!n)),n||(i?a[0]:void 0)},getCurrentTrack(){return A.getTracks.call(this)[this.currentTrack]},getLabel(e){let i=e;return!l.track(i)&&L.textTracks&&this.captions.toggled&&(i=A.getCurrentTrack.call(this)),l.track(i)?l.empty(i.label)?l.empty(i.language)?O.get("enabled",this.config):e.language.toUpperCase():i.label:O.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!l.element(this.elements.captions)){this.debug.warn("No captions element to render to");return}if(!l.nullOrUndefined(e)&&!Array.isArray(e)){this.debug.warn("updateCues: Invalid input",e);return}let i=e;if(!i){const s=A.getCurrentTrack.call(this);i=Array.from((s||{}).activeCues||[]).map(a=>a.getCueAsHTML()).map(ri)}const t=i.map(s=>s.trim()).join(`
2
2
  `);if(t!==this.elements.captions.innerHTML){oe(this.elements.captions);const s=b("span",F(this.config.selectors.caption));s.innerHTML=t,this.elements.captions.appendChild(s),v.call(this,this.media,"cuechange")}}},ut={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.8.3/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:"",withCredentials:!1},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},Se={active:"picture-in-picture",inactive:"inline"},z={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Ee={audio:"audio",video:"video"};function ui(e){return/^(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?z.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?z.vimeo:null}function Pe(){}class hi{constructor(i=!1){this.enabled=window.console&&i,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):Pe}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):Pe}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):Pe}}class q{constructor(i){m(this,"onChange",()=>{if(!this.supported)return;const t=this.player.elements.buttons.fullscreen;l.element(t)&&(t.pressed=this.active);const s=this.target===this.player.media?this.target:this.player.elements.container;v.call(this.player,s,this.active?"enterfullscreen":"exitfullscreen",!0)}),m(this,"toggleFallback",(t=!1)=>{if(t?this.scrollPosition={x:window.scrollX??0,y:window.scrollY??0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=t?"hidden":"",S(this.target,this.player.config.classNames.fullscreen.fallback,t),_.isIos){let s=document.head.querySelector('meta[name="viewport"]');const a="viewport-fit=cover";s||(s=document.createElement("meta"),s.setAttribute("name","viewport"));const n=l.string(s.content)&&s.content.includes(a);t?(this.cleanupViewport=!n,n||(s.content+=`,${a}`)):this.cleanupViewport&&(s.content=s.content.split(",").filter(r=>r.trim()!==a).join(","))}this.onChange()}),m(this,"trapFocus",t=>{if(_.isIos||_.isIPadOS||!this.active||t.key!=="Tab")return;const s=document.activeElement,a=G.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[n]=a,r=a[a.length-1];s===r&&!t.shiftKey?(n.focus(),t.preventDefault()):s===n&&t.shiftKey&&(r.focus(),t.preventDefault())}),m(this,"update",()=>{if(this.supported){let t;this.forceFallback?t="Fallback (forced)":q.nativeSupported?t="Native":t="Fallback",this.player.debug.log(`${t} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");S(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.supported)}),m(this,"enter",()=>{this.supported&&(_.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!q.nativeSupported||this.forceFallback?this.toggleFallback(!0):this.prefix?l.empty(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))}),m(this,"exit",()=>{if(this.supported){if(_.isIos&&this.player.config.fullscreen.iosNative)this.player.isVimeo?this.player.embed.exitFullscreen():this.target.webkitEnterFullscreen(),V(this.player.play());else if(!q.nativeSupported||this.forceFallback)this.toggleFallback(!1);else if(!this.prefix)(document.cancelFullScreen||document.exitFullscreen).call(document);else if(!l.empty(this.prefix)){const t=this.prefix==="moz"?"Cancel":"Exit";document[`${this.prefix}${t}${this.property}`]()}}}),m(this,"toggle",()=>{this.active?this.exit():this.enter()}),this.player=i,this.prefix=q.prefix,this.property=q.property,this.scrollPosition={x:0,y:0},this.forceFallback=i.config.fullscreen.fallback==="force",this.player.elements.fullscreen=i.config.fullscreen.container&&zt(this.player.elements.container,i.config.fullscreen.container),C.call(this.player,document,this.prefix==="ms"?"MSFullscreenChange":`${this.prefix}fullscreenchange`,()=>{this.onChange()}),C.call(this.player,this.player.elements.container,"dblclick",t=>{l.element(this.player.elements.controls)&&this.player.elements.controls.contains(t.target)||this.player.listeners.proxy(t,this.toggle,"fullscreen")}),C.call(this,this.player.elements.container,"keydown",t=>this.trapFocus(t)),this.update()}static get nativeSupported(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get useNative(){return q.nativeSupported&&!this.forceFallback}static get prefix(){if(l.function(document.exitFullscreen))return"";let i="";return["webkit","moz","ms"].some(t=>l.function(document[`${t}ExitFullscreen`])||l.function(document[`${t}CancelFullScreen`])?(i=t,!0):!1),i}static get property(){return this.prefix==="moz"?"FullScreen":"Fullscreen"}get supported(){return[this.player.config.fullscreen.enabled,this.player.isVideo,q.nativeSupported||this.player.config.fullscreen.fallback,!this.player.isYouTube||q.nativeSupported||!_.isIos||this.player.config.playsinline&&!this.player.config.fullscreen.iosNative].every(Boolean)}get active(){if(!this.supported)return!1;if(!q.nativeSupported||this.forceFallback)return ue(this.target,this.player.config.classNames.fullscreen.fallback);const i=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return i&&i.shadowRoot?i===this.target.getRootNode().host:i===this.target}get target(){return _.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen??this.player.elements.container}}function pe(e,i=1){return new Promise((t,s)=>{const a=new Image,n=()=>{delete a.onload,delete a.onerror,(a.naturalWidth>=i?t:s)(a)};Object.assign(a,{onload:n,onerror:n,src:e})})}const E={addStyleHook(){S(this.elements.container,this.config.selectors.container.replace(".",""),!0),S(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui){this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),E.toggleNativeControls.call(this,!0);return}l.element(this.elements.controls)||(d.inject.call(this),this.listeners.controls()),E.toggleNativeControls.call(this),this.isHTML5&&A.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,d.updateVolume.call(this),d.timeUpdate.call(this),d.durationUpdate.call(this),E.checkPlaying.call(this),S(this.elements.container,this.config.classNames.pip.supported,L.pip&&this.isHTML5&&this.isVideo),S(this.elements.container,this.config.classNames.airplay.supported,L.airplay&&this.isHTML5),S(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(()=>{v.call(this,this.media,"ready")},0),E.setTitle.call(this),this.poster&&E.setPoster.call(this,this.poster,!1).catch(()=>{}),this.config.duration&&d.durationUpdate.call(this),this.config.mediaMetadata&&d.setMediaMetadata.call(this)},setTitle(){let e=O.get("play",this.config);if(l.string(this.config.title)&&!l.empty(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach(i=>{i.setAttribute("aria-label",e)}),this.isEmbed){const i=$.call(this,"iframe");if(!l.element(i))return;const t=l.empty(this.config.title)?"video":this.config.title,s=O.get("frameTitle",this.config);i.setAttribute("title",s.replace("{title}",t))}},togglePoster(e){S(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,i=!0){return i&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),Xt.call(this).then(()=>pe(e)).catch(t=>{throw e===this.poster&&E.togglePoster.call(this,!1),t}).then(()=>{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),E.togglePoster.call(this,!0),e)))},checkPlaying(e){S(this.elements.container,this.config.classNames.playing,this.playing),S(this.elements.container,this.config.classNames.paused,this.paused),S(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(i=>{Object.assign(i,{pressed:this.playing}),i.setAttribute("aria-label",O.get(this.playing?"pause":"play",this.config))}),!(l.event(e)&&e.type==="timeupdate")&&E.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(()=>{S(this.elements.container,this.config.classNames.loading,this.loading),E.toggleControls.call(this)},this.loading?250:0)},toggleControls(e){const{controls:i}=this.elements;if(i&&this.config.hideControls){const t=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(!!(e||this.loading||this.paused||i.pressed||i.hover||t))}},migrateStyles(){Object.values({...this.media.style}).filter(e=>!l.empty(e)&&l.string(e)&&e.startsWith("--plyr")).forEach(e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)}),l.empty(this.media.style)&&this.media.removeAttribute("style")}};class di{constructor(i){m(this,"firstTouch",()=>{const{player:t}=this,{elements:s}=t;t.touch=!0,S(s.container,t.config.classNames.isTouch,!0)}),m(this,"global",(t=!0)=>{const{player:s}=this;s.config.keyboard.global&&Z.call(s,window,"keydown keyup",this.handleKey,t,!1),Z.call(s,document.body,"click",this.toggleMenu,t),ke.call(s,document.body,"touchstart",this.firstTouch)}),m(this,"container",()=>{const{player:t}=this,{config:s,elements:a,timers:n}=t;!s.keyboard.global&&s.keyboard.focused&&C.call(t,a.container,"keydown keyup",this.handleKey,!1),C.call(t,a.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",c=>{const{controls:u}=a;u&&c.type==="enterfullscreen"&&(u.pressed=!1,u.hover=!1);const p=["touchstart","touchmove","mousemove"].includes(c.type);let y=0;p&&(E.toggleControls.call(t,!0),y=t.touch?3e3:2e3),clearTimeout(n.controls),n.controls=setTimeout(()=>E.toggleControls.call(t,!1),y)});const r=()=>{if(!t.isVimeo||t.config.vimeo.premium)return;const c=a.wrapper,{active:u}=t.fullscreen,[p,y]=Ce.call(t),h=et(`aspect-ratio: ${p} / ${y}`);if(!u){h?(c.style.width=null,c.style.height=null):(c.style.maxWidth=null,c.style.margin=null);return}const[f,T]=Qt(),w=f/T>p/y;h?(c.style.width=w?"auto":"100%",c.style.height=w?"100%":"auto"):(c.style.maxWidth=w?`${T/y*p}px`:null,c.style.margin=w?"0 auto":null)},o=()=>{clearTimeout(n.resized),n.resized=setTimeout(r,50)};C.call(t,a.container,"enterfullscreen exitfullscreen",c=>{const{target:u}=t.fullscreen;u!==a.container||!t.isEmbed&&l.empty(t.config.ratio)||(r(),(c.type==="enterfullscreen"?C:he).call(t,window,"resize",o))})}),m(this,"media",()=>{const{player:t}=this,{elements:s}=t;if(C.call(t,t.media,"timeupdate seeking seeked",n=>d.timeUpdate.call(t,n)),C.call(t,t.media,"durationchange loadeddata loadedmetadata",n=>d.durationUpdate.call(t,n)),C.call(t,t.media,"ended",()=>{t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&(t.restart(),t.pause())}),C.call(t,t.media,"progress playing seeking seeked",n=>d.updateProgress.call(t,n)),C.call(t,t.media,"volumechange",n=>d.updateVolume.call(t,n)),C.call(t,t.media,"playing play pause ended emptied timeupdate",n=>E.checkPlaying.call(t,n)),C.call(t,t.media,"waiting canplay seeked playing",n=>E.checkLoading.call(t,n)),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){const n=$.call(t,`.${t.config.classNames.video}`);if(!l.element(n))return;C.call(t,s.container,"click",r=>{![s.container,n].includes(r.target)&&!n.contains(r.target)||t.touch&&t.config.hideControls||(t.ended?(this.proxy(r,t.restart,"restart"),this.proxy(r,()=>{V(t.play())},"play")):this.proxy(r,()=>{V(t.togglePlay())},"play"))})}t.supported.ui&&t.config.disableContextMenu&&C.call(t,s.wrapper,"contextmenu",n=>{n.preventDefault()},!1),C.call(t,t.media,"volumechange",()=>{t.storage.set({volume:t.volume,muted:t.muted})}),C.call(t,t.media,"ratechange",()=>{d.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})}),C.call(t,t.media,"qualitychange",n=>{d.updateSetting.call(t,"quality",null,n.detail.quality)}),C.call(t,t.media,"ready qualitychange",()=>{d.setDownloadUrl.call(t)});const a=t.config.events.concat(["keyup","keydown"]).join(" ");C.call(t,t.media,a,n=>{let{detail:r={}}=n;n.type==="error"&&(r=t.media.error),v.call(t,s.container,n.type,!0,r)})}),m(this,"proxy",(t,s,a)=>{const{player:n}=this,r=n.config.listeners[a],o=l.function(r);let c=!0;o&&(c=r.call(n,t)),c!==!1&&l.function(s)&&s.call(n,t)}),m(this,"bind",(t,s,a,n,r=!0)=>{const{player:o}=this,c=o.config.listeners[n],u=l.function(c);C.call(o,t,s,p=>this.proxy(p,a,n),r&&!u)}),m(this,"controls",()=>{const{player:t}=this,{elements:s}=t,a=_.isIE?"change":"input";if(s.buttons.play&&Array.from(s.buttons.play).forEach(n=>{this.bind(n,"click",()=>{V(t.togglePlay())},"play")}),this.bind(s.buttons.restart,"click",t.restart,"restart"),this.bind(s.buttons.rewind,"click",()=>{t.lastSeekTime=Date.now(),t.rewind()},"rewind"),this.bind(s.buttons.fastForward,"click",()=>{t.lastSeekTime=Date.now(),t.forward()},"fastForward"),this.bind(s.buttons.mute,"click",()=>{t.muted=!t.muted},"mute"),this.bind(s.buttons.captions,"click",()=>t.toggleCaptions()),this.bind(s.buttons.download,"click",()=>{v.call(t,t.media,"download")},"download"),this.bind(s.buttons.fullscreen,"click",()=>{t.fullscreen.toggle()},"fullscreen"),this.bind(s.buttons.pip,"click",()=>{t.pip="toggle"},"pip"),this.bind(s.buttons.airplay,"click",t.airplay,"airplay"),this.bind(s.buttons.settings,"click",n=>{n.stopPropagation(),n.preventDefault(),d.toggleMenu.call(t,n)},null,!1),this.bind(s.buttons.settings,"keyup",n=>{if([" ","Enter"].includes(n.key)){if(n.key==="Enter"){d.focusFirstMenuItem.call(t,null,!0);return}n.preventDefault(),n.stopPropagation(),d.toggleMenu.call(t,n)}},null,!1),this.bind(s.settings.menu,"keydown",n=>{n.key==="Escape"&&d.toggleMenu.call(t,n)}),this.bind(s.inputs.seek,"mousedown mousemove",n=>{const r=s.progress.getBoundingClientRect(),o=n.pageX-n.clientX,c=100/r.width*(n.pageX-r.left-o);n.currentTarget.setAttribute("seek-value",c)}),this.bind(s.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",n=>{const r=n.currentTarget,o="play-on-seeked";if(l.keyboardEvent(n)&&!["ArrowLeft","ArrowRight"].includes(n.key))return;t.lastSeekTime=Date.now();const c=r.hasAttribute(o),u=["mouseup","touchend","keyup"].includes(n.type);c&&u?(r.removeAttribute(o),V(t.play())):!u&&t.playing&&(r.setAttribute(o,""),t.pause())}),_.isIos){const n=G.call(t,'input[type="range"]');Array.from(n).forEach(r=>this.bind(r,a,o=>Ye(o.target)))}this.bind(s.inputs.seek,a,n=>{const r=n.currentTarget;let o=r.getAttribute("seek-value");l.empty(o)&&(o=r.value),r.removeAttribute("seek-value"),t.currentTime=o/r.max*t.duration},"seek"),this.bind(s.progress,"mouseenter mouseleave mousemove",n=>d.updateSeekTooltip.call(t,n)),this.bind(s.progress,"mousemove touchmove",n=>{const{previewThumbnails:r}=t;r&&r.loaded&&r.startMove(n)}),this.bind(s.progress,"mouseleave touchend click",()=>{const{previewThumbnails:n}=t;n&&n.loaded&&n.endMove(!1,!0)}),this.bind(s.progress,"mousedown touchstart",n=>{const{previewThumbnails:r}=t;r&&r.loaded&&r.startScrubbing(n)}),this.bind(s.progress,"mouseup touchend",n=>{const{previewThumbnails:r}=t;r&&r.loaded&&r.endScrubbing(n)}),_.isWebKit&&Array.from(G.call(t,'input[type="range"]')).forEach(n=>{this.bind(n,"input",r=>d.updateRangeFill.call(t,r.target))}),t.config.toggleInvert&&!l.element(s.display.duration)&&this.bind(s.display.currentTime,"click",()=>{t.currentTime!==0&&(t.config.invertTime=!t.config.invertTime,d.timeUpdate.call(t))}),this.bind(s.inputs.volume,a,n=>{t.volume=n.target.value},"volume"),this.bind(s.controls,"mouseenter mouseleave",n=>{s.controls.hover=!t.touch&&n.type==="mouseenter"}),s.fullscreen&&Array.from(s.fullscreen.children).filter(n=>!n.contains(s.container)).forEach(n=>{this.bind(n,"mouseenter mouseleave",r=>{s.controls&&(s.controls.hover=!t.touch&&r.type==="mouseenter")})}),this.bind(s.controls,"mousedown mouseup touchstart touchend touchcancel",n=>{s.controls.pressed=["mousedown","touchstart"].includes(n.type)}),this.bind(s.controls,"focusin",()=>{const{config:n,timers:r}=t;S(s.controls,n.classNames.noTransition,!0),E.toggleControls.call(t,!0),setTimeout(()=>{S(s.controls,n.classNames.noTransition,!1)},0);const o=this.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(()=>E.toggleControls.call(t,!1),o)}),this.bind(s.inputs.volume,"wheel",n=>{const r=n.webkitDirectionInvertedFromDevice,[o,c]=[n.deltaX,-n.deltaY].map(y=>r?-y:y),u=Math.sign(Math.abs(o)>Math.abs(c)?o:c);t.increaseVolume(u/50);const{volume:p}=t.media;(u===1&&p<1||u===-1&&p>0)&&n.preventDefault()},"volume",!1)}),this.player=i,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(i){const{player:t}=this,{elements:s}=t,{key:a,type:n,altKey:r,ctrlKey:o,metaKey:c,shiftKey:u}=i,p=n==="keydown",y=p&&a===this.lastKey;if(r||o||c||u||!a)return;const h=f=>{t.currentTime=t.duration/10*f};if(p){const f=document.activeElement;if(l.element(f)){const{editable:T}=t.config.selectors,{seek:w}=s.inputs;if(f!==w&&Y(f,T)||i.key===" "&&Y(f,'button, [role^="menuitem"]'))return}switch([" ","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(a)&&(i.preventDefault(),i.stopPropagation()),a){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":y||h(Number.parseInt(a,10));break;case" ":case"k":y||V(t.togglePlay());break;case"ArrowUp":t.increaseVolume(.1);break;case"ArrowDown":t.decreaseVolume(.1);break;case"m":y||(t.muted=!t.muted);break;case"ArrowRight":t.forward();break;case"ArrowLeft":t.rewind();break;case"f":t.fullscreen.toggle();break;case"c":y||t.toggleCaptions();break;case"l":t.loop=!t.loop;break}a==="Escape"&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=a}else this.lastKey=null}toggleMenu(i){d.toggleMenu.call(this.player,i)}}var Me={exports:{}},mi=Me.exports,ht;function pi(){return ht||(ht=1,(function(e,i){(function(t,s){e.exports=s()})(mi,function(){var t=function(){},s={},a={},n={};function r(h,f){h=h.push?h:[h];var T=[],w=h.length,I=w,P,g,k,M;for(P=function(j,H){H.length&&T.push(j),I--,I||f(T)};w--;){if(g=h[w],k=a[g],k){P(g,k);continue}M=n[g]=n[g]||[],M.push(P)}}function o(h,f){if(h){var T=n[h];if(a[h]=f,!!T)for(;T.length;)T[0](h,f),T.splice(0,1)}}function c(h,f){h.call&&(h={success:h}),f.length?(h.error||t)(f):(h.success||t)(h)}function u(h,f,T,w){var I=document,P=T.async,g=(T.numRetries||0)+1,k=T.before||t,M=h.replace(/[\?|#].*$/,""),j=h.replace(/^(css|img|module|nomodule)!/,""),H,R,N;if(w=w||0,/(^css!|\.css$)/.test(M))N=I.createElement("link"),N.rel="stylesheet",N.href=j,H="hideFocus"in N,H&&N.relList&&(H=0,N.rel="preload",N.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(M))N=I.createElement("img"),N.src=j;else if(N=I.createElement("script"),N.src=j,N.async=P===void 0?!0:P,R="noModule"in N,/^module!/.test(M)){if(!R)return f(h,"l");N.type="module"}else if(/^nomodule!/.test(M)&&R)return f(h,"l");N.onload=N.onerror=N.onbeforeload=function($e){var le=$e.type[0];if(H)try{N.sheet.cssText.length||(le="e")}catch(gt){gt.code!=18&&(le="e")}if(le=="e"){if(w+=1,w<g)return u(h,f,T,w)}else if(N.rel=="preload"&&N.as=="style")return N.rel="stylesheet";f(h,le,$e.defaultPrevented)},k(h,N)!==!1&&I.head.appendChild(N)}function p(h,f,T){h=h.push?h:[h];var w=h.length,I=w,P=[],g,k;for(g=function(M,j,H){if(j=="e"&&P.push(M),j=="b")if(H)P.push(M);else return;w--,w||f(P)},k=0;k<I;k++)u(h[k],g,T)}function y(h,f,T){var w,I;if(f&&f.trim&&(w=f),I=(w?T:f)||{},w){if(w in s)throw"LoadJS";s[w]=!0}function P(g,k){p(h,function(M){c(I,M),g&&c({success:g,error:k},M),o(w,M)},I)}if(I.returnPromise)return new Promise(P);P()}return y.ready=function(h,f){return r(h,function(T){c(f,T)}),y},y.done=function(h){o(h,[])},y.reset=function(){s={},a={},n={}},y.isDefined=function(h){return h in s},y})})(Me)),Me.exports}var gi=pi();const fi=bt(gi);function Ne(e){return new Promise((i,t)=>{fi(e,{success:i,error:t})})}function yi(e){if(l.empty(e))return null;if(l.number(Number(e)))return e;const i=/^.*(vimeo.com\/|video\/)(\d+).*/,t=e.match(i);return t?t[2]:e}function bi(e){const i=/^.*(vimeo.com\/|video\/)(\d+)(\?.*h=|\/)+([\d,a-f]+)/,t=e.match(i);return t&&t.length===5?t[4]:null}function ie(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,v.call(this,this.media,e?"play":"pause"))}const xe={setup(){const e=this;S(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,X.call(e),l.object(window.Vimeo)?xe.ready.call(e):Ne(e.config.urls.vimeo.sdk).then(()=>{xe.ready.call(e)}).catch(i=>{e.debug.warn("Vimeo SDK (player.js) failed to load",i)})},ready(){const e=this,i=e.config.vimeo,{premium:t,referrerPolicy:s,...a}=i;let n=e.media.getAttribute("src"),r="";l.empty(n)?(n=e.media.getAttribute(e.config.attributes.embed.id),r=e.media.getAttribute(e.config.attributes.embed.hash)):r=bi(n);const o=r?{h:r}:{};t&&Object.assign(a,{controls:!1,sidedock:!1});const c=ct({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:e.config.playsinline,...o,...a}),u=yi(n),p=b("iframe"),y=Ae(e.config.urls.vimeo.iframe,u,c);if(p.setAttribute("src",y),p.setAttribute("allowfullscreen",""),p.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),l.empty(s)||p.setAttribute("referrerPolicy",s),t||!i.customControls)p.setAttribute("data-poster",e.poster),e.media=ce(p,e.media);else{const g=b("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});g.appendChild(p),e.media=ce(g,e.media)}i.customControls||te(Ae(e.config.urls.vimeo.api,y)).then(g=>{l.empty(g)||!g.thumbnail_url||E.setPoster.call(e,g.thumbnail_url).catch(()=>{})}),e.embed=new window.Vimeo.Player(p,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(ie.call(e,!0),e.embed.play()),e.media.pause=()=>(ie.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:h}=e.media;Object.defineProperty(e.media,"currentTime",{get(){return h},set(g){const{embed:k,media:M,paused:j,volume:H}=e,R=j&&!k.hasPlayed;M.seeking=!0,v.call(e,M,"seeking"),Promise.resolve(R&&k.setVolume(0)).then(()=>k.setCurrentTime(g)).then(()=>R&&k.pause()).then(()=>R&&k.setVolume(H)).catch(()=>{})}});let f=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get(){return f},set(g){e.embed.setPlaybackRate(g).then(()=>{f=g,v.call(e,e.media,"ratechange")}).catch(()=>{e.options.speed=[1]})}});let{volume:T}=e.config;Object.defineProperty(e.media,"volume",{get(){return T},set(g){e.embed.setVolume(g).then(()=>{T=g,v.call(e,e.media,"volumechange")})}});let{muted:w}=e.config;Object.defineProperty(e.media,"muted",{get(){return w},set(g){const k=l.boolean(g)?g:!1;e.embed.setMuted(k?!0:e.config.muted).then(()=>{w=k,v.call(e,e.media,"volumechange")})}});let{loop:I}=e.config;Object.defineProperty(e.media,"loop",{get(){return I},set(g){const k=l.boolean(g)?g:e.config.loop.active;e.embed.setLoop(k).then(()=>{I=k})}});let P;e.embed.getVideoUrl().then(g=>{P=g,d.setDownloadUrl.call(e)}).catch(g=>{this.debug.warn(g)}),Object.defineProperty(e.media,"currentSrc",{get(){return P}}),Object.defineProperty(e.media,"ended",{get(){return e.currentTime===e.duration}}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then(g=>{const[k,M]=g;e.embed.ratio=st(k,M),X.call(this)}),e.embed.setAutopause(e.config.autopause).then(g=>{e.config.autopause=g}),e.embed.getVideoTitle().then(g=>{e.config.title=g,E.setTitle.call(this)}),e.embed.getCurrentTime().then(g=>{h=g,v.call(e,e.media,"timeupdate")}),e.embed.getDuration().then(g=>{e.media.duration=g,v.call(e,e.media,"durationchange")}),e.embed.getTextTracks().then(g=>{e.media.textTracks=g,A.setup.call(e)}),e.embed.on("cuechange",({cues:g=[]})=>{const k=g.map(M=>li(M.text));A.updateCues.call(e,k)}),e.embed.on("loaded",()=>{e.embed.getPaused().then(g=>{ie.call(e,!g),g||v.call(e,e.media,"playing")}),l.element(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)}),e.embed.on("bufferstart",()=>{v.call(e,e.media,"waiting")}),e.embed.on("bufferend",()=>{v.call(e,e.media,"playing")}),e.embed.on("play",()=>{ie.call(e,!0),v.call(e,e.media,"playing")}),e.embed.on("pause",()=>{ie.call(e,!1)}),e.embed.on("timeupdate",g=>{e.media.seeking=!1,h=g.seconds,v.call(e,e.media,"timeupdate")}),e.embed.on("progress",g=>{e.media.buffered=g.percent,v.call(e,e.media,"progress"),Number.parseInt(g.percent,10)===1&&v.call(e,e.media,"canplaythrough"),e.embed.getDuration().then(k=>{k!==e.media.duration&&(e.media.duration=k,v.call(e,e.media,"durationchange"))})}),e.embed.on("seeked",()=>{e.media.seeking=!1,v.call(e,e.media,"seeked")}),e.embed.on("ended",()=>{e.media.paused=!0,v.call(e,e.media,"ended")}),e.embed.on("error",g=>{e.media.error=g,v.call(e,e.media,"error")}),i.customControls&&setTimeout(()=>E.build.call(e),0)}};function vi(e){if(l.empty(e))return null;const i=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/,t=e.match(i);return t&&t[2]?t[2]:e}function se(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,v.call(this,this.media,e?"play":"pause"))}function wi(e){if(e.noCookie)return"https://www.youtube-nocookie.com";if(window.location.protocol==="http:")return"http://www.youtube.com"}const ge={setup(){if(S(this.elements.wrapper,this.config.classNames.embed,!0),l.object(window.YT)&&l.function(window.YT.Player))ge.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{l.function(e)&&e(),ge.ready.call(this)},Ne(this.config.urls.youtube.sdk).catch(i=>{this.debug.warn("YouTube API failed to load",i)})}},getTitle(e){const i=Ae(this.config.urls.youtube.api,e);te(i).then(t=>{if(l.object(t)){const{title:s,height:a,width:n}=t;this.config.title=s,E.setTitle.call(this),this.embed.ratio=st(n,a)}X.call(this)}).catch(()=>{X.call(this)})},ready(){const e=this,i=e.config.youtube,t=e.media&&e.media.getAttribute("id");if(!l.empty(t)&&t.startsWith("youtube-"))return;let s=e.media.getAttribute("src");l.empty(s)&&(s=e.media.getAttribute(this.config.attributes.embed.id));const a=vi(s),n=ii(e.provider),r=b("div",{id:n,"data-poster":i.customControls?e.poster:void 0});if(e.media=ce(r,e.media),i.customControls){const o=c=>`https://i.ytimg.com/vi/${a}/${c}default.jpg`;pe(o("maxres"),121).catch(()=>pe(o("sd"),121)).catch(()=>pe(o("hq"))).then(c=>E.setPoster.call(e,c.src)).then(c=>{c.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")}).catch(()=>{})}e.embed=new window.YT.Player(e.media,{videoId:a,host:wi(i),playerVars:x({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&i.customControls?0:1,disablekb:1,playsinline:e.config.playsinline&&!e.config.fullscreen.iosNative?1:0,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},i),events:{onError(o){if(!e.media.error){const c=o.data,u={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[c]||"An unknown error occurred";e.media.error={code:c,message:u},v.call(e,e.media,"error")}},onPlaybackRateChange(o){const c=o.target;e.media.playbackRate=c.getPlaybackRate(),v.call(e,e.media,"ratechange")},onReady(o){if(l.function(e.media.play))return;const c=o.target;ge.getTitle.call(e,a),e.media.play=()=>{se.call(e,!0),c.playVideo()},e.media.pause=()=>{se.call(e,!1),c.pauseVideo()},e.media.stop=()=>{c.stopVideo()},e.media.duration=c.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get(){return Number(c.getCurrentTime())},set(h){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,v.call(e,e.media,"seeking"),c.seekTo(h)}}),Object.defineProperty(e.media,"playbackRate",{get(){return c.getPlaybackRate()},set(h){c.setPlaybackRate(h)}});let{volume:u}=e.config;Object.defineProperty(e.media,"volume",{get(){return u},set(h){u=h,c.setVolume(u*100),v.call(e,e.media,"volumechange")}});let{muted:p}=e.config;Object.defineProperty(e.media,"muted",{get(){return p},set(h){const f=l.boolean(h)?h:p;p=f,c[f?"mute":"unMute"](),c.setVolume(u*100),v.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get(){return c.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get(){return e.currentTime===e.duration}});const y=c.getAvailablePlaybackRates();e.options.speed=y.filter(h=>e.config.speed.options.includes(h)),e.supported.ui&&i.customControls&&e.media.setAttribute("tabindex",-1),v.call(e,e.media,"timeupdate"),v.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval(()=>{e.media.buffered=c.getVideoLoadedFraction(),(e.media.lastBuffered===null||e.media.lastBuffered<e.media.buffered)&&v.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,e.media.buffered===1&&(clearInterval(e.timers.buffering),v.call(e,e.media,"canplaythrough"))},200),i.customControls&&setTimeout(()=>E.build.call(e),50)},onStateChange(o){const c=o.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(o.data)&&(e.media.seeking=!1,v.call(e,e.media,"seeked")),o.data){case-1:v.call(e,e.media,"timeupdate"),e.media.buffered=c.getVideoLoadedFraction(),v.call(e,e.media,"progress");break;case 0:se.call(e,!1),e.media.loop?(c.stopVideo(),c.playVideo()):v.call(e,e.media,"ended");break;case 1:i.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(se.call(e,!0),v.call(e,e.media,"playing"),e.timers.playing=setInterval(()=>{v.call(e,e.media,"timeupdate")},50),e.media.duration!==c.getDuration()&&(e.media.duration=c.getDuration(),v.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),se.call(e,!1);break;case 3:v.call(e,e.media,"waiting");break}v.call(e,e.elements.container,"statechange",!1,{code:o.data})}}})}},dt={setup(){if(!this.media){this.debug.warn("No media element found!");return}S(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),S(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&S(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=b("div",{class:this.config.classNames.video}),Qe(this.media,this.elements.wrapper),this.elements.poster=b("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?B.setup.call(this):this.isYouTube?ge.setup.call(this):this.isVimeo&&xe.setup.call(this)}};function ki(e){e.manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()}class Ti{constructor(i){m(this,"load",()=>{this.enabled&&(!l.object(window.google)||!l.object(window.google.ima)?Ne(this.player.config.urls.googleIMA.sdk).then(()=>{this.ready()}).catch(()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))}):this.ready())}),m(this,"ready",()=>{this.enabled||ki(this),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(()=>{this.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}),m(this,"setupIMA",()=>{this.elements.container=b("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,t=>this.onAdsManagerLoaded(t),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,t=>this.onAdError(t),!1),this.requestAds()}),m(this,"requestAds",()=>{const{container:t}=this.player.elements;try{const s=new google.ima.AdsRequest;s.adTagUrl=this.tagUrl,s.linearAdSlotWidth=t.offsetWidth,s.linearAdSlotHeight=t.offsetHeight,s.nonLinearAdSlotWidth=t.offsetWidth,s.nonLinearAdSlotHeight=t.offsetHeight,s.forceNonLinearFullSlot=!1,s.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(s)}catch(s){this.onAdError(s)}}),m(this,"pollCountdown",(t=!1)=>{if(!t){clearInterval(this.countdownTimer),this.elements.container.removeAttribute("data-badge-text");return}const s=()=>{const a=me(Math.max(this.manager.getRemainingTime(),0)),n=`${O.get("advertisement",this.player.config)} - ${a}`;this.elements.container.setAttribute("data-badge-text",n)};this.countdownTimer=setInterval(s,100)}),m(this,"onAdsManagerLoaded",t=>{if(!this.enabled)return;const s=new google.ima.AdsRenderingSettings;s.restoreCustomPlaybackStateOnAdBreakComplete=!0,s.enablePreloading=!0,this.manager=t.getAdsManager(this.player,s),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,a=>this.onAdError(a)),Object.keys(google.ima.AdEvent.Type).forEach(a=>{this.manager.addEventListener(google.ima.AdEvent.Type[a],n=>this.onAdEvent(n))}),this.trigger("loaded")}),m(this,"addCuePoints",()=>{l.empty(this.cuePoints)||this.cuePoints.forEach(t=>{if(t!==0&&t!==-1&&t<this.player.duration){const s=this.player.elements.progress;if(l.element(s)){const a=100/this.player.duration*t,n=b("span",{class:this.player.config.classNames.cues});n.style.left=`${a.toString()}%`,s.appendChild(n)}}})}),m(this,"onAdEvent",t=>{const{container:s}=this.player.elements,a=t.getAd(),n=t.getAdData();switch((r=>{v.call(this.player,this.player.media,`ads${r.replace(/_/g,"").toLowerCase()}`)})(t.type),t.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),a.isLinear()||(a.width=s.offsetWidth,a.height=s.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:n.adError&&this.player.debug.warn(`Non-fatal ad error: ${n.adError.getMessage()}`);break}}),m(this,"onAdError",t=>{this.cancel(),this.player.debug.warn("Ads error",t)}),m(this,"listeners",()=>{const{container:t}=this.player.elements;let s;this.player.on("canplay",()=>{this.addCuePoints()}),this.player.on("ended",()=>{this.loader.contentComplete()}),this.player.on("timeupdate",()=>{s=this.player.currentTime}),this.player.on("seeked",()=>{const a=this.player.currentTime;l.empty(this.cuePoints)||this.cuePoints.forEach((n,r)=>{s<n&&n<a&&(this.manager.discardAdBreak(),this.cuePoints.splice(r,1))})}),window.addEventListener("resize",()=>{this.manager&&this.manager.resize(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL)})}),m(this,"play",()=>{const{container:t}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then(()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(s){this.onAdError(s)}}).catch(()=>{})}),m(this,"resumeContent",()=>{this.elements.container.style.zIndex="",this.playing=!1,V(this.player.media.play())}),m(this,"pauseContent",()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}),m(this,"cancel",()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}),m(this,"loadAds",()=>{this.managerPromise.then(()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise(t=>{this.on("loaded",t),this.player.debug.log(this.manager)}),this.initialized=!1,this.requestAds()}).catch(()=>{})}),m(this,"trigger",(t,...s)=>{const a=this.events[t];l.array(a)&&a.forEach(n=>{l.function(n)&&n.apply(this,s)})}),m(this,"on",(t,s)=>(l.array(this.events[t])||(this.events[t]=[]),this.events[t].push(s),this)),m(this,"startSafetyTimer",(t,s)=>{this.player.debug.log(`Safety timer invoked from: ${s}`),this.safetyTimer=setTimeout(()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")},t)}),m(this,"clearSafetyTimer",t=>{l.nullOrUndefined(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${t}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)}),this.player=i,this.config=i.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((t,s)=>{this.on("loaded",t),this.on("error",s)}),this.load()}get enabled(){const{config:i}=this;return this.player.isHTML5&&this.player.isVideo&&i.enabled&&(!l.empty(i.publisherId)||l.url(i.tagUrl))}get tagUrl(){const{config:i}=this;if(l.url(i.tagUrl))return i.tagUrl;const t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:i.publisherId};return`https://go.aniview.com/api/adserver6/vast/?${ct(t)}`}}function mt(e=0,i=0,t=255){return Math.min(Math.max(e,i),t)}function Ci(e){const i=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach(t=>{const s={};t.split(/\r\n|\n|\r/).forEach(a=>{if(l.number(s.startTime)){if(!l.empty(a.trim())&&l.empty(s.text)){const n=a.trim().split("#xywh=");[s.text]=n,n[1]&&([s.x,s.y,s.w,s.h]=n[1].split(","))}}else{const n=a.match(/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})( ?--> ?)(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/);n&&(s.startTime=Number(n[1]||0)*60*60+Number(n[2])*60+Number(n[3])+ +`0.${n[4]}`,s.endTime=Number(n[6]||0)*60*60+Number(n[7])*60+Number(n[8])+ +`0.${n[9]}`)}}),s.text&&i.push(s)}),i}function pt(e,i){const t=i.width/i.height,s={};return e>t?(s.width=i.width,s.height=1/e*i.width):(s.height=i.height,s.width=e*i.height),s}class Le{constructor(i){m(this,"load",()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.listeners(),this.loaded=!0)})}),m(this,"getThumbnails",()=>new Promise(t=>{const{src:s}=this.player.config.previewThumbnails;if(l.empty(s))throw new Error("Missing previewThumbnails.src config attribute");const a=()=>{this.thumbnails.sort((n,r)=>n.height-r.height),this.player.debug.log("Preview thumbnails",this.thumbnails),t()};if(l.function(s))s(n=>{this.thumbnails=n,a()});else{const n=(l.string(s)?[s]:s).map(r=>this.getThumbnail(r));Promise.all(n).then(a)}})),m(this,"getThumbnail",t=>new Promise(s=>{te(t,void 0,this.player.config.previewThumbnails.withCredentials).then(a=>{const n={frames:Ci(a),height:null,urlPrefix:""};!n.frames[0].text.startsWith("/")&&!n.frames[0].text.startsWith("http://")&&!n.frames[0].text.startsWith("https://")&&(n.urlPrefix=t.substring(0,t.lastIndexOf("/")+1));const r=new Image;r.onload=()=>{n.height=r.naturalHeight,n.width=r.naturalWidth,this.thumbnails.push(n),s()},r.src=n.urlPrefix+n.frames[0].text})})),m(this,"startMove",t=>{var s,a;if(this.loaded&&!(!l.event(t)||!["touchmove","mousemove"].includes(t.type))&&this.player.media.duration){if(t.type==="touchmove")this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{const n=this.player.elements.progress.getBoundingClientRect(),r=100/n.width*(t.pageX-n.left);this.seekTime=this.player.media.duration*(r/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=t.pageX,this.elements.thumb.time.textContent=me(this.seekTime);const o=(a=(s=this.player.config.markers)==null?void 0:s.points)==null?void 0:a.find(({time:c})=>c===Math.round(this.seekTime));o&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${o.label}<br>`)}this.showImageAtCurrentTime()}}),m(this,"endMove",()=>{this.toggleThumbContainer(!1,!0)}),m(this,"startScrubbing",t=>{(l.nullOrUndefined(t.button)||t.button===!1||t.button===0)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}),m(this,"endScrubbing",()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):ke.call(this.player,this.player.media,"timeupdate",()=>{this.mouseDown||this.toggleScrubbingContainer(!1)})}),m(this,"listeners",()=>{this.player.on("play",()=>{this.toggleThumbContainer(!1,!0)}),this.player.on("seeked",()=>{this.toggleThumbContainer(!1)}),this.player.on("timeupdate",()=>{this.lastTime=this.player.media.currentTime})}),m(this,"render",()=>{this.elements.thumb.container=b("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=b("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const t=b("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=b("span",{},"00:00"),t.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(t),l.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=b("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}),m(this,"destroy",()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}),m(this,"showImageAtCurrentTime",()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const t=this.thumbnails[0].frames.findIndex(n=>this.seekTime>=n.startTime&&this.seekTime<=n.endTime),s=t>=0;let a=0;this.mouseDown||this.toggleThumbContainer(s),s&&(this.thumbnails.forEach((n,r)=>{this.loadedImages.includes(n.frames[t].text)&&(a=r)}),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(a)))}),m(this,"loadImage",(t=0)=>{const s=this.showingThumb,a=this.thumbnails[t],{urlPrefix:n}=a,r=a.frames[s],o=a.frames[s].text,c=n+o;if(!this.currentImageElement||this.currentImageElement.dataset.filename!==o){this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const u=new Image;u.src=c,u.dataset.index=s,u.dataset.filename=o,this.showingThumbFilename=o,this.player.debug.log(`Loading image: ${c}`),u.onload=()=>this.showImage(u,r,t,s,o,!0),this.loadingImage=u,this.removeOldImages(u)}else this.showImage(this.currentImageElement,r,t,s,o,!1),this.currentImageElement.dataset.index=s,this.removeOldImages(this.currentImageElement)}),m(this,"showImage",(t,s,a,n,r,o=!0)=>{this.player.debug.log(`Showing thumb: ${r}. num: ${n}. qual: ${a}. newimg: ${o}`),this.setImageSizeAndOffset(t,s),o&&(this.currentImageContainer.appendChild(t),this.currentImageElement=t,this.loadedImages.includes(r)||this.loadedImages.push(r)),this.preloadNearby(n,!0).then(this.preloadNearby(n,!1)).then(this.getHigherQuality(a,t,s,r))}),m(this,"removeOldImages",t=>{Array.from(this.currentImageContainer.children).forEach(s=>{if(s.tagName.toLowerCase()!=="img")return;const a=this.usingSprites?500:1e3;if(s.dataset.index!==t.dataset.index&&!s.dataset.deleting){s.dataset.deleting=!0;const{currentImageContainer:n}=this;setTimeout(()=>{n.removeChild(s),this.player.debug.log(`Removing thumb: ${s.dataset.filename}`)},a)}})}),m(this,"preloadNearby",(t,s=!0)=>new Promise(a=>{setTimeout(()=>{const n=this.thumbnails[0].frames[t].text;if(this.showingThumbFilename===n){let r;s?r=this.thumbnails[0].frames.slice(t):r=this.thumbnails[0].frames.slice(0,t).reverse();let o=!1;r.forEach(c=>{const u=c.text;if(u!==n&&!this.loadedImages.includes(u)){o=!0,this.player.debug.log(`Preloading thumb filename: ${u}`);const{urlPrefix:p}=this.thumbnails[0],y=p+u,h=new Image;h.src=y,h.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${u}`),this.loadedImages.includes(u)||this.loadedImages.push(u),a()}}}),o||a()}},300)})),m(this,"getHigherQuality",(t,s,a,n)=>{if(t<this.thumbnails.length-1){let r=s.naturalHeight;this.usingSprites&&(r=a.h),r<this.thumbContainerHeight&&setTimeout(()=>{this.showingThumbFilename===n&&(this.player.debug.log(`Showing higher quality thumb for: ${n}`),this.loadImage(t+1))},300)}}),m(this,"toggleThumbContainer",(t=!1,s=!1)=>{const a=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(a,t),!t&&s&&(this.showingThumb=null,this.showingThumbFilename=null)}),m(this,"toggleScrubbingContainer",(t=!1)=>{const s=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(s,t),t||(this.showingThumb=null,this.showingThumbFilename=null)}),m(this,"determineContainerAutoSizing",()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}),m(this,"setThumbContainerSizeAndPos",()=>{const{imageContainer:t}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(t.clientHeight>20&&t.clientWidth<20){const s=Math.floor(t.clientHeight*this.thumbAspectRatio);t.style.width=`${s}px`}else if(t.clientHeight<20&&t.clientWidth>20){const s=Math.floor(t.clientWidth/this.thumbAspectRatio);t.style.height=`${s}px`}}else{const s=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);t.style.height=`${this.thumbContainerHeight}px`,t.style.width=`${s}px`}this.setThumbContainerPos()}),m(this,"setThumbContainerPos",()=>{const t=this.player.elements.progress.getBoundingClientRect(),s=this.player.elements.container.getBoundingClientRect(),{container:a}=this.elements.thumb,n=s.left-t.left+10,r=s.right-t.left-a.clientWidth-10,o=this.mousePosX-t.left-a.clientWidth/2,c=mt(o,n,r);a.style.left=`${c}px`,a.style.setProperty("--preview-arrow-offset",`${o-c}px`)}),m(this,"setScrubbingContainerSize",()=>{const{width:t,height:s}=pt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${t}px`,this.elements.scrubbing.container.style.height=`${s}px`}),m(this,"setImageSizeAndOffset",(t,s)=>{if(!this.usingSprites)return;const a=this.thumbContainerHeight/s.h;t.style.height=`${t.naturalHeight*a}px`,t.style.width=`${t.naturalWidth*a}px`,t.style.left=`-${s.x*a}px`,t.style.top=`-${s.y*a}px`}),this.player=i,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:i}=pt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return i}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(i){this.mouseDown?this.currentScrubbingImageElement=i:this.currentThumbnailImageElement=i}}const Ie={insertElements(e,i){l.string(i)?Je(e,this.media,{src:i}):l.array(i)&&i.forEach(t=>{Je(e,this.media,t)})},change(e){if(!Xe(e,"sources.length")){this.debug.warn("Invalid source format");return}B.cancelRequests.call(this),this.destroy(()=>{this.options.quality=[],W(this.media),this.media=null,l.element(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:i,type:t}=e,[{provider:s=z.html5,src:a}]=i,n=s==="html5"?t:"div",r=s==="html5"?{}:{src:a};Object.assign(this,{provider:s,type:t,supported:L.check(t,s,this.config.playsinline),media:b(n,r)}),this.elements.container.appendChild(this.media),l.boolean(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),l.empty(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),E.addStyleHook.call(this),this.isHTML5&&Ie.insertElements.call(this,"source",i),this.config.title=e.title,dt.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&Ie.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&E.build.call(this),this.isHTML5&&this.media.load(),l.empty(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Le(this))),this.fullscreen.update()},!0)}};class ae{constructor(i,t){if(m(this,"play",()=>l.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(()=>this.ads.play()).catch(()=>V(this.media.play())),this.media.play()):null),m(this,"pause",()=>!this.playing||!l.function(this.media.pause)?null:this.media.pause()),m(this,"togglePlay",o=>(l.boolean(o)?o:!this.playing)?this.play():this.pause()),m(this,"stop",()=>{this.isHTML5?(this.pause(),this.restart()):l.function(this.media.stop)&&this.media.stop()}),m(this,"restart",()=>{this.currentTime=0}),m(this,"rewind",o=>{this.currentTime-=l.number(o)?o:this.config.seekTime}),m(this,"forward",o=>{this.currentTime+=l.number(o)?o:this.config.seekTime}),m(this,"increaseVolume",o=>{const c=this.media.muted?0:this.volume;this.volume=c+(l.number(o)?o:0)}),m(this,"decreaseVolume",o=>{this.increaseVolume(-o)}),m(this,"airplay",()=>{L.airplay&&this.media.webkitShowPlaybackTargetPicker()}),m(this,"toggleControls",o=>{if(this.supported.ui&&!this.isAudio){const c=ue(this.elements.container,this.config.classNames.hideControls),u=typeof o>"u"?void 0:!o,p=S(this.elements.container,this.config.classNames.hideControls,u);if(p&&l.array(this.config.controls)&&this.config.controls.includes("settings")&&!l.empty(this.config.settings)&&d.toggleMenu.call(this,!1),p!==c){const y=p?"controlshidden":"controlsshown";v.call(this,this.media,y)}return!p}return!1}),m(this,"on",(o,c)=>{C.call(this,this.elements.container,o,c)}),m(this,"once",(o,c)=>{ke.call(this,this.elements.container,o,c)}),m(this,"off",(o,c)=>{he(this.elements.container,o,c)}),m(this,"destroy",(o,c=!1)=>{if(!this.ready)return;const u=()=>{document.body.style.overflow="",this.embed=null,c?(Object.keys(this.elements).length&&(W(this.elements.buttons.play),W(this.elements.captions),W(this.elements.controls),W(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),l.function(o)&&o()):(Yt.call(this),B.cancelRequests.call(this),ce(this.elements.original,this.elements.container),v.call(this,this.elements.original,"destroyed",!0),l.function(o)&&o.call(this.elements.original),this.ready=!1,setTimeout(()=>{this.elements=null,this.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(E.toggleNativeControls.call(this,!0),u()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),this.embed!==null&&l.function(this.embed.destroy)&&this.embed.destroy(),u()):this.isVimeo&&(this.embed!==null&&this.embed.unload().then(u),setTimeout(u,200))}),m(this,"supports",o=>L.mime.call(this,o)),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=L.touch,this.media=i,l.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||l.nodeList(this.media)||l.array(this.media))&&(this.media=this.media[0]),this.config=x({},ut,ae.defaults,t||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch{return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new hi(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",L),l.nullOrUndefined(this.media)||!l.element(this.media)){this.debug.error("Setup failed: no suitable element passed");return}if(this.media.plyr){this.debug.warn("Target already setup");return}if(!this.config.enabled){this.debug.error("Setup failed: disabled by config");return}if(!L.check().api){this.debug.error("Setup failed: no support");return}const s=this.media.cloneNode(!0);s.autoplay=!1,this.elements.original=s;const a=this.media.tagName.toLowerCase();let n=null,r=null;switch(a){case"div":if(n=this.media.querySelector("iframe"),l.element(n)){if(r=ot(n.getAttribute("src")),this.provider=ui(r.toString()),this.elements.container=this.media,this.media=n,this.elements.container.className="",r.search.length){const o=["1","true"];o.includes(r.searchParams.get("autoplay"))&&(this.config.autoplay=!0),o.includes(r.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=o.includes(r.searchParams.get("playsinline")),this.config.youtube.hl=r.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(l.empty(this.provider)||!Object.values(z).includes(this.provider)){this.debug.error("Setup failed: Invalid provider");return}this.type=Ee.video;break;case"video":case"audio":this.type=a,this.provider=z.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:this.debug.error("Setup failed: unsupported type");return}if(this.supported=L.check(this.type,this.provider),!this.supported.api){this.debug.error("Setup failed: no support");return}this.eventListeners=[],this.listeners=new di(this),this.storage=new ne(this),this.media.plyr=this,l.element(this.elements.container)||(this.elements.container=b("div"),Qe(this.media,this.elements.container)),E.migrateStyles.call(this),E.addStyleHook.call(this),dt.setup.call(this),this.config.debug&&C.call(this,this.elements.container,this.config.events.join(" "),o=>{this.debug.log(`event: ${o.type}`)}),this.fullscreen=new q(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&E.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Ti(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",()=>V(this.play())),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Le(this))}get isHTML5(){return this.provider===z.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===z.youtube}get isVimeo(){return this.provider===z.vimeo}get isVideo(){return this.type===Ee.video}get isAudio(){return this.type===Ee.audio}get playing(){return!!(this.ready&&!this.paused&&!this.ended)}get paused(){return!!this.media.paused}get stopped(){return!!(this.paused&&this.currentTime===0)}get ended(){return!!this.media.ended}set currentTime(i){if(!this.duration)return;const t=l.number(i)&&i>0;this.media.currentTime=t?Math.min(i,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:i}=this.media;return l.number(i)?i:i&&i.length&&this.duration>0?i.end(0)/this.duration:0}get seeking(){return!!this.media.seeking}get duration(){const i=Number.parseFloat(this.config.duration),t=(this.media||{}).duration,s=!l.number(t)||t===1/0?0:t;return i||s}set volume(i){let t=i;const s=1,a=0;l.string(t)&&(t=Number(t)),l.number(t)||(t=this.storage.get("volume")),l.number(t)||({volume:t}=this.config),t>s&&(t=s),t<a&&(t=a),this.config.volume=t,this.media.volume=t,!l.empty(i)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(i){let t=i;l.boolean(t)||(t=this.storage.get("muted")),l.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return!!this.media.muted}get hasAudio(){return!this.isHTML5||this.isAudio?!0:!!this.media.mozHasAudio||!!this.media.webkitAudioDecodedByteCount||!!(this.media.audioTracks&&this.media.audioTracks.length)}set speed(i){let t=null;l.number(i)&&(t=i),l.number(t)||(t=this.storage.get("speed")),l.number(t)||(t=this.config.speed.selected);const{minimumSpeed:s,maximumSpeed:a}=this;t=mt(t,s,a),this.config.speed.selected=t,setTimeout(()=>{this.media&&(this.media.playbackRate=t)},0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(i){const t=this.config.quality,s=this.options.quality;if(!s.length)return;let a=[!l.empty(i)&&Number(i),this.storage.get("quality"),t.selected,t.default].find(l.number),n=!0;if(!s.includes(a)){const r=Ze(s,a);this.debug.warn(`Unsupported quality option: ${a}, using ${r} instead`),a=r,n=!1}t.selected=a,this.media.quality=a,n&&this.storage.set({quality:a})}get quality(){return this.media.quality}set loop(i){const t=l.boolean(i)?i:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return!!this.media.loop}set source(i){Ie.change.call(this,i)}get source(){return this.media.currentSrc}get download(){const{download:i}=this.config.urls;return l.url(i)?i:this.source}set download(i){l.url(i)&&(this.config.urls.download=i,d.setDownloadUrl.call(this))}set poster(i){if(!this.isVideo){this.debug.warn("Poster can only be set for video");return}E.setPoster.call(this,i,!1).catch(()=>{})}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const i=de(Ce.call(this));return l.array(i)?i.join(":"):i}set ratio(i){if(!this.isVideo){this.debug.warn("Aspect ratio can only be set for video");return}if(!l.string(i)||!it(i)){this.debug.error(`Invalid aspect ratio specified (${i})`);return}this.config.ratio=de(i),X.call(this)}set autoplay(i){this.config.autoplay=l.boolean(i)?i:this.config.autoplay}get autoplay(){return!!this.config.autoplay}toggleCaptions(i){A.toggle.call(this,i,!1)}set currentTrack(i){A.set.call(this,i,!1),A.setup.call(this)}get currentTrack(){const{toggled:i,currentTrack:t}=this.captions;return i?t:-1}set language(i){A.setLanguage.call(this,i,!1)}get language(){return(A.getCurrentTrack.call(this)||{}).language}set pip(i){if(!L.pip)return;const t=l.boolean(i)?i:!this.pip;l.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Se.active:Se.inactive),l.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return L.pip?l.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Se.active:null}setPreviewThumbnails(i){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,i),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Le(this))}static supported(i,t){return L.check(i,t)}static loadSprite(i,t){return lt(i,t)}static setup(i,t={}){let s=null;return l.string(i)?s=Array.from(document.querySelectorAll(i)):l.nodeList(i)?s=Array.from(i):l.array(i)&&(s=i.filter(l.element)),l.empty(s)?null:s.map(a=>new ae(a,t))}}ae.defaults=Wt(ut);export{ae as default};
@@ -1 +1 @@
1
- import{dz as s}from"./runtime-C-qIJtZS.js";function l(n,e){for(var a=0;a<e.length;a++){const t=e[a];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in n)){const i=Object.getOwnPropertyDescriptor(t,r);i&&Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var o,b;function u(){if(b)return o;b=1,o=n,n.displayName="powerquery",n.aliases=[];function n(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}return o}var d=u();const c=s(d),g=l({__proto__:null,default:c},[d]);export{g as p};
1
+ import{dz as s}from"./runtime-NrR-iZBw.js";function l(n,e){for(var a=0;a<e.length;a++){const t=e[a];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in n)){const i=Object.getOwnPropertyDescriptor(t,r);i&&Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var o,b;function u(){if(b)return o;b=1,o=n,n.displayName="powerquery",n.aliases=[];function n(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}return o}var d=u();const c=s(d),g=l({__proto__:null,default:c},[d]);export{g as p};
@@ -1 +1 @@
1
- import{dz as l}from"./runtime-C-qIJtZS.js";function c(r,i){for(var t=0;t<i.length;t++){const e=i[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const o=Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a,s;function d(){if(s)return a;s=1,a=r,r.displayName="powershell",r.aliases=[];function r(i){(function(t){var e=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};e.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}})(i)}return a}var p=d();const m=l(p),u=c({__proto__:null,default:m},[p]);export{u as p};
1
+ import{dz as l}from"./runtime-NrR-iZBw.js";function c(r,i){for(var t=0;t<i.length;t++){const e=i[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const o=Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a,s;function d(){if(s)return a;s=1,a=r,r.displayName="powershell",r.aliases=[];function r(i){(function(t){var e=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};e.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}})(i)}return a}var p=d();const m=l(p),u=c({__proto__:null,default:m},[p]);export{u as p};
@@ -1 +1 @@
1
- import{dz as c}from"./runtime-C-qIJtZS.js";function u(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(r,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function f(){if(s)return i;s=1,i=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return i}var l=f();const p=c(l),b=u({__proto__:null,default:p},[l]);export{b as p};
1
+ import{dz as c}from"./runtime-NrR-iZBw.js";function u(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(r,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function f(){if(s)return i;s=1,i=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return i}var l=f();const p=c(l),b=u({__proto__:null,default:p},[l]);export{b as p};