From e2eb1c8612c8c6dbf460354e0a55119a5743da2b Mon Sep 17 00:00:00 2001 From: Sangwon Oh Date: Mon, 18 Sep 2023 13:09:22 +0900 Subject: [PATCH] Add DRM test features to the demo page --- demo/demo.html | 2044 ++++++++++++++++++++++------------------ dist/ovenplayer.js.map | 2 +- 2 files changed, 1118 insertions(+), 928 deletions(-) diff --git a/demo/demo.html b/demo/demo.html index 4d811751..a0e460e5 100644 --- a/demo/demo.html +++ b/demo/demo.html @@ -2,544 +2,555 @@ - - - - - - OvenPlayer - - - - - - - - - - - + footer { + font-size: 0.85rem; + } + - - + + - + gtag('config', 'UA-40491361-8'); + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + -
+
- +
+
+
    +
  • +
    Usage
    +
  • +
  • +
    +
    + +
  • +
+
+
    +
  • +
    Export permanent link
    +
  • +
  • -
    -
    -
      -
    • -
      Player Options
      -
    • -
    • - -
      -
      - -
      General Options
      -
      -
      - - - - - -
      -
      - - - - - -
      -
      - - - - - -
      -
      -
      -
      - -
      WebRTC Options
      -
      -
      - - - - - -
      -
      - - -
      -
      - - -
      -
      -
      -
      - - - - - -
      -
      - - -
      -
      -
      -
      - -
      HLS Options
      -
      - - -
      -
      - - -
      -
      - - -
      -
      - - -
      -
      -
      -
    • -
    • -
      Demo Options
      -
    • -
    • -
      -
      -
      Reload the player when error occurred
      -
      -
      - - -
      -
      - - -
      -
      -
      -
      -
    • -
    -
    -
    -
      -
    • -
      Usage
      -
    • -
    • -
      -
      - -
    • -
    -
    -
    -
      -
    • -
      Export permanent link
      -
    • -
    • - -
      -
      - -
      - -
      - -
    • -
    -
    +
    +
    + +
    + +
    + +
  • +
+
-
-
-
-
-
-
- AirenSoft -
-

- Media Technology Expert Group -

-

- Our mission is to build a powerful media world by making it easier for everyone to - use all the complex and demanding media technologies of the world. -

-
- -
- -
-
OPEN SOURCE PROJECTS
-

- OvenMediaEngine -

-

- OvenPlayer -

-

- OvenLiveKit-Web -

-

- OvenSpace -

-
- -
- -
-
Contact
-

#1203, Twenty First Valley, 157, Yangpyeong-ro, - Yeongdeungpo-gu, Seoul, 07207 Republic of Korea

-

contact@airensoft.com

-

+82-2-6378-5227

-
-
+
+
+
+
+
+
+ AirenSoft +
+

+ Media Technology Expert Group +

+

+ Our mission is to build a powerful media world by making it easier for everyone to + use all the complex and demanding media technologies of the world. +

+
+ +
+ +
+
OPEN SOURCE PROJECTS
+

+ OvenMediaEngine +

+

+ OvenPlayer +

+

+ OvenLiveKit-Web +

+

+ OvenSpace +

+
+ +
+ +
+
Contact
+

#1203, Twenty First Valley, 157, Yangpyeong-ro, + Yeongdeungpo-gu, Seoul, 07207 Republic of Korea

+

contact@airensoft.com

+

+82-2-6378-5227

+
+
-
- -
- -
-
-
-
- © 2022 Copyright: - AirenSoft - Co., Ltd. All rights reserved. -
-
- -
- - - - - - - - - - - -
-
-
-
-
+
+ +
+ +
+
+
+
+ © 2022 Copyright: + AirenSoft + Co., Ltd. All rights reserved. +
+
+ +
+ + + + + + + + + + + +
+
+
+
+
- + - - - + + - + diff --git a/dist/ovenplayer.js.map b/dist/ovenplayer.js.map index 7080eee9..744f28dd 100644 --- a/dist/ovenplayer.js.map +++ b/dist/ovenplayer.js.map @@ -1 +1 @@ -{"version":3,"file":"ovenplayer.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,GACtB,CATD,CASGK,MAAM,WACT,O,2FCPO,IAAMC,EAAUC,U,kBCDhB,SAASC,EAAKC,GACjB,OAAOA,EAASA,EAAOC,QAAQ,aAAc,IAAM,EACtD,CAQM,IAAMC,EAAmB,SAASC,GACrC,IAAIA,GAA0B,QAAlBA,EAAKC,OAAO,EAAE,GACtB,MAAO,GAYX,IAAIC,EAVJ,SAA4BF,GACxB,IAAIG,EA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C7B,WAAa,OAAOzlH,EAAgB,OAAG,EACvC,WAAa,OAAOA,CAAQ,EAE7B,OADAirH,EAAoBtxD,EAAEg9B,EAAQ,CAAE9qF,EAAG8qF,IAC5BA,CACR,ECNAs0B,EAAoBtxD,EAAI,SAAS55D,EAASsrH,GACzC,IAAI,IAAIvwG,KAAOuwG,EACXJ,EAAoBliH,EAAEsiH,EAAYvwG,KAASmwG,EAAoBliH,EAAEhJ,EAAS+a,IAC5ErV,OAAOC,eAAe3F,EAAS+a,EAAK,CAAErW,YAAY,EAAMkB,IAAK0lH,EAAWvwG,IAG3E,ECPAmwG,EAAoBrxD,EAAI,WACvB,GAA0B,iBAAf+rB,WAAyB,OAAOA,WAC3C,IACC,OAAOzhF,MAAQ,IAAIo1D,SAAS,cAAb,EAGhB,CAFE,MAAOzsD,GACR,GAAsB,iBAAXzJ,OAAqB,OAAOA,MACxC,CACA,CAPuB,GCAxB6nH,EAAoBliH,EAAI,SAASrF,EAAK6P,GAAQ,OAAO9N,OAAOW,UAAUoN,eAAelF,KAAK5K,EAAK6P,EAAO,ECAtG03G,EAAoB/+G,EAAI3H,SAAS+mH,SAAWnrH,KAAK6zB,SAASu3D,KCG1D0/B,EAAoB,MACpBA,EAAoB,MACpB,IAAIM,EAAsBN,EAAoB,M","sources":["webpack://OvenPlayer/webpack/universalModuleDefinition","webpack://OvenPlayer/./src/js/version.js","webpack://OvenPlayer/./src/js/utils/strings.js","webpack://OvenPlayer/./src/js/api/caption/parser/SrtParser.js","webpack://OvenPlayer/./src/js/utils/captions/vttCue.js","webpack://OvenPlayer/./src/js/utils/captions/vttRegion.js","webpack://OvenPlayer/./src/js/api/caption/parser/VttParser.js","webpack://OvenPlayer/./src/js/utils/browser.js","webpack://OvenPlayer/./src/js/api/caption/parser/SmiParser.js","webpack://OvenPlayer/./src/js/api/caption/Loader.js","webpack://OvenPlayer/./src/js/api/constants.js","webpack://OvenPlayer/./src/js/api/caption/Manager.js","webpack://OvenPlayer/./src/js/api/EventEmitter.js","webpack://OvenPlayer/./src/js/utils/likeA$.js","webpack://OvenPlayer/./src/js/utils/validator.js","webpack://OvenPlayer/./src/js/api/SupportChecker.js","webpack://OvenPlayer/./src/js/api/ads/utils.js","webpack://OvenPlayer/./src/js/api/provider/utils.js","webpack://OvenPlayer/./src/js/api/ads/ima/Ad.js","webpack://OvenPlayer/./src/js/api/ads/ima/Listener.js","webpack://OvenPlayer/./src/js/utils/vast-client.js","webpack://OvenPlayer/./src/js/ovenplayer.sdk.js","webpack://OvenPlayer/./src/js/api/ads/vast/Ad.js","webpack://OvenPlayer/./src/js/api/ads/vast/Listener.js","webpack://OvenPlayer/./src/js/api/provider/html5/Provider.js","webpack://OvenPlayer/./src/js/api/provider/html5/Listener.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/Html5.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/WebRTCLoader.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/WebRTC.js","webpack://OvenPlayer/./src/js/utils/sizeHumanizer.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/Dash.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/Hls.js","webpack://OvenPlayer/./src/js/api/Api.js","webpack://OvenPlayer/./src/js/api/playlist/Manager.js","webpack://OvenPlayer/./src/js/api/provider/Controller.js","webpack://OvenPlayer/./src/js/api/media/Manager.js","webpack://OvenPlayer/./src/js/api/ApiExpansions.js","webpack://OvenPlayer/./src/js/api/Configurator.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/mainTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/playlistPanelTemplate.js","webpack://OvenPlayer/./src/js/view/engine/Templates.js","webpack://OvenPlayer/./src/js/view/example/textviewTemplate.js","webpack://OvenPlayer/./src/js/view/viewTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/mainTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/bigButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/thumbnailTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/waterMarkTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/messageBoxTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/spinnerTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/contextPanelTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/captionViewerTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/mainTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/volumeButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/progressBarTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/playButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/settingButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/frameButtonsTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/timeDisplayTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/fullScreenButtonTemplate.js","webpack://OvenPlayer/./src/js/view/engine/OvenTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/messageBox.js","webpack://OvenPlayer/./src/js/view/components/helpers/main.js","webpack://OvenPlayer/./src/js/view/components/helpers/bigButton.js","webpack://OvenPlayer/./src/js/view/components/helpers/thumbnail.js","webpack://OvenPlayer/./src/js/view/components/helpers/spinner.js","webpack://OvenPlayer/./src/js/view/components/helpers/captionViewer.js","webpack://OvenPlayer/./src/js/view/components/helpers/waterMark.js","webpack://OvenPlayer/./src/js/view/global/PanelManager.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/main.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/speedPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/sourcePanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/qualityPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/audioTrackPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/captionPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/timeDisplayPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingButton.js","webpack://OvenPlayer/./src/js/view/components/controls/main.js","webpack://OvenPlayer/./src/js/view/components/controls/playlistPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/progressBar.js","webpack://OvenPlayer/./src/js/view/components/controls/fullScreenButton.js","webpack://OvenPlayer/./src/js/view/components/controls/timeDisplay.js","webpack://OvenPlayer/./src/js/view/components/controls/playButton.js","webpack://OvenPlayer/./src/js/view/components/controls/volumeButton.js","webpack://OvenPlayer/./src/stylesheet/ovenplayer.less?0fb6","webpack://OvenPlayer/./src/js/ovenplayer.js","webpack://OvenPlayer/./src/js/view/view.js","webpack://OvenPlayer/./src/js/view/components/helpers/contextPanel.js","webpack://OvenPlayer/./src/js/utils/polyfills/dom.js","webpack://OvenPlayer/./src/js/utils/resize-sensor.js","webpack://OvenPlayer/./src/js/utils/underscore.js","webpack://OvenPlayer/./node_modules/core-js/internals/a-callable.js","webpack://OvenPlayer/./node_modules/core-js/internals/a-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/a-possible-prototype.js","webpack://OvenPlayer/./node_modules/core-js/internals/add-to-unscopables.js","webpack://OvenPlayer/./node_modules/core-js/internals/advance-string-index.js","webpack://OvenPlayer/./node_modules/core-js/internals/an-instance.js","webpack://OvenPlayer/./node_modules/core-js/internals/an-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer-native.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer-view-core.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-copy-within.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-fill.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-for-each.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-from-constructor-and-list.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-from.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-includes.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-iteration.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-last-index-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-method-is-strict.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-reduce.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-slice-simple.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-slice.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-sort.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-species-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-species-create.js","webpack://OvenPlayer/./node_modules/core-js/internals/base64-map.js","webpack://OvenPlayer/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://OvenPlayer/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://OvenPlayer/./node_modules/core-js/internals/classof-raw.js","webpack://OvenPlayer/./node_modules/core-js/internals/classof.js","webpack://OvenPlayer/./node_modules/core-js/internals/clear-error-stack.js","webpack://OvenPlayer/./node_modules/core-js/internals/collection-strong.js","webpack://OvenPlayer/./node_modules/core-js/internals/collection-weak.js","webpack://OvenPlayer/./node_modules/core-js/internals/collection.js","webpack://OvenPlayer/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://OvenPlayer/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://OvenPlayer/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-html.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-iterator-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/date-to-iso-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/date-to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/internals/define-iterator.js","webpack://OvenPlayer/./node_modules/core-js/internals/define-well-known-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/descriptors.js","webpack://OvenPlayer/./node_modules/core-js/internals/document-create-element.js","webpack://OvenPlayer/./node_modules/core-js/internals/dom-exception-constants.js","webpack://OvenPlayer/./node_modules/core-js/internals/dom-iterables.js","webpack://OvenPlayer/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-ff-version.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-browser.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-ios.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-node.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-user-agent.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-v8-version.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-webkit-version.js","webpack://OvenPlayer/./node_modules/core-js/internals/enum-bug-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/error-stack-installable.js","webpack://OvenPlayer/./node_modules/core-js/internals/error-to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/export.js","webpack://OvenPlayer/./node_modules/core-js/internals/fails.js","webpack://OvenPlayer/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://OvenPlayer/./node_modules/core-js/internals/flatten-into-array.js","webpack://OvenPlayer/./node_modules/core-js/internals/freezing.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-apply.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-bind-context.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-bind-native.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-bind.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-call.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-name.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-uncurry-this.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-built-in.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-iterator-method.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-iterator.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-method.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-substitution.js","webpack://OvenPlayer/./node_modules/core-js/internals/global.js","webpack://OvenPlayer/./node_modules/core-js/internals/has-own-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/hidden-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/host-report-errors.js","webpack://OvenPlayer/./node_modules/core-js/internals/html.js","webpack://OvenPlayer/./node_modules/core-js/internals/ie8-dom-define.js","webpack://OvenPlayer/./node_modules/core-js/internals/ieee754.js","webpack://OvenPlayer/./node_modules/core-js/internals/indexed-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/inherit-if-required.js","webpack://OvenPlayer/./node_modules/core-js/internals/inspect-source.js","webpack://OvenPlayer/./node_modules/core-js/internals/install-error-cause.js","webpack://OvenPlayer/./node_modules/core-js/internals/internal-metadata.js","webpack://OvenPlayer/./node_modules/core-js/internals/internal-state.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-array.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-callable.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-data-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-integral-number.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-pure.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-regexp.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterate.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterator-close.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterators-core.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterators.js","webpack://OvenPlayer/./node_modules/core-js/internals/length-of-array-like.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-expm1.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-fround.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-log10.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-log1p.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-sign.js","webpack://OvenPlayer/./node_modules/core-js/internals/microtask.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-promise-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-url.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-weak-map.js","webpack://OvenPlayer/./node_modules/core-js/internals/new-promise-capability.js","webpack://OvenPlayer/./node_modules/core-js/internals/normalize-string-argument.js","webpack://OvenPlayer/./node_modules/core-js/internals/not-a-regexp.js","webpack://OvenPlayer/./node_modules/core-js/internals/number-is-finite.js","webpack://OvenPlayer/./node_modules/core-js/internals/number-parse-float.js","webpack://OvenPlayer/./node_modules/core-js/internals/number-parse-int.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-assign.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-create.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-define-properties.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-define-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-is-extensible.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-keys-internal.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-prototype-accessors-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-to-array.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/internals/own-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/path.js","webpack://OvenPlayer/./node_modules/core-js/internals/perform.js","webpack://OvenPlayer/./node_modules/core-js/internals/promise-resolve.js","webpack://OvenPlayer/./node_modules/core-js/internals/queue.js","webpack://OvenPlayer/./node_modules/core-js/internals/redefine-all.js","webpack://OvenPlayer/./node_modules/core-js/internals/redefine.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-exec.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-flags.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://OvenPlayer/./node_modules/core-js/internals/require-object-coercible.js","webpack://OvenPlayer/./node_modules/core-js/internals/same-value.js","webpack://OvenPlayer/./node_modules/core-js/internals/set-global.js","webpack://OvenPlayer/./node_modules/core-js/internals/set-species.js","webpack://OvenPlayer/./node_modules/core-js/internals/set-to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/internals/shared-key.js","webpack://OvenPlayer/./node_modules/core-js/internals/shared-store.js","webpack://OvenPlayer/./node_modules/core-js/internals/shared.js","webpack://OvenPlayer/./node_modules/core-js/internals/species-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-html-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-multibyte.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-pad.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-punycode-to-ascii.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-repeat.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-trim-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-trim.js","webpack://OvenPlayer/./node_modules/core-js/internals/task.js","webpack://OvenPlayer/./node_modules/core-js/internals/this-number-value.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-absolute-index.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-index.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-indexed-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-length.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-offset.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-positive-integer.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-property-key.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-string-tag-support.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/try-node-require.js","webpack://OvenPlayer/./node_modules/core-js/internals/try-to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-from-species-and-list.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-from.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-species-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/uid.js","webpack://OvenPlayer/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://OvenPlayer/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://OvenPlayer/./node_modules/core-js/internals/validate-arguments-length.js","webpack://OvenPlayer/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://OvenPlayer/./node_modules/core-js/internals/well-known-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/whitespaces.js","webpack://OvenPlayer/./node_modules/core-js/internals/wrap-error-constructor-with-cause.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.aggregate-error.cause.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.aggregate-error.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array-buffer.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array-buffer.is-view.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array-buffer.slice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.at.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.concat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.copy-within.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.every.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.fill.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.filter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.find-index.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.find.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.flat-map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.flat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.for-each.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.from.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.includes.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.is-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.join.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.last-index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.reduce-right.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.reduce.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.reverse.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.slice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.some.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.sort.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.species.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.splice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.data-view.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.get-year.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.now.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.set-year.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-gmt-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-iso-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-json.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.error.cause.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.error.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.escape.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.function.bind.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.function.has-instance.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.function.name.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.global-this.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.json.stringify.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.acosh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.asinh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.atanh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.cbrt.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.clz32.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.cosh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.expm1.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.fround.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.hypot.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.imul.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.log10.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.log1p.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.log2.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.sign.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.sinh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.tanh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.trunc.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.epsilon.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-finite.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-nan.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-safe-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.max-safe-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.min-safe-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.parse-float.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.parse-int.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.to-exponential.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.to-fixed.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.to-precision.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.assign.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.create.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-getter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-properties.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-property.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-setter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.entries.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.freeze.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.from-entries.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-own-property-names.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.has-own.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is-extensible.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is-frozen.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is-sealed.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.keys.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.lookup-getter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.lookup-setter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.prevent-extensions.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.seal.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.values.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.parse-float.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.parse-int.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.all-settled.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.any.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.finally.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.apply.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.construct.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.define-property.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.delete-property.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.get-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.get.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.has.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.is-extensible.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.own-keys.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.prevent-extensions.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.set-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.set.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.dot-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.exec.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.flags.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.sticky.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.test.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.set.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.anchor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.at-alternative.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.big.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.blink.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.bold.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.code-point-at.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.ends-with.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.fixed.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.fontcolor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.fontsize.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.from-code-point.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.includes.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.italics.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.link.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.match-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.match.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.pad-end.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.pad-start.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.raw.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.repeat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.replace-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.replace.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.search.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.small.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.split.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.starts-with.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.strike.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.sub.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.substr.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.sup.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.trim-end.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.trim-start.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.trim.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.description.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.has-instance.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.match-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.match.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.replace.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.search.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.species.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.split.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.unscopables.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.at.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.copy-within.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.every.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.fill.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.filter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.find-index.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.find.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.float32-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.float64-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.for-each.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.from.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.includes.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.int16-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.int32-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.int8-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.join.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.last-index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.reduce-right.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.reduce.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.reverse.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.set.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.slice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.some.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.sort.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.subarray.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.to-locale-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint16-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint32-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint8-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.unescape.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.weak-map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.weak-set.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.atob.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.btoa.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-exception.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-exception.stack.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-exception.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.immediate.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.queue-microtask.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.structured-clone.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.timers.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.url-search-params.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.url.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.url.to-json.js","webpack://OvenPlayer/./node_modules/core-js/stable/index.js","webpack://OvenPlayer/./src/stylesheet/ovenplayer.less","webpack://OvenPlayer/./node_modules/css-loader/dist/runtime/api.js","webpack://OvenPlayer/./node_modules/css-loader/dist/runtime/getUrl.js","webpack://OvenPlayer/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://OvenPlayer/./node_modules/whatwg-fetch/fetch.js","webpack://OvenPlayer/webpack/bootstrap","webpack://OvenPlayer/webpack/runtime/compat get default export","webpack://OvenPlayer/webpack/runtime/define property getters","webpack://OvenPlayer/webpack/runtime/global","webpack://OvenPlayer/webpack/runtime/hasOwnProperty shorthand","webpack://OvenPlayer/webpack/runtime/jsonp chunk loading","webpack://OvenPlayer/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"OvenPlayer\"] = factory();\n\telse\n\t\troot[\"OvenPlayer\"] = factory();\n})(self, function() {\nreturn ","/**\n * Created by hoho on 2018. 6. 29..\n */\nexport const version = __VERSION__;\n","import _ from 'utils/underscore';\n\nexport function trim(string) {\n return string ? string.replace(/^\\s+|\\s+$/g, '') : \"\";\n}\n\n/**\n * extractExtension\n *\n * @param {string} path for url\n * @return {string} Extension\n */\nexport const extractExtension = function(path) {\n if(!path || path.substr(0,4)=='rtmp') {\n return \"\";\n }\n function getAzureFileFormat(path) {\n let extension = \"\";\n if ((/[(,]format=mpd-/i).test(path)) {\n extension = 'mpd';\n }else if ((/[(,]format=m3u8-/i).test(path)) {\n extension = 'm3u8';\n }\n return extension;\n }\n\n let azuredFormat = getAzureFileFormat(path);\n if(azuredFormat) {\n return azuredFormat;\n }\n path = path.split('?')[0].split('#')[0];\n if(path.lastIndexOf('.') > -1) {\n return path.substr(path.lastIndexOf('.') + 1, path.length).toLowerCase();\n }else{\n return \"\";\n }\n};\n\n\n/**\n * naturalHms\n *\n * @param {number | string} second The second\n * @return {string} formatted String\n */\nexport function naturalHms(second) {\n let secNum = parseInt(second, 10);\n if(!second){\n return \"00:00\";\n }\n let hours = Math.floor(secNum / 3600);\n let minutes = Math.floor((secNum - (hours * 3600)) / 60);\n let seconds = secNum - (hours * 3600) - (minutes * 60);\n\n //if (hours > 0) {minutes = \"0\"+minutes;}\n if (minutes < 10) {minutes = \"0\"+minutes;}\n if (seconds < 10) {seconds = \"0\"+seconds;}\n\n if (hours > 0) {\n return hours+':'+minutes+':'+seconds;\n } else {\n return minutes+':'+seconds;\n }\n}\n\n\nexport function hmsToSecond(str, frameRate) {\n if(!str) {\n return 0;\n }\n if(_.isNumber(str) && !_.isNaN(str)){\n return str;\n }\n str = str.replace(',', '.');\n let arr = str.split(':');\n let arrLength = arr.length;\n let sec = 0;\n if (str.slice(-1) === 's'){\n sec = parseFloat(str);\n }else if (str.slice(-1) === 'm'){\n sec = parseFloat(str) * 60;\n }else if (str.slice(-1) === 'h'){\n sec = parseFloat(str) * 3600;\n }else if (arrLength > 1) {\n var secIndex = arrLength - 1;\n if (arrLength === 4) {\n if (frameRate) {\n sec = parseFloat(arr[secIndex]) / frameRate;\n }\n secIndex -= 1;\n }\n sec += parseFloat(arr[secIndex]);\n sec += parseFloat(arr[secIndex - 1]) * 60;\n if (arrLength >= 3) {\n sec += parseFloat(arr[secIndex - 2]) * 3600;\n }\n } else {\n sec = parseFloat(str);\n }\n if (_.isNaN(sec)) {\n return 0;\n }\n return sec;\n}","/**\n * Created by hoho on 2018. 5. 29..\n */\nimport { hmsToSecond, trim } from \"utils/strings\"\n\nfunction _entry(data) {\n var entry = {};\n var array = data.split('\\r\\n');\n if (array.length === 1) {\n array = data.split('\\n');\n }\n var idx = 1;\n if (array[0].indexOf(' --> ') > 0) {\n idx = 0;\n }\n if (array.length > idx + 1 && array[idx + 1]) {\n // This line contains the start and end.\n var line = array[idx];\n var index = line.indexOf(' --> ');\n if (index > 0) {\n entry.start = hmsToSecond(line.substr(0, index));\n entry.end = hmsToSecond(line.substr(index + 5));\n entry.text = array.slice(idx + 1).join('\\r\\n');\n }\n }\n return entry;\n\n}\n\nconst SrtParser = function(data) {\n var captions = [];\n\n data = trim(data);\n\n var list = data.split('\\r\\n\\r\\n');\n if (list.length === 1) {\n list = data.split('\\n\\n');\n }\n\n\n\n for (var i = 0; i < list.length; i++) {\n if (list[i] === 'WEBVTT') {\n continue;\n }\n var entry = _entry(list[i]);\n if (entry.text) {\n captions.push(entry);\n }\n }\n\n return captions;\n}\n\n\n\nexport default SrtParser;","/**\n * Copyright 2013 vtt.js Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nlet VTTCue = window.VTTCue;\n\nvar autoKeyword = \"auto\";\nvar directionSetting = {\n \"\": true,\n \"lr\": true,\n \"rl\": true\n};\nvar alignSetting = {\n \"start\": true,\n \"middle\": true,\n \"end\": true,\n \"left\": true,\n \"right\": true\n};\n\nfunction findDirectionSetting(value) {\n if (typeof value !== \"string\") {\n return false;\n }\n var dir = directionSetting[value.toLowerCase()];\n return dir ? value.toLowerCase() : false;\n}\n\nfunction findAlignSetting(value) {\n if (typeof value !== \"string\") {\n return false;\n }\n var align = alignSetting[value.toLowerCase()];\n return align ? value.toLowerCase() : false;\n}\n\nfunction extend(obj) {\n var i = 1;\n for (; i < arguments.length; i++) {\n var cobj = arguments[i];\n for (var p in cobj) {\n obj[p] = cobj[p];\n }\n }\n\n return obj;\n}\nif(!VTTCue){\n VTTCue = function (startTime, endTime, text) {\n var cue = this;\n var isIE8 = (/MSIE\\s8\\.0/).test(navigator.userAgent);\n var baseObj = {};\n\n if (isIE8) {\n cue = document.createElement('custom');\n } else {\n baseObj.enumerable = true;\n }\n\n /**\n * Shim implementation specific properties. These properties are not in\n * the spec.\n */\n\n // Lets us know when the VTTCue's data has changed in such a way that we need\n // to recompute its display state. This lets us compute its display state\n // lazily.\n cue.hasBeenReset = false;\n\n /**\n * VTTCue and TextTrackCue properties\n * http://dev.w3.org/html5/webvtt/#vttcue-interface\n */\n\n var _id = \"\";\n var _pauseOnExit = false;\n var _startTime = startTime;\n var _endTime = endTime;\n var _text = text;\n var _region = null;\n var _vertical = \"\";\n var _snapToLines = true;\n var _line = \"auto\";\n var _lineAlign = \"start\";\n var _position = 50;\n var _positionAlign = \"middle\";\n var _size = 50;\n var _align = \"middle\";\n\n Object.defineProperty(cue,\n \"id\", extend({}, baseObj, {\n get: function() {\n return _id;\n },\n set: function(value) {\n _id = \"\" + value;\n }\n }));\n\n Object.defineProperty(cue,\n \"pauseOnExit\", extend({}, baseObj, {\n get: function() {\n return _pauseOnExit;\n },\n set: function(value) {\n _pauseOnExit = !!value;\n }\n }));\n\n Object.defineProperty(cue,\n \"startTime\", extend({}, baseObj, {\n get: function() {\n return _startTime;\n },\n set: function(value) {\n if (typeof value !== \"number\") {\n throw new TypeError(\"Start time must be set to a number.\");\n }\n _startTime = value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"endTime\", extend({}, baseObj, {\n get: function() {\n return _endTime;\n },\n set: function(value) {\n if (typeof value !== \"number\") {\n throw new TypeError(\"End time must be set to a number.\");\n }\n _endTime = value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"text\", extend({}, baseObj, {\n get: function() {\n return _text;\n },\n set: function(value) {\n _text = \"\" + value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"region\", extend({}, baseObj, {\n get: function() {\n return _region;\n },\n set: function(value) {\n _region = value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"vertical\", extend({}, baseObj, {\n get: function() {\n return _vertical;\n },\n set: function(value) {\n var setting = findDirectionSetting(value);\n // Have to check for false because the setting an be an empty string.\n if (setting === false) {\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\n }\n _vertical = setting;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"snapToLines\", extend({}, baseObj, {\n get: function() {\n return _snapToLines;\n },\n set: function(value) {\n _snapToLines = !!value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"line\", extend({}, baseObj, {\n get: function() {\n return _line;\n },\n set: function(value) {\n if (typeof value !== \"number\" && value !== autoKeyword) {\n throw new SyntaxError(\"An invalid number or illegal string was specified.\");\n }\n _line = value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"lineAlign\", extend({}, baseObj, {\n get: function() {\n return _lineAlign;\n },\n set: function(value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\n }\n _lineAlign = setting;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"position\", extend({}, baseObj, {\n get: function() {\n return _position;\n },\n set: function(value) {\n if (value < 0 || value > 100) {\n throw new Error(\"Position must be between 0 and 100.\");\n }\n _position = value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"positionAlign\", extend({}, baseObj, {\n get: function() {\n return _positionAlign;\n },\n set: function(value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\n }\n _positionAlign = setting;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"size\", extend({}, baseObj, {\n get: function() {\n return _size;\n },\n set: function(value) {\n if (value < 0 || value > 100) {\n throw new Error(\"Size must be between 0 and 100.\");\n }\n _size = value;\n this.hasBeenReset = true;\n }\n }));\n\n Object.defineProperty(cue,\n \"align\", extend({}, baseObj, {\n get: function() {\n return _align;\n },\n set: function(value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\n }\n _align = setting;\n this.hasBeenReset = true;\n }\n }));\n\n /**\n * Other spec defined properties\n */\n\n // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-cue-display-state\n cue.displayState = undefined;\n\n if (isIE8) {\n return cue;\n }\n }\n\n /**\n * VTTCue methods\n */\n\n VTTCue.prototype.getCueAsHTML = function() {\n // Assume WebVTT.convertCueToDOMTree is on the global.\n return WebVTT.convertCueToDOMTree(window, this.text);\n };\n\n};\n\nexport default VTTCue;","/**\n * Copyright 2013 vtt.js Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nlet VTTRegion = \"\";\n\nvar scrollSetting = {\n \"\": true,\n \"up\": true\n};\n\nfunction findScrollSetting(value) {\n if (typeof value !== \"string\") {\n return false;\n }\n var scroll = scrollSetting[value.toLowerCase()];\n return scroll ? value.toLowerCase() : false;\n}\n\nfunction isValidPercentValue(value) {\n return typeof value === \"number\" && (value >= 0 && value <= 100);\n}\n\n// VTTRegion shim http://dev.w3.org/html5/webvtt/#vttregion-interface\nVTTRegion = function() {\n var _width = 100;\n var _lines = 3;\n var _regionAnchorX = 0;\n var _regionAnchorY = 100;\n var _viewportAnchorX = 0;\n var _viewportAnchorY = 100;\n var _scroll = \"\";\n\n Object.defineProperties(this, {\n \"width\": {\n enumerable: true,\n get: function() {\n return _width;\n },\n set: function(value) {\n if (!isValidPercentValue(value)) {\n throw new Error(\"Width must be between 0 and 100.\");\n }\n _width = value;\n }\n },\n \"lines\": {\n enumerable: true,\n get: function() {\n return _lines;\n },\n set: function(value) {\n if (typeof value !== \"number\") {\n throw new TypeError(\"Lines must be set to a number.\");\n }\n _lines = value;\n }\n },\n \"regionAnchorY\": {\n enumerable: true,\n get: function() {\n return _regionAnchorY;\n },\n set: function(value) {\n if (!isValidPercentValue(value)) {\n throw new Error(\"RegionAnchorX must be between 0 and 100.\");\n }\n _regionAnchorY = value;\n }\n },\n \"regionAnchorX\": {\n enumerable: true,\n get: function() {\n return _regionAnchorX;\n },\n set: function(value) {\n if(!isValidPercentValue(value)) {\n throw new Error(\"RegionAnchorY must be between 0 and 100.\");\n }\n _regionAnchorX = value;\n }\n },\n \"viewportAnchorY\": {\n enumerable: true,\n get: function() {\n return _viewportAnchorY;\n },\n set: function(value) {\n if (!isValidPercentValue(value)) {\n throw new Error(\"ViewportAnchorY must be between 0 and 100.\");\n }\n _viewportAnchorY = value;\n }\n },\n \"viewportAnchorX\": {\n enumerable: true,\n get: function() {\n return _viewportAnchorX;\n },\n set: function(value) {\n if (!isValidPercentValue(value)) {\n throw new Error(\"ViewportAnchorX must be between 0 and 100.\");\n }\n _viewportAnchorX = value;\n }\n },\n \"scroll\": {\n enumerable: true,\n get: function() {\n return _scroll;\n },\n set: function(value) {\n var setting = findScrollSetting(value);\n // Have to check for false as an empty string is a legal value.\n if (setting === false) {\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\n }\n _scroll = setting;\n }\n }\n });\n}\n\nexport default VTTRegion;","/* vtt.js - v0.12.1 (https://github.com/mozilla/vtt.js) built on 03-12-2015 */\nimport VTTCue from 'utils/captions/vttCue';\nimport VTTRegion from 'utils/captions/vttRegion';\n\n/**\n * Copyright 2013 vtt.js Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\n/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */\n\nlet WebVTT = function(){};\nfunction makeColorSet(color, opacity) {\n if(opacity === undefined) {\n opacity = 1;\n }\n return \"rgba(\" + [parseInt(color.substring(0, 2), 16),\n parseInt(color.substring(2, 4), 16),\n parseInt(color.substring(4, 6), 16),\n opacity].join(\",\") + \")\";\n}\n\nvar WebVTTPrefs = ['webvtt.font.color', 'webvtt.font.opacity', 'webvtt.font.scale',\n 'webvtt.bg.color', 'webvtt.bg.opacity',\n 'webvtt.edge.color', 'webvtt.edge.type'];\n\nvar fontScale = 1;\n\nfunction observe(subject, topic, data) {\n switch (data) {\n case \"webvtt.font.color\":\n case \"webvtt.font.opacity\":\n var fontColor = Services.prefs.getCharPref(\"webvtt.font.color\");\n var fontOpacity = Services.prefs.getIntPref(\"webvtt.font.opacity\") / 100;\n WebVTTSet.fontSet = makeColorSet(fontColor, fontOpacity);\n break;\n case \"webvtt.font.scale\":\n fontScale = Services.prefs.getIntPref(\"webvtt.font.scale\") / 100;\n break;\n case \"webvtt.bg.color\":\n case \"webvtt.bg.opacity\":\n var backgroundColor = Services.prefs.getCharPref(\"webvtt.bg.color\");\n var backgroundOpacity = Services.prefs.getIntPref(\"webvtt.bg.opacity\") / 100;\n WebVTTSet.backgroundSet = makeColorSet(backgroundColor, backgroundOpacity);\n break;\n case \"webvtt.edge.color\":\n case \"webvtt.edge.type\":\n var edgeTypeList = [\"\", \"0px 0px \", \"4px 4px 4px \", \"-2px -2px \", \"2px 2px \"];\n var edgeType = Services.prefs.getIntPref(\"webvtt.edge.type\");\n var edgeColor = Services.prefs.getCharPref(\"webvtt.edge.color\");\n WebVTTSet.edgeSet = edgeTypeList[edgeType] + makeColorSet(edgeColor);\n break;\n }\n}\n\nif(typeof Services !== \"undefined\") {\n var WebVTTSet = {};\n WebVTTPrefs.forEach(function (pref) {\n observe(undefined, undefined, pref);\n Services.prefs.addObserver(pref, observe, false);\n });\n}\n\nvar _objCreate = Object.create || (function() {\n function F() {}\n return function(o) {\n if (arguments.length !== 1) {\n throw new Error('Object.create shim only accepts one parameter.');\n }\n F.prototype = o;\n return new F();\n };\n })();\n\n// Creates a new ParserError object from an errorData object. The errorData\n// object should have default code and message properties. The default message\n// property can be overriden by passing in a message parameter.\n// See ParsingError.Errors below for acceptable errors.\nfunction ParsingError(errorData, message) {\n this.name = \"ParsingError\";\n this.code = errorData.code;\n this.message = message || errorData.message;\n}\nParsingError.prototype = _objCreate(Error.prototype);\nParsingError.prototype.constructor = ParsingError;\n\n// ParsingError metadata for acceptable ParsingErrors.\nParsingError.Errors = {\n BadSignature: {\n code: 0,\n message: \"Malformed WebVTT signature.\"\n },\n BadTimeStamp: {\n code: 1,\n message: \"Malformed time stamp.\"\n }\n};\n\n// Try to parse input as a time stamp.\nfunction parseTimeStamp(input) {\n\n function computeSeconds(h, m, s, f) {\n return (h | 0) * 3600 + (m | 0) * 60 + (s | 0) + (f | 0) / 1000;\n }\n\n var m = input.match(/^(\\d+):(\\d{2})(:\\d{2})?\\.(\\d{3})/);\n if (!m) {\n return null;\n }\n\n if (m[3]) {\n // Timestamp takes the form of [hours]:[minutes]:[seconds].[milliseconds]\n return computeSeconds(m[1], m[2], m[3].replace(\":\", \"\"), m[4]);\n } else if (m[1] > 59) {\n // Timestamp takes the form of [hours]:[minutes].[milliseconds]\n // First position is hours as it's over 59.\n return computeSeconds(m[1], m[2], 0, m[4]);\n } else {\n // Timestamp takes the form of [minutes]:[seconds].[milliseconds]\n return computeSeconds(0, m[1], m[2], m[4]);\n }\n}\n\n// A settings object holds key/value pairs and will ignore anything but the first\n// assignment to a specific key.\nfunction Settings() {\n this.values = _objCreate(null);\n}\n\nSettings.prototype = {\n // Only accept the first assignment to any key.\n set: function(k, v) {\n if (!this.get(k) && v !== \"\") {\n this.values[k] = v;\n }\n },\n // Return the value for a key, or a default value.\n // If 'defaultKey' is passed then 'dflt' is assumed to be an object with\n // a number of possible default values as properties where 'defaultKey' is\n // the key of the property that will be chosen; otherwise it's assumed to be\n // a single value.\n get: function(k, dflt, defaultKey) {\n if (defaultKey) {\n return this.has(k) ? this.values[k] : dflt[defaultKey];\n }\n return this.has(k) ? this.values[k] : dflt;\n },\n // Check whether we have a value for a key.\n has: function(k) {\n return k in this.values;\n },\n // Accept a setting if its one of the given alternatives.\n alt: function(k, v, a) {\n for (var n = 0; n < a.length; ++n) {\n if (v === a[n]) {\n this.set(k, v);\n break;\n }\n }\n },\n // Accept a setting if its a valid (signed) integer.\n integer: function(k, v) {\n if (/^-?\\d+$/.test(v)) { // integer\n this.set(k, parseInt(v, 10));\n }\n },\n // Accept a setting if its a valid percentage.\n percent: function(k, v) {\n var m;\n if ((m = v.match(/^([\\d]{1,3})(\\.[\\d]*)?%$/))) {\n v = parseFloat(v);\n if (v >= 0 && v <= 100) {\n this.set(k, v);\n return true;\n }\n }\n return false;\n }\n};\n\n// Helper function to parse input into groups separated by 'groupDelim', and\n// interprete each group as a key/value pair separated by 'keyValueDelim'.\nfunction parseOptions(input, callback, keyValueDelim, groupDelim) {\n var groups = groupDelim ? input.split(groupDelim) : [input];\n for (var i in groups) {\n if (typeof groups[i] !== \"string\") {\n continue;\n }\n var kv = groups[i].split(keyValueDelim);\n if (kv.length !== 2) {\n continue;\n }\n var k = kv[0];\n var v = kv[1];\n callback(k, v);\n }\n}\n\nfunction parseCue(input, cue, regionList) {\n // Remember the original input if we need to throw an error.\n var oInput = input;\n // 4.1 WebVTT timestamp\n function consumeTimeStamp() {\n var ts = parseTimeStamp(input);\n if (ts === null) {\n throw new ParsingError(ParsingError.Errors.BadTimeStamp,\n \"Malformed timestamp: \" + oInput);\n }\n // Remove time stamp from input.\n input = input.replace(/^[^\\sa-zA-Z-]+/, \"\");\n return ts;\n }\n\n // 4.4.2 WebVTT cue settings\n function consumeCueSettings(input, cue) {\n var settings = new Settings();\n\n parseOptions(input, function (k, v) {\n switch (k) {\n case \"region\":\n // Find the last region we parsed with the same region id.\n for (var i = regionList.length - 1; i >= 0; i--) {\n if (regionList[i].id === v) {\n settings.set(k, regionList[i].region);\n break;\n }\n }\n break;\n case \"vertical\":\n settings.alt(k, v, [\"rl\", \"lr\"]);\n break;\n case \"line\":\n var vals = v.split(\",\"),\n vals0 = vals[0];\n settings.integer(k, vals0);\n settings.percent(k, vals0) ? settings.set(\"snapToLines\", false) : null;\n settings.alt(k, vals0, [\"auto\"]);\n if (vals.length === 2) {\n settings.alt(\"lineAlign\", vals[1], [\"start\", \"middle\", \"end\"]);\n }\n break;\n case \"position\":\n vals = v.split(\",\");\n settings.percent(k, vals[0]);\n if (vals.length === 2) {\n settings.alt(\"positionAlign\", vals[1], [\"start\", \"middle\", \"end\"]);\n }\n break;\n case \"size\":\n settings.percent(k, v);\n break;\n case \"align\":\n settings.alt(k, v, [\"start\", \"middle\", \"end\", \"left\", \"right\"]);\n break;\n }\n }, /:/, /\\s/);\n\n //hslee remove these fields.\n //Because safari dies here always. And Player doen't use style fields.\n // Apply default values for any missing fields.\n /*cue.region = settings.get(\"region\", null);\n cue.vertical = settings.get(\"vertical\", \"\");\n cue.line = settings.get(\"line\", \"auto\");\n cue.lineAlign = settings.get(\"lineAlign\", \"start\");\n cue.snapToLines = settings.get(\"snapToLines\", true);\n cue.size = settings.get(\"size\", 100);\n //cue.align = settings.get(\"align\", \"middle\");\n cue.position = settings.get(\"position\", \"auto\");\n cue.positionAlign = settings.get(\"positionAlign\", {\n start: \"start\",\n left: \"start\",\n middle: \"middle\",\n end: \"end\",\n right: \"end\"\n }, cue.align\n );*/\n }\n\n function skipWhitespace() {\n input = input.replace(/^\\s+/, \"\");\n }\n\n // 4.1 WebVTT cue timings.\n skipWhitespace();\n cue.startTime = consumeTimeStamp(); // (1) collect cue start time\n skipWhitespace();\n if (input.substr(0, 3) !== \"-->\") { // (3) next characters must match \"-->\"\n throw new ParsingError(ParsingError.Errors.BadTimeStamp,\n \"Malformed time stamp (time stamps must be separated by '-->'): \" +\n oInput);\n }\n input = input.substr(3);\n skipWhitespace();\n cue.endTime = consumeTimeStamp(); // (5) collect cue end time\n\n // 4.1 WebVTT cue settings list.\n skipWhitespace();\n consumeCueSettings(input, cue);\n}\n\nvar ESCAPE = {\n \"&\": \"&\",\n \"<\": \"<\",\n \">\": \">\",\n \"‎\": \"\\u200e\",\n \"‏\": \"\\u200f\",\n \" \": \"\\u00a0\"\n};\n\nvar TAG_NAME = {\n c: \"span\",\n i: \"i\",\n b: \"b\",\n u: \"u\",\n ruby: \"ruby\",\n rt: \"rt\",\n v: \"span\",\n lang: \"span\"\n};\n\nvar TAG_ANNOTATION = {\n v: \"title\",\n lang: \"lang\"\n};\n\nvar NEEDS_PARENT = {\n rt: \"ruby\"\n};\n\n// Parse content into a document fragment.\nfunction parseContent(window, input) {\n function nextToken() {\n // Check for end-of-string.\n if (!input) {\n return null;\n }\n\n // Consume 'n' characters from the input.\n function consume(result) {\n input = input.substr(result.length);\n return result;\n }\n\n var m = input.match(/^([^<]*)(<[^>]+>?)?/);\n // If there is some text before the next tag, return it, otherwise return\n // the tag.\n return consume(m[1] ? m[1] : m[2]);\n }\n\n // Unescape a string 's'.\n function unescape1(e) {\n return ESCAPE[e];\n }\n function unescape(s) {\n while ((m = s.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))) {\n s = s.replace(m[0], unescape1);\n }\n return s;\n }\n\n function shouldAdd(current, element) {\n return !NEEDS_PARENT[element.localName] ||\n NEEDS_PARENT[element.localName] === current.localName;\n }\n\n // Create an element for this tag.\n function createElement(type, annotation) {\n var tagName = TAG_NAME[type];\n if (!tagName) {\n return null;\n }\n var element = window.document.createElement(tagName);\n element.localName = tagName;\n var name = TAG_ANNOTATION[type];\n if (name && annotation) {\n element[name] = annotation.trim();\n }\n return element;\n }\n\n var rootDiv = window.document.createElement(\"div\"),\n current = rootDiv,\n t,\n tagStack = [];\n\n while ((t = nextToken()) !== null) {\n if (t[0] === '<') {\n if (t[1] === \"/\") {\n // If the closing tag matches, move back up to the parent node.\n if (tagStack.length &&\n tagStack[tagStack.length - 1] === t.substr(2).replace(\">\", \"\")) {\n tagStack.pop();\n current = current.parentNode;\n }\n // Otherwise just ignore the end tag.\n continue;\n }\n var ts = parseTimeStamp(t.substr(1, t.length - 2));\n var node;\n if (ts) {\n // Timestamps are lead nodes as well.\n node = window.document.createProcessingInstruction(\"timestamp\", ts);\n current.appendChild(node);\n continue;\n }\n var m = t.match(/^<([^.\\s/0-9>]+)(\\.[^\\s\\\\>]+)?([^>\\\\]+)?(\\\\?)>?$/);\n // If we can't parse the tag, skip to the next tag.\n if (!m) {\n continue;\n }\n // Try to construct an element, and ignore the tag if we couldn't.\n node = createElement(m[1], m[3]);\n if (!node) {\n continue;\n }\n // Determine if the tag should be added based on the context of where it\n // is placed in the cuetext.\n if (!shouldAdd(current, node)) {\n continue;\n }\n // Set the class list (as a list of classes, separated by space).\n if (m[2]) {\n node.className = m[2].substr(1).replace('.', ' ');\n }\n // Append the node to the current node, and enter the scope of the new\n // node.\n tagStack.push(m[1]);\n current.appendChild(node);\n current = node;\n continue;\n }\n\n // Text nodes are leaf nodes.\n current.appendChild(window.document.createTextNode(unescape(t)));\n }\n\n return rootDiv;\n}\n\n// This is a list of all the Unicode characters that have a strong\n// right-to-left category. What this means is that these characters are\n// written right-to-left for sure. It was generated by pulling all the strong\n// right-to-left characters out of the Unicode data table. That table can\n// found at: http://www.unicode.org/Public/UNIDATA/UnicodeData.txt\nvar strongRTLChars = [0x05BE, 0x05C0, 0x05C3, 0x05C6, 0x05D0, 0x05D1,\n 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7, 0x05D8, 0x05D9, 0x05DA,\n 0x05DB, 0x05DC, 0x05DD, 0x05DE, 0x05DF, 0x05E0, 0x05E1, 0x05E2, 0x05E3,\n 0x05E4, 0x05E5, 0x05E6, 0x05E7, 0x05E8, 0x05E9, 0x05EA, 0x05F0, 0x05F1,\n 0x05F2, 0x05F3, 0x05F4, 0x0608, 0x060B, 0x060D, 0x061B, 0x061E, 0x061F,\n 0x0620, 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627, 0x0628,\n 0x0629, 0x062A, 0x062B, 0x062C, 0x062D, 0x062E, 0x062F, 0x0630, 0x0631,\n 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x0637, 0x0638, 0x0639, 0x063A,\n 0x063B, 0x063C, 0x063D, 0x063E, 0x063F, 0x0640, 0x0641, 0x0642, 0x0643,\n 0x0644, 0x0645, 0x0646, 0x0647, 0x0648, 0x0649, 0x064A, 0x066D, 0x066E,\n 0x066F, 0x0671, 0x0672, 0x0673, 0x0674, 0x0675, 0x0676, 0x0677, 0x0678,\n 0x0679, 0x067A, 0x067B, 0x067C, 0x067D, 0x067E, 0x067F, 0x0680, 0x0681,\n 0x0682, 0x0683, 0x0684, 0x0685, 0x0686, 0x0687, 0x0688, 0x0689, 0x068A,\n 0x068B, 0x068C, 0x068D, 0x068E, 0x068F, 0x0690, 0x0691, 0x0692, 0x0693,\n 0x0694, 0x0695, 0x0696, 0x0697, 0x0698, 0x0699, 0x069A, 0x069B, 0x069C,\n 0x069D, 0x069E, 0x069F, 0x06A0, 0x06A1, 0x06A2, 0x06A3, 0x06A4, 0x06A5,\n 0x06A6, 0x06A7, 0x06A8, 0x06A9, 0x06AA, 0x06AB, 0x06AC, 0x06AD, 0x06AE,\n 0x06AF, 0x06B0, 0x06B1, 0x06B2, 0x06B3, 0x06B4, 0x06B5, 0x06B6, 0x06B7,\n 0x06B8, 0x06B9, 0x06BA, 0x06BB, 0x06BC, 0x06BD, 0x06BE, 0x06BF, 0x06C0,\n 0x06C1, 0x06C2, 0x06C3, 0x06C4, 0x06C5, 0x06C6, 0x06C7, 0x06C8, 0x06C9,\n 0x06CA, 0x06CB, 0x06CC, 0x06CD, 0x06CE, 0x06CF, 0x06D0, 0x06D1, 0x06D2,\n 0x06D3, 0x06D4, 0x06D5, 0x06E5, 0x06E6, 0x06EE, 0x06EF, 0x06FA, 0x06FB,\n 0x06FC, 0x06FD, 0x06FE, 0x06FF, 0x0700, 0x0701, 0x0702, 0x0703, 0x0704,\n 0x0705, 0x0706, 0x0707, 0x0708, 0x0709, 0x070A, 0x070B, 0x070C, 0x070D,\n 0x070F, 0x0710, 0x0712, 0x0713, 0x0714, 0x0715, 0x0716, 0x0717, 0x0718,\n 0x0719, 0x071A, 0x071B, 0x071C, 0x071D, 0x071E, 0x071F, 0x0720, 0x0721,\n 0x0722, 0x0723, 0x0724, 0x0725, 0x0726, 0x0727, 0x0728, 0x0729, 0x072A,\n 0x072B, 0x072C, 0x072D, 0x072E, 0x072F, 0x074D, 0x074E, 0x074F, 0x0750,\n 0x0751, 0x0752, 0x0753, 0x0754, 0x0755, 0x0756, 0x0757, 0x0758, 0x0759,\n 0x075A, 0x075B, 0x075C, 0x075D, 0x075E, 0x075F, 0x0760, 0x0761, 0x0762,\n 0x0763, 0x0764, 0x0765, 0x0766, 0x0767, 0x0768, 0x0769, 0x076A, 0x076B,\n 0x076C, 0x076D, 0x076E, 0x076F, 0x0770, 0x0771, 0x0772, 0x0773, 0x0774,\n 0x0775, 0x0776, 0x0777, 0x0778, 0x0779, 0x077A, 0x077B, 0x077C, 0x077D,\n 0x077E, 0x077F, 0x0780, 0x0781, 0x0782, 0x0783, 0x0784, 0x0785, 0x0786,\n 0x0787, 0x0788, 0x0789, 0x078A, 0x078B, 0x078C, 0x078D, 0x078E, 0x078F,\n 0x0790, 0x0791, 0x0792, 0x0793, 0x0794, 0x0795, 0x0796, 0x0797, 0x0798,\n 0x0799, 0x079A, 0x079B, 0x079C, 0x079D, 0x079E, 0x079F, 0x07A0, 0x07A1,\n 0x07A2, 0x07A3, 0x07A4, 0x07A5, 0x07B1, 0x07C0, 0x07C1, 0x07C2, 0x07C3,\n 0x07C4, 0x07C5, 0x07C6, 0x07C7, 0x07C8, 0x07C9, 0x07CA, 0x07CB, 0x07CC,\n 0x07CD, 0x07CE, 0x07CF, 0x07D0, 0x07D1, 0x07D2, 0x07D3, 0x07D4, 0x07D5,\n 0x07D6, 0x07D7, 0x07D8, 0x07D9, 0x07DA, 0x07DB, 0x07DC, 0x07DD, 0x07DE,\n 0x07DF, 0x07E0, 0x07E1, 0x07E2, 0x07E3, 0x07E4, 0x07E5, 0x07E6, 0x07E7,\n 0x07E8, 0x07E9, 0x07EA, 0x07F4, 0x07F5, 0x07FA, 0x0800, 0x0801, 0x0802,\n 0x0803, 0x0804, 0x0805, 0x0806, 0x0807, 0x0808, 0x0809, 0x080A, 0x080B,\n 0x080C, 0x080D, 0x080E, 0x080F, 0x0810, 0x0811, 0x0812, 0x0813, 0x0814,\n 0x0815, 0x081A, 0x0824, 0x0828, 0x0830, 0x0831, 0x0832, 0x0833, 0x0834,\n 0x0835, 0x0836, 0x0837, 0x0838, 0x0839, 0x083A, 0x083B, 0x083C, 0x083D,\n 0x083E, 0x0840, 0x0841, 0x0842, 0x0843, 0x0844, 0x0845, 0x0846, 0x0847,\n 0x0848, 0x0849, 0x084A, 0x084B, 0x084C, 0x084D, 0x084E, 0x084F, 0x0850,\n 0x0851, 0x0852, 0x0853, 0x0854, 0x0855, 0x0856, 0x0857, 0x0858, 0x085E,\n 0x08A0, 0x08A2, 0x08A3, 0x08A4, 0x08A5, 0x08A6, 0x08A7, 0x08A8, 0x08A9,\n 0x08AA, 0x08AB, 0x08AC, 0x200F, 0xFB1D, 0xFB1F, 0xFB20, 0xFB21, 0xFB22,\n 0xFB23, 0xFB24, 0xFB25, 0xFB26, 0xFB27, 0xFB28, 0xFB2A, 0xFB2B, 0xFB2C,\n 0xFB2D, 0xFB2E, 0xFB2F, 0xFB30, 0xFB31, 0xFB32, 0xFB33, 0xFB34, 0xFB35,\n 0xFB36, 0xFB38, 0xFB39, 0xFB3A, 0x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0x1081A, 0x1081B, 0x1081C, 0x1081D, 0x1081E,\n 0x1081F, 0x10820, 0x10821, 0x10822, 0x10823, 0x10824, 0x10825, 0x10826,\n 0x10827, 0x10828, 0x10829, 0x1082A, 0x1082B, 0x1082C, 0x1082D, 0x1082E,\n 0x1082F, 0x10830, 0x10831, 0x10832, 0x10833, 0x10834, 0x10835, 0x10837,\n 0x10838, 0x1083C, 0x1083F, 0x10840, 0x10841, 0x10842, 0x10843, 0x10844,\n 0x10845, 0x10846, 0x10847, 0x10848, 0x10849, 0x1084A, 0x1084B, 0x1084C,\n 0x1084D, 0x1084E, 0x1084F, 0x10850, 0x10851, 0x10852, 0x10853, 0x10854,\n 0x10855, 0x10857, 0x10858, 0x10859, 0x1085A, 0x1085B, 0x1085C, 0x1085D,\n 0x1085E, 0x1085F, 0x10900, 0x10901, 0x10902, 0x10903, 0x10904, 0x10905,\n 0x10906, 0x10907, 0x10908, 0x10909, 0x1090A, 0x1090B, 0x1090C, 0x1090D,\n 0x1090E, 0x1090F, 0x10910, 0x10911, 0x10912, 0x10913, 0x10914, 0x10915,\n 0x10916, 0x10917, 0x10918, 0x10919, 0x1091A, 0x1091B, 0x10920, 0x10921,\n 0x10922, 0x10923, 0x10924, 0x10925, 0x10926, 0x10927, 0x10928, 0x10929,\n 0x1092A, 0x1092B, 0x1092C, 0x1092D, 0x1092E, 0x1092F, 0x10930, 0x10931,\n 0x10932, 0x10933, 0x10934, 0x10935, 0x10936, 0x10937, 0x10938, 0x10939,\n 0x1093F, 0x10980, 0x10981, 0x10982, 0x10983, 0x10984, 0x10985, 0x10986,\n 0x10987, 0x10988, 0x10989, 0x1098A, 0x1098B, 0x1098C, 0x1098D, 0x1098E,\n 0x1098F, 0x10990, 0x10991, 0x10992, 0x10993, 0x10994, 0x10995, 0x10996,\n 0x10997, 0x10998, 0x10999, 0x1099A, 0x1099B, 0x1099C, 0x1099D, 0x1099E,\n 0x1099F, 0x109A0, 0x109A1, 0x109A2, 0x109A3, 0x109A4, 0x109A5, 0x109A6,\n 0x109A7, 0x109A8, 0x109A9, 0x109AA, 0x109AB, 0x109AC, 0x109AD, 0x109AE,\n 0x109AF, 0x109B0, 0x109B1, 0x109B2, 0x109B3, 0x109B4, 0x109B5, 0x109B6,\n 0x109B7, 0x109BE, 0x109BF, 0x10A00, 0x10A10, 0x10A11, 0x10A12, 0x10A13,\n 0x10A15, 0x10A16, 0x10A17, 0x10A19, 0x10A1A, 0x10A1B, 0x10A1C, 0x10A1D,\n 0x10A1E, 0x10A1F, 0x10A20, 0x10A21, 0x10A22, 0x10A23, 0x10A24, 0x10A25,\n 0x10A26, 0x10A27, 0x10A28, 0x10A29, 0x10A2A, 0x10A2B, 0x10A2C, 0x10A2D,\n 0x10A2E, 0x10A2F, 0x10A30, 0x10A31, 0x10A32, 0x10A33, 0x10A40, 0x10A41,\n 0x10A42, 0x10A43, 0x10A44, 0x10A45, 0x10A46, 0x10A47, 0x10A50, 0x10A51,\n 0x10A52, 0x10A53, 0x10A54, 0x10A55, 0x10A56, 0x10A57, 0x10A58, 0x10A60,\n 0x10A61, 0x10A62, 0x10A63, 0x10A64, 0x10A65, 0x10A66, 0x10A67, 0x10A68,\n 0x10A69, 0x10A6A, 0x10A6B, 0x10A6C, 0x10A6D, 0x10A6E, 0x10A6F, 0x10A70,\n 0x10A71, 0x10A72, 0x10A73, 0x10A74, 0x10A75, 0x10A76, 0x10A77, 0x10A78,\n 0x10A79, 0x10A7A, 0x10A7B, 0x10A7C, 0x10A7D, 0x10A7E, 0x10A7F, 0x10B00,\n 0x10B01, 0x10B02, 0x10B03, 0x10B04, 0x10B05, 0x10B06, 0x10B07, 0x10B08,\n 0x10B09, 0x10B0A, 0x10B0B, 0x10B0C, 0x10B0D, 0x10B0E, 0x10B0F, 0x10B10,\n 0x10B11, 0x10B12, 0x10B13, 0x10B14, 0x10B15, 0x10B16, 0x10B17, 0x10B18,\n 0x10B19, 0x10B1A, 0x10B1B, 0x10B1C, 0x10B1D, 0x10B1E, 0x10B1F, 0x10B20,\n 0x10B21, 0x10B22, 0x10B23, 0x10B24, 0x10B25, 0x10B26, 0x10B27, 0x10B28,\n 0x10B29, 0x10B2A, 0x10B2B, 0x10B2C, 0x10B2D, 0x10B2E, 0x10B2F, 0x10B30,\n 0x10B31, 0x10B32, 0x10B33, 0x10B34, 0x10B35, 0x10B40, 0x10B41, 0x10B42,\n 0x10B43, 0x10B44, 0x10B45, 0x10B46, 0x10B47, 0x10B48, 0x10B49, 0x10B4A,\n 0x10B4B, 0x10B4C, 0x10B4D, 0x10B4E, 0x10B4F, 0x10B50, 0x10B51, 0x10B52,\n 0x10B53, 0x10B54, 0x10B55, 0x10B58, 0x10B59, 0x10B5A, 0x10B5B, 0x10B5C,\n 0x10B5D, 0x10B5E, 0x10B5F, 0x10B60, 0x10B61, 0x10B62, 0x10B63, 0x10B64,\n 0x10B65, 0x10B66, 0x10B67, 0x10B68, 0x10B69, 0x10B6A, 0x10B6B, 0x10B6C,\n 0x10B6D, 0x10B6E, 0x10B6F, 0x10B70, 0x10B71, 0x10B72, 0x10B78, 0x10B79,\n 0x10B7A, 0x10B7B, 0x10B7C, 0x10B7D, 0x10B7E, 0x10B7F, 0x10C00, 0x10C01,\n 0x10C02, 0x10C03, 0x10C04, 0x10C05, 0x10C06, 0x10C07, 0x10C08, 0x10C09,\n 0x10C0A, 0x10C0B, 0x10C0C, 0x10C0D, 0x10C0E, 0x10C0F, 0x10C10, 0x10C11,\n 0x10C12, 0x10C13, 0x10C14, 0x10C15, 0x10C16, 0x10C17, 0x10C18, 0x10C19,\n 0x10C1A, 0x10C1B, 0x10C1C, 0x10C1D, 0x10C1E, 0x10C1F, 0x10C20, 0x10C21,\n 0x10C22, 0x10C23, 0x10C24, 0x10C25, 0x10C26, 0x10C27, 0x10C28, 0x10C29,\n 0x10C2A, 0x10C2B, 0x10C2C, 0x10C2D, 0x10C2E, 0x10C2F, 0x10C30, 0x10C31,\n 0x10C32, 0x10C33, 0x10C34, 0x10C35, 0x10C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8E, 0x1EE8F, 0x1EE90,\n 0x1EE91, 0x1EE92, 0x1EE93, 0x1EE94, 0x1EE95, 0x1EE96, 0x1EE97, 0x1EE98,\n 0x1EE99, 0x1EE9A, 0x1EE9B, 0x1EEA1, 0x1EEA2, 0x1EEA3, 0x1EEA5, 0x1EEA6,\n 0x1EEA7, 0x1EEA8, 0x1EEA9, 0x1EEAB, 0x1EEAC, 0x1EEAD, 0x1EEAE, 0x1EEAF,\n 0x1EEB0, 0x1EEB1, 0x1EEB2, 0x1EEB3, 0x1EEB4, 0x1EEB5, 0x1EEB6, 0x1EEB7,\n 0x1EEB8, 0x1EEB9, 0x1EEBA, 0x1EEBB, 0x10FFFD];\n\nfunction determineBidi(cueDiv) {\n var nodeStack = [],\n text = \"\",\n charCode;\n\n if (!cueDiv || !cueDiv.childNodes) {\n return \"ltr\";\n }\n\n function pushNodes(nodeStack, node) {\n for (var i = node.childNodes.length - 1; i >= 0; i--) {\n nodeStack.push(node.childNodes[i]);\n }\n }\n\n function nextTextNode(nodeStack) {\n if (!nodeStack || !nodeStack.length) {\n return null;\n }\n\n var node = nodeStack.pop(),\n text = node.textContent || node.innerText;\n if (text) {\n // TODO: This should match all unicode type B characters (paragraph\n // separator characters). See issue #115.\n var m = text.match(/^.*(\\n|\\r)/);\n if (m) {\n nodeStack.length = 0;\n return m[0];\n }\n return text;\n }\n if (node.tagName === \"ruby\") {\n return nextTextNode(nodeStack);\n }\n if (node.childNodes) {\n pushNodes(nodeStack, node);\n return nextTextNode(nodeStack);\n }\n }\n\n pushNodes(nodeStack, cueDiv);\n while ((text = nextTextNode(nodeStack))) {\n for (var i = 0; i < text.length; i++) {\n charCode = text.charCodeAt(i);\n for (var j = 0; j < strongRTLChars.length; j++) {\n if (strongRTLChars[j] === charCode) {\n return \"rtl\";\n }\n }\n }\n }\n return \"ltr\";\n}\n\nfunction computeLinePos(cue) {\n if (typeof cue.line === \"number\" &&\n (cue.snapToLines || (cue.line >= 0 && cue.line <= 100))) {\n return cue.line;\n }\n if (!cue.track || !cue.track.textTrackList ||\n !cue.track.textTrackList.mediaElement) {\n return -1;\n }\n var track = cue.track,\n trackList = track.textTrackList,\n count = 0;\n for (var i = 0; i < trackList.length && trackList[i] !== track; i++) {\n if (trackList[i].mode === \"showing\") {\n count++;\n }\n }\n return ++count * -1;\n}\n\nfunction StyleBox() {\n}\n\n// Apply styles to a div. If there is no div passed then it defaults to the\n// div on 'this'.\nStyleBox.prototype.applyStyles = function(styles, div) {\n div = div || this.div;\n for (var prop in styles) {\n if (styles.hasOwnProperty(prop)) {\n div.style[prop] = styles[prop];\n }\n }\n};\n\nStyleBox.prototype.formatStyle = function(val, unit) {\n return val === 0 ? 0 : val + unit;\n};\n\n// Constructs the computed display state of the cue (a div). Places the div\n// into the overlay which should be a block level element (usually a div).\nfunction CueStyleBox(window, cue, styleOptions) {\n var isIE8 = (typeof navigator !== \"undefined\") &&\n (/MSIE\\s8\\.0/).test(navigator.userAgent);\n var color = \"rgba(255, 255, 255, 1)\";\n var backgroundColor = \"rgba(0, 0, 0, 0.8)\";\n var textShadow = \"\";\n\n if(typeof WebVTTSet !== \"undefined\") {\n color = WebVTTSet.fontSet;\n backgroundColor = WebVTTSet.backgroundSet;\n textShadow = WebVTTSet.edgeSet;\n }\n\n if (isIE8) {\n color = \"rgb(255, 255, 255)\";\n backgroundColor = \"rgb(0, 0, 0)\";\n }\n\n StyleBox.call(this);\n this.cue = cue;\n\n // Parse our cue's text into a DOM tree rooted at 'cueDiv'. This div will\n // have inline positioning and will function as the cue background box.\n this.cueDiv = parseContent(window, cue.text);\n var styles = {\n color: color,\n backgroundColor: backgroundColor,\n textShadow: textShadow,\n position: \"relative\",\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n display: \"inline\"\n };\n\n if (!isIE8) {\n styles.writingMode = cue.vertical === \"\" ? \"horizontal-tb\"\n : cue.vertical === \"lr\" ? \"vertical-lr\"\n : \"vertical-rl\";\n styles.unicodeBidi = \"plaintext\";\n }\n this.applyStyles(styles, this.cueDiv);\n\n // Create an absolutely positioned div that will be used to position the cue\n // div. Note, all WebVTT cue-setting alignments are equivalent to the CSS\n // mirrors of them except \"middle\" which is \"center\" in CSS.\n this.div = window.document.createElement(\"div\");\n styles = {\n textAlign: cue.align === \"middle\" ? \"center\" : cue.align,\n font: styleOptions.font,\n whiteSpace: \"pre-line\",\n position: \"absolute\"\n };\n\n if (!isIE8) {\n styles.direction = determineBidi(this.cueDiv);\n styles.writingMode = cue.vertical === \"\" ? \"horizontal-tb\"\n : cue.vertical === \"lr\" ? \"vertical-lr\"\n : \"vertical-rl\".\n stylesunicodeBidi = \"plaintext\";\n }\n\n this.applyStyles(styles);\n\n this.div.appendChild(this.cueDiv);\n\n // Calculate the distance from the reference edge of the viewport to the text\n // position of the cue box. The reference edge will be resolved later when\n // the box orientation styles are applied.\n var textPos = 0;\n switch (cue.positionAlign) {\n case \"start\":\n textPos = cue.position;\n break;\n case \"middle\":\n textPos = cue.position - (cue.size / 2);\n break;\n case \"end\":\n textPos = cue.position - cue.size;\n break;\n }\n\n // Horizontal box orientation; textPos is the distance from the left edge of the\n // area to the left edge of the box and cue.size is the distance extending to\n // the right from there.\n if (cue.vertical === \"\") {\n this.applyStyles({\n left: this.formatStyle(textPos, \"%\"),\n width: this.formatStyle(cue.size, \"%\")\n });\n // Vertical box orientation; textPos is the distance from the top edge of the\n // area to the top edge of the box and cue.size is the height extending\n // downwards from there.\n } else {\n this.applyStyles({\n top: this.formatStyle(textPos, \"%\"),\n height: this.formatStyle(cue.size, \"%\")\n });\n }\n\n this.move = function(box) {\n this.applyStyles({\n top: this.formatStyle(box.top, \"px\"),\n bottom: this.formatStyle(box.bottom, \"px\"),\n left: this.formatStyle(box.left, \"px\"),\n right: this.formatStyle(box.right, \"px\"),\n height: this.formatStyle(box.height, \"px\"),\n width: this.formatStyle(box.width, \"px\")\n });\n };\n}\nCueStyleBox.prototype = _objCreate(StyleBox.prototype);\nCueStyleBox.prototype.constructor = CueStyleBox;\n\n// Represents the co-ordinates of an Element in a way that we can easily\n// compute things with such as if it overlaps or intersects with another Element.\n// Can initialize it with either a StyleBox or another BoxPosition.\nfunction BoxPosition(obj) {\n var isIE8 = (typeof navigator !== \"undefined\") &&\n (/MSIE\\s8\\.0/).test(navigator.userAgent);\n\n // Either a BoxPosition was passed in and we need to copy it, or a StyleBox\n // was passed in and we need to copy the results of 'getBoundingClientRect'\n // as the object returned is readonly. All co-ordinate values are in reference\n // to the viewport origin (top left).\n var lh, height, width, top;\n if (obj.div) {\n height = obj.div.offsetHeight;\n width = obj.div.offsetWidth;\n top = obj.div.offsetTop;\n\n var rects = (rects = obj.div.childNodes) && (rects = rects[0]) &&\n rects.getClientRects && rects.getClientRects();\n obj = obj.div.getBoundingClientRect();\n // In certain cases the outter div will be slightly larger then the sum of\n // the inner div's lines. This could be due to bold text, etc, on some platforms.\n // In this case we should get the average line height and use that. This will\n // result in the desired behaviour.\n lh = rects ? Math.max((rects[0] && rects[0].height) || 0, obj.height / rects.length)\n : 0;\n\n }\n this.left = obj.left;\n this.right = obj.right;\n this.top = obj.top || top;\n this.height = obj.height || height;\n this.bottom = obj.bottom || (top + (obj.height || height));\n this.width = obj.width || width;\n this.lineHeight = lh !== undefined ? lh : obj.lineHeight;\n\n if (isIE8 && !this.lineHeight) {\n this.lineHeight = 13;\n }\n}\n\n// Move the box along a particular axis. Optionally pass in an amount to move\n// the box. If no amount is passed then the default is the line height of the\n// box.\nBoxPosition.prototype.move = function(axis, toMove) {\n toMove = toMove !== undefined ? toMove : this.lineHeight;\n switch (axis) {\n case \"+x\":\n this.left += toMove;\n this.right += toMove;\n break;\n case \"-x\":\n this.left -= toMove;\n this.right -= toMove;\n break;\n case \"+y\":\n this.top += toMove;\n this.bottom += toMove;\n break;\n case \"-y\":\n this.top -= toMove;\n this.bottom -= toMove;\n break;\n }\n};\n\n// Check if this box overlaps another box, b2.\nBoxPosition.prototype.overlaps = function(b2) {\n return this.left < b2.right &&\n this.right > b2.left &&\n this.top < b2.bottom &&\n this.bottom > b2.top;\n};\n\n// Check if this box overlaps any other boxes in boxes.\nBoxPosition.prototype.overlapsAny = function(boxes) {\n for (var i = 0; i < boxes.length; i++) {\n if (this.overlaps(boxes[i])) {\n return true;\n }\n }\n return false;\n};\n\n// Check if this box is within another box.\nBoxPosition.prototype.within = function(container) {\n return this.top >= container.top &&\n this.bottom <= container.bottom &&\n this.left >= container.left &&\n this.right <= container.right;\n};\n\n// Check if this box is entirely within the container or it is overlapping\n// on the edge opposite of the axis direction passed. For example, if \"+x\" is\n// passed and the box is overlapping on the left edge of the container, then\n// return true.\nBoxPosition.prototype.overlapsOppositeAxis = function(container, axis) {\n switch (axis) {\n case \"+x\":\n return this.left < container.left;\n case \"-x\":\n return this.right > container.right;\n case \"+y\":\n return this.top < container.top;\n case \"-y\":\n return this.bottom > container.bottom;\n }\n};\n\n// Find the percentage of the area that this box is overlapping with another\n// box.\nBoxPosition.prototype.intersectPercentage = function(b2) {\n var x = Math.max(0, Math.min(this.right, b2.right) - Math.max(this.left, b2.left)),\n y = Math.max(0, Math.min(this.bottom, b2.bottom) - Math.max(this.top, b2.top)),\n intersectArea = x * y;\n return intersectArea / (this.height * this.width);\n};\n\n// Convert the positions from this box to CSS compatible positions using\n// the reference container's positions. This has to be done because this\n// box's positions are in reference to the viewport origin, whereas, CSS\n// values are in referecne to their respective edges.\nBoxPosition.prototype.toCSSCompatValues = function(reference) {\n return {\n top: this.top - reference.top,\n bottom: reference.bottom - this.bottom,\n left: this.left - reference.left,\n right: reference.right - this.right,\n height: this.height,\n width: this.width\n };\n};\n\n// Get an object that represents the box's position without anything extra.\n// Can pass a StyleBox, HTMLElement, or another BoxPositon.\nBoxPosition.getSimpleBoxPosition = function(obj) {\n var height = obj.div ? obj.div.offsetHeight : obj.tagName ? obj.offsetHeight : 0;\n var width = obj.div ? obj.div.offsetWidth : obj.tagName ? obj.offsetWidth : 0;\n var top = obj.div ? obj.div.offsetTop : obj.tagName ? obj.offsetTop : 0;\n\n obj = obj.div ? obj.div.getBoundingClientRect() :\n obj.tagName ? obj.getBoundingClientRect() : obj;\n var ret = {\n left: obj.left,\n right: obj.right,\n top: obj.top || top,\n height: obj.height || height,\n bottom: obj.bottom || (top + (obj.height || height)),\n width: obj.width || width\n };\n return ret;\n};\n\n// Move a StyleBox to its specified, or next best, position. The containerBox\n// is the box that contains the StyleBox, such as a div. boxPositions are\n// a list of other boxes that the styleBox can't overlap with.\nfunction moveBoxToLinePosition(window, styleBox, containerBox, boxPositions) {\n\n // Find the best position for a cue box, b, on the video. The axis parameter\n // is a list of axis, the order of which, it will move the box along. For example:\n // Passing [\"+x\", \"-x\"] will move the box first along the x axis in the positive\n // direction. If it doesn't find a good position for it there it will then move\n // it along the x axis in the negative direction.\n function findBestPosition(b, axis) {\n var bestPosition,\n specifiedPosition = new BoxPosition(b),\n percentage = 1; // Highest possible so the first thing we get is better.\n\n for (var i = 0; i < axis.length; i++) {\n while (b.overlapsOppositeAxis(containerBox, axis[i]) ||\n (b.within(containerBox) && b.overlapsAny(boxPositions))) {\n b.move(axis[i]);\n }\n // We found a spot where we aren't overlapping anything. This is our\n // best position.\n if (b.within(containerBox)) {\n return b;\n }\n var p = b.intersectPercentage(containerBox);\n // If we're outside the container box less then we were on our last try\n // then remember this position as the best position.\n if (percentage > p) {\n bestPosition = new BoxPosition(b);\n percentage = p;\n }\n // Reset the box position to the specified position.\n b = new BoxPosition(specifiedPosition);\n }\n return bestPosition || specifiedPosition;\n }\n\n var boxPosition = new BoxPosition(styleBox),\n cue = styleBox.cue,\n linePos = computeLinePos(cue),\n axis = [];\n\n // If we have a line number to align the cue to.\n if (cue.snapToLines) {\n var size;\n switch (cue.vertical) {\n case \"\":\n axis = [ \"+y\", \"-y\" ];\n size = \"height\";\n break;\n case \"rl\":\n axis = [ \"+x\", \"-x\" ];\n size = \"width\";\n break;\n case \"lr\":\n axis = [ \"-x\", \"+x\" ];\n size = \"width\";\n break;\n }\n\n var step = boxPosition.lineHeight,\n position = step * Math.round(linePos),\n maxPosition = containerBox[size] + step,\n initialAxis = axis[0];\n\n // If the specified intial position is greater then the max position then\n // clamp the box to the amount of steps it would take for the box to\n // reach the max position.\n if (Math.abs(position) > maxPosition) {\n position = position < 0 ? -1 : 1;\n position *= Math.ceil(maxPosition / step) * step;\n }\n\n // If computed line position returns negative then line numbers are\n // relative to the bottom of the video instead of the top. Therefore, we\n // need to increase our initial position by the length or width of the\n // video, depending on the writing direction, and reverse our axis directions.\n if (linePos < 0) {\n position += cue.vertical === \"\" ? containerBox.height : containerBox.width;\n axis = axis.reverse();\n }\n\n // Move the box to the specified position. This may not be its best\n // position.\n boxPosition.move(initialAxis, position);\n\n } else {\n // If we have a percentage line value for the cue.\n var calculatedPercentage = (boxPosition.lineHeight / containerBox.height) * 100;\n\n switch (cue.lineAlign) {\n case \"middle\":\n linePos -= (calculatedPercentage / 2);\n break;\n case \"end\":\n linePos -= calculatedPercentage;\n break;\n }\n\n // Apply initial line position to the cue box.\n switch (cue.vertical) {\n case \"\":\n styleBox.applyStyles({\n top: styleBox.formatStyle(linePos, \"%\")\n });\n break;\n case \"rl\":\n styleBox.applyStyles({\n left: styleBox.formatStyle(linePos, \"%\")\n });\n break;\n case \"lr\":\n styleBox.applyStyles({\n right: styleBox.formatStyle(linePos, \"%\")\n });\n break;\n }\n\n axis = [ \"+y\", \"-x\", \"+x\", \"-y\" ];\n\n // Get the box position again after we've applied the specified positioning\n // to it.\n boxPosition = new BoxPosition(styleBox);\n }\n\n var bestPosition = findBestPosition(boxPosition, axis);\n styleBox.move(bestPosition.toCSSCompatValues(containerBox));\n}\n\n/*function WebVTT() {\n // Nothing\n }*/\n\n// Helper to allow strings to be decoded instead of the default binary utf8 data.\nWebVTT.StringDecoder = function() {\n return {\n decode: function(data) {\n if (!data) {\n return \"\";\n }\n if (typeof data !== \"string\") {\n throw new Error(\"Error - expected string data.\");\n }\n return decodeURIComponent(encodeURIComponent(data));\n }\n };\n};\n\nWebVTT.convertCueToDOMTree = function(window, cuetext) {\n if (!window || !cuetext) {\n return null;\n }\n return parseContent(window, cuetext);\n};\n\nvar FONT_SIZE_PERCENT = 0.05;\nvar FONT_STYLE = \"sans-serif\";\nvar CUE_BACKGROUND_PADDING = \"1.5%\";\n\n// Runs the processing model over the cues and regions passed to it.\n// @param overlay A block level element (usually a div) that the computed cues\n// and regions will be placed into.\nWebVTT.processCues = function(window, cues, overlay) {\n if (!window || !cues || !overlay) {\n return null;\n }\n\n // Remove all previous children.\n while (overlay.firstChild) {\n overlay.removeChild(overlay.firstChild);\n }\n\n var paddedOverlay = window.document.createElement(\"div\");\n paddedOverlay.style.position = \"absolute\";\n paddedOverlay.style.left = \"0\";\n paddedOverlay.style.right = \"0\";\n paddedOverlay.style.top = \"0\";\n paddedOverlay.style.bottom = \"0\";\n paddedOverlay.style.margin = CUE_BACKGROUND_PADDING;\n overlay.appendChild(paddedOverlay);\n\n // Determine if we need to compute the display states of the cues. This could\n // be the case if a cue's state has been changed since the last computation or\n // if it has not been computed yet.\n function shouldCompute(cues) {\n for (var i = 0; i < cues.length; i++) {\n if (cues[i].hasBeenReset || !cues[i].displayState) {\n return true;\n }\n }\n return false;\n }\n\n // We don't need to recompute the cues' display states. Just reuse them.\n if (!shouldCompute(cues)) {\n for (var i = 0; i < cues.length; i++) {\n paddedOverlay.appendChild(cues[i].displayState);\n }\n return;\n }\n\n var boxPositions = [],\n containerBox = BoxPosition.getSimpleBoxPosition(paddedOverlay),\n fontSize = Math.round(containerBox.height * FONT_SIZE_PERCENT * 100) / 100;\n var styleOptions = {\n font: (fontSize * fontScale) + \"px \" + FONT_STYLE\n };\n\n (function() {\n var styleBox, cue;\n\n for (var i = 0; i < cues.length; i++) {\n cue = cues[i];\n\n // Compute the intial position and styles of the cue div.\n styleBox = new CueStyleBox(window, cue, styleOptions);\n paddedOverlay.appendChild(styleBox.div);\n\n // Move the cue div to it's correct line position.\n moveBoxToLinePosition(window, styleBox, containerBox, boxPositions);\n\n // Remember the computed div so that we don't have to recompute it later\n // if we don't have too.\n cue.displayState = styleBox.div;\n\n boxPositions.push(BoxPosition.getSimpleBoxPosition(styleBox));\n }\n })();\n};\n\nWebVTT.Parser = function(window, decoder) {\n this.window = window;\n this.state = \"INITIAL\";\n this.buffer = \"\";\n this.decoder = decoder || new TextDecoder(\"utf8\");\n this.regionList = [];\n};\n\nWebVTT.Parser.prototype = {\n // If the error is a ParsingError then report it to the consumer if\n // possible. If it's not a ParsingError then throw it like normal.\n reportOrThrowError: function(e) {\n if (e instanceof ParsingError) {\n this.onparsingerror && this.onparsingerror(e);\n } else {\n throw e;\n }\n },\n parse: function (data, flushing) {\n var self = this;\n // If there is no data then we won't decode it, but will just try to parse\n // whatever is in buffer already. This may occur in circumstances, for\n // example when flush() is called.\n if (data) {\n // Try to decode the data that we received.\n self.buffer += self.decoder.decode(data, {stream: true});\n }\n function collectNextLine() {\n var buffer = self.buffer;\n var pos = 0;\n while (pos < buffer.length && buffer[pos] !== '\\r' && buffer[pos] !== '\\n') {\n ++pos;\n }\n var line = buffer.substr(0, pos);\n // Advance the buffer early in case we fail below.\n if (buffer[pos] === '\\r') {\n ++pos;\n }\n if (buffer[pos] === '\\n') {\n ++pos;\n }\n self.buffer = buffer.substr(pos);\n return line;\n }\n\n // 3.4 WebVTT region and WebVTT region settings syntax\n function parseRegion(input) {\n var settings = new Settings();\n\n parseOptions(input, function (k, v) {\n switch (k) {\n case \"id\":\n settings.set(k, v);\n break;\n case \"width\":\n settings.percent(k, v);\n break;\n case \"lines\":\n settings.integer(k, v);\n break;\n case \"regionanchor\":\n case \"viewportanchor\":\n var xy = v.split(',');\n if (xy.length !== 2) {\n break;\n }\n // We have to make sure both x and y parse, so use a temporary\n // settings object here.\n var anchor = new Settings();\n anchor.percent(\"x\", xy[0]);\n anchor.percent(\"y\", xy[1]);\n if (!anchor.has(\"x\") || !anchor.has(\"y\")) {\n break;\n }\n settings.set(k + \"X\", anchor.get(\"x\"));\n settings.set(k + \"Y\", anchor.get(\"y\"));\n break;\n case \"scroll\":\n settings.alt(k, v, [\"up\"]);\n break;\n }\n }, /=/, /\\s/);\n\n // Create the region, using default values for any values that were not\n // specified.\n if (settings.has(\"id\")) {\n var region = new VTTRegion();\n region.width = settings.get(\"width\", 100);\n region.lines = settings.get(\"lines\", 3);\n region.regionAnchorX = settings.get(\"regionanchorX\", 0);\n region.regionAnchorY = settings.get(\"regionanchorY\", 100);\n region.viewportAnchorX = settings.get(\"viewportanchorX\", 0);\n region.viewportAnchorY = settings.get(\"viewportanchorY\", 100);\n region.scroll = settings.get(\"scroll\", \"\");\n // Register the region.\n self.onregion && self.onregion(region);\n // Remember the VTTRegion for later in case we parse any VTTCues that\n // reference it.\n self.regionList.push({\n id: settings.get(\"id\"),\n region: region\n });\n }\n }\n\n // 3.2 WebVTT metadata header syntax\n function parseHeader(input) {\n parseOptions(input, function (k, v) {\n switch (k) {\n case \"Region\":\n // 3.3 WebVTT region metadata header syntax\n parseRegion(v);\n break;\n }\n }, /:/);\n }\n\n // 5.1 WebVTT file parsing.\n try {\n var line;\n if (self.state === \"INITIAL\") {\n // We can't start parsing until we have the first line.\n if (!/\\r\\n|\\n/.test(self.buffer)) {\n return this;\n }\n\n line = collectNextLine();\n\n var m = line.match(/^WEBVTT([ \\t].*)?$/);\n if (!m || !m[0]) {\n throw new ParsingError(ParsingError.Errors.BadSignature);\n }\n\n self.state = \"HEADER\";\n }\n\n var alreadyCollectedLine = false;\n while (self.buffer) {\n // We can't parse a line until we have the full line.\n if (!/\\r\\n|\\n/.test(self.buffer)) {\n return this;\n }\n\n if (!alreadyCollectedLine) {\n line = collectNextLine();\n } else {\n alreadyCollectedLine = false;\n }\n switch (self.state) {\n case \"HEADER\":\n // 13-18 - Allow a header (metadata) under the WEBVTT line.\n if (/:/.test(line)) {\n parseHeader(line);\n } else if (!line) {\n // An empty line terminates the header and starts the body (cues).\n self.state = \"ID\";\n }\n continue;\n case \"NOTE\":\n // Ignore NOTE blocks.\n if (!line) {\n self.state = \"ID\";\n }\n continue;\n case \"ID\":\n // Check for the start of NOTE blocks.\n if (/^NOTE($|[ \\t])/.test(line)) {\n self.state = \"NOTE\";\n break;\n }\n // 19-29 - Allow any number of line terminators, then initialize new cue values.\n if (!line) {\n continue;\n }\n self.cue = new VTTCue(0, 0, \"\");\n self.state = \"CUE\";\n // 30-39 - Check if self line contains an optional identifier or timing data.\n if (line.indexOf(\"-->\") === -1) {\n self.cue.id = line;\n continue;\n }\n // Process line as start of a cue.\n /*falls through*/\n case \"CUE\":\n // 40 - Collect cue timings and settings.\n try {\n parseCue(line, self.cue, self.regionList);\n } catch (e) {\n self.reportOrThrowError(e);\n // In case of an error ignore rest of the cue.\n self.cue = null;\n self.state = \"BADCUE\";\n continue;\n }\n self.state = \"CUETEXT\";\n continue;\n case \"CUETEXT\":\n var hasSubstring = line.indexOf(\"-->\") !== -1;\n // 34 - If we have an empty line then report the cue.\n // 35 - If we have the special substring '-->' then report the cue,\n // but do not collect the line as we need to process the current\n // one as a new cue.\n if (!line || hasSubstring && (alreadyCollectedLine = true)) {\n // We are done parsing self cue.\n self.oncue && self.oncue(self.cue);\n self.cue = null;\n self.state = \"ID\";\n continue;\n }\n if (self.cue.text) {\n self.cue.text += \"\\n\";\n }\n self.cue.text += line;\n continue;\n case \"BADCUE\": // BADCUE\n // 54-62 - Collect and discard the remaining cue.\n if (!line) {\n self.state = \"ID\";\n }\n continue;\n }\n }\n\n\n if (!flushing) {\n //때때로 (한긇 vtt로 추정) cue가 남아 있는채로 self.flush()를 호출해서 cue가 있기 때문에 다시 self.parse()를 타는 경우가 생김.\n //왜 이렇게 짜여 있는지 모르겠고 일단 아래와 같은 코드로 위기를 극복한다.\n if (self.state === \"CUETEXT\" && self.cue && self.oncue) {\n self.oncue(self.cue);\n }\n self.flush();\n return this;\n }\n } catch (e) {\n self.reportOrThrowError(e);\n // If we are currently parsing a cue, report what we have.\n if (self.state === \"CUETEXT\" && self.cue && self.oncue) {\n self.oncue(self.cue);\n }\n self.cue = null;\n // Enter BADWEBVTT state if header was not parsed correctly otherwise\n // another exception occurred so enter BADCUE state.\n self.state = self.state === \"INITIAL\" ? \"BADWEBVTT\" : \"BADCUE\";\n }\n return this;\n },\n flush: function () {\n var self = this;\n\n try {\n // Finish decoding the stream.\n self.buffer += self.decoder.decode();\n // Synthesize the end of the current cue or region.\n if (self.cue || self.state === \"HEADER\") {\n self.buffer += \"\\n\\n\";\n self.parse(null, true);\n }\n // If we've flushed, parsed, and we're still on the INITIAL state then\n // that means we don't have enough of the stream to parse the first\n // line.\n if (self.state === \"INITIAL\") {\n throw new ParsingError(ParsingError.Errors.BadSignature);\n }\n } catch(e) {\n self.reportOrThrowError(e);\n }\n self.onflush && self.onflush();\n return this;\n }\n};\n\n\n\n\nexport default WebVTT;","/**\n * Created by hoho on 2018. 8. 24..\n */\n\nexport const getBrowserLanguage = function(){\n let nav = window.navigator,\n browserLanguagePropertyKeys = ['language', 'browserLanguage', 'systemLanguage', 'userLanguage'],\n i,\n language;\n\n // support for HTML 5.1 \"navigator.languages\"\n if (Array.isArray(nav.languages)) {\n for (i = 0; i < nav.languages.length; i++) {\n language = nav.languages[i];\n if (language && language.length) {\n return language;\n }\n }\n }\n\n // support for other well known properties in browsers\n for (i = 0; i < browserLanguagePropertyKeys.length; i++) {\n language = nav[browserLanguagePropertyKeys[i]];\n if (language && language.length) {\n return language;\n }\n }\n\n return null;\n};\nexport const analUserAgent = function(){\n let unknown = '-';\n\n // screen\n let screenSize = '';\n if (screen.width) {\n let width = (screen.width) ? screen.width : '';\n let height = (screen.height) ? screen.height : '';\n screenSize += '' + width + \" x \" + height;\n }\n\n // browser\n let nVer = navigator.appVersion;\n let nAgt = navigator.userAgent;\n let browser = navigator.appName;\n let version = '' + parseFloat(navigator.appVersion);\n let majorVersion = parseInt(navigator.appVersion, 10);\n let isWebview = false;\n let nameOffset, verOffset, ix;\n\n // Opera\n if ((verOffset = nAgt.indexOf('Opera')) != -1) {\n browser = 'Opera';\n version = nAgt.substring(verOffset + 6);\n if ((verOffset = nAgt.indexOf('Version')) != -1) {\n version = nAgt.substring(verOffset + 8);\n }\n }\n // Opera Next\n if ((verOffset = nAgt.indexOf('OPR')) != -1) {\n browser = 'Opera';\n version = nAgt.substring(verOffset + 4);\n }\n //삼성 브라우저\n else if ((verOffset = nAgt.indexOf('SamsungBrowser')) != -1) {\n browser = 'SamsungBrowser';\n version = nAgt.substring(verOffset + 15);\n }\n // Edge\n else if ((verOffset = nAgt.indexOf('Edge')) != -1) {\n browser = 'Microsoft Edge';\n version = nAgt.substring(verOffset + 5);\n }\n // MSIE\n else if ((verOffset = nAgt.indexOf('MSIE')) != -1) {\n browser = 'Microsoft Internet Explorer';\n version = nAgt.substring(verOffset + 5);\n\n\n //win7 IE11 userAgent is ugly....\n if( (nAgt.indexOf('Trident/') !== -1) && (nAgt.indexOf('rv:') !== -1) ){\n version = nAgt.substring(nAgt.indexOf('rv:') + 3);\n }\n }\n // Chrome\n else if ((verOffset = nAgt.indexOf('Chrome')) != -1) {\n browser = 'Chrome';\n version = nAgt.substring(verOffset + 7);\n }\n else if ((verOffset = nAgt.indexOf('CriOS')) != -1) { //iphone - chrome\n browser = 'Chrome';\n version = nAgt.substring(verOffset + 6);\n }\n // Firefox\n else if ((verOffset = nAgt.indexOf('Firefox')) != -1) {\n browser = 'Firefox';\n version = nAgt.substring(verOffset + 8);\n }\n else if ((verOffset = nAgt.indexOf('FxiOS')) != -1) {\n browser = 'Firefox';\n version = nAgt.substring(verOffset + 6);\n }\n // Safari\n else if ((verOffset = nAgt.indexOf('Safari')) != -1) {\n browser = 'Safari';\n version = nAgt.substring(verOffset + 7);\n if ((verOffset = nAgt.indexOf('Version')) != -1) {\n version = nAgt.substring(verOffset + 8);\n }\n }\n\n\n // MSIE 11+\n else if (nAgt.indexOf('Trident/') !== -1) {\n browser = 'Microsoft Internet Explorer';\n version = nAgt.substring(nAgt.indexOf('rv:') + 3);\n }\n // Other browsers\n else if ((nameOffset = nAgt.lastIndexOf(' ') + 1) < (verOffset = nAgt.lastIndexOf('/'))) {\n browser = nAgt.substring(nameOffset, verOffset);\n version = nAgt.substring(verOffset + 1);\n if (browser.toLowerCase() == browser.toUpperCase()) {\n browser = navigator.appName;\n }\n }\n if(nAgt.indexOf(' wv') > 0){\n isWebview = true;\n }\n // trim the version string\n if ((ix = version.indexOf(';')) != -1) version = version.substring(0, ix);\n if ((ix = version.indexOf(' ')) != -1) version = version.substring(0, ix);\n if ((ix = version.indexOf(')')) != -1) version = version.substring(0, ix);\n\n majorVersion = parseInt('' + version, 10);\n if (isNaN(majorVersion)) {\n version = '' + parseFloat(navigator.appVersion);\n majorVersion = parseInt(navigator.appVersion, 10);\n }\n\n // mobile version\n var mobile = /Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(nVer);\n\n // cookie\n var cookieEnabled = (navigator.cookieEnabled) ? true : false;\n\n if (typeof navigator.cookieEnabled == 'undefined' && !cookieEnabled) {\n document.cookie = 'testcookie';\n cookieEnabled = (document.cookie.indexOf('testcookie') != -1) ? true : false;\n }\n\n // system\n var os = unknown;\n var clientStrings = [\n {s:'Windows 10', r:/(Windows 10.0|Windows NT 10.0)/},\n {s:'Windows 8.1', r:/(Windows 8.1|Windows NT 6.3)/},\n {s:'Windows 8', r:/(Windows 8|Windows NT 6.2)/},\n {s:'Windows 7', r:/(Windows 7|Windows NT 6.1)/},\n {s:'Windows Vista', r:/Windows NT 6.0/},\n {s:'Windows Server 2003', r:/Windows NT 5.2/},\n {s:'Windows XP', r:/(Windows NT 5.1|Windows XP)/},\n {s:'Windows 2000', r:/(Windows NT 5.0|Windows 2000)/},\n {s:'Windows ME', r:/(Win 9x 4.90|Windows ME)/},\n {s:'Windows 98', r:/(Windows 98|Win98)/},\n {s:'Windows 95', r:/(Windows 95|Win95|Windows_95)/},\n {s:'Windows NT 4.0', r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},\n {s:'Windows CE', r:/Windows CE/},\n {s:'Windows 3.11', r:/Win16/},\n {s:'Android', r:/Android/},\n {s:'Open BSD', r:/OpenBSD/},\n {s:'Sun OS', r:/SunOS/},\n {s:'Linux', r:/(Linux|X11)/},\n {s:'iOS', r:/(iPhone|iPad|iPod)/},\n {s:'Mac OS XI', r:/Mac OS X 11/},\n {s:'Mac OS X', r:/Mac OS X 10/},\n {s:'Mac OS', r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},\n {s:'QNX', r:/QNX/},\n {s:'UNIX', r:/UNIX/},\n {s:'BeOS', r:/BeOS/},\n {s:'OS/2', r:/OS\\/2/},\n {s:'Search Bot', r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\\/Teoma|ia_archiver)/}\n ];\n for (var id in clientStrings) {\n var cs = clientStrings[id];\n if (cs.r.test(nAgt)) {\n os = cs.s;\n break;\n }\n }\n\n var osVersion = unknown;\n\n if (/Windows/.test(os)) {\n osVersion = /Windows (.*)/.exec(os)[1];\n os = 'Windows';\n }\n\n switch (os) {\n case 'Mac OS XI':\n osVersion = /Mac OS X (11[\\.\\_\\d]+)/.exec(nAgt)[1];\n break;\n\n case 'Mac OS X':\n osVersion = /Mac OS X (10[\\.\\_\\d]+)/.exec(nAgt)[1];\n break;\n\n case 'Android':\n osVersion = /Android ([\\.\\_\\d]+)/.exec(nAgt)[1];\n break;\n\n case 'iOS':\n osVersion = /OS (\\d+)_(\\d+)_?(\\d+)?/.exec(nVer);\n if (osVersion) {\n osVersion = osVersion[1] + '.' + osVersion[2] + '.' + (osVersion[3] | 0);\n } else {\n osVersion = '';\n }\n\n break;\n }\n\n return {\n screen: screenSize,\n browser: browser,\n browserVersion: version,\n browserMajorVersion: majorVersion,\n mobile: mobile,\n ua : nAgt,\n os: os,\n osVersion: osVersion,\n cookies: cookieEnabled\n };\n};\n","import {getBrowserLanguage} from \"utils/browser\";\n/*\n * sami-parser\n * The MIT License (MIT)\n *\n * Copyright (c) 2013 Constantine Kim \n * https://github.com/elegantcoder/sami-parser\n *\n */\n\nconst langCodes = [\"ab\",\"aa\",\"af\", \"ak\", \"sq\", \"am\", \"ar\", \"an\", \"hy\", \"as\", \"av\", \"ae\", \"ay\", \"az\", \"bm\", \"ba\", \"eu\", \"be\", \"bn\", \"bh\", \"bi\", \"nb\",\"bs\",\"br\",\"bg\",\"my\",\"es\",\"ca\",\"km\",\"ch\",\"ce\",\"ny\",\"ny\",\"zh\",\"za\",\"cu\",\"cu\",\"cv\",\"kw\",\n \"co\",\"cr\",\"hr\",\"cs\",\"da\",\"dv\",\"dv\",\"nl\",\"dz\",\"en\",\"eo\",\"et\",\"ee\",\"fo\",\"fj\",\"fi\",\"nl\",\"fr\",\"ff\",\"gd\",\"gl\",\"lg\",\"ka\",\"de\",\"ki\",\"el\",\"kl\",\"gn\",\"gu\",\"ht\",\"ht\",\"ha\",\"he\",\"hz\",\"hi\",\"ho\",\"hu\",\"is\",\"io\",\"ig\",\"id\",\"ia\",\"ie\",\"iu\",\"ik\",\"ga\",\n \"it\",\"ja\",\"jv\",\"kl\",\"kn\",\"kr\",\"ks\",\"kk\",\"ki\",\"rw\",\"ky\",\"kv\",\"kg\",\"ko\",\"kj\",\"ku\",\"kj\",\"ky\",\"lo\",\"la\",\"lv\",\"lb\",\"li\",\"li\",\"li\",\"ln\",\"lt\",\"lu\",\"lb\",\"mk\",\"mg\",\"ms\",\"ml\",\"dv\",\"mt\",\"gv\",\"mi\",\"mr\",\"mh\",\"ro\",\"ro\",\"mn\",\"na\",\"nv\",\"nv\",\"nd\",\n \"nr\",\"ng\",\"ne\",\"nd\",\"se\",\"no\",\"nb\",\"nn\",\"ii\",\"ny\",\"nn\",\"ie\",\"oc\",\"oj\",\"cu\",\"cu\",\"cu\",\"or\",\"om\",\"os\",\"os\",\"pi\",\"pa\",\"ps\",\"fa\",\"pl\",\"pt\",\"pa\",\"ps\",\"qu\",\"ro\",\"rm\",\"rn\",\"ru\",\"sm\",\"sg\",\"sa\",\"sc\",\"gd\",\"sr\",\"sn\",\"ii\",\"sd\",\"si\",\"si\",\"sk\",\n \"sl\",\"so\",\"st\",\"nr\",\"es\",\"su\",\"sw\",\"ss\",\"sv\",\"tl\",\"ty\",\"tg\",\"ta\",\"tt\",\"te\",\"th\",\"bo\",\"ti\",\"to\",\"ts\",\"tn\",\"tr\",\"tk\",\"tw\",\"ug\",\"uk\",\"ur\",\"ug\",\"uz\",\"ca\",\"ve\",\"vi\",\"vo\",\"wa\",\"cy\",\"fy\",\"wo\",\"xh\",\"yi\",\"yo\",\"za\",\"zu\"];\n\nconst reOpenSync = /]*<[a-z]*/g;\n\nconst reStartTime = /]+?start[^=]*=[^0-9]*([0-9]*)[\"^0-9\"]*/i;\n\nconst reBr = /]*>/ig;\n\nconst reStyle = /]*>([\\s\\S]*?)<\\/style[^>]*>/i;\n\nconst reComment = /()/g;\n\nconst clone = function(obj) {\n var flags, key, newInstance;\n if ((obj == null) || typeof obj !== 'object') {\n return obj;\n }\n if (obj instanceof Date) {\n return new Date(obj.getTime());\n }\n if (obj instanceof RegExp) {\n flags = '';\n if (obj.global != null) {\n flags += 'g';\n }\n if (obj.ignoreCase != null) {\n flags += 'i';\n }\n if (obj.multiline != null) {\n flags += 'm';\n }\n if (obj.sticky != null) {\n flags += 'y';\n }\n return new RegExp(obj.source, flags);\n }\n newInstance = new obj.constructor();\n for (key in obj) {\n newInstance[key] = clone(obj[key]);\n }\n return newInstance;\n};\n\nconst strip_tags = function (input, allowed) {\n // http://kevin.vanzonneveld.net\n // + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + improved by: Luke Godfrey\n // + input by: Pul\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + bugfixed by: Onno Marsman\n // + input by: Alex\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + input by: Marc Palau\n // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + input by: Brett Zamir (http://brett-zamir.me)\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + bugfixed by: Eric Nagel\n // + input by: Bobby Drake\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + bugfixed by: Tomasz Wesolowski\n // + input by: Evertjan Garretsen\n // + revised by: Rafał Kukawski (http://blog.kukawski.pl/)\n // * example 1: strip_tags('

Kevin


van Zonneveld', '');\n // * returns 1: 'Kevin van Zonneveld'\n // * example 2: strip_tags('

Kevin van Zonneveld

', '

');\n // * returns 2: '

Kevin van Zonneveld

'\n // * example 3: strip_tags(\"Kevin van Zonneveld\", \"\");\n // * returns 3: 'Kevin van Zonneveld'\n // * example 4: strip_tags('1 < 5 5 > 1');\n // * returns 4: '1 < 5 5 > 1'\n // * example 5: strip_tags('1
1');\n // * returns 5: '1 1'\n // * example 6: strip_tags('1
1', '
');\n // * returns 6: '1 1'\n // * example 7: strip_tags('1
1', '

');\n // * returns 7: '1
1'\n allowed = (((allowed || \"\") + \"\").toLowerCase().match(/<[a-z][a-z0-9]*>/g) || []).join(''); // making sure the allowed arg is a string containing only tags in lowercase ()\n var tags = /<\\/?([a-z][a-z0-9]*)\\b[^>]*>/gi,\n commentsAndPhpTags = /|<\\?(?:php)?[\\s\\S]*?\\?>/gi;\n return input.replace(commentsAndPhpTags, '').replace(tags, function($0, $1) {\n return allowed.indexOf('<' + $1.toLowerCase() + '>') > -1 ? $0 : '';\n });\n};\n\nconst _sort = function(langItem) {\n return langItem.sort(function(a, b) {\n var res;\n if ((res = a.start - b.start) === 0) {\n return a.end - b.end;\n } else {\n return res;\n }\n });\n};\n\nconst _mergeMultiLanguages = function(arr) {\n var content, dict, i, idx, key, lang, ret, val, _i, _len, _ref;\n dict = {};\n i = arr.length;\n ret = [];\n for (i = _i = 0, _len = arr.length; _i < _len; i = ++_i) {\n val = arr[i];\n key = val.startTime + ',' + val.endTime;\n if ((idx = dict[key]) !== void 0) {\n _ref = val.languages;\n for (lang in _ref) {\n content = _ref[lang];\n ret[idx].languages[lang] = content;\n }\n } else {\n ret.push(val);\n dict[key] = ret.length - 1;\n }\n }\n return ret;\n};\n\nconst SmiParser = function(sami, options) {\n var definedLangs, duration, errors, getDefinedLangs, getLanguage, key, makeEndTime, parse, result, value, _ref, fixedLang;\n parse = function() {\n var element, error, innerText, isBroken, item, lang, langItem, lineNum, nextStartTagIdx, ret, startTagIdx, startTime, str, tempRet, _ref, _ref1, _ref2;\n error = function(error) {\n var e;\n e = new Error(error);\n e.line = lineNum;\n e.context = element;\n return errors.push(e);\n };\n lineNum = 1;\n ret = [];\n tempRet = {};\n str = sami;\n while (true) {\n startTagIdx = str.search();\n if (nextStartTagIdx <= 0 || startTagIdx < 0) {\n break;\n }\n nextStartTagIdx = str.slice(startTagIdx + 1).search(reCloseSync) + 1;\n if (nextStartTagIdx > 0) {\n element = str.slice(startTagIdx, startTagIdx + nextStartTagIdx);\n } else {\n element = str.slice(startTagIdx);\n }\n lineNum += ((_ref = str.slice(0, startTagIdx).match(reLineEnding)) != null ? _ref.length : void 0) || 0;\n if (isBroken = reBrokenTag.test(element)) {\n error('ERROR_BROKEN_TAGS');\n }\n str = str.slice(startTagIdx + nextStartTagIdx);\n startTime = +((_ref1 = element.match(reStartTime)) != null ? parseFloat(_ref1[1]/1000) : void 0); //HSLEE ms -> s 로 변경\n if (startTime === null || startTime < 0) {\n error('ERROR_INVALID_TIME');\n }\n\n // We don't need complex language. cus SMI doens't obey the rules...\n lang = getLanguage(element);\n //lang = \"ko\";\n if (!lang) {\n // continue;\n error('ERROR_INVALID_LANGUAGE');\n }\n lineNum += ((_ref2 = element.match(reLineEnding)) != null ? _ref2.length : void 0) || 0;\n element = element.replace(reLineEnding, '');\n element = element.replace(reBr, \"\\n\");\n innerText = strip_tags(element).trim();\n\n //HSLEE : 20180530 - 우린 랭기지 구분이 필요 없다. 있는거 그대로 보여줄뿐\n item = {\n start: startTime,\n //languages: {},\n text: \"\",\n contents: innerText\n };\n if (lang) {\n //item.languages[lang] = innerText;\n item.text = innerText;\n }\n tempRet[lang] || (tempRet[lang] = []);\n //tempRet[lang].push(item);\n if(item.start){\n tempRet[lang].push(item);\n }\n\n }\n\n //fixed by hslee 190130\n //SMI was designed for multi language. But global standard (my guess) SRT, VTT doesn't support multi language.\n //This update is handling if SMI has multiple languages.\n fixedLang = fixedLang || getBrowserLanguage();\n let convertedLanguageNames = Object.keys(tempRet);\n\n if(convertedLanguageNames && convertedLanguageNames.length > 0){\n if(convertedLanguageNames.indexOf(fixedLang) > -1){\n langItem = tempRet[fixedLang];\n }else{\n langItem = tempRet[convertedLanguageNames.filter(function(name){return name !== \"undefined\"})[0]];\n }\n langItem = _sort(langItem);\n langItem = makeEndTime(langItem);\n ret = ret.concat(langItem);\n }\n\n //ret = _mergeMultiLanguages(ret);\n ret = _sort(ret);\n return ret;\n };\n getLanguage = function(element) {\n var className, lang;\n if(!element){return ;}\n for (className in definedLangs) {\n lang = definedLangs[className];\n if (lang.reClassName.test(element)) {\n return lang.lang;\n }\n }\n };\n getDefinedLangs = function() {\n var className, declaration, e, error, lang, matched, parsed, rule, selector, _i, _len, _ref, _ref1, _results;\n try {\n matched = ((_ref = sami.match(reStyle)) != null ? _ref[1] : void 0) || '';\n matched = matched.replace(reComment, '');\n parsed = cssParse(matched);\n _ref1 = parsed.stylesheet.rules;\n _results = [];\n for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\n rule = _ref1[_i];\n selector = rule.selectors[0];\n if ((selector != null ? selector[0] : void 0) === '.') {\n _results.push((function() {\n var _j, _len1, _ref2, _results1;\n _ref2 = rule.declarations;\n _results1 = [];\n for (_j = 0, _len1 = _ref2.length; _j < _len1; _j++) {\n declaration = _ref2[_j];\n if (declaration.property.toLowerCase() === 'lang') {\n className = selector.slice(1);\n lang = declaration.value.slice(0, 2);\n if (~langCodes.indexOf(lang)) {\n _results1.push(definedLangs[className] = {\n lang: lang,\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(\" + className + \")['\\\"\\S]?\", 'i')\n });\n } else {\n throw Error();\n }\n } else {\n _results1.push(void 0);\n }\n }\n return _results1;\n })());\n } else {\n _results.push(void 0);\n }\n }\n return _results;\n } catch (_error) {\n e = _error;\n errors.push(error = new Error('ERROR_INVALID_LANGUAGE_DEFINITION'));\n }\n };\n makeEndTime = function(langItem) {\n var i, item, _ref;\n i = langItem.length;\n while (i--) {\n item = langItem[i];\n if ((_ref = langItem[i - 1]) != null) {\n //HSLEE : 이왕이면 SRT 파서와 포맷을 맞추자\n _ref.end = item.start;\n }\n if (!item.contents || item.contents === ' ') {\n langItem.splice(i, 1);\n } else {\n delete langItem[i].contents;\n if (!item.end) {\n item.end = item.start + duration;\n }\n }\n }\n return langItem;\n };\n errors = [];\n definedLangs = {\n KRCC: {\n lang: 'ko',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(KRCC)['\\\"\\S]?\", 'i')\n },\n KOCC: {\n lang: 'ko',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(KOCC)['\\\"\\S]?\", 'i')\n },\n KR: {\n lang: 'ko',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(KR)['\\\"\\S]?\", 'i')\n },\n ENCC: {\n lang: 'en',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(ENCC)['\\\"\\S]?\", 'i')\n },\n EGCC: {\n lang: 'en',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(EGCC)['\\\"\\S]?\", 'i')\n },\n EN: {\n lang: 'en',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(EN)['\\\"\\S]?\", 'i')\n },\n JPCC: {\n lang: 'ja',\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(JPCC)['\\\"\\S]?\", 'i')\n }\n };\n if (options != null ? options.definedLangs : void 0) {\n _ref = options.definedLangs;\n for (key in _ref) {\n value = _ref[key];\n definedLangs[key] = value;\n }\n }\n duration = (options != null ? options.duration : void 0) || 10; //HSLEE ms -> s 로 변경\n fixedLang = options.fixedLang;\n sami = sami.trim();\n //getDefinedLangs();\n result = parse();\n return {\n result: result,\n errors: errors\n };\n};\n\n\nexport default SmiParser;","/**\n * Created by hoho on 2018. 7. 4..\n */\nimport SrtParser from \"api/caption/parser/SrtParser\";\nimport WebVTT from 'api/caption/parser/VttParser'\nimport VTTCue from 'utils/captions/vttCue'\nimport SmiParser from 'api/caption/parser/SmiParser'\n\nconst Loader = function () {\n const that = {};\n\n const convertToVTTCues = function (cues) {\n return cues.map(cue => new VTTCue(cue.start, cue.end, cue.text));\n };\n\n that.load = (track, language, successCallback, errorCallback) => {\n\n fetch(track.file).then(function (response) {\n if (response.ok) {\n\n response.text().then(function (body) {\n let cues = [];\n let vttCues = [];\n\n if (body.indexOf('WEBVTT') >= 0) {\n OvenPlayerConsole.log(\"WEBVTT LOADED\");\n let parser = new WebVTT.Parser(window, WebVTT.StringDecoder());\n vttCues = [];\n parser.oncue = function (cue) {\n vttCues.push(cue);\n };\n parser.onflush = function () {\n //delete track.xhr;\n successCallback(vttCues);\n };\n // Parse calls onflush internally\n parser.parse(body);\n } else if (body.indexOf('SAMI') >= 0) {\n OvenPlayerConsole.log(\"SAMI LOADED\");\n let parsedData = SmiParser(body, {fixedLang: language});\n vttCues = convertToVTTCues(parsedData.result);\n successCallback(vttCues);\n\n } else {\n OvenPlayerConsole.log(\"SRT LOADED\");\n cues = SrtParser(body);\n vttCues = convertToVTTCues(cues);\n successCallback(vttCues);\n }\n }).catch(function (e) {\n errorCallback(e);\n });\n\n } else {\n errorCallback(response.status);\n }\n }).catch(function (e) {\n errorCallback(e);\n });\n\n };\n\n return that;\n};\n\nexport default Loader;\n","// STATE\nexport const STATE_BUFFERING = \"buffering\";\nexport const STATE_IDLE = \"idle\";\nexport const STATE_COMPLETE = \"complete\";\nexport const STATE_PAUSED = \"paused\";\nexport const STATE_PLAYING = \"playing\";\nexport const STATE_ERROR = \"error\";\nexport const STATE_LOADING = \"loading\";\nexport const STATE_STALLED = \"stalled\";\n\nexport const STATE_AD_LOADING = \"adLoading\";\nexport const STATE_AD_LOADED = \"adLoaded\";\nexport const STATE_AD_PLAYING = \"adPlaying\";\nexport const STATE_AD_PAUSED = \"adPaused\";\nexport const STATE_AD_COMPLETE = \"adComplete\";\nexport const STATE_AD_ERROR = \"adError\";\nexport const PLAYER_AD_CLICK = \"adclick\";\n\n// PROVIDER\nexport const PROVIDER_HTML5 = \"html5\";\nexport const PROVIDER_WEBRTC = \"webrtc\";\nexport const PROVIDER_DASH = \"dash\";\nexport const PROVIDER_HLS = \"hls\";\nexport const PROVIDER_RTMP = \"rtmp\";\n\n// EVENTS\nexport const CONTENT_COMPLETE = STATE_COMPLETE;\nexport const READY = \"ready\";\nexport const DESTROY = \"destroy\";\nexport const CONTENT_SEEK = \"seek\";\nexport const CONTENT_BUFFER_FULL = \"bufferFull\";\nexport const DISPLAY_CLICK = \"displayClick\";\nexport const CONTENT_LOADED = \"loaded\";\nexport const PLAYLIST_CHANGED = \"playlistChanged\";\nexport const CONTENT_SEEKED = \"seeked\";\nexport const ALL_PLAYLIST_ENDED = \"allPlaylistEnded\";\nexport const NETWORK_UNSTABLED = \"unstableNetwork\";\nexport const HLS_PREPARED = \"hlsPrepared\";\nexport const HLS_DESTROYED = \"hlsDestroyed\";\nexport const DASH_PREPARED = \"dashPrepared\";\nexport const DASH_DESTROYED = \"dashDestroyed\";\nexport const PEER_CONNECTION_PREPARED = \"peerConnectionPrepared\";\nexport const PEER_CONNECTION_DESTROYED = \"peerConnectionDestroyed\";\n\n\n\nexport const ERROR = \"error\";\n\n// STATE OF PLAYER\nexport const PLAYER_STATE = \"stateChanged\";\nexport const PLAYER_COMPLETE = STATE_COMPLETE;\nexport const PLAYER_PAUSE = \"pause\";\nexport const PLAYER_PLAY = \"play\";\n\nexport const PLAYER_CLICKED = \"clicked\";\nexport const PLAYER_RESIZED = \"resized\";\nexport const PLAYER_LOADING = \"loading\";\nexport const PLAYER_FULLSCREEN_REQUEST = \"fullscreenRequested\";\nexport const PLAYER_FULLSCREEN_CHANGED = \"fullscreenChanged\";\nexport const PLAYER_WARNING = \"warning\";\n\nexport const AD_CHANGED = \"adChanged\";\nexport const AD_TIME = \"adTime\";\nexport const CONTENT_BUFFER = \"bufferChanged\";\nexport const CONTENT_TIME = \"time\";\nexport const CONTENT_RATE_CHANGE = \"ratechange\";\nexport const CONTENT_VOLUME = \"volumeChanged\";\nexport const CONTENT_MUTE = \"mute\";\nexport const CONTENT_META = \"metaChanged\";\nexport const CONTENT_SOURCE_CHANGED = \"sourceChanged\";\nexport const CONTENT_LEVEL_CHANGED = \"qualityLevelChanged\";\nexport const CONTENT_DURATION_CHANGED = \"durationChanged\";\nexport const PLAYBACK_RATE_CHANGED = \"playbackRateChanged\";\nexport const CONTENT_CAPTION_CUE_CHANGED = \"cueChanged\";\nexport const CONTENT_CAPTION_CHANGED = \"captionChanged\";\nexport const CONTENT_TIME_MODE_CHANGED = \"timeDisplayModeChanged\";\nexport const OME_P2P_MODE = \"p2pMode\";\nexport const AUDIO_TRACK_CHANGED = \"audioTrackChanged\";\n\n\nexport const AD_CLIENT_GOOGLEIMA = \"googleima\";\nexport const AD_CLIENT_VAST = \"vast\";\n\n\nexport const INIT_UNKNWON_ERROR = 100;\nexport const INIT_UNSUPPORT_ERROR = 101;\nexport const INIT_RTMP_SETUP_ERROR = 102;\nexport const INIT_DASH_UNSUPPORT = 103;\nexport const INIT_ADS_ERROR = 104;\nexport const INIT_DASH_FAIL = 105;\nexport const INIT_HLSJS_FAIL = 106;\nexport const PLAYER_UNKNWON_ERROR = 300;\nexport const PLAYER_UNKNWON_OPERATION_ERROR = 301;\nexport const PLAYER_UNKNWON_NETWORK_ERROR = 302;\nexport const PLAYER_UNKNWON_DECODE_ERROR = 303;\nexport const PLAYER_FILE_ERROR = 304;\nexport const PLAYER_CAPTION_ERROR = 305;\nexport const PLAYER_BAD_REQUEST_ERROR = 306;\nexport const PLAYER_AUTH_FAILED_ERROR = 307;\nexport const PLAYER_NOT_ACCEPTABLE_ERROR = 308;\nexport const PLAYER_WEBRTC_WS_ERROR = 501;\nexport const PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR = 502;\nexport const PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR = 503;\nexport const PLAYER_WEBRTC_CREATE_ANSWER_ERROR = 504;\nexport const PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR = 505;\nexport const PLAYER_WEBRTC_INTERNAL_ERROR = 506;\nexport const PLAYER_WEBRTC_NETWORK_SLOW = 510;\nexport const PLAYER_WEBRTC_UNEXPECTED_DISCONNECT = 511;\nexport const PLAYER_WEBRTC_TIMEOUT = 512;\n\nexport const WARN_MSG_MUTEDPLAY = \"Please touch here to turn on the sound.\";\n\n\nexport const UI_ICONS = {\n volume_mute : \"volume-mute\",\n op_warning : \"op-warning\"\n};\n\n\nexport const ERRORS = {codes : \"\"};\n\n\nexport const SYSTEM_TEXT = [\n {\n \"lang\" : \"en\",\n \"ui\" : {\n \"context\" : \"About OvenPlayer\",\n \"controls\" : {\n \"live\" : \"Live Streaming\",\n \"low_latency_live\" : \"Sub-Second Latency Streaming\",\n \"low_latency_p2p\" : \"Sub-Second Latency P2P\",\n },\n \"playlist\" : \"Playlist\",\n \"setting\" : {\n \"title\" : \"Settings\",\n \"speed\" : \"Speed\",\n \"speedUnit\" : \"x\",\n \"source\" : \"Source\",\n \"quality\" : \"Quality\",\n \"audioTrack\" : \"Audio\",\n \"caption\" : \"Caption\",\n \"display\" : \"Display\"\n }\n },\n \"api\" : {\n \"message\" : {\n \"muted_play\" : \"Please touch here to turn on the sound.\"\n },\n \"error\": {\n 100: {\n \"code\": 100,\n \"message\": \"Can not load due to unknown reasons.\",\n \"reason\": \"Can not load due to unknown reasons.\"\n },\n 101: {\n \"code\": 101,\n \"message\": \"Can not load due to playable media not found.\",\n \"reason\": \"Can not load due to playable media not found.\"\n },\n 102: {\n \"code\": 102,\n \"message\": \"Flash fetching process aborted.
Get Adobe Flash player\",\n \"reason\": \"It looks like not found swf or your environment is localhost.\"\n },\n 103: {\n \"code\": 103,\n \"message\": \"Can not load due to dash.js. Please use the latest dash.js.\",\n \"reason\": \"dash.js version is old.\"\n },\n 104: {\n \"code\": 104,\n \"message\": \"Can not load due to google ima for Ads. \",\n \"reason\": \"Please check the google ima library.\"\n },\n 105: {\n \"code\": 105,\n \"message\": \"Error initializing DASH.\",\n \"reason\": \"Error initializing DASH.\"\n },\n 106: {\n \"code\": 106,\n \"message\": \"Error initializing HLS.\",\n \"reason\": \"Error initializing HLS.\"\n },\n 300: {\n \"code\": 300,\n \"message\": \"Can not play due to unknown reasons.\",\n \"reason\": \"Can not play due to unknown reasons.\"\n },\n 301: {\n \"code\": 301,\n \"message\": \"Fetching process aborted by user.\",\n \"reason\": \"Fetching process aborted by user.\"\n },\n 302: {\n \"code\": 302,\n \"message\": \"Some of the media could not be downloaded due to a network error.\",\n \"reason\": \"Error occurred when downloading.\"\n },\n 303: {\n \"code\": 303,\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\n \"reason\": \"Error occurred when decoding.\"\n },\n 304: {\n \"code\": 304,\n \"message\": \"Media playback has been canceled. It looks like your media is corrupted or your browser does not support the features your media uses.\",\n \"reason\": \"Media playback not supported.\"\n },\n 305: {\n \"code\": 305,\n \"message\": \"Can not load captions due to unknown reasons.\",\n \"reason\": \"Can not load captions due to unknown reasons.\"\n },\n 306: {\n \"code\": 306,\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\n \"reason\": \"The server cannot or will not process the request.\"\n },\n 307: {\n \"code\": 307,\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\n \"reason\": \"The server refused the request.\"\n },\n 308: {\n \"code\": 308,\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\n \"reason\": \"The server do not accept the request.\"\n },\n 501: {\n \"code\": 501,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"WebSocket connection failed.\"\n },\n 502: {\n \"code\": 502,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"WebRTC addIceCandidate failed.\"\n },\n 503: {\n \"code\": 503,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"WebRTC setRemoteDescription failed.\"\n },\n 504: {\n \"code\": 504,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"WebRTC peer createOffer failed.\"\n },\n 505: {\n \"code\": 505,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"WebRTC setLocalDescription failed.\"\n },\n 506: {\n \"code\": 506,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"WebRTC internal error.\"\n },\n 510: {\n \"code\": 510,\n \"message\": \"Network connection is unstable. Check the network connection.\",\n \"reason\": \"Network is slow.\"\n },\n 511: {\n \"code\": 511,\n \"message\": \"Connection with low-latency(OME) terminated unexpectedly.\",\n \"reason\": \"Unexpected end of connection.\"\n },\n 512: {\n \"code\": 512,\n \"message\": \"Connection with low-latency(OME) server failed.\",\n \"reason\": \"Connection timeout.\"\n }\n }\n }\n },\n {\n \"lang\" : \"ko\",\n \"ui\" : {\n \"context\" : \"오븐플레이어에 관하여\",\n \"controls\" : {\n \"live\" : \"라이브\",\n \"low_latency_live\" : \"초저지연 라이브\",\n \"low_latency_p2p\" : \"초저지연 P2P\",\n },\n \"playlist\" : \"플레이리스트\",\n \"setting\" : {\n \"title\" : \"설정\",\n \"speed\" : \"재생 속도\",\n \"speedUnit\" : \"x\",\n \"source\" : \"소스\",\n \"quality\" : \"품질\",\n \"audioTrack\" : \"오디오\",\n \"caption\" : \"자막\",\n \"display\" : \"표시\"\n }\n },\n \"api\" : {\n \"message\" : {\n \"muted_play\" : \"눌러서 소리 켜기\"\n },\n \"error\": {\n 100: {\n \"code\": 100,\n \"message\": \"알 수 없는 이유로 로드 할 수 없습니다.\",\n \"reason\": \"알 수 없는 이유로 로드 할 수 없습니다.\"\n },\n 101: {\n \"code\": 101,\n \"message\": \"지원되는 미디어를 찾지 못해 로드 할 수 없습니다.\",\n \"reason\": \"Can not load due to playable media not found.\"\n },\n 102: {\n \"code\": 102,\n \"message\": \"플레시 로드가 중단 되었습니다.
Get Adobe Flash player\",\n \"reason\": \"It looks like not found swf or your environment is localhost.\"\n },\n 103: {\n \"code\": 103,\n \"message\": \"DashJS로 인해 로드 할 수 없습니다. 최신 dash.js를 사용해 주세요.\",\n \"reason\": \"dash.js version is old.\"\n },\n 104: {\n \"code\": 104,\n \"message\": \"Google IMA 라이브러리가 없어 로드 할 수 없습니다.\",\n \"reason\": \"Please check the google ima library.\"\n },\n 105: {\n \"code\": 105,\n \"message\": \"DASH 초기화 중 오류가 발생했습니다.\",\n \"reason\": \"Error initializing DASH.\"\n },\n 106: {\n \"code\": 106,\n \"message\": \"HLS 초기화 중 오류가 발생했습니다.\",\n \"reason\": \"Error initializing HLS.\"\n },\n 300: {\n \"code\": 300,\n \"message\": \"알 수 없는 이유로 재생할 수 없습니다.\",\n \"reason\": \"Can not play due to unknown reasons.\"\n },\n 301: {\n \"code\": 301,\n \"message\": \"사용자에 의한 프로세스 중단.\",\n \"reason\": \"Fetching process aborted by user.\"\n },\n 302: {\n \"code\": 302,\n \"message\": \"네트워크 오류로 인해 일부 미디어를 다운로드 할 수 없습니다.\",\n \"reason\": \"Error occurred when downloading.\"\n },\n 303: {\n \"code\": 303,\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\n \"reason\": \"Error occurred when decoding.\"\n },\n 304: {\n \"code\": 304,\n \"message\": \"미디어 재생이 취소되었습니다. 미디어가 손상되었거나 브라우저가 미디어에서 사용하는 기능을 지원하지 않는 것 같습니다.\",\n \"reason\": \"Media playback not supported.\"\n },\n 305: {\n \"code\": 305,\n \"message\": \"알 수 없는 이유로 자막을 로드 할 수 없습니다.\",\n \"reason\": \"Can not load captions due to unknown reasons.\"\n },\n 306: {\n \"code\": 306,\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\n \"reason\": \"The server cannot or will not process the request.\"\n },\n 307: {\n \"code\": 307,\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\n \"reason\": \"The server refused the request.\"\n },\n 308: {\n \"code\": 308,\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\n \"reason\": \"The server do not accept the request.\"\n },\n 501: {\n \"code\": 501,\n \"message\": \"웹소켓 연결 실패\",\n \"reason\": \"WebSocket connection failed.\"\n },\n 502: {\n \"code\": 502,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"WebRTC addIceCandidate failed.\"\n },\n 503: {\n \"code\": 503,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"WebRTC setRemoteDescription failed.\"\n },\n 504: {\n \"code\": 504,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"WebRTC peer createOffer failed.\"\n },\n 505: {\n \"code\": 505,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"WebRTC setLocalDescription failed.\"\n },\n 506: {\n \"code\": 506,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"WebRTC internal error.\"\n },\n 510: {\n \"code\": 510,\n \"message\": \"네트워크 연결이 불안정합니다. 네트워크 연결을 확인하십시오.\",\n \"reason\": \"Network is slow.\"\n },\n 511: {\n \"code\": 511,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"Unexpected end of connection.\"\n },\n 512: {\n \"code\": 512,\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\n \"reason\": \"Connection timeout.\"\n }\n }\n }\n },\n {\n \"lang\" : \"pl\",\n \"ui\" : {\n \"context\" : \"O OvenPlayer\",\n \"controls\" : {\n \"live\" : \"Transmisja na żywo\",\n \"low_latency_live\" : \"Transmisja z niskim opóźnieniem\",\n \"low_latency_p2p\" : \"Transmisja z niskim opóźnieniem P2P\",\n },\n \"playlist\" : \"Playlista\",\n \"setting\" : {\n \"title\" : \"Ustawienia\",\n \"speed\" : \"Prędkość\",\n \"speedUnit\" : \"x\",\n \"source\" : \"Źrodło\",\n \"quality\" : \"Jakość\",\n \"audioTrack\" : \"Audio\",\n \"caption\" : \"Podtytuł\",\n \"display\" : \"Wyświetlacz\"\n }\n },\n \"api\" : {\n \"message\" : {\n \"muted_play\" : \"Naciśnij tutaj, aby aktywować dźwięk\"\n },\n \"error\": {\n 100: {\n \"code\": 100,\n \"message\": \"Nie można załadować z nieznanego powodu.\",\n \"reason\": \"Can not load due to unknown reasons.\"\n },\n 101: {\n \"code\": 101,\n \"message\": \"Nie można załadować, ponieważ nie znaleziono multimediów, który można odtworzyć.\",\n \"reason\": \"Can not load due to playable media not found.\"\n },\n 102: {\n \"code\": 102,\n \"message\": \"Flash fetching process aborted.
Get Adobe Flash player\",\n \"reason\": \"It looks like not found swf or your environment is localhost.\"\n },\n 103: {\n \"code\": 103,\n \"message\": \"Nie można załadować, ponieważ wersja dash.js jest za stara.\",\n \"reason\": \"dash.js version is old.\"\n },\n 104: {\n \"code\": 104,\n \"message\": \"Can not load due to google ima for Ads. \",\n \"reason\": \"Please check the google ima library.\"\n },\n 105: {\n \"code\": 105,\n \"message\": \"Nie można załadować, nie znaleziono DASH.\",\n \"reason\": \"Error initializing DASH.\"\n },\n 106: {\n \"code\": 106,\n \"message\": \"Nie można załadować, nie znaleziono hlsjs.\",\n \"reason\": \"Error initializing HLS\"\n },\n 300: {\n \"code\": 300,\n \"message\": \"Nie można odtworzyć z nieznanego powodu.\",\n \"reason\": \"Can not play due to unknown reasons.\"\n },\n 301: {\n \"code\": 301,\n \"message\": \"Proces pobierania przerwany przez użytkownika.\",\n \"reason\": \"Fetching process aborted by user.\"\n },\n 302: {\n \"code\": 302,\n \"message\": \"Nie udało się pobrać niektórych multimediów z powodu błędu sieci.\",\n \"reason\": \"Error occurred when downloading.\"\n },\n 303: {\n \"code\": 303,\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\n \"reason\": \"Error occurred when decoding.\"\n },\n 304: {\n \"code\": 304,\n \"message\": \"Odtwarzanie zostało anulowane. Wygląda na to, że plik jest uszkodzony lub Twoja przeglądarka nie obsługuje tego pliku.\",\n \"reason\": \"Media playback not supported.\"\n },\n 305: {\n \"code\": 305,\n \"message\": \"Nie można wczytać napisów z nieznanego powodu.\",\n \"reason\": \"Can not load captions due to unknown reasons.\"\n },\n 306: {\n \"code\": 306,\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\n \"reason\": \"The server cannot or will not process the request.\"\n },\n 307: {\n \"code\": 307,\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\n \"reason\": \"The server refused the request.\"\n },\n 308: {\n \"code\": 308,\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\n \"reason\": \"The server do not accept the request.\"\n },\n 501: {\n \"code\": 501,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"WebSocket connection failed.\"\n },\n 502: {\n \"code\": 502,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"WebRTC addIceCandidate failed.\"\n },\n 503: {\n \"code\": 503,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"WebRTC setRemoteDescription failed.\"\n },\n 504: {\n \"code\": 504,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"WebRTC peer createOffer failed.\"\n },\n 505: {\n \"code\": 505,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"WebRTC setLocalDescription failed.\"\n },\n 506: {\n \"code\": 506,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"WebRTC internal error.\"\n },\n 510: {\n \"code\": 510,\n \"message\": \"Połączenie sieciowe jest niestabilne. Sprawdź swoją sieć.\",\n \"reason\": \"Network is slow.\"\n },\n 511: {\n \"code\": 511,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nieoczekiwanie zakończone.\",\n \"reason\": \"Unexpected end of connection.\"\n },\n 512: {\n \"code\": 512,\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\n \"reason\": \"Connection timeout.\"\n }\n }\n }\n }\n];\n","/**\n * Created by hoho on 2018. 5. 17..\n */\nimport CaptionLoader from 'api/caption/Loader';\nimport {READY, ERRORS, ERROR, PLAYER_CAPTION_ERROR, CONTENT_META, CONTENT_TIME, CONTENT_CAPTION_CUE_CHANGED, CONTENT_CAPTION_CHANGED} from \"api/constants\";\nimport _ from \"utils/underscore\";\n\nconst isSupport = function(kind){\n return kind === 'subtitles' || kind === 'captions';\n};\n\nconst Manager = function(api, playlistIndex){\n\n const that = {};\n let captionList = [];\n let currentCaptionIndex = -1;\n\n let captionLoader = CaptionLoader();\n let isFisrtLoad = true;\n let isShowing = false;\n\n OvenPlayerConsole.log(\"Caption Manager >> \", playlistIndex);\n\n\n let bindTrack = function(track, vttCues){\n track.data = vttCues || [];\n track.name = track.label || track.name || track.language;\n track.id = (function(track, tracksCount) {\n var trackId;\n var prefix = track.kind || 'cc';\n if (track.default || track.defaulttrack) {\n trackId = 'default';\n\n } else {\n trackId = track.id || (prefix + tracksCount);\n }\n if(isFisrtLoad){\n //This execute only on. and then use flushCaptionList(lastCaptionIndex);\n changeCurrentCaption(captionList.length||0);\n isFisrtLoad = false;\n\n }\n return trackId;\n })(track, captionList.length);\n\n captionList.push(track);\n return track.id;\n };\n let changeCurrentCaption = function(index){\n currentCaptionIndex = index;\n api.trigger(CONTENT_CAPTION_CHANGED, currentCaptionIndex);\n };\n if(api.getConfig().playlist && api.getConfig().playlist.length > 0){\n let playlist = api.getConfig().playlist[playlistIndex];\n\n if(playlist && playlist.tracks && playlist.tracks.length > 0){\n for(let i = 0; i < playlist.tracks.length; i ++){\n const track = playlist.tracks[i];\n\n if(isSupport(track.kind) && ! _.findWhere(track, {file : track.file})){\n //that.flushCaptionList(currentCaptionIndex);\n\n captionLoader.load(track, track.lang, function(vttCues){\n if(vttCues && vttCues.length > 0){\n let captionId = bindTrack(track, vttCues);\n }\n }, function(error){\n let tempError = ERRORS.codes[PLAYER_CAPTION_ERROR];\n tempError.error = error;\n api.trigger(ERROR, tempError);\n });\n }\n }\n\n }\n }\n\n api.on(CONTENT_TIME, function(meta){\n let position = meta.position;\n if(currentCaptionIndex > -1 && captionList[currentCaptionIndex]){\n let currentCues = _.filter(captionList[currentCaptionIndex].data, function (cue) {\n return position >= (cue.startTime) && ( (!cue.endTime || position) <= cue.endTime);\n });\n if(currentCues && currentCues.length > 0){\n api.trigger(CONTENT_CAPTION_CUE_CHANGED, currentCues[0]);\n }\n }\n\n });\n that.flushCaptionList = (lastCaptionIndex) =>{\n captionList = [];\n changeCurrentCaption(lastCaptionIndex);\n //currentCaptionIndex = lastCaptionIndex;\n };\n that.getCaptionList = () =>{\n return captionList||[];\n };\n that.getCurrentCaption = () =>{\n return currentCaptionIndex;\n };\n that.setCurrentCaption = (_index) =>{\n if(_index > -2 && _index < captionList.length){\n changeCurrentCaption(_index);\n }else{\n return null;\n }\n };\n that.addCaption = (track) =>{\n if(isSupport(track.kind) && ! _.findWhere(captionLoader, {file : track.file})){\n captionLoader.load(track, function(vttCues){\n if(vttCues && vttCues.length > 0){\n bindTrack(track, vttCues);\n }\n }, function(error){\n let tempError = errors[PLAYER_CAPTION_ERROR];\n tempError.error = error;\n api.trigger(ERROR, tempError);\n });\n }\n };\n that.removeCaption = (index) => {\n if(index > -1 && index < captionList.length){\n captionList.splice(index, 1);\n return captionList;\n }else{\n return null;\n }\n };\n that.destroy = () => {\n captionList = [];\n captionLoader = null;\n api.off(CONTENT_TIME, null, that);\n };\n\n return that;\n};\n\n\n\n\nexport default Manager;\n","/**\n * Created by hoho on 2018. 7. 3..\n */\n\n/**\n * @brief This module provide custom events.\n * @param object An object that requires custom events.\n *\n * */\n\nconst EventEmitter = function(object){\n let that = object;\n let _events =[];\n\n const triggerEvents = function(events, args, context){\n let i = 0;\n let length = events.length;\n for(i = 0; i < length; i ++){\n let event = events[i];\n event.listener.apply( ( event.context || context ), args);\n }\n };\n\n that.on = function(name, listener, context){\n (_events[name] || (_events[name]=[]) ).push({ listener: listener , context : context});\n return that;\n };\n that.trigger = function(name){\n if(!_events){\n return false;\n }\n const args = [].slice.call(arguments, 1);\n const events = _events[name];\n const allEvents = _events.all;\n\n if(events){\n triggerEvents(events, args, that);\n }\n if(allEvents){\n triggerEvents(allEvents, arguments, that);\n }\n };\n that.off = function(name, listener, context){\n if(!_events){\n return false;\n }\n\n if (!name && !listener && !context) {\n _events = [];\n return that;\n }\n\n const names = name ? [name] : Object.keys(_events);\n\n for (let i = 0, l = names.length; i < l; i++) {\n name = names[i];\n const events = _events[name];\n if (events) {\n const retain = _events[name] = [];\n if (listener || context) {\n for (let j = 0, k = events.length; j < k; j++) {\n const event = events[j];\n if ((listener && listener !== event.listener && listener !== event.listener.listener && listener !== event.listener._listener)\n ||(context && context !== event.context)\n ) {\n retain.push(event);\n }\n }\n }\n if (!retain.length) {\n delete _events[name];\n }\n }\n }\n return that;\n };\n that.once = function(name, listener, context){\n let count = 0;\n const onceCallback = function() {\n if (count++) {\n return;\n }\n that.off(name, onceCallback);\n listener.apply(that, arguments);\n };\n onceCallback._listener = listener;\n return that.on(name, onceCallback, context);\n };\n\n return that;\n}\n\nexport default EventEmitter;\n","/**\n * Created by hoho on 2018. 7. 23..\n */\nimport _ from \"utils/underscore\";\nimport dom from 'utils/polyfills/dom.js';\n\n/**\n * @brief It was replace jquery's selector. It Often used by OvenTemplate. (/view/engine/OvenTemplate.js)\n * @param selectorOrElement string or element\n *\n * */\n\n\nconst La$ = function(selectorOrElement){\n const that = {};\n\n let $element = null;\n\n const returnNode = function($element , selector){\n let nodeList = $element.querySelectorAll(selector);\n if(nodeList.length > 1){\n return nodeList;\n }else{\n return nodeList[0];\n }\n\n };\n\n if( _.isElement(selectorOrElement) || _.every(selectorOrElement, function(item){return _.isElement(item)})){\n $element = selectorOrElement;\n }else if(selectorOrElement === \"document\"){\n $element = document;\n }else if(selectorOrElement === \"window\"){\n $element = window;\n }else{\n $element = returnNode(document, selectorOrElement);\n }\n\n\n if(!$element){\n return null;\n }\n\n /*EFFECTS*/\n\n that.show = () =>{\n $element.style.display = 'block';\n };\n\n that.hide = () =>{\n $element.style.display = 'none';\n };\n\n /*ELEMENTS*/\n\n that.addClass = (name) =>{\n if($element.classList){\n $element.classList.add(name);\n }else{\n let classNames = $element.className.split(\" \");\n if(classNames.indexOf(name) === -1){\n $element.className += \" \" + name;\n }\n }\n };\n\n that.after = (htmlString) => {\n $element.insertAdjacentHTML('afterend', htmlString);\n };\n\n that.append = (htmlString) => {\n $element.appendChild(htmlString);\n };\n\n that.before = (htmlString) => {\n $element.insertAdjacentHTML('beforebegin', htmlString);\n };\n\n that.children = () => {\n return $element.children || [];\n };\n\n //The contains() method returns a Boolean value indicating whether a node is a descendant of a specified node.\n //A descendant can be a child, grandchild, great-grandchild, and so on.\n that.contains = (elChild) => {\n return $element !== elChild && $element.contains(elChild);\n };\n\n that.empty = () => {\n $element.innerHTML = \"\";\n };\n\n\n that.find = (selector) =>{\n return La$(returnNode($element, selector));\n };\n\n that.css = (name, value) => {\n if(value){\n if($element.length > 0){\n $element.forEach(function(element){\n element.style[name] = value;\n })\n }else{\n $element.style[name] = value;\n }\n }else{\n return $element.style[name];\n }\n\n };\n\n\n\n that.removeClass = (name) =>{\n if ($element.classList){\n $element.classList.remove(name);\n }else{\n $element.className = $element.className.replace(new RegExp('(^|\\\\b)' + name.split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\n\n }\n };\n\n that.removeAttribute = (attrName) => {\n $element.removeAttribute(attrName);\n };\n\n\n\n /*that.append = (htmlCode) =>{\n $element.innerHTML += htmlCode;\n };*/\n\n that.text = (text) => { //IE8+\n if(text === undefined){\n return $element.textContent;\n }else{\n $element.textContent = text;\n }\n };\n that.html = (htmlString) => {\n $element.innerHTML = htmlString;\n };\n that.hasClass = (name) => { //IE8+\n if($element.classList){\n return $element.classList.contains(name);\n }else{\n return new RegExp('(^| )' + name + '( |$)', 'gi').test($element.name);\n }\n };\n\n that.is = ($targetElement) => {\n /*var matches = function(el, selector) {\n return (el.matches || el.matchesSelector || el.msMatchesSelector || el.mozMatchesSelector || el.webkitMatchesSelector || el.oMatchesSelector).call(el, selector);\n };\n\n matches(el, '.my-class');*/\n return $element === $targetElement;\n };\n\n that.offset = () =>{ //IE8+\n const rect = $element.getBoundingClientRect();\n\n return {\n top: rect.top + document.body.scrollTop,\n left: rect.left + document.body.scrollLeft\n }\n };\n\n that.width = () => { //IE8+\n return $element.clientWidth;\n };\n\n that.height = () => { //IE8+\n return $element.clientHeight;\n };\n\n that.attr = (attr) => {\n return $element.getAttribute(attr);\n };\n\n that.replace = (html) => {\n $element.replaceWith(html);\n };\n\n\n that.remove = () => {\n if($element.length > 1){\n $element.parentElement.removeChild($element);\n }else{\n $element.remove();\n }\n\n };\n\n that.removeChild = (element) => {\n if(element){\n $element.removeChild(element);\n }else{\n while ($element.hasChildNodes()) {\n $element.removeChild($element.firstChild);\n }\n }\n\n };\n\n that.get = () => {\n return $element;\n };\n\n that.closest = (selectorString) => {\n\n $element.closest = function (s) {\n\n let el = $element;\n\n do {\n\n if (el.matches(s)) {\n return el;\n }\n\n el = el.parentElement || el.parentNode;\n\n } while (el !== null && el.nodeType === 1);\n\n return null;\n };\n\n let closestElement = $element.closest(selectorString);\n\n if(closestElement){\n return La$(closestElement);\n }else{\n return null;\n }\n };\n\n return that;\n};\n\nexport default La$;\n","import {extractExtension} from \"utils/strings\";\n\nexport const isRtmp = function (file, type) {\n if (file) {\n return (file.indexOf('rtmp:') == 0 || type == 'rtmp');\n }\n};\nexport const isWebRTC = function (file, type) {\n if (file) {\n return (file.indexOf('ws:') === 0 || file.indexOf('wss:') === 0 || type === 'webrtc');\n }\n return false;\n};\nexport const isHls = function (file, type) {\n if (file) {\n return (type === 'hls' || type === 'm3u8' || type === 'application/vnd.apple.mpegurl' || extractExtension(file) == 'm3u8');\n\n }\n};\nexport const isDash = function (file, type) {\n if (file) {\n return (type === 'mpd' || type === 'dash' || type === 'application/dash+xml' || extractExtension(file) == 'mpd');\n\n }\n};\n\nexport const checkAndGetContainerElement = function (container) {\n if (!container) {\n\n return null;\n }\n\n let containerElement = null;\n\n if (typeof container === 'string') {\n\n containerElement = document.getElementById(container);\n } else if (container.nodeType) {\n\n containerElement = container;\n } else {\n\n return null;\n }\n\n return containerElement;\n};","import {isRtmp, isWebRTC, isDash, isHls} from \"utils/validator\";\nimport {analUserAgent} from \"utils/browser\";\n/**\n * @brief This finds the provider that matches the input source.\n * @param\n * */\n\nconst SupportChecker = function(){\n const that = {};\n OvenPlayerConsole.log(\"SupportChecker loaded.\");\n let userAgentObject = analUserAgent();\n\n const supportList = [\n {\n name: 'html5',\n checkSupport: function (source) {\n const MimeTypes = {\n aac: 'audio/mp4',\n mp4: 'video/mp4',\n f4v: 'video/mp4',\n m4v: 'video/mp4',\n mov: 'video/mp4',\n mp3: 'audio/mpeg',\n mpeg: 'audio/mpeg',\n ogv: 'video/ogg',\n ogg: 'video/ogg',\n oga: 'video/ogg',\n vorbis: 'video/ogg',\n webm: 'video/webm',\n f4a: 'video/aac',\n m3u8: 'application/vnd.apple.mpegurl',\n m3u: 'application/vnd.apple.mpegurl',\n hls: 'application/vnd.apple.mpegurl'\n };\n\n const video = function(){\n return document.createElement('video')\n }();\n if (!video.canPlayType) {\n return false;\n }\n\n\n const file = source.file;\n const type = source.type;\n\n if(!type){return false;}\n const mimeType = source.mimeType || MimeTypes[type];\n\n // Latest Edge browser returns \"Chrome\" from userAgentObject.browser\n // Make sure to use hls.js Android devices\n if(isHls(file, type) && (userAgentObject.browser === \"Microsoft Edge\" || userAgentObject.os === \"Android\")) {\n\n return false;\n }\n\n if (isRtmp(file, type)) {\n return false;\n }\n\n if(isWebRTC(file, type)){\n return false;\n }\n\n if (!mimeType) {\n return false;\n }\n\n return !!video.canPlayType(mimeType);\n }\n },\n {\n name: 'webrtc',\n checkSupport: function (source) {\n const video = function(){\n return document.createElement('video')\n }();\n if (!video.canPlayType) {\n return false;\n }\n if (isRtmp(file, type)) {\n return false;\n }\n\n const file = source.file;\n const type = source.type;\n\n if(isWebRTC(file, type)){\n return true;\n }else{\n return false;\n }\n }\n },\n {\n name: 'dash',\n checkSupport: function (source) {\n const file = source.file;\n\n const type = source.type;\n if (isRtmp(file, type)) {\n return false;\n }\n\n if (typeof ( window.MediaSource || window.WebKitMediaSource ) === \"function\" && isDash(file, type)) {\n return true;\n }else{\n return false;\n }\n }\n },\n {\n name: 'hls',\n checkSupport: function (source) {\n const video = function(){\n return document.createElement('video')\n }();\n const file = source.file;\n const type = source.type;\n if (isRtmp(file, type)) {\n return false;\n }\n\n //this method from hls.js\n const isHlsSupport = () =>{\n function getMediaSource() {\n if (typeof window !== 'undefined') {\n return window.MediaSource || window.WebKitMediaSource;\n }\n }\n var mediaSource = getMediaSource();\n var sourceBuffer = window.SourceBuffer || window.WebKitSourceBuffer;\n var isTypeSupported = mediaSource && typeof mediaSource.isTypeSupported === 'function' && mediaSource.isTypeSupported('video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"');\n\n // if SourceBuffer is exposed ensure its API is valid\n // safari and old version of Chrome doe not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible\n var sourceBufferValidAPI = !sourceBuffer || sourceBuffer.prototype && typeof sourceBuffer.prototype.appendBuffer === 'function' && typeof sourceBuffer.prototype.remove === 'function';\n return !!isTypeSupported && !!sourceBufferValidAPI;\n };\n //Remove this '!!video.canPlayType('application/vnd.apple.mpegurl')' if you want to use hlsjs.\n //Yes I need hlsjs. 2019-06-12 && !!video.canPlayType('application/vnd.apple.mpegurl');\n return isHlsSupport();\n }\n },\n {\n name: 'rtmp',\n checkSupport: function (source) {\n const file = source.file;\n const type = source.type;\n function testFlash() {\n\n var support = false;\n\n //IE only\n if(\"ActiveXObject\" in window) {\n\n try{\n support = !!(new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\"));\n }catch(e){\n support = false;\n }\n\n //W3C, better support in legacy browser\n } else {\n\n support = !!navigator.mimeTypes['application/x-shockwave-flash'];\n\n }\n\n return support;\n\n }\n function checkSupport(){\n if(userAgentObject.browser === \"Microsoft Edge\" || userAgentObject.os === \"Android\" || userAgentObject.os === \"iOS\" || userAgentObject.browser === \"Safari\"){\n return false;\n }else{\n return true;\n }\n }\n if (isRtmp(file, type) && testFlash() && checkSupport()) {\n return true;\n }else{\n return false;\n }\n }\n }\n ];\n\n that.findProviderNameBySource = (soruce_) => {\n OvenPlayerConsole.log(\"SupportChecker : findProviderNameBySource()\", soruce_);\n const source = (soruce_ === Object(soruce_)) ? soruce_ : {};\n for(var i = 0; i < supportList.length; i ++){\n if(supportList[i].checkSupport(source)){\n return supportList[i].name;\n }\n }\n };\n that.findProviderNamesByPlaylist = (playlistItem) => {\n OvenPlayerConsole.log(\"SupportChecker : findProviderNamesByPlaylist()\", playlistItem);\n let supportNames = [];\n /*for (let i = playlist_.length; i--;) {\n\n\n }*/\n const item = playlistItem;\n\n if(item && item.sources){\n for(let j = 0; j < item.sources.length; j ++){\n let source = item.sources[j];\n if (source) {\n const supported = that.findProviderNameBySource(source);\n if (supported) {\n supportNames.push(supported);\n }\n }\n }\n\n return supportNames;\n }\n return null;\n\n };\n return that;\n};\n\nexport default SupportChecker;\n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AAFwAAAAIAAAABAAAAGAAAAAEAAAABAAAAGQAAAAIAAAABAAAAGgAAAAEAAAABAAAAGwAAAAIAAAABAAAAHQAAAAEAAAABAAAAHgAAAAIAAAABAAAAHwAAAAQAAAABAAAA4HN0c3oAAAAAAAAAAAAAADMAAAAaAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAAAJAAAACQAAAAkAAACMc3RjbwAAAAAAAAAfAAAALAAAA1UAAANyAAADhgAAA6IAAAO+AAAD0QAAA+0AAAQAAAAEHAAABC8AAARLAAAEZwAABHoAAASWAAAEqQAABMUAAATYAAAE9AAABRAAAAUjAAAFPwAABVIAAAVuAAAFgQAABZ0AAAWwAAAFzAAABegAAAX7AAAGFwAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTUuMzMuMTAw\";\n","/**\n * Created by hoho on 2018. 11. 12..\n */\nimport {ERROR, STATE_ERROR} from \"api/constants\";\nimport _ from \"utils/underscore\";\n\nexport const extractVideoElement = function(elementOrMse) {\n if(_.isElement(elementOrMse)){\n return elementOrMse;\n }\n if(elementOrMse.getVideoElement){\n return elementOrMse.getVideoElement();\n }else if(elementOrMse.media){\n return elementOrMse.media;\n }\n return null;\n};\n\nexport const separateLive = function(mse) {\n //ToDo : You consider hlsjs. But not now because we don't support hlsjs.\n\n if(mse && mse.isDynamic){\n return mse.isDynamic();\n }else{\n return false;\n }\n};\n\nexport const errorTrigger = function(error, provider){\n if(provider){\n provider.setState(STATE_ERROR);\n provider.pause();\n provider.trigger(ERROR, error );\n }\n\n};\n\nexport const pickCurrentSource = (sources, playerConfig) => {\n\n let sourceIndex = 0;\n\n if (sources) {\n\n if (playerConfig.getSourceIndex() === -1) {\n\n for (var i = 0; i < sources.length; i++) {\n if (sources[i].default) {\n sourceIndex = i;\n break;\n }\n }\n } else {\n\n sourceIndex = playerConfig.getSourceIndex();\n }\n\n }\n\n return sourceIndex;\n}","/**\n * Created by hoho on 08/04/2019.\n */\nimport AdsEventsListener from \"api/ads/ima/Listener\";\nimport {TEMP_VIDEO_URL} from \"api/ads/utils\";\nimport LA$ from \"utils/likeA$.js\";\nimport {errorTrigger} from \"api/provider/utils\";\nimport {\n ERROR,\n CONTENT_VOLUME,\n STATE_LOADING,\n INIT_ADS_ERROR,\n STATE_AD_ERROR,\n PLAYER_WARNING,\n CONTENT_META,\n WARN_MSG_MUTEDPLAY,\n STATE_AD_LOADING,\n PROVIDER_DASH,\n UI_ICONS\n} from \"api/constants\";\n\nconst Ad = function(elVideo, provider, playerConfig, adTagUrl, errorCallback){\n //Todo : move createAdContainer to MediaManager\n const AUTOPLAY_NOT_ALLOWED = \"autoplayNotAllowed\";\n const ADMANGER_LOADING_ERROR = \"admanagerLoadingTimeout\";\n let ADS_MANAGER_LOADED = \"\";\n let AD_ERROR = \"\";\n\n let that = {};\n let adsManagerLoaded = false;\n let adsErrorOccurred = false;\n let spec = {\n started: false, //player started\n active : false, //on Ad\n isVideoEnded : false\n };\n let OnManagerLoaded = null;\n let OnAdError = null;\n\n let adDisplayContainer = null;\n let adsLoader = null;\n let adsManager = null;\n let listener = null;\n let adsRequest = null;\n let autoplayAllowed = false, autoplayRequiresMuted = false;\n let browser = playerConfig.getBrowser();\n let isMobile = browser.os === \"Android\" || browser.os === \"iOS\";\n\n let adDisplayContainerInitialized = false;\n\n // google.ima.settings.setAutoPlayAdBreaks(false);\n //google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED);\n\n //google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED);\n //google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true);\n const sendWarningMessageForMutedPlay = function(){\n provider.trigger(PLAYER_WARNING, {\n message : WARN_MSG_MUTEDPLAY,\n timer : 10 * 1000,\n iconClass : UI_ICONS.volume_mute,\n onClickCallback : function(){\n provider.setMute(false);\n }\n });\n };\n OvenPlayerConsole.log(\"IMA : started \", \"isMobile : \", isMobile, adTagUrl);\n\n try{\n ADS_MANAGER_LOADED = google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED;\n AD_ERROR = google.ima.AdErrorEvent.Type.AD_ERROR;\n google.ima.settings.setLocale(playerConfig.getLanguage());\n google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true);\n\n const createAdContainer = () => {\n let adContainer = document.createElement('div');\n adContainer.setAttribute('class', 'op-ads');\n adContainer.setAttribute('id', 'op-ads');\n playerConfig.getContainer().append(adContainer);\n\n return adContainer;\n };\n OnAdError = function(adErrorEvent){\n //note : adErrorEvent.getError().getInnerError().getErrorCode() === 1205 & adErrorEvent.getError().getVastErrorCode() === 400 is Browser User Interactive error.\n\n //Do not triggering ERROR. becuase It just AD!\n\n console.log(adErrorEvent.getError().getVastErrorCode(), adErrorEvent.getError().getMessage());\n adsErrorOccurred = true;\n let innerError = adErrorEvent.getError().getInnerError();\n if(innerError){\n console.log(innerError.getErrorCode(), innerError.getMessage());\n }\n /*if (adsManager) {\n adsManager.destroy();\n }*/\n provider.trigger(STATE_AD_ERROR, {code : adErrorEvent.getError().getVastErrorCode() , message : adErrorEvent.getError().getMessage()});\n spec.active = false;\n spec.started = true;\n provider.play();\n\n /*if(innerError && innerError.getErrorCode() === 1205){\n }else{\n\n }*/\n\n\n };\n OnManagerLoaded = function(adsManagerLoadedEvent){\n\n OvenPlayerConsole.log(\"IMA : OnManagerLoaded \");\n let adsRenderingSettings = new google.ima.AdsRenderingSettings();\n adsRenderingSettings.restoreCustomPlaybackStateOnAdBreakComplete = true;\n //adsRenderingSettings.useStyledNonLinearAds = true;\n if(adsManager){\n OvenPlayerConsole.log(\"IMA : destroy adsManager----\");\n listener.destroy();\n listener = null;\n adsManager.destroy();\n adsManager = null;\n }\n adsManager = adsManagerLoadedEvent.getAdsManager(elVideo, adsRenderingSettings);\n\n listener = AdsEventsListener(adsManager, provider, spec, OnAdError);\n\n OvenPlayerConsole.log(\"IMA : created admanager and listner \");\n\n adsManagerLoaded = true;\n };\n let adConatinerElment = createAdContainer();\n adDisplayContainer = new google.ima.AdDisplayContainer(adConatinerElment, elVideo);\n adsLoader = new google.ima.AdsLoader(adDisplayContainer);\n\n adsLoader.addEventListener(ADS_MANAGER_LOADED, OnManagerLoaded, false);\n adsLoader.addEventListener(AD_ERROR, OnAdError, false);\n\n OvenPlayerConsole.log(\"IMA : adDisplayContainer initialized\");\n provider.on(CONTENT_VOLUME, function(data) {\n if(adsManager){\n if(data.mute){\n adsManager.setVolume(0);\n }else{\n adsManager.setVolume(data.volume/100);\n }\n }\n }, that);\n\n const setAutoPlayToAdsRequest = function (){\n if(adsRequest){\n OvenPlayerConsole.log(\"IMA : setADWillAutoPlay \", \"autoplayAllowed\",autoplayAllowed, \"autoplayRequiresMuted\",autoplayRequiresMuted);\n\n adsRequest.setAdWillAutoPlay(autoplayAllowed);\n adsRequest.setAdWillPlayMuted(autoplayRequiresMuted);\n if(autoplayRequiresMuted){\n sendWarningMessageForMutedPlay();\n }\n }\n };\n\n const initRequest = function(){\n adsManagerLoaded = false;\n OvenPlayerConsole.log(\"IMA : initRequest() AutoPlay Support : \", \"autoplayAllowed\",autoplayAllowed, \"autoplayRequiresMuted\",autoplayRequiresMuted);\n /*if(adsRequest){\n return false;\n }*/\n adsRequest = new google.ima.AdsRequest();\n\n adsRequest.forceNonLinearFullSlot = false;\n /*if(playerConfig.getBrowser().browser === \"Safari\" && playerConfig.getBrowser().os === \"iOS\" ){\n autoplayAllowed = false;\n autoplayRequiresMuted = false;\n }*/\n\n setAutoPlayToAdsRequest();\n adsRequest.adTagUrl = adTagUrl;\n\n adsLoader.requestAds(adsRequest);\n OvenPlayerConsole.log(\"IMA : requestAds Complete\");\n //two way what ad starts.\n //adsLoader.requestAds(adsRequest); or adsManager.start();\n //what? why?? wth??\n };\n\n\n const checkAutoplaySupport = function () {\n OvenPlayerConsole.log(\"IMA : checkAutoplaySupport() \");\n\n let temporarySupportCheckVideo = document.createElement('video');\n temporarySupportCheckVideo.setAttribute('playsinline', 'true');\n temporarySupportCheckVideo.src = TEMP_VIDEO_URL;\n temporarySupportCheckVideo.load();\n\n //Dash has already loaded when triggered provider.play() always.\n if(isMobile && provider.getName() !== PROVIDER_DASH ){\n //Main video sets user gesture when temporarySupportCheckVideo triggered checking.\n elVideo.load();\n }\n /* Different browser-specific ways to delivery UI to other elements. My Guess. 2019-06-19\n * (temporarySupportCheckVideo's User Interaction delivery to elVideo.)\n * Mobile Chrome WebView :\n * You have to run elVideo.load() when temporarySupportCheckVideo issues within 5 seconds of user interaction.\n *\n * Mobile ios safari :\n * You have to run elVideo.load() before temporarySupportCheckVideo run play().\n * */\n\n const clearAndReport = function(_autoplayAllowed, _autoplayRequiresMuted){\n autoplayAllowed = _autoplayAllowed;\n autoplayRequiresMuted = _autoplayRequiresMuted;\n temporarySupportCheckVideo.pause();\n temporarySupportCheckVideo.remove();\n\n setAutoPlayToAdsRequest();\n };\n\n return new Promise(function(resolve, reject){\n if(!temporarySupportCheckVideo.play){\n //I can't remember this case...\n OvenPlayerConsole.log(\"IMA : !temporarySupportCheckVideo.play\");\n clearAndReport(true, false);\n resolve();\n }else{\n let playPromise = temporarySupportCheckVideo.play();\n if (playPromise !== undefined) {\n playPromise.then(function(){\n OvenPlayerConsole.log(\"IMA : auto play allowed.\");\n // If we make it here, unmuted autoplay works.\n clearAndReport(true, false);\n resolve();\n\n }).catch(function(error){\n\n OvenPlayerConsole.log(\"IMA : auto play failed\", error.message);\n clearAndReport(false, false);\n resolve();\n\n\n //Disable Muted Play\n /*temporarySupportCheckVideo.muted = true;\n temporarySupportCheckVideo.volume = 0;\n playPromise = temporarySupportCheckVideo.play();\n\n playPromise.then(function () {\n // If we make it here, muted autoplay works but unmuted autoplay does not.\n\n OvenPlayerConsole.log(\"ADS : muted auto play success.\");\n provider.setMute(true);\n clearAndReport(true, true);\n resolve();\n\n }).catch(function (error) {\n OvenPlayerConsole.log(\"ADS : muted auto play failed\", error.message);\n clearAndReport(false, false);\n resolve();\n });*/\n });\n }else{\n OvenPlayerConsole.log(\"IMA : promise not support\");\n //Maybe this is IE11....\n clearAndReport(true, false);\n resolve();\n }\n }\n });\n }\n\n that.isActive = () => {\n return spec.active;\n };\n that.started = () => {\n return spec.started;\n };\n that.play = () => {\n if(spec.started){\n return new Promise(function (resolve, reject) {\n try{\n adsManager.resume();\n resolve();\n } catch (error){\n reject(error);\n }\n });\n }else{\n adDisplayContainer.initialize();\n\n return new Promise(function (resolve, reject) {\n let retryCount = 0;\n const checkAdsManagerIsReady = function(){\n retryCount ++;\n if(adsManagerLoaded){\n OvenPlayerConsole.log(\"IMA : ad start!\");\n adsManager.init(\"100%\", \"100%\", google.ima.ViewMode.NORMAL);\n adsManager.start();\n spec.started = true;\n\n resolve();\n }else{\n if(adsErrorOccurred){\n reject(new Error(ADMANGER_LOADING_ERROR));\n }else{\n if(retryCount < 150){\n setTimeout(checkAdsManagerIsReady, 100);\n }else{\n reject(new Error(ADMANGER_LOADING_ERROR));\n }\n }\n\n }\n\n };\n checkAutoplaySupport().then(function () {\n if( (playerConfig.isAutoStart() && !autoplayAllowed) ){\n OvenPlayerConsole.log(\"IMA : autoplayAllowed : false\");\n spec.started = false;\n reject(new Error(AUTOPLAY_NOT_ALLOWED));\n }else{\n initRequest();\n checkAdsManagerIsReady();\n }\n });\n });\n\n\n }\n };\n that.pause = () => {\n adsManager.pause();\n };\n that.videoEndedCallback = (completeContentCallback) => {\n //listener.isLinearAd : get current ad's status whether linear ad or not.\n if(listener && (listener.isAllAdComplete() || !listener.isLinearAd())){\n completeContentCallback();\n }else if(adsErrorOccurred){\n completeContentCallback();\n }else{\n //If you need play the post-roll, you have to call to adsLoader when contents was completed.\n spec.isVideoEnded = true;\n adsLoader.contentComplete();\n }\n };\n\n that.destroy = () => {\n\n if(adsLoader){\n adsLoader.removeEventListener(ADS_MANAGER_LOADED, OnManagerLoaded);\n adsLoader.removeEventListener(AD_ERROR, OnAdError);\n }\n\n if(adsManager){\n adsManager.destroy();\n }\n\n if(adDisplayContainer){\n adDisplayContainer.destroy();\n }\n\n if(listener){\n listener.destroy();\n }\n\n let $ads = LA$(playerConfig.getContainer()).find(\".op-ads\");\n if($ads){\n $ads.remove();\n }\n\n provider.off(CONTENT_VOLUME, null, that);\n };\n\n return that;\n }catch (error){\n //let tempError = ERRORS[INIT_ADS_ERROR];\n //tempError.error = error;\n //errorCallback(tempError);\n return null;\n }\n\n\n};\n\n\nexport default Ad;\n\n","/**\n * Created by hoho on 10/04/2019.\n */\n\nimport {\n ERROR,\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_AD_LOADED,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n STATE_AD_COMPLETE,\n AD_CHANGED,\n AD_TIME,\n STATE_PAUSED,\n STATE_ERROR,\n CONTENT_COMPLETE,\n CONTENT_SEEK,\n CONTENT_BUFFER_FULL,\n CONTENT_SEEKED,\n CONTENT_BUFFER,\n CONTENT_TIME,\n CONTENT_VOLUME,\n CONTENT_META,\n PLAYER_UNKNWON_ERROR,\n PLAYER_UNKNWON_OPERATION_ERROR,\n PLAYER_UNKNWON_NETWORK_ERROR,\n PLAYER_UNKNWON_DECODE_ERROR,\n PLAYER_FILE_ERROR,\n PLAYER_STATE,\n PLAYER_CLICKED,\n PLAYER_AD_CLICK,\n PROVIDER_HTML5,\n PROVIDER_WEBRTC,\n PROVIDER_DASH,\n PROVIDER_HLS\n} from \"api/constants\";\n\nconst Listener = function(adsManager, provider, adsSpec, OnAdError){\n let that = {};\n let lowLevelEvents = {};\n\n let intervalTimer = null;\n\n const AD_BUFFERING = google.ima.AdEvent.Type.AD_BUFFERING;\n const CONTENT_PAUSE_REQUESTED = google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED;\n const CONTENT_RESUME_REQUESTED = google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED;\n const AD_ERROR = google.ima.AdErrorEvent.Type.AD_ERROR;\n const ALL_ADS_COMPLETED = google.ima.AdEvent.Type.ALL_ADS_COMPLETED;\n const CLICK = google.ima.AdEvent.Type.CLICK;\n const SKIPPED = google.ima.AdEvent.Type.SKIPPED;\n const COMPLETE = google.ima.AdEvent.Type.COMPLETE;\n const FIRST_QUARTILE= google.ima.AdEvent.Type.FIRST_QUARTILE;\n const LOADED = google.ima.AdEvent.Type.LOADED;\n const MIDPOINT= google.ima.AdEvent.Type.MIDPOINT;\n const PAUSED = google.ima.AdEvent.Type.PAUSED;\n const RESUMED = google.ima.AdEvent.Type.RESUMED;\n const STARTED = google.ima.AdEvent.Type.STARTED;\n const USER_CLOSE = google.ima.AdEvent.Type.USER_CLOSE;\n const THIRD_QUARTILE = google.ima.AdEvent.Type.THIRD_QUARTILE;\n\n let isAllAdCompelete = false; //Post roll을 위해\n let adCompleteCallback = null;\n let currentAd = null;\n OvenPlayerConsole.log(\"IMA : Listener Created\");\n lowLevelEvents[CONTENT_PAUSE_REQUESTED] = (adEvent) => {\n OvenPlayerConsole.log(\"IMA LISTENER : \", adEvent.type);\n\n //This callls when player is playing contents for ad.\n if(adsSpec.started){\n adsSpec.active = true;\n provider.pause();\n }\n\n };\n\n lowLevelEvents[CONTENT_RESUME_REQUESTED] = (adEvent) => {\n OvenPlayerConsole.log(\"IMA LISTENER : \", adEvent.type);\n //This calls when one ad ended.\n //And this is signal what play the contents.\n adsSpec.active = false;\n\n if(adsSpec.started && (provider.getPosition() === 0 || !adsSpec.isVideoEnded) ){\n provider.play();\n }\n\n };\n lowLevelEvents[AD_ERROR] = (adEvent) => {\n isAllAdCompelete = true;\n OnAdError(adEvent);\n } ;\n\n lowLevelEvents[ALL_ADS_COMPLETED] = (adEvent) => {\n OvenPlayerConsole.log(\"IMA LISTENER : \", adEvent.type);\n\n isAllAdCompelete = true;\n if(adsSpec.isVideoEnded){\n provider.setState(STATE_COMPLETE);\n }\n };\n lowLevelEvents[CLICK] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n provider.trigger(PLAYER_CLICKED, {type : PLAYER_AD_CLICK});\n };\n lowLevelEvents[FIRST_QUARTILE] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n };\n //\n lowLevelEvents[AD_BUFFERING] = (adEvent) => {\n OvenPlayerConsole.log(\"AD_BUFFERING\",adEvent.type);\n };\n lowLevelEvents[LOADED] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n let remainingTime = adsManager.getRemainingTime();\n let ad = adEvent.getAd();\n provider.trigger(STATE_AD_LOADED, {remaining : remainingTime, isLinear : ad.isLinear() });\n\n };\n lowLevelEvents[MIDPOINT] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n };\n lowLevelEvents[PAUSED] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n provider.setState(STATE_AD_PAUSED);\n };\n lowLevelEvents[RESUMED] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n provider.setState(STATE_AD_PLAYING);\n };\n\n\n lowLevelEvents[STARTED] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n let ad = adEvent.getAd();\n currentAd = ad;\n\n let adObject = {\n isLinear : ad.isLinear() ,\n duration : ad.getDuration(),\n skipTimeOffset : ad.getSkipTimeOffset() //The number of seconds of playback before the ad becomes skippable.\n };\n provider.trigger(AD_CHANGED, adObject);\n\n\n if (ad.isLinear()) {\n\n provider.setState(STATE_AD_PLAYING);\n adsSpec.started = true;\n // For a linear ad, a timer can be started to poll for\n // the remaining time.\n intervalTimer = setInterval(\n function() {\n let remainingTime = adsManager.getRemainingTime();\n let duration = ad.getDuration();\n\n provider.trigger(AD_TIME, {\n duration : duration,\n skipTimeOffset : ad.getSkipTimeOffset(),\n remaining : remainingTime,\n position : duration - remainingTime,\n skippable : adsManager.getAdSkippableState()\n });\n },\n 300); // every 300ms\n }else{\n provider.play();\n }\n };\n lowLevelEvents[COMPLETE] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n let ad = adEvent.getAd();\n if (ad.isLinear()) {\n clearInterval(intervalTimer);\n }\n provider.trigger(STATE_AD_COMPLETE);\n };\n //User skipped ad. same process on complete.\n lowLevelEvents[SKIPPED] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n\n let ad = adEvent.getAd();\n if (ad.isLinear()) {\n clearInterval(intervalTimer);\n }\n provider.trigger(STATE_AD_COMPLETE);\n };\n lowLevelEvents[USER_CLOSE] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n let ad = adEvent.getAd();\n if (ad.isLinear()) {\n clearInterval(intervalTimer);\n }\n provider.trigger(STATE_AD_COMPLETE);\n };\n lowLevelEvents[THIRD_QUARTILE] = (adEvent) => {\n OvenPlayerConsole.log(adEvent.type);\n };\n\n\n Object.keys(lowLevelEvents).forEach(eventName => {\n adsManager.removeEventListener(eventName, lowLevelEvents[eventName]);\n adsManager.addEventListener(eventName, lowLevelEvents[eventName]);\n });\n that.setAdCompleteCallback = (_adCompleteCallback) => {\n adCompleteCallback = _adCompleteCallback;\n };\n that.isAllAdComplete = () => {\n return isAllAdCompelete;\n };\n that.isLinearAd = () => {\n return currentAd ? currentAd.isLinear() : true;\n };\n that.destroy = () =>{\n OvenPlayerConsole.log(\"IMAEventListener : destroy()\");\n //provider.trigger(STATE_AD_COMPLETE);\n Object.keys(lowLevelEvents).forEach(eventName => {\n adsManager.removeEventListener(eventName, lowLevelEvents[eventName]);\n });\n };\n return that;\n\n};\n\nexport default Listener;","/*Copyright (c) 2013 Olivier Poitrey \n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is furnished\n to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.*/\nclass Ad{constructor(){this.id=null,this.sequence=null,this.system=null,this.title=null,this.description=null,this.advertiser=null,this.pricing=null,this.survey=null,this.errorURLTemplates=[],this.impressionURLTemplates=[],this.creatives=[],this.extensions=[]}}class AdExtension{constructor(){this.attributes={},this.children=[]}}class AdExtensionChild{constructor(){this.name=null,this.value=null,this.attributes={}}}class CompanionAd{constructor(){this.id=null,this.width=0,this.height=0,this.type=null,this.staticResource=null,this.htmlResource=null,this.iframeResource=null,this.altText=null,this.companionClickThroughURLTemplate=null,this.companionClickTrackingURLTemplates=[],this.trackingEvents={}}}class Creative{constructor(e={}){this.id=e.id||null,this.adId=e.adId||null,this.sequence=e.sequence||null,this.apiFramework=e.apiFramework||null,this.trackingEvents={}}}class CreativeCompanion extends Creative{constructor(e={}){super(e),this.type=\"companion\",this.variations=[]}}function track(e,t){resolveURLTemplates(e,t).forEach(e=>{if(\"undefined\"!=typeof window&&null!==window){(new Image).src=e}})}function resolveURLTemplates(e,t={}){const r=[];t.ASSETURI&&(t.ASSETURI=encodeURIComponentRFC3986(t.ASSETURI)),t.CONTENTPLAYHEAD&&(t.CONTENTPLAYHEAD=encodeURIComponentRFC3986(t.CONTENTPLAYHEAD)),t.ERRORCODE&&!/^[0-9]{3}$/.test(t.ERRORCODE)&&(t.ERRORCODE=900),t.CACHEBUSTING=leftpad(Math.round(1e8*Math.random()).toString()),t.TIMESTAMP=encodeURIComponentRFC3986((new Date).toISOString()),t.RANDOM=t.random=t.CACHEBUSTING;for(let i in e){let s=e[i];if(\"string\"==typeof s){for(let e in t){const r=t[e],i=`[${e}]`,n=`%%${e}%%`;s=(s=s.replace(i,r)).replace(n,r)}r.push(s)}}return r}function encodeURIComponentRFC3986(e){return encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16)}`)}function leftpad(e){return e.length<8?range(0,8-e.length,!1).map(e=>\"0\").join(\"\")+e:e}function range(e,t,r){let i=[],s=en;s?t++:t--)i.push(t);return i}function isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}function flatten(e){return e.reduce((e,t)=>e.concat(Array.isArray(t)?flatten(t):t),[])}const util={track:track,resolveURLTemplates:resolveURLTemplates,encodeURIComponentRFC3986:encodeURIComponentRFC3986,leftpad:leftpad,range:range,isNumeric:isNumeric,flatten:flatten};function childByName(e,t){const r=e.childNodes;for(let e in r){const i=r[e];if(i.nodeName===t)return i}}function childrenByName(e,t){const r=[],i=e.childNodes;for(let e in i){const s=i[e];s.nodeName===t&&r.push(s)}return r}function resolveVastAdTagURI(e,t){if(!t)return e;if(0===e.indexOf(\"//\")){const{protocol:t}=location;return`${t}${e}`}if(-1===e.indexOf(\"://\")){return`${t.slice(0,t.lastIndexOf(\"/\"))}/${e}`}return e}function parseBoolean(e){return-1!==[\"true\",\"TRUE\",\"1\"].indexOf(e)}function parseNodeText(e){return e&&(e.textContent||e.text||\"\").trim()}function copyNodeAttribute(e,t,r){const i=t.getAttribute(e);i&&r.setAttribute(e,i)}function parseDuration(e){if(null==e)return-1;if(util.isNumeric(e))return parseInt(e);const t=e.split(\":\");if(3!==t.length)return-1;const r=t[2].split(\".\");let i=parseInt(r[0]);2===r.length&&(i+=parseFloat(`0.${r[1]}`));const s=parseInt(60*t[1]),n=parseInt(60*t[0]*60);return isNaN(n)||isNaN(s)||isNaN(i)||s>3600||i>60?-1:n+s+i}function splitVAST(e){const t=[];let r=null;return e.forEach((i,s)=>{if(i.sequence&&(i.sequence=parseInt(i.sequence,10)),i.sequence>1){const t=e[s-1];if(t&&t.sequence===i.sequence-1)return void(r&&r.push(i));delete i.sequence}r=[i],t.push(r)}),t}function mergeWrapperAdData(e,t){e.errorURLTemplates=t.errorURLTemplates.concat(e.errorURLTemplates),e.impressionURLTemplates=t.impressionURLTemplates.concat(e.impressionURLTemplates),e.extensions=t.extensions.concat(e.extensions),e.creatives.forEach(e=>{if(t.trackingEvents&&t.trackingEvents[e.type])for(let r in t.trackingEvents[e.type]){const i=t.trackingEvents[e.type][r];e.trackingEvents[r]||(e.trackingEvents[r]=[]),e.trackingEvents[r]=e.trackingEvents[r].concat(i)}}),t.videoClickTrackingURLTemplates&&t.videoClickTrackingURLTemplates.length&&e.creatives.forEach(e=>{\"linear\"===e.type&&(e.videoClickTrackingURLTemplates=e.videoClickTrackingURLTemplates.concat(t.videoClickTrackingURLTemplates))}),t.videoCustomClickURLTemplates&&t.videoCustomClickURLTemplates.length&&e.creatives.forEach(e=>{\"linear\"===e.type&&(e.videoCustomClickURLTemplates=e.videoCustomClickURLTemplates.concat(t.videoCustomClickURLTemplates))}),t.videoClickThroughURLTemplate&&e.creatives.forEach(e=>{\"linear\"===e.type&&null==e.videoClickThroughURLTemplate&&(e.videoClickThroughURLTemplate=t.videoClickThroughURLTemplate)})}const parserUtils={childByName:childByName,childrenByName:childrenByName,resolveVastAdTagURI:resolveVastAdTagURI,parseBoolean:parseBoolean,parseNodeText:parseNodeText,copyNodeAttribute:copyNodeAttribute,parseDuration:parseDuration,splitVAST:splitVAST,mergeWrapperAdData:mergeWrapperAdData};function parseCreativeCompanion(e,t){const r=new CreativeCompanion(t);return parserUtils.childrenByName(e,\"Companion\").forEach(e=>{const t=new CompanionAd;t.id=e.getAttribute(\"id\")||null,t.width=e.getAttribute(\"width\"),t.height=e.getAttribute(\"height\"),t.companionClickTrackingURLTemplates=[],parserUtils.childrenByName(e,\"HTMLResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||\"text/html\",t.htmlResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"IFrameResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.iframeResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"StaticResource\").forEach(r=>{t.type=r.getAttribute(\"creativeType\")||0,parserUtils.childrenByName(e,\"AltText\").forEach(e=>{t.altText=parserUtils.parseNodeText(e)}),t.staticResource=parserUtils.parseNodeText(r)}),parserUtils.childrenByName(e,\"TrackingEvents\").forEach(e=>{parserUtils.childrenByName(e,\"Tracking\").forEach(e=>{const r=e.getAttribute(\"event\"),i=parserUtils.parseNodeText(e);r&&i&&(null==t.trackingEvents[r]&&(t.trackingEvents[r]=[]),t.trackingEvents[r].push(i))})}),parserUtils.childrenByName(e,\"CompanionClickTracking\").forEach(e=>{t.companionClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))}),t.companionClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"CompanionClickThrough\")),t.companionClickTrackingURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"CompanionClickTracking\")),r.variations.push(t)}),r}class CreativeLinear extends Creative{constructor(e={}){super(e),this.type=\"linear\",this.duration=0,this.skipDelay=null,this.mediaFiles=[],this.videoClickThroughURLTemplate=null,this.videoClickTrackingURLTemplates=[],this.videoCustomClickURLTemplates=[],this.adParameters=null,this.icons=[]}}class Icon{constructor(){this.program=null,this.height=0,this.width=0,this.xPosition=0,this.yPosition=0,this.apiFramework=null,this.offset=null,this.duration=0,this.type=null,this.staticResource=null,this.htmlResource=null,this.iframeResource=null,this.iconClickThroughURLTemplate=null,this.iconClickTrackingURLTemplates=[],this.iconViewTrackingURLTemplate=null}}class MediaFile{constructor(){this.id=null,this.fileURL=null,this.deliveryType=\"progressive\",this.mimeType=null,this.codec=null,this.bitrate=0,this.minBitrate=0,this.maxBitrate=0,this.width=0,this.height=0,this.apiFramework=null,this.scalable=null,this.maintainAspectRatio=null}}function parseCreativeLinear(e,t){let r;const i=new CreativeLinear(t);i.duration=parserUtils.parseDuration(parserUtils.parseNodeText(parserUtils.childByName(e,\"Duration\")));const s=e.getAttribute(\"skipoffset\");if(null==s)i.skipDelay=null;else if(\"%\"===s.charAt(s.length-1)&&-1!==i.duration){const e=parseInt(s,10);i.skipDelay=i.duration*(e/100)}else i.skipDelay=parserUtils.parseDuration(s);const n=parserUtils.childByName(e,\"VideoClicks\");n&&(i.videoClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(n,\"ClickThrough\")),parserUtils.childrenByName(n,\"ClickTracking\").forEach(e=>{i.videoClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))}),parserUtils.childrenByName(n,\"CustomClick\").forEach(e=>{i.videoCustomClickURLTemplates.push(parserUtils.parseNodeText(e))}));const a=parserUtils.childByName(e,\"AdParameters\");a&&(i.adParameters=parserUtils.parseNodeText(a)),parserUtils.childrenByName(e,\"TrackingEvents\").forEach(e=>{parserUtils.childrenByName(e,\"Tracking\").forEach(e=>{let t=e.getAttribute(\"event\");const s=parserUtils.parseNodeText(e);if(t&&s){if(\"progress\"===t){if(!(r=e.getAttribute(\"offset\")))return;t=\"%\"===r.charAt(r.length-1)?`progress-${r}`:`progress-${Math.round(parserUtils.parseDuration(r))}`}null==i.trackingEvents[t]&&(i.trackingEvents[t]=[]),i.trackingEvents[t].push(s)}})}),parserUtils.childrenByName(e,\"MediaFiles\").forEach(e=>{parserUtils.childrenByName(e,\"MediaFile\").forEach(e=>{const t=new MediaFile;t.id=e.getAttribute(\"id\"),t.fileURL=parserUtils.parseNodeText(e),t.deliveryType=e.getAttribute(\"delivery\"),t.codec=e.getAttribute(\"codec\"),t.mimeType=e.getAttribute(\"type\"),t.apiFramework=e.getAttribute(\"apiFramework\"),t.bitrate=parseInt(e.getAttribute(\"bitrate\")||0),t.minBitrate=parseInt(e.getAttribute(\"minBitrate\")||0),t.maxBitrate=parseInt(e.getAttribute(\"maxBitrate\")||0),t.width=parseInt(e.getAttribute(\"width\")||0),t.height=parseInt(e.getAttribute(\"height\")||0);let r=e.getAttribute(\"scalable\");r&&\"string\"==typeof r&&(\"true\"===(r=r.toLowerCase())?t.scalable=!0:\"false\"===r&&(t.scalable=!1));let s=e.getAttribute(\"maintainAspectRatio\");s&&\"string\"==typeof s&&(\"true\"===(s=s.toLowerCase())?t.maintainAspectRatio=!0:\"false\"===s&&(t.maintainAspectRatio=!1)),i.mediaFiles.push(t)})});const o=parserUtils.childByName(e,\"Icons\");return o&&parserUtils.childrenByName(o,\"Icon\").forEach(e=>{const t=new Icon;t.program=e.getAttribute(\"program\"),t.height=parseInt(e.getAttribute(\"height\")||0),t.width=parseInt(e.getAttribute(\"width\")||0),t.xPosition=parseXPosition(e.getAttribute(\"xPosition\")),t.yPosition=parseYPosition(e.getAttribute(\"yPosition\")),t.apiFramework=e.getAttribute(\"apiFramework\"),t.offset=parserUtils.parseDuration(e.getAttribute(\"offset\")),t.duration=parserUtils.parseDuration(e.getAttribute(\"duration\")),parserUtils.childrenByName(e,\"HTMLResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||\"text/html\",t.htmlResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"IFrameResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.iframeResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"StaticResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.staticResource=parserUtils.parseNodeText(e)});const r=parserUtils.childByName(e,\"IconClicks\");r&&(t.iconClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(r,\"IconClickThrough\")),parserUtils.childrenByName(r,\"IconClickTracking\").forEach(e=>{t.iconClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))})),t.iconViewTrackingURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"IconViewTracking\")),i.icons.push(t)}),i}function parseXPosition(e){return-1!==[\"left\",\"right\"].indexOf(e)?e:parseInt(e||0)}function parseYPosition(e){return-1!==[\"top\",\"bottom\"].indexOf(e)?e:parseInt(e||0)}class CreativeNonLinear extends Creative{constructor(e={}){super(e),this.type=\"nonlinear\",this.variations=[]}}class NonLinearAd{constructor(){this.id=null,this.width=0,this.height=0,this.expandedWidth=0,this.expandedHeight=0,this.scalable=!0,this.maintainAspectRatio=!0,this.minSuggestedDuration=0,this.apiFramework=\"static\",this.type=null,this.staticResource=null,this.htmlResource=null,this.iframeResource=null,this.nonlinearClickThroughURLTemplate=null,this.nonlinearClickTrackingURLTemplates=[],this.adParameters=null}}function parseCreativeNonLinear(e,t){const r=new CreativeNonLinear(t);return parserUtils.childrenByName(e,\"TrackingEvents\").forEach(e=>{let t,i;parserUtils.childrenByName(e,\"Tracking\").forEach(e=>{t=e.getAttribute(\"event\"),i=parserUtils.parseNodeText(e),t&&i&&(null==r.trackingEvents[t]&&(r.trackingEvents[t]=[]),r.trackingEvents[t].push(i))})}),parserUtils.childrenByName(e,\"NonLinear\").forEach(e=>{const t=new NonLinearAd;t.id=e.getAttribute(\"id\")||null,t.width=e.getAttribute(\"width\"),t.height=e.getAttribute(\"height\"),t.expandedWidth=e.getAttribute(\"expandedWidth\"),t.expandedHeight=e.getAttribute(\"expandedHeight\"),t.scalable=parserUtils.parseBoolean(e.getAttribute(\"scalable\")),t.maintainAspectRatio=parserUtils.parseBoolean(e.getAttribute(\"maintainAspectRatio\")),t.minSuggestedDuration=parserUtils.parseDuration(e.getAttribute(\"minSuggestedDuration\")),t.apiFramework=e.getAttribute(\"apiFramework\"),parserUtils.childrenByName(e,\"HTMLResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||\"text/html\",t.htmlResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"IFrameResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.iframeResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"StaticResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.staticResource=parserUtils.parseNodeText(e)});const i=parserUtils.childByName(e,\"AdParameters\");i&&(t.adParameters=parserUtils.parseNodeText(i)),t.nonlinearClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"NonLinearClickThrough\")),parserUtils.childrenByName(e,\"NonLinearClickTracking\").forEach(e=>{t.nonlinearClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))}),r.variations.push(t)}),r}function parseAd(e){const t=e.childNodes;for(let r in t){const i=t[r];if(-1!==[\"Wrapper\",\"InLine\"].indexOf(i.nodeName)){if(parserUtils.copyNodeAttribute(\"id\",e,i),parserUtils.copyNodeAttribute(\"sequence\",e,i),\"Wrapper\"===i.nodeName)return parseWrapper(i);if(\"InLine\"===i.nodeName)return parseInLine(i)}}}function parseInLine(e){const t=e.childNodes,r=new Ad;r.id=e.getAttribute(\"id\")||null,r.sequence=e.getAttribute(\"sequence\")||null;for(let e in t){const i=t[e];switch(i.nodeName){case\"Error\":r.errorURLTemplates.push(parserUtils.parseNodeText(i));break;case\"Impression\":r.impressionURLTemplates.push(parserUtils.parseNodeText(i));break;case\"Creatives\":parserUtils.childrenByName(i,\"Creative\").forEach(e=>{const t={id:e.getAttribute(\"id\")||null,adId:parseCreativeAdIdAttribute(e),sequence:e.getAttribute(\"sequence\")||null,apiFramework:e.getAttribute(\"apiFramework\")||null};for(let i in e.childNodes){const s=e.childNodes[i];switch(s.nodeName){case\"Linear\":let e=parseCreativeLinear(s,t);e&&r.creatives.push(e);break;case\"NonLinearAds\":let i=parseCreativeNonLinear(s,t);i&&r.creatives.push(i);break;case\"CompanionAds\":let n=parseCreativeCompanion(s,t);n&&r.creatives.push(n)}}});break;case\"Extensions\":parseExtensions(r.extensions,parserUtils.childrenByName(i,\"Extension\"));break;case\"AdSystem\":r.system={value:parserUtils.parseNodeText(i),version:i.getAttribute(\"version\")||null};break;case\"AdTitle\":r.title=parserUtils.parseNodeText(i);break;case\"Description\":r.description=parserUtils.parseNodeText(i);break;case\"Advertiser\":r.advertiser=parserUtils.parseNodeText(i);break;case\"Pricing\":r.pricing={value:parserUtils.parseNodeText(i),model:i.getAttribute(\"model\")||null,currency:i.getAttribute(\"currency\")||null};break;case\"Survey\":r.survey=parserUtils.parseNodeText(i)}}return r}function parseWrapper(e){const t=parseInLine(e);let r=parserUtils.childByName(e,\"VASTAdTagURI\");if(r?t.nextWrapperURL=parserUtils.parseNodeText(r):(r=parserUtils.childByName(e,\"VASTAdTagURL\"))&&(t.nextWrapperURL=parserUtils.parseNodeText(parserUtils.childByName(r,\"URL\"))),t.creatives.forEach(e=>{if(-1!==[\"linear\",\"nonlinear\"].indexOf(e.type)){if(e.trackingEvents){t.trackingEvents||(t.trackingEvents={}),t.trackingEvents[e.type]||(t.trackingEvents[e.type]={});for(let r in e.trackingEvents){const i=e.trackingEvents[r];t.trackingEvents[e.type][r]||(t.trackingEvents[e.type][r]=[]),i.forEach(i=>{t.trackingEvents[e.type][r].push(i)})}}e.videoClickTrackingURLTemplates&&(t.videoClickTrackingURLTemplates||(t.videoClickTrackingURLTemplates=[]),e.videoClickTrackingURLTemplates.forEach(e=>{t.videoClickTrackingURLTemplates.push(e)})),e.videoClickThroughURLTemplate&&(t.videoClickThroughURLTemplate=e.videoClickThroughURLTemplate),e.videoCustomClickURLTemplates&&(t.videoCustomClickURLTemplates||(t.videoCustomClickURLTemplates=[]),e.videoCustomClickURLTemplates.forEach(e=>{t.videoCustomClickURLTemplates.push(e)}))}}),t.nextWrapperURL)return t}function parseExtensions(e,t){t.forEach(t=>{const r=new AdExtension,i=t.attributes,s=t.childNodes;if(t.attributes)for(let e in i){const t=i[e];t.nodeName&&t.nodeValue&&(r.attributes[t.nodeName]=t.nodeValue)}for(let e in s){const t=s[e],i=parserUtils.parseNodeText(t);if(\"#comment\"!==t.nodeName&&\"\"!==i){const e=new AdExtensionChild;if(e.name=t.nodeName,e.value=i,t.attributes){const r=t.attributes;for(let t in r){const i=r[t];e.attributes[i.nodeName]=i.nodeValue}}r.children.push(e)}}e.push(r)})}function parseCreativeAdIdAttribute(e){return e.getAttribute(\"AdID\")||e.getAttribute(\"adID\")||e.getAttribute(\"adId\")||null}var domain;function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(e){return void 0===e._maxListeners?EventEmitter.defaultMaxListeners:e._maxListeners}function emitNone(e,t,r){if(t)e.call(r);else for(var i=e.length,s=arrayClone(e,i),n=0;n0&&a.length>s){a.warned=!0;var o=new Error(\"Possible EventEmitter memory leak detected. \"+a.length+\" \"+t+\" listeners added. Use emitter.setMaxListeners() to increase limit\");o.name=\"MaxListenersExceededWarning\",o.emitter=e,o.type=t,o.count=a.length,emitWarning(o)}}else a=n[t]=r,++e._eventsCount;return e}function emitWarning(e){\"function\"==typeof console.warn?console.warn(e):console.log(e)}function _onceWrap(e,t,r){var i=!1;function s(){e.removeListener(t,s),i||(i=!0,r.apply(e,arguments))}return s.listener=r,s}function listenerCount(e){var t=this._events;if(t){var r=t[e];if(\"function\"==typeof r)return 1;if(r)return r.length}return 0}function spliceOne(e,t){for(var r=t,i=r+1,s=e.length;i0;)if(r[n]===t||r[n].listener&&r[n].listener===t){a=r[n].listener,s=n;break}if(s<0)return this;if(1===r.length){if(r[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete i[e]}else spliceOne(r,s);i.removeListener&&this.emit(\"removeListener\",e,a||t)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=new EventHandlers:delete r[e]),this;if(0===arguments.length){for(var i,s=Object.keys(r),n=0;n0?Reflect.ownKeys(this._events):[]};const flashURLHandler={get:get,supported:supported};function get$1(e,t,r){r(new Error(\"Please bundle the library for node to use the node urlHandler\"))}const nodeURLHandler={get:get$1};function xhr(){try{const e=new window.XMLHttpRequest;return\"withCredentials\"in e?e:null}catch(e){return console.log(\"Error in XHRURLHandler support check:\",e),null}}function supported$1(){return!!xhr()}function get$2(e,t,r){if(\"https:\"===window.location.protocol&&0===e.indexOf(\"http://\"))return r(new Error(\"XHRURLHandler: Cannot go from HTTPS to HTTP.\"));try{const i=xhr();i.open(\"GET\",e),i.timeout=t.timeout||0,i.withCredentials=t.withCredentials||!1,i.overrideMimeType&&i.overrideMimeType(\"text/xml\"),i.onreadystatechange=function(){4===i.readyState&&(200===i.status?r(null,i.responseXML):r(new Error(`XHRURLHandler: ${i.statusText}`)))},i.send()}catch(e){r(new Error(\"XHRURLHandler: Unexpected error\"))}}const XHRURLHandler={get:get$2,supported:supported$1};function get$3(e,t,r){return r||(\"function\"==typeof t&&(r=t),t={}),\"undefined\"==typeof window||null===window?nodeURLHandler.get(e,t,r):XHRURLHandler.supported()?XHRURLHandler.get(e,t,r):flashURLHandler.supported()?flashURLHandler.get(e,t,r):r(new Error(\"Current context is not supported by any of the default URLHandlers. Please provide a custom URLHandler\"))}const urlHandler={get:get$3};class VASTResponse{constructor(){this.ads=[],this.errorURLTemplates=[]}}const DEFAULT_MAX_WRAPPER_DEPTH=10,DEFAULT_EVENT_DATA={ERRORCODE:900,extensions:[]};class VASTParser extends EventEmitter{constructor(){super(),this.remainingAds=[],this.parentURLs=[],this.errorURLTemplates=[],this.rootErrorURLTemplates=[],this.maxWrapperDepth=null,this.URLTemplateFilters=[],this.fetchingOptions={}}addURLTemplateFilter(e){\"function\"==typeof e&&this.URLTemplateFilters.push(e)}removeURLTemplateFilter(){this.URLTemplateFilters.pop()}countURLTemplateFilters(){return this.URLTemplateFilters.length}clearURLTemplateFilters(){this.URLTemplateFilters=[]}trackVastError(e,t,...r){this.emit(\"VAST-error\",Object.assign(DEFAULT_EVENT_DATA,t,...r)),util.track(e,t)}getErrorURLTemplates(){return this.rootErrorURLTemplates.concat(this.errorURLTemplates)}fetchVAST(e,t,r){return new Promise((i,s)=>{this.URLTemplateFilters.forEach(t=>{e=t(e)}),this.parentURLs.push(e),this.emit(\"VAST-resolving\",{url:e,wrapperDepth:t,originalUrl:r}),this.urlHandler.get(e,this.fetchingOptions,(t,r)=>{this.emit(\"VAST-resolved\",{url:e,error:t}),t?s(t):i(r)})})}initParsingStatus(e={}){this.rootURL=\"\",this.remainingAds=[],this.parentURLs=[],this.errorURLTemplates=[],this.rootErrorURLTemplates=[],this.maxWrapperDepth=e.wrapperLimit||DEFAULT_MAX_WRAPPER_DEPTH,this.fetchingOptions={timeout:e.timeout,withCredentials:e.withCredentials},this.urlHandler=e.urlhandler||urlHandler}getRemainingAds(e){if(0===this.remainingAds.length)return Promise.reject(new Error(\"No more ads are available for the given VAST\"));const t=e?util.flatten(this.remainingAds):this.remainingAds.shift();return this.errorURLTemplates=[],this.parentURLs=[],this.resolveAds(t,{wrapperDepth:0,originalUrl:this.rootURL}).then(e=>this.buildVASTResponse(e))}getAndParseVAST(e,t={}){return this.initParsingStatus(t),this.rootURL=e,this.fetchVAST(e).then(r=>(t.originalUrl=e,t.isRootVAST=!0,this.parse(r,t).then(e=>this.buildVASTResponse(e))))}parseVAST(e,t={}){return this.initParsingStatus(t),t.isRootVAST=!0,this.parse(e,t).then(e=>this.buildVASTResponse(e))}buildVASTResponse(e){const t=new VASTResponse;return t.ads=e,t.errorURLTemplates=this.getErrorURLTemplates(),this.completeWrapperResolving(t),t}parse(e,{resolveAll:t=!0,wrapperSequence:r=null,originalUrl:i=null,wrapperDepth:s=0,isRootVAST:n=!1}){if(!e||!e.documentElement||\"VAST\"!==e.documentElement.nodeName)return Promise.reject(new Error(\"Invalid VAST XMLDocument\"));let a=[];const o=e.documentElement.childNodes;for(let e in o){const t=o[e];if(\"Error\"===t.nodeName){const e=parserUtils.parseNodeText(t);n?this.rootErrorURLTemplates.push(e):this.errorURLTemplates.push(e)}if(\"Ad\"===t.nodeName){const e=parseAd(t);e?a.push(e):this.trackVastError(this.getErrorURLTemplates(),{ERRORCODE:101})}}const l=a.length,c=a[l-1];return 1===l&&void 0!==r&&null!==r&&c&&!c.sequence&&(c.sequence=r),!1===t&&(this.remainingAds=parserUtils.splitVAST(a),a=this.remainingAds.shift()),this.resolveAds(a,{wrapperDepth:s,originalUrl:i})}resolveAds(e=[],{wrapperDepth:t,originalUrl:r}){const i=[];return e.forEach(e=>{const s=this.resolveWrappers(e,t,r);i.push(s)}),Promise.all(i).then(e=>{const i=util.flatten(e);if(!i&&this.remainingAds.length>0){const e=this.remainingAds.shift();return this.resolveAds(e,{wrapperDepth:t,originalUrl:r})}return i})}resolveWrappers(e,t,r){return new Promise((i,s)=>{if(t++,!e.nextWrapperURL)return delete e.nextWrapperURL,i(e);if(t>=this.maxWrapperDepth||-1!==this.parentURLs.indexOf(e.nextWrapperURL))return e.errorCode=302,delete e.nextWrapperURL,i(e);e.nextWrapperURL=parserUtils.resolveVastAdTagURI(e.nextWrapperURL,r);const n=e.sequence;r=e.nextWrapperURL,this.fetchVAST(e.nextWrapperURL,t,r).then(s=>this.parse(s,{originalUrl:r,wrapperSequence:n,wrapperDepth:t}).then(t=>{if(delete e.nextWrapperURL,0===t.length)return e.creatives=[],i(e);t.forEach(t=>{t&&parserUtils.mergeWrapperAdData(t,e)}),i(t)})).catch(t=>{e.errorCode=301,e.errorMessage=t.message,i(e)})})}completeWrapperResolving(e){if(0===e.ads.length)this.trackVastError(e.errorURLTemplates,{ERRORCODE:303});else for(let t=e.ads.length-1;t>=0;t--){let r=e.ads[t];(r.errorCode||0===r.creatives.length)&&(this.trackVastError(r.errorURLTemplates.concat(e.errorURLTemplates),{ERRORCODE:r.errorCode||303},{ERRORMESSAGE:r.errorMessage||\"\"},{extensions:r.extensions},{system:r.system}),e.ads.splice(t,1))}}}let storage=null;const DEFAULT_STORAGE={data:{},length:0,getItem(e){return this.data[e]},setItem(e,t){this.data[e]=t,this.length=Object.keys(this.data).length},removeItem(e){delete data[e],this.length=Object.keys(this.data).length},clear(){this.data={},this.length=0}};class Storage{constructor(){this.storage=this.initStorage()}initStorage(){if(storage)return storage;try{storage=\"undefined\"!=typeof window&&null!==window?window.localStorage||window.sessionStorage:null}catch(e){storage=null}return storage&&!this.isStorageDisabled(storage)||(storage=DEFAULT_STORAGE).clear(),storage}isStorageDisabled(e){const t=\"__VASTStorage__\";try{if(e.setItem(t,t),e.getItem(t)!==t)return e.removeItem(t),!0}catch(e){return!0}return e.removeItem(t),!1}getItem(e){return this.storage.getItem(e)}setItem(e,t){return this.storage.setItem(e,t)}removeItem(e){return this.storage.removeItem(e)}clear(){return this.storage.clear()}}class VASTClient{constructor(e,t,r){this.cappingFreeLunch=e||0,this.cappingMinimumTimeInterval=t||0,this.defaultOptions={withCredentials:!1,timeout:0},this.vastParser=new VASTParser,this.storage=r||new Storage,void 0===this.lastSuccessfulAd&&(this.lastSuccessfulAd=0),void 0===this.totalCalls&&(this.totalCalls=0),void 0===this.totalCallsTimeout&&(this.totalCallsTimeout=0)}getParser(){return this.vastParser}get lastSuccessfulAd(){return this.storage.getItem(\"vast-client-last-successful-ad\")}set lastSuccessfulAd(e){this.storage.setItem(\"vast-client-last-successful-ad\",e)}get totalCalls(){return this.storage.getItem(\"vast-client-total-calls\")}set totalCalls(e){this.storage.setItem(\"vast-client-total-calls\",e)}get totalCallsTimeout(){return this.storage.getItem(\"vast-client-total-calls-timeout\")}set totalCallsTimeout(e){this.storage.setItem(\"vast-client-total-calls-timeout\",e)}hasRemainingAds(){return this.vastParser.remainingAds.length>0}getNextAds(e){return this.vastParser.getRemainingAds(e)}get(e,t={}){const r=Date.now();return(t=Object.assign(this.defaultOptions,t)).hasOwnProperty(\"resolveAll\")||(t.resolveAll=!1),this.totalCallsTimeout{if(this.cappingFreeLunch>=this.totalCalls)return s(new Error(`VAST call canceled – FreeLunch capping not reached yet ${this.totalCalls}/${this.cappingFreeLunch}`));const n=r-this.lastSuccessfulAd;if(n<0)this.lastSuccessfulAd=0;else if(ni(e)).catch(e=>s(e))})}}const DEFAULT_SKIP_DELAY=-1;class VASTTracker extends EventEmitter{constructor(e,t,r,i=null){super(),this.ad=t,this.creative=r,this.variation=i,this.muted=!1,this.impressed=!1,this.skippable=!1,this.trackingEvents={},this._alreadyTriggeredQuartiles={},this.emitAlwaysEvents=[\"creativeView\",\"start\",\"firstQuartile\",\"midpoint\",\"thirdQuartile\",\"complete\",\"resume\",\"pause\",\"rewind\",\"skip\",\"closeLinear\",\"close\"];for(let e in this.creative.trackingEvents){const t=this.creative.trackingEvents[e];this.trackingEvents[e]=t.slice(0)}this.creative instanceof CreativeLinear?this._initLinearTracking():this._initVariationTracking(),e&&this.on(\"start\",()=>{e.lastSuccessfulAd=Date.now()})}_initLinearTracking(){this.linear=!0,this.skipDelay=this.creative.skipDelay,this.setDuration(this.creative.duration),this.clickThroughURLTemplate=this.creative.videoClickThroughURLTemplate,this.clickTrackingURLTemplates=this.creative.videoClickTrackingURLTemplates}_initVariationTracking(){if(this.linear=!1,this.skipDelay=DEFAULT_SKIP_DELAY,this.variation){for(let e in this.variation.trackingEvents){const t=this.variation.trackingEvents[e];this.trackingEvents[e]?this.trackingEvents[e]=this.trackingEvents[e].concat(t.slice(0)):this.trackingEvents[e]=t.slice(0)}this.variation instanceof NonLinearAd?(this.clickThroughURLTemplate=this.variation.nonlinearClickThroughURLTemplate,this.clickTrackingURLTemplates=this.variation.nonlinearClickTrackingURLTemplates,this.setDuration(this.variation.minSuggestedDuration)):this.variation instanceof CompanionAd&&(this.clickThroughURLTemplate=this.variation.companionClickThroughURLTemplate,this.clickTrackingURLTemplates=this.variation.companionClickTrackingURLTemplates)}}setDuration(e){this.assetDuration=e,this.quartiles={firstQuartile:Math.round(25*this.assetDuration)/100,midpoint:Math.round(50*this.assetDuration)/100,thirdQuartile:Math.round(75*this.assetDuration)/100}}setProgress(e){const t=this.skipDelay||DEFAULT_SKIP_DELAY;if(-1===t||this.skippable||(t>e?this.emit(\"skip-countdown\",t-e):(this.skippable=!0,this.emit(\"skip-countdown\",0))),this.assetDuration>0){const t=[];if(e>0){const r=Math.round(e/this.assetDuration*100);t.push(\"start\"),t.push(`progress-${r}%`),t.push(`progress-${Math.round(e)}`);for(let r in this.quartiles)this.isQuartileReached(r,this.quartiles[r],e)&&(t.push(r),this._alreadyTriggeredQuartiles[r]=!0)}t.forEach(e=>{this.track(e,!0)}),e-1;r?(this.emit(e,\"\"),this.trackURLs(r)):i&&this.emit(e,\"\"),t&&(delete this.trackingEvents[e],i&&this.emitAlwaysEvents.splice(this.emitAlwaysEvents.indexOf(e),1))}trackURLs(e,t={}){this.linear&&(this.creative&&this.creative.mediaFiles&&this.creative.mediaFiles[0]&&this.creative.mediaFiles[0].fileURL&&(t.ASSETURI=this.creative.mediaFiles[0].fileURL),t.CONTENTPLAYHEAD=this.progressFormatted()),util.track(e,t)}progressFormatted(){const e=parseInt(this.progress);let t=e/3600;t.length<2&&(t=`0${t}`);let r=e/60%60;r.length<2&&(r=`0${r}`);let i=e%60;return i.length<2&&(i=`0${r}`),`${t}:${r}:${i}.${parseInt(100*(this.progress-e))}`}}export{VASTClient,VASTParser,VASTTracker};","import API from 'api/Api';\nimport {isWebRTC, checkAndGetContainerElement} from 'utils/validator';\nimport _ from \"utils/underscore\";\n\n/**\n * Main OvenPlayerSDK object\n */\nfunction ovenPlayerFactory() {\n\n const OvenPlayerSDK = {};\n\n const playerList = OvenPlayerSDK.playerList = [];\n\n /**\n * Create player instance and return it.\n *\n * @param {string | dom element} container Id of container element or container element\n * @param {object} options The options\n */\n OvenPlayerSDK.create = function (container, options) {\n\n if (!window.OvenPlayerConsole || Object.keys(window.OvenPlayerConsole).length === 0) {\n window.OvenPlayerConsole = {};\n OvenPlayerConsole['log'] = function () {\n };\n }\n\n let containerElement = checkAndGetContainerElement(container);\n\n const playerInstance = API(containerElement);\n playerInstance.init(options);\n\n playerList.push(playerInstance);\n\n return playerInstance;\n };\n\n /**\n * Gets the player instance list.\n *\n * @return {array} The player list.\n */\n OvenPlayerSDK.getPlayerList = function () {\n\n return playerList;\n };\n\n /**\n * Gets the player instance by container id.\n *\n * @param {string} containerId The container identifier\n * @return {obeject | null} The player instance.\n */\n OvenPlayerSDK.getPlayerByContainerId = function (containerId) {\n\n for (let i = 0; i < playerList.length; i++) {\n\n if (playerList[i].getContainerId() === containerId) {\n\n return playerList[i];\n }\n }\n\n return null;\n };\n\n /**\n * Gets the player instance by index.\n *\n * @param {number} index The index\n * @return {object | null} The player instance.\n */\n OvenPlayerSDK.getPlayerByIndex = function (index) {\n\n const playerInstance = playerList[index];\n\n if (playerInstance) {\n\n return playerInstance;\n } else {\n\n return null;\n }\n };\n\n /**\n * Remove the player instance by playerInstance.\n *\n * @param {playerInstance} playerInstance\n * @return {null}\n */\n OvenPlayerSDK.removePlayer = function (playerInstance) {\n\n for (let i = 0; i < playerList.length; i++) {\n\n if (playerList[i] === playerInstance) {\n playerList.splice(i, 1);\n }\n }\n };\n\n /**\n * Generate webrtc source for player source type.\n *\n * @param {Object | Array} source webrtc source\n * @return {Array} Player source Object.\n */\n OvenPlayerSDK.generateWebrtcUrls = function (sources) {\n return (_.isArray(sources) ? sources : [sources]).map(function (source, index) {\n if (source.host && isWebRTC(source.host) && source.application && source.stream) {\n return {\n file: source.host + \"/\" + source.application + \"/\" + source.stream,\n type: \"webrtc\",\n label: source.label ? source.label : \"webrtc-\" + (index + 1)\n };\n }\n });\n };\n\n /**\n * Whether show the player core log or not.\n *\n * @param {boolean} boolean run debug mode or not.\n * @return {boolean} run debug mode or not.\n */\n OvenPlayerSDK.debug = function (isDebugMode) {\n\n if (isDebugMode) {\n window.OvenPlayerConsole = {log: window['console']['log']};\n } else {\n window.OvenPlayerConsole = {\n log: function () {\n }\n };\n }\n return isDebugMode;\n };\n\n return OvenPlayerSDK;\n}\n\n\nexport default ovenPlayerFactory();\n","/**\n * Created by hoho on 25/06/2019.\n */\n\nimport { VASTClient, VASTTracker } from 'utils/vast-client';\nimport AdsEventsListener from \"api/ads/vast/Listener\";\nimport {TEMP_VIDEO_URL} from \"api/ads/utils\";\nimport {\n ERROR,\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_AD_LOADED,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n STATE_AD_COMPLETE,\n STATE_AD_ERROR,\n CONTENT_META,\n PROVIDER_DASH\n} from \"api/constants\";\n\nconst Ad = function(elVideo, provider, playerConfig, adTagUrl){\n const AUTOPLAY_NOT_ALLOWED = \"autoplayNotAllowed\";\n\n let that = {};\n let spec = {\n started: false, //player started\n active : false, //on Ad\n isVideoEnded : false,\n lang : playerConfig.getLanguage()\n };\n let adsErrorOccurred = false;\n let listener = null;\n\n let container = \"\";\n let elAdVideo = null;\n let textView = \"\";\n let adButton = \"\";\n\n let autoplayAllowed = false, autoplayRequiresMuted = false;\n let browser = playerConfig.getBrowser();\n let isMobile = browser.os === \"Android\" || browser.os === \"iOS\";\n\n const createAdContainer = () => {\n let adContainer = document.createElement('div');\n adContainer.setAttribute('class', 'op-ads');\n adContainer.setAttribute('id', 'op-ads');\n playerConfig.getContainer().append(adContainer);\n\n elAdVideo = document.createElement('video');\n elAdVideo.setAttribute('playsinline', 'true');\n elAdVideo.setAttribute('title', 'Advertisement');\n elAdVideo.setAttribute('class', 'op-ads-vast-video');\n\n adButton = document.createElement('div');\n adButton.setAttribute('class', 'op-ads-button');\n\n textView = document.createElement('div');\n textView.setAttribute('class', 'op-ads-textview');\n\n adButton.append(textView);\n adContainer.append(elAdVideo);\n adContainer.append(adButton);\n\n return adContainer;\n };\n\n container = createAdContainer();\n\n let vastClient = new VASTClient();\n let vastTracker = null;\n let ad = null;\n\n\n const OnAdError = function(error){\n console.log(error);\n adsErrorOccurred = true;\n elAdVideo.style.display = \"none\";\n provider.trigger(STATE_AD_ERROR, {code : error.code, message : error.message});\n spec.active = false;\n spec.started = true;\n provider.play();\n };\n\n const initRequest = function () {\n vastClient.get(adTagUrl) .then(res => {\n // Do something with the parsed VAST response\n OvenPlayerConsole.log(\"VAST : initRequest()\");\n ad = res.ads[0];\n if(!ad){\n throw {code : 401, message : \"File not found. Unable to find Linear/MediaFile from URI.\"};\n }\n vastTracker = new VASTTracker(vastClient, ad, ad.creatives[0]);\n\n OvenPlayerConsole.log(\"VAST : created ad tracker.\");\n\n listener = AdsEventsListener(elAdVideo, vastTracker, provider, spec, adButton, textView, OnAdError);\n\n let videoURL = \"\";\n if(ad.creatives && ad.creatives.length > 0 && ad.creatives[0].mediaFiles && ad.creatives[0].mediaFiles.length > 0 && ad.creatives[0].mediaFiles[0].fileURL){\n videoURL = ad.creatives[0].mediaFiles[0].fileURL;\n OvenPlayerConsole.log(\"VAST : media url : \", videoURL);\n }\n elAdVideo.src = videoURL;\n\n //keep volume even if playlist item changes.\n elAdVideo.volume = elVideo.volume;\n elAdVideo.muted = elVideo.muted;\n\n }).catch(function(error){\n OnAdError(error);\n });\n\n };\n\n\n\n const checkAutoplaySupport = function () {\n OvenPlayerConsole.log(\"VAST : checkAutoplaySupport() \");\n\n let temporarySupportCheckVideo = document.createElement('video');\n temporarySupportCheckVideo.setAttribute('playsinline', 'true');\n temporarySupportCheckVideo.src = TEMP_VIDEO_URL;\n temporarySupportCheckVideo.load();\n\n\n elAdVideo.load(); //for ios User Interaction problem\n //Dash has already loaded when triggered provider.play() always.\n if(isMobile && provider.getName() !== PROVIDER_DASH ){\n //Main video sets user gesture when temporarySupportCheckVideo triggered checking.\n elVideo.load();\n }\n const clearAndReport = function(_autoplayAllowed, _autoplayRequiresMuted){\n autoplayAllowed = _autoplayAllowed;\n autoplayRequiresMuted = _autoplayRequiresMuted;\n temporarySupportCheckVideo.pause();\n temporarySupportCheckVideo.remove();\n };\n\n return new Promise(function(resolve, reject){\n if(!temporarySupportCheckVideo.play){\n //I can't remember this case...\n OvenPlayerConsole.log(\"VAST : !temporarySupportCheckVideo.play\");\n clearAndReport(true, false);\n resolve();\n }else{\n let playPromise = temporarySupportCheckVideo.play();\n if (playPromise !== undefined) {\n playPromise.then(function(){\n OvenPlayerConsole.log(\"VAST : auto play allowed.\");\n // If we make it here, unmuted autoplay works.\n clearAndReport(true, false);\n resolve();\n }).catch(function(error){\n OvenPlayerConsole.log(\"VAST : auto play failed\", error.message);\n clearAndReport(false, false);\n resolve();\n });\n }else{\n OvenPlayerConsole.log(\"VAST : promise not support\");\n //Maybe this is IE11....\n clearAndReport(true, false);\n resolve();\n }\n }\n });\n }\n that.isActive = () => {\n return spec.active;\n };\n that.started = () => {\n return spec.started;\n };\n that.play = () => {\n if(spec.started){\n return elAdVideo.play();\n }else{\n return new Promise(function (resolve, reject) {\n\n const checkMainContentLoaded = function(){\n\n //wait for main contents meta loaded.\n //have to trigger CONTENT_META first. next trigger AD_CHANGED.\n //initControlUI first -> init ad UI\n //Maybe google ima waits content loaded internal.\n if(provider.metaLoaded()){\n OvenPlayerConsole.log(\"VAST : main contents meta loaded.\");\n checkAutoplaySupport().then(function(){\n if( (playerConfig.isAutoStart() && !autoplayAllowed) ){\n OvenPlayerConsole.log(\"VAST : autoplayAllowed : false\");\n spec.started = false;\n reject(new Error(AUTOPLAY_NOT_ALLOWED));\n }else{\n initRequest();\n\n resolve();\n }\n });\n\n }else{\n setTimeout(checkMainContentLoaded, 100);\n }\n\n };\n checkMainContentLoaded();\n\n });\n }\n };\n that.pause = () => {\n elAdVideo.pause();\n };\n\n //End Of Main Contents.\n that.videoEndedCallback = (completeContentCallback) => {\n\n completeContentCallback();\n //check true when main contents ended.\n spec.isVideoEnded = true;\n };\n that.destroy = () => {\n if(listener){\n listener.destroy();\n listener = null;\n }\n vastTracker = null;\n vastClient = null;\n\n container.remove();\n\n };\n return that;\n};\n\nexport default Ad;","/**\n * Created by hoho on 26/06/2019.\n */\nimport {\n ERROR,\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_AD_LOADED,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n STATE_AD_COMPLETE,\n AD_CHANGED,\n AD_TIME,\n STATE_PAUSED,\n STATE_ERROR,\n CONTENT_COMPLETE,\n CONTENT_SEEK,\n CONTENT_BUFFER_FULL,\n CONTENT_SEEKED,\n CONTENT_BUFFER,\n CONTENT_TIME,\n CONTENT_VOLUME,\n CONTENT_META,\n PLAYER_UNKNWON_ERROR,\n PLAYER_UNKNWON_OPERATION_ERROR,\n PLAYER_UNKNWON_NETWORK_ERROR,\n PLAYER_UNKNWON_DECODE_ERROR,\n PLAYER_FILE_ERROR,\n PLAYER_STATE,\n PLAYER_CLICKED,\n PLAYER_AD_CLICK,\n PROVIDER_HTML5,\n PROVIDER_WEBRTC,\n PROVIDER_DASH,\n PROVIDER_HLS\n} from \"api/constants\";\nimport LA$ from \"utils/likeA$.js\";\n\nconst Listener = function(elAdVideo, vastTracker, provider, adsSpec, adButton, textView, OnAdError){\n const lowLevelEvents = {};\n let that = {};\n const MEDIAFILE_PLAYBACK_ERROR = '405';\n\n let $textView = LA$(textView);\n let $adButton = LA$(adButton);\n let $elAdVideo = LA$(elAdVideo);\n\n provider.on(CONTENT_VOLUME, function(data) {\n if(data.mute){\n elAdVideo.muted = true;\n }else{\n elAdVideo.muted = false;\n elAdVideo.volume = data.volume/100;\n }\n }, that);\n\n //Like a CONTENT_RESUME_REQUESTED\n const processEndOfAd = function(){\n adsSpec.active = false;\n\n $adButton.hide();\n\n if(adsSpec.started && (provider.getPosition() === 0 || !adsSpec.isVideoEnded) ){\n $elAdVideo.hide();\n provider.play();\n }\n provider.trigger(STATE_AD_COMPLETE);\n };\n //Like a CONTENT_PAUSE_REQUESTED\n const processStartOfAd = function(){\n\n $elAdVideo.show();\n $adButton.show();\n\n };\n const skipButtonClicked = function(event){\n if($textView.hasClass(\"videoAdUiAction\")){\n vastTracker.skip();\n elAdVideo.pause();\n processEndOfAd();\n }\n };\n\n textView.addEventListener(\"click\", skipButtonClicked, false);\n\n\n lowLevelEvents.error = function(){\n OvenPlayerConsole.log(\"VAST : listener : error.\", elAdVideo.error);\n console.log(\"VAST : listener : error.\", elAdVideo.error);\n let error = {};\n const code = (elAdVideo.error && elAdVideo.error.code) || 0;\n\n if(code === 2) {\n error.code = 402;\n error.message = \"Timeout of MediaFile URI.\";\n }else if(code === 3){\n error.code = 405;\n error.message = \"Problem displaying MediaFile. Video player found a MediaFile with supported type but couldn’t display it. MediaFile may include: unsupported codecs, different MIME type than MediaFile@type, unsupported delivery method, etc.\";\n }else if(code === 4){\n error.code = 403;\n error.message = \"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.\";\n }else{\n error.code = 400;\n error.message = \"General Linear error. Video player is unable to display the Linear Ad.\";\n }\n vastTracker.errorWithCode(error.code);\n OnAdError(MEDIAFILE_PLAYBACK_ERROR);\n };\n\n lowLevelEvents.canplay = function(){\n\n };\n lowLevelEvents.ended = function(){\n vastTracker.complete();\n\n processEndOfAd();\n };\n lowLevelEvents.click = function(event){\n vastTracker.click();\n };\n lowLevelEvents.play = function(){\n vastTracker.setPaused(false);\n };\n lowLevelEvents.pause = function(){\n vastTracker.setPaused(true);\n };\n lowLevelEvents.timeupdate = function(event){\n vastTracker.setProgress(event.target.currentTime);\n provider.trigger(AD_TIME, {\n duration : elAdVideo.duration,\n position : elAdVideo.currentTime\n });\n };\n lowLevelEvents.volumechange = function(event){\n OvenPlayerConsole.log(\"VAST : listener : Ad Video Volumechange.\");\n vastTracker.setMuted(event.target.muted);\n };\n lowLevelEvents.loadedmetadata = function(){\n OvenPlayerConsole.log(\"VAST : listener : Ad CONTENT LOADED .\");\n\n //Flash play is very fast...\n if(STATE_PLAYING === provider.getState()){\n provider.pause();\n }\n\n vastTracker.trackImpression();\n\n provider.trigger(STATE_AD_LOADED, {remaining : elAdVideo.duration, isLinear : true});\n elAdVideo.play();\n };\n\n vastTracker.on('skip', () => {\n // skip tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : skipped\");\n });\n\n vastTracker.on('mute', () => {\n // mute tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : muted\");\n });\n\n vastTracker.on('unmute', () => {\n // unmute tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : unmuted\");\n });\n\n vastTracker.on('resume', () => {\n // resume tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : vastTracker resumed.\");\n\n //prevent to set STATE_AD_PLAYING when first play.\n if(adsSpec.started){\n provider.setState(STATE_AD_PLAYING);\n }\n\n });\n vastTracker.on('pause', () => {\n // pause tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : vastTracker paused.\");\n provider.setState(STATE_AD_PAUSED);\n });\n\n vastTracker.on('clickthrough', url => {\n // Open the resolved clickThrough url\n OvenPlayerConsole.log(\"VAST : listener : clickthrough :\", url);\n //document.location.href = url;\n window.open(url, '_blank');\n\n });\n\n vastTracker.on('skip-countdown', (data) => {\n if(data === 0){\n if(adsSpec.lang === \"ko\"){\n $textView.html(\"광고 건너뛰기\");\n }else{\n $textView.html(\"Ad Skip\");\n }\n $textView.addClass(\"videoAdUiAction\");\n }else{\n if(adsSpec.lang === \"ko\"){\n $textView.html((parseInt(data)+1)+\"초 후에 이 광고를 건너뛸 수 있습니다.\");\n }else{\n $textView.html(\"You can skip this ad in \"+(parseInt(data)+1));\n\n }\n }\n });\n vastTracker.on('rewind', () => {\n OvenPlayerConsole.log(\"VAST : listener : rewind\");\n });\n\n vastTracker.on('start', () => {\n OvenPlayerConsole.log(\"VAST : listener : started\");\n\n adsSpec.started = true;\n adsSpec.active = true;\n processStartOfAd();\n\n provider.trigger(AD_CHANGED, {isLinear : true});\n provider.setState(STATE_AD_PLAYING);\n });\n vastTracker.on('firstQuartile', () => {\n // firstQuartile tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : firstQuartile\");\n });\n vastTracker.on('midpoint', () => {\n OvenPlayerConsole.log(\"VAST : listener : midpoint\");\n });\n vastTracker.on('thirdQuartile', () => {\n OvenPlayerConsole.log(\"VAST : listener : thirdQuartile\");\n });\n\n vastTracker.on('creativeView', () => {\n // impression tracking URLs have been called\n OvenPlayerConsole.log(\"VAST : listener : creativeView\");\n\n });\n\n Object.keys(lowLevelEvents).forEach(eventName => {\n elAdVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\n elAdVideo.addEventListener(eventName, lowLevelEvents[eventName]);\n });\n\n that.destroy = () =>{\n OvenPlayerConsole.log(\"EventListener : destroy()\");\n textView.removeEventListener(\"click\", skipButtonClicked, false);\n Object.keys(lowLevelEvents).forEach(eventName => {\n elAdVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\n });\n };\n return that;\n};\n\nexport default Listener;","/**\n * Created by hoho on 2018. 6. 27..\n */\nimport Ima from \"api/ads/ima/Ad\";\nimport Vast from \"api/ads/vast/Ad\";\nimport EventEmitter from \"api/EventEmitter\";\nimport EventsListener from \"api/provider/html5/Listener\";\nimport { pickCurrentSource } from \"api/provider/utils\";\nimport {\n WARN_MSG_MUTEDPLAY,\n UI_ICONS, PLAYER_WARNING,\n STATE_IDLE, STATE_PLAYING, STATE_PAUSED, STATE_COMPLETE, STATE_ERROR,\n PLAYER_STATE, PLAYER_COMPLETE, PLAYER_PAUSE, PLAYER_PLAY, STATE_AD_PLAYING, STATE_AD_PAUSED,\n CONTENT_META, CONTENT_TIME, CONTENT_CAPTION_CUE_CHANGED, CONTENT_SOURCE_CHANGED,\n AD_CLIENT_GOOGLEIMA, AD_CLIENT_VAST,\n PLAYBACK_RATE_CHANGED, CONTENT_MUTE, PROVIDER_HTML5, PROVIDER_WEBRTC, PROVIDER_DASH, PROVIDER_HLS\n} from \"api/constants\";\n\n/**\n * @brief Core For Html5 Video.\n * @param spec member value\n * @param playerConfig player config\n * @param onExtendedLoad on load handler\n * */\nconst Provider = function (spec, playerConfig, onExtendedLoad) {\n OvenPlayerConsole.log(\"[Provider] loaded. \");\n\n let that = {};\n EventEmitter(that);\n\n let dashAttachedView = false;\n\n let elVideo = spec.element;\n let ads = null, listener = null, videoEndedCallback = null;\n\n let isPlayingProcessing = false;\n\n if (spec.adTagUrl) {\n OvenPlayerConsole.log(\"[Provider] Ad Client - \", playerConfig.getAdClient());\n if (playerConfig.getAdClient() === AD_CLIENT_VAST) {\n ads = Vast(elVideo, that, playerConfig, spec.adTagUrl);\n } else {\n ads = Ima(elVideo, that, playerConfig, spec.adTagUrl);\n }\n\n if (!ads) {\n console.log(\"Can not load due to google ima for Ads.\");\n }\n }\n\n listener = EventsListener(elVideo, that, ads ? ads.videoEndedCallback : null, playerConfig);\n elVideo.playbackRate = elVideo.defaultPlaybackRate = playerConfig.getPlaybackRate();\n\n const _load = (lastPlayPosition) => {\n\n const source = spec.sources[spec.currentSource];\n spec.framerate = source.framerate;\n\n that.setVolume(playerConfig.getVolume());\n\n if (!spec.framerate) {\n //init timecode mode\n playerConfig.setTimecodeMode(true);\n }\n if (onExtendedLoad) {\n onExtendedLoad(source, lastPlayPosition);\n\n } else {\n\n OvenPlayerConsole.log(\"source loaded : \", source, \"lastPlayPosition : \" + lastPlayPosition);\n\n let previousSource = elVideo.src;\n\n // const sourceElement = document.createElement('source');\n // sourceElement.src = source.file;\n\n const sourceChanged = (source.file !== previousSource);\n\n if (sourceChanged) {\n\n elVideo.src = source.file;\n\n //Don't use this. https://stackoverflow.com/questions/30637784/detect-an-error-on-html5-video\n //elVideo.append(sourceElement);\n\n // Do not call load if src was not set. load() will cancel any active play promise.\n if (previousSource || previousSource === '') {\n\n elVideo.load();\n }\n\n }\n\n that.on(CONTENT_META, function () {\n if (lastPlayPosition > 0) {\n that.seek(lastPlayPosition);\n }\n });\n }\n\n };\n\n that.getName = () => {\n return spec.name;\n };\n that.getMse = () => {\n return spec.mse;\n };\n that.getMediaElement = () => {\n return spec.element;\n };\n that.canSeek = () => {\n return spec.canSeek;\n };\n that.setCanSeek = (canSeek) => {\n spec.canSeek = canSeek;\n };\n that.isSeeking = () => {\n return spec.seeking;\n };\n that.setSeeking = (seeking) => {\n spec.seeking = seeking;\n };\n that.setMetaLoaded = () => {\n spec.isLoaded = true;\n };\n that.metaLoaded = () => {\n return spec.isLoaded;\n };\n\n that.setState = (newState) => {\n if (spec.state !== newState) {\n let prevState = spec.state;\n\n OvenPlayerConsole.log(\"Provider : setState()\", newState);\n\n //ToDo : This is temporary code. If main video occur error, player avoid error message on ad playing.\n if (prevState === STATE_AD_PLAYING && (newState === STATE_ERROR || newState === STATE_IDLE)) {\n return false;\n }\n\n /*\n * 2019-06-13\n * No more necessary this codes.\n * Checking the autoPlay support was using main video element. elVideo.play() -> yes or no??\n * And then that causes triggering play and pause event.\n * And that checking waits for elVideo loaded. Dash load completion time is unknown.\n * Then I changed check method. I make temporary video tag and insert empty video.\n * */\n //if ((prevState === STATE_AD_PLAYING || prevState === STATE_AD_PAUSED ) && (newState === STATE_PAUSED || newState === STATE_PLAYING)) {\n // return false;\n //Ads checks checkAutoplaySupport(). It calls real play() and pause() to video element.\n //And then that triggers \"playing\" and \"pause\".\n //I prevent these process.\n //}\n\n OvenPlayerConsole.log(\"Provider : triggerSatatus\", newState);\n switch (newState) {\n case STATE_COMPLETE:\n that.trigger(PLAYER_COMPLETE);\n break;\n case STATE_PAUSED:\n that.trigger(PLAYER_PAUSE, {\n prevState: spec.state,\n newstate: STATE_PAUSED\n });\n break;\n case STATE_AD_PAUSED:\n that.trigger(PLAYER_PAUSE, {\n prevState: spec.state,\n newstate: STATE_AD_PAUSED\n });\n break;\n case STATE_PLAYING:\n that.trigger(PLAYER_PLAY, {\n prevState: spec.state,\n newstate: STATE_PLAYING\n });\n break;\n case STATE_AD_PLAYING:\n that.trigger(PLAYER_PLAY, {\n prevState: spec.state,\n newstate: STATE_AD_PLAYING\n });\n break;\n }\n spec.state = newState;\n that.trigger(PLAYER_STATE, {\n prevstate: prevState,\n newstate: spec.state\n });\n\n\n }\n };\n that.getState = () => {\n return spec.state;\n };\n that.setBuffer = (newBuffer) => {\n spec.buffer = newBuffer;\n };\n that.getBuffer = () => {\n return spec.buffer;\n };\n that.isLive = () => {\n return spec.isLive ? true : (elVideo.duration === Infinity);\n };\n that.getDuration = () => {\n return that.isLive() ? Infinity : elVideo.duration;\n };\n that.getDvrWindow = () => {\n return spec.dvrWindow;\n };\n that.getPosition = () => {\n if (!elVideo) {\n return 0;\n }\n return elVideo.currentTime;\n };\n that.setVolume = (volume) => {\n if (!elVideo) {\n return false;\n }\n elVideo.volume = volume / 100;\n playerConfig.setVolume(volume);\n };\n that.getVolume = () => {\n\n return playerConfig.getVolume();\n };\n that.setMute = (state) => {\n if (!elVideo) {\n return false;\n }\n if (typeof state === 'undefined') {\n\n const muted = playerConfig.isMute();\n\n elVideo.muted = !muted;\n playerConfig.setMute(!muted);\n\n that.trigger(CONTENT_MUTE, {\n mute: playerConfig.isMute()\n });\n\n } else {\n\n elVideo.muted = state;\n playerConfig.setMute(state);\n\n that.trigger(CONTENT_MUTE, {\n mute: playerConfig.isMute()\n });\n }\n return elVideo.muted;\n };\n that.getMute = () => {\n\n return playerConfig.isMute();\n };\n\n that.preload = (sources, lastPlayPosition) => {\n\n spec.sources = sources;\n\n spec.currentSource = pickCurrentSource(sources, playerConfig);\n _load(lastPlayPosition || 0);\n\n return new Promise(function (resolve, reject) {\n\n if (playerConfig.isMute()) {\n that.setMute(true);\n }\n if (playerConfig.getVolume()) {\n that.setVolume(playerConfig.getVolume());\n }\n\n resolve();\n });\n\n };\n that.load = (sources) => {\n\n spec.sources = sources;\n spec.currentSource = pickCurrentSource(sources, playerConfig);\n _load(0);\n };\n\n that.play = () => {\n\n OvenPlayerConsole.log(\"Provider : play()\");\n if (!elVideo) {\n return false;\n }\n\n //Test it thoroughly and remove isPlayingProcessing. Most of the hazards have been removed. a lot of nonblocking play() way -> blocking play()\n // if(isPlayingProcessing){\n // return false;\n // }\n\n isPlayingProcessing = true;\n if (that.getState() !== STATE_PLAYING) {\n if ((ads && ads.isActive()) || (ads && !ads.started())) {\n ads.play().then(_ => {\n //ads play success\n isPlayingProcessing = false;\n OvenPlayerConsole.log(\"Provider : ads play success\");\n\n }).catch(error => {\n //ads play fail maybe cause user interactive less\n isPlayingProcessing = false;\n OvenPlayerConsole.log(\"Provider : ads play fail\", error);\n });\n\n } else {\n let promise = elVideo.play();\n if (promise !== undefined) {\n promise.then(function () {\n isPlayingProcessing = false;\n OvenPlayerConsole.log(\"Provider : video play success\");\n /*\n if(mutedPlay){\n that.trigger(PLAYER_WARNING, {\n message : WARN_MSG_MUTEDPLAY,\n timer : 10 * 1000,\n iconClass : UI_ICONS.volume_mute,\n onClickCallback : function(){\n that.setMute(false);\n }\n });\n }*/\n }).catch(error => {\n OvenPlayerConsole.log(\"Provider : video play error\", error.message);\n\n isPlayingProcessing = false;\n /*\n if(!mutedPlay){\n that.setMute(true);\n that.play(true);\n }\n */\n });\n } else {\n //IE promise is undefinded.\n OvenPlayerConsole.log(\"Provider : video play success (ie)\");\n isPlayingProcessing = false;\n }\n }\n }\n\n };\n that.pause = () => {\n\n OvenPlayerConsole.log(\"Provider : pause()\");\n if (!elVideo) {\n return false;\n }\n\n if (that.getState() === STATE_PLAYING) {\n elVideo.pause();\n } else if (that.getState() === STATE_AD_PLAYING) {\n ads.pause();\n }\n };\n that.seek = (position) => {\n if (!elVideo) {\n return false;\n }\n elVideo.currentTime = position;\n };\n that.setPlaybackRate = (playbackRate) => {\n if (!elVideo) {\n return false;\n }\n that.trigger(PLAYBACK_RATE_CHANGED, { playbackRate: playbackRate });\n return elVideo.playbackRate = elVideo.defaultPlaybackRate = playbackRate;\n };\n that.getPlaybackRate = () => {\n if (!elVideo) {\n return 0;\n }\n return elVideo.playbackRate;\n };\n\n that.getSources = () => {\n if (!elVideo) {\n return [];\n }\n\n return spec.sources.map(function (source, index) {\n\n var obj = {\n file: source.file,\n type: source.type,\n label: source.label,\n index: index,\n sectionStart: source.sectionStart,\n sectionEnd: source.sectionEnd,\n gridThumbnail: source.gridThumbnail,\n };\n\n if (source.lowLatency) {\n obj.lowLatency = source.lowLatency;\n }\n\n return obj;\n });\n };\n that.getCurrentSource = () => {\n return spec.currentSource;\n };\n that.setCurrentSource = (sourceIndex, needProviderChange) => {\n\n if (sourceIndex > -1) {\n if (spec.sources && spec.sources.length > sourceIndex) {\n //that.pause();\n //that.setState(STATE_IDLE);\n OvenPlayerConsole.log(\"source changed : \" + sourceIndex);\n spec.currentSource = sourceIndex;\n\n playerConfig.setSourceIndex(sourceIndex);\n //playerConfig.setSourceLabel(spec.sources[sourceIndex].label);\n //spec.currentQuality = sourceIndex;\n //that.pause();\n that.setState(STATE_IDLE);\n if (needProviderChange) {\n _load(elVideo.currentTime || 0);\n }\n //\n return spec.currentSource;\n }\n }\n };\n\n\n that.getQualityLevels = () => {\n if (!elVideo) {\n return [];\n }\n return spec.qualityLevels;\n };\n that.getCurrentQuality = () => {\n if (!elVideo) {\n return null;\n }\n return spec.currentQuality;\n };\n that.setCurrentQuality = (qualityIndex) => {\n //Do nothing\n };\n\n that.getAudioTracks = () => {\n if (!elVideo) {\n return [];\n }\n return spec.audioTracks;\n };\n\n that.getCurrentAudioTrack = () => {\n if (!elVideo) {\n return [];\n }\n return spec.currentAudioTrack;\n };\n\n that.setCurrentAudioTrack = (audioTrackIndex) => {\n //Do nothing\n };\n\n that.isAutoQuality = () => {\n //Do nothing\n };\n that.setAutoQuality = (isAuto) => {\n //Do nothing\n };\n\n that.getFramerate = () => {\n return spec.framerate;\n };\n that.setFramerate = (framerate) => {\n return spec.framerate = framerate;\n };\n that.seekFrame = (frameCount) => {\n let fps = spec.framerate;\n let currentFrames = elVideo.currentTime * fps;\n let newPosition = (currentFrames + frameCount) / fps;\n newPosition = newPosition + 0.00001; // FIXES A SAFARI SEEK ISSUE. myVdieo.currentTime = 0.04 would give SMPTE 00:00:00:00 wheras it should give 00:00:00:01\n\n that.pause();\n that.seek(newPosition);\n };\n\n that.stop = () => {\n if (!elVideo) {\n return false;\n }\n OvenPlayerConsole.log(\"CORE : stop() \");\n\n elVideo.removeAttribute('preload');\n elVideo.removeAttribute('src');\n while (elVideo.firstChild) {\n elVideo.removeChild(elVideo.firstChild);\n }\n\n that.pause();\n that.setState(STATE_IDLE);\n isPlayingProcessing = false;\n };\n\n that.destroy = () => {\n if (!elVideo) {\n return false;\n }\n that.stop();\n listener.destroy();\n //elVideo.remove();\n\n if (ads) {\n ads.destroy();\n ads = null;\n }\n that.off();\n OvenPlayerConsole.log(\"CORE : destroy() player stop, listener, event destroied\");\n };\n\n //XXX : I hope using es6 classes. but I think to occur problem from Old IE. Then I choice function inherit. Finally using super function is so difficult.\n // use : let super_destroy = that.super('destroy'); ... super_destroy();\n that.super = (name) => {\n const method = that[name];\n return function () {\n return method.apply(that, arguments);\n };\n };\n return that;\n\n};\n\nexport default Provider;\n","import {\n ERRORS,\n ERROR,\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_AD_PLAYING,\n STATE_PAUSED,\n STATE_ERROR,\n CONTENT_COMPLETE,\n CONTENT_SEEK,\n CONTENT_BUFFER_FULL,\n CONTENT_SEEKED,\n CONTENT_BUFFER,\n CONTENT_TIME,\n CONTENT_VOLUME,\n CONTENT_META,\n CONTENT_DURATION_CHANGED,\n PLAYER_UNKNWON_ERROR,\n PLAYER_UNKNWON_OPERATION_ERROR,\n PLAYER_UNKNWON_NETWORK_ERROR,\n PLAYER_UNKNWON_DECODE_ERROR,\n PLAYER_FILE_ERROR,\n PROVIDER_HTML5,\n PROVIDER_WEBRTC,\n PROVIDER_DASH,\n PROVIDER_HLS\n} from \"api/constants\";\nimport {extractVideoElement, errorTrigger} from \"api/provider/utils\";\n\n/**\n * @brief Trigger on various video events.\n * @param extendedElement extended media object by mse.\n * @param Provider provider html5Provider\n * */\n\n\nconst Listener = function(element, provider, videoEndedCallback, playerConfig){\n const lowLevelEvents = {};\n\n OvenPlayerConsole.log(\"EventListener loaded.\",element ,provider );\n const that = {};\n\n let stalled = -1;\n let elVideo = element;\n const between = function (num, min, max) {\n return Math.max(Math.min(num, max), min);\n };\n const compareStalledTime = function(stalled, position){\n //Original Code is stalled !== position\n //Because Dashjs is very meticulous. Then always diffrence stalled and position.\n //That is why when I use toFixed(2).\n return stalled.toFixed(2) === position.toFixed(2);\n };\n\n lowLevelEvents.canplay = () => {\n //Fires when the browser can start playing the audio/video\n provider.setCanSeek(true);\n provider.trigger(CONTENT_BUFFER_FULL);\n OvenPlayerConsole.log(\"EventListener : on canplay\");\n };\n\n lowLevelEvents.durationchange = () => {\n //Fires when the duration of the audio/video is changed\n lowLevelEvents.progress();\n OvenPlayerConsole.log(\"EventListener : on durationchange\");\n\n provider.trigger(CONTENT_DURATION_CHANGED);\n };\n\n lowLevelEvents.ended = () => {\n //Fires when the current playlist is ended\n OvenPlayerConsole.log(\"EventListener : on ended\");\n\n // IE doesn't set paused property to true. So force set it.\n elVideo.pause();\n\n if(provider.getState() !== STATE_IDLE && provider.getState() !== STATE_COMPLETE && provider.getState() !== STATE_ERROR) {\n if(videoEndedCallback){\n videoEndedCallback(function(){\n provider.setState(STATE_COMPLETE);\n });\n }else{\n provider.setState(STATE_COMPLETE);\n }\n }\n };\n\n lowLevelEvents.loadeddata = () => {\n //Fires when the browser has loaded the current frame of the audio/video\n //Do nothing Because this causes chaos by loadedmetadata.\n /*\n var metadata = {\n duration: elVideo.duration,\n height: elVideo.videoHeight,\n width: elVideo.videoWidth\n };\n provider.trigger(CONTENT_META, metadata);*/\n };\n\n lowLevelEvents.loadedmetadata = () => {\n //Fires when the browser has loaded meta data for the audio/video\n\n let sources = provider.getSources();\n let sourceIndex = provider.getCurrentSource();\n let type = sourceIndex > -1 ? sources[sourceIndex].type : \"\";\n var metadata = {\n duration: provider.isLive() ? Infinity : elVideo.duration,\n type :type\n };\n\n provider.setMetaLoaded();\n\n OvenPlayerConsole.log(\"EventListener : on loadedmetadata\", metadata);\n provider.trigger(CONTENT_META, metadata);\n };\n\n lowLevelEvents.pause = () => {\n //Fires when the audio/video has been paused\n if(provider.getState() === STATE_COMPLETE || provider.getState() === STATE_ERROR){\n return false;\n }\n if(elVideo.ended){\n return false;\n }\n if(elVideo.error){\n return false;\n }\n if(elVideo.currentTime === elVideo.duration){\n return false;\n }\n OvenPlayerConsole.log(\"EventListener : on pause\");\n\n provider.setState(STATE_PAUSED);\n };\n\n lowLevelEvents.loadstart = () => {\n\n if (playerConfig) {\n if (!playerConfig.getConfig().showBigPlayButton && playerConfig.getConfig().autoStart) {\n provider.setState(STATE_LOADING);\n }\n }\n };\n\n lowLevelEvents.play = () => {\n\n //Fires when the audio/video has been started or is no longer paused\n stalled = -1;\n if (!elVideo.paused && provider.getState() !== STATE_PLAYING) {\n provider.setState(STATE_LOADING);\n }\n };\n\n lowLevelEvents.playing = () => {\n //Fires when the audio/video is playing after having been paused or stopped for buffering\n OvenPlayerConsole.log(\"EventListener : on playing\");\n if(stalled < 0){\n provider.setState(STATE_PLAYING);\n }\n };\n\n lowLevelEvents.progress = () => {\n //Fires when the browser is downloading the audio/video\n let timeRanges = elVideo.buffered;\n if(!timeRanges ){\n return false;\n }\n\n let duration = elVideo.duration, position = elVideo.currentTime;\n let buffered = between( (timeRanges.length> 0 ? timeRanges.end(timeRanges.length - 1) : 0 ) / duration, 0, 1);\n\n provider.setBuffer(buffered*100);\n provider.trigger(CONTENT_BUFFER, {\n bufferPercent: buffered*100,\n position: position,\n duration: duration\n });\n OvenPlayerConsole.log(\"EventListener : on progress\", buffered*100);\n };\n\n\n lowLevelEvents.timeupdate = () => {\n //Fires when the current playback position has changed\n let position = elVideo.currentTime;\n let duration = elVideo.duration;\n if (isNaN(duration)) {\n return;\n }\n\n if (position > duration) {\n elVideo.pause();\n provider.setState(STATE_COMPLETE);\n return;\n }\n\n let sectionStart = provider.getSources()[provider.getCurrentSource()].sectionStart;\n\n if (sectionStart && position < sectionStart && provider.getState() === STATE_PLAYING) {\n\n provider.seek(sectionStart);\n }\n\n let sectionEnd = provider.getSources()[provider.getCurrentSource()].sectionEnd;\n\n if (sectionEnd && position > sectionEnd && provider.getState() === STATE_PLAYING) {\n\n provider.stop();\n provider.setState(STATE_COMPLETE);\n return;\n }\n\n //Sometimes dash live gave to me crazy duration. (9007199254740991...) why???\n if(duration > 9000000000000000){ //9007199254740991\n duration = Infinity;\n }\n\n if(!provider.isSeeking() && !elVideo.paused && (provider.getState() === STATE_STALLED || provider.getState() === STATE_LOADING || provider.getState() === STATE_AD_PLAYING) &&\n !compareStalledTime(stalled, position) ){\n stalled = -1;\n provider.setState(STATE_PLAYING);\n }\n\n if (sectionStart && sectionStart > 0) {\n\n position = position - sectionStart;\n\n if (position < 0) {\n position = 0;\n }\n }\n\n if (sectionEnd) {\n duration = sectionEnd;\n }\n\n if (sectionStart) {\n duration = duration - sectionStart;\n }\n\n if (provider.getState() === STATE_PLAYING || provider.isSeeking()) {\n provider.trigger(CONTENT_TIME, {\n position: position,\n duration: duration\n });\n }\n\n };\n\n lowLevelEvents.seeking = () => {\n provider.setSeeking(true);\n OvenPlayerConsole.log(\"EventListener : on seeking\", elVideo.currentTime);\n provider.trigger(CONTENT_SEEK,{\n position : elVideo.currentTime\n });\n };\n lowLevelEvents.seeked = () => {\n if(!provider.isSeeking()){\n return;\n }\n OvenPlayerConsole.log(\"EventListener : on seeked\");\n provider.setSeeking(false);\n provider.trigger(CONTENT_SEEKED);\n };\n\n lowLevelEvents.stalled = () => {\n OvenPlayerConsole.log(\"EventListener : on stalled\");\n //This callback does not work on chrome. This calls on Firefox intermittent. Then do not work here. using waiting event.\n };\n\n lowLevelEvents.waiting = () => {\n //Fires when the video stops because it needs to buffer the next frame\n OvenPlayerConsole.log(\"EventListener : on waiting\", provider.getState());\n if(provider.isSeeking()){\n provider.setState(STATE_LOADING);\n }else if(provider.getState() === STATE_PLAYING){\n stalled = elVideo.currentTime;\n provider.setState(STATE_STALLED);\n }\n };\n\n lowLevelEvents.volumechange = () => {\n OvenPlayerConsole.log(\"EventListener : on volumechange\", Math.round(elVideo.volume * 100));\n provider.trigger(CONTENT_VOLUME, {\n volume: Math.round(elVideo.volume * 100),\n mute: elVideo.muted\n });\n };\n\n lowLevelEvents.error = () => {\n const code = (elVideo.error && elVideo.error.code) || 0;\n let convertedErroCode = ({\n 0: PLAYER_UNKNWON_ERROR,\n 1: PLAYER_UNKNWON_OPERATION_ERROR,\n 2: PLAYER_UNKNWON_NETWORK_ERROR,\n 3: PLAYER_UNKNWON_DECODE_ERROR,\n 4: PLAYER_FILE_ERROR\n }[code]||0);\n\n OvenPlayerConsole.log(\"EventListener : on error\", convertedErroCode);\n errorTrigger(ERRORS.codes[convertedErroCode], provider);\n };\n\n Object.keys(lowLevelEvents).forEach(eventName => {\n elVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\n elVideo.addEventListener(eventName, lowLevelEvents[eventName]);\n });\n\n that.destroy = () =>{\n OvenPlayerConsole.log(\"EventListener : destroy()\");\n\n Object.keys(lowLevelEvents).forEach(eventName => {\n elVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\n });\n };\n return that;\n};\n\nexport default Listener;","/**\n * Created by hoho on 2018. 8. 24..\n */\nimport Provider from \"api/provider/html5/Provider\";\nimport {errorTrigger} from \"api/provider/utils\";\nimport {PROVIDER_HTML5, STATE_IDLE} from \"api/constants\";\n\n/**\n * @brief html5 provider extended core.\n * @param container player element.\n * @param playerConfig config.\n * */\n\nconst Html5 = function(element, playerConfig, adTagUrl){\n\n let spec = {\n name : PROVIDER_HTML5,\n element : element,\n mse : null,\n listener : null,\n isLoaded : false,\n canSeek : false,\n isLive : false,\n seeking : false,\n state : STATE_IDLE,\n buffer : 0,\n framerate : 0,\n currentQuality : -1,\n qualityLevels : [],\n currentAudioTrack: -1,\n audioTracks: [],\n currentSource : -1,\n sources : [],\n adTagUrl : adTagUrl\n };\n\n let that = Provider(spec, playerConfig, null);\n let superDestroy_func = that.super('destroy');\n\n OvenPlayerConsole.log(\"HTML5 PROVIDER LOADED.\");\n\n that.destroy = () =>{\n OvenPlayerConsole.log(\"HTML5 : PROVIDER DESTROYED.\");\n\n superDestroy_func();\n };\n\n return that;\n\n};\n\nexport default Html5;\n","import _ from \"utils/underscore\";\nimport {analUserAgent} from \"utils/browser\";\nimport {\n ERRORS,\n PLAYER_WEBRTC_WS_ERROR,\n PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR,\n PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR,\n PLAYER_WEBRTC_CREATE_ANSWER_ERROR,\n PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR,\n PLAYER_WEBRTC_NETWORK_SLOW,\n PLAYER_WEBRTC_UNEXPECTED_DISCONNECT,\n PLAYER_WEBRTC_INTERNAL_ERROR,\n OME_P2P_MODE,\n CONTENT_LEVEL_CHANGED,\n PEER_CONNECTION_PREPARED\n} from \"api/constants\";\nimport sizeHumanizer from \"../../../../utils/sizeHumanizer\";\nimport {PEER_CONNECTION_DESTROYED} from \"../../../constants\";\n\n\nconst WebRTCLoader = function (provider,\n webSocketUrl,\n loadCallback,\n connectedCallback,\n internalErrorCallback,\n errorTrigger,\n playerConfig,\n spec) {\n\n let defaultConnectionConfig = {};\n\n let that = {};\n\n let ws = null;\n let wsConnected = false;\n\n let mainStream = null;\n\n // used for getting media stream from OME or host peer\n let mainPeerConnectionInfo = null;\n\n // used for send media stream to client peer.\n let clientPeerConnections = {};\n\n //closed websocket by ome or client.\n let wsClosedByPlayer = false;\n\n let recoverPacketLoss = false;\n\n let playlistFromOme = null;\n let autoQuality = false;\n\n if (playerConfig.getConfig().webrtcConfig &&\n playerConfig.getConfig().webrtcConfig.recoverPacketLoss === true) {\n\n recoverPacketLoss = true;\n }\n\n let generatePublicCandidate = true;\n\n if (playerConfig.getConfig().webrtcConfig &&\n playerConfig.getConfig().webrtcConfig.generatePublicCandidate === false) {\n\n generatePublicCandidate = playerConfig.getConfig().webrtcConfig.generatePublicCandidate;\n }\n\n let statisticsTimer = null;\n\n let currentBrowser = analUserAgent();\n\n let existingHandler = null;\n\n (function () {\n existingHandler = window.onbeforeunload;\n window.onbeforeunload = function (event) {\n if (existingHandler) {\n existingHandler(event);\n }\n OvenPlayerConsole.log(\"This calls auto when browser closed.\");\n closePeer();\n }\n })();\n\n\n function getPeerConnectionById(id) {\n\n let peerConnection = null;\n\n if (mainPeerConnectionInfo && id === mainPeerConnectionInfo.id) {\n peerConnection = mainPeerConnectionInfo.peerConnection;\n } else if (clientPeerConnections[id]) {\n peerConnection = clientPeerConnections[id].peerConnection;\n }\n\n return peerConnection;\n }\n\n function extractLossPacketsOnNetworkStatus(peerConnectionInfo) {\n\n if (peerConnectionInfo.statisticsTimer) {\n clearTimeout(peerConnectionInfo.statisticsTimer);\n }\n\n if (!peerConnectionInfo.status) {\n peerConnectionInfo.status = {};\n peerConnectionInfo.status.lostPacketsArr = [];\n peerConnectionInfo.status.slotLength = 8; //8 statistics. every 2 seconds\n peerConnectionInfo.status.prevPacketsLost = 0;\n peerConnectionInfo.status.avg8Losses = 0;\n peerConnectionInfo.status.avgMoreThanThresholdCount = 0; //If avg8Loss more than threshold.\n peerConnectionInfo.status.threshold = 40;\n }\n\n let lostPacketsArr = peerConnectionInfo.status.lostPacketsArr,\n slotLength = peerConnectionInfo.status.slotLength, //8 statistics. every 2 seconds\n prevPacketsLost = peerConnectionInfo.status.prevPacketsLost,\n avg8Losses = peerConnectionInfo.status.avg8Losses,\n // avgMoreThanThresholdCount = peerConnectionInfo.status.avgMoreThanThresholdCount, //If avg8Loss more than threshold.\n threshold = peerConnectionInfo.status.threshold;\n\n peerConnectionInfo.statisticsTimer = setTimeout(function () {\n if (!peerConnectionInfo.peerConnection) {\n return false;\n }\n\n peerConnectionInfo.peerConnection.getStats().then(function (stats) {\n\n if (!stats) {\n return;\n }\n\n if (playerConfig.getConfig().autoFallback && stats) {\n\n stats.forEach(function (state) {\n\n if (state.type === \"inbound-rtp\" && state.kind === 'video' && !state.isRemote) {\n\n //(state.packetsLost - prevPacketsLost) is real current lost.\n\n let actualPacketLost = parseInt(state.packetsLost) - parseInt(prevPacketsLost);\n\n lostPacketsArr.push(parseInt(state.packetsLost) - parseInt(prevPacketsLost));\n\n if (lostPacketsArr.length > slotLength) {\n\n lostPacketsArr.shift();\n }\n\n if (lostPacketsArr.length === slotLength) {\n\n avg8Losses = _.reduce(lostPacketsArr, function (memo, num) {\n return memo + num;\n }, 0) / slotLength;\n OvenPlayerConsole.log(\"Last8 LOST PACKET AVG : \" + (avg8Losses), \"Current Packet LOST: \" + actualPacketLost, \"Total Packet Lost: \" + state.packetsLost, lostPacketsArr);\n\n if (avg8Losses > threshold) {\n peerConnectionInfo.status.avgMoreThanThresholdCount = peerConnectionInfo.status.avgMoreThanThresholdCount + 1;\n if (peerConnectionInfo.status.avgMoreThanThresholdCount >= 60) {\n OvenPlayerConsole.log(\"NETWORK UNSTABLED!!! \");\n let tempError = ERRORS.codes[PLAYER_WEBRTC_NETWORK_SLOW];\n closePeer(tempError);\n }\n } else {\n peerConnectionInfo.status.avgMoreThanThresholdCount = 0;\n }\n }\n peerConnectionInfo.status.prevPacketsLost = state.packetsLost;\n }\n });\n\n extractLossPacketsOnNetworkStatus(peerConnectionInfo);\n }\n });\n\n }, 2000);\n\n }\n\n // return -1 if no opus;\n // return opus format number\n function getOpusFormatNumber(sdp) {\n\n const lines = sdp.split('\\r\\n');\n let opusFormatNumber = -1;\n\n for (let i = 0; i < lines.length - 1; i++) {\n\n lines[i] = lines[i].toLowerCase();\n\n if (lines[i].indexOf('a=rtpmap') > -1 && lines[i].indexOf('opus') > -1) {\n // parsing \"a=rtpmap:102 OPUS/48000/2\" line\n opusFormatNumber = lines[i].split(' ')[0].split(':')[1];\n break;\n }\n }\n\n return opusFormatNumber;\n }\n\n function checkOpusIsStereo(sdp, opusFormatNumber) {\n\n const lines = sdp.split('\\r\\n');\n\n let stereo = false;\n\n for (let i = 0; i < lines.length - 1; i++) {\n\n lines[i] = lines[i].toLowerCase();\n\n // check stereo=1 from \"a=fmtp:102 sprop-stereo=1;stereo=1;minptime=10;useinbandfec=1\"\n if (lines[i].indexOf('a=fmtp:' + opusFormatNumber) > -1) {\n\n if (lines[i].indexOf('stereo=1') > -1) {\n stereo = true;\n }\n break;\n }\n }\n\n return stereo;\n }\n\n function mungeSdpForceStereoOpus(sdp, opusFormatNumber) {\n\n const lines = sdp.split('\\r\\n');\n\n // find this line and modify. \"a=fmtp:102 minptime=10;useinbandfec=1\"\n for (let i = 0; i < lines.length - 1; i++) {\n\n // check stereo=1 from \"a=fmtp:102 sprop-stereo=1;stereo=1;minptime=10;useinbandfec=1\"\n if (lines[i].indexOf('a=fmtp:' + opusFormatNumber) > -1) {\n\n if (lines[i].indexOf('stereo=1') === -1) {\n\n lines[i] = lines[i] + ';stereo=1';\n }\n break;\n }\n }\n\n return lines.join('\\r\\n');\n }\n\n function createMainPeerConnection(id, peerId, sdp, candidates, iceServers) {\n\n let peerConnectionConfig = {};\n\n // first priority using ice servers from player setting.\n if (playerConfig.getConfig().webrtcConfig && playerConfig.getConfig().webrtcConfig.iceServers) {\n\n peerConnectionConfig.iceServers = playerConfig.getConfig().webrtcConfig.iceServers;\n\n if (playerConfig.getConfig().webrtcConfig.iceTransportPolicy) {\n\n peerConnectionConfig.iceTransportPolicy = playerConfig.getConfig().webrtcConfig.iceTransportPolicy;\n }\n } else if (iceServers) {\n\n // second priority using ice servers from ome and force using TCP\n peerConnectionConfig.iceServers = [];\n\n for (let i = 0; i < iceServers.length; i++) {\n\n let iceServer = iceServers[i];\n\n let regIceServer = {};\n\n regIceServer.urls = iceServer.urls;\n\n let hasWebsocketUrl = false;\n let socketUrl = generateDomainFromUrl(webSocketUrl);\n\n for (let j = 0; j < regIceServer.urls.length; j++) {\n\n let serverUrl = regIceServer.urls[j];\n\n if (serverUrl.indexOf(socketUrl) > -1) {\n hasWebsocketUrl = true;\n break;\n }\n }\n\n if (!hasWebsocketUrl) {\n\n if (regIceServer.urls.length > 0) {\n\n let cloneIceServer = _.clone(regIceServer.urls[0]);\n let ip = findIp(cloneIceServer);\n\n if (socketUrl && ip) {\n regIceServer.urls.push(cloneIceServer.replace(ip, socketUrl));\n }\n }\n }\n\n regIceServer.username = iceServer.username || iceServer.user_name;\n regIceServer.credential = iceServer.credential;\n\n peerConnectionConfig.iceServers.push(regIceServer);\n }\n\n peerConnectionConfig.iceTransportPolicy = 'relay';\n\n } else {\n\n // last priority using default ice servers.\n peerConnectionConfig = defaultConnectionConfig;\n }\n\n OvenPlayerConsole.log(\"Main Peer Connection Config : \", peerConnectionConfig);\n\n let peerConnection = null;\n\n try {\n\n peerConnection = new RTCPeerConnection(peerConnectionConfig);\n provider.trigger(PEER_CONNECTION_PREPARED, peerConnection);\n\n } catch (error) {\n let tempError = ERRORS.codes[PLAYER_WEBRTC_INTERNAL_ERROR];\n tempError.error = error;\n closePeer(tempError);\n return;\n }\n\n mainPeerConnectionInfo = {\n id: id,\n peerId: peerId,\n peerConnection: peerConnection\n };\n\n //Set remote description when I received sdp from server.\n peerConnection.setRemoteDescription(new RTCSessionDescription(sdp)).then(function () {\n\n peerConnection.createAnswer().then(function (desc) {\n\n const opusFormatNumber = getOpusFormatNumber(sdp.sdp);\n\n if (opusFormatNumber > -1) {\n\n if (checkOpusIsStereo(sdp.sdp, opusFormatNumber)) {\n\n //If offer has opus and if it is stereo, munge local sdp to force stereo=1\n //Thanks to community https://github.com/AirenSoft/OvenMediaEngine/issues/203\n desc.sdp = mungeSdpForceStereoOpus(desc.sdp, opusFormatNumber);\n }\n }\n\n OvenPlayerConsole.log('Local SDP', desc);\n\n sendMessage(ws, {\n id: id,\n peer_id: peerId,\n command: 'answer',\n sdp: desc\n });\n\n OvenPlayerConsole.log(\"create Host Answer : success\");\n\n peerConnection.setLocalDescription(desc).then(function () {\n\n\n }).catch(function (error) {\n\n let tempError = ERRORS.codes[PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR];\n tempError.error = error;\n closePeer(tempError);\n });\n }).catch(function (error) {\n\n let tempError = ERRORS.codes[PLAYER_WEBRTC_CREATE_ANSWER_ERROR];\n tempError.error = error;\n closePeer(tempError);\n });\n }).catch(function (error) {\n\n let tempError = ERRORS.codes[PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR];\n tempError.error = error;\n closePeer(tempError);\n });\n\n if (candidates) {\n\n addIceCandidate(peerConnection, candidates);\n }\n\n peerConnection.onicecandidate = function (e) {\n\n if (e.candidate) {\n\n OvenPlayerConsole.log(\"WebRTCLoader send candidate to server : \", e.candidate);\n\n // console.log('Main Peer Connection candidate', e.candidate);\n sendMessage(ws, {\n id: id,\n peer_id: peerId,\n command: \"candidate\",\n candidates: [e.candidate]\n });\n }\n };\n\n peerConnection.onconnectionstatechange = function (e) {\n //ConnectionState\n OvenPlayerConsole.log(\"[on connection state change]\", peerConnection.connectionState, e);\n\n // firefox and opera do not support onconnectionstatechange (Jan 07, 2021)\n // double check with oniceconnectionstatechange\n if (peerConnection.connectionState === 'connected') {\n\n if (connectedCallback) {\n connectedCallback();\n }\n }\n };\n\n peerConnection.onicecandidateerror = function (e) {\n\n };\n\n peerConnection.onicegatheringstatechange = function (e) {\n\n };\n\n peerConnection.oniceconnectionstatechange = function (e) {\n OvenPlayerConsole.log(\"[on ice connection state change]\", peerConnection.iceConnectionState, e);\n\n if (peerConnection.iceConnectionState === 'connected') {\n\n if (connectedCallback) {\n connectedCallback();\n }\n }\n /*\n * https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceConnectionState\n * Checks to ensure that components are still connected failed for at least one component of the RTCPeerConnection. This is a less stringent test than \"failed\" and may trigger intermittently and resolve just as spontaneously on less reliable networks, or during temporary disconnections. When the problem resolves, the connection may return to the \"connected\" state.\n * */\n //This process is my imagination. I do not know how to reproduce.\n //Situation : OME is dead but ome can't send 'stop' message.\n if (peerConnection.iceConnectionState === 'disconnected' || peerConnection.iceConnectionState === 'closed') {\n if (!wsClosedByPlayer) {\n if (mainPeerConnectionInfo) {\n let tempError = ERRORS.codes[PLAYER_WEBRTC_UNEXPECTED_DISCONNECT];\n closePeer(tempError);\n }\n }\n }\n };\n\n peerConnection.ontrack = function (e) {\n\n OvenPlayerConsole.log(\"stream received.\");\n\n OvenPlayerConsole.log('Recovery On Packet Loss :', recoverPacketLoss);\n\n if (recoverPacketLoss) {\n extractLossPacketsOnNetworkStatus(mainPeerConnectionInfo);\n }\n\n mainStream = e.streams[0];\n loadCallback(e.streams[0]);\n\n if (playerConfig.getConfig().webrtcConfig && playerConfig.getConfig().webrtcConfig.playoutDelayHint) {\n\n let hint = playerConfig.getConfig().webrtcConfig.playoutDelayHint;\n\n const receivers = mainPeerConnectionInfo.peerConnection.getReceivers();\n\n for (let i = 0; i < receivers.length; i++) {\n\n let receiver = receivers[i];\n\n if (receiver.track.kind === 'audio') {\n\n receiver.playoutDelayHint = hint;\n receiver.jitterBufferDelayHint = hint;\n } else {\n\n receiver.playoutDelayHint = hint;\n }\n\n OvenPlayerConsole.log(\"WebRTC playoutDelayHint\", receiver, hint);\n }\n\n }\n };\n }\n\n function createClientPeerConnection(hostId, clientId) {\n\n if (!mainStream) {\n\n setTimeout(function () {\n\n createClientPeerConnection(hostId, clientId);\n }, 100);\n\n return;\n }\n\n let peerConnection = new RTCPeerConnection(defaultConnectionConfig);\n\n clientPeerConnections[clientId] = {\n id: clientId,\n peerId: hostId,\n peerConnection: peerConnection\n };\n\n peerConnection.addStream(mainStream);\n\n // let offerOption = {\n // offerToReceiveAudio: 1,\n // offerToReceiveVideo: 1\n // };\n\n peerConnection.createOffer(setLocalAndSendMessage, handleCreateOfferError, {});\n\n function setLocalAndSendMessage(sessionDescription) {\n peerConnection.setLocalDescription(sessionDescription);\n\n sendMessage(ws, {\n id: hostId,\n peer_id: clientId,\n sdp: sessionDescription,\n command: 'offer_p2p'\n });\n }\n\n function handleCreateOfferError(event) {\n\n }\n\n peerConnection.onicecandidate = function (e) {\n if (e.candidate) {\n OvenPlayerConsole.log(\"WebRTCLoader send candidate to server : \" + e.candidate);\n\n\n // console.log('Client Peer Connection candidate', e.candidate);\n\n sendMessage(ws, {\n id: hostId,\n peer_id: clientId,\n command: \"candidate_p2p\",\n candidates: [e.candidate]\n });\n\n }\n };\n }\n\n function generateDomainFromUrl(url) {\n let result = '';\n let match;\n if (match = url.match(/^(?:wss?:\\/\\/)?(?:[^@\\n]+@)?(?:www\\.)?([^:\\/\\n\\?\\=]+)/im)) {\n result = match[1];\n }\n\n return result;\n }\n\n function findIp(string) {\n\n let result = '';\n let match;\n\n if (match = string.match(new RegExp(\"\\\\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\b\", 'gi'))) {\n result = match[0];\n }\n\n return result;\n }\n\n function copyCandidate(basicCandidate) {\n\n let cloneCandidate = _.clone(basicCandidate);\n\n let newDomain = generateDomainFromUrl(webSocketUrl);\n let ip = findIp(cloneCandidate.candidate);\n\n return new Promise(function (resolve, reject) {\n\n if (ip === '' || ip === newDomain) {\n\n resolve(null);\n }\n\n // firefox browser throws a candidate parsing exception when a domain name is set at the address property. So we resolve the dns using google dns resolve api.\n if (currentBrowser.browser === 'Firefox' && !findIp(newDomain)) {\n\n resolve(null);\n\n } else {\n\n cloneCandidate.candidate = cloneCandidate.candidate.replace(ip, newDomain);\n resolve(cloneCandidate);\n }\n\n });\n }\n\n function addIceCandidate(peerConnection, candidates) {\n\n for (let i = 0; i < candidates.length; i++) {\n if (candidates[i] && candidates[i].candidate) {\n\n let basicCandidate = candidates[i];\n\n peerConnection.addIceCandidate(new RTCIceCandidate(basicCandidate)).then(function () {\n OvenPlayerConsole.log(\"addIceCandidate : success\");\n }).catch(function (error) {\n let tempError = ERRORS.codes[PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR];\n tempError.error = error;\n closePeer(tempError);\n });\n\n if (generatePublicCandidate) {\n\n let cloneCandidatePromise = copyCandidate(basicCandidate);\n\n if (cloneCandidatePromise) {\n cloneCandidatePromise.then(function (cloneCandidate) {\n\n if (cloneCandidate) {\n\n peerConnection.addIceCandidate(new RTCIceCandidate(cloneCandidate)).then(function () {\n OvenPlayerConsole.log(\"cloned addIceCandidate : success\");\n\n }).catch(function (error) {\n\n let tempError = ERRORS.codes[PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR];\n tempError.error = error;\n closePeer(tempError);\n });\n }\n });\n }\n }\n }\n }\n }\n\n function initWebSocket() {\n\n try {\n\n ws = new WebSocket(webSocketUrl);\n\n ws.onopen = function () {\n\n wsConnected = true;\n\n sendMessage(ws, {\n command: \"request_offer\"\n });\n };\n\n ws.onmessage = function (e) {\n\n const message = JSON.parse(e.data);\n\n if (message.error) {\n let tempError = ERRORS.codes[PLAYER_WEBRTC_WS_ERROR];\n tempError.error = message.error;\n closePeer(tempError);\n return;\n }\n\n if (Object.keys(message).length === 0 && message.constructor === Object) {\n\n OvenPlayerConsole.log('Empty Message');\n return;\n }\n\n if (message.command === 'ping') {\n\n sendMessage(ws, {command: 'pong'});\n return;\n }\n\n if (message.command === 'offer') {\n\n let iceServers = message.iceServers || message.ice_servers;\n\n createMainPeerConnection(message.id, message.peer_id, message.sdp, message.candidates, iceServers);\n if (message.peer_id === 0) {\n provider.trigger(OME_P2P_MODE, false);\n } else {\n provider.trigger(OME_P2P_MODE, true);\n }\n }\n\n if (message.command === 'request_offer_p2p') {\n\n createClientPeerConnection(message.id, message.peer_id);\n }\n\n if (message.command === 'answer_p2p') {\n\n let peerConnection1 = getPeerConnectionById(message.peer_id);\n\n peerConnection1.setRemoteDescription(new RTCSessionDescription(message.sdp))\n .then(function (desc) {\n\n })\n .catch(function (error) {\n let tempError = ERRORS.codes[PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR];\n tempError.error = error;\n closePeer(tempError);\n });\n }\n\n if (message.command === 'candidate') {\n\n // Candidates for new client peer\n let peerConnection2 = getPeerConnectionById(message.id);\n\n addIceCandidate(peerConnection2, message.candidates);\n }\n\n if (message.command === 'candidate_p2p') {\n\n // Candidates for new client peer\n let peerConnection3 = getPeerConnectionById(message.peer_id);\n\n addIceCandidate(peerConnection3, message.candidates);\n }\n\n if (message.command === 'notification') {\n\n if (message.type === 'playlist') {\n\n const renditions = message.message.renditions;\n playlistFromOme = message.message;\n\n for (let i = 0; i < renditions.length; i++) {\n\n let rendition = renditions[i];\n\n spec.qualityLevels.push({\n bitrate: rendition.video_track.video.bitrate,\n height: rendition.video_track.video.height,\n width: rendition.video_track.video.width,\n index: i,\n label: rendition.name\n });\n }\n\n spec.currentQuality = 0;\n autoQuality = message.message.auto;\n }\n\n if (message.type === 'rendition_changed') {\n\n const rendition = message.message;\n\n if (message.auto) {\n autoQuality = message.auto;\n }\n\n let qualityIndex = -1;\n\n for (let i = 0; i < playlistFromOme.renditions.length; i ++) {\n\n if (rendition.rendition_name === playlistFromOme.renditions[i].name) {\n qualityIndex = i;\n spec.currentQuality = i;\n break;\n }\n }\n\n provider.trigger(CONTENT_LEVEL_CHANGED, {\n isAuto: autoQuality,\n currentQuality: qualityIndex,\n type: \"render\"\n });\n }\n }\n\n if (message.command === 'stop') {\n\n if (mainPeerConnectionInfo.peerId === message.peer_id) {\n\n //My parent was dead. And then I will retry.\n\n // close connection with host and retry\n // console.log('close connection with host');\n\n mainStream = null;\n mainPeerConnectionInfo.peerConnection.close();\n mainPeerConnectionInfo = null;\n\n //resetCallback();\n provider.pause();\n\n sendMessage(ws, {\n command: 'request_offer'\n });\n\n } else {\n\n // close connection with client\n if (clientPeerConnections[message.peer_id]) {\n // console.log('close connection with client: ', message.peer_id);\n clientPeerConnections[message.peer_id].peerConnection.close();\n delete clientPeerConnections[message.peer_id];\n }\n }\n }\n };\n ws.onclose = function (e) {\n\n if (!wsClosedByPlayer) {\n\n if (connectedCallback) {\n if (!wsConnected) {\n\n // If the websocket is closed while there is no connection,\n // it is judged as a timeout.\n closePeer();\n return;\n }\n }\n\n let tempError = ERRORS.codes[PLAYER_WEBRTC_WS_ERROR];\n\n if (mainPeerConnectionInfo) {\n tempError = ERRORS.codes[PLAYER_WEBRTC_UNEXPECTED_DISCONNECT];\n }\n\n closePeer(tempError);\n }\n };\n\n ws.onerror = function (error) {\n\n };\n\n } catch (error) {\n\n closePeer(error);\n }\n }\n\n function initialize() {\n\n OvenPlayerConsole.log(\"WebRTCLoader connecting...\");\n OvenPlayerConsole.log(\"WebRTCLoader url : \" + webSocketUrl);\n\n initWebSocket();\n }\n\n function closePeer(error) {\n\n OvenPlayerConsole.log('WebRTC Loader closePeer()');\n\n if (!error) {\n wsClosedByPlayer = true;\n }\n\n if (mainPeerConnectionInfo) {\n\n if (mainPeerConnectionInfo.statisticsTimer) {\n clearTimeout(mainPeerConnectionInfo.statisticsTimer);\n }\n\n mainStream = null;\n\n OvenPlayerConsole.log('Closing main peer connection...');\n if (statisticsTimer) {\n clearTimeout(statisticsTimer);\n }\n\n if (mainPeerConnectionInfo.peerConnection) {\n\n mainPeerConnectionInfo.peerConnection.close();\n }\n\n mainPeerConnectionInfo.peerConnection = null;\n provider.trigger(PEER_CONNECTION_DESTROYED);\n mainPeerConnectionInfo = null;\n }\n\n if (Object.keys(clientPeerConnections).length > 0) {\n\n for (let clientId in clientPeerConnections) {\n\n let clientPeerConnection = clientPeerConnections[clientId].peerConnection;\n\n if (clientPeerConnection) {\n OvenPlayerConsole.log('Closing client peer connection...');\n clientPeerConnection.close();\n clientPeerConnection = null;\n }\n }\n\n clientPeerConnections = {};\n }\n\n if (ws) {\n OvenPlayerConsole.log('Closing websocket connection...');\n OvenPlayerConsole.log(\"Send Signaling : Stop.\");\n /*\n 0 (CONNECTING)\n 1 (OPEN)\n 2 (CLOSING)\n 3 (CLOSED)\n */\n if (ws.readyState === 1) {\n\n wsClosedByPlayer = true;\n\n if (mainPeerConnectionInfo) {\n sendMessage(ws, {\n command: 'stop',\n id: mainPeerConnectionInfo.id\n });\n }\n\n ws.close();\n }\n\n } else {\n wsClosedByPlayer = false;\n }\n\n ws = null;\n\n if (error) {\n\n if (internalErrorCallback) {\n internalErrorCallback(error);\n }\n\n errorTrigger(error, provider);\n }\n }\n\n function sendMessage(ws, message) {\n\n if (ws) {\n ws.send(JSON.stringify(message));\n }\n\n }\n\n provider.setCurrentQuality = (qualityIndex) => {\n\n if (!playlistFromOme) {\n return -1;\n }\n\n let rendition = playlistFromOme.renditions[qualityIndex];\n\n if (!rendition) {\n return spec.currentQuality;\n }\n\n sendMessage(ws, {\n command: 'change_rendition',\n id: mainPeerConnectionInfo.id,\n rendition_name: rendition.name,\n auto: false\n });\n\n autoQuality = false;\n\n spec.currentQuality = qualityIndex;\n return spec.currentQuality;\n };\n\n provider.isAutoQuality = () => {\n\n return autoQuality;\n };\n\n provider.setAutoQuality = (auto) => {\n\n sendMessage(ws, {\n command: 'change_rendition',\n id: mainPeerConnectionInfo.id,\n auto: auto\n });\n autoQuality = auto;\n };\n\n that.connect = () => {\n\n initialize();\n };\n\n that.destroy = () => {\n\n wsClosedByPlayer = true;\n closePeer();\n\n window.onbeforeunload = existingHandler;\n existingHandler = null;\n };\n\n return that;\n};\n\nexport default WebRTCLoader;\n","/**\n * Created by hoho on 2018. 6. 11..\n */\nimport Provider from \"api/provider/html5/Provider\";\nimport WebRTCLoader from \"api/provider/html5/providers/WebRTCLoader\";\nimport {isWebRTC} from \"utils/validator\";\nimport {errorTrigger} from \"api/provider/utils\";\nimport {PROVIDER_WEBRTC, ERROR, PLAYER_STATE, STATE_IDLE, STATE_LOADING} from \"api/constants\";\nimport {ERRORS, PLAYER_WEBRTC_TIMEOUT} from \"../../../constants\";\n\n/**\n * @brief webrtc provider extended core.\n * @param container player element.\n * @param playerConfig config.\n * */\n\nconst WebRTC = function (element, playerConfig, adTagUrl) {\n let that = {};\n let webrtcLoader = null;\n let superDestroy_func = null;\n let superPlay_func = null;\n\n let sourceFile = null;\n\n let audioCtx = null;\n\n let spec = {\n name: PROVIDER_WEBRTC,\n element: element,\n mse: null,\n listener: null,\n isLoaded: false,\n canSeek: false,\n isLive: false,\n seeking: false,\n state: STATE_IDLE,\n buffer: 0,\n framerate: 0,\n currentQuality: -1,\n currentSource: -1,\n qualityLevels: [],\n sources: [],\n adTagUrl: adTagUrl\n };\n\n let connectionTimeout = 10000;\n let timeoutMaxRetry = 0;\n let connectionCheckTimer = null;\n let connected = false;\n let connectionStartTime = null;\n let connectedTime = null;\n\n const device = () => {\n return {\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),\n iOS: /iPhone|iPad|iPod/i.test(navigator.userAgent)\n }\n };\n\n const unlockAudio = (audioCtx) => {\n let currentDevice = device();\n let called = false;\n if (currentDevice.isMobile && audioCtx.state === 'suspended') {\n\n document.addEventListener('touchend', () => {\n if (!called && audioCtx.state !== 'running') {\n audioCtx.resume();\n called = true\n }\n })\n }\n };\n\n function loadWebRTCLoader() {\n\n if (isWebRTC(sourceFile.file, sourceFile.type)) {\n\n clearTimeout(connectionCheckTimer);\n\n OvenPlayerConsole.log(\"WEBRTC : onBeforeLoad : \", sourceFile);\n\n if (webrtcLoader) {\n webrtcLoader.destroy();\n webrtcLoader = null;\n }\n\n const loadCallback = function (stream) {\n\n if (element.srcObject) {\n element.srcObject = null;\n }\n\n if (audioCtx) {\n audioCtx.close();\n audioCtx = null;\n }\n\n element.srcObject = stream;\n\n if (stream.getAudioTracks().length > 0) {\n\n // Add some weird code to avoid the audio delay bug in Safari.\n // We don't even know why this code solves the audio delay.\n const AudioContext = window.AudioContext || window.webkitAudioContext;\n\n // This code resolves audio delay in MacOS not IOS.\n audioCtx = new AudioContext();\n unlockAudio(audioCtx);\n\n\n // This code resolves audio delay in IOS.\n audioCtx.createMediaStreamSource(stream);\n }\n\n };\n\n let internalErrorCallback = null;\n let connectedCallback = null;\n\n // add callback to check time out\n if (timeoutMaxRetry > 0) {\n\n internalErrorCallback = function () {\n\n clearTimeout(connectionCheckTimer);\n };\n\n connectedCallback = function () {\n\n clearTimeout(connectionCheckTimer);\n connectedTime = performance.now();\n connected = true;\n };\n }\n\n webrtcLoader = WebRTCLoader(\n that,\n sourceFile.file,\n loadCallback,\n connectedCallback,\n internalErrorCallback,\n errorTrigger,\n playerConfig,\n spec\n );\n\n connectionStartTime = performance.now();\n webrtcLoader.connect();\n\n // add connection time out checker\n if (timeoutMaxRetry > 0) {\n\n that.once(PLAYER_STATE, function (e) {\n\n if (!connected) {\n if (e.newstate === STATE_IDLE) {\n\n clearTimeout(connectionCheckTimer);\n destroyWebRtcLoader();\n }\n }\n });\n\n that.once(ERROR, function () {\n\n connected = false;\n });\n\n connectionCheckTimer = setTimeout(function () {\n\n if (timeoutMaxRetry > 0) {\n if (!connected) {\n\n destroyWebRtcLoader();\n loadWebRTCLoader();\n }\n } else {\n destroyWebRtcLoader();\n let error = ERRORS.codes[PLAYER_WEBRTC_TIMEOUT];\n errorTrigger(error, that);\n }\n\n timeoutMaxRetry--;\n\n }, connectionTimeout);\n }\n }\n }\n\n function destroyWebRtcLoader() {\n\n if (webrtcLoader) {\n webrtcLoader.destroy();\n webrtcLoader = null;\n element.srcObject = null;\n }\n }\n\n that = Provider(spec, playerConfig, function (source) {\n\n const config = playerConfig.getConfig();\n\n if (config.webrtcConfig) {\n\n if (typeof config.webrtcConfig.connectionTimeout === 'number'\n && config.webrtcConfig.connectionTimeout > 0) {\n\n connectionTimeout = config.webrtcConfig.connectionTimeout;\n }\n\n if (typeof config.webrtcConfig.timeoutMaxRetry === 'number'\n && config.webrtcConfig.timeoutMaxRetry > 0) {\n\n timeoutMaxRetry = config.webrtcConfig.timeoutMaxRetry;\n }\n }\n\n sourceFile = source;\n loadWebRTCLoader();\n });\n\n superDestroy_func = that.super('destroy');\n superPlay_func = that.super('play');\n\n OvenPlayerConsole.log(\"WEBRTC PROVIDER LOADED.\");\n\n that.removeStream = () => {\n element.srcObject = null;\n };\n\n\n that.destroy = () => {\n\n clearTimeout(connectionCheckTimer);\n\n destroyWebRtcLoader();\n\n OvenPlayerConsole.log(\"WEBRTC : PROVIDER DESTROYED.\");\n\n superDestroy_func();\n\n };\n\n that.play = () => {\n\n if (timeoutMaxRetry > 0 && !connected) {\n\n loadWebRTCLoader();\n }\n\n superPlay_func();\n };\n\n return that;\n};\n\n\nexport default WebRTC;\n","/**\n * Created by hoho on 2018. 11. 14..\n */\n\nconst sizeHumanizer = function (bytes, si, postpix) {\n let thresh = si ? 1000 : 1024;\n if(Math.abs(bytes) < thresh) {\n return bytes + ' B';\n }\n let unit = postpix||\"B\";\n let units = ['k'+unit,'M'+unit,'G'+unit,'T'+unit,'P'+unit,'E'+unit,'Z'+unit,'Y'+unit];\n // ? ['kB','MB','GB','TB','PB','EB','ZB','YB']: ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];\n let u = -1;\n do {\n bytes /= thresh;\n ++u;\n } while(Math.abs(bytes) >= thresh && u < units.length - 1);\n return bytes.toFixed(1)+units[u];\n}\n\nexport default sizeHumanizer;","/**\n * Created by hoho on 2018. 6. 14..\n */\nimport Provider from \"api/provider/html5/Provider\";\nimport {errorTrigger} from \"api/provider/utils\";\nimport sizeHumanizer from \"utils/sizeHumanizer\";\nimport {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n INIT_DASH_UNSUPPORT,\n INIT_DASH_FAIL,\n ERRORS,\n PLAYER_UNKNWON_NETWORK_ERROR,\n CONTENT_LEVEL_CHANGED,\n PROVIDER_DASH,\n DASH_PREPARED,\n DASH_DESTROYED\n} from \"api/constants\";\nimport _ from \"utils/underscore\";\nimport {STATE_LOADING} from \"../../../constants\";\n\n/**\n * @brief dashjs provider extended core.\n * @param container player element.\n * @param playerConfig config.\n * */\nconst DASHERROR = {\n DOWNLOAD: \"download\",\n MANIFESTERROR: \"manifestError\"\n};\nconst Dash = function (element, playerConfig, adTagUrl) {\n\n let that = {};\n let dash = null;\n let superPlay_func = null;\n let superDestroy_func = null;\n let seekPosition_sec = 0;\n let prevLLLiveDuration = null;\n let loadRetryer = null;\n let sourceOfFile = \"\";\n\n try {\n\n if (dashjs.Version < \"3.0.0\") {\n throw ERRORS.codes[INIT_DASH_UNSUPPORT];\n }\n\n const coveredSetAutoSwitchQualityFor = function (isAuto) {\n\n dash.updateSettings({\n streaming: {\n abr: {\n autoSwitchBitrate: {\n video: isAuto\n }\n }\n }\n });\n };\n\n const coveredGetAutoSwitchQualityFor = function () {\n\n return dash.getSettings().streaming.abr.autoSwitchBitrate.video;\n };\n\n const liveDelayReducingCallback = function () {\n\n if (dash.duration() !== prevLLLiveDuration) {\n prevLLLiveDuration = dash.duration();\n\n let dvrInfo = dash.getDashMetrics().getCurrentDVRInfo();\n let liveDelay = playerConfig.getConfig().lowLatencyMpdLiveDelay;\n\n if (!liveDelay) {\n liveDelay = 3;\n }\n\n dash.seek(dvrInfo.range.end - dvrInfo.range.start - liveDelay)\n }\n\n };\n\n dash = dashjs.MediaPlayer().create();\n dash.initialize(element, null, false);\n\n window.op_dash = dash;\n\n let spec = {\n name: PROVIDER_DASH,\n element: element,\n mse: dash,\n listener: null,\n isLoaded: false,\n canSeek: false,\n isLive: false,\n seeking: false,\n state: STATE_IDLE,\n buffer: 0,\n framerate: 0,\n currentQuality: -1,\n currentSource: -1,\n qualityLevels: [],\n sources: [],\n adTagUrl: adTagUrl\n };\n\n that = Provider(spec, playerConfig, function (source, lastPlayPosition) {\n\n OvenPlayerConsole.log(\"DASH : Attach File : \", source, \"lastPlayPosition : \" + lastPlayPosition);\n\n coveredSetAutoSwitchQualityFor(true);\n sourceOfFile = source.file;\n\n // dash.off(dashjs.MediaPlayer.events.PLAYBACK_PLAYING, liveDelayReducingCallback);\n\n if (source.lowLatency === true) {\n\n prevLLLiveDuration = null;\n\n dash.updateSettings({\n streaming: {\n lowLatencyEnabled: source.lowLatency\n }\n });\n\n if (playerConfig.getConfig().lowLatencyMpdLiveDelay && typeof(playerConfig.getConfig().lowLatencyMpdLiveDelay) === 'number') {\n\n dash.updateSettings({\n streaming: {\n liveDelay: playerConfig.getConfig().lowLatencyMpdLiveDelay\n }\n });\n }\n\n // dash.on(dashjs.MediaPlayer.events.PLAYBACK_PLAYING, liveDelayReducingCallback);\n\n } else {\n\n dash.updateSettings({\n streaming: {\n lowLatencyEnabled: false,\n liveDelay: undefined\n }\n });\n\n }\n\n dash.updateSettings({\n debug: {\n logLevel: dashjs.Debug.LOG_LEVEL_NONE\n }\n });\n\n let dashConfigFromPlayerConfig = playerConfig.getConfig().dashConfig;\n\n if (dashConfigFromPlayerConfig) {\n dash.updateSettings(dashConfigFromPlayerConfig);\n }\n\n that.trigger(DASH_PREPARED, dash);\n\n dash.attachSource(sourceOfFile);\n\n seekPosition_sec = lastPlayPosition;\n });\n\n superPlay_func = that.super('play');\n superDestroy_func = that.super('destroy');\n OvenPlayerConsole.log(\"DASH PROVIDER LOADED.\");\n\n dash.on(dashjs.MediaPlayer.events.ERROR, function (error) {\n\n let tempError = ERRORS.codes[PLAYER_UNKNWON_NETWORK_ERROR];\n tempError.error = error;\n errorTrigger(tempError, that);\n });\n\n dash.on(dashjs.MediaPlayer.events.QUALITY_CHANGE_REQUESTED, function (event) {\n if (event && event.mediaType && event.mediaType === \"video\") {\n that.trigger(CONTENT_LEVEL_CHANGED, {\n isAuto: coveredGetAutoSwitchQualityFor(),\n currentQuality: spec.currentQuality,\n type: \"request\"\n });\n }\n });\n dash.on(dashjs.MediaPlayer.events.QUALITY_CHANGE_RENDERED, function (event) {\n if (event && event.mediaType && event.mediaType === \"video\") {\n spec.currentQuality = event.newQuality;\n that.trigger(CONTENT_LEVEL_CHANGED, {\n isAuto: coveredGetAutoSwitchQualityFor(),\n currentQuality: event.newQuality,\n type: \"render\"\n });\n }\n });\n\n dash.on(dashjs.MediaPlayer.events.PLAYBACK_METADATA_LOADED, function (event) {\n\n OvenPlayerConsole.log(\"DASH : PLAYBACK_METADATA_LOADED : \", dash.getQualityFor(\"video\"), dash.getBitrateInfoListFor('video'), dash.getBitrateInfoListFor('video')[dash.getQualityFor(\"video\")]);\n\n let subQualityList = dash.getBitrateInfoListFor('video');\n spec.currentQuality = dash.getQualityFor(\"video\");\n for (let i = 0; i < subQualityList.length; i++) {\n if (!_.findWhere(spec.qualityLevels, {bitrate: subQualityList[i].bitrate, height: subQualityList[i].height, width: subQualityList[i].width})) {\n spec.qualityLevels.push({\n bitrate: subQualityList[i].bitrate,\n height: subQualityList[i].height,\n width: subQualityList[i].width,\n index: subQualityList[i].qualityIndex,\n label: subQualityList[i].width + \"x\" + subQualityList[i].height + \", \" + sizeHumanizer(subQualityList[i].bitrate, true, \"bps\")\n });\n }\n }\n\n if (dash.isDynamic()) {\n spec.isLive = true;\n }\n\n if (seekPosition_sec && !spec.isLive) {\n dash.seek(seekPosition_sec);\n }\n\n });\n\n that.play = (mutedPlay) => {\n\n if (that.getState() === STATE_AD_PLAYING || that.getState() === STATE_AD_PAUSED) {\n\n } else {\n\n superPlay_func(mutedPlay);\n }\n\n };\n\n that.setCurrentQuality = (qualityIndex) => {\n if (that.getState() !== STATE_PLAYING) {\n that.play();\n }\n spec.currentQuality = qualityIndex;\n if (coveredGetAutoSwitchQualityFor()) {\n coveredSetAutoSwitchQualityFor(false);\n }\n dash.setQualityFor(\"video\", qualityIndex);\n return spec.currentQuality;\n };\n that.isAutoQuality = () => {\n return coveredGetAutoSwitchQualityFor();\n };\n that.setAutoQuality = (isAuto) => {\n coveredSetAutoSwitchQualityFor(isAuto);\n };\n that.destroy = () => {\n\n if (dash.destroy) {\n\n dash.destroy();\n } else {\n\n dash.reset();\n }\n\n dash = null;\n that.trigger(DASH_DESTROYED);\n OvenPlayerConsole.log(\"DASH : PROVIDER DESTROYED.\");\n superDestroy_func();\n };\n } catch (error) {\n\n if (error && error.code && error.code === INIT_DASH_UNSUPPORT) {\n throw error;\n } else {\n let tempError = ERRORS.codes[INIT_DASH_FAIL];\n tempError.error = error;\n throw tempError;\n }\n }\n\n return that;\n};\n\n\nexport default Dash;\n","/**\n * Created by hoho on 2018. 6. 7..\n */\nimport Provider from \"api/provider/html5/Provider\";\nimport { errorTrigger } from \"api/provider/utils\";\nimport {\n PROVIDER_HLS,\n PLAYER_STATE, STATE_IDLE, STATE_LOADING,\n ERRORS,\n INIT_HLSJS_FAIL,\n HLS_PREPARED,\n HLS_DESTROYED,\n PLAYER_UNKNWON_NETWORK_ERROR,\n PLAYER_BAD_REQUEST_ERROR,\n PLAYER_AUTH_FAILED_ERROR,\n PLAYER_NOT_ACCEPTABLE_ERROR, STATE_PLAYING, CONTENT_LEVEL_CHANGED, AUDIO_TRACK_CHANGED\n} from \"api/constants\";\n\nimport sizeHumanizer from \"utils/sizeHumanizer\";\n\n/**\n * @brief hlsjs provider extended core.\n * @param container player element.\n * @param playerConfig config.\n * */\n\n\nconst HlsProvider = function (element, playerConfig, adTagUrl) {\n let that = {};\n let hls = null;\n let superStop_func = null;\n let superDestroy_func = null;\n let loadRetryer = null;\n let isManifestLoaded = false;\n let firstLoaded = false;\n\n try {\n\n let hlsConfig = {\n debug: false\n };\n\n let hlsConfigFromPlayerConfig = playerConfig.getConfig().hlsConfig;\n\n if (hlsConfigFromPlayerConfig) {\n\n for (let key in hlsConfigFromPlayerConfig) {\n hlsConfig[key] = hlsConfigFromPlayerConfig[key];\n }\n }\n\n hls = new Hls(hlsConfig);\n\n window.op_hls = hls;\n\n hls.attachMedia(element);\n\n let spec = {\n name: PROVIDER_HLS,\n element: element,\n mse: hls,\n listener: null,\n isLoaded: false,\n canSeek: false,\n isLive: false,\n seeking: false,\n state: STATE_IDLE,\n buffer: 0,\n dvrWindow: 0,\n framerate: 0,\n currentQuality: -1,\n qualityLevels: [],\n currentAudioTrack: -1,\n audioTracks: [],\n currentSource: -1,\n sources: [],\n adTagUrl: adTagUrl\n };\n\n that = Provider(spec, playerConfig, function (source, lastPlayPosition) {\n\n OvenPlayerConsole.log(\"HLS : onExtendedLoad : \", source, \"lastPlayPosition : \" + lastPlayPosition);\n\n that.trigger(HLS_PREPARED, hls);\n\n hls.loadSource(source.file);\n\n hls.once(Hls.Events.MANIFEST_LOADED, function (event, data) {\n\n isManifestLoaded = true;\n\n for (let i = 0; i < hls.levels.length; i++) {\n\n let qualityLevel = hls.levels[i];\n\n spec.qualityLevels.push({\n bitrate: qualityLevel.bitrate,\n height: qualityLevel.height,\n width: qualityLevel.width,\n index: i,\n label: qualityLevel.width + \"x\" + qualityLevel.height + \", \" + sizeHumanizer(qualityLevel.bitrate, true, \"bps\")\n });\n }\n\n spec.currentQuality = hls.firstLevel;\n\n for (let i = 0; i < hls.audioTracks.length; i++) {\n\n let audioTrack = hls.audioTracks[i];\n\n spec.audioTracks.push({\n index: audioTrack.id,\n label: audioTrack.name\n });\n\n if (audioTrack.default === true) {\n spec.currentAudioTrack = audioTrack.id;\n }\n }\n });\n\n hls.once(Hls.Events.LEVEL_LOADED, function (event, data) {\n\n firstLoaded = true;\n\n if (loadRetryer) {\n clearTimeout(loadRetryer);\n loadRetryer = null;\n }\n\n if (data.details.live) {\n spec.isLive = true;\n } else {\n\n if (lastPlayPosition && lastPlayPosition >= 0) {\n that.seek(lastPlayPosition);\n }\n }\n });\n\n hls.on(Hls.Events.LEVEL_SWITCHED, function (event, data) {\n\n spec.currentQuality = data.level;\n\n that.trigger(CONTENT_LEVEL_CHANGED, {\n isAuto: hls.autoLevelEnabled,\n currentQuality: spec.currentQuality,\n type: \"render\"\n });\n });\n\n hls.on(Hls.Events.AUDIO_TRACK_SWITCHED , function (event, data) {\n\n spec.currentAudioTrack = data.id;\n that.trigger(AUDIO_TRACK_CHANGED, {\n currentAudioTrack: spec.currentAudioTrack\n });\n });\n\n hls.on(Hls.Events.LEVEL_UPDATED, function (event, data) {\n if (data && data.details) {\n spec.dvrWindow = data.details.totalduration;\n }\n\n });\n\n hls.on(Hls.Events.ERROR, function (event, data) {\n\n if (data && data.networkDetails && data.networkDetails.status === 202) {\n\n if (loadRetryer) {\n clearTimeout(loadRetryer);\n loadRetryer = null;\n }\n\n that.setState(STATE_LOADING);\n\n loadRetryer = setTimeout(function () {\n\n if (hls) {\n\n that.stop();\n hls.stopLoad();\n hls.loadSource(source.file);\n }\n\n }, 1000);\n\n return;\n }\n\n if (!data.fatal) {\n // do nothing when non fatal error. hlsjs will recover it automatically.\n return;\n }\n\n let errorType = PLAYER_UNKNWON_NETWORK_ERROR;\n\n if (data && data.networkDetails && data.networkDetails.status === 400) {\n errorType = PLAYER_BAD_REQUEST_ERROR;\n } else if (data && data.networkDetails && data.networkDetails.status === 403) {\n errorType = PLAYER_AUTH_FAILED_ERROR;\n } else if (data && data.networkDetails && data.networkDetails.status === 406) {\n errorType = PLAYER_NOT_ACCEPTABLE_ERROR;\n }\n\n let tempError = ERRORS.codes[errorType];\n tempError.error = data.details;\n errorTrigger(tempError, that);\n });\n\n that.on(PLAYER_STATE, function (data) {\n\n if (!firstLoaded && data.prevstate === STATE_LOADING && data.newstate === STATE_IDLE) {\n\n if (loadRetryer) {\n clearTimeout(loadRetryer);\n loadRetryer = null;\n }\n\n if (hls) {\n\n hls.stopLoad();\n }\n }\n });\n });\n\n that.setCurrentQuality = (qualityIndex) => {\n\n hls.currentLevel = qualityIndex;\n spec.currentQuality = qualityIndex;\n\n return spec.currentQuality;\n };\n\n that.isAutoQuality = () => {\n return hls.autoLevelEnabled;\n };\n\n that.setAutoQuality = (isAuto) => {\n if (isAuto) {\n hls.currentLevel = -1;\n } else {\n hls.currentLevel = hls.currentLevel;\n }\n };\n\n that.setCurrentAudioTrack = (audioTrackIndex) => {\n hls.audioTrack = audioTrackIndex;\n spec.currentAudioTrack = audioTrackIndex;\n\n return spec.currentAudioTrack;\n };\n\n that.getDuration = () => {\n return element.duration;\n }\n\n superStop_func = that.super('stop');\n that.stop = () => {\n\n if (loadRetryer) {\n\n clearTimeout(loadRetryer);\n loadRetryer = null;\n }\n\n if (hls) {\n hls.stopLoad();\n }\n\n superStop_func();\n };\n\n superDestroy_func = that.super('destroy');\n that.destroy = () => {\n\n if (loadRetryer) {\n\n clearTimeout(loadRetryer);\n loadRetryer = null;\n }\n\n if (hls) {\n\n hls.destroy();\n that.trigger(HLS_DESTROYED);\n }\n\n hls = null;\n OvenPlayerConsole.log(\"HLS : PROVIDER DESTROYED.\");\n superDestroy_func();\n };\n\n OvenPlayerConsole.log(\"HLS PROVIDER LOADED.\");\n } catch (error) {\n let tempError = ERRORS.codes[INIT_HLSJS_FAIL];\n tempError.error = error;\n throw tempError;\n }\n\n return that;\n};\n\n\nexport default HlsProvider;","import OvenPlayerSDK from \"ovenplayer.sdk\"\nimport CaptionManager from \"api/caption/Manager\";\nimport Configurator from \"api/Configurator\";\nimport EventEmitter from \"api/EventEmitter\";\nimport MediaManager from \"api/media/Manager\";\nimport PlaylistManager from \"api/playlist/Manager\";\nimport ProviderController from \"api/provider/Controller\";\nimport {\n READY,\n ERRORS,\n ERROR,\n CONTENT_COMPLETE,\n CONTENT_META,\n INIT_UNKNWON_ERROR,\n INIT_UNSUPPORT_ERROR,\n DESTROY,\n PLAYER_PLAY,\n NETWORK_UNSTABLED,\n PLAYER_WEBRTC_NETWORK_SLOW,\n PLAYER_WEBRTC_UNEXPECTED_DISCONNECT,\n PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR,\n PLAYER_FILE_ERROR,\n PROVIDER_DASH,\n PROVIDER_HLS,\n PROVIDER_WEBRTC,\n PROVIDER_HTML5,\n PROVIDER_RTMP,\n ALL_PLAYLIST_ENDED\n} from \"api/constants\";\n\nimport { ApiRtmpExpansion } from 'api/ApiExpansions';\nimport { analUserAgent } from \"utils/browser\";\nimport { pickCurrentSource } from \"api/provider/utils\";\nimport { version } from \"../version\";\nimport { CONTENT_SOURCE_CHANGED } from \"./constants\";\n\n/**\n * @brief This object connects UI to the provider.\n * @param {object} container dom element\n *\n * */\n\nconst Api = function (container) {\n const that = {};\n EventEmitter(that);\n\n OvenPlayerConsole.log(\"API loaded.\");\n\n let playlistManager = PlaylistManager(that);\n let providerController = ProviderController();\n let userAgentObject = analUserAgent();\n let mediaManager = MediaManager(container, userAgentObject);\n let currentProvider = \"\";\n let playerConfig = \"\";\n let captionManager = \"\";\n\n const runNextPlaylist = function (index) {\n OvenPlayerConsole.log(\"runNextPlaylist\");\n let nextPlaylistIndex = index; // || playlistManager.getCurrentPlaylistIndex() + 1;\n let playlist = playlistManager.getPlaylist();\n let hasNextPlaylist = playlist[nextPlaylistIndex] ? true : false;\n //init source index\n playerConfig.setSourceIndex(0);\n\n //set Golbal Volume info\n playerConfig.setVolume(currentProvider.getVolume());\n\n if (hasNextPlaylist) {\n\n playlistManager.setCurrentPlaylist(nextPlaylistIndex);\n initProvider();\n\n } else {\n //All Playlist Ended.\n that.trigger(ALL_PLAYLIST_ENDED, null);\n }\n };\n const initProvider = function (lastPlayPosition) {\n\n return providerController.loadProviders(playlistManager.getCurrentPlayList()).then(Providers => {\n\n if (Providers.length < 1) {\n throw ERRORS.codes[INIT_UNSUPPORT_ERROR];\n }\n\n if (currentProvider) {\n currentProvider.destroy();\n currentProvider = null;\n }\n\n if (captionManager) {\n captionManager.destroy();\n captionManager = null;\n }\n\n captionManager = CaptionManager(that, playlistManager.getCurrentPlaylistIndex());\n\n OvenPlayerConsole.log(\"API : init() captions\");\n\n let currentSourceIndex = pickCurrentSource(playlistManager.getCurrentSources(), playerConfig);\n let providerName = Providers[currentSourceIndex][\"name\"];\n OvenPlayerConsole.log(\"API : init() provider\", providerName);\n //Init Provider.\n currentProvider = Providers[currentSourceIndex].provider(\n mediaManager.createMedia(providerName, playerConfig),\n playerConfig,\n playlistManager.getCurrentAdTag()\n );\n\n if (providerName === PROVIDER_RTMP) {\n //If provider type is RTMP, we accepts RtmpExpansion.\n Object.assign(that, ApiRtmpExpansion(currentProvider));\n }\n\n //This passes the event created by the Provider to API.\n currentProvider.on(\"all\", function (name, data) {\n\n if (name === ERROR) {\n\n // Chrome >=80 on Android misses h246 in SDP when first time after web page loaded.\n // So wait until browser get h264 capabilities and create answer SDP.\n // if (userAgentObject.os === 'Android' && userAgentObject.browser === 'Chrome') {\n //\n // if (data && data.code && data.code === PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR) {\n //\n // setTimeout(function () {\n //\n // that.setCurrentSource(that.getCurrentSource());\n // }, webrtcRetryInterval);\n //\n // return;\n // }\n // }\n\n if (providerName === PROVIDER_WEBRTC) {\n currentProvider.removeStream();\n }\n\n if (playerConfig.getConfig().autoFallback && that.getCurrentSource() + 1 < that.getSources().length) {\n\n that.pause();\n that.setCurrentSource(that.getCurrentSource() + 1);\n\n return;\n }\n }\n\n if (name === CONTENT_COMPLETE) {\n runNextPlaylist(playlistManager.getCurrentPlaylistIndex() + 1);\n }\n\n if (name === CONTENT_META) {\n if (playerConfig.isAutoStart()) {\n that.play();\n }\n }\n\n that.trigger(name, data);\n });\n\n that.trigger(CONTENT_SOURCE_CHANGED, {\n currentSource: currentSourceIndex\n });\n\n\n }).then(() => {\n\n //provider's preload() have to made Promise. Cuz it overcomes 'flash loading timing problem'.\n currentProvider.preload(playlistManager.getCurrentSources(), lastPlayPosition).then(function () {\n\n\n }).catch((error) => {\n\n if (error && error.code && ERRORS.codes[error.code]) {\n that.trigger(ERROR, ERRORS.codes[error.code]);\n } else {\n let tempError = ERRORS.codes[INIT_UNKNWON_ERROR];\n tempError.error = error;\n that.trigger(ERROR, tempError);\n }\n });\n }).catch((error) => {\n //INIT ERROR\n if (error && error.code && ERRORS.codes[error.code]) {\n that.trigger(ERROR, ERRORS.codes[error.code]);\n } else {\n let tempError = ERRORS.codes[INIT_UNKNWON_ERROR];\n tempError.error = error;\n that.trigger(ERROR, tempError);\n }\n });\n };\n\n\n /**\n * init\n * @param {object} options player initial option value.\n * @returns\n **/\n that.init = (options) => {\n\n if (!options) {\n options = {};\n }\n\n options.mediaContainer = container;\n options.browser = userAgentObject;\n playerConfig = Configurator(options, that);\n OvenPlayerConsole.log(\"API : init()\");\n OvenPlayerConsole.log(\"API : init() config : \", playerConfig);\n\n //Not working : SyntaxError: \"ERRORS.codes\" is read-only\n ERRORS.codes = playerConfig.getSystemText().api.error;\n //Cool\n //ERRORS.codes.push(playerConfig.getSystemText());\n\n playlistManager.initPlaylist(playerConfig.getPlaylist(), playerConfig);\n OvenPlayerConsole.log(\"API : init() sources : \", playlistManager.getCurrentSources());\n\n initProvider();\n\n setTimeout(function () {\n that.trigger(READY);\n });\n };\n that.getProviderName = () => {\n if (currentProvider) {\n return currentProvider.getName();\n } else {\n return null;\n }\n\n };\n that.getProvider = () => {\n return currentProvider;\n };\n that.getMseInstance = () => {\n if (currentProvider) {\n return currentProvider.getMse();\n } else {\n return null;\n }\n\n };\n that.getConfig = () => {\n OvenPlayerConsole.log(\"API : getConfig()\", playerConfig.getConfig());\n return playerConfig.getConfig();\n };\n that.getBrowser = () => {\n\n return playerConfig.getBrowser();\n };\n that.setTimecodeMode = (isShow) => {\n OvenPlayerConsole.log(\"API : setTimecodeMode()\", isShow);\n playerConfig.setTimecodeMode(isShow);\n };\n that.isTimecodeMode = () => {\n OvenPlayerConsole.log(\"API : isTimecodeMode()\");\n return playerConfig.isTimecodeMode();\n };\n that.getFramerate = () => {\n OvenPlayerConsole.log(\"API : getFramerate()\");\n\n if (currentProvider) {\n return currentProvider.getFramerate();\n }\n\n };\n that.seekFrame = (frameCount) => {\n if (!currentProvider) {\n return null;\n }\n OvenPlayerConsole.log(\"API : seekFrame()\", frameCount);\n return currentProvider.seekFrame(frameCount);\n };\n that.getDuration = () => {\n if (!currentProvider) {\n return null;\n }\n OvenPlayerConsole.log(\"API : getDuration()\", currentProvider.getDuration());\n return currentProvider.getDuration();\n };\n that.getDvrWindow = () => {\n if (!currentProvider) {\n return null;\n }\n OvenPlayerConsole.log(\"API : getDvrWindow()\", currentProvider.getDvrWindow());\n return currentProvider.getDvrWindow();\n };\n that.getPosition = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getPosition()\", currentProvider.getPosition());\n return currentProvider.getPosition();\n };\n that.getVolume = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getVolume()\", currentProvider.getVolume());\n return currentProvider.getVolume();\n };\n that.setVolume = (volume) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setVolume() \" + volume);\n currentProvider.setVolume(volume);\n };\n that.setMute = (state) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setMute() \" + state);\n return currentProvider.setMute(state);\n };\n that.getMute = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getMute() \" + currentProvider.getMute());\n return currentProvider.getMute();\n };\n that.load = (playlist) => {\n OvenPlayerConsole.log(\"API : load() \", playlist);\n\n if (playlist) {\n\n playerConfig.setSourceIndex(0);\n\n if (currentProvider) {\n\n if (currentProvider.getQualityLevels().length > 0) {\n currentProvider.setCurrentQuality(0);\n }\n }\n\n if ('sources' in playlist) {\n playerConfig.setPlaylist(playlist);\n } else {\n playerConfig.setPlaylist({\n sources: playlist\n });\n }\n\n playlistManager.initPlaylist(playerConfig.getPlaylist(), playerConfig);\n }\n return initProvider();\n\n };\n that.play = () => {\n if (!currentProvider) {\n return null;\n }\n OvenPlayerConsole.log(\"API : play() \");\n\n if (!currentProvider.metaLoaded() && !playerConfig.isAutoStart()) {\n that.once(CONTENT_META, function () {\n currentProvider.play();\n });\n } else {\n currentProvider.play();\n }\n };\n that.pause = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : pause() \");\n currentProvider.pause();\n };\n that.seek = (position) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : seek() \" + position);\n currentProvider.seek(position);\n };\n that.setPlaybackRate = (playbackRate) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setPlaybackRate() \", playbackRate);\n return currentProvider.setPlaybackRate(playerConfig.setPlaybackRate(playbackRate));\n };\n that.getPlaybackRate = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getPlaybackRate() \", currentProvider.getPlaybackRate());\n return currentProvider.getPlaybackRate();\n };\n\n that.getPlaylist = () => {\n OvenPlayerConsole.log(\"API : getPlaylist() \", playlistManager.getPlaylist());\n return playlistManager.getPlaylist();\n };\n that.getCurrentPlaylist = () => {\n OvenPlayerConsole.log(\"API : getCurrentPlaylist() \", playlistManager.getCurrentPlaylistIndex());\n return playlistManager.getCurrentPlaylistIndex();\n };\n that.setCurrentPlaylist = (index) => {\n OvenPlayerConsole.log(\"API : setCurrentPlaylist() \", index);\n runNextPlaylist(index);\n };\n\n that.getSources = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getSources() \", currentProvider.getSources());\n return currentProvider.getSources();\n };\n that.getCurrentSource = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getCurrentSource() \", currentProvider.getCurrentSource());\n return currentProvider.getCurrentSource();\n };\n that.setCurrentSource = (index) => {\n\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setCurrentSource() \", index);\n\n let lastPlayPosition = currentProvider.getPosition();\n playerConfig.setSourceIndex(index);\n\n initProvider(lastPlayPosition).then(function () {\n\n that.trigger(CONTENT_SOURCE_CHANGED, {\n currentSource: index\n });\n });\n\n return index;\n };\n\n\n that.getQualityLevels = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getQualityLevels() \", currentProvider.getQualityLevels());\n return currentProvider.getQualityLevels();\n };\n that.getCurrentQuality = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getCurrentQuality() \", currentProvider.getCurrentQuality());\n return currentProvider.getCurrentQuality();\n };\n that.setCurrentQuality = (qualityIndex) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setCurrentQuality() \", qualityIndex);\n\n return currentProvider.setCurrentQuality(qualityIndex);\n };\n\n that.getAudioTracks = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getAudioTracks() \", currentProvider.getAudioTracks());\n return currentProvider.getAudioTracks();\n };\n\n that.getCurrentAudioTrack = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : getCurrentAudioTrack() \", currentProvider.getCurrentAudioTrack());\n return currentProvider.getCurrentAudioTrack();\n };\n\n that.setCurrentAudioTrack = (audioTrackIndex) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setCurrentAudioTrack() \", audioTrackIndex);\n return currentProvider.setCurrentAudioTrack(audioTrackIndex);\n };\n\n that.isAutoQuality = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : isAutoQuality()\");\n return currentProvider.isAutoQuality();\n };\n that.setAutoQuality = (isAuto) => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : setAutoQuality() \", isAuto);\n return currentProvider.setAutoQuality(isAuto);\n };\n\n that.getCaptionList = () => {\n if (!captionManager) {\n return null;\n }\n OvenPlayerConsole.log(\"API : getCaptionList() \", captionManager.getCaptionList());\n return captionManager.getCaptionList();\n };\n that.getCurrentCaption = () => {\n if (!captionManager) {\n return null;\n }\n OvenPlayerConsole.log(\"API : getCurrentCaption() \", captionManager.getCurrentCaption());\n return captionManager.getCurrentCaption();\n };\n that.setCurrentCaption = (index) => {\n if (!captionManager) {\n return null;\n }\n OvenPlayerConsole.log(\"API : setCurrentCaption() \", index);\n captionManager.setCurrentCaption(index);\n };\n that.addCaption = (track) => {\n if (!captionManager) {\n return null;\n }\n OvenPlayerConsole.log(\"API : addCaption() \")\n return captionManager.addCaption(track);\n };\n that.removeCaption = (index) => {\n if (!captionManager) {\n return null;\n }\n OvenPlayerConsole.log(\"API : removeCaption() \", index)\n return captionManager.removeCaption(index);\n };\n\n that.getBuffer = () => {\n if (!currentProvider) {\n return null;\n }\n OvenPlayerConsole.log(\"API : getBuffer() \", currentProvider.getBuffer());\n currentProvider.getBuffer();\n };\n that.getState = () => {\n if (!currentProvider) {\n return null;\n }\n OvenPlayerConsole.log(\"API : getState() \", currentProvider.getState());\n return currentProvider.getState();\n };\n that.stop = () => {\n if (!currentProvider) {\n return null;\n }\n\n OvenPlayerConsole.log(\"API : stop() \");\n currentProvider.stop();\n };\n that.remove = () => {\n\n OvenPlayerConsole.log(\"API : remove() \");\n\n if (captionManager) {\n captionManager.destroy();\n captionManager = null;\n }\n\n if (currentProvider) {\n currentProvider.destroy();\n currentProvider = null;\n }\n\n if (mediaManager) {\n mediaManager.destroy();\n mediaManager = null;\n }\n\n that.trigger(DESTROY);\n that.off();\n\n providerController = null;\n playlistManager = null;\n playerConfig = null;\n\n OvenPlayerConsole.log(\"API : remove() - currentProvider, providerController, playlistManager, playerConfig, api event destroed. \");\n OvenPlayerSDK.removePlayer(that);\n\n };\n\n that.getMediaElement = () => {\n\n return currentProvider.getMediaElement();\n };\n\n that.getVersion = () => {\n return version;\n };\n\n return that;\n};\n\n\nexport default Api;\n\n\n","import _ from \"utils/underscore\";\nimport {isRtmp, isWebRTC, isDash, isHls } from \"utils/validator\";\nimport {extractExtension ,trim} from \"../../utils/strings\";\nimport SupportChecker from \"../SupportChecker\";\nimport {PLAYLIST_CHANGED} from \"api/constants\";\n\n/**\n * @brief This manages Playlist or Sources.\n * @param\n *\n * */\nconst Manager = function(provider){\n const that = {};\n let currentPlaylistItem = [];\n let spec = {\n playlist : [],\n currentIndex : 0\n };\n let supportChecker = SupportChecker();\n\n OvenPlayerConsole.log(\"PlaylistManager loaded.\");\n\n const makePrettySource = function(source_){\n if (!source_ || !source_.file && !(source_.host || source_.application || source_.stream)) {\n return;\n }\n\n let source = Object.assign({}, { 'default': false }, source_);\n source.file = trim('' + source.file);\n\n if(source.host && source.application && source.stream){\n source.file = source.host + \"/\" + source.application + \"/stream/\" + source.stream;\n delete source.host;\n delete source.application;\n delete source.stream;\n }\n\n const mimetypeRegEx = /^[^/]+\\/(?:x-)?([^/]+)$/;\n\n if (mimetypeRegEx.test(source.type)) {\n // if type is given as a mimetype\n source.mimeType = source.type;\n source.type = source.type.replace(mimetypeRegEx, '$1');\n }\n\n if(isRtmp(source.file)){\n source.type = 'rtmp';\n }else if(isWebRTC(source.file)){\n source.type = 'webrtc';\n }else if(isHls(source.file, source.type)){\n source.type = 'hls';\n }else if(isDash(source.file, source.type)){\n source.type = 'dash';\n }else if (!source.type) {\n source.type = extractExtension(source.file);\n }\n\n if (source.lowLatency) {\n source.lowLatency = source.lowLatency;\n }\n\n if (!source.type) {\n return;\n }\n\n // normalize types\n switch (source.type) {\n case 'm3u8':\n case 'vnd.apple.mpegurl':\n source.type = 'hls';\n break;\n case 'm4a':\n source.type = 'aac';\n break;\n case 'smil':\n source.type = 'rtmp';\n break;\n default:\n break;\n }\n\n Object.keys(source).forEach(function(key) {\n if (source[key] === '') {\n delete source[key];\n }\n });\n\n return source;\n\n }\n\n that.initPlaylist =(playlist, playerConfig) =>{\n\n OvenPlayerConsole.log(\"PlaylistManager setPlaylist() \", playlist);\n const prettiedPlaylist = (_.isArray(playlist) ? playlist : [playlist]).map(function(item){\n if(!_.isArray(item.tracks)) {\n delete item.tracks;\n }\n let playlistItem = Object.assign({},{\n sources: [],\n tracks: [],\n title : \"\"\n }, item );\n\n if((playlistItem.sources === Object(playlistItem.sources)) && !_.isArray(playlistItem.sources)) {\n playlistItem.sources = [makePrettySource(playlistItem.sources)];\n }\n\n if (!_.isArray(playlistItem.sources) || playlistItem.sources.length === 0) {\n playlistItem.sources = [makePrettySource(playlistItem)];\n }\n\n if(!_.isArray(playlistItem.sources) || playlistItem.sources.length === 0) {\n if (item.levels) {\n playlistItem.sources = item.levels;\n } else {\n playlistItem.sources = [makePrettySource(item)];\n }\n }\n\n\n for(let i = 0; i < playlistItem.sources.length; i++) {\n let source = playlistItem.sources[i];\n let prettySource = \"\";\n if (!source) {\n continue;\n }\n\n let defaultSource = source.default;\n if (defaultSource) {\n source.default = (defaultSource.toString() === 'true');\n } else {\n source.default = false;\n }\n\n // If the source doesn't have a label, number it\n if (!playlistItem.sources[i].label) {\n playlistItem.sources[i].label = playlistItem.sources[i].type+\"-\"+i.toString();\n }\n\n prettySource = makePrettySource(playlistItem.sources[i]);\n if(supportChecker.findProviderNameBySource(prettySource)){\n playlistItem.sources[i] = prettySource;\n }else{\n playlistItem.sources[i] = null;\n }\n }\n\n playlistItem.sources = playlistItem.sources.filter(source => !!source);\n\n if(!playlistItem.title && playlistItem.sources[0] && playlistItem.sources[0].label){\n playlistItem.title = playlistItem.sources[0].label;\n }\n\n // default 가 없을때 webrtc가 있다면 webrtc default : true로 자동 설정\n /*let haveDefault = _.find(playlistItem.sources, function(source){return source.default == true;});\n let webrtcSource = [];\n if(!haveDefault){\n webrtcSource = _.find(playlistItem.sources, function(source){return source.type == \"webrtc\";});\n if(webrtcSource){\n webrtcSource.default = true;\n }\n }*/\n\n\n function extractOnlyOneProtocol(sources){\n if(!!sources){\n let highPriorityType = playlistItem.sources[0].type;\n\n return _.filter(sources, {type : highPriorityType});\n }\n }\n\n if(playerConfig.isCurrentProtocolOnly()){\n playlistItem.sources = extractOnlyOneProtocol(playlistItem.sources);\n }\n\n if(!_.isArray(playlistItem.tracks)){\n playlistItem.tracks = [];\n }\n if(_.isArray(playlistItem.captions)){\n playlistItem.tracks = playlistItem.tracks.concat(playlistItem.captions);\n delete playlistItem.captions;\n }\n\n playlistItem.tracks = playlistItem.tracks.map(function(track){\n if(!track || !track.file){\n return false;\n }\n return Object.assign({}, {\n 'kind': 'captions',\n 'default': false\n }, track);\n }).filter(track => !!track);\n return playlistItem;\n }).filter(function(item){return item.sources && item.sources.length > 0;})||[];\n spec.playlist = prettiedPlaylist;\n return prettiedPlaylist;\n };\n that.getPlaylist = () => {\n OvenPlayerConsole.log(\"PlaylistManager getPlaylist() \", spec.playlist);\n return spec.playlist;\n };\n that.getCurrentPlayList = () => {\n if(spec.playlist[spec.currentIndex]){\n return spec.playlist[spec.currentIndex];\n }else{\n return [];\n }\n };\n that.getCurrentPlaylistIndex = () => {\n return spec.currentIndex;\n };\n that.setCurrentPlaylist = (index) => {\n if(spec.playlist[index]){\n spec.currentIndex = index;\n provider.trigger(PLAYLIST_CHANGED, spec.currentIndex);\n }\n return spec.currentIndex;\n };\n that.getCurrentSources = () => {\n if(spec.playlist[spec.currentIndex]){\n OvenPlayerConsole.log(\"PlaylistManager getCurrentSources() \", spec.playlist[spec.currentIndex].sources);\n return spec.playlist[spec.currentIndex].sources;\n }else{\n return null;\n }\n\n };\n that.getCurrentAdTag = () => {\n if(spec.playlist[spec.currentIndex]){\n return spec.playlist[spec.currentIndex].adTagUrl || \"\";\n }\n };\n\n return that;\n};\n\n\nexport default Manager;\n","import SupportChecker from \"api/SupportChecker\";\nimport HTML5 from \"api/provider/html5/providers/Html5\";\nimport WebRTC from \"api/provider/html5/providers/WebRTC\";\nimport Dash from \"api/provider/html5/providers/Dash\";\nimport Hls from \"api/provider/html5/providers/Hls\";\n\nimport {\n PROVIDER_HTML5, PROVIDER_WEBRTC, PROVIDER_DASH, PROVIDER_HLS, PROVIDER_RTMP, ERRORS, INIT_UNSUPPORT_ERROR\n} from \"api/constants\";\n\n/**\n * @brief This manages provider.\n * @param\n * */\nconst Controller = function () {\n let supportChacker = SupportChecker();\n const Providers = {};\n\n const that = {};\n OvenPlayerConsole.log(\"ProviderController loaded.\");\n\n const registeProvider = (name, provider) => {\n if (Providers[name]) {\n return;\n }\n OvenPlayerConsole.log(\"ProviderController _registerProvider() \", name);\n Providers[name] = provider;\n };\n\n const ProviderLoader = {\n html5: function () {\n\n const provider = HTML5;\n registeProvider(PROVIDER_HTML5, provider);\n return {name: PROVIDER_HTML5, provider: provider};\n },\n webrtc: function () {\n\n const provider = WebRTC;\n registeProvider(PROVIDER_WEBRTC, provider);\n return {name: PROVIDER_WEBRTC, provider: provider};\n },\n dash: function () {\n\n const provider = Dash;\n registeProvider(PROVIDER_DASH, provider);\n return {name: PROVIDER_DASH, provider: provider};\n },\n hls: function () {\n\n const provider = Hls;\n registeProvider(PROVIDER_HLS, provider);\n return {name: PROVIDER_HLS, provider: provider};\n }\n };\n\n\n that.loadProviders = (playlistItem) => {\n const supportedProviderNames = supportChacker.findProviderNamesByPlaylist(playlistItem);\n OvenPlayerConsole.log(\"ProviderController loadProviders() \", supportedProviderNames);\n if (!supportedProviderNames) {\n return Promise.reject(ERRORS.codes[INIT_UNSUPPORT_ERROR]);\n } else {\n return Promise.all(\n supportedProviderNames.filter(function (providerName) {\n return !!ProviderLoader[providerName];\n }).map(function (providerName) {\n return ProviderLoader[providerName]();\n })\n );\n }\n\n };\n\n that.findByName = (name) => {\n OvenPlayerConsole.log(\"ProviderController findByName() \", name);\n return Providers[name];\n };\n\n that.getProviderBySource = (source) => {\n const supportedProviderName = supportChacker.findProviderNameBySource(source);\n OvenPlayerConsole.log(\"ProviderController getProviderBySource() \", supportedProviderName);\n return that.findByName(supportedProviderName);\n };\n\n that.isSameProvider = (currentSource, newSource) => {\n OvenPlayerConsole.log(\"ProviderController isSameProvider() \", supportChacker.findProviderNameBySource(currentSource), supportChacker.findProviderNameBySource(newSource));\n return supportChacker.findProviderNameBySource(currentSource) === supportChacker.findProviderNameBySource(newSource);\n };\n\n return that;\n};\n\nexport default Controller;\n","/**\n * @brief 미디어 엘리먼트를 관리하는 객체. 현재는 하는 일이 많지 않다.\n * @param {element} container dom element\n *\n * */\nimport {getBrowser} from \"utils/browser\";\nimport {PROVIDER_DASH, PROVIDER_HLS, PROVIDER_WEBRTC, PROVIDER_HTML5, PROVIDER_RTMP} from \"api/constants\";\nimport LA$ from \"utils/likeA$.js\";\nimport {version} from 'version';\n\nconst Manager = function(container, browserInfo){\n const that = {};\n let $container = LA$(container);\n let videoElement = \"\";\n\n OvenPlayerConsole.log(\"MediaManager loaded. browser : \", browserInfo );\n\n const createHtmlVideo = function(isLoop, isAutoStart){\n\n videoElement = document.createElement('video');\n videoElement.setAttribute('preload', 'auto');\n videoElement.setAttribute('disableremoteplayback', '');\n videoElement.setAttribute('webkit-playsinline', 'true');\n videoElement.setAttribute('playsinline', 'true');\n if(isLoop){\n videoElement.setAttribute('loop', '');\n }\n if(isAutoStart) {\n videoElement.setAttribute('autoplay', '');\n }\n $container.append(videoElement);\n\n return videoElement;\n };\n\n that.createMedia = (providerName , playerConfig) => {\n // if(videoElement){\n // // that.empty();\n // //reuse video element.\n // //because playlist is auto next playing.\n // //Only same video element does not require User Interaction Error.\n // return videoElement;\n // }else{\n // return createHtmlVideo(playerConfig.isLoop(), playerConfig.isAutoStart());\n // }\n that.empty();\n return createHtmlVideo(playerConfig.isLoop(), playerConfig.isAutoStart());\n }\n\n that.createAdContainer = () => {\n let adContainer = document.createElement('div');\n adContainer.setAttribute('class', 'op-ads');\n $container.append(adContainer);\n\n return adContainer;\n };\n\n\n that.empty = () =>{\n OvenPlayerConsole.log(\"MediaManager removeElement()\");\n $container.removeChild(videoElement);\n videoElement = null;\n };\n\n that.destroy = () =>{\n $container.removeChild();\n $container = null;\n videoElement.src = null;\n videoElement.srcObject = null;\n videoElement = null;\n };\n\n return that;\n};\n\nexport default Manager;\n","/**\n * Created by hoho on 2018. 8. 24..\n */\n\nexport const ApiRtmpExpansion = function(currentProvider){\n return {\n externalCallbackCreep : (result) => {\n if(result.name && result.data){\n return currentProvider.triggerEventFromExternal(result.name, result.data);\n }else{\n return null;\n }\n }\n };\n};\n","import _ from \"utils/underscore\";\n\nimport {\n CONTENT_TIME_MODE_CHANGED, SYSTEM_TEXT\n} from \"api/constants\";\n\n/**\n * @brief This initializes the input options.\n * @param options\n *\n * */\nconst Configurator = function(options, provider){\n\n const composeSourceOptions = function(options){\n const Defaults = {\n mediaContainer : \"\",\n playbackRates: [2, 1.5, 1, 0.5, 0.25],\n playbackRate: 1,\n mute: false,\n volume: 100,\n loop : false,\n controls : true,\n autoStart : false,\n autoFallback: true,\n timecode : true,\n sourceIndex : -1,\n browser : \"\",\n hidePlaylistIcon : false,\n rtmpBufferTime : 1,\n rtmpBufferTimeMax : 3,\n adClient : \"googleima\",\n currentProtocolOnly : false,\n systemText : null,\n lang : \"en\",\n loadingRetryCount: 0,\n expandFullScreenUI: true,\n fullscreenOption: null,\n showBigPlayButton: true\n };\n const serialize = function (val) {\n if (val === undefined) {\n return null;\n }\n if (typeof val === 'string' && val.length < 6) {\n const lowercaseVal = val.toLowerCase();\n if (lowercaseVal === 'true') {\n return true;\n }\n if (lowercaseVal === 'false') {\n return false;\n }\n if (!isNaN(Number(val)) && !isNaN(parseFloat(val))) {\n return Number(val);\n }\n }\n return val;\n }\n const deserialize = function (options) {\n Object.keys(options).forEach((key) => {\n if (key === 'id') {\n return;\n }\n options[key] = serialize(options[key]);\n });\n }\n\n deserialize(options);\n let config = Object.assign({}, Defaults, options);\n let userCustumSystemText = [];\n if(config.systemText){\n userCustumSystemText = _.isArray(config.systemText) ? config.systemText : [config.systemText];\n }\n\n for(let i = 0; i < userCustumSystemText.length; i ++){\n if(userCustumSystemText[i].lang){\n let currentSystemText = _.findWhere(SYSTEM_TEXT , {\"lang\": userCustumSystemText[i].lang});\n if(currentSystemText){\n //validate & update\n Object.assign(currentSystemText, userCustumSystemText[i]);\n }else{\n //create\n currentSystemText = _.findWhere(SYSTEM_TEXT , {\"lang\": \"en\"});\n currentSystemText.lang = userCustumSystemText[i].lang;\n SYSTEM_TEXT.push(Object.assign(userCustumSystemText[i], currentSystemText));\n }\n }\n }\n config.systemText = _.findWhere(SYSTEM_TEXT , {\"lang\": config.lang});\n\n let playbackRates = config.playbackRates;\n\n playbackRates = playbackRates.filter(rate => _.isNumber(rate) && rate >= 0.25 && rate <= 4).map(rate => Math.round(rate * 4) / 4);\n\n if (playbackRates.indexOf(1) < 0) {\n playbackRates.push(1);\n }\n playbackRates.sort();\n\n config.playbackRates = playbackRates;\n\n config.rtmpBufferTime = config.rtmpBufferTime > 10 ? 10 : config.rtmpBufferTime;\n config.rtmpBufferTimeMax = config.rtmpBufferTimeMax > 50 ? 50 : config.rtmpBufferTimeMax;\n\n\n if (config.playbackRates.indexOf(config.playbackRate) < 0) {\n config.playbackRate = 1;\n }\n\n const configPlaylist = config.playlist;\n if (!configPlaylist) {\n const obj = _.pick(config, [\n 'title',\n 'description',\n 'type',\n 'image',\n 'file',\n 'sources',\n 'tracks',\n 'host',\n 'application',\n 'stream',\n 'adTagUrl'\n ]);\n\n config.playlist = [ obj ];\n } else if (_.isArray(configPlaylist.playlist)) {\n config.feedData = configPlaylist;\n config.playlist = configPlaylist.playlist;\n }\n\n delete config.duration;\n return config;\n };\n OvenPlayerConsole.log(\"Configurator loaded.\", options);\n let spec = composeSourceOptions(options);\n\n //spec.isFullscreen = false; //IE 11 can't check current fullscreen state.\n\n const that = {};\n that.getConfig = () => {\n return spec;\n };\n that.getAdClient = () => {\n return spec.adClient;\n };\n that.setConfig = (config, value) => {\n spec[config] = value;\n };\n\n that.getContainer = () => {\n return spec.mediaContainer;\n };\n /*that.isFullscreen = () => {\n return spec.isFullscreen;\n }\n that.setFullscreen = (isFullscreen) => {\n return spec.isFullscreen = isFullscreen;\n }*/\n\n that.getPlaybackRate =()=>{\n return spec.playbackRate;\n };\n that.setPlaybackRate =(playbackRate)=>{\n spec.playbackRate = playbackRate;\n return playbackRate;\n };\n\n that.getQualityLabel = () => {\n return spec.qualityLabel;\n };\n that.setQualityLabel = (newLabel) => {\n spec.qualityLabel = newLabel;\n };\n\n that.isCurrentProtocolOnly = () => {\n return spec.currentProtocolOnly;\n };\n /*that.getSourceLabel = () => {\n return spec.sourceLabel;\n };\n that.setSourceLabel = (newLabel) => {\n spec.sourceLabel = newLabel;\n };*/\n\n that.getSourceIndex = () => {\n return spec.sourceIndex;\n };\n that.setSourceIndex = (index) => {\n spec.sourceIndex = index;\n };\n that.setTimecodeMode = (timecode) => {\n if(spec.timecode !== timecode){\n spec.timecode = timecode;\n provider.trigger(CONTENT_TIME_MODE_CHANGED, timecode);\n }\n };\n that.isTimecodeMode = () => {\n return spec.timecode;\n };\n that.getRtmpBufferTime = () => {\n return spec.rtmpBufferTime;\n };\n that.getRtmpBufferTimeMax = () => {\n return spec.rtmpBufferTimeMax;\n };\n that.setMute = (mute) =>{\n spec.mute = mute;\n };\n that.isMute = () =>{\n return spec.mute;\n };\n that.getVolume = () =>{\n return spec.volume;\n };\n that.setVolume = (volume) =>{\n spec.volume = volume;\n };\n that.isLoop = () =>{\n return spec.loop;\n };\n that.isAutoStart = () =>{\n return spec.autoStart;\n };\n that.isControls = () =>{\n return spec.controls;\n };\n\n that.getPlaybackRates =()=>{\n return spec.playbackRates;\n };\n that.getBrowser = () => {\n return spec.browser;\n };\n that.getSystemText = () => {\n return spec.systemText;\n };\n that.getLanguage = () => {\n return spec.lang;\n };\n\n that.getPlaylist =()=>{\n return spec.playlist;\n };\n that.setPlaylist =(playlist)=>{\n if(_.isArray(playlist)){\n spec.playlist = playlist;\n }else{\n spec.playlist = [playlist];\n }\n return spec.playlist;\n };\n\n return that;\n};\n\nexport default Configurator;\n","import _ from \"utils/underscore\";\n\nexport default (uiText, data) => {\n let elements = '
' +\n '
' +\n '
' +\n (data.isRoot ? '' : '<') +\n ''+data.title+'' +\n '
'+\n '
' +\n '
';\n _.forEach(data.body, function(body){\n elements += settingItemTemplate(body, data.useCheck);\n });\n elements+= '
' +\n '
';\n return elements;\n};\n\n\nexport const settingItemTemplate = (data, useCheck) => {\n return (\n '
' +\n (useCheck?'':'' )+\n ''+data.title+'' +\n (data.hasNext?'>'+data.description+'' : '' )+\n '
'\n );\n};","import {naturalHms} from \"utils/strings\"\n\nexport default (uiText, playlist) => {\n return (`
` +\n `
${uiText.playlist}
` +\n `
` +\n `
` +\n `
`+\n `
`+\n `
` +\n `` +\n `
`+\n `
`+\n `
`);\n};\n\nexport const playlistItemTemplate = (data, isActive) => {\n return (\n `
` +\n `
${data.image ? ``:``} ${data.duration ? `${naturalHms(data.duration)}`: ``}
`+\n `
${data.title}
`+\n `
`\n );\n};","/**\n * Created by hoho on 2018. 7. 20..\n */\nimport TextViewTemplate from 'view/example/textviewTemplate';\nimport ViewTemplate from 'view/viewTemplate';\nimport HelpersTemplate from 'view/components/helpers/mainTemplate';\nimport BigButtonTemplate from 'view/components/helpers/bigButtonTemplate';\nimport ThumbnailTemplate from 'view/components/helpers/thumbnailTemplate';\nimport WaterMarkTemplate from 'view/components/helpers/waterMarkTemplate';\nimport MessageBoxTemplate from 'view/components/helpers/messageBoxTemplate';\nimport SpinnerTemplate from 'view/components/helpers/spinnerTemplate';\nimport ContextPanelTemplate from 'view/components/helpers/contextPanelTemplate';\nimport CaptionViewerTemplate from 'view/components/helpers/captionViewerTemplate';\n\n\nimport ControlsTemplate from 'view/components/controls/mainTemplate';\nimport VolumeButtonTemplate from 'view/components/controls/volumeButtonTemplate';\nimport ProgressBarTemplate from 'view/components/controls/progressBarTemplate';\nimport PlayButtonTemplate from 'view/components/controls/playButtonTemplate';\nimport SettingButtonTemplate from 'view/components/controls/settingButtonTemplate';\nimport FrameButtonsTemplate from 'view/components/controls/frameButtonsTemplate';\nimport TimeDisplayTemplate from 'view/components/controls/timeDisplayTemplate';\nimport FullScreenButtonTemplate from 'view/components/controls/fullScreenButtonTemplate';\nimport PanelsTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport SpeedPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport SourcePanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport QualityPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport AudioTrackPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport CaptionPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport TimeDisplayPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\nimport PlaylistPanelTemplate from 'view/components/controls/playlistPanelTemplate';\n\nconst Templates = {\n TextViewTemplate,\n ViewTemplate,\n HelpersTemplate,\n BigButtonTemplate,\n ThumbnailTemplate,\n WaterMarkTemplate,\n MessageBoxTemplate,\n SpinnerTemplate,\n ContextPanelTemplate,\n CaptionViewerTemplate,\n\n ControlsTemplate,\n VolumeButtonTemplate,\n ProgressBarTemplate,\n PlayButtonTemplate,\n SettingButtonTemplate,\n FrameButtonsTemplate,\n TimeDisplayTemplate,\n FullScreenButtonTemplate,\n PanelsTemplate,\n SpeedPanelTemplate,\n SourcePanelTemplate,\n QualityPanelTemplate,\n AudioTrackPanelTemplate,\n CaptionPanelTemplate,\n TimeDisplayPanelTemplate,\n PlaylistPanelTemplate\n};\n\nexport default Templates;","/**\n * Created by hoho on 2018. 7. 19..\n */\n\nconst TextViewTemplate = function(text){\n return `
` +\n `

${text}

` +\n `` +\n `
`;\n};\n\nexport default TextViewTemplate;","/**\n * Created by hoho on 2018. 7. 20..\n */\n\nconst ViewTemplate = function (uiText, id) {\n return `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
`\n};\nexport default ViewTemplate;\n","/**\n * Created by hoho on 2018. 7. 19..\n */\n\nconst HelpersTemplate = function(uiText, text){\n return `
`;\n};\n\nexport default HelpersTemplate;\n","import {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_PAUSED,\n STATE_ERROR\n} from \"api/constants\";\n\n\nexport default (uiText, playerState) => {\n return (`
` +\n `${playerState === STATE_PLAYING ?`` :`` }`+\n `${playerState === STATE_PAUSED ?`` :`` }`+\n `${playerState === STATE_IDLE ?`` :`` }`+\n `${playerState === STATE_COMPLETE ?`` :`` }`+\n `
`);\n};","export default (uiText, data) => {\n return (`
`+\n `${data.title ? `
${data.title}
`:``}` +\n `
`);\n};","export default (uiText, data) => {\n return (`
` +\n `
`+\n `${data.waterMark.image ? ``:``}` +\n `${data.waterMark.text ? `${data.waterMark.text}`:``}` +\n `
` +\n `
`);\n};","export default (uiText, data) => {\n return (\n `
` +\n `
` +\n `
${data.message}` +\n `${data.description ? `
${data.description}
` : `` }`+\n `
` +\n `${data.iconClass ? `
` : `` }`+\n `
` +\n `
`\n );\n};","export default (uiText) => {\n return `
`;\n};\n","import {version} from \"version\";\nexport default (uiText) => {\n return (\n `
` +\n `
` +\n `${uiText.context} ${version}` +\n `
`+\n `
`\n );\n};","/**\n * Created by hoho on 22/11/2018.\n */\nexport default (uiText) => {\n return (\n `
` +\n `
` +\n `
` +\n        `      
` +\n `
`\n );\n};","\nconst Controls = function(uiText, hasPlaylist){\n return (\n `
`+\n `
` +\n `
` +\n `
` +\n `
` +\n `
`+\n `
${hasPlaylist?``:``}
`+\n `
`+\n `
`+\n `
` +\n `
` +\n `
` +\n `
` +\n `
`);\n\n};\n\n\nexport default Controls;\n\n\n\n\n\n\n\n","/**\n * Created by hoho on 2018. 7. 20..\n */\nexport default (uiText) => {\n return (\n `
`+\n `` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
`+\n `
` +\n `
`\n );\n};\n","export default (uiText) => {\n return (\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `
` +\n `` +\n `00:00` +\n `
`\n );\n};\n","export default (uiText) => {\n return (\n `
` +\n `` +\n `` +\n `` +\n `
`\n );\n};\n","export default (uiText) => {\n return (``);\n};","export default (uiText) => {\n return (\n '
'+\n ''+\n ''+\n ''+\n ''+\n '
'\n );\n};","export default (uiText, data) => {\n return`
`+\n (data.duration === Infinity\n ?\n (\n `` +\n (data.type ===\"webrtc\"\n ?\n (data.isP2P ?\n `${uiText.controls.low_latency_p2p}` : `${uiText.controls.low_latency_live}`\n )\n :\n `${uiText.controls.live}`) +\n ``\n )\n :(`00:00 / 00:00`)\n ) +\n `
`;\n};\n","export default (uiText) => {\n return (\n ``\n );\n};\n","/**\n * Created by hoho on 2018. 7. 19..\n */\n\nimport Templates from \"view/engine/Templates\";\nimport LA$ from 'utils/likeA$';\nimport _ from \"utils/underscore\";\n\n/**\n * @brief This is simple ui renderer. This returns onRendered callback, onDestroyed callback on Template. And this bind events for Templates.\n * @param container dom element or LA$ object\n * @param templateName templateName\n * @param data preload data\n * @param events Template's events.\n * @param onRendered This callback occurs after append template.\n * @param onDestroyed This callback occurs after destroyed template.\n * @param isRoot\n *\n * */\nconst OvenTemplate = function (container, templateName, playerConfig, data, events, onRendered, onDestroyed, isRoot) {\n\n let $container = _.isElement(container) ? LA$(container) : container;\n let $template;\n let viewEvents = {};\n let uiText = null;\n let that = {};\n that.data = data;\n let createAndSelectElement = function (html) {\n const newElement = document.createElement('div');\n newElement.innerHTML = html;\n\n $template = LA$(newElement.firstChild);\n\n return newElement.firstChild;\n }\n if(playerConfig && playerConfig.systemText){\n uiText = playerConfig.systemText.ui;\n }\n if (isRoot) {\n $container.replace(createAndSelectElement(Templates[templateName + \"Template\"](uiText, data)));\n } else {\n $container.append(createAndSelectElement(Templates[templateName + \"Template\"](uiText, data)));\n }\n\n if (onRendered) {\n onRendered($template, that);\n }\n\n Object.keys(events).forEach(eventString => {\n let explodedText = eventString.split(\" \");\n let eventName = explodedText[0].replace(/ /gi, \"\");\n let target = explodedText[1].replace(/ /gi, \"\");\n\n let $target = \"\";\n\n if(target === \"document\" || target === \"window\" || target === \"body\"){\n $target = LA$(target);\n }else{\n $target = $template.find(target) || ($template.hasClass(target.replace(\".\",\"\")) ? $template : null);\n }\n\n\n if (eventName && target && $target) {\n let id = Object.keys(viewEvents).length++;\n\n //because It retuns another data.\n let wrappedFunc = function (event) {\n return events[eventString](event, $template, that);\n };\n viewEvents[id] = {name: eventName, target: target, callback: wrappedFunc};\n\n /*$template.get().addEventListener(eventName,function(evt){\n var gtarget = evt.target;\n while (gtarget!= null){\n if (gtarget.isEqualNode($target.get())){\n console.log(\"isEqual\", gtarget, $target.get());\n wrappedFunc(evt);\n return;\n }\n gtarget = gtarget.parentElement;\n }\n }, true);*/\n\n let eventOption = null;\n\n if (eventName.indexOf('touch') > -1) {\n eventOption = { passive: true };\n }\n\n //sometimes target is NodeList\n let nodeLength = $target.get().length;\n\n if(nodeLength > 1){\n let nodeList = $target.get();\n for(let i = 0; i < nodeLength; i ++){\n nodeList[i].addEventListener(eventName, wrappedFunc, eventOption);\n }\n //IE NodeList doesn't have forEach. It's wack.\n //$target.get().forEach(function($item){\n // $item.addEventListener(eventName, wrappedFunc);\n //});\n }else{\n $target.get().addEventListener(eventName, wrappedFunc, eventOption);\n }\n\n\n } else {\n return false;\n }\n });\n\n that.destroy = function () {\n Object.keys(viewEvents).forEach(id => {\n let event = viewEvents[id];\n let $target = \"\";\n\n if(event.target === \"document\" || event.target === \"window\" || event.target === \"body\"){\n $target = LA$(event.target);\n }else{\n $target = $template.find(event.target) || ($template.hasClass(event.target.replace(\".\",\"\")) ? $template : null);\n }\n\n //sometimes target is NodeList\n let nodeLength = $target.get().length;\n if(nodeLength > 1){\n let nodeList = $target.get();\n for(let i = 0; i < nodeLength; i ++){\n nodeList[i].removeEventListener(event.name, event.callback);\n }\n /*$target.get().forEach(function($item){\n $item.removeEventListener(event.name, event.callback);\n });*/\n }else{\n $target.get().removeEventListener(event.name, event.callback);\n }\n\n delete viewEvents[id];\n });\n\n if($template){\n if(isRoot){\n $template.removeChild();\n $template.removeAttribute(\"class\");\n }else{\n $template.remove();\n }\n }\n\n if (onDestroyed) {\n onDestroyed(that);\n }\n };\n return that;\n\n};\n\n\nexport default OvenTemplate;\n","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_COMPLETE,\n STATE_PAUSED\n} from \"api/constants\";\n\nconst MessageBox = function($container, api, message, description, withTimer, iconClass, clickCallback, dontClose){\n\n let autoDestroyTimer = \"\";\n let data = {\n message : message,\n description : description,\n iconClass : iconClass,\n dontClose: dontClose\n };\n\n\n const onRendered = function($current, template){\n if(withTimer){\n autoDestroyTimer = setTimeout(function(){\n template.destroy();\n }, withTimer||5000);\n }\n };\n const onDestroyed = function(){\n };\n const events = {\n \"click .op-message-text\" : function(event, $current, template){\n //event.preventDefault();\n event.stopPropagation();\n\n if (dontClose) {\n return;\n }\n if(autoDestroyTimer){\n clearTimeout(autoDestroyTimer);\n }\n if(clickCallback){\n clickCallback();\n }\n template.destroy();\n },\n \"click .op-con\" : function(event, $current, template){\n event.preventDefault();\n\n if (dontClose) {\n return;\n }\n\n if(autoDestroyTimer){\n clearTimeout(autoDestroyTimer);\n }\n\n if(clickCallback){\n clickCallback();\n }\n template.destroy();\n }\n };\n\n return OvenTemplate($container, \"MessageBox\", api.getConfig(), data, events, onRendered, onDestroyed );\n};\n\n\nexport default MessageBox;","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport BigButton from \"view/components/helpers/bigButton\";\nimport MessageBox from \"view/components/helpers/messageBox\";\nimport CaptionViewer from \"view/components/helpers/captionViewer\";\nimport Thumbnail from \"view/components/helpers/thumbnail\";\nimport WaterMark from \"view/components/helpers/waterMark\";\nimport Spinner from \"view/components/helpers/spinner\";\nimport {\n READY,\n ERROR,\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_PAUSED,\n STATE_AD_LOADED,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n STATE_AD_COMPLETE,\n STATE_AD_LOADING,\n PLAYLIST_CHANGED,\n PLAYER_WARNING,\n CONTENT_MUTE,\n STATE_ERROR,\n PLAYER_STATE,\n ALL_PLAYLIST_ENDED,\n CONTENT_LEVEL_CHANGED,\n CONTENT_SOURCE_CHANGED,\n NETWORK_UNSTABLED,\n UI_ICONS\n} from \"api/constants\";\n\nconst Helpers = function($container, api){\n let firstRun = false;\n let bigButton = \"\", messageBox = \"\", captionViewer = \"\", spinner = \"\", thumbnail, waterMark;\n let mutedMessage = null;\n let hasThumbnail = api.getConfig().image || api.getConfig().title;\n let hasWaterMark = api.getConfig().waterMark && api.getConfig().waterMark.image ||\n api.getConfig().waterMark && api.getConfig().waterMark.text;\n let dont_show_message = false;\n\n const onRendered = function($current, template){\n let qualityLevelChanging = false, newQualityLevel = -1;\n function createBigButton(state){\n\n if (!api.getConfig().showBigPlayButton) {\n return;\n }\n\n if (api.getState() === STATE_IDLE || api.getState() === STATE_COMPLETE) {\n\n if (messageBox) {\n messageBox.destroy();\n }\n\n if (bigButton) {\n bigButton.destroy();\n }\n\n bigButton = BigButton($current, api, state);\n }\n }\n function createMessage(message, description ,withTimer, iconClass, clickCallback, dontClose){\n\n if(bigButton){\n bigButton.destroy();\n }\n\n if(messageBox){\n messageBox.destroy();\n }\n\n messageBox = MessageBox($current, api, message, description, withTimer, iconClass, clickCallback, dontClose);\n }\n function createThumbnail(){\n\n const mediaElement = api.getMediaElement();\n\n if (mediaElement) {\n mediaElement.poster = ''\n }\n\n if (api.getConfig().image) {\n mediaElement.poster = api.getConfig().image;\n }\n\n\n if(thumbnail){\n thumbnail.destroy();\n }\n\n thumbnail = Thumbnail($current, api, api.getConfig());\n }\n function createWaterMark() {\n\n if (waterMark) {\n waterMark.destroy();\n }\n\n waterMark = WaterMark($current, api, api.getConfig());\n }\n\n spinner = Spinner($current, api);\n\n /*if(api.getCaptionList() && api.getCaptionList().length > 0){\n captionViewer = CaptionViewer($current, api);\n }*/\n\n captionViewer = CaptionViewer($current, api);\n\n api.on(READY, function() {\n if(hasThumbnail){\n createThumbnail(); //shows when playlist changed.\n }\n if(hasWaterMark) {\n createWaterMark();\n }\n\n if (!firstRun) {\n\n createBigButton(STATE_PAUSED);\n firstRun = true;\n }\n\n }, template);\n\n //So far warning muted play is all!!\n api.on(PLAYER_WARNING, function(data) {\n if(data.message){\n\n if(bigButton){\n bigButton.destroy();\n }\n\n if(messageBox){\n messageBox.destroy();\n }\n mutedMessage = MessageBox($current, api, data.message, null, data.timer, data.iconClass, data.onClickCallback, false);\n\n //When the volume is turned on by an external something.\n api.once(CONTENT_MUTE, function(data){\n if(!data.mute && mutedMessage){\n mutedMessage.destroy();\n }\n }, template);\n }\n }, template);\n\n api.on(PLAYER_STATE, function(data){\n if(data && data.newstate){\n\n if (data.newstate === STATE_IDLE) {\n if(messageBox){\n messageBox.destroy();\n }\n }\n\n if(data.newstate === STATE_PLAYING || data.newstate === STATE_AD_PLAYING){\n\n dont_show_message = false;\n\n if (messageBox) {\n messageBox.destroy();\n }\n if (bigButton) {\n bigButton.destroy();\n }\n if(thumbnail){\n thumbnail.destroy();\n }\n\n if(!qualityLevelChanging){\n spinner.show(false);\n }\n } else if (data.newstate === STATE_COMPLETE) {\n\n spinner.show(false);\n createBigButton(data.newstate);\n } else{\n\n if(data.newstate === STATE_STALLED || data.newstate === STATE_LOADING || data.newstate === STATE_AD_LOADING){\n\n dont_show_message = false;\n if(messageBox){\n messageBox.destroy();\n }\n if (bigButton) {\n bigButton.destroy();\n }\n spinner.show(true);\n }else{\n if(!qualityLevelChanging){\n spinner.show(false);\n }\n }\n }\n\n }\n }, template);\n\n api.on(CONTENT_SOURCE_CHANGED, function () {\n\n if(hasThumbnail){\n createThumbnail(); //shows when playlist changed.\n }\n });\n\n //show spinner cuz dashjs spends long time for level change.\n api.on(CONTENT_LEVEL_CHANGED, function(data){\n if(data.currentQuality < 0 ){\n return false;\n }\n if(data.isAuto){\n qualityLevelChanging = false;\n spinner.show(false);\n }else{\n if(data.type === \"request\"){\n newQualityLevel = data.currentQuality;\n qualityLevelChanging = true;\n spinner.show(true);\n }else if(data.type === \"render\" && newQualityLevel === data.currentQuality){\n qualityLevelChanging = false;\n spinner.show(false);\n //createMessage(\"quality changed.\", 3000);\n }\n }\n\n }, template);\n api.on(ERROR, function(error) {\n\n if (error.code === 510) {\n dont_show_message = true;\n }\n\n if (error.code === 101 && api.getPlaylist().length === 0) {\n dont_show_message = true;\n }\n\n if (dont_show_message) {\n return;\n }\n\n let message = \"\", description = \"\";\n\n if(bigButton){\n bigButton.destroy();\n }\n\n if (error && error.code && error.code >= 100 && error.code < 1000) {\n message = error.message;\n if(error.code === 100){\n description = error.error.toString();\n }\n } else {\n message = \"Can not play due to unknown reasons.\";\n }\n OvenPlayerConsole.log(\"error occured : \", error);\n\n createMessage(message, description, null, UI_ICONS.op_warning , null, true);\n }, template);\n\n\n api.on(NETWORK_UNSTABLED, function(event){\n let message = \"Because the network connection is unstable, the following media source will be played.\";\n\n if(api.getCurrentSource()+1 === api.getQualityLevels().length){\n message = \"Network connection is unstable. Check the network connection.\";\n }\n\n OvenPlayerConsole.log(message);\n //createMessage(message, null,5000);\n }, template);\n\n api.on(ALL_PLAYLIST_ENDED, function(){\n if(hasThumbnail){\n createThumbnail();\n }\n }, template);\n };\n const onDestroyed = function(template){\n api.off(READY, null, template);\n api.off(PLAYER_STATE, null, template);\n api.off(PLAYER_WARNING, null, template);\n api.off(ERROR, null, template);\n api.off(NETWORK_UNSTABLED, null, template);\n api.off(ALL_PLAYLIST_ENDED, null, template);\n api.off(PLAYLIST_CHANGED, null, template);\n };\n const events = {\n\n };\n\n return OvenTemplate($container, \"Helpers\", api.getConfig(), null, events, onRendered, onDestroyed );\n};\n\nexport default Helpers;\n","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_COMPLETE,\n STATE_PAUSED\n} from \"api/constants\";\nimport {STATE_ERROR} from \"../../../api/constants\";\n\nconst BigButton = function($container, api, playerState){\n\n const onRendered = function($container, $current, template){\n //Do nothing!\n };\n const onDestroyed = function(){\n //Do nothing!\n };\n const events = {\n \"click .op-bigbutton-container\" : function(event){\n event.preventDefault();\n event.stopPropagation();\n\n const currentState = api.getState();\n let playlist = api.getPlaylist();\n let currentPlaylistIndex = api.getCurrentPlaylist();\n\n if (currentState === STATE_IDLE || currentState === STATE_PAUSED) {\n api.play();\n } else if (currentState === STATE_ERROR) {\n api.setCurrentSource(api.getCurrentSource());\n } else if(currentState === STATE_COMPLETE){\n if(playlist.length === (currentPlaylistIndex+1)){\n api.seek(0);\n api.play();\n }\n }\n }\n };\n\n return OvenTemplate($container, \"BigButton\", api.getConfig(), playerState, events, onRendered, onDestroyed );\n};\n\nexport default BigButton;","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_COMPLETE,\n STATE_PAUSED\n} from \"api/constants\";\n\nconst Thumbnail = function ($container, api, playerState) {\n\n const onRendered = function ($current, template) {\n\n };\n const onDestroyed = function () {\n //Do nothing!\n };\n const events = {};\n\n return OvenTemplate($container, \"Thumbnail\", api.getConfig(), playerState, events, onRendered, onDestroyed);\n};\n\nexport default Thumbnail;","/**\n * Created by hoho on 2018. 7. 25..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\n\nconst Spinner = function($container, api){\n let $spinner = \"\";\n\n const onRendered = function($current, template){\n $spinner = $current;\n };\n const onDestroyed = function(){\n //Do nothing.\n };\n const events = {};\n\n return Object.assign(OvenTemplate($container, \"Spinner\", api.getConfig(), null, events, onRendered, onDestroyed ), {\n show: function (isShow) {\n if(isShow){\n $spinner.show();\n }else{\n $spinner.hide();\n }\n }\n });\n};\n\n\nexport default Spinner;","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_COMPLETE,\n STATE_PAUSED,\n CONTENT_CAPTION_CHANGED,\n CONTENT_CAPTION_CUE_CHANGED\n} from \"api/constants\";\nimport LA$ from 'utils/likeA$';\n\n\nconst CaptionViewer = function($container, api, playerState){\n const $root = LA$(api.getContainerElement());\n\n const onRendered = function($container, $current, template){\n let isDisable = false;\n let deleteTimer = 0;\n\n api.on(CONTENT_CAPTION_CHANGED, function(index) {\n if(index > -1){\n isDisable = false;\n }else{\n isDisable = true;\n $container.find(\".op-caption-text\").text(\"\");\n }\n }, template);\n\n api.on(CONTENT_CAPTION_CUE_CHANGED, function(data) {\n if(!isDisable && data && data.text){\n let hideGap = data.endTime - data.startTime;\n\n if(deleteTimer){\n clearTimeout(deleteTimer);\n }\n\n $container.find(\".op-caption-text\").html(data.text);\n\n if(hideGap){\n deleteTimer = setTimeout(function(){\n $container.find(\".op-caption-text\").text(\"\");\n },hideGap * 1000);\n }\n\n }\n\n }, template);\n\n\n };\n const onDestroyed = function(template){\n $container.find(\".op-caption-text\").text(\"\");\n api.off(CONTENT_CAPTION_CHANGED, null, template);\n api.off(CONTENT_CAPTION_CUE_CHANGED, null, template);\n };\n const events = {\n };\n\n return OvenTemplate($container, \"CaptionViewer\", api.getConfig(), playerState, events, onRendered, onDestroyed );\n};\n\nexport default CaptionViewer;","/**\n * Created by Sangwon Oh on 2020. 11. 10..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport _ from 'utils/underscore';\nimport {\n STATE_IDLE,\n STATE_PLAYING,\n STATE_COMPLETE,\n STATE_PAUSED\n} from \"api/constants\";\n\nconst WaterMark = function($container, api, playerState){\n\n let waterMark = null;\n let textElem = null;\n const defaultPosition = 'top-right';\n const defaultX = '2.8125%';\n const defaultY = '5%';\n const defaultWidth = 'auto';\n const defaultHeight = 'auto';\n const defaultOpacity = 0.7;\n\n const onRendered = function($current, template){\n\n waterMark = $current.find('.op-watermark');\n textElem = $current.find('.op-watermark-text');\n\n let waterMarkOption = api.getConfig().waterMark;\n\n let position = waterMarkOption.position || defaultPosition;\n\n let y = waterMarkOption.y || defaultY;\n let x = waterMarkOption.x || defaultX;\n\n waterMark.css(position.split('-')[0], y);\n waterMark.css(position.split('-')[1], x);\n\n let width = waterMarkOption.width || defaultWidth;\n let height = waterMarkOption.height || defaultHeight;\n\n waterMark.css('width', width);\n waterMark.css('height', height);\n\n let opacity = waterMarkOption.opacity || defaultOpacity;\n waterMark.css('opacity', opacity);\n\n if (waterMarkOption.text) {\n\n if (waterMarkOption.font) {\n\n _.each(waterMarkOption.font, function (value, key) {\n textElem.css(key, value);\n })\n }\n }\n\n };\n const onDestroyed = function(){\n //Do nothing!\n };\n const events = {\n\n };\n\n return OvenTemplate($container, \"WaterMark\", api.getConfig(), playerState, events, onRendered, onDestroyed );\n};\n\nexport default WaterMark;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport _ from \"utils/underscore\";\n\nlet settingPanelList = [];\n\nconst PanelManager = function(){\n const that = {};\n\n let refreshFront = function(){\n for(let i = 0 ; i < settingPanelList.length; i ++){\n settingPanelList[i].data.setFront(false);\n }\n if(settingPanelList.length ){\n settingPanelList[settingPanelList.length - 1].data.setFront(true);\n }\n };\n that.clear = () => {\n //clear all SettingPanelTemplate\n\n _.each(settingPanelList, function(settingPanel){\n settingPanel.destroy();\n });\n settingPanelList = [];\n refreshFront();\n };\n\n that.removeLastItem = () =>{\n let last = settingPanelList.pop();\n last.destroy();\n refreshFront();\n };\n\n that.add = (settingPanelObject) => {\n settingPanelList.push(settingPanelObject);\n refreshFront();\n };\n\n that.size = () => {\n return settingPanelList.length;\n };\n\n return that;\n};\n\nexport default PanelManager;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\nimport _ from \"utils/underscore\";\nimport sizeHumanizer from \"utils/sizeHumanizer\";\nimport SpeedPanel from \"view/components/controls/settingPanel/speedPanel\";\nimport SourcePanel from \"view/components/controls/settingPanel/sourcePanel\";\nimport QualityPanel from \"view/components/controls/settingPanel/qualityPanel\";\nimport AudioTrackPanel from \"view/components/controls/settingPanel/audioTrackPanel\";\nimport CaptionPanel from \"view/components/controls/settingPanel/captionPanel\";\nimport TimeDisplayPanel from \"view/components/controls/settingPanel/timeDisplayPanel\";\nimport {\n CONTENT_LEVEL_CHANGED, PROVIDER_RTMP\n} from \"api/constants\";\nimport {AUDIO_TRACK_CHANGED} from \"../../../../api/constants\";\n\nlet PANEL_TITLE = {\n \"speed\": \"Speed\",\n \"speedUnit\": \"x\",\n \"source\": \"Source\",\n \"quality\": \"Quality\",\n \"audioTrack\": \"Audio\",\n \"caption\": \"Caption\",\n \"display\": \"Display\"\n};\n\nconst Panels = function ($container, api, data) {\n\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n let playerConfig = api.getConfig();\n\n if (playerConfig && playerConfig.systemText) {\n Object.keys(PANEL_TITLE).forEach(title => {\n PANEL_TITLE[title] = playerConfig.systemText.ui.setting[title];\n });\n }\n\n function extractSubPanelData(api, panelType) {\n let panel = {\n id: \"panel-\" + new Date().getTime(),\n title: \"\",\n body: [],\n useCheck: true,\n panelType: panelType,\n height: $root.height() - $root.find(\".op-bottom-panel\").height()\n };\n panel.title = PANEL_TITLE[panelType];\n if (panelType === \"speed\") {\n let playBackRates = api.getConfig().playbackRates;\n let currentPlaybackRate = api.getPlaybackRate();\n for (let i = 0; i < playBackRates.length; i++) {\n let body = {\n title: playBackRates[i] + PANEL_TITLE.speedUnit, //(playBackRates[i] === 1? \"Normal\" : playBackRates[i]),\n isCheck: currentPlaybackRate === playBackRates[i],\n value: playBackRates[i],\n description: playBackRates[i],\n panelType: panelType\n };\n panel.body.push(body);\n }\n\n } else if (panelType === \"source\") {\n let sources = api.getSources();\n for (let i = 0; i < sources.length; i++) {\n let body = {\n title: sources[i].label,\n isCheck: api.getCurrentSource() === i,\n value: i,\n panelType: panelType\n };\n panel.body.push(body);\n }\n\n } else if (panelType === \"quality\") {\n let qualityLevels = api.getQualityLevels();\n panel.body.push({\n title: \"AUTO\",\n isCheck: api.isAutoQuality(),\n value: \"AUTO\",\n panelType: panelType\n });\n for (let i = 0; i < qualityLevels.length; i++) {\n let body = {\n title: qualityLevels[i].label,\n isCheck: api.getCurrentQuality() === i,\n value: i,\n panelType: panelType\n };\n panel.body.push(body);\n }\n\n } else if (panelType === \"audioTrack\") {\n let audioTracks = api.getAudioTracks();\n\n for (let i = 0; i < audioTracks.length; i++) {\n let body = {\n title: audioTracks[i].label,\n isCheck: audioTracks[i].index === api.getCurrentAudioTrack(),\n value: audioTracks[i].index,\n panelType: panelType\n };\n panel.body.push(body);\n }\n\n } else if (panelType === \"caption\") {\n let captions = api.getCaptionList();\n panel.body.push({\n title: \"OFF\",\n isCheck: api.getCurrentCaption() === -1,\n value: -1,\n panelType: panelType\n });\n for (let i = 0; i < captions.length; i++) {\n let body = {\n title: captions[i].label,\n isCheck: api.getCurrentCaption() === i,\n value: i,\n panelType: panelType\n };\n panel.body.push(body);\n }\n\n } else if (panelType === \"display\") {\n let displayModes = [\n \"Play time\",\n \"Framecode\"\n ];\n for (let i = 0; i < displayModes.length; i++) {\n let body = {\n title: displayModes[i],\n isCheck: api.isTimecodeMode() ? (displayModes[i] === \"Play time\") : (displayModes[i] === \"Framecode\"),\n value: displayModes[i],\n panelType: panelType\n };\n panel.body.push(body);\n }\n\n }\n return panel;\n };\n\n data.setFront = function (isFront) {\n if (isFront) {\n $root.find(\"#\" + data.id).removeClass(\"background\");\n } else {\n $root.find(\"#\" + data.id).addClass(\"background\");\n }\n };\n\n function setPanelMaxHeight() {\n if ($root.find(\".op-setting-panel\")) {\n $root.find(\".op-setting-panel\").css(\"max-height\", $root.height() - $root.find(\".op-bottom-panel\").height() + \"px\");\n }\n };\n const onRendered = function ($current, template) {\n setPanelMaxHeight();\n\n api.on(CONTENT_LEVEL_CHANGED, function (data) {\n let newQuality = data.currentQuality;\n if (data.type === \"render\" && $root.find(\"#\" + template.data.id).find(\".op-setting-item\")) {\n _.forEach($root.find(\"#\" + template.data.id).find(\".op-setting-item\").get() || [], function (panel) {\n let $panel = LA$(panel);\n\n if ($panel.attr(\"op-panel-type\") === \"quality\") {\n let qualityList = api.getQualityLevels();\n let newQualityObject = qualityList[newQuality];\n $panel.find(\".op-setting-item-value\").text(newQualityObject.width + \"x\" + newQualityObject.height + \", \" + sizeHumanizer(newQualityObject.bitrate, true, \"bps\"));\n }\n\n });\n }\n\n }, template);\n\n api.on(AUDIO_TRACK_CHANGED, function (data) {\n _.forEach($root.find(\"#\" + template.data.id).find(\".op-setting-item\").get() || [], function (panel) {\n\n let $panel = LA$(panel);\n\n if($panel.attr(\"op-panel-type\") === \"audioTrack\"){\n $panel.find(\".op-setting-item-value\").text(api.getAudioTracks()[data.currentAudioTrack].label);\n }\n });\n }, template);\n };\n const onDestroyed = function (template) {\n api.off(CONTENT_LEVEL_CHANGED, null, template);\n api.off(AUDIO_TRACK_CHANGED, null, template);\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n //if this panel is background it disabled click.\n if ($root.find(\"#\" + data.id).hasClass(\"background\")) {\n return false;\n }\n let panelType = LA$(event.currentTarget).attr(\"op-panel-type\");\n let panel = null;\n if (panelType === \"speed\") {\n panel = SpeedPanel($container, api, extractSubPanelData(api, panelType));\n } else if (panelType === \"source\") {\n panel = SourcePanel($container, api, extractSubPanelData(api, panelType));\n } else if (panelType === \"quality\") {\n panel = QualityPanel($container, api, extractSubPanelData(api, panelType));\n } else if (panelType === \"audioTrack\") {\n panel = AudioTrackPanel($container, api, extractSubPanelData(api, panelType));\n } else if (panelType === \"caption\") {\n panel = CaptionPanel($container, api, extractSubPanelData(api, panelType));\n } else if (panelType === \"display\") {\n panel = TimeDisplayPanel($container, api, extractSubPanelData(api, panelType));\n }\n\n panelManager.add(panel);\n },\n \"click .op-setting-title\": function (event, $current, template) {\n event.preventDefault();\n if ($root.find(\"#\" + data.id).hasClass(\"background\")) {\n return false;\n }\n panelManager.removeLastItem();\n }\n };\n return OvenTemplate($container, \"Panels\", api.getConfig(), data, events, onRendered, onDestroyed);\n\n};\n\nexport default Panels;\n\n","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\n\n\nconst SpeedPanel = function($container, api, data){\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n data.setFront = function(isFront){\n if(isFront){\n $root.find(\"#\"+data.id).removeClass(\"background\");\n }else{\n $root.find(\"#\"+data.id).addClass(\"background\");\n }\n };\n const onRendered = function($current, template){\n //Do nothing\n };\n const onDestroyed = function(template){\n //Do nothing\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\n api.setPlaybackRate(parseFloat(value));\n panelManager.clear();\n },\n \"click .op-setting-title\" : function(event, $current, template){\n event.preventDefault();\n panelManager.removeLastItem();\n }\n };\n\n return OvenTemplate($container, \"SpeedPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\n\n};\n\nexport default SpeedPanel;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\n\n\nconst SourcePanel = function($container, api, data){\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n data.setFront = function(isFront){\n if(isFront){\n $root.find(\"#\"+data.id).removeClass(\"background\");\n }else{\n $root.find(\"#\"+data.id).addClass(\"background\");\n }\n };\n const onRendered = function($current, template){\n //Do nothing\n };\n const onDestroyed = function(template){\n //Do nothing\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\n api.setCurrentSource(parseInt(value));\n panelManager.clear();\n },\n \"click .op-setting-title\" : function(event, $current, template){\n event.preventDefault();\n panelManager.removeLastItem();\n }\n };\n\n return OvenTemplate($container, \"SourcePanel\", api.getConfig(), data, events, onRendered, onDestroyed );\n\n};\n\nexport default SourcePanel;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\nimport _ from \"utils/underscore\";\nimport {\n CONTENT_LEVEL_CHANGED\n} from \"api/constants\";\n\nconst QualityPanel = function($container, api, data){\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n data.setFront = function(isFront){\n if(isFront){\n $root.find(\"#\"+data.id).removeClass(\"background\");\n }else{\n $root.find(\"#\"+data.id).addClass(\"background\");\n }\n };\n const onRendered = function($current, template){\n\n //This assistants UI when quality level changes. When you open setting panels.\n api.on(CONTENT_LEVEL_CHANGED, function(data){\n let newQuality = data.currentQuality;\n if(data.type === \"render\"){\n _.forEach( $root.find(\"#\"+template.data.id).find(\".op-setting-item\").get(), function(panel){\n let $panel = LA$(panel);\n if( $panel.find(\".op-setting-item-checked\").hasClass(\"op-show\")){\n $panel.find(\".op-setting-item-checked\").removeClass(\"op-show\");\n }\n if(newQuality === parseInt($panel.attr(\"op-data-value\"))){\n $panel.find(\".op-setting-item-checked\").addClass(\"op-show\");\n }\n if(data.isAuto && $panel.attr(\"op-data-value\") === \"AUTO\"){\n $panel.find(\".op-setting-item-checked\").addClass(\"op-show\");\n }\n });\n }\n }, template);\n };\n const onDestroyed = function(template){\n api.off(CONTENT_LEVEL_CHANGED, null, template);\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\n if(value === \"AUTO\"){\n api.setAutoQuality(!api.isAutoQuality());\n }else{\n api.setCurrentQuality(parseInt(value));\n }\n panelManager.clear();\n },\n \"click .op-setting-title\" : function(event, $current, template){\n event.preventDefault();\n panelManager.removeLastItem();\n }\n };\n\n return OvenTemplate($container, \"QualityPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\n\n};\n\nexport default QualityPanel;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\nimport {\n AUDIO_TRACK_CHANGED\n} from \"api/constants\";\nimport _ from \"utils/underscore\";\n\nconst AudioTrackPanel = function ($container, api, data) {\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n data.setFront = function (isFront) {\n if (isFront) {\n $root.find(\"#\" + data.id).removeClass(\"background\");\n } else {\n $root.find(\"#\" + data.id).addClass(\"background\");\n }\n };\n const onRendered = function ($current, template) {\n api.on(AUDIO_TRACK_CHANGED, function (data) {\n _.forEach($root.find(\"#\" + template.data.id).find(\".op-setting-item\").get(), function (panel) {\n let $panel = LA$(panel);\n\n if ($panel.find(\".op-setting-item-checked\").hasClass(\"op-show\")) {\n $panel.find(\".op-setting-item-checked\").removeClass(\"op-show\");\n }\n if (data.currentAudioTrack === parseInt($panel.attr(\"op-data-value\"))) {\n $panel.find(\".op-setting-item-checked\").addClass(\"op-show\");\n }\n });\n }, template);\n };\n const onDestroyed = function (template) {\n api.off(AUDIO_TRACK_CHANGED, null, template);\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\n api.setCurrentAudioTrack(parseInt(value));\n panelManager.clear();\n },\n \"click .op-setting-title\": function (event, $current, template) {\n event.preventDefault();\n panelManager.removeLastItem();\n }\n };\n\n return OvenTemplate($container, \"AudioTrackPanel\", api.getConfig(), data, events, onRendered, onDestroyed);\n\n};\n\nexport default AudioTrackPanel;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\n\n\nconst CaptionPanel = function($container, api, data){\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n data.setFront = function(isFront){\n if(isFront){\n $root.find(\"#\"+data.id).removeClass(\"background\");\n }else{\n $root.find(\"#\"+data.id).addClass(\"background\");\n }\n };\n const onRendered = function($current, template){\n //Do nothing\n };\n const onDestroyed = function(template){\n //Do nothing\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\n api.setCurrentCaption(parseFloat(value));\n panelManager.clear();\n },\n \"click .op-setting-title\" : function(event, $current, template){\n event.preventDefault();\n panelManager.removeLastItem();\n }\n };\n\n return OvenTemplate($container, \"CaptionPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\n\n};\n\nexport default CaptionPanel;","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport PanelManager from \"view/global/PanelManager\";\nimport LA$ from 'utils/likeA$';\n\n\nconst TimeDisplayPanel = function($container, api, data){\n const $root = LA$(api.getContainerElement());\n let panelManager = PanelManager();\n\n data.setFront = function(isFront){\n if(isFront){\n $root.find(\"#\"+data.id).removeClass(\"background\");\n }else{\n $root.find(\"#\"+data.id).addClass(\"background\");\n }\n };\n const onRendered = function($current, template){\n //Do nothing\n };\n const onDestroyed = function(template){\n //Do nothing\n };\n const events = {\n \"click .op-setting-item\": function (event, $current, template) {\n event.preventDefault();\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\n api.setTimecodeMode(value === \"Play time\");\n panelManager.clear();\n },\n \"click .op-setting-title\" : function(event, $current, template){\n event.preventDefault();\n panelManager.removeLastItem();\n }\n };\n\n return OvenTemplate($container, \"TimeDisplayPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\n\n};\n\nexport default TimeDisplayPanel;","/**\n * Created by hoho on 2019. 5. 17..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport Panels from \"view/components/controls/settingPanel/main\";\nimport PanelManager from \"view/global/PanelManager\";\nimport {\n PROVIDER_RTMP\n} from \"api/constants\";\n\nlet PANEL_TITLE = {\n \"speed\": \"Speed\",\n \"speedUnit\": \"x\",\n \"source\": \"Source\",\n \"quality\": \"Quality\",\n \"audioTrack\": \"Audio\",\n \"caption\": \"Caption\",\n \"display\": \"Display\"\n};\nconst SettingButton = function ($container, api) {\n let panelManager = PanelManager();\n\n function generateMainData(api) {\n let panel = {\n id: \"panel-\" + new Date().getTime(),\n title: \"Settings\",\n body: [],\n isRoot: true,\n panelType: \"\"\n };\n\n let playerConfig = api.getConfig();\n\n if (playerConfig && playerConfig.systemText) {\n Object.keys(PANEL_TITLE).forEach(title => {\n PANEL_TITLE[title] = playerConfig.systemText.ui.setting[title];\n });\n panel.title = playerConfig.systemText.ui.setting.title;\n }\n let sources = api.getSources();\n let currentSource = sources && sources.length > 0 ? sources[api.getCurrentSource()] : null;\n\n let qualityLevels = api.getQualityLevels();\n let currentQuality = qualityLevels && qualityLevels.length > 0 ? qualityLevels[api.getCurrentQuality()] : null;\n\n let audioTracks = api.getAudioTracks();\n let currentAudioTrack = audioTracks && audioTracks.length > 0 ? audioTracks[api.getCurrentAudioTrack()] : null;\n\n let captions = api.getCaptionList();\n let currentCaption = api.getCurrentCaption();\n\n let framerate = api.getFramerate();\n\n if (currentSource) {\n let body = {\n title: PANEL_TITLE.speed,\n value: api.getPlaybackRate() + PANEL_TITLE.speedUnit,\n description: api.getPlaybackRate() + PANEL_TITLE.speedUnit,\n panelType: \"speed\",\n hasNext: true\n };\n panel.body.push(body);\n }\n if (sources && sources.length > 1) {\n\n let body = {\n title: PANEL_TITLE.source,\n value: currentSource ? currentSource.label : \"Default\",\n description: currentSource ? currentSource.label : \"Default\",\n panelType: \"source\",\n hasNext: true\n };\n\n panel.body.push(body);\n }\n if (qualityLevels && qualityLevels.length > 0) {\n\n let body = {\n title: PANEL_TITLE.quality,\n value: currentQuality ? currentQuality.label : \"Default\",\n description: currentQuality ? currentQuality.label : \"Default\",\n panelType: \"quality\",\n hasNext: true\n };\n\n panel.body.push(body);\n }\n\n if (audioTracks && audioTracks.length > 0) {\n\n let body = {\n title: PANEL_TITLE.audioTrack,\n value: currentAudioTrack ? currentAudioTrack.label : \"Default\",\n description: currentAudioTrack ? currentAudioTrack.label : \"Default\",\n panelType: \"audioTrack\",\n hasNext: true\n };\n\n panel.body.push(body);\n }\n\n if (captions && captions.length > 0) {\n\n let body = {\n title: PANEL_TITLE.caption,\n value: captions[currentCaption] ? captions[currentCaption].label : \"OFF\",\n description: captions[currentCaption] ? captions[currentCaption].label : \"OFF\",\n panelType: \"caption\",\n hasNext: true\n };\n\n panel.body.push(body);\n }\n if (framerate > 0) {\n let body = {\n title: PANEL_TITLE.display,\n value: api.isTimecodeMode() ? \"Play time\" : \"Framecode\",\n description: api.isTimecodeMode() ? \"Play time\" : \"Framecode\",\n panelType: \"display\",\n hasNext: true\n };\n\n panel.body.push(body);\n }\n\n return panel;\n };\n\n const onRendered = function ($current, template) {\n };\n const onDestroyed = function (template) {\n };\n const events = {\n \"click .op-setting-button\": function (event, $current, template) {\n event.preventDefault();\n let $parent = $current.closest(\".op-controls-container\");\n if (panelManager.size() > 0) {\n panelManager.clear();\n } else {\n let panelData = generateMainData(api);\n panelManager.add(Panels($parent, api, panelData));\n }\n },\n };\n\n return OvenTemplate($container, \"SettingButton\", api.getConfig(), null, events, onRendered, onDestroyed);\n};\n\n\nexport default SettingButton;\n","/**\n * Created by hoho on 2018. 7. 20..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport PlayButton from \"view/components/controls/playButton\";\nimport SettingButton from \"view/components/controls/settingButton\";\nimport FrameButtons from \"view/components/controls/frameButtons\";\nimport VolumeButton from \"view/components/controls/volumeButton\";\nimport ProgressBar from \"view/components/controls/progressBar\";\nimport PlaylistPanel from \"view/components/controls/playlistPanel\";\nimport LA$ from 'utils/likeA$';\nimport TimeDisplay from \"view/components/controls/timeDisplay\";\nimport FullScreenButton from \"view/components/controls/fullScreenButton\";\nimport {\n READY,\n CONTENT_META, CONTENT_LEVEL_CHANGED, CONTENT_TIME_MODE_CHANGED, CONTENT_TIME, PLAYER_PLAY,\n STATE_AD_LOADED,\n PLAYER_RESIZED,\n AD_CHANGED,\n STATE_AD_ERROR,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n STATE_AD_COMPLETE,\n CONTENT_SOURCE_CHANGED,\n OME_P2P_MODE,\n ERROR,\n PROVIDER_HLS,\n PLAYER_WEBRTC_WS_ERROR\n} from \"api/constants\";\n\nconst Controls = function ($container, api) {\n\n let volumeButton = \"\", playButton = \"\", settingButton = \"\", progressBar = \"\", timeDisplay = \"\",\n fullScreenButton = \"\", frameButtons = \"\", hasPlaylist = false, initialDuration;\n let uiInited = false;\n let webrtc_is_p2p_mode = false;\n let isLiveMode = false;\n\n let browser = api.getConfig().browser;\n let isAndroid = browser.os === \"Android\";\n let isIOS = browser.os === \"iOS\";\n\n const $root = LA$(api.getContainerElement());\n let lastContentMeta = {};\n\n hasPlaylist = api.getPlaylist().length > 1;\n\n if (api.getConfig().hidePlaylistIcon === true) {\n hasPlaylist = false;\n }\n\n let playlistPanel = \"\";\n\n const onRendered = function ($current, template) {\n\n function setPanelMaxHeight() {\n if ($root.find(\".op-setting-panel\")) {\n $root.find(\".op-setting-panel\").css(\"max-height\", $root.height() - $root.find(\".op-bottom-panel\").height() + \"px\");\n }\n }\n\n function initTimeDisplay(data) {\n if (timeDisplay) {\n timeDisplay.destroy();\n }\n timeDisplay = TimeDisplay($current.find(\".op-left-controls\"), api, data);\n }\n\n function initProgressBar(isAd, meta) {\n if (progressBar) {\n progressBar.destroy();\n }\n progressBar = ProgressBar($current.find(\".op-progressbar-container\"), api, isAd, meta);\n }\n\n function initFrameJumpButtons() {\n if (frameButtons) {\n frameButtons.destroy();\n }\n frameButtons = FrameButtons($current.find(\".op-controls\"), api);\n }\n\n function initSettingButton() {\n if (settingButton) {\n settingButton.destroy();\n }\n settingButton = SettingButton($current.find(\".setting-holder\"), api);\n }\n\n function initFullscreenButton() {\n if (fullScreenButton) {\n // Don't need to destroy.\n return;\n // fullScreenButton.destroy();\n }\n fullScreenButton = FullScreenButton($current.find(\".fullscreen-holder\"), api);\n }\n\n function makeControlUI(metadata) {\n\n if (metadata.duration > 9000000000000000) {\n\n metadata.duration = Infinity;\n }\n\n let sectionStart = api.getSources()[api.getCurrentSource()].sectionStart;\n let sectionEnd = api.getSources()[api.getCurrentSource()].sectionEnd;\n\n if (sectionEnd) {\n metadata.duration = sectionEnd;\n }\n\n if (sectionStart) {\n metadata.duration = metadata.duration - sectionStart;\n }\n\n initTimeDisplay(metadata);\n initFullscreenButton();\n\n if (api.getFramerate && api.getFramerate() > 0) {\n // initFrameJumpButtons();\n } else {\n if (frameButtons) {\n frameButtons.destroy();\n }\n }\n\n if (metadata.duration === Infinity) {\n\n //live\n OvenPlayerConsole.log(\"[[[[LIVE MODE]]]]\");\n isLiveMode = true;\n\n if (metadata.type === PROVIDER_HLS) {\n // show progress bar when hls\n initProgressBar(false, metadata);\n } else {\n if (progressBar) {\n progressBar.destroy();\n }\n }\n } else {\n //vod\n initProgressBar(false);\n }\n\n uiInited = true;\n }\n\n function resetControlUI() {\n\n if (timeDisplay) {\n timeDisplay.destroy();\n }\n\n if (progressBar) {\n progressBar.destroy();\n }\n\n initSettingButton();\n initFullscreenButton();\n\n $root.removeClass(\"linear-ad\");\n }\n\n playButton = PlayButton($current.find(\".op-left-controls\"), api);\n volumeButton = VolumeButton($current.find(\".op-left-controls\"), api);\n\n let playlist = api.getPlaylist();\n let currentPlaylistIndex = api.getCurrentPlaylist();\n\n if (playlist && playlist[currentPlaylistIndex] && playlist[currentPlaylistIndex].adTagUrl) {\n //does not show setting button when ads plays.\n } else {\n initSettingButton();\n }\n initFullscreenButton();\n\n api.on(READY, function () {\n $current.show();\n }, template);\n\n\n api.on(CONTENT_META, function (data) {\n initialDuration = data.duration;\n lastContentMeta = data;\n data.isP2P = webrtc_is_p2p_mode;\n makeControlUI(data);\n }, template);\n\n /*\n * I think do not nessessary this code anymore. Because muted play solves everything. 2019-06-04\n *\n * -> muted play canceled. 2019-06-20(?)\n */\n api.on(CONTENT_TIME, function (metadata_for_when_after_playing) {\n\n //Android HLS native doesn't give duration on CONTENT_META. why?\n //Fortunately I have CONTENT_TIME.\n //RTMP too.\n if (isAndroid || (api && api.getProviderName && api.getProviderName() === \"rtmp\")) {\n if (!initialDuration && (lastContentMeta && (lastContentMeta.duration !== metadata_for_when_after_playing.duration))) {\n lastContentMeta = metadata_for_when_after_playing;\n makeControlUI(metadata_for_when_after_playing);\n }\n }\n\n }, template);\n\n api.on(PLAYER_RESIZED, function (size) {\n setPanelMaxHeight();\n }, template);\n\n api.on(OME_P2P_MODE, function (isP2P) {\n webrtc_is_p2p_mode = isP2P;\n }, template);\n\n api.on(PLAYER_PLAY, function () {\n if (!uiInited) {\n\n let type = '';\n\n if (api.getSources().length > 0) {\n\n if (api.getSources()[api.getCurrentSource()]) {\n\n if (api.getSources()[api.getCurrentSource()].type) {\n type = api.getSources()[api.getCurrentSource()].type;\n }\n }\n }\n\n makeControlUI({\n isP2P: webrtc_is_p2p_mode,\n duration: api.getDuration(),\n type: type\n });\n }\n $current.show();\n }, template);\n\n api.on(ERROR, function (error) {\n $current.show();\n }, template);\n\n api.on(AD_CHANGED, function (ad) {\n if (ad.isLinear) {\n $root.addClass(\"linear-ad\");\n\n initProgressBar(true);\n if (timeDisplay) {\n timeDisplay.destroy();\n }\n if (settingButton) {\n settingButton.destroy();\n }\n\n //Fullscreen button. Not required on iOS.\n if (isIOS && fullScreenButton) {\n fullScreenButton.destroy();\n }\n } else {\n $root.removeClass(\"linear-ad\");\n }\n }, template);\n\n\n api.on(STATE_AD_COMPLETE, function () {\n resetControlUI();\n }, template);\n\n api.on(STATE_AD_ERROR, function () {\n resetControlUI();\n }, template);\n\n api.on(CONTENT_SOURCE_CHANGED, function () {\n resetControlUI();\n }, template);\n };\n\n const onDestroyed = function (template) {\n api.off(CONTENT_META, null, template);\n api.off(CONTENT_TIME, null, template);\n api.off(STATE_AD_COMPLETE, null, template);\n api.off(AD_CHANGED, null, template);\n api.off(OME_P2P_MODE, null, template);\n api.off(STATE_AD_ERROR, null, template);\n api.off(PLAYER_RESIZED, null, template);\n api.off(CONTENT_SOURCE_CHANGED, null, template);\n if (timeDisplay) {\n timeDisplay.destroy();\n }\n if (playButton) {\n playButton.destroy();\n }\n if (progressBar) {\n progressBar.destroy();\n }\n if (fullScreenButton) {\n fullScreenButton.destroy();\n }\n if (volumeButton) {\n volumeButton.destroy();\n }\n\n };\n\n const events = {\n \"mouseleave .op-controls\": function (event, $current, template) {\n event.preventDefault();\n volumeButton.setMouseDown(false);\n $current.find(\".op-volume-slider-container\").removeClass(\"active\");\n },\n\n \"click .op-playlist-button\": function (event, $current, template) {\n event.preventDefault();\n playlistPanel = PlaylistPanel($current, api);\n }\n };\n\n return OvenTemplate($container, \"Controls\", api.getConfig(), hasPlaylist, events, onRendered, onDestroyed);\n};\n\nexport default Controls;\n","/**\n * Created by hoho on 06/03/2019.\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport {naturalHms} from \"utils/strings\"\nimport {playlistItemTemplate} from \"view/components/controls/playlistPanelTemplate\";\nimport LA$ from \"utils/likeA$\";\nimport {\n PLAYER_RESIZED,\n PLAYLIST_CHANGED\n} from \"api/constants\";\n\nconst PlaylistPanel = function($container, api){\n const $root = LA$(api.getContainerElement());\n\n let $playlistPanel = \"\";\n let playlist = api.getPlaylist();\n let totalCount = playlist.length;\n\n let pageSize = 6;\n let page = 0;\n let pagedList = [];\n\n if($root.width() > 576){\n pageSize = 6;\n }else if($root.width() <= 576) {\n pageSize = 1;\n }\n\n function pagenate(page){\n let totalPageCount = Math.ceil(totalCount / pageSize);\n let currentPlaylistIndex = api.getCurrentPlaylist();\n\n pagedList = playlist.slice(page*pageSize, (page*pageSize)+pageSize);\n\n $playlistPanel.find(\".op-playlist-body-row\").removeChild();\n $playlistPanel.find(\".op-arrow-left\").removeClass(\"disable\");\n $playlistPanel.find(\".op-arrow-right\").removeClass(\"disable\");\n\n for(let i = 0; i < pagedList.length; i ++){\n let originalItemIndex = (page * pageSize) + i;\n pagedList[i].index = originalItemIndex;\n $playlistPanel.find(\".op-playlist-body-row\").get().append(\n createAndSelectElement(playlistItemTemplate(pagedList[i], currentPlaylistIndex === originalItemIndex))\n );\n }\n\n if(page === 0){\n $playlistPanel.find(\".op-arrow-left\").addClass(\"disable\");\n }\n if(page+1 === totalPageCount){\n $playlistPanel.find(\".op-arrow-right\").addClass(\"disable\");\n }\n };\n function findCurrentPage(){\n let currentPlaylistIndex = api.getCurrentPlaylist();\n return Math.ceil((currentPlaylistIndex+1)/ pageSize) -1\n };\n function createAndSelectElement(html) {\n const newElement = document.createElement('div');\n newElement.innerHTML = html;\n return newElement.firstChild;\n }\n const onRendered = function($current, template){\n $playlistPanel = $current;\n\n page = findCurrentPage();\n pagenate(page);\n\n api.on(PLAYER_RESIZED, function(size){\n if( (size === \"xsmall\") && pageSize === 6 ){\n pageSize = 1;\n page = findCurrentPage();\n pagenate(page);\n }else if((size === \"small\" || size === \"medium\" || size === \"large\") && pageSize === 1){\n pageSize = 6;\n page = findCurrentPage();\n pagenate(page);\n }\n },template);\n\n api.on(PLAYLIST_CHANGED, function(size){\n page = findCurrentPage();\n pagenate(page);\n },template);\n\n\n //돔에서 엘리먼트가 제거되면 이벤트도 같이 제거 되어 버리기 때문에 일단 이렇게 해당 템플릿내에서만 live 되도록 처리. 추후 TemplateEngine에 개선\n $current.get().addEventListener(\"click\",function(evt){\n var gtarget = evt.target;\n while (gtarget){\n if (LA$(gtarget).hasClass(\"op-playlist-card\")){\n api.setCurrentPlaylist(parseInt(LA$(gtarget).attr(\"data-index\")));\n return;\n }\n gtarget = gtarget.parentElement;\n }\n }, true);\n\n };\n const onDestroyed = function(template){\n api.off(PLAYER_RESIZED, null, template);\n api.off(PLAYLIST_CHANGED, null, template);\n };\n const events = {\n \"click .btn-close\" : function(event, $current, template){\n event.preventDefault();\n template.destroy();\n\n },\n \"click .op-arrow-left\" : function(event, $current, template){\n event.preventDefault();\n if( !LA$(event.target).hasClass(\"disable\") ){\n page--;\n pagenate(page);\n }\n },\n \"click .op-arrow-right\" : function(event, $current, template){\n event.preventDefault();\n if( !LA$(event.target).hasClass(\"disable\") ){\n page++;\n pagenate(page);\n }\n }/*,\n \"click .op-playlist-card\" : function(event, $current, template){\n event.preventDefault();\n }*/\n };\n\n return OvenTemplate($container, \"PlaylistPanel\", api.getConfig(), playlist, events, onRendered, onDestroyed );\n};\n\nexport default PlaylistPanel;\n","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport PanelManager from \"view/global/PanelManager\";\nimport { naturalHms } from \"utils/strings\"\nimport LA$ from \"utils/likeA$\";\nimport {\n CONTENT_TIME,\n CONTENT_BUFFER,\n AD_TIME,\n PROVIDER_HLS,\n PROVIDER_HTML5\n} from \"api/constants\";\n\nconst ProgressBar = function ($container, api, isAd, metadata) {\n const $root = LA$(api.getContainerElement());\n\n if (api.getConfig().disableSeekUI) {\n $container.addClass('op-progressbar-container-disabled');\n }\n\n let currentPlayingPosition = 0;\n let currentPlayingPercentage = 0;\n let currentLoadedPercentage = 0;\n\n let mouseInside = false, mouseDown = false;\n let panelManager = PanelManager();\n let adDuration = 0;\n let lastGridThumbnail = \"\";\n let durationForCalc = 0;\n\n let $progressBar = \"\",\n $progressLoad = \"\",\n $progressPlay = \"\",\n $progressHover = \"\",\n $knobContainer = \"\",\n $knob = \"\",\n knobWidth = 0,\n $time = \"\",\n $preview = \"\";\n\n let isMobile = api.getBrowser().mobile;\n\n const mediaElement = api.getMediaElement();\n\n let hlsLive = false;\n let nativeHlsLive = false;\n\n if (metadata && metadata.type === PROVIDER_HLS && metadata.duration === Infinity) {\n hlsLive = true;\n\n if (api.getProviderName() === PROVIDER_HTML5) {\n nativeHlsLive = true;\n }\n }\n\n function positionElements(percentage) {\n\n let progressBarWidth = $progressBar.width();\n let position = progressBarWidth * percentage;\n\n $progressPlay.css(\"width\", position + \"px\");\n $progressHover.css(\"left\", position + \"px\");\n\n let knobPostion = (progressBarWidth - knobWidth) * percentage;\n $knobContainer.css(\"left\", knobPostion + \"px\");\n\n currentPlayingPosition = position;\n currentPlayingPercentage = percentage;\n }\n\n function drawHoverProgress(percentage) {\n\n let progressBarWidth = $progressBar.width();\n let hoverPosition = progressBarWidth * percentage;\n $progressHover.css(\"width\", (percentage === 0 ? percentage : (hoverPosition - currentPlayingPosition)) + \"px\");\n\n }\n\n function drawLoadProgress(percentage) {\n\n let progressBarWidth = $progressBar.width();\n let loadPosition = progressBarWidth * percentage;\n\n $progressLoad.css(\"width\", loadPosition + \"px\");\n currentLoadedPercentage = percentage;\n }\n\n function calculatePercentage(event) {\n\n let progressBarWidth = $progressBar.width();\n let progressBarOffsetX = $progressBar.offset().left;\n\n let pointerOffsetX = event.pageX;\n\n if (event.touches) {\n\n pointerOffsetX = (event.pageX || event.touches[0].clientX);\n }\n\n let percentage = (pointerOffsetX - progressBarOffsetX) / progressBarWidth;\n\n if (percentage < 0) {\n return 0;\n }\n\n if (percentage > 1) {\n return 1;\n }\n\n return percentage;\n }\n\n function getNativeHlsDvrWindow() {\n return mediaElement.seekable.end(mediaElement.seekable.length - 1) - mediaElement.seekable.start(0);\n }\n\n function drawTimeIndicator(percentage, event) {\n if (panelManager.size() > 0 || percentage === -1) {\n $time.hide();\n $preview.hide();\n return;\n } else {\n $time.show();\n $preview.show();\n }\n\n if (hlsLive && !nativeHlsLive) {\n\n let duration = api.getDvrWindow();\n let second = duration * (1 - percentage);\n if (api.isTimecodeMode()) {\n $time.text('- ' + naturalHms(second));\n } else {\n $time.text('- ' + Math.round(second * api.getFramerate()));\n }\n } else if (hlsLive && nativeHlsLive) {\n\n let duration = getNativeHlsDvrWindow();\n let second = duration * (1 - percentage);\n if (api.isTimecodeMode()) {\n $time.text('- ' + naturalHms(second));\n } else {\n $time.text('- ' + Math.round(second * api.getFramerate()));\n }\n } else {\n\n let duration = api.getDuration();\n let second = duration * percentage;\n\n if (api.isTimecodeMode()) {\n $time.text(naturalHms(second));\n } else {\n $time.text(Math.round(second * api.getFramerate()));\n }\n }\n\n let timeElemWidth = $time.width();\n let progressBarWidth = $progressBar.width();\n let position = progressBarWidth * percentage;\n\n let positionOfPixel = event.pageX - $progressBar.offset().left;\n\n if (event.touches) {\n positionOfPixel = (event.pageX || event.touches[0].clientX) - $progressBar.offset().left;\n }\n\n\n const calculateMagnetic = function (elementWidth) {\n if (positionOfPixel < elementWidth / 2) {\n return 0;\n } else if (progressBarWidth - positionOfPixel < elementWidth / 2) {\n return progressBarWidth - elementWidth;\n } else {\n return position - elementWidth / 2;\n }\n };\n\n let magneticPosition = calculateMagnetic(timeElemWidth);\n $time.css(\"left\", magneticPosition + \"px\");\n\n if (api.getSources()[api.getCurrentSource()].gridThumbnail) {\n\n let interval = api.getConfig().gridThumbnail.thumbnailInterval;\n let width = api.getConfig().gridThumbnail.originalThumbnailWidth;\n let height = api.getConfig().gridThumbnail.originalThumbnailHeight;\n let columnCount = api.getConfig().gridThumbnail.columnCount;\n let rowCount = api.getConfig().gridThumbnail.rowCount;\n let scale = api.getConfig().gridThumbnail.resizeScale;\n\n $preview.css('width', width * scale + 'px');\n $preview.css('height', height * scale + 'px');\n $preview.css('background-size', width * scale * columnCount + 'px ' + height * scale * rowCount + 'px');\n\n let thumbnailNumber = Math.floor(second / interval);\n\n let imageNumber = Math.floor(thumbnailNumber / (columnCount * rowCount));\n\n let rowNumber = Math.floor((thumbnailNumber % (columnCount * rowCount)) / columnCount);\n let columnNumber = (thumbnailNumber % (columnCount * rowCount)) % columnCount;\n\n let left = -1 * columnNumber * width * scale;\n let top = -1 * rowNumber * height * scale;\n\n OvenPlayerConsole.log('Grid Thumbnail:', thumbnailNumber + ': ' + imageNumber + '(' + rowNumber + ', ' + columnNumber + ')');\n\n let thumbnails = api.getSources()[api.getCurrentSource()].gridThumbnail;\n let thumbnail = thumbnails[imageNumber];\n\n if (lastGridThumbnail !== thumbnail) {\n\n $preview.css('background-image', 'url(' + thumbnail + ')');\n lastGridThumbnail = thumbnail;\n }\n\n $preview.css('background-position', 'left ' + left + 'px top ' + top + 'px');\n\n let previewMagneticPosition = calculateMagnetic(width * scale);\n $preview.css(\"left\", previewMagneticPosition + \"px\");\n } else {\n\n $preview.hide();\n }\n }\n\n function seek(percentage) {\n\n let time = (durationForCalc || 0) * percentage;\n\n if (hlsLive && !nativeHlsLive) {\n\n // if latency control is on. temporarily disable latency control\n const config = api.getConfig();\n if (config.hlsConfig) {\n\n if (typeof config.hlsConfig.liveSyncDuration === 'number') {\n api.getMseInstance().config.liveSyncDuration = undefined;\n }\n\n if (typeof config.hlsConfig.liveMaxLatencyDuration === 'number') {\n api.getMseInstance().config.liveMaxLatencyDuration = undefined;\n }\n\n if (typeof config.hlsConfig.maxLiveSyncPlaybackRate === 'number') {\n api.getMseInstance().config.maxLiveSyncPlaybackRate = 1;\n }\n }\n\n time = (durationForCalc - api.getDvrWindow()) + api.getDvrWindow() * percentage;\n }\n\n if (hlsLive && nativeHlsLive) {\n const dvrWindow = getNativeHlsDvrWindow();\n time = (durationForCalc - dvrWindow) + dvrWindow * percentage;\n }\n\n let sectionStart = api.getSources()[api.getCurrentSource()].sectionStart;\n\n if (sectionStart && sectionStart > 0) {\n time = time + sectionStart;\n }\n\n api.seek(time);\n }\n\n\n const onRendered = function ($current, template) {\n\n $progressBar = $current;\n $progressLoad = $current.find(\".op-load-progress\");\n $progressPlay = $current.find(\".op-play-progress\");\n $progressHover = $current.find(\".op-hover-progress\");\n $knobContainer = $current.find(\".op-progressbar-knob-container\");\n $knob = $current.find(\".op-progressbar-knob\");\n knobWidth = $knob.width();\n $time = $current.find(\".op-progressbar-time\");\n $preview = $current.find(\".op-progressbar-preview\");\n\n if (isAd) {\n api.on(AD_TIME, function (data) {\n if (data && data.duration && data.position) {\n positionElements(data.position / data.duration);\n adDuration = data.duration;\n }\n }, template);\n } else {\n\n api.on(CONTENT_TIME, function (data) {\n if (data && data.duration && data.position) {\n\n durationForCalc = data.duration;\n let percentage = data.position / data.duration;\n\n if (hlsLive && !nativeHlsLive) {\n percentage = (api.getDvrWindow() - (data.duration - data.position)) / api.getDvrWindow();\n }\n\n if (hlsLive && nativeHlsLive) {\n const dvrWindow = getNativeHlsDvrWindow();\n durationForCalc = dvrWindow;\n const position = Math.min(dvrWindow, data.position);\n percentage = (dvrWindow - (dvrWindow - position)) / dvrWindow;\n }\n\n positionElements(percentage);\n }\n }, template);\n\n api.on(CONTENT_BUFFER, function (data) {\n if (data && data.bufferPercent) {\n drawLoadProgress(data.bufferPercent / 100);\n }\n }, template);\n }\n\n\n };\n const onDestroyed = function (template) {\n if (isAd) {\n api.off(AD_TIME, null, template);\n } else {\n api.off(CONTENT_TIME, null, template);\n api.off(CONTENT_BUFFER, null, template);\n }\n };\n let events = {\n \"touchstart .op-progressbar\": function (event) {\n\n if (isAd) {\n return false;\n }\n mouseDown = true;\n const percentage = calculatePercentage(event);\n\n if (percentage === -1) {\n return false;\n }\n\n positionElements(percentage);\n drawHoverProgress(0);\n seek(percentage);\n },\n \"touchmove .op-progressbar\": function (event) {\n\n if (mouseDown) {\n const percentage = calculatePercentage(event);\n\n if (percentage === -1) {\n return false;\n }\n\n positionElements(percentage);\n drawHoverProgress(0);\n seek(percentage);\n drawTimeIndicator(percentage, event);\n }\n },\n \"touchend .op-progressbar\": function (event) {\n\n if (mouseDown) {\n mouseDown = false;\n }\n\n $root.removeClass(\"op-progressbar-hover\");\n $time.hide();\n $preview.hide();\n\n },\n \"mouseenter .op-progressbar\": function (event, $current, template) {\n\n event.preventDefault();\n\n if (!isMobile) {\n if (!isAd) {\n mouseInside = true;\n $time.show();\n }\n $root.addClass(\"op-progressbar-hover\");\n }\n },\n \"mouseleave .op-progressbar\": function (event, $current, template) {\n\n event.preventDefault();\n\n mouseInside = false;\n mouseDown = false;\n\n if (!mouseInside) {\n $root.removeClass(\"op-progressbar-hover\");\n $time.hide();\n $preview.hide();\n }\n drawHoverProgress(0);\n },\n \"mousedown .op-progressbar\": function (event, $current, template) {\n\n event.preventDefault();\n\n if (isAd || isMobile) {\n return false;\n }\n\n mouseDown = true;\n const percentage = calculatePercentage(event);\n\n if (percentage === -1) {\n return false;\n }\n\n positionElements(percentage);\n drawHoverProgress(0);\n seek(percentage);\n },\n \"mousemove .op-progressbar\": function (event, $current, template) {\n\n event.preventDefault();\n\n if (!mouseDown && !isAd && !isMobile) {\n const percentage = calculatePercentage(event);\n drawHoverProgress(percentage);\n drawTimeIndicator(percentage, event);\n }\n\n if (mouseDown && !isMobile) {\n const percentage = calculatePercentage(event);\n\n if (percentage === -1) {\n return false;\n }\n positionElements(percentage);\n drawHoverProgress(0);\n seek(percentage);\n drawTimeIndicator(percentage, event);\n }\n },\n \"mouseup .op-progressbar\": function (event, $current, template) {\n\n event.preventDefault();\n\n if (mouseDown && !isMobile) {\n mouseDown = false;\n $root.removeClass(\"op-progressbar-hover\");\n }\n\n }\n };\n\n if (api.getConfig().disableSeekUI) {\n events = {}\n }\n\n return OvenTemplate($container, \"ProgressBar\", api.getConfig(), null, events, onRendered, onDestroyed);\n};\n\nexport default ProgressBar;\n","/**\n * Created by hoho on 2018. 7. 26..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport LA$ from \"utils/likeA$\";\nimport {\n AD_CHANGED,\n STATE_AD_COMPLETE,\n STATE_AD_LOADED,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n PLAYER_FULLSCREEN_CHANGED,\n PLAYER_FULLSCREEN_REQUEST\n} from \"api/constants\";\n\n\n\nconst FullScreenButton = function($container, api){\n const $root = LA$(api.getContainerElement());\n\n let $iconExpand = \"\", $iconCompress = \"\", isFullScreen = false;\n\n //ToDo : Template have to access Player Config.\n let config = api.getConfig();\n\n let browserInfo = api.getBrowser();\n let isIos = browserInfo.os === \"iOS\"; // && browserInfo.browser === \"Safari\";\n let isAndroid = browserInfo.os === \"Android\";\n let fullscreenChangedEventName = \"\"; //For IE11\n let isForceMode = false; //This means to look like for fullscreen.\n\n let fullScreenEventTypes = {\n onfullscreenchange : \"fullscreenchange\",\n onmozfullscreenchange : \"mozfullscreenchange\",\n onwebkitfullscreenchange : \"webkitfullscreenchange\",\n MSFullscreenChange : \"MSFullscreenChange\"\n };\n\n\n api.toggleFullScreen = toggleFullScreen;\n\n function checkFullScreen(){\n\n let fullScreen = false;\n\n const fullScreenElement = document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement;\n\n if (fullScreenElement) {\n\n if ($root.get() === fullScreenElement) {\n fullScreen = true;\n }\n }\n\n return fullScreen;\n\n };\n\n function resetFullscreenButtonState(){\n OvenPlayerConsole.log(\"FULLSCREEN STATE : \", checkFullScreen());\n if (checkFullScreen()) {\n $root.addClass(\"op-fullscreen\");\n isFullScreen = true;\n $iconExpand.hide();\n $iconCompress.show();\n\n } else {\n $root.removeClass(\"op-fullscreen\");\n isFullScreen = false;\n $iconExpand.show();\n $iconCompress.hide();\n }\n };\n\n function afterFullScreenChangedCallback(){\n OvenPlayerConsole.log(\"afterFullScreenChangedCallback () \");\n resetFullscreenButtonState();\n api.trigger(PLAYER_FULLSCREEN_CHANGED, isFullScreen);\n };\n\n function forcedFakeFullscreenToggle(){\n if(!isFullScreen){\n $root.addClass(\"op-fullscreen\");\n isFullScreen = true;\n $iconExpand.hide();\n $iconCompress.show();\n }else{\n $root.removeClass(\"op-fullscreen\");\n isFullScreen = false;\n $iconExpand.show();\n $iconCompress.hide();\n }\n api.trigger(PLAYER_FULLSCREEN_CHANGED, isFullScreen);\n };\n\n function findFullScreenChangedEventName(){\n let rootElement = $root.get();\n let eventName = \"\";\n //ios don;t have a fullscreenchange event. go to hell.\n //ios will checkFullScreen();\n\n if (rootElement.requestFullscreen) {\n eventName = fullScreenEventTypes.onfullscreenchange;\n } else if (rootElement.webkitRequestFullScreen) {\n eventName = fullScreenEventTypes.onwebkitfullscreenchange;\n } else if (rootElement.mozRequestFullScreen) {\n eventName = fullScreenEventTypes.onmozfullscreenchange;\n } else if (rootElement.msRequestFullscreen) {\n eventName = fullScreenEventTypes.MSFullscreenChange;\n }else{\n Object.keys(fullScreenEventTypes).forEach(event => {\n if(document[event]){\n eventName = fullScreenEventTypes[event];\n }\n });\n }\n return eventName;\n\n //This is original Code. IE11 doesn't follow rules. go to hell. IE11 returns \"fullscreenchange\". :(\n /*\n Object.keys(fullScreenEventTypes).forEach(eventName => {\n if(document[eventName]){\n console.log(eventName);\n document.addEventListener(fullScreenEventTypes[eventName], afterFullScreenChangedCallback, false);\n }\n });\n */\n };\n\n function requestFullScreen() {\n\n let promise = \"\";\n let rootElement = $root.get();\n let videoElements = $root.find(\"video\") ? $root.find(\"video\").get() : rootElement;\n let videoElement, adVideoElement = null;\n if(isIos){\n //IOS ad makes two video elements. one is original video other is ad. i need kick ass to ios.\n if(videoElements.length > 1){\n for(let i = 0; i < videoElements.length; i ++){\n let videoTitle = videoElements[i].getAttribute(\"title\");\n if(videoTitle && videoTitle === \"Advertisement\"){\n adVideoElement = videoElements[i];\n }else{\n videoElement = videoElements[i];\n }\n }\n }else{\n videoElement = videoElements;\n }\n if(adVideoElement && api.getState() === STATE_AD_LOADED || api.getState() === STATE_AD_PLAYING || api.getState() === STATE_AD_PAUSED){\n if (adVideoElement.webkitEnterFullScreen){\n promise = adVideoElement.webkitEnterFullScreen();\n isFullScreen = true;\n }\n }else{\n if (videoElement.webkitEnterFullScreen){\n promise = videoElement.webkitEnterFullScreen();\n isFullScreen = true;\n }\n }\n }else{\n if (rootElement.requestFullscreen) {\n var fullScreenOption = api.getConfig().fullscreenOption;\n promise = rootElement.requestFullscreen(fullScreenOption);\n } else if (rootElement.webkitRequestFullScreen) {\n promise = rootElement.webkitRequestFullScreen();\n } else if (rootElement.mozRequestFullScreen) {\n promise = rootElement.mozRequestFullScreen();\n } else if (rootElement.msRequestFullscreen) {\n promise = rootElement.msRequestFullscreen();\n }else {\n // TODO(rock): warn not supported\n }\n\n //ToDo : Why occured this error?\n //TypeError: Failed to execute 'requestFullscreen' on 'Element': Illegal invocation\n /*\n let sumOfRequestFullscreen = rootElement.requestFullscreen || rootElement.webkitRequestFullScreen ||\n rootElement.mozRequestFullScreen || rootElement.msRequestFullscreen || videoElement.webkitEnterFullScreen;\n if(sumOfRequestFullscreen){\n promise = sumOfRequestFullscreen();\n }\n */\n }\n\n if(promise){\n\n promise.then(function(){\n\n isFullScreen = true;\n isForceMode = false;\n //config.setFullscreen(true);\n\n }).catch(function(error){\n //This means to look like for fullscreen.\n isForceMode = true;\n forcedFakeFullscreenToggle();\n\n\n //wait for User Interaction. It runs Chrome only.\n //Because \"fullscreen error\" occures Chrome.\n //Firefox can't runs this routine because \"Element.requestFullscreen()이 짧게 실행되는 사용자 생성 이벤트 핸들러의 내부로부터 호출되지 않았기 때문에 전체화면 요청이 거부되었습니다.\".\n /*if(error.message === \"fullscreen error\"){\n setTimeout(function(){\n requestFullScreen();\n },500);\n }*/\n });\n }\n };\n function exitFullScreen() {\n\n let promise = \"\";\n\n if (document.exitFullscreen) {\n promise = document.exitFullscreen();\n } else if (document.webkitExitFullscreen) {\n promise = document.webkitExitFullscreen();\n } else if (document.webkitExitFullScreen) {\n promise = document.webkitExitFullScreen();\n } else if (document.mozCancelFullScreen) {\n promise = document.mozCancelFullScreen();\n } else if (document.msExitFullscreen) {\n promise = document.msExitFullscreen();\n } else {\n // TODO(rock): warn not supported\n }\n\n if(promise){\n\n promise.then(function(){\n\n isFullScreen = false;\n\n }).catch(function(error){\n\n });\n }\n\n }\n function toggleFullScreen() {\n\n if (!isFullScreen || (isIos && !checkFullScreen())) {\n requestFullScreen();\n } else {\n if(isForceMode){\n forcedFakeFullscreenToggle();\n }else{\n exitFullScreen();\n }\n }\n };\n\n const onRendered = function($current, template){\n $iconExpand = $current.find(\".op-fullscreen-expand\");\n $iconCompress = $current.find(\".op-fullscreen-compress\");\n\n resetFullscreenButtonState();\n\n fullscreenChangedEventName = findFullScreenChangedEventName();\n if(fullscreenChangedEventName){\n document.addEventListener(fullscreenChangedEventName, afterFullScreenChangedCallback, false);\n }\n\n api.on(AD_CHANGED, function(ad){\n //force close for ios midroll\n let videoElements = $root.find(\"video\") ? $root.find(\"video\").get() : $root.get();\n let videoElement, adVideoElement = null;\n\n if(ad.isLinear && isIos && isFullScreen ){\n if(videoElements.length > 1){\n for(let i = 0; i < videoElements.length; i ++){\n let videoTitle = videoElements[i].getAttribute(\"title\");\n if(videoTitle && videoTitle === \"Advertisement\"){\n adVideoElement = videoElements[i];\n }else{\n videoElement = videoElements[i];\n }\n }\n }else{\n videoElement = videoElements;\n }\n if(videoElement && videoElement.webkitExitFullscreen){\n videoElement.webkitExitFullscreen();\n isFullScreen = false;\n }\n }\n }, template);\n };\n\n\n const onDestroyed = function(template){\n if (fullscreenChangedEventName){\n document.removeEventListener(fullscreenChangedEventName, afterFullScreenChangedCallback);\n }\n\n api.off(AD_CHANGED, null, template);\n };\n const events = {\n \"click .op-fullscreen-button\" : function(event, $current, template){\n event.preventDefault();\n api.trigger(PLAYER_FULLSCREEN_REQUEST, null);\n toggleFullScreen();\n }\n };\n return OvenTemplate($container, \"FullScreenButton\", api.getConfig(), null, events, onRendered, onDestroyed );\n\n};\n\nexport default FullScreenButton;\n","/**\n * Created by hoho on 2018. 7. 25..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport { naturalHms } from \"utils/strings\";\nimport {\n CONTENT_TIME,\n CONTENT_TIME_MODE_CHANGED,\n PROVIDER_HLS,\n PROVIDER_HTML5\n} from \"api/constants\";\n\nconst TimeDisplay = function ($container, api, data) {\n\n let $position = \"\", $duration = \"\", $liveBadge = \"\", $liveText = \"\";\n\n const mediaElement = api.getMediaElement();\n\n let hlsLive = false;\n let nativeHlsLive = false;\n\n function convertHumanizeTime(time) {\n return naturalHms(time);\n }\n\n\n function getNativeHlsDvrWindow() {\n return mediaElement.seekable.end(mediaElement.seekable.length - 1) - mediaElement.seekable.start(0);\n }\n\n const onRendered = function ($current, template) {\n let isTimecode = api.isTimecodeMode();\n $position = $current.find(\".op-time-current\");\n $duration = $current.find(\".op-time-duration\");\n $liveBadge = $current.find(\".op-live-badge\");\n $liveText = $current.find(\".op-live-text\");\n\n if (data && data.type === PROVIDER_HLS && data.duration === Infinity) {\n hlsLive = true;\n\n if (api.getProviderName() === PROVIDER_HTML5) {\n nativeHlsLive = true;\n }\n }\n\n if (data.duration !== Infinity) {\n\n if (isTimecode) {\n $duration.text(convertHumanizeTime(data.duration));\n } else {\n $duration.text(Math.round(data.duration * api.getFramerate()) + \" (\" + api.getFramerate() + \"fps)\");\n }\n\n api.on(CONTENT_TIME_MODE_CHANGED, function (isTimecodeMode) {\n isTimecode = isTimecodeMode;\n if (isTimecode) {\n $duration.text(convertHumanizeTime(data.duration));\n } else {\n $duration.text(Math.round(data.duration * api.getFramerate()) + \" (\" + api.getFramerate() + \"fps)\");\n }\n }, template);\n\n api.on(CONTENT_TIME, function (data) {\n if (isTimecode) {\n $position.text(convertHumanizeTime(data.position));\n } else {\n $position.text(Math.round(data.position * api.getFramerate()));\n }\n }, template);\n } else {\n if (hlsLive && !nativeHlsLive) {\n api.on(CONTENT_TIME, function (data) {\n\n if (data.duration - data.position > 3) {\n $liveBadge.addClass('op-live-badge-delayed');\n } else {\n $liveBadge.removeClass('op-live-badge-delayed');\n }\n\n }, template);\n } else if (hlsLive && nativeHlsLive) {\n\n api.on(CONTENT_TIME, function (data) {\n const dvrWindow = getNativeHlsDvrWindow();\n if (dvrWindow - data.position > 3) {\n $liveBadge.addClass('op-live-badge-delayed');\n } else {\n $liveBadge.removeClass('op-live-badge-delayed');\n }\n\n }, template);\n }\n }\n\n };\n\n const onDestroyed = function (template) {\n api.off(CONTENT_TIME_MODE_CHANGED, null, template);\n api.off(CONTENT_TIME, null, template);\n };\n const events = {\n \"click .op-live-text\": function (event, $current, template) {\n\n event.preventDefault();\n\n api.seek(Number.MAX_SAFE_INTEGER);\n\n //When playback get back to the latest, turn the latency control back on.\n const config = api.getConfig();\n if (config.hlsConfig) {\n\n const hlsConfig = config.hlsConfig;\n if (typeof hlsConfig.liveSyncDuration === 'number') {\n api.getMseInstance().config.liveSyncDuration\n = hlsConfig.liveSyncDuration;\n }\n\n if (typeof hlsConfig.liveMaxLatencyDuration === 'number') {\n api.getMseInstance().config.liveMaxLatencyDuration\n = hlsConfig.liveMaxLatencyDuration;\n }\n\n if (typeof hlsConfig.maxLiveSyncPlaybackRate === 'number') {\n api.getMseInstance().config.maxLiveSyncPlaybackRate =\n hlsConfig.maxLiveSyncPlaybackRate;\n }\n }\n },\n };\n\n return OvenTemplate($container, \"TimeDisplay\", api.getConfig(), data, events, onRendered, onDestroyed);\n};\n\n\nexport default TimeDisplay;\n","/**\n * Created by hoho on 2018. 7. 24..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport {\n ERROR,\n STATE_IDLE,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_PAUSED,\n STATE_ERROR,\n PLAYER_STATE,\n STATE_AD_LOADED,\n STATE_AD_PLAYING,\n STATE_AD_PAUSED,\n STATE_AD_COMPLETE,\n} from \"api/constants\";\n\nconst PlayButton = function ($container, api) {\n let $iconPlay = \"\",\n $iconPause = \"\",\n $iconReplay = \"\",\n $buttonBack = \"\",\n $buttonForward = \"\",\n $textBack = \"\",\n $textForward = \"\";\n\n\n\n function setButtonState(state){\n $iconPlay.hide();\n $iconPause.hide();\n $iconReplay.hide();\n if(state === STATE_PLAYING || state === STATE_AD_PLAYING || state === STATE_LOADING || state === STATE_STALLED){\n $iconPause.show();\n }else if(state === STATE_PAUSED || state === STATE_AD_PAUSED){\n $iconPlay.show();\n }else if(state === STATE_COMPLETE){\n $iconReplay.show();\n }else{\n $iconPlay.show();\n }\n };\n\n\n\n const onRendered = function($current, template){\n $iconPlay = $current.find(\".op-play-button .op-play\");\n $iconPause = $current.find(\".op-play-button .op-pause\");\n $iconReplay = $current.find(\".op-play-button .op-replay\");\n $buttonBack = $current.find('.op-seek-button-back');\n $buttonForward = $current.find('.op-seek-button-forward');\n $textBack = $current.find('.op-seek-back-text');\n $textForward = $current.find('.op-seek-forward-text');\n\n api.on(PLAYER_STATE, function(data){\n if(data && data.newstate){\n setButtonState(data.newstate);\n }\n }, template);\n\n if (!api.getConfig().showSeekControl) {\n $buttonBack.hide();\n $buttonForward.hide();\n }\n\n let seekInterval = api.getConfig().seekControlInterval;\n\n if (seekInterval) {\n\n $textBack.text(seekInterval);\n $textForward.text(seekInterval);\n } else {\n\n $textBack.text(10);\n $textForward.text(10);\n }\n };\n const onDestroyed = function(template){\n api.off(PLAYER_STATE, null, template);\n };\n const events = {\n \"click .op-play-button\" : function(event, $current, template){\n event.preventDefault();\n let currentState = api.getState();\n let playlist = api.getPlaylist();\n let currentPlaylistIndex = api.getCurrentPlaylist();\n\n if (currentState === STATE_IDLE) {\n api.play();\n } else if (currentState === STATE_PLAYING || currentState === STATE_AD_PLAYING) {\n api.pause();\n } else if (currentState === STATE_LOADING || currentState === STATE_STALLED) {\n api.stop();\n } else if (currentState === STATE_PAUSED || currentState === STATE_AD_PAUSED) {\n api.play();\n } else if (currentState === STATE_ERROR) {\n api.setCurrentSource(api.getCurrentSource());\n } else if (currentState === STATE_COMPLETE) {\n if(playlist.length === (currentPlaylistIndex+1)){\n api.seek(0);\n api.play();\n }\n }\n },\n \"click .op-seek-button-back\" : function(event, $current, template) {\n\n let seekInterval = api.getConfig().seekControlInterval;\n\n if (!seekInterval) {\n seekInterval = 10;\n }\n\n let time = api.getPosition() - seekInterval;\n\n if (time < 0) {\n time = 0;\n }\n\n api.seek(time);\n },\n \"click .op-seek-button-forward\" : function(event, $current, template) {\n\n let seekInterval = api.getConfig().seekControlInterval;\n\n if (!seekInterval) {\n seekInterval = 10;\n }\n\n let time = api.getPosition() + seekInterval;\n\n if (time > api.getDuration()) {\n time = api.getDuration();\n }\n\n api.seek(time);\n }\n };\n\n return OvenTemplate($container, \"PlayButton\", api.getConfig(), null, events, onRendered, onDestroyed );\n};\n\nexport default PlayButton;\n","/**\n * Created by hoho on 2018. 7. 20..\n */\nimport OvenTemplate from \"view/engine/OvenTemplate\";\nimport {\n READY,\n CONTENT_VOLUME,\n CONTENT_MUTE\n} from \"api/constants\";\nimport {PLAYER_PLAY} from \"../../../api/constants\";\n\nconst VolumeButton = function($container, api){\n\n let $sliderContainer = \"\",\n $slider = \"\",\n $sliderHandle = \"\",\n $sliderValue = \"\",\n $volumeIconBig = \"\",\n $volumeIconSmall = \"\",\n $volumeIconMute = \"\";\n let mouseDown = false;\n let sliderWidth = 70, handleWidth = 12, minRange = 0, maxRange = 0;\n\n let isMobile = api.getBrowser().os === \"iOS\" || api.getBrowser().os === \"Android\";\n\n\n function setVolumeIcon(percentage) {\n $volumeIconBig.hide();\n $volumeIconSmall.hide();\n $volumeIconMute.hide();\n\n if (percentage >= 70) {\n $volumeIconBig.show();\n } else if (percentage < 70 && percentage > 0) {\n $volumeIconSmall.show();\n } else if (percentage == 0) {\n $volumeIconMute.show();\n }else{\n $volumeIconBig.show();\n }\n }\n\n function setVolumeUI(percentage) {\n if (api.getMute()) {\n percentage = 0;\n }\n\n setVolumeIcon(percentage);\n\n const handlePosition = maxRange * percentage / 100;\n\n\n $sliderHandle.css(\"left\", handlePosition+ \"px\");\n $sliderValue.css(\"width\", handlePosition+ \"px\");\n }\n\n function calculatePercentage(event) {\n const relativeX = (event.pageX || event.touches[0].clientX) - $slider.offset().left;\n let percentage = relativeX / sliderWidth * 100;\n\n if (percentage < 0) {\n percentage = 0;\n }\n\n if (percentage > 100) {\n percentage = 100;\n }\n return percentage;\n }\n\n\n const onRendered = function($current, template){\n\n $sliderContainer = $current.find(\".op-volume-slider-container\");\n\n if (api.getBrowser().mobile) {\n $sliderContainer.hide();\n }\n\n $slider = $current.find(\".op-volume-silder\");\n $sliderHandle = $current.find(\".op-volume-slider-handle\");\n $sliderValue = $current.find(\".op-volume-slider-value\");\n\n $volumeIconBig = $current.find( \".op-volume-max\");\n $volumeIconSmall = $current.find(\".op-volume-small\");\n $volumeIconMute = $current.find(\".op-volume-mute\");\n\n //ToDo : Can't read width.\n //sliderWidth = $sliderContainer.width();\n //handleWidth = $sliderHandle.width();\n\n maxRange = sliderWidth - (handleWidth/2);\n\n $sliderHandle.css(\"left\", maxRange+ \"px\");\n\n setVolumeUI(api.getVolume());\n\n api.on(READY, function() {\n setVolumeUI(api.getVolume());\n }, template);\n api.on(CONTENT_VOLUME, function(data) {\n\n setVolumeUI(data.volume);\n\n }, template);\n api.on(CONTENT_MUTE, function(data) {\n if (data.mute) {\n setVolumeUI(0);\n } else {\n setVolumeUI(api.getVolume());\n }\n }, template);\n\n };\n const onDestroyed = function(template){\n api.off(READY, null, template);\n api.off(CONTENT_VOLUME, null, template);\n api.off(CONTENT_MUTE, null, template);\n };\n const events = {\n \"click .op-volume-button\" : function(event, $current, template){\n event.preventDefault();\n if(isMobile){\n\n }else{\n if (api.getVolume() === 0) {\n api.setMute(false);\n api.setVolume(100);\n } else {\n api.setMute();\n }\n }\n\n },\n \"mouseenter .op-volume-button\" : function(event, $current, template){\n event.preventDefault();\n\n if(!isMobile){\n $sliderContainer.addClass(\"active\");\n }\n },\n \"mouseleave .op-volume-silder\" : function(event, $current, template){\n event.preventDefault();\n\n mouseDown = false;\n },\n \"mousedown .op-volume-silder\" : function(event, $current, template){\n event.preventDefault();\n mouseDown = true;\n api.setMute(false);\n api.setVolume(calculatePercentage(event));\n },\n \"mouseup .op-volume-silder\" : function(event, $current, template){\n event.preventDefault();\n mouseDown = false;\n },\n \"mousemove .op-volume-silder\" : function(event, $current, template){\n event.preventDefault();\n if (!mouseDown) {\n return false;\n }\n\n api.setVolume(calculatePercentage(event));\n },\n // \"touchstart .op-volume-slider-handle\" : function(event){\n // mouseDown = true;\n //\n // },\n // \"touchmove .op-volume-slider-handle\" : function(event){\n // if(mouseDown){\n //\n // api.setMute(false);\n // api.setVolume(calculatePercentage(event));\n // }\n // },\n // \"touchend .op-volume-slider-handle\" : function(event){\n //\n // if(mouseDown){\n // mouseDown = false;\n // }\n // },\n \"touchstart .op-volume-button\" : function(event){\n if(isMobile){\n if (api.getMute()) {\n api.setMute(false);\n } else {\n api.setMute(true);\n }\n }\n }\n };\n let that = OvenTemplate($container, \"VolumeButton\", api.getConfig(), null, events, onRendered, onDestroyed);\n that.setMouseDown = (state) => {\n mouseDown = state;\n };\n return that;\n\n /*or\n\n return Object.assign(OvenTemplate($container, \"VolumeButton\", api.getConfig(), null, events, onRendered, onDestroyed), {\n setMouseDown: function (state) {\n mouseDown = state;\n }\n });*/\n};\n\nexport default VolumeButton;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./ovenplayer.less\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./ovenplayer.less\";\n export default content && content.locals ? content.locals : undefined;\n","import {version} from 'version'\nimport OvenPlayerSDK from './ovenplayer.sdk'\nimport {checkAndGetContainerElement} from 'utils/validator'\nimport View from './view/view';\n\nfunction ovenPlayerFactory() {\n\n const OvenPlayer = {};\n\n Object.assign(OvenPlayer, OvenPlayerSDK);\n\n OvenPlayer.create = function (container, options) {\n\n let containerElement = checkAndGetContainerElement(container);\n\n let player = View(containerElement);\n\n const playerInstance = OvenPlayerSDK.create(player.getMediaElementContainer(), options);\n\n player.setApi(playerInstance);\n\n OvenPlayerConsole.log(\"[OvenPlayer] v.\"+ version);\n\n return playerInstance;\n };\n\n return OvenPlayer;\n}\n\nexport default ovenPlayerFactory()\n","/**\n * Created by hoho on 2018. 7. 20..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport Helpers from 'view/components/helpers/main';\nimport Controls from 'view/components/controls/main';\nimport PanelManager from \"view/global/PanelManager\";\nimport ContextPanel from 'view/components/helpers/contextPanel';\nimport LA$ from 'utils/likeA$';\nimport ResizeSensor from \"utils/resize-sensor\";\nimport {\n READY,\n DESTROY,\n PLAYER_RESIZED,\n PLAYER_PLAY,\n STATE_IDLE,\n STATE_AD_PLAYING,\n STATE_PLAYING,\n STATE_STALLED,\n STATE_LOADING,\n STATE_COMPLETE,\n STATE_PAUSED,\n STATE_ERROR,\n CONTENT_META,\n PLAYER_STATE,\n PLAYER_CLICKED,\n ERROR\n} from \"api/constants\";\n\nimport '../../stylesheet/ovenplayer.less';\n\nconst View = function($container){\n let viewTemplate = \"\", controls = \"\", helper = \"\", $playerRoot, contextPanel = \"\", api = null, autoHideTimer = \"\", playerState = STATE_IDLE;\n let isShiftPressed = false;\n let panelManager = PanelManager();\n let screenSize = \"\";\n let currentPlayerSize = \"\";\n let resizeSensor = null;\n\n let that = {};\n\n //Member Functions\n function setHide(hide, autoHide) {\n if (autoHideTimer) {\n clearTimeout(autoHideTimer);\n autoHideTimer = null;\n }\n\n if (hide) {\n if(panelManager.size() > 0){\n return false;\n }\n $playerRoot.addClass(\"op-autohide\");\n } else {\n $playerRoot.removeClass(\"op-autohide\");\n\n if (autoHide) {\n autoHideTimer = setTimeout(function() {\n if(panelManager.size()> 0){\n return false;\n }\n $playerRoot.addClass(\"op-autohide\");\n }, 3000);\n }\n }\n }\n function togglePlayPause() {\n const currentState = playerState;\n\n if (currentState === STATE_IDLE || currentState === STATE_PAUSED || currentState === STATE_COMPLETE) {\n\n if (currentState === STATE_COMPLETE) {\n api.seek(0);\n }\n\n api.play();\n }else if(currentState === STATE_PLAYING){\n api.pause();\n }\n }\n function seek(seconds, isRewind) {\n\n const duration = api.getDuration();\n const currentPosition = api.getPosition();\n let position = 0;\n\n if(isRewind){\n position = Math.max(currentPosition - seconds, 0);\n }else{\n position = Math.min(currentPosition + seconds, duration);\n }\n\n api.seek(position);\n }\n function volume(isUp){\n const currentVolumn = api.getVolume();\n let newVolume = 0;\n if(isUp){\n newVolume = Math.min(currentVolumn + 5, 100);\n }else{\n newVolume = Math.max(currentVolumn - 5, 0);\n }\n api.setVolume(newVolume);\n }\n function createContextPanel(pageX, pageY){\n if(contextPanel){\n contextPanel.destroy();\n contextPanel = null;\n }\n contextPanel = ContextPanel($playerRoot, api, {pageX : pageX, pageY : pageY});\n }\n\n function calcPlayerWidth(){\n let playerWidth = $playerRoot.width();\n if(playerWidth < 576){\n screenSize = \"xsmall\";\n $playerRoot.addClass(\"xsmall\");\n\n if (playerWidth < 490) {\n $playerRoot.addClass(\"xxsmall\");\n }\n\n }else if(playerWidth < 768){\n screenSize = \"small\";\n $playerRoot.addClass(\"small\");\n }else if(playerWidth < 992){\n screenSize = \"medium\";\n $playerRoot.addClass(\"medium\");\n }else{\n screenSize = \"large\";\n $playerRoot.addClass(\"large\");\n }\n }\n\n const onRendered = function($current, template){\n $playerRoot = $current;\n viewTemplate = template;\n calcPlayerWidth();\n currentPlayerSize = screenSize;\n resizeSensor = new ResizeSensor($playerRoot.get(), function() {\n\n $playerRoot.removeClass(\"large\");\n $playerRoot.removeClass(\"medium\");\n $playerRoot.removeClass(\"small\");\n $playerRoot.removeClass(\"xsmall\");\n $playerRoot.removeClass(\"xxsmall\");\n calcPlayerWidth();\n if(screenSize !== currentPlayerSize){\n currentPlayerSize = screenSize;\n if(api){\n api.trigger(PLAYER_RESIZED, currentPlayerSize);\n }\n }\n });\n\n };\n const onDestroyed = function(){\n if(resizeSensor) {\n resizeSensor.detach();\n resizeSensor = null;\n }\n\n if(helper){\n helper.destroy();\n helper = null;\n }\n if(controls){\n controls.destroy();\n controls = null;\n }\n };\n const events = {\n \"click .ovenplayer\" : function(event, $current, template){\n\n if(api){\n api.trigger(PLAYER_CLICKED, event);\n }\n\n if(contextPanel){\n event.preventDefault();\n contextPanel.destroy();\n contextPanel = null;\n return false;\n }\n\n if(!(LA$(event.target).closest(\".op-controls-container\") || LA$(event.target).closest(\".op-setting-panel\") )){\n\n if(panelManager.size() > 0){\n event.preventDefault();\n panelManager.clear();\n return false;\n }\n\n if (api.getDuration() !== Infinity && !api.getBrowser().mobile) {\n togglePlayPause();\n }\n\n }\n },\n \"dblclick .ovenplayer\" : function(event, $current, template){\n\n if (api) {\n\n if (api.getConfig().expandFullScreenUI && api.toggleFullScreen) {\n\n if(!(LA$(event.target).closest(\".op-controls-container\") || LA$(event.target).closest(\".op-setting-panel\") )){\n api.toggleFullScreen();\n }\n }\n }\n },\n //For iOS safari\n \"touchstart .ovenplayer\" : function(event, $current, template){\n if (playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")) {\n setHide(false, true);\n } else {\n setHide(false);\n }\n },\n \"mouseenter .ovenplayer\" : function(event, $current, template){\n event.preventDefault();\n\n //small screen with STATE_AD_PLAYING setHide too. becuase mobile hide ad ui.\n if (playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")) {\n setHide(false, true);\n } else {\n setHide(false);\n }\n },\n \"mousemove .ovenplayer\" : function(event, $current, template){\n event.preventDefault();\n\n if (playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")) {\n setHide(false, true);\n } else {\n setHide(false);\n }\n },\n \"mouseleave .ovenplayer\" : function(event, $current, template){\n event.preventDefault();\n\n if(playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")){\n setHide(true);\n }\n },\n \"keydown .ovenplayer\" : function(event, $current, template){\n let frameMode = api.getFramerate();\n switch(event.keyCode){\n case 16 : //shift\n event.preventDefault();\n isShiftPressed = true;\n break;\n case 32 : //space\n event.preventDefault();\n togglePlayPause();\n break;\n case 37 : //arrow left\n event.preventDefault();\n\n if (!api.getConfig().disableSeekUI) {\n if(isShiftPressed && frameMode){\n api.seekFrame(-1);\n }else{\n seek(5, true);\n }\n }\n break;\n case 39 : //arrow right\n event.preventDefault();\n\n if (!api.getConfig().disableSeekUI) {\n\n if(isShiftPressed && frameMode){\n api.seekFrame(1);\n }else{\n seek(5, false);\n }\n }\n\n break;\n case 38 : //arrow up\n event.preventDefault();\n volume(true);\n break;\n case 40 : //arrow up\n event.preventDefault();\n volume(false);\n break;\n }\n\n },\n \"keyup .ovenplayer\" : function(event, $current, template){\n switch(event.keyCode) {\n case 16 : //shift\n event.preventDefault();\n isShiftPressed = false;\n break;\n }\n\n },\n \"contextmenu .ovenplayer\" : function(event, $current, template){\n event.stopPropagation();\n if(!LA$(event.currentTarget).find(\"object\")){\n event.preventDefault();\n createContextPanel(event.pageX, event.pageY);\n return false;\n }\n }\n };\n\n that = OvenTemplate($container, \"View\", null, $container.id, events, onRendered, onDestroyed, true);\n\n that.getMediaElementContainer = () => {\n return $playerRoot.find(\".op-media-element-container\").get();\n };\n\n that.setApi = (playerInstance) => {\n api = playerInstance;\n\n api.getContainerElement = () => {\n return $playerRoot.get();\n };\n\n api.getContainerId = () => {\n return $playerRoot.get().id;\n };\n\n api.on(READY, function(data) {\n\n if(!controls){\n controls = Controls($playerRoot.find(\".op-ui\"), playerInstance);\n }\n\n if (!showControlBar) {\n $playerRoot.addClass(\"op-no-controls\");\n }\n\n });\n\n api.on(ERROR, function(error) {\n if(api){\n let sources = api.getSources()||[];\n if(controls && (sources.length <= 1)){\n // controls.destroy();\n // controls = null;\n }\n }\n\n });\n\n api.on(DESTROY, function(data) {\n viewTemplate.destroy();\n });\n\n api.on(PLAYER_PLAY, function (data) {\n if(!controls && showControlBar){\n controls = Controls($playerRoot.find(\".op-ui\"), playerInstance);\n }\n });\n\n api.on(PLAYER_STATE, function(data){\n if(data && data.newstate){\n playerState = data.newstate;\n if(data.newstate === STATE_PLAYING || (data.newstate === STATE_AD_PLAYING && screenSize === \"xsmall\")){\n setHide(false, true);\n }else{\n setHide(false);\n }\n }\n });\n\n let showControlBar = api.getConfig() && api.getConfig().controls;\n\n helper = Helpers($playerRoot.find(\".op-ui\"), playerInstance);\n controls = Controls($playerRoot.find(\".op-ui\"), playerInstance);\n\n let aspectRatio = api.getConfig().aspectRatio;\n\n if (aspectRatio) {\n\n if (aspectRatio.split(':').length === 2) {\n\n let width = aspectRatio.split(':')[0] * 1;\n let height = aspectRatio.split(':')[1] * 1;\n\n let ratio = height / width * 100;\n\n $playerRoot.find('.op-ratio').css('padding-bottom', ratio + '%');\n }\n }\n\n api.showControls = function (show) {\n if (show) {\n $playerRoot.removeClass(\"op-no-controls\");\n setHide(false, true);\n } else {\n $playerRoot.addClass(\"op-no-controls\");\n }\n };\n };\n\n\n return that;\n};\n\n\n\nexport default View;\n","/**\n * Created by hoho on 2018. 8. 1..\n */\nimport OvenTemplate from 'view/engine/OvenTemplate';\nimport LA$ from 'utils/likeA$';\n\nconst ContextPanel = function($container, api, position){\n const $root = LA$(api.getContainerElement());\n\n const onRendered = function($current, template){\n const panelWidth = $current.width();\n const panelHeight = $current.height();\n\n const x = Math.min(position.pageX - $root.offset().left, $root.width() - panelWidth);\n const y = Math.min(position.pageY - $root.offset().top, $root.height() - panelHeight);\n\n $current.css(\"left\" , x + \"px\");\n $current.css(\"top\" , y + \"px\");\n };\n const onDestroyed = function(){\n //Do nothing.\n };\n const events = {\n \"click .op-context-item\" : function(event, $current, template){\n event.preventDefault();\n\n window.open(\n 'https://github.com/AirenSoft/OvenPlayer',\n '_blank'\n );\n }\n };\n\n return OvenTemplate($container, \"ContextPanel\", api.getConfig(), position, events, onRendered, onDestroyed );\n\n};\n\nexport default ContextPanel;\n","/*\n* Copyright 2018 Joshua Bell\n\n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n* */\n\n(function(global) {\n 'use strict';\n if (!('window' in global && 'document' in global))\n return;\n\n //----------------------------------------------------------------------\n //\n // DOM\n // https://dom.spec.whatwg.org/\n //\n //----------------------------------------------------------------------\n\n // Document.querySelectorAll method\n // http://ajaxian.com/archives/creating-a-queryselector-for-ie-that-runs-at-native-speed\n // Needed for: IE7-\n if (!document.querySelectorAll) {\n document.querySelectorAll = function(selectors) {\n var style = document.createElement('style'), elements = [], element;\n document.documentElement.firstChild.appendChild(style);\n document._qsa = [];\n\n style.styleSheet.cssText = selectors + '{x-qsa:expression(document._qsa && document._qsa.push(this))}';\n window.scrollBy(0, 0);\n style.parentNode.removeChild(style);\n\n while (document._qsa.length) {\n element = document._qsa.shift();\n element.style.removeAttribute('x-qsa');\n elements.push(element);\n }\n document._qsa = null;\n return elements;\n };\n }\n\n // Document.querySelector method\n // Needed for: IE7-\n if (!document.querySelector) {\n document.querySelector = function(selectors) {\n var elements = document.querySelectorAll(selectors);\n return (elements.length) ? elements[0] : null;\n };\n }\n\n // Document.getElementsByClassName method\n // Needed for: IE8-\n if (!document.getElementsByClassName) {\n document.getElementsByClassName = function(classNames) {\n classNames = String(classNames).replace(/^|\\s+/g, '.');\n return document.querySelectorAll(classNames);\n };\n }\n\n // Node interface constants\n // Needed for: IE8-\n global.Node = global.Node || function() { throw TypeError(\"Illegal constructor\"); };\n [\n ['ELEMENT_NODE', 1],\n ['ATTRIBUTE_NODE', 2],\n ['TEXT_NODE', 3],\n ['CDATA_SECTION_NODE', 4],\n ['ENTITY_REFERENCE_NODE', 5],\n ['ENTITY_NODE', 6],\n ['PROCESSING_INSTRUCTION_NODE', 7],\n ['COMMENT_NODE', 8],\n ['DOCUMENT_NODE', 9],\n ['DOCUMENT_TYPE_NODE', 10],\n ['DOCUMENT_FRAGMENT_NODE', 11],\n ['NOTATION_NODE', 12]\n ].forEach(function(p) { if (!(p[0] in global.Node)) global.Node[p[0]] = p[1]; });\n\n // DOMException constants\n // Needed for: IE8-\n global.DOMException = global.DOMException || function() { throw TypeError(\"Illegal constructor\"); };\n [\n ['INDEX_SIZE_ERR', 1],\n ['DOMSTRING_SIZE_ERR', 2],\n ['HIERARCHY_REQUEST_ERR', 3],\n ['WRONG_DOCUMENT_ERR', 4],\n ['INVALID_CHARACTER_ERR', 5],\n ['NO_DATA_ALLOWED_ERR', 6],\n ['NO_MODIFICATION_ALLOWED_ERR', 7],\n ['NOT_FOUND_ERR', 8],\n ['NOT_SUPPORTED_ERR', 9],\n ['INUSE_ATTRIBUTE_ERR', 10],\n ['INVALID_STATE_ERR', 11],\n ['SYNTAX_ERR', 12],\n ['INVALID_MODIFICATION_ERR', 13],\n ['NAMESPACE_ERR', 14],\n ['INVALID_ACCESS_ERR', 15]\n ].forEach(function(p) { if (!(p[0] in global.DOMException)) global.DOMException[p[0]] = p[1]; });\n\n // Event and EventTargets interfaces\n // Needed for: IE8\n (function(){\n if (!('Element' in global) || Element.prototype.addEventListener || !Object.defineProperty)\n return;\n\n // interface Event\n\n // PhaseType (const unsigned short)\n Event.CAPTURING_PHASE = 1;\n Event.AT_TARGET = 2;\n Event.BUBBLING_PHASE = 3;\n\n Object.defineProperties(Event.prototype, {\n CAPTURING_PHASE: { get: function() { return 1; } },\n AT_TARGET: { get: function() { return 2; } },\n BUBBLING_PHASE: { get: function() { return 3; } },\n target: {\n get: function() {\n return this.srcElement;\n }},\n currentTarget: {\n get: function() {\n return this._currentTarget;\n }},\n eventPhase: {\n get: function() {\n return (this.srcElement === this.currentTarget) ? Event.AT_TARGET : Event.BUBBLING_PHASE;\n }},\n bubbles: {\n get: function() {\n switch (this.type) {\n // Mouse\n case 'click':\n case 'dblclick':\n case 'mousedown':\n case 'mouseup':\n case 'mouseover':\n case 'mousemove':\n case 'mouseout':\n case 'mousewheel':\n // Keyboard\n case 'keydown':\n case 'keypress':\n case 'keyup':\n // Frame/Object\n case 'resize':\n case 'scroll':\n // Form\n case 'select':\n case 'change':\n case 'submit':\n case 'reset':\n return true;\n }\n return false;\n }},\n cancelable: {\n get: function() {\n switch (this.type) {\n // Mouse\n case 'click':\n case 'dblclick':\n case 'mousedown':\n case 'mouseup':\n case 'mouseover':\n case 'mouseout':\n case 'mousewheel':\n // Keyboard\n case 'keydown':\n case 'keypress':\n case 'keyup':\n // Form\n case 'submit':\n return true;\n }\n return false;\n }},\n timeStamp: {\n get: function() {\n return this._timeStamp;\n }},\n stopPropagation: {\n value: function() {\n this.cancelBubble = true;\n }},\n preventDefault: {\n value: function() {\n this.returnValue = false;\n }},\n defaultPrevented: {\n get: function() {\n return this.returnValue === false;\n }}\n });\n\n // interface EventTarget\n\n function addEventListener(type, listener, useCapture) {\n if (typeof listener !== 'function') return;\n if (type === 'DOMContentLoaded') type = 'load';\n var target = this;\n var f = function(e) {\n e._timeStamp = Date.now();\n e._currentTarget = target;\n listener.call(this, e);\n e._currentTarget = null;\n };\n this['_' + type + listener] = f;\n this.attachEvent('on' + type, f);\n }\n\n function removeEventListener(type, listener, useCapture) {\n if (typeof listener !== 'function') return;\n if (type === 'DOMContentLoaded') type = 'load';\n var f = this['_' + type + listener];\n if (f) {\n this.detachEvent('on' + type, f);\n this['_' + type + listener] = null;\n }\n }\n\n [Window, HTMLDocument, Element].forEach(function(o) {\n o.prototype.addEventListener = addEventListener;\n o.prototype.removeEventListener = removeEventListener;\n });\n }());\n\n // CustomEvent\n // https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent\n // Needed for: IE\n (function () {\n if ('CustomEvent' in global && typeof global.CustomEvent === \"function\")\n return;\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: undefined };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n CustomEvent.prototype = global.Event.prototype;\n global.CustomEvent = CustomEvent;\n })();\n\n // Shim for DOM Events for IE7-\n // http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html\n // Use addEvent(object, event, handler) instead of object.addEventListener(event, handler)\n window.addEvent = function(obj, type, fn) {\n if (obj.addEventListener) {\n obj.addEventListener(type, fn, false);\n } else if (obj.attachEvent) {\n obj[\"e\" + type + fn] = fn;\n obj[type + fn] = function() {\n var e = window.event;\n e.currentTarget = obj;\n e.preventDefault = function() { e.returnValue = false; };\n e.stopPropagation = function() { e.cancelBubble = true; };\n e.target = e.srcElement;\n e.timeStamp = Date.now();\n obj[\"e\" + type + fn].call(this, e);\n };\n obj.attachEvent(\"on\" + type, obj[type + fn]);\n }\n };\n\n window.removeEvent = function(obj, type, fn) {\n if (obj.removeEventListener) {\n obj.removeEventListener(type, fn, false);\n } else if (obj.detachEvent) {\n obj.detachEvent(\"on\" + type, obj[type + fn]);\n obj[type + fn] = null;\n obj[\"e\" + type + fn] = null;\n }\n };\n\n // DOMTokenList interface and Element.classList / Element.relList\n // Needed for: IE9-\n // Use getClassList(elem) instead of elem.classList() if IE7- support is needed\n // Use getRelList(elem) instead of elem.relList() if IE7- support is needed\n (function() {\n function DOMTokenListShim(o, p) {\n function split(s) { return s.length ? s.split(/\\s+/g) : []; }\n\n // NOTE: This does not exactly match the spec.\n function removeTokenFromString(token, string) {\n var tokens = split(string),\n index = tokens.indexOf(token);\n if (index !== -1) {\n tokens.splice(index, 1);\n }\n return tokens.join(' ');\n }\n\n Object.defineProperties(\n this,\n {\n length: {\n get: function() { return split(o[p]).length; }\n },\n\n item: {\n value: function(idx) {\n var tokens = split(o[p]);\n return 0 <= idx && idx < tokens.length ? tokens[idx] : null;\n }\n },\n\n contains: {\n value: function(token) {\n token = String(token);\n if (token.length === 0) { throw SyntaxError(); }\n if (/\\s/.test(token)) { throw Error(\"InvalidCharacterError\"); }\n var tokens = split(o[p]);\n\n return tokens.indexOf(token) !== -1;\n }\n },\n\n add: {\n value: function(/*tokens...*/) {\n var tokens = Array.prototype.slice.call(arguments).map(String);\n if (tokens.some(function(token) { return token.length === 0; })) {\n throw SyntaxError();\n }\n if (tokens.some(function(token) { return (/\\s/).test(token); })) {\n throw Error(\"InvalidCharacterError\");\n }\n\n try {\n var underlying_string = o[p];\n var token_list = split(underlying_string);\n tokens = tokens.filter(function(token) { return token_list.indexOf(token) === -1; });\n if (tokens.length === 0) {\n return;\n }\n if (underlying_string.length !== 0 && !(/\\s$/).test(underlying_string)) {\n underlying_string += ' ';\n }\n underlying_string += tokens.join(' ');\n o[p] = underlying_string;\n } finally {\n var length = split(o[p]).length;\n if (this.length !== length) { this.length = length; }\n }\n }\n },\n\n remove: {\n value: function(/*tokens...*/) {\n var tokens = Array.prototype.slice.call(arguments).map(String);\n if (tokens.some(function(token) { return token.length === 0; })) {\n throw SyntaxError();\n }\n if (tokens.some(function(token) { return (/\\s/).test(token); })) {\n throw Error(\"InvalidCharacterError\");\n }\n\n try {\n var underlying_string = o[p];\n tokens.forEach(function(token) {\n underlying_string = removeTokenFromString(token, underlying_string);\n });\n o[p] = underlying_string;\n } finally {\n var length = split(o[p]).length;\n if (this.length !== length) { this.length = length; }\n }\n }\n },\n\n toggle: {\n value: function(token/*, force*/) {\n var force = arguments[1];\n try {\n token = String(token);\n if (token.length === 0) { throw SyntaxError(); }\n if (/\\s/.test(token)) { throw Error(\"InvalidCharacterError\"); }\n var tokens = split(o[p]),\n index = tokens.indexOf(token);\n\n if (index !== -1 && (!force || force === (void 0))) {\n o[p] = removeTokenFromString(token, o[p]);\n return false;\n }\n if (index !== -1 && force) {\n return true;\n }\n var underlying_string = o[p];\n if (underlying_string.length !== 0 && !/\\s$/.test(underlying_string)) {\n underlying_string += ' ';\n }\n underlying_string += token;\n o[p] = underlying_string;\n return true;\n } finally {\n var length = split(o[p]).length;\n if (this.length !== length) { this.length = length; }\n }\n }\n },\n\n toString: {\n value: function() {\n return o[p];\n }\n }\n });\n if (!('length' in this)) {\n // In case getters are not supported\n this.length = split(o[p]).length;\n } else {\n // If they are, shim in index getters (up to 100)\n for (var i = 0; i < 100; ++i) {\n Object.defineProperty(this, String(i), {\n get: (function(n) { return function() { return this.item(n); }; }(i))\n });\n }\n }\n }\n\n function addToElementPrototype(p, f) {\n if ('Element' in global && Element.prototype && Object.defineProperty) {\n Object.defineProperty(Element.prototype, p, { get: f });\n }\n }\n\n // HTML - https://html.spec.whatwg.org\n // Element.classList\n if ('classList' in document.createElement('span')) {\n window.getClassList = function(elem) { return elem.classList; };\n } else {\n window.getClassList = function(elem) { return new DOMTokenListShim(elem, 'className'); };\n addToElementPrototype('classList', function() { return new DOMTokenListShim(this, 'className'); } );\n }\n\n // HTML - https://html.spec.whatwg.org\n // HTMLAnchorElement.relList\n // HTMLLinkElement.relList\n if ('relList' in document.createElement('link')) {\n window.getRelList = function(elem) { return elem.relList; };\n } else {\n window.getRelList = function(elem) { return new DOMTokenListShim(elem, 'rel'); };\n addToElementPrototype('relList', function() { return new DOMTokenListShim(this, 'rel'); } );\n }\n\n // Add second argument to native DOMTokenList.toggle() if necessary\n (function() {\n if (!('DOMTokenList' in global)) return;\n var e = document.createElement('span');\n if (!('classList' in e)) return;\n e.classList.toggle('x', false);\n if (!e.classList.contains('x')) return;\n global.DOMTokenList.prototype.toggle = function toggle(token/*, force*/) {\n var force = arguments[1];\n if (force === undefined) {\n var add = !this.contains(token);\n this[add ? 'add' : 'remove'](token);\n return add;\n }\n force = !!force;\n this[force ? 'add' : 'remove'](token);\n return force;\n };\n }());\n\n\n // DOM - Interface NonDocumentTypeChildNode\n // Interface NonDocumentTypeChildNode\n // previousElementSibling / nextElementSibling - for IE8\n\n if (!('previousElementSibling' in document.documentElement)) {\n addToElementPrototype('previousElementSibling', function() {\n var n = this.previousSibling;\n while (n && n.nodeType !== Node.ELEMENT_NODE)\n n = n.previousSibling;\n return n;\n });\n }\n\n if (!('nextElementSibling' in document.documentElement)) {\n addToElementPrototype('nextElementSibling', function() {\n var n = this.nextSibling;\n while (n && n.nodeType !== Node.ELEMENT_NODE)\n n = n.nextSibling;\n return n;\n });\n }\n }());\n\n // Element.matches\n // https://developer.mozilla.org/en/docs/Web/API/Element/matches\n // Needed for: IE, Firefox 3.6, early Webkit and Opera 15.0\n // Use msMatchesSelector(selector) for IE\n // Use oMatchesSelector(selector) for Opera 15.0\n // Use mozMatchesSelector(selector) for Firefox 3.6\n // Use webkitMatchesSelector(selector) for early Webkit\n // Use polyfill if no matches() support, but querySelectorAll() support\n if ('Element' in global && !Element.prototype.matches) {\n if (Element.prototype.msMatchesSelector) {\n Element.prototype.matches = Element.prototype.msMatchesSelector;\n } else if (Element.prototype.oMatchesSelector) {\n Element.prototype.matches = Element.prototype.oMatchesSelector;\n } else if (Element.prototype.mozMatchesSelector) {\n Element.prototype.matches = Element.prototype.mozMatchesSelector;\n } else if (Element.prototype.webkitMatchesSelector) {\n Element.prototype.matches = Element.prototype.webkitMatchesSelector;\n } else if (document.querySelectorAll) {\n Element.prototype.matches = function matches(selector) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(selector),\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== this) {}\n return i > -1;\n };\n }\n }\n\n // Element.closest\n // https://developer.mozilla.org/en-US/docs/Web/API/Element/closest\n if (window.Element && !Element.prototype.closest) {\n Element.prototype.closest = function(s) {\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\n i,\n el = this;\n do {\n i = matches.length;\n while (--i >= 0 && matches.item(i) !== el) {};\n } while ((i < 0) && (el = el.parentElement));\n return el;\n };\n }\n\n function mixin(o, ps) {\n if (!o) return;\n Object.keys(ps).forEach(function(p) {\n if ((p in o) || (p in o.prototype)) return;\n try {\n Object.defineProperty(\n o.prototype,\n p,\n Object.getOwnPropertyDescriptor(ps, p)\n );\n } catch (ex) {\n // Throws in IE8; just copy it\n o[p] = ps[p];\n }\n });\n }\n\n // Mixin ParentNode\n // https://dom.spec.whatwg.org/#interface-parentnode\n\n function convertNodesIntoANode(nodes) {\n var node = null;\n nodes = nodes.map(function(node) {\n return !(node instanceof Node) ? document.createTextNode(node) : node;\n });\n if (nodes.length === 1) {\n node = nodes[0];\n } else {\n node = document.createDocumentFragment();\n nodes.forEach(function(n) { node.appendChild(n); });\n }\n return node;\n }\n\n var ParentNode = {\n prepend: function(/*...nodes*/) {\n var nodes = [].slice.call(arguments);\n nodes = convertNodesIntoANode(nodes);\n this.insertBefore(nodes, this.firstChild);\n },\n append: function(/*...nodes*/) {\n var nodes = [].slice.call(arguments);\n nodes = convertNodesIntoANode(nodes);\n this.appendChild(nodes);\n }\n };\n\n mixin(global.Document || global.HTMLDocument, ParentNode); // HTMLDocument for IE8\n mixin(global.DocumentFragment, ParentNode);\n mixin(global.Element, ParentNode);\n\n // Mixin ChildNode\n // https://dom.spec.whatwg.org/#interface-childnode\n\n var ChildNode = {\n before: function(/*...nodes*/) {\n var nodes = [].slice.call(arguments);\n var parent = this.parentNode;\n if (!parent) return;\n var viablePreviousSibling = this.previousSibling;\n while (nodes.indexOf(viablePreviousSibling) !== -1)\n viablePreviousSibling = viablePreviousSibling.previousSibling;\n var node = convertNodesIntoANode(nodes);\n parent.insertBefore(node, viablePreviousSibling ?\n viablePreviousSibling.nextSibling : parent.firstChild);\n },\n after: function(/*...nodes*/) {\n var nodes = [].slice.call(arguments);\n var parent = this.parentNode;\n if (!parent) return;\n var viableNextSibling = this.nextSibling;\n while (nodes.indexOf(viableNextSibling) !== -1)\n viableNextSibling = viableNextSibling.nextSibling;\n var node = convertNodesIntoANode(nodes);\n parent.insertBefore(node, viableNextSibling);\n },\n replaceWith: function(/*...nodes*/) {\n var nodes = [].slice.call(arguments);\n var parent = this.parentNode;\n if (!parent) return;\n var viableNextSibling = this.nextSibling;\n while (nodes.indexOf(viableNextSibling) !== -1)\n viableNextSibling = viableNextSibling.nextSibling;\n var node = convertNodesIntoANode(nodes);\n\n if (this.parentNode === parent)\n parent.replaceChild(node, this);\n else\n parent.insertBefore(node, viableNextSibling);\n },\n remove: function() {\n if (!this.parentNode) return;\n this.parentNode.removeChild(this);\n }\n };\n\n mixin(global.DocumentType, ChildNode);\n mixin(global.Element, ChildNode);\n mixin(global.CharacterData, ChildNode);\n\n}(self));","(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define([], function () {\n return (root.returnExportsGlobal = factory());\n });\n } else if (typeof exports === 'object') {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like enviroments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n root['ResizeSensor'] = factory();\n }\n}(this, function () {\n\n var ResizeSensor = function () {\n 'use strict';\n var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n return window.setTimeout(fn, 20);\n };\n /**\n *\n * @constructor\n */\n function EventQueue() {\n this.q = [];\n this.add = function (ev) {\n this.q.push(ev);\n };\n var i, j;\n this.call = function () {\n for (i = 0, j = this.q.length; i < j; i++) {\n this.q[i].call();\n }\n };\n }\n /**\n * @param {HTMLElement} element\n * @param {String} prop\n * @returns {String|Number}\n */\n function getComputedStyle(element, prop) {\n if (element.currentStyle) {\n return element.currentStyle[prop];\n } else if (window.getComputedStyle) {\n return window.getComputedStyle(element, null).getPropertyValue(prop);\n } else {\n return element.style[prop];\n }\n }\n /**\n *\n * @param {HTMLElement} element\n * @param {Function} resized\n */\n function attachResizeEvent(element, resized) {\n if (!element.resizedAttached) {\n element.resizedAttached = new EventQueue();\n element.resizedAttached.add(resized);\n } else if (element.resizedAttached) {\n element.resizedAttached.add(resized);\n return;\n }\n element.resizeSensor = document.createElement('div');\n element.resizeSensor.className = 'resize-sensor';\n var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden; opacity: 0;direction: ltr;';\n var styleChild = 'position: absolute; left: 0; top: 0; transition: 0s;';\n element.resizeSensor.style.cssText = style;\n element.resizeSensor.innerHTML = '
' + '
' + '
' + '
' + '
' + '
';\n element.appendChild(element.resizeSensor);\n if (getComputedStyle(element, 'position') == 'static') {\n element.style.position = 'relative';\n }\n var expand = element.resizeSensor.childNodes[0];\n var expandChild = expand.childNodes[0];\n var shrink = element.resizeSensor.childNodes[1];\n var reset = function () {\n expandChild.style.width = 100000 + 'px';\n expandChild.style.height = 100000 + 'px';\n expand.scrollLeft = 100000;\n expand.scrollTop = 100000;\n shrink.scrollLeft = 100000;\n shrink.scrollTop = 100000;\n };\n reset();\n var dirty = false;\n var dirtyChecking = function () {\n if (!element.resizedAttached)\n return;\n if (dirty) {\n element.resizedAttached.call();\n dirty = false;\n }\n requestAnimationFrame(dirtyChecking);\n };\n requestAnimationFrame(dirtyChecking);\n var lastWidth, lastHeight;\n var cachedWidth, cachedHeight;\n //useful to not query offsetWidth twice\n var onScroll = function () {\n if ((cachedWidth = element.offsetWidth) != lastWidth || (cachedHeight = element.offsetHeight) != lastHeight) {\n dirty = true;\n lastWidth = cachedWidth;\n lastHeight = cachedHeight;\n }\n reset();\n };\n var addEvent = function (el, name, cb) {\n if (el.attachEvent) {\n el.attachEvent('on' + name, cb);\n } else {\n el.addEventListener(name, cb);\n }\n };\n addEvent(expand, 'scroll', onScroll);\n addEvent(shrink, 'scroll', onScroll);\n }\n /**\n * Class for dimension change detection.\n *\n * @param {Element|Element[]|Elements|jQuery} element\n * @param {Function} callback\n *\n * @constructor\n */\n var ResizeSensor = function (element, callback) {\n var me = this;\n var elementType = Object.prototype.toString.call(element);\n var isCollectionTyped = me._isCollectionTyped = '[object Array]' === elementType || '[object NodeList]' === elementType || '[object HTMLCollection]' === elementType || 'undefined' !== typeof jQuery && element instanceof window.jQuery || 'undefined' !== typeof Elements && element instanceof window.Elements;\n me._element = element;\n if (isCollectionTyped) {\n var i = 0, j = element.length;\n for (; i < j; i++) {\n attachResizeEvent(element[i], callback);\n }\n } else {\n attachResizeEvent(element, callback);\n }\n };\n ResizeSensor.prototype.detach = function () {\n var me = this;\n var isCollectionTyped = me._isCollectionTyped;\n var element = me._element;\n if (isCollectionTyped) {\n var i = 0, j = element.length;\n for (; i < j; i++) {\n ResizeSensor.detach(element[i]);\n }\n } else {\n ResizeSensor.detach(element);\n }\n };\n ResizeSensor.detach = function (element) {\n if (element.resizeSensor) {\n if (element.hasChildNodes()) {\n element.removeChild(element.resizeSensor);\n }\n delete element.resizeSensor;\n delete element.resizedAttached;\n }\n };\n return ResizeSensor;\n }();\n\n return ResizeSensor;\n\n}));\n","!function(n,r){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=r():\"function\"==typeof define&&define.amd?define(\"underscore\",r):(n=\"undefined\"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){\n // Underscore.js 1.13.1\n // https://underscorejs.org\n // (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors\n // Underscore may be freely distributed under the MIT license.\n var n=\"1.13.1\",r=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof global&&global.global===global&&global||Function(\"return this\")()||{},t=Array.prototype,e=Object.prototype,u=\"undefined\"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c=\"undefined\"!=typeof ArrayBuffer,l=\"undefined\"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable(\"toString\"),b=[\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J(\"byteLength\"),H=K(G),Q=/\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J(\"length\");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e\":\">\",'\"':\""\",\"'\":\"'\",\"`\":\"`\"},Cn=Ln($n),Kn=Ln(_n($n)),Jn=tn.templateSettings={evaluate:/<%([\\s\\S]+?)%>/g,interpolate:/<%=([\\s\\S]+?)%>/g,escape:/<%-([\\s\\S]+?)%>/g},Gn=/(.)^/,Hn={\"'\":\"'\",\"\\\\\":\"\\\\\",\"\\r\":\"r\",\"\\n\":\"n\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Qn=/\\\\|'|\\r|\\n|\\u2028|\\u2029/g;function Xn(n){return\"\\\\\"+Hn[n]}var Yn=/^\\s*(\\w|\\$)+\\s*$/;var Zn=0;function nr(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var rr=j((function(n,r){var t=rr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)ur(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var lr=rr(cr,2);function sr(n,r,t){r=qn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Fn(t,u,4),e,o)}}var Ar=wr(1),xr=wr(-1);function Sr(n,r,t){var e=[];return r=qn(r,t),jr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Or(n,r,t){r=qn(r,t);for(var e=!er(n)&&nn(n),u=(e||n).length,o=0;o=0}var Br=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Nn(r),e=r.slice(0,-1),r=r[r.length-1]),_r(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=In(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Nr(n,r){return _r(n,Rn(r))}function Ir(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ao&&(o=e);else r=qn(r,t),jr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}function Tr(n,r,t){if(null==r||t)return er(n)||(n=jn(n)),n[Wn(n.length-1)];var e=er(n)?En(n):jn(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Fn(e,r[1])),r=an(n)):(e=qr,r=ur(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=_r(ur(r,!1,!1),String),e=function(n,t){return!Er(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=ur(r,!0,!0),Sr(n,(function(n){return!Er(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=qn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=zn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=zn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return rr(r,n)},negate:fr,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:cr,once:lr,findKey:sr,findIndex:vr,findLastIndex:hr,sortedIndex:yr,indexOf:gr,lastIndexOf:br,find:mr,detect:mr,findWhere:function(n,r){return mr(n,Dn(r))},each:jr,forEach:jr,map:_r,collect:_r,reduce:Ar,foldl:Ar,inject:Ar,reduceRight:xr,foldr:xr,filter:Sr,select:Sr,reject:function(n,r,t){return Sr(n,fr(qn(r)),t)},every:Or,all:Or,some:Mr,any:Mr,contains:Er,includes:Er,include:Er,invoke:Br,pluck:Nr,where:function(n,r){return Sr(n,Dn(r))},max:Ir,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t> 8 & 0xFF];\n};\n\nvar packInt32 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\n\nvar unpackInt32 = function (buffer) {\n return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\n\nvar packFloat32 = function (number) {\n return packIEEE754(number, 23, 4);\n};\n\nvar packFloat64 = function (number) {\n return packIEEE754(number, 52, 8);\n};\n\nvar addGetter = function (Constructor, key) {\n defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } });\n};\n\nvar get = function (view, count, index, isLittleEndian) {\n var intIndex = toIndex(index);\n var store = getInternalState(view);\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = getInternalState(store.buffer).bytes;\n var start = intIndex + store.byteOffset;\n var pack = arraySlice(bytes, start, start + count);\n return isLittleEndian ? pack : reverse(pack);\n};\n\nvar set = function (view, count, index, conversion, value, isLittleEndian) {\n var intIndex = toIndex(index);\n var store = getInternalState(view);\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = getInternalState(store.buffer).bytes;\n var start = intIndex + store.byteOffset;\n var pack = conversion(+value);\n for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];\n};\n\nif (!NATIVE_ARRAY_BUFFER) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n var byteLength = toIndex(length);\n setInternalState(this, {\n bytes: fill(Array(byteLength), 0),\n byteLength: byteLength\n });\n if (!DESCRIPTORS) this.byteLength = byteLength;\n };\n\n ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, DataViewPrototype);\n anInstance(buffer, ArrayBufferPrototype);\n var bufferLength = getInternalState(buffer).byteLength;\n var offset = toIntegerOrInfinity(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n setInternalState(this, {\n buffer: buffer,\n byteLength: byteLength,\n byteOffset: offset\n });\n if (!DESCRIPTORS) {\n this.buffer = buffer;\n this.byteLength = byteLength;\n this.byteOffset = offset;\n }\n };\n\n DataViewPrototype = $DataView[PROTOTYPE];\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, 'byteLength');\n addGetter($DataView, 'buffer');\n addGetter($DataView, 'byteLength');\n addGetter($DataView, 'byteOffset');\n }\n\n redefineAll(DataViewPrototype, {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined);\n }\n });\n} else {\n var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n /* eslint-disable no-new -- required for testing */\n if (!fails(function () {\n NativeArrayBuffer(1);\n }) || !fails(function () {\n new NativeArrayBuffer(-1);\n }) || fails(function () {\n new NativeArrayBuffer();\n new NativeArrayBuffer(1.5);\n new NativeArrayBuffer(NaN);\n return INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n })) {\n /* eslint-enable no-new -- required for testing */\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n return new NativeArrayBuffer(toIndex(length));\n };\n\n $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n\n for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) {\n createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n }\n }\n\n ArrayBufferPrototype.constructor = $ArrayBuffer;\n } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n }\n\n // WebKit bug - the same parent prototype for typed arrays and data view\n if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n setPrototypeOf(DataViewPrototype, ObjectPrototype);\n }\n\n // iOS Safari 7.x bug\n var testView = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n testView.setInt8(0, 2147483648);\n testView.setInt8(1, 2147483649);\n if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll(DataViewPrototype, {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n }\n }, { unsafe: true });\n}\n\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\n\nmodule.exports = {\n ArrayBuffer: $ArrayBuffer,\n DataView: $DataView\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n// eslint-disable-next-line es/no-array-prototype-copywithin -- safe\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var lengthOfArrayLike = require('../internals/length-of-array-like');\n\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar Array = global.Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var global = require('../internals/global');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar TypeError = global.TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","var global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nvar ctoi = {};\n\nfor (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index;\n\nmodule.exports = {\n itoc: itoc,\n ctoi: ctoi\n};\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var global = require('../internals/global');\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Object = global.Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar redefineAll = require('../internals/redefine-all');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (store) {\n return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n redefineAll(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return Constructor;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar padStart = require('../internals/string-pad').start;\n\nvar RangeError = global.RangeError;\nvar abs = Math.abs;\nvar DatePrototype = Date.prototype;\nvar n$DateToISOString = DatePrototype.toISOString;\nvar getTime = uncurryThis(DatePrototype.getTime);\nvar getUTCDate = uncurryThis(DatePrototype.getUTCDate);\nvar getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear);\nvar getUTCHours = uncurryThis(DatePrototype.getUTCHours);\nvar getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds);\nvar getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes);\nvar getUTCMonth = uncurryThis(DatePrototype.getUTCMonth);\nvar getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);\n\n// `Date.prototype.toISOString` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\nmodule.exports = (fails(function () {\n return n$DateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n n$DateToISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime(this))) throw RangeError('Invalid time value');\n var date = this;\n var year = getUTCFullYear(date);\n var milliseconds = getUTCMilliseconds(date);\n var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n return sign + padStart(abs(year), sign ? 6 : 4, 0) +\n '-' + padStart(getUTCMonth(date) + 1, 2, 0) +\n '-' + padStart(getUTCDate(date), 2, 0) +\n 'T' + padStart(getUTCHours(date), 2, 0) +\n ':' + padStart(getUTCMinutes(date), 2, 0) +\n ':' + padStart(getUTCSeconds(date), 2, 0) +\n '.' + padStart(milliseconds, 3, 0) +\n 'Z';\n} : n$DateToISOString;\n","'use strict';\nvar global = require('../internals/global');\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar TypeError = global.TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n redefine(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","module.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","module.exports = typeof window == 'object';\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\nvar global = require('../internals/global');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n var object = create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar redefine = require('../internals/redefine');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n redefine(String.prototype, KEY, methods[0]);\n redefine(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar bind = require('../internals/function-bind-context');\n\nvar TypeError = global.TypeError;\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar Function = global.Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\nmodule.exports = NATIVE_BIND ? Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar bind = FunctionPrototype.bind;\nvar call = FunctionPrototype.call;\nvar uncurryThis = NATIVE_BIND && bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? function (fn) {\n return fn && uncurryThis(fn);\n} : function (fn) {\n return fn && function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw TypeError(tryToString(argument) + ' is not iterable');\n};\n","var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return func == null ? undefined : aCallable(func);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n }\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","// IEEE754 conversions based on https://github.com/feross/ieee754\nvar global = require('../internals/global');\n\nvar Array = global.Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar pack = function (number, mantissaLength, bytes) {\n var buffer = Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number || number === Infinity) {\n // eslint-disable-next-line no-self-compare -- NaN check\n mantissa = number != number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n c = pow(2, -exponent);\n if (number * c < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = (number * c - 1) * pow(2, mantissaLength);\n exponent = exponent + eBias;\n } else {\n mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);\n exponent = 0;\n }\n }\n while (mantissaLength >= 8) {\n buffer[index++] = mantissa & 255;\n mantissa /= 256;\n mantissaLength -= 8;\n }\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n while (exponentLength > 0) {\n buffer[index++] = exponent & 255;\n exponent /= 256;\n exponentLength -= 8;\n }\n buffer[--index] |= sign * 128;\n return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var sign = buffer[index--];\n var exponent = sign & 127;\n var mantissa;\n sign >>= 7;\n while (nBits > 0) {\n exponent = exponent * 256 + buffer[index--];\n nBits -= 8;\n }\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n while (nBits > 0) {\n mantissa = mantissa * 256 + buffer[index--];\n nBits -= 8;\n }\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : sign ? -Infinity : Infinity;\n } else {\n mantissa = mantissa + pow(2, mantissaLength);\n exponent = exponent - eBias;\n } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};\n","var global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar Object = global.Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : Object(it);\n} : Object;\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = uncurryThis(store.get);\n var wmhas = uncurryThis(store.has);\n var wmset = uncurryThis(store.set);\n set = function (it, metadata) {\n if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget(store, it) || {};\n };\n has = function (it) {\n return wmhas(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n return typeof argument == 'function';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","var isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Object = global.Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar TypeError = global.TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n redefine(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = {};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","// eslint-disable-next-line es/no-math-expm1 -- safe\nvar $expm1 = Math.expm1;\nvar exp = Math.exp;\n\n// `Math.expm1` method implementation\n// https://tc39.es/ecma262/#sec-math.expm1\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;\n} : $expm1;\n","var sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n// `Math.fround` method implementation\n// https://tc39.es/ecma262/#sec-math.fround\n// eslint-disable-next-line es/no-math-fround -- safe\nmodule.exports = Math.fround || function fround(x) {\n var $abs = abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","var log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// eslint-disable-next-line es/no-math-log10 -- safe\nmodule.exports = Math.log10 || function log10(x) {\n return log(x) * LOG10E;\n};\n","var log = Math.log;\n\n// `Math.log1p` method implementation\n// https://tc39.es/ecma262/#sec-math.log1p\n// eslint-disable-next-line es/no-math-log1p -- safe\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);\n};\n","// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n // strange IE + webpack dev server bug - use .bind(global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return (IS_PURE && !url.toJSON)\n || !searchParams.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || searchParams.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var global = require('../internals/global');\nvar isRegExp = require('../internals/is-regexp');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var global = require('../internals/global');\n\nvar globalIsFinite = global.isFinite;\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n// eslint-disable-next-line es/no-number-isfinite -- safe\nmodule.exports = Number.isFinite || function isFinite(it) {\n return typeof it == 'number' && globalIsFinite(it);\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar charAt = uncurryThis(''.charAt);\nvar n$ParseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { n$ParseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = n$ParseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;\n} : n$ParseFloat;\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar TypeError = global.TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var global = require('../internals/global');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar Object = global.Object;\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\n// Forced replacement object prototype accessors methods\nmodule.exports = IS_PURE || !fails(function () {\n // This feature detection crashes old WebKit\n // https://github.com/zloirock/core-js/issues/232\n if (WEBKIT && WEBKIT < 535) return;\n var key = Math.random();\n // In FF throws only define methods\n // eslint-disable-next-line no-undef, no-useless-call -- required for testing\n __defineSetter__.call(null, key, function () { /* empty */ });\n delete global[key];\n});\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar TypeError = global.TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n if (this.head) this.tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n this.head = entry.next;\n if (this.tail === entry) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var name = options && options.name !== undefined ? options.name : key;\n var state;\n if (isCallable(value)) {\n if (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n createNonEnumerableProperty(value, 'name', name);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n});\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar TypeError = global.TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.21.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar $repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = toString(requireObjectCoercible($this));\n var intMaxLength = toLength(maxLength);\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : toString(fillString);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","'use strict';\n// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\nvar delimiter = '-'; // '\\x2D'\nvar regexNonASCII = /[^\\0-\\u007E]/; // non-ASCII chars\nvar regexSeparators = /[.\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\nvar OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';\nvar baseMinusTMin = base - tMin;\n\nvar RangeError = global.RangeError;\nvar exec = uncurryThis(regexSeparators.exec);\nvar floor = Math.floor;\nvar fromCharCode = String.fromCharCode;\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar split = uncurryThis(''.split);\nvar toLowerCase = uncurryThis(''.toLowerCase);\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n */\nvar ucs2decode = function (string) {\n var output = [];\n var counter = 0;\n var length = string.length;\n while (counter < length) {\n var value = charCodeAt(string, counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // It's a high surrogate, and there is a next character.\n var extra = charCodeAt(string, counter++);\n if ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // It's an unmatched surrogate; only append this code unit, in case the\n // next code unit is the high surrogate of a surrogate pair.\n push(output, value);\n counter--;\n }\n } else {\n push(output, value);\n }\n }\n return output;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n */\nvar digitToBasic = function (digit) {\n // 0..25 map to ASCII a..z or A..Z\n // 26..35 map to ASCII 0..9\n return digit + 22 + 75 * (digit < 26);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n */\nvar adapt = function (delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n while (delta > baseMinusTMin * tMax >> 1) {\n delta = floor(delta / baseMinusTMin);\n k += base;\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n */\nvar encode = function (input) {\n var output = [];\n\n // Convert the input in UCS-2 to an array of Unicode code points.\n input = ucs2decode(input);\n\n // Cache the length.\n var inputLength = input.length;\n\n // Initialize the state.\n var n = initialN;\n var delta = 0;\n var bias = initialBias;\n var i, currentValue;\n\n // Handle the basic code points.\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < 0x80) {\n push(output, fromCharCode(currentValue));\n }\n }\n\n var basicLength = output.length; // number of basic code points.\n var handledCPCount = basicLength; // number of code points that have been handled;\n\n // Finish the basic string with a delimiter unless it's empty.\n if (basicLength) {\n push(output, delimiter);\n }\n\n // Main encoding loop:\n while (handledCPCount < inputLength) {\n // All non-basic code points < n have been handled already. Find the next larger one:\n var m = maxInt;\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n\n // Increase `delta` enough to advance the decoder's state to , but guard against overflow.\n var handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n throw RangeError(OVERFLOW_ERROR);\n }\n\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < n && ++delta > maxInt) {\n throw RangeError(OVERFLOW_ERROR);\n }\n if (currentValue == n) {\n // Represent delta as a generalized variable-length integer.\n var q = delta;\n var k = base;\n while (true) {\n var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (q < t) break;\n var qMinusT = q - t;\n var baseMinusT = base - t;\n push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));\n q = floor(qMinusT / baseMinusT);\n k += base;\n }\n\n push(output, fromCharCode(digitToBasic(q)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n handledCPCount++;\n }\n }\n\n delta++;\n n++;\n }\n return join(output, '');\n};\n\nmodule.exports = function (input) {\n var encoded = [];\n var labels = split(replace(toLowerCase(input), regexSeparators, '\\u002E'), '.');\n var i, label;\n for (i = 0; i < labels.length; i++) {\n label = labels[i];\n push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);\n }\n return join(encoded, '.');\n};\n","'use strict';\nvar global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar RangeError = global.RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\n\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\n\nvar RangeError = global.RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toIntegerOrInfinity(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length or index');\n return length;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- safe\n return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var global = require('../internals/global');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar Object = global.Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var global = require('../internals/global');\nvar toPositiveInteger = require('../internals/to-positive-integer');\n\nvar RangeError = global.RangeError;\n\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw RangeError('Wrong offset');\n return offset;\n};\n","var global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar RangeError = global.RangeError;\n\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw RangeError(\"The argument can't be less than 0\");\n return result;\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TypeError = global.TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var global = require('../internals/global');\nvar classof = require('../internals/classof');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return String(argument);\n};\n","var IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = function (name) {\n try {\n // eslint-disable-next-line no-new-func -- safe\n if (IS_NODE) return Function('return require(\"' + name + '\")')();\n } catch (error) { /* empty */ }\n};\n","var global = require('../internals/global');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n try {\n return String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar round = Math.round;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\n\nvar fromList = function (C, list) {\n aTypedArrayConstructor(C);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n\nvar addGetter = function (it, key) {\n nativeDefineProperty(it, key, { get: function () {\n return getInternalState(this)[key];\n } });\n};\n\nvar isArrayBuffer = function (it) {\n var klass;\n return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';\n};\n\nvar isTypedArrayIndex = function (target, key) {\n return isTypedArray(target)\n && !isSymbol(key)\n && key in target\n && isIntegralNumber(+key)\n && key >= 0;\n};\n\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n key = toPropertyKey(key);\n return isTypedArrayIndex(target, key)\n ? createPropertyDescriptor(2, target[key])\n : nativeGetOwnPropertyDescriptor(target, key);\n};\n\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n key = toPropertyKey(key);\n if (isTypedArrayIndex(target, key)\n && isObject(descriptor)\n && hasOwn(descriptor, 'value')\n && !hasOwn(descriptor, 'get')\n && !hasOwn(descriptor, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !descriptor.configurable\n && (!hasOwn(descriptor, 'writable') || descriptor.writable)\n && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)\n ) {\n target[key] = descriptor.value;\n return target;\n } return nativeDefineProperty(target, key, descriptor);\n};\n\nif (DESCRIPTORS) {\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n definePropertyModule.f = wrappedDefineProperty;\n addGetter(TypedArrayPrototype, 'buffer');\n addGetter(TypedArrayPrototype, 'byteOffset');\n addGetter(TypedArrayPrototype, 'byteLength');\n addGetter(TypedArrayPrototype, 'length');\n }\n\n $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n defineProperty: wrappedDefineProperty\n });\n\n module.exports = function (TYPE, wrapper, CLAMPED) {\n var BYTES = TYPE.match(/\\d+$/)[0] / 8;\n var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + TYPE;\n var SETTER = 'set' + TYPE;\n var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n var TypedArrayConstructor = NativeTypedArrayConstructor;\n var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n var exported = {};\n\n var getter = function (that, index) {\n var data = getInternalState(that);\n return data.view[GETTER](index * BYTES + data.byteOffset, true);\n };\n\n var setter = function (that, index, value) {\n var data = getInternalState(that);\n if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n data.view[SETTER](index * BYTES + data.byteOffset, value, true);\n };\n\n var addElement = function (that, index) {\n nativeDefineProperty(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n anInstance(that, TypedArrayConstructorPrototype);\n var index = 0;\n var byteOffset = 0;\n var buffer, byteLength, length;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new ArrayBuffer(byteLength);\n } else if (isArrayBuffer(data)) {\n buffer = data;\n byteOffset = toOffset(offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - byteOffset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (isTypedArray(data)) {\n return fromList(TypedArrayConstructor, data);\n } else {\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }\n setInternalState(that, {\n buffer: buffer,\n byteOffset: byteOffset,\n byteLength: byteLength,\n length: length,\n view: new DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n anInstance(dummy, TypedArrayConstructorPrototype);\n return inheritIfRequired(function () {\n if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n if (isArrayBuffer(data)) return $length !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)\n : typedArrayOffset !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))\n : new NativeTypedArrayConstructor(data);\n if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }(), dummy, TypedArrayConstructor);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n if (!(key in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n }\n });\n TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n }\n\n if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n }\n\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_CONSTRUCTOR, TypedArrayConstructor);\n\n if (TYPED_ARRAY_TAG) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n }\n\n exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n\n $({\n global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS\n }, exported);\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n }\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n }\n\n setSpecies(CONSTRUCTOR_NAME);\n };\n} else module.exports = function () { /* empty */ };\n","/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\n\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\n\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n Int8Array(1);\n}) || !fails(function () {\n new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n new Int8Array();\n new Int8Array(null);\n new Int8Array(1.5);\n new Int8Array(iterable);\n}, true) || fails(function () {\n // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});\n","var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nmodule.exports = function (instance, list) {\n return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);\n};\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\n\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n var C = aConstructor(this);\n var O = toObject(source);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var i, length, result, step, iterator, next;\n if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n O = [];\n while (!(step = call(next, iterator)).done) {\n O.push(step.value);\n }\n }\n if (mapping && argumentsLength > 2) {\n mapfn = bind(mapfn, arguments[2]);\n }\n length = lengthOfArrayLike(O);\n result = new (aTypedArrayConstructor(C))(length);\n for (i = 0; length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n};\n","var ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\n\n// a part of `TypedArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#typedarray-species-create\nmodule.exports = function (originalArray) {\n return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR]));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw TypeError('Not enough arguments');\n return passed;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n } return WellKnownSymbolsStore[name];\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2));\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar fails = require('../internals/fails');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar AGGREGATE_ERROR = 'AggregateError';\nvar $AggregateError = getBuiltIn(AGGREGATE_ERROR);\nvar FORCED = !fails(function () {\n return $AggregateError([1]).errors[0] !== 1;\n}) && fails(function () {\n return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;\n});\n\n// https://github.com/tc39/proposal-error-cause\n$({ global: true, forced: FORCED }, {\n AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {\n // eslint-disable-next-line no-unused-vars -- required for functions `.length`\n return function AggregateError(errors, message) { return apply(init, this, arguments); };\n }, FORCED, true)\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Error = global.Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var options = arguments.length > 2 ? arguments[2] : undefined;\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n installErrorCause(that, options);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, Error);\nelse copyConstructorProperties($AggregateError, Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true }, {\n AggregateError: $AggregateError\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar arrayBufferModule = require('../internals/array-buffer');\nvar setSpecies = require('../internals/set-species');\n\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\n\n// `ArrayBuffer` constructor\n// https://tc39.es/ecma262/#sec-arraybuffer-constructor\n$({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, {\n ArrayBuffer: ArrayBuffer\n});\n\nsetSpecies(ARRAY_BUFFER);\n","var $ = require('../internals/export');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\n\n// `ArrayBuffer.isView` method\n// https://tc39.es/ecma262/#sec-arraybuffer.isview\n$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n isView: ArrayBufferViewCore.isView\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar DataViewPrototype = DataView.prototype;\nvar un$ArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);\nvar getUint8 = uncurryThis(DataViewPrototype.getUint8);\nvar setUint8 = uncurryThis(DataViewPrototype.setUint8);\n\nvar INCORRECT_SLICE = fails(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n slice: function slice(start, end) {\n if (un$ArrayBufferSlice && end === undefined) {\n return un$ArrayBufferSlice(anObject(this), start); // FF fix\n }\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n while (first < fin) {\n setUint8(viewTarget, index++, getUint8(viewSource, first++));\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({ target: 'Array', proto: true }, {\n at: function at(index) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n }\n});\n\naddToUnscopables('at');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\nvar TypeError = global.TypeError;\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var $ = require('../internals/export');\nvar copyWithin = require('../internals/array-copy-within');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n$({ target: 'Array', proto: true }, {\n copyWithin: copyWithin\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('copyWithin');\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A;\n aCallable(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar $IndexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$IndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? un$IndexOf(this, searchElement, fromIndex) || 0\n : $IndexOf(this, searchElement, fromIndex);\n }\n});\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/define-iterator');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$Join = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","var $ = require('../internals/export');\nvar lastIndexOf = require('../internals/array-last-index-of');\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\n// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n lastIndexOf: lastIndexOf\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar isConstructor = require('../internals/is-constructor');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\n\nvar ISNT_GENERIC = fails(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n});\n\n// `Array.of` method\n// https://tc39.es/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {\n of: function of(/* ...args */) {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (isConstructor(this) ? this : Array)(argumentsLength);\n while (argumentsLength > index) createProperty(result, index, arguments[index++]);\n result.length = argumentsLength;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduceRight = require('../internals/array-reduce').right;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduceRight');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduceright\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar un$Reverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return un$Reverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar un$Slice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return un$Slice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","var setSpecies = require('../internals/set-species');\n\n// `Array[@@species]` getter\n// https://tc39.es/ecma262/#sec-get-array-@@species\nsetSpecies('Array');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar TypeError = global.TypeError;\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flatMap');\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","var $ = require('../internals/export');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\n\n// `DataView` constructor\n// https://tc39.es/ecma262/#sec-dataview-constructor\n$({ global: true, forced: !NATIVE_ARRAY_BUFFER }, {\n DataView: ArrayBufferModule.DataView\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar FORCED = fails(function () {\n return new Date(16e11).getYear() !== 120;\n});\n\nvar getFullYear = uncurryThis(Date.prototype.getFullYear);\n\n// `Date.prototype.getYear` method\n// https://tc39.es/ecma262/#sec-date.prototype.getyear\n$({ target: 'Date', proto: true, forced: FORCED }, {\n getYear: function getYear() {\n return getFullYear(this) - 1900;\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Date = global.Date;\nvar getTime = uncurryThis(Date.prototype.getTime);\n\n// `Date.now` method\n// https://tc39.es/ecma262/#sec-date.now\n$({ target: 'Date', stat: true }, {\n now: function now() {\n return getTime(new Date());\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar DatePrototype = Date.prototype;\nvar getTime = uncurryThis(DatePrototype.getTime);\nvar setFullYear = uncurryThis(DatePrototype.setFullYear);\n\n// `Date.prototype.setYear` method\n// https://tc39.es/ecma262/#sec-date.prototype.setyear\n$({ target: 'Date', proto: true }, {\n setYear: function setYear(year) {\n // validate\n getTime(this);\n var yi = toIntegerOrInfinity(year);\n var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi;\n return setFullYear(this, yyyy);\n }\n});\n","var $ = require('../internals/export');\n\n// `Date.prototype.toGMTString` method\n// https://tc39.es/ecma262/#sec-date.prototype.togmtstring\n$({ target: 'Date', proto: true }, {\n toGMTString: Date.prototype.toUTCString\n});\n","var $ = require('../internals/export');\nvar toISOString = require('../internals/date-to-iso-string');\n\n// `Date.prototype.toISOString` method\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit has a broken implementations\n$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {\n toISOString: toISOString\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var hasOwn = require('../internals/has-own-property');\nvar redefine = require('../internals/redefine');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n redefine(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar redefine = require('../internals/redefine');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar un$DateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar getTime = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) != INVALID_DATE) {\n redefine(DatePrototype, TO_STRING, function toString() {\n var value = getTime(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? un$DateToString(this) : INVALID_DATE;\n });\n}\n","/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\nvar FORCED = Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, forced: FORCED }, O);\n }\n};\n\n// https://github.com/tc39/proposal-error-cause\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","var redefine = require('../internals/redefine');\nvar errorToString = require('../internals/error-to-string');\n\nvar ErrorPrototype = Error.prototype;\n\n// `Error.prototype.toString` method fix\n// https://tc39.es/ecma262/#sec-error.prototype.tostring\nif (ErrorPrototype.toString !== errorToString) {\n redefine(ErrorPrototype, 'toString', errorToString);\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar exec = uncurryThis(/./.exec);\nvar numberToString = uncurryThis(1.0.toString);\nvar toUpperCase = uncurryThis(''.toUpperCase);\n\nvar raw = /[\\w*+\\-./@]/;\n\nvar hex = function (code, length) {\n var result = numberToString(code, 16);\n while (result.length < length) result = '0' + result;\n return result;\n};\n\n// `escape` method\n// https://tc39.es/ecma262/#sec-escape-string\n$({ global: true }, {\n escape: function escape(string) {\n var str = toString(string);\n var result = '';\n var length = str.length;\n var index = 0;\n var chr, code;\n while (index < length) {\n chr = charAt(str, index++);\n if (exec(raw, chr)) {\n result += chr;\n } else {\n code = charCodeAt(chr, 0);\n if (code < 256) {\n result += '%' + hex(code, 2);\n } else {\n result += '%u' + toUpperCase(hex(code, 4));\n }\n }\n } return result;\n }\n});\n","var $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n bind: bind\n});\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar HAS_INSTANCE = wellKnownSymbol('hasInstance');\nvar FunctionPrototype = Function.prototype;\n\n// `Function.prototype[@@hasInstance]` method\n// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) {\n if (!isCallable(this) || !isObject(O)) return false;\n var P = this.prototype;\n if (!isObject(P)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (P === O) return true;\n return false;\n } });\n}\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true }, {\n globalThis: global\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar Array = global.Array;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar fix = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nvar FORCED = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n // https://github.com/tc39/proposal-well-formed-stringify\n $({ target: 'JSON', stat: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n for (var i = 0, l = arguments.length, args = Array(l); i < l; i++) args[i] = arguments[i];\n var result = apply($stringify, null, args);\n return typeof result == 'string' ? replace(result, tester, fix) : result;\n }\n });\n}\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// eslint-disable-next-line es/no-math-acosh -- required for testing\nvar $acosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\n\nvar FORCED = !$acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n || Math.floor($acosh(Number.MAX_VALUE)) != 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n || $acosh(Infinity) != Infinity;\n\n// `Math.acosh` method\n// https://tc39.es/ecma262/#sec-math.acosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? log(x) + LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","var $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-asinh -- required for testing\nvar $asinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));\n}\n\n// `Math.asinh` method\n// https://tc39.es/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({ target: 'Math', stat: true, forced: !($asinh && 1 / $asinh(0) > 0) }, {\n asinh: asinh\n});\n","var $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-atanh -- required for testing\nvar $atanh = Math.atanh;\nvar log = Math.log;\n\n// `Math.atanh` method\n// https://tc39.es/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({ target: 'Math', stat: true, forced: !($atanh && 1 / $atanh(-0) < 0) }, {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.es/ecma262/#sec-math.cbrt\n$({ target: 'Math', stat: true }, {\n cbrt: function cbrt(x) {\n return sign(x = +x) * pow(abs(x), 1 / 3);\n }\n});\n","var $ = require('../internals/export');\n\nvar floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E;\n\n// `Math.clz32` method\n// https://tc39.es/ecma262/#sec-math.clz32\n$({ target: 'Math', stat: true }, {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// eslint-disable-next-line es/no-math-cosh -- required for testing\nvar $cosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\n// `Math.cosh` method\n// https://tc39.es/ecma262/#sec-math.cosh\n$({ target: 'Math', stat: true, forced: !$cosh || $cosh(710) === Infinity }, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// `Math.expm1` method\n// https://tc39.es/ecma262/#sec-math.expm1\n// eslint-disable-next-line es/no-math-expm1 -- required for testing\n$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 });\n","var $ = require('../internals/export');\nvar fround = require('../internals/math-fround');\n\n// `Math.fround` method\n// https://tc39.es/ecma262/#sec-math.fround\n$({ target: 'Math', stat: true }, { fround: fround });\n","var $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-hypot -- required for testing\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.es/ecma262/#sec-math.hypot\n$({ target: 'Math', stat: true, forced: BUGGY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n hypot: function hypot(value1, value2) {\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-math-imul -- required for testing\nvar $imul = Math.imul;\n\nvar FORCED = fails(function () {\n return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2;\n});\n\n// `Math.imul` method\n// https://tc39.es/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n$({ target: 'Math', stat: true, forced: FORCED }, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","var $ = require('../internals/export');\nvar log10 = require('../internals/math-log10');\n\n// `Math.log10` method\n// https://tc39.es/ecma262/#sec-math.log10\n$({ target: 'Math', stat: true }, {\n log10: log10\n});\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// `Math.log1p` method\n// https://tc39.es/ecma262/#sec-math.log1p\n$({ target: 'Math', stat: true }, { log1p: log1p });\n","var $ = require('../internals/export');\n\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.es/ecma262/#sec-math.log2\n$({ target: 'Math', stat: true }, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\n// `Math.sign` method\n// https://tc39.es/ecma262/#sec-math.sign\n$({ target: 'Math', stat: true }, {\n sign: sign\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar expm1 = require('../internals/math-expm1');\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-math-sinh -- required for testing\n return Math.sinh(-2e-17) != -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.es/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({ target: 'Math', stat: true, forced: FORCED }, {\n sinh: function sinh(x) {\n return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.es/ecma262/#sec-math.tanh\n$({ target: 'Math', stat: true }, {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","var setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","var $ = require('../internals/export');\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n trunc: function trunc(it) {\n return (it > 0 ? floor : ceil)(it);\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar arraySlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = arraySlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n var dummy = this;\n // check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })\n ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","var $ = require('../internals/export');\n\n// `Number.EPSILON` constant\n// https://tc39.es/ecma262/#sec-number.epsilon\n$({ target: 'Number', stat: true }, {\n EPSILON: Math.pow(2, -52)\n});\n","var $ = require('../internals/export');\nvar numberIsFinite = require('../internals/number-is-finite');\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n$({ target: 'Number', stat: true }, { isFinite: numberIsFinite });\n","var $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\n// `Number.isInteger` method\n// https://tc39.es/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isIntegralNumber\n});\n","var $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return number != number;\n }\n});\n","var $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\nvar abs = Math.abs;\n\n// `Number.isSafeInteger` method\n// https://tc39.es/ecma262/#sec-number.issafeinteger\n$({ target: 'Number', stat: true }, {\n isSafeInteger: function isSafeInteger(number) {\n return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});\n","var $ = require('../internals/export');\n\n// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.max_safe_integer\n$({ target: 'Number', stat: true }, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});\n","var $ = require('../internals/export');\n\n// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.min_safe_integer\n$({ target: 'Number', stat: true }, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});\n","var $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.es/ecma262/#sec-number.parseFloat\n// eslint-disable-next-line es/no-number-parsefloat -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {\n parseFloat: parseFloat\n});\n","var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n// eslint-disable-next-line es/no-number-parseint -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {\n parseInt: parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar log10 = require('../internals/math-log10');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar String = global.String;\nvar isFinite = global.isFinite;\nvar abs = Math.abs;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar round = Math.round;\nvar un$ToExponential = uncurryThis(1.0.toExponential);\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\n\n// Edge 17-\nvar ROUNDS_PROPERLY = un$ToExponential(-6.9e-11, 4) === '-6.9000e-11'\n // IE11- && Edge 14-\n && un$ToExponential(1.255, 2) === '1.25e+0'\n // FF86-, V8 ~ Chrome 49-50\n && un$ToExponential(12345, 3) === '1.235e+4'\n // FF86-, V8 ~ Chrome 49-50\n && un$ToExponential(25, 0) === '3e+1';\n\n// IE8-\nvar THROWS_ON_INFINITY_FRACTION = fails(function () {\n un$ToExponential(1, Infinity);\n}) && fails(function () {\n un$ToExponential(1, -Infinity);\n});\n\n// Safari <11 && FF <50\nvar PROPER_NON_FINITE_THIS_CHECK = !fails(function () {\n un$ToExponential(Infinity, Infinity);\n}) && !fails(function () {\n un$ToExponential(NaN, Infinity);\n});\n\nvar FORCED = !ROUNDS_PROPERLY || !THROWS_ON_INFINITY_FRACTION || !PROPER_NON_FINITE_THIS_CHECK;\n\n// `Number.prototype.toExponential` method\n// https://tc39.es/ecma262/#sec-number.prototype.toexponential\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toExponential: function toExponential(fractionDigits) {\n var x = thisNumberValue(this);\n if (fractionDigits === undefined) return un$ToExponential(x);\n var f = toIntegerOrInfinity(fractionDigits);\n if (!isFinite(x)) return String(x);\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (f < 0 || f > 20) throw RangeError('Incorrect fraction digits');\n if (ROUNDS_PROPERLY) return un$ToExponential(x, f);\n var s = '';\n var m = '';\n var e = 0;\n var c = '';\n var d = '';\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x === 0) {\n e = 0;\n m = repeat('0', f + 1);\n } else {\n // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08\n // TODO: improve accuracy with big fraction digits\n var l = log10(x);\n e = floor(l);\n var n = 0;\n var w = pow(10, e - f);\n n = round(x / w);\n if (2 * x >= (2 * n + 1) * w) {\n n += 1;\n }\n if (n >= pow(10, f + 1)) {\n n /= 10;\n e += 1;\n }\n m = String(n);\n }\n if (f !== 0) {\n m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1);\n }\n if (e === 0) {\n c = '+';\n d = '0';\n } else {\n c = e > 0 ? '+' : '-';\n d = String(abs(e));\n }\n m += 'e' + c + d;\n return s + m;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar String = global.String;\nvar floor = Math.floor;\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar un$ToFixed = uncurryThis(1.0.toFixed);\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar multiply = function (data, n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\n\nvar divide = function (data, n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\n\nvar dataToString = function (data) {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = String(data[index]);\n s = s === '' ? t : s + repeat('0', 7 - t.length) + t;\n }\n } return s;\n};\n\nvar FORCED = fails(function () {\n return un$ToFixed(0.00008, 3) !== '0.000' ||\n un$ToFixed(0.9, 0) !== '1' ||\n un$ToFixed(1.255, 2) !== '1.25' ||\n un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n un$ToFixed({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toIntegerOrInfinity(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(data, 0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(data, 1e7, 0);\n j -= 7;\n }\n multiply(data, pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(data, 1 << 23);\n j -= 23;\n }\n divide(data, 1 << j);\n multiply(data, 1, 1);\n divide(data, 2);\n result = dataToString(data);\n } else {\n multiply(data, 0, z);\n multiply(data, 1 << -e, 0);\n result = dataToString(data) + repeat('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat('0', fractDigits - k) + result\n : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar un$ToPrecision = uncurryThis(1.0.toPrecision);\n\nvar FORCED = fails(function () {\n // IE7-\n return un$ToPrecision(1, undefined) !== '1';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n un$ToPrecision({});\n});\n\n// `Number.prototype.toPrecision` method\n// https://tc39.es/ecma262/#sec-number.prototype.toprecision\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toPrecision: function toPrecision(precision) {\n return precision === undefined\n ? un$ToPrecision(thisNumberValue(this))\n : un$ToPrecision(thisNumberValue(this), precision);\n }\n});\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineGetter__: function __defineGetter__(P, getter) {\n definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true });\n }\n });\n}\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperties = require('../internals/object-define-properties').f;\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {\n defineProperties: defineProperties\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineSetter__: function __defineSetter__(P, setter) {\n definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true });\n }\n });\n}\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });\nvar FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\n// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: getOwnPropertyNames\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\n\n// `Object.hasOwn` method\n// https://github.com/tc39/proposal-accessible-object-hasownproperty\n$({ target: 'Object', stat: true }, {\n hasOwn: hasOwn\n});\n","var $ = require('../internals/export');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\n// eslint-disable-next-line es/no-object-isextensible -- safe\n$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, {\n isExtensible: $isExtensible\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar $isFrozen = Object.isFrozen;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isFrozen(1); });\n\n// `Object.isFrozen` method\n// https://tc39.es/ecma262/#sec-object.isfrozen\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE }, {\n isFrozen: function isFrozen(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true;\n return $isFrozen ? $isFrozen(it) : false;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar $isSealed = Object.isSealed;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isSealed(1); });\n\n// `Object.isSealed` method\n// https://tc39.es/ecma262/#sec-object.issealed\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE }, {\n isSealed: function isSealed(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true;\n return $isSealed ? $isSealed(it) : false;\n }\n});\n","var $ = require('../internals/export');\nvar is = require('../internals/same-value');\n\n// `Object.is` method\n// https://tc39.es/ecma262/#sec-object.is\n$({ target: 'Object', stat: true }, {\n is: is\n});\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-preventextensions -- safe\nvar $preventExtensions = Object.preventExtensions;\nvar FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); });\n\n// `Object.preventExtensions` method\n// https://tc39.es/ecma262/#sec-object.preventextensions\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-seal -- safe\nvar $seal = Object.seal;\nvar FAILS_ON_PRIMITIVES = fails(function () { $seal(1); });\n\n// `Object.seal` method\n// https://tc39.es/ecma262/#sec-object.seal\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n seal: function seal(it) {\n return $seal && isObject(it) ? $seal(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","var $ = require('../internals/export');\nvar $parseFloat = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat != $parseFloat }, {\n parseFloat: $parseFloat\n});\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromise)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromise.prototype['finally'] !== method) {\n redefine(NativePromise.prototype, 'finally', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\n\nvar getInternalState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar NativePromisePrototype = NativePromise && NativePromise.prototype;\nvar PromiseConstructor = NativePromise;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar SUBCLASSING = false;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromisePrototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = new PromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n PromisePrototype = PromiseConstructor.prototype;\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromisePrototype, {\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n // eslint-disable-next-line unicorn/no-thenable -- safe\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.es/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\n redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.es/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.es/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.es/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.es/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","var $ = require('../internals/export');\nvar functionApply = require('../internals/function-apply');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\n\n// MS Edge argumentsList argument is optional\nvar OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n // eslint-disable-next-line es/no-reflect -- required for testing\n Reflect.apply(function () { /* empty */ });\n});\n\n// `Reflect.apply` method\n// https://tc39.es/ecma262/#sec-reflect.apply\n$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {\n apply: function apply(target, thisArgument, argumentsList) {\n return functionApply(aCallable(target), thisArgument, anObject(argumentsList));\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar fails = require('../internals/fails');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\nvar ERROR_INSTEAD_OF_FALSE = fails(function () {\n // eslint-disable-next-line es/no-reflect -- required for testing\n Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });\n});\n\n// `Reflect.defineProperty` method\n// https://tc39.es/ecma262/#sec-reflect.defineproperty\n$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n var key = toPropertyKey(propertyKey);\n anObject(attributes);\n try {\n definePropertyModule.f(target, key, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Reflect.deleteProperty` method\n// https://tc39.es/ecma262/#sec-reflect.deleteproperty\n$({ target: 'Reflect', stat: true }, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor\n$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\n// `Reflect.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.getprototypeof\n$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});\n","var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Reflect.isExtensible` method\n// https://tc39.es/ecma262/#sec-reflect.isextensible\n$({ target: 'Reflect', stat: true }, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible(target);\n }\n});\n","var $ = require('../internals/export');\nvar ownKeys = require('../internals/own-keys');\n\n// `Reflect.ownKeys` method\n// https://tc39.es/ecma262/#sec-reflect.ownkeys\n$({ target: 'Reflect', stat: true }, {\n ownKeys: ownKeys\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar FREEZING = require('../internals/freezing');\n\n// `Reflect.preventExtensions` method\n// https://tc39.es/ecma262/#sec-reflect.preventextensions\n$({ target: 'Reflect', stat: true, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\nvar objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Reflect.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.setprototypeof\nif (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n anObject(target);\n aPossiblePrototype(proto);\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar fails = require('../internals/fails');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\n// `Reflect.set` method\n// https://tc39.es/ecma262/#sec-reflect.set\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype, setter;\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n ownDescriptor = createPropertyDescriptor(0);\n }\n if (isDataDescriptor(ownDescriptor)) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n } else {\n setter = ownDescriptor.set;\n if (setter === undefined) return false;\n call(setter, receiver, V);\n } return true;\n}\n\n// MS Edge 17-18 Reflect.set allows setting the property to object\n// with non-writable property on the prototype\nvar MS_EDGE_BUG = fails(function () {\n var Constructor = function () { /* empty */ };\n var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true });\n // eslint-disable-next-line es/no-reflect -- required for testing\n return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;\n});\n\n$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {\n set: set\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n$({ global: true }, { Reflect: {} });\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(global.Reflect, 'Reflect', true);\n","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar regExpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar SyntaxError = global.SyntaxError;\nvar getFlags = uncurryThis(regExpFlags);\nvar exec = uncurryThis(RegExpPrototype.exec);\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n// TODO: Use only propper RegExpIdentifierName\nvar IS_NCG = /^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar MISSED_STICKY = stickyHelpers.MISSED_STICKY;\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar BASE_FORCED = DESCRIPTORS &&\n (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n }));\n\nvar handleDotAll = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var brackets = false;\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n result += chr + charAt(string, ++index);\n continue;\n }\n if (!brackets && chr === '.') {\n result += '[\\\\s\\\\S]';\n } else {\n if (chr === '[') {\n brackets = true;\n } else if (chr === ']') {\n brackets = false;\n } result += chr;\n }\n } return result;\n};\n\nvar handleNCG = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var named = [];\n var names = {};\n var brackets = false;\n var ncg = false;\n var groupid = 0;\n var groupname = '';\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n chr = chr + charAt(string, ++index);\n } else if (chr === ']') {\n brackets = false;\n } else if (!brackets) switch (true) {\n case chr === '[':\n brackets = true;\n break;\n case chr === '(':\n if (exec(IS_NCG, stringSlice(string, index + 1))) {\n index += 2;\n ncg = true;\n }\n result += chr;\n groupid++;\n continue;\n case chr === '>' && ncg:\n if (groupname === '' || hasOwn(names, groupname)) {\n throw new SyntaxError('Invalid capture group name');\n }\n names[groupname] = true;\n named[named.length] = [groupname, groupid];\n ncg = false;\n groupname = '';\n continue;\n }\n if (ncg) groupname += chr;\n else result += chr;\n } return [result, named];\n};\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (isForced('RegExp', BASE_FORCED)) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var groups = [];\n var rawPattern = pattern;\n var rawFlags, dotAll, sticky, handled, result, state;\n\n if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {\n return pattern;\n }\n\n if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {\n pattern = pattern.source;\n if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags(rawPattern);\n }\n\n pattern = pattern === undefined ? '' : toString(pattern);\n flags = flags === undefined ? '' : toString(flags);\n rawPattern = pattern;\n\n if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {\n dotAll = !!flags && stringIndexOf(flags, 's') > -1;\n if (dotAll) flags = replace(flags, /s/g, '');\n }\n\n rawFlags = flags;\n\n if (MISSED_STICKY && 'sticky' in re1) {\n sticky = !!flags && stringIndexOf(flags, 'y') > -1;\n if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');\n }\n\n if (UNSUPPORTED_NCG) {\n handled = handleNCG(pattern);\n pattern = handled[0];\n groups = handled[1];\n }\n\n result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n\n if (dotAll || sticky || groups.length) {\n state = enforceInternalState(result);\n if (dotAll) {\n state.dotAll = true;\n state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);\n }\n if (sticky) state.sticky = true;\n if (groups.length) state.groups = groups;\n }\n\n if (pattern !== rawPattern) try {\n // fails in old engines, but we have no alternatives for unsupported regex syntax\n createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);\n } catch (error) { /* empty */ }\n\n return result;\n };\n\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n\n for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {\n proxy(keys[index++]);\n }\n\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar classof = require('../internals/classof-raw');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getInternalState = require('../internals/internal-state').get;\n\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\n\n// `RegExp.prototype.dotAll` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall\nif (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {\n defineProperty(RegExpPrototype, 'dotAll', {\n configurable: true,\n get: function () {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).dotAll;\n }\n throw TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModule = require('../internals/object-define-property');\nvar regExpFlags = require('../internals/regexp-flags');\nvar fails = require('../internals/fails');\n\nvar RegExpPrototype = RegExp.prototype;\n\nvar FORCED = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy';\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) objectDefinePropertyModule.f(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar MISSED_STICKY = require('../internals/regexp-sticky-helpers').MISSED_STICKY;\nvar classof = require('../internals/classof-raw');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getInternalState = require('../internals/internal-state').get;\n\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\n\n// `RegExp.prototype.sticky` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky\nif (DESCRIPTORS && MISSED_STICKY) {\n defineProperty(RegExpPrototype, 'sticky', {\n configurable: true,\n get: function () {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).sticky;\n }\n throw TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar Error = global.Error;\nvar un$Test = uncurryThis(/./.test);\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (str) {\n var exec = this.exec;\n if (!isCallable(exec)) return un$Test(this, str);\n var result = call(exec, this, str);\n if (result !== null && !isObject(result)) {\n throw new Error('RegExp exec method returned something other than an Object or null');\n }\n return !!result;\n }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar n$ToString = RegExpPrototype[TO_STRING];\nvar getFlags = uncurryThis(regExpFlags);\n\nvar NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = $toString(R.source);\n var rf = R.flags;\n var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.es/ecma262/#sec-string.prototype.anchor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\n\nvar charAt = uncurryThis(''.charAt);\n\nvar FORCED = fails(function () {\n return '𠮷'.at(-2) !== '\\uD842';\n});\n\n// `String.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({ target: 'String', proto: true, forced: FORCED }, {\n at: function at(index) {\n var S = toString(requireObjectCoercible(this));\n var len = S.length;\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : charAt(S, k);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.es/ecma262/#sec-string.prototype.big\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.blink` method\n// https://tc39.es/ecma262/#sec-string.prototype.blink\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.bold` method\n// https://tc39.es/ecma262/#sec-string.prototype.bold\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar codeAt = require('../internals/string-multibyte').codeAt;\n\n// `String.prototype.codePointAt` method\n// https://tc39.es/ecma262/#sec-string.prototype.codepointat\n$({ target: 'String', proto: true }, {\n codePointAt: function codePointAt(pos) {\n return codeAt(this, pos);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fixed` method\n// https://tc39.es/ecma262/#sec-string.prototype.fixed\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontcolor` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontcolor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontsize` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontsize\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar RangeError = global.RangeError;\nvar fromCharCode = String.fromCharCode;\n// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing\nvar $fromCodePoint = String.fromCodePoint;\nvar join = uncurryThis([].join);\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fromCodePoint: function fromCodePoint(x) {\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');\n elements[i] = code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);\n } return join(elements, '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.italics` method\n// https://tc39.es/ecma262/#sec-string.prototype.italics\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","'use strict';\n/* eslint-disable es/no-string-prototype-matchall -- safe */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof-raw');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar regExpFlags = require('../internals/regexp-flags');\nvar getMethod = require('../internals/get-method');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar InternalStateModule = require('../internals/internal-state');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MATCH_ALL = wellKnownSymbol('matchAll');\nvar REGEXP_STRING = 'RegExp String';\nvar REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\nvar getFlags = uncurryThis(regExpFlags);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar un$MatchAll = uncurryThis(''.matchAll);\n\nvar WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails(function () {\n un$MatchAll('a', /./);\n});\n\nvar $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) {\n setInternalState(this, {\n type: REGEXP_STRING_ITERATOR,\n regexp: regexp,\n string: string,\n global: $global,\n unicode: fullUnicode,\n done: false\n });\n}, REGEXP_STRING, function next() {\n var state = getInternalState(this);\n if (state.done) return { value: undefined, done: true };\n var R = state.regexp;\n var S = state.string;\n var match = regExpExec(R, S);\n if (match === null) return { value: undefined, done: state.done = true };\n if (state.global) {\n if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);\n return { value: match, done: false };\n }\n state.done = true;\n return { value: match, done: false };\n});\n\nvar $matchAll = function (string) {\n var R = anObject(this);\n var S = toString(string);\n var C, flagsValue, flags, matcher, $global, fullUnicode;\n C = speciesConstructor(R, RegExp);\n flagsValue = R.flags;\n if (flagsValue === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype)) {\n flagsValue = getFlags(R);\n }\n flags = flagsValue === undefined ? '' : toString(flagsValue);\n matcher = new C(C === RegExp ? R.source : R, flags);\n $global = !!~stringIndexOf(flags, 'g');\n fullUnicode = !!~stringIndexOf(flags, 'u');\n matcher.lastIndex = toLength(R.lastIndex);\n return new $RegExpStringIterator(matcher, S, $global, fullUnicode);\n};\n\n// `String.prototype.matchAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.matchall\n$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {\n matchAll: function matchAll(regexp) {\n var O = requireObjectCoercible(this);\n var flags, S, matcher, rx;\n if (regexp != null) {\n if (isRegExp(regexp)) {\n flags = toString(requireObjectCoercible('flags' in RegExpPrototype\n ? regexp.flags\n : getFlags(regexp)\n ));\n if (!~stringIndexOf(flags, 'g')) throw TypeError('`.matchAll` does not allow non-global regexes');\n }\n if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n matcher = getMethod(regexp, MATCH_ALL);\n if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll;\n if (matcher) return call(matcher, regexp, O);\n } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n S = toString(O);\n rx = new RegExp(regexp, 'g');\n return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S);\n }\n});\n\nIS_PURE || MATCH_ALL in RegExpPrototype || redefine(RegExpPrototype, MATCH_ALL, $matchAll);\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padEnd = require('../internals/string-pad').end;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.padend\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toObject = require('../internals/to-object');\nvar toString = require('../internals/to-string');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar push = uncurryThis([].push);\nvar join = uncurryThis([].join);\n\n// `String.raw` method\n// https://tc39.es/ecma262/#sec-string.raw\n$({ target: 'String', stat: true }, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(toObject(template).raw);\n var literalSegments = lengthOfArrayLike(rawTemplate);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (literalSegments > i) {\n push(elements, toString(rawTemplate[i++]));\n if (i === literalSegments) return join(elements, '');\n if (i < argumentsLength) push(elements, toString(arguments[i]));\n }\n }\n});\n","var $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\n$({ target: 'String', proto: true }, {\n repeat: repeat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpFlags = require('../internals/regexp-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\nvar getFlags = uncurryThis(regExpFlags);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible('flags' in RegExpPrototype\n ? searchValue.flags\n : getFlags(searchValue)\n ));\n if (!~indexOf(flags, 'g')) throw TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.es/ecma262/#sec-string.prototype.small\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.strike` method\n// https://tc39.es/ecma262/#sec-string.prototype.strike\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sub` method\n// https://tc39.es/ecma262/#sec-string.prototype.sub\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\n\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\nvar min = Math.min;\n\n// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing\nvar FORCED = !''.substr || 'ab'.substr(-1) !== 'b';\n\n// `String.prototype.substr` method\n// https://tc39.es/ecma262/#sec-string.prototype.substr\n$({ target: 'String', proto: true, forced: FORCED }, {\n substr: function substr(start, length) {\n var that = toString(requireObjectCoercible(this));\n var size = that.length;\n var intStart = toIntegerOrInfinity(start);\n var intLength, intEnd;\n if (intStart === Infinity) intStart = 0;\n if (intStart < 0) intStart = max(size + intStart, 0);\n intLength = length === undefined ? size : toIntegerOrInfinity(length);\n if (intLength <= 0 || intLength === Infinity) return '';\n intEnd = min(intStart + intLength, size);\n return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sup` method\n// https://tc39.es/ecma262/#sec-string.prototype.sup\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimEnd');\n\nvar trimEnd = FORCED ? function trimEnd() {\n return $trimEnd(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;\n\n// `String.prototype.{ trimEnd, trimRight }` methods\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\n$({ target: 'String', proto: true, name: 'trimEnd', forced: FORCED }, {\n trimEnd: trimEnd,\n trimRight: trimEnd\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trimStart = require('../internals/string-trim').start;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimStart');\n\nvar trimStart = FORCED ? function trimStart() {\n return $trimStart(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimStart;\n\n// `String.prototype.{ trimStart, trimLeft }` methods\n// https://tc39.es/ecma262/#sec-string.prototype.trimstart\n// https://tc39.es/ecma262/#String.prototype.trimleft\n$({ target: 'String', proto: true, name: 'trimStart', forced: FORCED }, {\n trimStart: trimStart,\n trimLeft: trimStart\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineProperty = require('../internals/object-define-property').f;\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';\n var symbolToString = uncurryThis(SymbolPrototype.toString);\n var symbolValueOf = uncurryThis(SymbolPrototype.valueOf);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = symbolValueOf(this);\n var string = symbolToString(symbol);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar arraySlice = require('../internals/array-slice');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n redefine(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.es/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = $toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.es/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.es/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (isCallable($replacer)) value = call($replacer, this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return apply($stringify, null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!SymbolPrototype[TO_PRIMITIVE]) {\n var valueOf = SymbolPrototype.valueOf;\n // eslint-disable-next-line no-unused-vars -- required for .length\n redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n // TODO: improve hint logic\n return call(valueOf, this);\n });\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\nexportTypedArrayMethod('at', function at(index) {\n var O = aTypedArray(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $ArrayCopyWithin = require('../internals/array-copy-within');\n\nvar u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar call = require('../internals/function-call');\nvar $fill = require('../internals/array-fill');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n var length = arguments.length;\n return call(\n $fill,\n aTypedArray(this),\n value,\n length > 1 ? arguments[1] : undefined,\n length > 2 ? arguments[2] : undefined\n );\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float32', function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float64Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float64', function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod;\nvar typedArrayFrom = require('../internals/typed-array-from');\n\n// `%TypedArray%.from` method\n// https://tc39.es/ecma262/#sec-%typedarray%.from\nexportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int16', function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int32', function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int8', function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = uncurryThis(ArrayIterators.values);\nvar arrayKeys = uncurryThis(ArrayIterators.keys);\nvar arrayEntries = uncurryThis(ArrayIterators.entries);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar TypedArrayPrototype = Uint8Array && Uint8Array.prototype;\n\nvar GENERIC = !fails(function () {\n TypedArrayPrototype[ITERATOR].call([1]);\n});\n\nvar ITERATOR_IS_VALUES = !!TypedArrayPrototype\n && TypedArrayPrototype.values\n && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values\n && TypedArrayPrototype.values.name === 'values';\n\nvar typedArrayValues = function values() {\n return arrayValues(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.keys` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.values` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = uncurryThis([].join);\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join\nexportTypedArrayMethod('join', function join(separator) {\n return $join(aTypedArray(this), separator);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar apply = require('../internals/function-apply');\nvar $lastIndexOf = require('../internals/array-last-index-of');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n var length = arguments.length;\n return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (typedArraySpeciesConstructor(O))(length);\n });\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.of` method\n// https://tc39.es/ecma262/#sec-%typedarray%.of\nexportTypedArrayStaticMethod('of', function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = new (aTypedArrayConstructor(this))(length);\n while (length > index) result[index] = arguments[index++];\n return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRicht` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toOffset = require('../internals/to-offset');\nvar toIndexedObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, { length: 1, 0: 3 }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = arraySlice(aTypedArray(this), start, end);\n var C = typedArraySpeciesConstructor(this);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar Array = global.Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar un$Sort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails(function () {\n un$Sort(new Uint16Array(2), null);\n}) && fails(function () {\n un$Sort(new Uint16Array(2), {});\n}));\n\nvar STABLE_SORT = !!un$Sort && !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 74;\n if (FF) return FF < 67;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 602;\n\n var array = new Uint16Array(516);\n var expected = Array(516);\n var index, mod;\n\n for (index = 0; index < 516; index++) {\n mod = index % 4;\n array[index] = 515 - index;\n expected[index] = index - 2 * mod + 3;\n }\n\n un$Sort(array, function (a, b) {\n return (a / 4 | 0) - (b / 4 | 0);\n });\n\n for (index = 0; index < 516; index++) {\n if (array[index] !== expected[index]) return true;\n }\n});\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (y !== y) return -1;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (x !== x) return 1;\n if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n return x > y;\n };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n if (STABLE_SORT) return un$Sort(this, comparefn);\n\n return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n var C = typedArraySpeciesConstructor(O);\n return new C(\n O.buffer,\n O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)\n );\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\n\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return apply(\n $toLocaleString,\n TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),\n arraySlice(arguments)\n );\n}, FORCED);\n","'use strict';\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar join = uncurryThis([].join);\n\nif (fails(function () { arrayToString.call({}); })) {\n arrayToString = function toString() {\n return join(this);\n };\n}\n\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint16', function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint32', function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8ClampedArray` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\n\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar stringSlice = uncurryThis(''.slice);\n\nvar hex2 = /^[\\da-f]{2}$/i;\nvar hex4 = /^[\\da-f]{4}$/i;\n\n// `unescape` method\n// https://tc39.es/ecma262/#sec-unescape-string\n$({ global: true }, {\n unescape: function unescape(string) {\n var str = toString(string);\n var result = '';\n var length = str.length;\n var index = 0;\n var chr, part;\n while (index < length) {\n chr = charAt(str, index++);\n if (chr === '%') {\n if (charAt(str, index) === 'u') {\n part = stringSlice(str, index + 1, index + 5);\n if (exec(hex4, part)) {\n result += fromCharCode(parseInt(part, 16));\n index += 5;\n continue;\n }\n } else {\n part = stringSlice(str, index, index + 2);\n if (exec(hex2, part)) {\n result += fromCharCode(parseInt(part, 16));\n index += 2;\n continue;\n }\n }\n }\n result += chr;\n } return result;\n }\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar redefineAll = require('../internals/redefine-all');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar isExtensible = require('../internals/object-is-extensible');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var WeakMapPrototype = $WeakMap.prototype;\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n var nativeSet = uncurryThis(WeakMapPrototype.set);\n redefineAll(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n } return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n } return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n } return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.es/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionWeak);\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar hasOwn = require('../internals/has-own-property');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar ctoi = require('../internals/base64-map').ctoi;\n\nvar disallowed = /[^\\d+/a-z]/i;\nvar whitespaces = /[\\t\\n\\f\\r ]+/g;\nvar finalEq = /[=]+$/;\n\nvar $atob = getBuiltIn('atob');\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar exec = uncurryThis(disallowed.exec);\n\nvar NO_SPACES_IGNORE = fails(function () {\n return atob(' ') !== '';\n});\n\nvar NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !fails(function () {\n $atob();\n});\n\n// `atob` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob\n$({ global: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ARG_RECEIVING_CHECK }, {\n atob: function atob(data) {\n validateArgumentsLength(arguments.length, 1);\n if (NO_ARG_RECEIVING_CHECK) return $atob(data);\n var string = replace(toString(data), whitespaces, '');\n var output = '';\n var position = 0;\n var bc = 0;\n var chr, bs;\n if (string.length % 4 == 0) {\n string = replace(string, finalEq, '');\n }\n if (string.length % 4 == 1 || exec(disallowed, string)) {\n throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');\n }\n while (chr = charAt(string, position++)) {\n if (hasOwn(ctoi, chr)) {\n bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr];\n if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6));\n }\n } return output;\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar itoc = require('../internals/base64-map').itoc;\n\nvar $btoa = getBuiltIn('btoa');\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\nvar NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () {\n $btoa();\n});\n\n// `btoa` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa\n$({ global: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK }, {\n btoa: function btoa(data) {\n validateArgumentsLength(arguments.length, 1);\n if (NO_ARG_RECEIVING_CHECK) return $btoa(data);\n var string = toString(data);\n var output = '';\n var position = 0;\n var map = itoc;\n var block, charCode;\n while (charAt(string, position) || (map = '=', position % 1)) {\n charCode = charCodeAt(string, position += 3 / 4);\n if (charCode > 0xFF) {\n throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');\n }\n block = block << 8 | charCode;\n output += charAt(map, 63 & block >> 8 - position % 1 * 8);\n } return output;\n }\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","'use strict';\nvar $ = require('../internals/export');\nvar tryNodeRequire = require('../internals/try-node-require');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineProperties = require('../internals/object-define-properties').f;\nvar redefine = require('../internals/redefine');\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar errorToString = require('../internals/error-to-string');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar InternalStateModule = require('../internals/internal-state');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar DATA_CLONE_ERR = 'DATA_CLONE_ERR';\nvar Error = getBuiltIn('Error');\n// NodeJS < 17.0 does not expose `DOMException` to global\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {\n try {\n // NodeJS < 15.0 does not expose `MessageChannel` to global\n var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;\n // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe\n new MessageChannel().port1.postMessage(new WeakMap());\n } catch (error) {\n if (error.name == DATA_CLONE_ERR && error.code == 25) return error.constructor;\n }\n})();\nvar NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;\nvar ErrorPrototype = Error.prototype;\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION);\nvar HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\n\nvar codeFor = function (name) {\n return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0;\n};\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var code = codeFor(name);\n setInternalState(this, {\n type: DOM_EXCEPTION,\n name: name,\n message: message,\n code: code\n });\n if (!DESCRIPTORS) {\n this.name = name;\n this.message = message;\n this.code = code;\n }\n if (HAS_STACK) {\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n }\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype);\n\nvar createGetterDescriptor = function (get) {\n return { enumerable: true, configurable: true, get: get };\n};\n\nvar getterFor = function (key) {\n return createGetterDescriptor(function () {\n return getInternalState(this)[key];\n });\n};\n\nif (DESCRIPTORS) defineProperties(DOMExceptionPrototype, {\n name: getterFor('name'),\n message: getterFor('message'),\n code: getterFor('code')\n});\n\ndefineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException));\n\n// FF36- DOMException is a function, but can't be constructed\nvar INCORRECT_CONSTRUCTOR = fails(function () {\n return !(new NativeDOMException() instanceof Error);\n});\n\n// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs\nvar INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {\n return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1';\n});\n\n// Deno 1.6.3- DOMException.prototype.code just missed\nvar INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {\n return new NativeDOMException(1, 'DataCloneError').code !== 25;\n});\n\n// Deno 1.6.3- DOMException constants just missed\nvar MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR\n || NativeDOMException[DATA_CLONE_ERR] !== 25\n || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;\n\nvar FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR;\n\n// `DOMException` constructor\n// https://webidl.spec.whatwg.org/#idl-DOMException\n$({ global: true, forced: FORCED_CONSTRUCTOR }, {\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) {\n redefine(PolyfilledDOMExceptionPrototype, 'toString', errorToString);\n}\n\nif (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () {\n return codeFor(anObject(this).name);\n }));\n}\n\nfor (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n var descriptor = createPropertyDescriptor(6, constant.c);\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, descriptor);\n }\n if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) {\n defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor);\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n","var getBuiltIn = require('../internals/get-built-in');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\nvar DOM_EXCEPTION = 'DOMException';\n\nsetToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar task = require('../internals/task');\n\nvar FORCED = !global.setImmediate || !global.clearImmediate;\n\n// http://w3c.github.io/setImmediate/\n$({ global: true, bind: true, enumerable: true, forced: FORCED }, {\n // `setImmediate` method\n // http://w3c.github.io/setImmediate/#si-setImmediate\n setImmediate: task.set,\n // `clearImmediate` method\n // http://w3c.github.io/setImmediate/#si-clearImmediate\n clearImmediate: task.clear\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar microtask = require('../internals/microtask');\nvar aCallable = require('../internals/a-callable');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar process = global.process;\n\n// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n$({ global: true, enumerable: true, noTargetGet: true }, {\n queueMicrotask: function queueMicrotask(fn) {\n validateArgumentsLength(arguments.length, 1);\n aCallable(fn);\n var domain = IS_NODE && process.domain;\n microtask(domain ? domain.bind(fn) : fn);\n }\n});\n","var IS_PURE = require('../internals/is-pure');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltin = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar uid = require('../internals/uid');\nvar isCallable = require('../internals/is-callable');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar iterate = require('../internals/iterate');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar createProperty = require('../internals/create-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar regExpFlags = require('../internals/regexp-flags');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar Object = global.Object;\nvar Date = global.Date;\nvar Error = global.Error;\nvar EvalError = global.EvalError;\nvar RangeError = global.RangeError;\nvar ReferenceError = global.ReferenceError;\nvar SyntaxError = global.SyntaxError;\nvar TypeError = global.TypeError;\nvar URIError = global.URIError;\nvar PerformanceMark = global.PerformanceMark;\nvar WebAssembly = global.WebAssembly;\nvar CompileError = WebAssembly && WebAssembly.CompileError || Error;\nvar LinkError = WebAssembly && WebAssembly.LinkError || Error;\nvar RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error;\nvar DOMException = getBuiltin('DOMException');\nvar Set = getBuiltin('Set');\nvar Map = getBuiltin('Map');\nvar MapPrototype = Map.prototype;\nvar mapHas = uncurryThis(MapPrototype.has);\nvar mapGet = uncurryThis(MapPrototype.get);\nvar mapSet = uncurryThis(MapPrototype.set);\nvar setAdd = uncurryThis(Set.prototype.add);\nvar objectKeys = getBuiltin('Object', 'keys');\nvar push = uncurryThis([].push);\nvar booleanValueOf = uncurryThis(true.valueOf);\nvar numberValueOf = uncurryThis(1.0.valueOf);\nvar stringValueOf = uncurryThis(''.valueOf);\nvar getFlags = uncurryThis(regExpFlags);\nvar getTime = uncurryThis(Date.prototype.getTime);\nvar PERFORMANCE_MARK = uid('structuredClone');\nvar DATA_CLONE_ERROR = 'DataCloneError';\nvar TRANSFERRING = 'Transferring';\n\nvar checkBasicSemantic = function (structuredCloneImplementation) {\n return !fails(function () {\n var set1 = new global.Set([7]);\n var set2 = structuredCloneImplementation(set1);\n var number = structuredCloneImplementation(Object(7));\n return set2 == set1 || !set2.has(7) || typeof number != 'object' || number != 7;\n }) && structuredCloneImplementation;\n};\n\n// https://github.com/whatwg/html/pull/5749\nvar checkNewErrorsSemantic = function (structuredCloneImplementation) {\n return !fails(function () {\n var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));\n return test.name != 'AggregateError' || test.errors[0] != 1 || test.message != PERFORMANCE_MARK || test.cause != 3;\n }) && structuredCloneImplementation;\n};\n\n// FF94+, Safari TP134+, Chrome Canary 98+, NodeJS 17.0+, Deno 1.13+\n// current FF and Safari implementations can't clone errors\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604\n// no one of current implementations supports new (html/5749) error cloning semantic\nvar nativeStructuredClone = global.structuredClone;\n\nvar FORCED_REPLACEMENT = IS_PURE || !checkNewErrorsSemantic(nativeStructuredClone);\n\n// Chrome 82+, Safari 14.1+, Deno 1.11+\n// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException`\n// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround\n// current Safari implementation can't clone errors\n// Deno 1.2-1.10 implementations too naive\n// NodeJS 16.0+ does not have `PerformanceMark` constructor, structured cloning implementation\n// from `performance.mark` is too naive and can't clone, for example, `RegExp` or some boxed primitives\n// https://github.com/nodejs/node/issues/40840\n// no one of current implementations supports new (html/5749) error cloning semantic\nvar structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {\n return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;\n});\n\nvar nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark;\n\nvar throwUncloneable = function (type) {\n throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR);\n};\n\nvar throwUnpolyfillable = function (type, kind) {\n throw new DOMException((kind || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);\n};\n\nvar structuredCloneInternal = function (value, map) {\n if (isSymbol(value)) throwUncloneable('Symbol');\n if (!isObject(value)) return value;\n // effectively preserves circular references\n if (map) {\n if (mapHas(map, value)) return mapGet(map, value);\n } else map = new Map();\n\n var type = classof(value);\n var deep = false;\n var C, name, cloned, dataTransfer, i, length, keys, key, source, target;\n\n switch (type) {\n case 'Array':\n cloned = [];\n deep = true;\n break;\n case 'Object':\n cloned = {};\n deep = true;\n break;\n case 'Map':\n cloned = new Map();\n deep = true;\n break;\n case 'Set':\n cloned = new Set();\n deep = true;\n break;\n case 'RegExp':\n // in this block because of a Safari 14.1 bug\n // old FF does not clone regexes passed to the constructor, so get the source and flags directly\n cloned = new RegExp(value.source, 'flags' in value ? value.flags : getFlags(value));\n break;\n case 'Error':\n name = value.name;\n switch (name) {\n case 'AggregateError':\n cloned = getBuiltin('AggregateError')([]);\n break;\n case 'EvalError':\n cloned = EvalError();\n break;\n case 'RangeError':\n cloned = RangeError();\n break;\n case 'ReferenceError':\n cloned = ReferenceError();\n break;\n case 'SyntaxError':\n cloned = SyntaxError();\n break;\n case 'TypeError':\n cloned = TypeError();\n break;\n case 'URIError':\n cloned = URIError();\n break;\n case 'CompileError':\n cloned = CompileError();\n break;\n case 'LinkError':\n cloned = LinkError();\n break;\n case 'RuntimeError':\n cloned = RuntimeError();\n break;\n default:\n cloned = Error();\n }\n deep = true;\n break;\n case 'DOMException':\n cloned = new DOMException(value.message, value.name);\n deep = true;\n break;\n case 'DataView':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n C = global[type];\n // in some old engines like Safari 9, typeof C is 'object'\n // on Uint8ClampedArray or some other constructors\n if (!isObject(C)) throwUnpolyfillable(type);\n cloned = new C(\n // this is safe, since arraybuffer cannot have circular references\n structuredCloneInternal(value.buffer, map),\n value.byteOffset,\n type === 'DataView' ? value.byteLength : value.length\n );\n break;\n case 'DOMQuad':\n try {\n cloned = new DOMQuad(\n structuredCloneInternal(value.p1, map),\n structuredCloneInternal(value.p2, map),\n structuredCloneInternal(value.p3, map),\n structuredCloneInternal(value.p4, map)\n );\n } catch (error) {\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n }\n break;\n case 'FileList':\n C = global.DataTransfer;\n if (isConstructor(C)) {\n dataTransfer = new C();\n for (i = 0, length = lengthOfArrayLike(value); i < length; i++) {\n dataTransfer.items.add(structuredCloneInternal(value[i], map));\n }\n cloned = dataTransfer.files;\n } else if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n break;\n case 'ImageData':\n // Safari 9 ImageData is a constructor, but typeof ImageData is 'object'\n try {\n cloned = new ImageData(\n structuredCloneInternal(value.data, map),\n value.width,\n value.height,\n { colorSpace: value.colorSpace }\n );\n } catch (error) {\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n } break;\n default:\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else switch (type) {\n case 'BigInt':\n // can be a 3rd party polyfill\n cloned = Object(value.valueOf());\n break;\n case 'Boolean':\n cloned = Object(booleanValueOf(value));\n break;\n case 'Number':\n cloned = Object(numberValueOf(value));\n break;\n case 'String':\n cloned = Object(stringValueOf(value));\n break;\n case 'Date':\n cloned = new Date(getTime(value));\n break;\n case 'ArrayBuffer':\n C = global.DataView;\n // `ArrayBuffer#slice` is not available in IE10\n // `ArrayBuffer#slice` and `DataView` are not available in old FF\n if (!C && typeof value.slice != 'function') throwUnpolyfillable(type);\n // detached buffers throws in `DataView` and `.slice`\n try {\n if (typeof value.slice == 'function') {\n cloned = value.slice(0);\n } else {\n length = value.byteLength;\n cloned = new ArrayBuffer(length);\n source = new C(value);\n target = new C(cloned);\n for (i = 0; i < length; i++) {\n target.setUint8(i, source.getUint8(i));\n }\n }\n } catch (error) {\n throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR);\n } break;\n case 'SharedArrayBuffer':\n // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original\n cloned = value;\n break;\n case 'Blob':\n try {\n cloned = value.slice(0, value.size, value.type);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMPoint':\n case 'DOMPointReadOnly':\n C = global[type];\n try {\n cloned = C.fromPoint\n ? C.fromPoint(value)\n : new C(value.x, value.y, value.z, value.w);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMRect':\n case 'DOMRectReadOnly':\n C = global[type];\n try {\n cloned = C.fromRect\n ? C.fromRect(value)\n : new C(value.x, value.y, value.width, value.height);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMMatrix':\n case 'DOMMatrixReadOnly':\n C = global[type];\n try {\n cloned = C.fromMatrix\n ? C.fromMatrix(value)\n : new C(value);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone)) throwUnpolyfillable(type);\n try {\n cloned = value.clone();\n } catch (error) {\n throwUncloneable(type);\n } break;\n case 'File':\n try {\n cloned = new File([value], value.name, value);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'CryptoKey':\n case 'GPUCompilationMessage':\n case 'GPUCompilationInfo':\n case 'ImageBitmap':\n case 'RTCCertificate':\n case 'WebAssembly.Module':\n throwUnpolyfillable(type);\n // break omitted\n default:\n throwUncloneable(type);\n }\n }\n\n mapSet(map, value, cloned);\n\n if (deep) switch (type) {\n case 'Array':\n case 'Object':\n keys = objectKeys(value);\n for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {\n key = keys[i];\n createProperty(cloned, key, structuredCloneInternal(value[key], map));\n } break;\n case 'Map':\n value.forEach(function (v, k) {\n mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));\n });\n break;\n case 'Set':\n value.forEach(function (v) {\n setAdd(cloned, structuredCloneInternal(v, map));\n });\n break;\n case 'Error':\n createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map));\n if (hasOwn(value, 'cause')) {\n createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map));\n }\n if (name == 'AggregateError') {\n cloned.errors = structuredCloneInternal(value.errors, map);\n } // break omitted\n case 'DOMException':\n if (ERROR_STACK_INSTALLABLE) {\n createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map));\n }\n }\n\n return cloned;\n};\n\nvar PROPER_TRANSFER = nativeStructuredClone && !fails(function () {\n var buffer = new ArrayBuffer(8);\n var clone = nativeStructuredClone(buffer, { transfer: [buffer] });\n return buffer.byteLength != 0 || clone.byteLength != 8;\n});\n\nvar tryToTransfer = function (rawTransfer, map) {\n if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence');\n\n var transfer = [];\n\n iterate(rawTransfer, function (value) {\n push(transfer, anObject(value));\n });\n\n var i = 0;\n var length = lengthOfArrayLike(transfer);\n var value, type, C, transferredArray, transferred, canvas, context;\n\n if (PROPER_TRANSFER) {\n transferredArray = nativeStructuredClone(transfer, { transfer: transfer });\n while (i < length) mapSet(map, transfer[i], transferredArray[i++]);\n } else while (i < length) {\n value = transfer[i++];\n if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);\n\n type = classof(value);\n\n switch (type) {\n case 'ImageBitmap':\n C = global.OffscreenCanvas;\n if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n canvas = new C(value.width, value.height);\n context = canvas.getContext('bitmaprenderer');\n context.transferFromImageBitmap(value);\n transferred = canvas.transferToImageBitmap();\n } catch (error) { /* empty */ }\n break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n transferred = value.clone();\n value.close();\n } catch (error) { /* empty */ }\n break;\n case 'ArrayBuffer':\n case 'MessagePort':\n case 'OffscreenCanvas':\n case 'ReadableStream':\n case 'TransformStream':\n case 'WritableStream':\n throwUnpolyfillable(type, TRANSFERRING);\n }\n\n if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR);\n mapSet(map, value, transferred);\n }\n};\n\n$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, {\n structuredClone: function structuredClone(value /* , { transfer } */) {\n var options = validateArgumentsLength(arguments.length, 1) > 1 ? anObject(arguments[1]) : undefined;\n var transfer = options ? options.transfer : undefined;\n var map;\n\n if (transfer !== undefined) {\n map = new Map();\n tryToTransfer(transfer, map);\n }\n\n return structuredCloneInternal(value, map);\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar userAgent = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar Function = global.Function;\n\nvar wrap = function (scheduler) {\n return function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = boundArgs ? arraySlice(arguments, 2) : undefined;\n return scheduler(boundArgs ? function () {\n apply(fn, this, args);\n } : fn, timeout);\n };\n};\n\n// ie9- setTimeout & setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n$({ global: true, bind: true, forced: MSIE }, {\n // `setTimeout` method\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n setTimeout: wrap(global.setTimeout),\n // `setInterval` method\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n setInterval: wrap(global.setInterval)\n});\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar n$Fetch = getBuiltIn('fetch');\nvar N$Request = getBuiltIn('Request');\nvar Headers = getBuiltIn('Headers');\nvar RequestPrototype = N$Request && N$Request.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\nredefineAll(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);\n else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\nredefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\nredefine(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(n$Fetch)) {\n $({ global: true, enumerable: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(N$Request)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.string.iterator');\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineProperties = require('../internals/object-define-properties').f;\nvar redefine = require('../internals/redefine');\nvar anInstance = require('../internals/an-instance');\nvar hasOwn = require('../internals/has-own-property');\nvar assign = require('../internals/object-assign');\nvar arrayFrom = require('../internals/array-from');\nvar arraySlice = require('../internals/array-slice-simple');\nvar codeAt = require('../internals/string-multibyte').codeAt;\nvar toASCII = require('../internals/string-punycode-to-ascii');\nvar $toString = require('../internals/to-string');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar URLSearchParamsModule = require('../modules/web.url-search-params');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalURLState = InternalStateModule.getterFor('URL');\nvar URLSearchParams = URLSearchParamsModule.URLSearchParams;\nvar getInternalSearchParamsState = URLSearchParamsModule.getState;\n\nvar NativeURL = global.URL;\nvar TypeError = global.TypeError;\nvar parseInt = global.parseInt;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar join = uncurryThis([].join);\nvar numberToString = uncurryThis(1.0.toString);\nvar pop = uncurryThis([].pop);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar toLowerCase = uncurryThis(''.toLowerCase);\nvar unshift = uncurryThis([].unshift);\n\nvar INVALID_AUTHORITY = 'Invalid authority';\nvar INVALID_SCHEME = 'Invalid scheme';\nvar INVALID_HOST = 'Invalid host';\nvar INVALID_PORT = 'Invalid port';\n\nvar ALPHA = /[a-z]/i;\n// eslint-disable-next-line regexp/no-obscure-range -- safe\nvar ALPHANUMERIC = /[\\d+-.a-z]/i;\nvar DIGIT = /\\d/;\nvar HEX_START = /^0x/i;\nvar OCT = /^[0-7]+$/;\nvar DEC = /^\\d+$/;\nvar HEX = /^[\\da-f]+$/i;\n/* eslint-disable regexp/no-control-character -- safe */\nvar FORBIDDEN_HOST_CODE_POINT = /[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/;\nvar FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/;\nvar LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\\u0000-\\u0020]+|[\\u0000-\\u0020]+$/g;\nvar TAB_AND_NEW_LINE = /[\\t\\n\\r]/g;\n/* eslint-enable regexp/no-control-character -- safe */\nvar EOF;\n\n// https://url.spec.whatwg.org/#ipv4-number-parser\nvar parseIPv4 = function (input) {\n var parts = split(input, '.');\n var partsLength, numbers, index, part, radix, number, ipv4;\n if (parts.length && parts[parts.length - 1] == '') {\n parts.length--;\n }\n partsLength = parts.length;\n if (partsLength > 4) return input;\n numbers = [];\n for (index = 0; index < partsLength; index++) {\n part = parts[index];\n if (part == '') return input;\n radix = 10;\n if (part.length > 1 && charAt(part, 0) == '0') {\n radix = exec(HEX_START, part) ? 16 : 8;\n part = stringSlice(part, radix == 8 ? 1 : 2);\n }\n if (part === '') {\n number = 0;\n } else {\n if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input;\n number = parseInt(part, radix);\n }\n push(numbers, number);\n }\n for (index = 0; index < partsLength; index++) {\n number = numbers[index];\n if (index == partsLength - 1) {\n if (number >= pow(256, 5 - partsLength)) return null;\n } else if (number > 255) return null;\n }\n ipv4 = pop(numbers);\n for (index = 0; index < numbers.length; index++) {\n ipv4 += numbers[index] * pow(256, 3 - index);\n }\n return ipv4;\n};\n\n// https://url.spec.whatwg.org/#concept-ipv6-parser\n// eslint-disable-next-line max-statements -- TODO\nvar parseIPv6 = function (input) {\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var pointer = 0;\n var value, length, numbersSeen, ipv4Piece, number, swaps, swap;\n\n var chr = function () {\n return charAt(input, pointer);\n };\n\n if (chr() == ':') {\n if (charAt(input, 1) != ':') return;\n pointer += 2;\n pieceIndex++;\n compress = pieceIndex;\n }\n while (chr()) {\n if (pieceIndex == 8) return;\n if (chr() == ':') {\n if (compress !== null) return;\n pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n value = length = 0;\n while (length < 4 && exec(HEX, chr())) {\n value = value * 16 + parseInt(chr(), 16);\n pointer++;\n length++;\n }\n if (chr() == '.') {\n if (length == 0) return;\n pointer -= length;\n if (pieceIndex > 6) return;\n numbersSeen = 0;\n while (chr()) {\n ipv4Piece = null;\n if (numbersSeen > 0) {\n if (chr() == '.' && numbersSeen < 4) pointer++;\n else return;\n }\n if (!exec(DIGIT, chr())) return;\n while (exec(DIGIT, chr())) {\n number = parseInt(chr(), 10);\n if (ipv4Piece === null) ipv4Piece = number;\n else if (ipv4Piece == 0) return;\n else ipv4Piece = ipv4Piece * 10 + number;\n if (ipv4Piece > 255) return;\n pointer++;\n }\n address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;\n }\n if (numbersSeen != 4) return;\n break;\n } else if (chr() == ':') {\n pointer++;\n if (!chr()) return;\n } else if (chr()) return;\n address[pieceIndex++] = value;\n }\n if (compress !== null) {\n swaps = pieceIndex - compress;\n pieceIndex = 7;\n while (pieceIndex != 0 && swaps > 0) {\n swap = address[pieceIndex];\n address[pieceIndex--] = address[compress + swaps - 1];\n address[compress + --swaps] = swap;\n }\n } else if (pieceIndex != 8) return;\n return address;\n};\n\nvar findLongestZeroSequence = function (ipv6) {\n var maxIndex = null;\n var maxLength = 1;\n var currStart = null;\n var currLength = 0;\n var index = 0;\n for (; index < 8; index++) {\n if (ipv6[index] !== 0) {\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n currStart = null;\n currLength = 0;\n } else {\n if (currStart === null) currStart = index;\n ++currLength;\n }\n }\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n return maxIndex;\n};\n\n// https://url.spec.whatwg.org/#host-serializing\nvar serializeHost = function (host) {\n var result, index, compress, ignore0;\n // ipv4\n if (typeof host == 'number') {\n result = [];\n for (index = 0; index < 4; index++) {\n unshift(result, host % 256);\n host = floor(host / 256);\n } return join(result, '.');\n // ipv6\n } else if (typeof host == 'object') {\n result = '';\n compress = findLongestZeroSequence(host);\n for (index = 0; index < 8; index++) {\n if (ignore0 && host[index] === 0) continue;\n if (ignore0) ignore0 = false;\n if (compress === index) {\n result += index ? ':' : '::';\n ignore0 = true;\n } else {\n result += numberToString(host[index], 16);\n if (index < 7) result += ':';\n }\n }\n return '[' + result + ']';\n } return host;\n};\n\nvar C0ControlPercentEncodeSet = {};\nvar fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {\n ' ': 1, '\"': 1, '<': 1, '>': 1, '`': 1\n});\nvar pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {\n '#': 1, '?': 1, '{': 1, '}': 1\n});\nvar userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {\n '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\\\': 1, ']': 1, '^': 1, '|': 1\n});\n\nvar percentEncode = function (chr, set) {\n var code = codeAt(chr, 0);\n return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);\n};\n\n// https://url.spec.whatwg.org/#special-scheme\nvar specialSchemes = {\n ftp: 21,\n file: null,\n http: 80,\n https: 443,\n ws: 80,\n wss: 443\n};\n\n// https://url.spec.whatwg.org/#windows-drive-letter\nvar isWindowsDriveLetter = function (string, normalized) {\n var second;\n return string.length == 2 && exec(ALPHA, charAt(string, 0))\n && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|'));\n};\n\n// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter\nvar startsWithWindowsDriveLetter = function (string) {\n var third;\n return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (\n string.length == 2 ||\n ((third = charAt(string, 2)) === '/' || third === '\\\\' || third === '?' || third === '#')\n );\n};\n\n// https://url.spec.whatwg.org/#single-dot-path-segment\nvar isSingleDot = function (segment) {\n return segment === '.' || toLowerCase(segment) === '%2e';\n};\n\n// https://url.spec.whatwg.org/#double-dot-path-segment\nvar isDoubleDot = function (segment) {\n segment = toLowerCase(segment);\n return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';\n};\n\n// States:\nvar SCHEME_START = {};\nvar SCHEME = {};\nvar NO_SCHEME = {};\nvar SPECIAL_RELATIVE_OR_AUTHORITY = {};\nvar PATH_OR_AUTHORITY = {};\nvar RELATIVE = {};\nvar RELATIVE_SLASH = {};\nvar SPECIAL_AUTHORITY_SLASHES = {};\nvar SPECIAL_AUTHORITY_IGNORE_SLASHES = {};\nvar AUTHORITY = {};\nvar HOST = {};\nvar HOSTNAME = {};\nvar PORT = {};\nvar FILE = {};\nvar FILE_SLASH = {};\nvar FILE_HOST = {};\nvar PATH_START = {};\nvar PATH = {};\nvar CANNOT_BE_A_BASE_URL_PATH = {};\nvar QUERY = {};\nvar FRAGMENT = {};\n\nvar URLState = function (url, isBase, base) {\n var urlString = $toString(url);\n var baseState, failure, searchParams;\n if (isBase) {\n failure = this.parse(urlString);\n if (failure) throw TypeError(failure);\n this.searchParams = null;\n } else {\n if (base !== undefined) baseState = new URLState(base, true);\n failure = this.parse(urlString, null, baseState);\n if (failure) throw TypeError(failure);\n searchParams = getInternalSearchParamsState(new URLSearchParams());\n searchParams.bindURL(this);\n this.searchParams = searchParams;\n }\n};\n\nURLState.prototype = {\n type: 'URL',\n // https://url.spec.whatwg.org/#url-parsing\n // eslint-disable-next-line max-statements -- TODO\n parse: function (input, stateOverride, base) {\n var url = this;\n var state = stateOverride || SCHEME_START;\n var pointer = 0;\n var buffer = '';\n var seenAt = false;\n var seenBracket = false;\n var seenPasswordToken = false;\n var codePoints, chr, bufferCodePoints, failure;\n\n input = $toString(input);\n\n if (!stateOverride) {\n url.scheme = '';\n url.username = '';\n url.password = '';\n url.host = null;\n url.port = null;\n url.path = [];\n url.query = null;\n url.fragment = null;\n url.cannotBeABaseURL = false;\n input = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');\n }\n\n input = replace(input, TAB_AND_NEW_LINE, '');\n\n codePoints = arrayFrom(input);\n\n while (pointer <= codePoints.length) {\n chr = codePoints[pointer];\n switch (state) {\n case SCHEME_START:\n if (chr && exec(ALPHA, chr)) {\n buffer += toLowerCase(chr);\n state = SCHEME;\n } else if (!stateOverride) {\n state = NO_SCHEME;\n continue;\n } else return INVALID_SCHEME;\n break;\n\n case SCHEME:\n if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) {\n buffer += toLowerCase(chr);\n } else if (chr == ':') {\n if (stateOverride && (\n (url.isSpecial() != hasOwn(specialSchemes, buffer)) ||\n (buffer == 'file' && (url.includesCredentials() || url.port !== null)) ||\n (url.scheme == 'file' && !url.host)\n )) return;\n url.scheme = buffer;\n if (stateOverride) {\n if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null;\n return;\n }\n buffer = '';\n if (url.scheme == 'file') {\n state = FILE;\n } else if (url.isSpecial() && base && base.scheme == url.scheme) {\n state = SPECIAL_RELATIVE_OR_AUTHORITY;\n } else if (url.isSpecial()) {\n state = SPECIAL_AUTHORITY_SLASHES;\n } else if (codePoints[pointer + 1] == '/') {\n state = PATH_OR_AUTHORITY;\n pointer++;\n } else {\n url.cannotBeABaseURL = true;\n push(url.path, '');\n state = CANNOT_BE_A_BASE_URL_PATH;\n }\n } else if (!stateOverride) {\n buffer = '';\n state = NO_SCHEME;\n pointer = 0;\n continue;\n } else return INVALID_SCHEME;\n break;\n\n case NO_SCHEME:\n if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME;\n if (base.cannotBeABaseURL && chr == '#') {\n url.scheme = base.scheme;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n url.cannotBeABaseURL = true;\n state = FRAGMENT;\n break;\n }\n state = base.scheme == 'file' ? FILE : RELATIVE;\n continue;\n\n case SPECIAL_RELATIVE_OR_AUTHORITY:\n if (chr == '/' && codePoints[pointer + 1] == '/') {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n pointer++;\n } else {\n state = RELATIVE;\n continue;\n } break;\n\n case PATH_OR_AUTHORITY:\n if (chr == '/') {\n state = AUTHORITY;\n break;\n } else {\n state = PATH;\n continue;\n }\n\n case RELATIVE:\n url.scheme = base.scheme;\n if (chr == EOF) {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr == '/' || (chr == '\\\\' && url.isSpecial())) {\n state = RELATIVE_SLASH;\n } else if (chr == '?') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.path.length--;\n state = PATH;\n continue;\n } break;\n\n case RELATIVE_SLASH:\n if (url.isSpecial() && (chr == '/' || chr == '\\\\')) {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n } else if (chr == '/') {\n state = AUTHORITY;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n state = PATH;\n continue;\n } break;\n\n case SPECIAL_AUTHORITY_SLASHES:\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n if (chr != '/' || charAt(buffer, pointer + 1) != '/') continue;\n pointer++;\n break;\n\n case SPECIAL_AUTHORITY_IGNORE_SLASHES:\n if (chr != '/' && chr != '\\\\') {\n state = AUTHORITY;\n continue;\n } break;\n\n case AUTHORITY:\n if (chr == '@') {\n if (seenAt) buffer = '%40' + buffer;\n seenAt = true;\n bufferCodePoints = arrayFrom(buffer);\n for (var i = 0; i < bufferCodePoints.length; i++) {\n var codePoint = bufferCodePoints[i];\n if (codePoint == ':' && !seenPasswordToken) {\n seenPasswordToken = true;\n continue;\n }\n var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);\n if (seenPasswordToken) url.password += encodedCodePoints;\n else url.username += encodedCodePoints;\n }\n buffer = '';\n } else if (\n chr == EOF || chr == '/' || chr == '?' || chr == '#' ||\n (chr == '\\\\' && url.isSpecial())\n ) {\n if (seenAt && buffer == '') return INVALID_AUTHORITY;\n pointer -= arrayFrom(buffer).length + 1;\n buffer = '';\n state = HOST;\n } else buffer += chr;\n break;\n\n case HOST:\n case HOSTNAME:\n if (stateOverride && url.scheme == 'file') {\n state = FILE_HOST;\n continue;\n } else if (chr == ':' && !seenBracket) {\n if (buffer == '') return INVALID_HOST;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PORT;\n if (stateOverride == HOSTNAME) return;\n } else if (\n chr == EOF || chr == '/' || chr == '?' || chr == '#' ||\n (chr == '\\\\' && url.isSpecial())\n ) {\n if (url.isSpecial() && buffer == '') return INVALID_HOST;\n if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PATH_START;\n if (stateOverride) return;\n continue;\n } else {\n if (chr == '[') seenBracket = true;\n else if (chr == ']') seenBracket = false;\n buffer += chr;\n } break;\n\n case PORT:\n if (exec(DIGIT, chr)) {\n buffer += chr;\n } else if (\n chr == EOF || chr == '/' || chr == '?' || chr == '#' ||\n (chr == '\\\\' && url.isSpecial()) ||\n stateOverride\n ) {\n if (buffer != '') {\n var port = parseInt(buffer, 10);\n if (port > 0xFFFF) return INVALID_PORT;\n url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;\n buffer = '';\n }\n if (stateOverride) return;\n state = PATH_START;\n continue;\n } else return INVALID_PORT;\n break;\n\n case FILE:\n url.scheme = 'file';\n if (chr == '/' || chr == '\\\\') state = FILE_SLASH;\n else if (base && base.scheme == 'file') {\n if (chr == EOF) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr == '?') {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.shortenPath();\n }\n state = PATH;\n continue;\n }\n } else {\n state = PATH;\n continue;\n } break;\n\n case FILE_SLASH:\n if (chr == '/' || chr == '\\\\') {\n state = FILE_HOST;\n break;\n }\n if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);\n else url.host = base.host;\n }\n state = PATH;\n continue;\n\n case FILE_HOST:\n if (chr == EOF || chr == '/' || chr == '\\\\' || chr == '?' || chr == '#') {\n if (!stateOverride && isWindowsDriveLetter(buffer)) {\n state = PATH;\n } else if (buffer == '') {\n url.host = '';\n if (stateOverride) return;\n state = PATH_START;\n } else {\n failure = url.parseHost(buffer);\n if (failure) return failure;\n if (url.host == 'localhost') url.host = '';\n if (stateOverride) return;\n buffer = '';\n state = PATH_START;\n } continue;\n } else buffer += chr;\n break;\n\n case PATH_START:\n if (url.isSpecial()) {\n state = PATH;\n if (chr != '/' && chr != '\\\\') continue;\n } else if (!stateOverride && chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (!stateOverride && chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n state = PATH;\n if (chr != '/') continue;\n } break;\n\n case PATH:\n if (\n chr == EOF || chr == '/' ||\n (chr == '\\\\' && url.isSpecial()) ||\n (!stateOverride && (chr == '?' || chr == '#'))\n ) {\n if (isDoubleDot(buffer)) {\n url.shortenPath();\n if (chr != '/' && !(chr == '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else if (isSingleDot(buffer)) {\n if (chr != '/' && !(chr == '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else {\n if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {\n if (url.host) url.host = '';\n buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter\n }\n push(url.path, buffer);\n }\n buffer = '';\n if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) {\n while (url.path.length > 1 && url.path[0] === '') {\n shift(url.path);\n }\n }\n if (chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n }\n } else {\n buffer += percentEncode(chr, pathPercentEncodeSet);\n } break;\n\n case CANNOT_BE_A_BASE_URL_PATH:\n if (chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);\n } break;\n\n case QUERY:\n if (!stateOverride && chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n if (chr == \"'\" && url.isSpecial()) url.query += '%27';\n else if (chr == '#') url.query += '%23';\n else url.query += percentEncode(chr, C0ControlPercentEncodeSet);\n } break;\n\n case FRAGMENT:\n if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);\n break;\n }\n\n pointer++;\n }\n },\n // https://url.spec.whatwg.org/#host-parsing\n parseHost: function (input) {\n var result, codePoints, index;\n if (charAt(input, 0) == '[') {\n if (charAt(input, input.length - 1) != ']') return INVALID_HOST;\n result = parseIPv6(stringSlice(input, 1, -1));\n if (!result) return INVALID_HOST;\n this.host = result;\n // opaque host\n } else if (!this.isSpecial()) {\n if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;\n result = '';\n codePoints = arrayFrom(input);\n for (index = 0; index < codePoints.length; index++) {\n result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);\n }\n this.host = result;\n } else {\n input = toASCII(input);\n if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;\n result = parseIPv4(input);\n if (result === null) return INVALID_HOST;\n this.host = result;\n }\n },\n // https://url.spec.whatwg.org/#cannot-have-a-username-password-port\n cannotHaveUsernamePasswordPort: function () {\n return !this.host || this.cannotBeABaseURL || this.scheme == 'file';\n },\n // https://url.spec.whatwg.org/#include-credentials\n includesCredentials: function () {\n return this.username != '' || this.password != '';\n },\n // https://url.spec.whatwg.org/#is-special\n isSpecial: function () {\n return hasOwn(specialSchemes, this.scheme);\n },\n // https://url.spec.whatwg.org/#shorten-a-urls-path\n shortenPath: function () {\n var path = this.path;\n var pathSize = path.length;\n if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {\n path.length--;\n }\n },\n // https://url.spec.whatwg.org/#concept-url-serializer\n serialize: function () {\n var url = this;\n var scheme = url.scheme;\n var username = url.username;\n var password = url.password;\n var host = url.host;\n var port = url.port;\n var path = url.path;\n var query = url.query;\n var fragment = url.fragment;\n var output = scheme + ':';\n if (host !== null) {\n output += '//';\n if (url.includesCredentials()) {\n output += username + (password ? ':' + password : '') + '@';\n }\n output += serializeHost(host);\n if (port !== null) output += ':' + port;\n } else if (scheme == 'file') output += '//';\n output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n if (query !== null) output += '?' + query;\n if (fragment !== null) output += '#' + fragment;\n return output;\n },\n // https://url.spec.whatwg.org/#dom-url-href\n setHref: function (href) {\n var failure = this.parse(href);\n if (failure) throw TypeError(failure);\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-origin\n getOrigin: function () {\n var scheme = this.scheme;\n var port = this.port;\n if (scheme == 'blob') try {\n return new URLConstructor(scheme.path[0]).origin;\n } catch (error) {\n return 'null';\n }\n if (scheme == 'file' || !this.isSpecial()) return 'null';\n return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');\n },\n // https://url.spec.whatwg.org/#dom-url-protocol\n getProtocol: function () {\n return this.scheme + ':';\n },\n setProtocol: function (protocol) {\n this.parse($toString(protocol) + ':', SCHEME_START);\n },\n // https://url.spec.whatwg.org/#dom-url-username\n getUsername: function () {\n return this.username;\n },\n setUsername: function (username) {\n var codePoints = arrayFrom($toString(username));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.username = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-password\n getPassword: function () {\n return this.password;\n },\n setPassword: function (password) {\n var codePoints = arrayFrom($toString(password));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.password = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-host\n getHost: function () {\n var host = this.host;\n var port = this.port;\n return host === null ? ''\n : port === null ? serializeHost(host)\n : serializeHost(host) + ':' + port;\n },\n setHost: function (host) {\n if (this.cannotBeABaseURL) return;\n this.parse(host, HOST);\n },\n // https://url.spec.whatwg.org/#dom-url-hostname\n getHostname: function () {\n var host = this.host;\n return host === null ? '' : serializeHost(host);\n },\n setHostname: function (hostname) {\n if (this.cannotBeABaseURL) return;\n this.parse(hostname, HOSTNAME);\n },\n // https://url.spec.whatwg.org/#dom-url-port\n getPort: function () {\n var port = this.port;\n return port === null ? '' : $toString(port);\n },\n setPort: function (port) {\n if (this.cannotHaveUsernamePasswordPort()) return;\n port = $toString(port);\n if (port == '') this.port = null;\n else this.parse(port, PORT);\n },\n // https://url.spec.whatwg.org/#dom-url-pathname\n getPathname: function () {\n var path = this.path;\n return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n },\n setPathname: function (pathname) {\n if (this.cannotBeABaseURL) return;\n this.path = [];\n this.parse(pathname, PATH_START);\n },\n // https://url.spec.whatwg.org/#dom-url-search\n getSearch: function () {\n var query = this.query;\n return query ? '?' + query : '';\n },\n setSearch: function (search) {\n search = $toString(search);\n if (search == '') {\n this.query = null;\n } else {\n if ('?' == charAt(search, 0)) search = stringSlice(search, 1);\n this.query = '';\n this.parse(search, QUERY);\n }\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-searchparams\n getSearchParams: function () {\n return this.searchParams.facade;\n },\n // https://url.spec.whatwg.org/#dom-url-hash\n getHash: function () {\n var fragment = this.fragment;\n return fragment ? '#' + fragment : '';\n },\n setHash: function (hash) {\n hash = $toString(hash);\n if (hash == '') {\n this.fragment = null;\n return;\n }\n if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1);\n this.fragment = '';\n this.parse(hash, FRAGMENT);\n },\n update: function () {\n this.query = this.searchParams.serialize() || null;\n }\n};\n\n// `URL` constructor\n// https://url.spec.whatwg.org/#url-class\nvar URLConstructor = function URL(url /* , base */) {\n var that = anInstance(this, URLPrototype);\n var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;\n var state = setInternalState(that, new URLState(url, false, base));\n if (!DESCRIPTORS) {\n that.href = state.serialize();\n that.origin = state.getOrigin();\n that.protocol = state.getProtocol();\n that.username = state.getUsername();\n that.password = state.getPassword();\n that.host = state.getHost();\n that.hostname = state.getHostname();\n that.port = state.getPort();\n that.pathname = state.getPathname();\n that.search = state.getSearch();\n that.searchParams = state.getSearchParams();\n that.hash = state.getHash();\n }\n};\n\nvar URLPrototype = URLConstructor.prototype;\n\nvar accessorDescriptor = function (getter, setter) {\n return {\n get: function () {\n return getInternalURLState(this)[getter]();\n },\n set: setter && function (value) {\n return getInternalURLState(this)[setter](value);\n },\n configurable: true,\n enumerable: true\n };\n};\n\nif (DESCRIPTORS) {\n defineProperties(URLPrototype, {\n // `URL.prototype.href` accessors pair\n // https://url.spec.whatwg.org/#dom-url-href\n href: accessorDescriptor('serialize', 'setHref'),\n // `URL.prototype.origin` getter\n // https://url.spec.whatwg.org/#dom-url-origin\n origin: accessorDescriptor('getOrigin'),\n // `URL.prototype.protocol` accessors pair\n // https://url.spec.whatwg.org/#dom-url-protocol\n protocol: accessorDescriptor('getProtocol', 'setProtocol'),\n // `URL.prototype.username` accessors pair\n // https://url.spec.whatwg.org/#dom-url-username\n username: accessorDescriptor('getUsername', 'setUsername'),\n // `URL.prototype.password` accessors pair\n // https://url.spec.whatwg.org/#dom-url-password\n password: accessorDescriptor('getPassword', 'setPassword'),\n // `URL.prototype.host` accessors pair\n // https://url.spec.whatwg.org/#dom-url-host\n host: accessorDescriptor('getHost', 'setHost'),\n // `URL.prototype.hostname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hostname\n hostname: accessorDescriptor('getHostname', 'setHostname'),\n // `URL.prototype.port` accessors pair\n // https://url.spec.whatwg.org/#dom-url-port\n port: accessorDescriptor('getPort', 'setPort'),\n // `URL.prototype.pathname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-pathname\n pathname: accessorDescriptor('getPathname', 'setPathname'),\n // `URL.prototype.search` accessors pair\n // https://url.spec.whatwg.org/#dom-url-search\n search: accessorDescriptor('getSearch', 'setSearch'),\n // `URL.prototype.searchParams` getter\n // https://url.spec.whatwg.org/#dom-url-searchparams\n searchParams: accessorDescriptor('getSearchParams'),\n // `URL.prototype.hash` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hash\n hash: accessorDescriptor('getHash', 'setHash')\n });\n}\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\nredefine(URLPrototype, 'toJSON', function toJSON() {\n return getInternalURLState(this).serialize();\n}, { enumerable: true });\n\n// `URL.prototype.toString` method\n// https://url.spec.whatwg.org/#URL-stringification-behavior\nredefine(URLPrototype, 'toString', function toString() {\n return getInternalURLState(this).serialize();\n}, { enumerable: true });\n\nif (NativeURL) {\n var nativeCreateObjectURL = NativeURL.createObjectURL;\n var nativeRevokeObjectURL = NativeURL.revokeObjectURL;\n // `URL.createObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL\n if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));\n // `URL.revokeObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL\n if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));\n}\n\nsetToStringTag(URLConstructor, 'URL');\n\n$({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {\n URL: URLConstructor\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\n$({ target: 'URL', proto: true, enumerable: true }, {\n toJSON: function toJSON() {\n return call(URL.prototype.toString, this);\n }\n});\n","require('../modules/es.symbol');\nrequire('../modules/es.symbol.description');\nrequire('../modules/es.symbol.async-iterator');\nrequire('../modules/es.symbol.has-instance');\nrequire('../modules/es.symbol.is-concat-spreadable');\nrequire('../modules/es.symbol.iterator');\nrequire('../modules/es.symbol.match');\nrequire('../modules/es.symbol.match-all');\nrequire('../modules/es.symbol.replace');\nrequire('../modules/es.symbol.search');\nrequire('../modules/es.symbol.species');\nrequire('../modules/es.symbol.split');\nrequire('../modules/es.symbol.to-primitive');\nrequire('../modules/es.symbol.to-string-tag');\nrequire('../modules/es.symbol.unscopables');\nrequire('../modules/es.error.cause');\nrequire('../modules/es.error.to-string');\nrequire('../modules/es.aggregate-error');\nrequire('../modules/es.aggregate-error.cause');\nrequire('../modules/es.array.at');\nrequire('../modules/es.array.concat');\nrequire('../modules/es.array.copy-within');\nrequire('../modules/es.array.every');\nrequire('../modules/es.array.fill');\nrequire('../modules/es.array.filter');\nrequire('../modules/es.array.find');\nrequire('../modules/es.array.find-index');\nrequire('../modules/es.array.flat');\nrequire('../modules/es.array.flat-map');\nrequire('../modules/es.array.for-each');\nrequire('../modules/es.array.from');\nrequire('../modules/es.array.includes');\nrequire('../modules/es.array.index-of');\nrequire('../modules/es.array.is-array');\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.array.join');\nrequire('../modules/es.array.last-index-of');\nrequire('../modules/es.array.map');\nrequire('../modules/es.array.of');\nrequire('../modules/es.array.reduce');\nrequire('../modules/es.array.reduce-right');\nrequire('../modules/es.array.reverse');\nrequire('../modules/es.array.slice');\nrequire('../modules/es.array.some');\nrequire('../modules/es.array.sort');\nrequire('../modules/es.array.species');\nrequire('../modules/es.array.splice');\nrequire('../modules/es.array.unscopables.flat');\nrequire('../modules/es.array.unscopables.flat-map');\nrequire('../modules/es.array-buffer.constructor');\nrequire('../modules/es.array-buffer.is-view');\nrequire('../modules/es.array-buffer.slice');\nrequire('../modules/es.data-view');\nrequire('../modules/es.date.get-year');\nrequire('../modules/es.date.now');\nrequire('../modules/es.date.set-year');\nrequire('../modules/es.date.to-gmt-string');\nrequire('../modules/es.date.to-iso-string');\nrequire('../modules/es.date.to-json');\nrequire('../modules/es.date.to-primitive');\nrequire('../modules/es.date.to-string');\nrequire('../modules/es.escape');\nrequire('../modules/es.function.bind');\nrequire('../modules/es.function.has-instance');\nrequire('../modules/es.function.name');\nrequire('../modules/es.global-this');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.json.to-string-tag');\nrequire('../modules/es.map');\nrequire('../modules/es.math.acosh');\nrequire('../modules/es.math.asinh');\nrequire('../modules/es.math.atanh');\nrequire('../modules/es.math.cbrt');\nrequire('../modules/es.math.clz32');\nrequire('../modules/es.math.cosh');\nrequire('../modules/es.math.expm1');\nrequire('../modules/es.math.fround');\nrequire('../modules/es.math.hypot');\nrequire('../modules/es.math.imul');\nrequire('../modules/es.math.log10');\nrequire('../modules/es.math.log1p');\nrequire('../modules/es.math.log2');\nrequire('../modules/es.math.sign');\nrequire('../modules/es.math.sinh');\nrequire('../modules/es.math.tanh');\nrequire('../modules/es.math.to-string-tag');\nrequire('../modules/es.math.trunc');\nrequire('../modules/es.number.constructor');\nrequire('../modules/es.number.epsilon');\nrequire('../modules/es.number.is-finite');\nrequire('../modules/es.number.is-integer');\nrequire('../modules/es.number.is-nan');\nrequire('../modules/es.number.is-safe-integer');\nrequire('../modules/es.number.max-safe-integer');\nrequire('../modules/es.number.min-safe-integer');\nrequire('../modules/es.number.parse-float');\nrequire('../modules/es.number.parse-int');\nrequire('../modules/es.number.to-exponential');\nrequire('../modules/es.number.to-fixed');\nrequire('../modules/es.number.to-precision');\nrequire('../modules/es.object.assign');\nrequire('../modules/es.object.create');\nrequire('../modules/es.object.define-getter');\nrequire('../modules/es.object.define-properties');\nrequire('../modules/es.object.define-property');\nrequire('../modules/es.object.define-setter');\nrequire('../modules/es.object.entries');\nrequire('../modules/es.object.freeze');\nrequire('../modules/es.object.from-entries');\nrequire('../modules/es.object.get-own-property-descriptor');\nrequire('../modules/es.object.get-own-property-descriptors');\nrequire('../modules/es.object.get-own-property-names');\nrequire('../modules/es.object.get-prototype-of');\nrequire('../modules/es.object.has-own');\nrequire('../modules/es.object.is');\nrequire('../modules/es.object.is-extensible');\nrequire('../modules/es.object.is-frozen');\nrequire('../modules/es.object.is-sealed');\nrequire('../modules/es.object.keys');\nrequire('../modules/es.object.lookup-getter');\nrequire('../modules/es.object.lookup-setter');\nrequire('../modules/es.object.prevent-extensions');\nrequire('../modules/es.object.seal');\nrequire('../modules/es.object.set-prototype-of');\nrequire('../modules/es.object.to-string');\nrequire('../modules/es.object.values');\nrequire('../modules/es.parse-float');\nrequire('../modules/es.parse-int');\nrequire('../modules/es.promise');\nrequire('../modules/es.promise.all-settled');\nrequire('../modules/es.promise.any');\nrequire('../modules/es.promise.finally');\nrequire('../modules/es.reflect.apply');\nrequire('../modules/es.reflect.construct');\nrequire('../modules/es.reflect.define-property');\nrequire('../modules/es.reflect.delete-property');\nrequire('../modules/es.reflect.get');\nrequire('../modules/es.reflect.get-own-property-descriptor');\nrequire('../modules/es.reflect.get-prototype-of');\nrequire('../modules/es.reflect.has');\nrequire('../modules/es.reflect.is-extensible');\nrequire('../modules/es.reflect.own-keys');\nrequire('../modules/es.reflect.prevent-extensions');\nrequire('../modules/es.reflect.set');\nrequire('../modules/es.reflect.set-prototype-of');\nrequire('../modules/es.reflect.to-string-tag');\nrequire('../modules/es.regexp.constructor');\nrequire('../modules/es.regexp.dot-all');\nrequire('../modules/es.regexp.exec');\nrequire('../modules/es.regexp.flags');\nrequire('../modules/es.regexp.sticky');\nrequire('../modules/es.regexp.test');\nrequire('../modules/es.regexp.to-string');\nrequire('../modules/es.set');\nrequire('../modules/es.string.at-alternative');\nrequire('../modules/es.string.code-point-at');\nrequire('../modules/es.string.ends-with');\nrequire('../modules/es.string.from-code-point');\nrequire('../modules/es.string.includes');\nrequire('../modules/es.string.iterator');\nrequire('../modules/es.string.match');\nrequire('../modules/es.string.match-all');\nrequire('../modules/es.string.pad-end');\nrequire('../modules/es.string.pad-start');\nrequire('../modules/es.string.raw');\nrequire('../modules/es.string.repeat');\nrequire('../modules/es.string.replace');\nrequire('../modules/es.string.replace-all');\nrequire('../modules/es.string.search');\nrequire('../modules/es.string.split');\nrequire('../modules/es.string.starts-with');\nrequire('../modules/es.string.substr');\nrequire('../modules/es.string.trim');\nrequire('../modules/es.string.trim-end');\nrequire('../modules/es.string.trim-start');\nrequire('../modules/es.string.anchor');\nrequire('../modules/es.string.big');\nrequire('../modules/es.string.blink');\nrequire('../modules/es.string.bold');\nrequire('../modules/es.string.fixed');\nrequire('../modules/es.string.fontcolor');\nrequire('../modules/es.string.fontsize');\nrequire('../modules/es.string.italics');\nrequire('../modules/es.string.link');\nrequire('../modules/es.string.small');\nrequire('../modules/es.string.strike');\nrequire('../modules/es.string.sub');\nrequire('../modules/es.string.sup');\nrequire('../modules/es.typed-array.float32-array');\nrequire('../modules/es.typed-array.float64-array');\nrequire('../modules/es.typed-array.int8-array');\nrequire('../modules/es.typed-array.int16-array');\nrequire('../modules/es.typed-array.int32-array');\nrequire('../modules/es.typed-array.uint8-array');\nrequire('../modules/es.typed-array.uint8-clamped-array');\nrequire('../modules/es.typed-array.uint16-array');\nrequire('../modules/es.typed-array.uint32-array');\nrequire('../modules/es.typed-array.at');\nrequire('../modules/es.typed-array.copy-within');\nrequire('../modules/es.typed-array.every');\nrequire('../modules/es.typed-array.fill');\nrequire('../modules/es.typed-array.filter');\nrequire('../modules/es.typed-array.find');\nrequire('../modules/es.typed-array.find-index');\nrequire('../modules/es.typed-array.for-each');\nrequire('../modules/es.typed-array.from');\nrequire('../modules/es.typed-array.includes');\nrequire('../modules/es.typed-array.index-of');\nrequire('../modules/es.typed-array.iterator');\nrequire('../modules/es.typed-array.join');\nrequire('../modules/es.typed-array.last-index-of');\nrequire('../modules/es.typed-array.map');\nrequire('../modules/es.typed-array.of');\nrequire('../modules/es.typed-array.reduce');\nrequire('../modules/es.typed-array.reduce-right');\nrequire('../modules/es.typed-array.reverse');\nrequire('../modules/es.typed-array.set');\nrequire('../modules/es.typed-array.slice');\nrequire('../modules/es.typed-array.some');\nrequire('../modules/es.typed-array.sort');\nrequire('../modules/es.typed-array.subarray');\nrequire('../modules/es.typed-array.to-locale-string');\nrequire('../modules/es.typed-array.to-string');\nrequire('../modules/es.unescape');\nrequire('../modules/es.weak-map');\nrequire('../modules/es.weak-set');\nrequire('../modules/web.atob');\nrequire('../modules/web.btoa');\nrequire('../modules/web.dom-collections.for-each');\nrequire('../modules/web.dom-collections.iterator');\nrequire('../modules/web.dom-exception.constructor');\nrequire('../modules/web.dom-exception.stack');\nrequire('../modules/web.dom-exception.to-string-tag');\nrequire('../modules/web.immediate');\nrequire('../modules/web.queue-microtask');\nrequire('../modules/web.structured-clone');\nrequire('../modules/web.timers');\nrequire('../modules/web.url');\nrequire('../modules/web.url.to-json');\nrequire('../modules/web.url-search-params');\n\nmodule.exports = require('../internals/path');\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"../assets/images/ic-player-frame-jump.ttf?rxg7gj\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(\"../assets/fonts/fontello.ttf?13010392\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_2___ = new URL(\"../assets/fonts/seek-icons.ttf?13010392\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\nvar ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@charset \\\"UTF-8\\\";@keyframes op-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@-webkit-keyframes op-slideOutDown{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}to{visibility:hidden;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}}@keyframes op-slideOutDown{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}to{visibility:hidden;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}}@-webkit-keyframes op-slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);opacity:1}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes op-slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);opacity:1}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@font-face{font-family:\\\"frameIcon\\\";src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \") format('truetype');font-weight:normal;font-style:normal}@font-face{font-family:'op-icons';src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \") format('truetype');font-weight:normal;font-style:normal}@font-face{font-family:'op-seek-icons';src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \") format('truetype');font-weight:normal;font-style:normal}:root{--op-accent-color:#50e3c2}.op-wrapper.ovenplayer{position:relative;max-height:100%;overflow:hidden;zoom:1 !important;width:100%;display:block;font-family:Helvetica,Arial,sans-serif;background-color:#000;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:14px;font-weight:100;outline:0;-webkit-touch-callout:none;user-select:none}.op-wrapper.ovenplayer *{box-sizing:inherit}.op-wrapper.ovenplayer object{width:100%;height:100%;position:absolute}.op-wrapper.ovenplayer:before,.op-wrapper.ovenplayer:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-wrapper.ovenplayer *,.op-wrapper.ovenplayer *:before,.op-wrapper.ovenplayer *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-wrapper.ovenplayer.op-fullscreen{width:100% !important;height:100% !important;top:0;right:0;bottom:0;left:0;z-index:9999;margin:0;position:fixed}.op-wrapper.ovenplayer.op-fullscreen .op-watermark-container,.op-wrapper.ovenplayer.op-fullscreen .op-thumbnail-container{width:100vw;max-width:calc(100vh * 16 / 9);height:calc(100vw * 9 / 16);max-height:100vh;top:50%;left:50%;transform:translate(-50%, -50%)}.op-wrapper.ovenplayer.op-autohide{cursor:none}.op-wrapper.ovenplayer.op-autohide .op-bottom-panel{-webkit-animation-name:op-slideOutDown;animation-name:op-slideOutDown;-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.op-wrapper.ovenplayer.op-autohide .op-progressbar-container,.op-wrapper.ovenplayer.op-autohide .op-controls .op-button{cursor:none}.op-wrapper.ovenplayer.op-autohide .op-caption-text-container{bottom:25px}.op-wrapper.ovenplayer.op-no-controls .op-controls-container{display:none !important}.op-wrapper.ovenplayer .op-ratio{padding-bottom:56.25%}.op-wrapper.ovenplayer ::-webkit-scrollbar{width:5px;height:8px}.op-wrapper.ovenplayer ::-webkit-scrollbar-button:start:decrement,.op-wrapper.ovenplayer ::-webkit-scrollbar-button:end:increment{display:block;height:3px;background:#2f2f3e}.op-wrapper.ovenplayer ::-webkit-scrollbar-track{background:#2f2f3e;-webkit-border-radius:10px;border-radius:10px}.op-wrapper.ovenplayer ::-webkit-scrollbar-thumb{height:50px;width:50px;background:#606071;-webkit-border-radius:8px;border-radius:8px}.op-wrapper.ovenplayer .op-clear{color:inherit;background-color:transparent;padding:0;margin:0;float:none;font-family:Helvetica,Arial,sans-serif;font-size:1em;line-height:1em;list-style:none;text-transform:none;vertical-align:baseline;border:0;font-variant:inherit;font-stretch:inherit;-webkit-tap-highlight-color:rgba(255,255,255,0)}.op-player{position:absolute;top:0;height:100%;width:100%}.op-player .op-core-ui-wrapper{position:relative;height:100%}.op-player .op-media-element-container{position:absolute;left:0px;top:0px;width:100%;height:100%}.op-player .op-media-element-container video{position:absolute;left:0;top:0;width:100%;height:100%}.op-player .op-media-element-container object{width:100%;height:100%}.op-ads{position:absolute;height:100%;width:100%;padding-bottom:34px;top:0}.op-ads>div{position:absolute !important;width:100% !important;height:100% !important}.op-ads>div iframe{pointer-events:auto}.op-ads video.op-ads-vast-video{background-color:#000;position:absolute;width:100%;height:100%;left:0;top:0;z-index:1}.op-ads .op-ads-button{bottom:36px;cursor:default;margin-right:4px;pointer-events:auto;position:absolute;right:0;z-index:1;width:auto !important;height:auto !important;border-radius:4px;background-color:rgba(18,18,28,0.7);min-width:155px;display:none}.op-ads .op-ads-button .op-ads-textview{color:#e6e6e6;font-weight:normal;font-size:11px;padding:6px 12px;text-align:center;display:inline-block;width:100%;vertical-align:middle}.op-ads .op-ads-button .videoAdUiAction{padding:8px 24px;cursor:pointer;direction:ltr;font-weight:normal;font-size:20px;border:1px solid rgba(255,255,255,0.5)}.op-ads .op-ads-button .videoAdUiAction:hover{border-radius:4px;border:1px solid #fff}.op-ads .op-ads-button .videoAdUiAction i{display:inline-block;width:auto}.op-button{display:inline-block;border:none;background:transparent;padding:0;color:inherit;text-align:inherit;overflow:hidden;font-weight:100;text-indent:0 !important}.op-button:focus,.op-button{outline:0}i.op-con{font-family:\\\"op-icons\\\",\\\"op-seek-icons\\\";font-style:normal;font-weight:normal;speak:none;font-size:inherit;width:auto;font-size:30px;line-height:30px;display:block;text-decoration:inherit;text-align:center;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer}i.op-con.disable{color:#4f4f4f}i.op-con.op-close-icon::before{content:\\\"\\\\e900\\\"}i.op-con.op-pause-big::before{content:\\\"\\\\e911\\\"}i.op-con.op-fullscreen-compress::before{content:\\\"\\\\e901\\\"}i.op-con.op-fullscreen-expand::before{content:\\\"\\\\e902\\\"}i.op-con.op-arrow-left::before{content:\\\"\\\\e903\\\"}i.op-con.op-arrow-right::before{content:\\\"\\\\e909\\\"}i.op-con.op-empty-video::before{content:\\\"\\\\e904\\\"}i.op-con.op-play::before{content:\\\"\\\\e906\\\"}i.op-con.op-replay::before{content:\\\"\\\\e908\\\"}i.op-con.op-seek-back::before{content:\\\"\\\\e920\\\"}i.op-con.op-seek-forward::before{content:\\\"\\\\e921\\\"}i.op-con.op-playlist-icon::before{content:\\\"\\\\e907\\\"}i.op-con.op-replay-big::before{content:\\\"\\\\e908\\\"}i.op-con.op-setting::before{content:\\\"\\\\e90A\\\"}i.op-con.op-pause::before{content:\\\"\\\\e90C\\\"}i.op-con.op-volume-small{display:none;margin-top:-1px}i.op-con.op-volume-small::before{content:\\\"\\\\e90D\\\"}i.op-con.op-volume-mute{display:none}i.op-con.op-volume-mute::before{content:\\\"\\\\e90E\\\"}i.op-con.op-volume-max::before{content:\\\"\\\\e90F\\\"}i.op-con.op-play-big::before{content:\\\"\\\\e910\\\"}i.op-con.op-warning::before{content:\\\"\\\\e912\\\"}.op-badge{display:inline-block;padding:.75em .714em .714em .68em;font-size:1em;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.286em;background-color:#12121c}.op-playlist{position:absolute;width:100%;height:100%;left:0;top:0;padding:2.857em;background:#000;z-index:6}.op-playlist .op-badge{position:absolute;top:.857em;right:.857em;opacity:.7}.op-playlist .btn-left{float:left;font-size:2.857em}.op-playlist .btn-right{float:right;font-size:2.857em}.op-playlist .op-playlist-header{font-size:2.857em;font-weight:bold}.op-playlist .op-playlist-header:after{display:block;content:'';clear:both}.op-playlist .op-playlist-header .op-con.op-close-icon{float:right}.op-playlist .op-playlist-body{height:100%;overflow:hidden;position:relative}.op-playlist .op-playlist-body .op-playlist-body-arrows{margin-top:-15px;position:absolute;top:50%;height:30px;-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%;left:0}.op-playlist .op-playlist-body .op-playlist-body-container{width:100%;height:100%;position:relative;margin-right:auto;margin-left:auto;max-width:992px}.op-playlist .op-playlist-body .op-playlist-body-container .op-playlist-body-center{margin:0;position:absolute;top:50%;padding-right:3em;padding-left:3em;-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%}.op-playlist .op-playlist-body .op-playlist-body-row{margin-right:-15px;margin-left:-15px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card{padding-right:15px;padding-left:15px;margin:15px 0;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%;cursor:pointer}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card.active{color:#50e3c2;color:var(--op-accent-color)}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card.active .op-playlist-card-thumbnail{border-color:#50e3c2;border-color:var(--op-accent-color)}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:.214em solid transparent;background-color:#000}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail img{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail.empty{background-color:#bababa}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail.empty>i{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:#fff !important;font-size:1.6em !important}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail::before{padding-top:56.25%;display:block;content:\\\"\\\"}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-title{margin-top:.857em;font-size:1.429em;padding:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.op-message-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:4}.op-message-box .op-message-container{position:absolute;top:45%;margin-top:-35px;width:100%;padding:0 12px;text-align:center}.op-message-box .op-message-container .op-message-text{display:inline-block;background-color:rgba(18,18,28,0.3);padding:.8em 1.2em;word-wrap:break-word;max-width:80%;border-radius:4px;cursor:pointer}.op-message-box .op-message-container .op-message-text .op-message-description{font-size:12px;margin-top:12px;color:#999}.op-message-box .op-message-container .op-message-icon{display:inline-block;margin-top:12px;width:100%}.op-message-box .op-message-container .op-message-icon i.op-con{cursor:pointer;font-size:80px;width:80px;height:80px;line-height:80px;display:inline-block;text-shadow:2px 2px 7px rgba(0,0,0,0.8),0 0 1px #000}.op-message-box.op-message-box-default-cursor .op-message-container .op-message-text{cursor:default}.op-message-box.op-message-box-default-cursor .op-message-container .op-message-icon i.op-con{cursor:default}.op-bigbutton-container{cursor:pointer;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center;z-index:5}.op-bigbutton-container .op-bigbutton{width:80px;height:80px;display:block;font-size:80px;line-height:80px;text-shadow:2px 2px 7px rgba(0,0,0,0.8),0 0 1px #000}.op-thumbnail-container{position:absolute;width:100%;height:100%;top:0;left:0;z-index:2;pointer-events:none}.op-thumbnail-container .op-thumbnail-wrapper{position:absolute;left:0;top:0;width:100%;height:100%}.op-thumbnail-container .op-thumbnail-wrapper img{width:100%;height:100%}.op-thumbnail-container .op-thumbnail-wrapper .op-thumbnail-header{position:absolute;left:1rem;top:1rem;padding:0 .5rem;font-size:2.857em;font-weight:bold;line-height:1.4;text-shadow:2px 2px 7px rgba(0,0,0,0.8),0 0 1px #000}.op-thumbnail-container .op-thumbnail-wrapper .op-thumbnail-header:after{display:block;content:'';clear:both}.op-watermark-container{position:absolute;width:100%;height:100%;top:0;left:0;z-index:3}.op-watermark-container .op-watermark{position:absolute;display:inline-block}.op-watermark-container .op-watermark img{width:100%;height:100%}.op-watermark-container .op-watermark .op-watermark-text{font-size:14px}.op-setting-panel{position:absolute;bottom:55px;right:12px;overflow-y:auto;max-height:100%;width:260px;user-select:none;background-color:rgba(28,28,28,0.9);text-shadow:0 0 2px rgba(0,0,0,0.5);z-index:8}.op-setting-panel.background{display:none}.op-setting-panel .op-setting-title,.op-setting-panel .op-setting-item{width:100%;height:38px;line-height:38px;cursor:pointer;outline:none;text-align:left}.op-setting-panel .op-setting-title-container .op-setting-title .op-setting-title-title{padding-left:12px;font-weight:bold}.op-setting-panel .op-setting-title-container .op-setting-title .op-setting-title-previcon{padding:0 0 0 12px;margin-right:-6px}.op-setting-panel .op-setting-item-container .op-setting-item:hover{background-color:rgba(255,255,255,0.1)}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-title{padding-left:12px}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-nexticon{float:right;padding-right:12px;margin-left:-6px}.op-setting-panel .op-setting-item-container .op-setting-item span.op-setting-item-value{float:right;padding-right:12px}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-checked{padding-left:12px;visibility:hidden}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-checked.op-show{visibility:visible}.op-controls-container{display:none}.op-controls-container .op-bottom-panel{position:absolute;left:0px;bottom:0px;width:100%;z-index:5;-webkit-animation-name:op-slideInUp;animation-name:op-slideInUp;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.op-controls-container .op-bottom-panel .op-gradient-bottom{position:absolute;width:100%;height:100%;background-color:rgba(18,18,18,0.5);pointer-events:none}.op-controls-container .op-bottom-panel .op-progressbar-container{display:block;position:relative;width:100%;height:4px;bottom:50px}.op-controls-container .op-bottom-panel .op-progressbar-container.op-progressbar-container-disabled{cursor:default}.op-controls-container .op-bottom-panel .op-progressbar-container .op-progressbar-padding{position:absolute;width:100%;height:15px;bottom:-5px;cursor:pointer}.op-controls-container .op-bottom-panel .op-controls{position:relative;width:100%;height:50px;text-align:left;overflow:hidden}.op-controls-container .op-bottom-panel .op-controls:after{content:'';clear:both}.op-controls-container .op-bottom-panel .op-controls .op-setting-button{position:relative;margin-right:12px}.op-controls-container .op-bottom-panel .op-controls .op-playlist-button{position:relative;margin-right:12px}.op-controls-container .op-bottom-panel .op-controls .op-navigators{float:left;height:30px;line-height:30px}.op-controls-container .op-bottom-panel .op-controls .op-left-controls{position:absolute;top:0;left:0;padding:14px 0 10px 0}.op-controls-container .op-bottom-panel .op-controls .op-left-controls:after{content:'';clear:both}.op-controls-container .op-bottom-panel .op-controls .op-right-controls{position:absolute;top:0;right:0;padding:14px 0 10px 0}.op-controls-container .op-bottom-panel .op-controls .op-right-controls:after{content:'';clear:both}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons{position:relative;display:inline-block;margin-left:14px;overflow:hidden;font-weight:100;height:30px}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button{margin-right:6px;position:relative;text-align:center;color:#fff}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon{position:relative}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon.reverse:after{content:'\\\\e900'}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon:after{font-family:'frameIcon' !important;speak:none;content:'\\\\e901';font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;font-size:2.4em;left:0;line-height:30px;height:30px}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon .btn-text{font-weight:bold;font-size:.8em;line-height:30px;height:30px}.op-progressbar{position:absolute;bottom:0;left:0;width:100%;height:100%;outline:none;margin-top:10px}.op-progressbar .op-play-background-color{background-color:#50e3c2;background-color:var(--op-accent-color)}.op-progressbar .op-progress-list{cursor:pointer;position:relative;height:100%;background:rgba(255,255,255,0.2)}.op-progressbar .op-progress-list .op-load-progress,.op-progressbar .op-progress-list .op-play-progress,.op-progressbar .op-progress-list .op-hover-progress{position:absolute;left:0;bottom:0;width:100%;height:100%}.op-progressbar .op-progress-list .op-play-progress{width:0}.op-progressbar .op-progress-list .op-load-progress{width:0;background-color:rgba(255,255,255,0.5)}.op-progressbar .op-progress-list .op-hover-progress{left:0;width:0;background-color:rgba(255,255,255,0.6)}.op-progressbar .op-progressbar-knob-container{position:absolute;top:-5px;left:0}.op-progressbar .op-progressbar-knob-container .op-progressbar-knob{width:14px;height:14px;border-radius:7px}.op-progressbar .op-progressbar-time{display:none;position:absolute;bottom:15px;left:auto;width:auto;background-color:rgba(28,28,28,0.9);border-radius:2px;padding:5px 9px;font-size:.8em;line-height:15px;user-select:none;white-space:nowrap;opacity:.7}.op-progressbar-hover .op-progressbar-time{display:inline-block}.op-on-error .op-progressbar-time{display:none}.op-progressbar-section-start,.op-progressbar-section-end{display:none;position:absolute;width:3px;height:14px;bottom:-5px;background-color:#50e3c2;background-color:var(--op-accent-color)}.op-progressbar-preview{position:absolute;display:none;bottom:50px;border:2px solid #fff;border-radius:2px;background-color:#000;z-index:9}.op-play-controller{margin-left:15px}.op-seek-button{position:relative;top:0px}.op-seek-button.op-seek-button-back{margin-left:12px}.op-seek-button.op-seek-button-forward{margin-left:6px}.op-seek-button i{padding-top:1px;font-size:26px}.op-seek-button span{position:absolute;top:10.5px;left:0;right:0;text-align:center;font-size:10px;line-height:10px;cursor:pointer}.op-volume-controller{display:inline-block;position:relative;margin-left:12px}.op-volume-controller:after{content:'';clear:both}.op-volume-controller .op-volume-button{float:left}@-webkit-keyframes slide{100%{left:0}}@keyframes slide{100%{left:0}}.op-volume-controller .op-volume-slider-container{float:left;opacity:0;position:relative;width:0px;margin-right:0;line-height:30px;height:30px;cursor:pointer;user-select:none;outline:none}.op-volume-controller .op-volume-slider-container.active{width:70px;opacity:1;margin-left:8px;-moz-transition:opacity .4s cubic-bezier(0, 0, .2, 1);-webkit-transition:opacity .4s cubic-bezier(0, 0, .2, 1);transition:opacity .4s cubic-bezier(0, 0, .2, 1)}.op-volume-controller .op-volume-slider-container .op-volume-silder{height:100%;position:relative}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-bg,.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-value{position:absolute;display:block;left:0;top:50%;height:4px;margin-top:-2px;border-radius:10px}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-bg{width:100%;background:#fff}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-value{width:100%;background:#50e3c2;background:var(--op-accent-color);border-radius:10px 0 0 10px}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-handle{position:absolute;top:50%;left:30px;width:12px;height:12px;border-radius:10px;margin-top:-6px;background:#fff}.op-time-display{float:left;position:relative;margin-left:14px;height:30px;line-height:30px;white-space:nowrap;vertical-align:top;font-size:14px;user-select:none}.op-time-display .op-live-badge{opacity:1;width:auto;display:inline-block}.op-time-display .op-live-badge:before{background:#ff0000;display:inline-block;position:relative;top:-2px;width:6px;height:6px;margin-right:5px;content:'';border-radius:6px}.op-time-display .op-live-badge.op-live-badge-delayed:before{background:#fff}.op-time-display .op-live-badge .op-live-badge-lowlatency{display:inline-block;margin-right:5px}.op-time-display .op-live-badge .op-live-text{cursor:pointer}.op-context-panel{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;overflow:hidden;width:200px;padding:6px 0;z-index:8;background:rgba(28,28,28,0.9);text-shadow:0 0 2px rgba(0,0,0,0.5);font-weight:lighter;user-select:none}.op-context-panel:before,.op-context-panel:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-context-panel *,.op-context-panel *:before,.op-context-panel *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-context-panel .op-context-item{width:100%;height:38px;padding-left:12px;line-height:38px;cursor:pointer;outline:none;font-size:.8em;font-weight:lighter;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.op-context-panel .op-context-item:hover{background-color:rgba(255,255,255,0.1)}.op-fullscreen-button{position:relative;margin-right:15px}.op-fullscreen-button .op-fullscreen-compress{display:none}.op-spinner-container{position:absolute;top:50%;width:64px;left:50%;margin-left:-32px;margin-top:-32px;z-index:7;display:none}.op-spinner-container .op-spinner{display:inline-block;position:relative;width:64px;height:64px;border:4px solid transparent;border-top:4px solid #50e3c2;border-top:4px solid var(--op-accent-color);border-radius:50%;animation:spin 1.2s cubic-bezier(.5, 0, .5, 1) infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.op-caption-viewer .op-caption-text-container{position:absolute;bottom:60px;width:100%;padding:0 12px;text-align:center;-moz-transition:bottom .25s cubic-bezier(0, 0, .2, 1);-webkit-transition:bottom .25s cubic-bezier(0, 0, .2, 1);transition:bottom .25s cubic-bezier(0, 0, .2, 1)}.op-caption-viewer .op-caption-text-container .op-caption-text{color:#fff;font-size:1em;line-height:1.2em;text-shadow:2px 2px 2px gray;padding:.1em .3em;user-select:none;word-break:break-word;white-space:pre-line;border:none;background:none}.op-caption-button{width:36px}.op-caption-button>i{font-size:18px;-moz-transition:color .25s cubic-bezier(0, 0, .2, 1);-webkit-transition:color .25s cubic-bezier(0, 0, .2, 1);transition:color .25s cubic-bezier(0, 0, .2, 1)}.op-caption-active .op-caption-button>i{color:#F36446}.op-wrapper.ovenplayer.large{font-size:14px}.op-wrapper.ovenplayer.large .op-caption-text{font-size:2em;line-height:2em}.op-wrapper.ovenplayer.medium{font-size:12px}.op-wrapper.ovenplayer.medium .op-caption-text{font-size:1.4em;line-height:1.4em}.op-wrapper.ovenplayer.small{font-size:10px}.op-wrapper.ovenplayer.small .op-caption-text{font-size:1.4em;line-height:1.4em}.op-wrapper.ovenplayer.small .op-playlist{padding:1rem}.op-wrapper.ovenplayer.small .op-playlist .op-playlist-card{margin:5px 0}.op-wrapper.ovenplayer.xsmall{font-size:10px}.op-wrapper.ovenplayer.xsmall .op-bigbutton-container .op-bigbutton{width:60px;height:60px;font-size:60px;line-height:60px}.op-wrapper.ovenplayer.xsmall .op-caption-text{font-size:1.4em;line-height:1.4em}.op-wrapper.ovenplayer.xsmall .op-playlist{padding:1rem}.op-wrapper.ovenplayer.xsmall .op-playlist .op-playlist-header{font-size:2em}.op-wrapper.ovenplayer.xsmall .op-playlist .op-playlist-card{margin:5px 0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%;padding:0 6em}.op-wrapper.ovenplayer.xsmall .op-playlist .op-playlist-card .op-playlist-card-title{margin-top:0}.op-wrapper.ovenplayer.xsmall .op-message-box .op-message-container{top:50%;font-weight:bold}.op-wrapper.ovenplayer.xsmall .op-message-box .op-message-container .op-message-icon{margin-top:0}.op-wrapper.ovenplayer.xsmall .op-message-box .op-message-container .op-message-icon .op-con{font-size:40px;width:40px;height:40px;line-height:40px}.op-wrapper.ovenplayer.xsmall .op-ads-button{bottom:22px}.op-wrapper.ovenplayer.xsmall .op-ads-button .videoAdUiAction{padding:4px;font-size:14px}.op-wrapper.ovenplayer.xxsmall .op-left-controls{max-width:240px;overflow:hidden}.op-wrapper.ovenplayer.xxsmall .op-live-badge-lowlatency{max-width:75px}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel{height:34px}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel .op-controls{top:4px}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel .op-controls .op-left-controls{height:30px;padding:0}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel .op-controls .op-right-controls{height:30px;padding:0}.op-wrapper.ovenplayer.linear-ad .op-ads{top:0;bottom:0}.op-wrapper.ovenplayer.linear-ad .op-button i.op-con{width:24px;height:24px;font-size:24px}.op-wrapper.ovenplayer.linear-ad .op-controls-container .op-bottom-panel .op-progressbar-container{bottom:50px}@keyframes fade{from{opacity:.3}55%{opacity:1}75%{opacity:1}to{opacity:.3}}@-webkit-keyframes bounceIn{from,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215, .61, .355, 1);animation-timing-function:cubic-bezier(.215, .61, .355, 1)}0%{opacity:0;-webkit-transform:scale3d(.5, .5, .5);transform:scale3d(.5, .5, .5)}20%{-webkit-transform:scale3d(1.1, 1.1, 1.1);transform:scale3d(1.1, 1.1, 1.1)}40%{-webkit-transform:scale3d(.9, .9, .9);transform:scale3d(.9, .9, .9)}60%{opacity:1;-webkit-transform:scale3d(1.03, 1.03, 1.03);transform:scale3d(1.03, 1.03, 1.03)}80%{-webkit-transform:scale3d(.97, .97, .97);transform:scale3d(.97, .97, .97)}to{opacity:1;-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}}@keyframes bounceIn{from,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215, .61, .355, 1);animation-timing-function:cubic-bezier(.215, .61, .355, 1)}0%{opacity:0;-webkit-transform:scale3d(.3, .3, .3);transform:scale3d(.3, .3, .3)}20%{-webkit-transform:scale3d(1.1, 1.1, 1.1);transform:scale3d(1.1, 1.1, 1.1)}40%{-webkit-transform:scale3d(.9, .9, .9);transform:scale3d(.9, .9, .9)}60%{opacity:1;-webkit-transform:scale3d(1.03, 1.03, 1.03);transform:scale3d(1.03, 1.03, 1.03)}80%{-webkit-transform:scale3d(.97, .97, .97);transform:scale3d(.97, .97, .97)}to{opacity:1;-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}}.op-player .bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.op-player .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}.op-player .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media (prefers-reduced-motion){.op-player .animated{-webkit-animation:unset !important;animation:unset !important;-webkit-transition:none !important;transition:none !important}}@media only screen and (max-width:399px){.op-seek-button{display:none !important}}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/stylesheet/ovenplayer.less\"],\"names\":[],\"mappings\":\"AAAA,gBAAS,CAMT,sBACE,GACE,sBAAW,CAGb,KACE,wBAAW,CAAA,CAIf,mCACE,KACE,sCAAA,CACA,8BAAW,CAGb,GACE,iBAAA,CACA,yCAAA,CACA,iCAAW,CAAA,CAIf,2BACE,KACE,sCAAA,CACA,8BAAW,CAGb,GACE,iBAAA,CACA,yCAAA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,CAhBR,yCAsBI,KAAA,CACA,QAAA,CAvBJ,qDA4BM,UAAA,CACA,WAAA,CACA,cAAA,CA9BN,mGAyCI,WAAA,CASF,gBACE,KACE,UAAA,CAMF,IACE,SAAA,CAGF,IACE,SAAA,CAGF,GACE,UAAA,CAAA,CAIJ,4BAEE,wBAME,kEAAA,CACA,0DAA2B,CAG7B,GACE,SAAA,CACA,qCAAA,CACA,6BAAW,CAGb,IACE,wCAAA,CACA,gCAAW,CAGb,IACE,qCAAA,CACA,6BAAW,CAGb,IACE,SAAA,CACA,2CAAA,CACA,mCAAW,CAGb,IACE,wCAAA,CACA,gCAAW,CAGb,GACE,SAAA,CACA,kCAAA,CACA,0BAAW,CAAA,CAIf,oBAEE,wBAME,kEAAA,CACA,0DAA2B,CAG7B,GACE,SAAA,CACA,qCAAA,CACA,6BAAW,CAGb,IACE,wCAAA,CACA,gCAAW,CAGb,IACE,qCAAA,CACA,6BAAW,CAGb,IACE,SAAA,CACA,2CAAA,CACA,mCAAW,CAGb,IACE,wCAAA,CACA,gCAAW,CAGb,GACE,SAAA,CACA,kCAAA,CACA,0BAAW,CAAA,CA9GjB,qBAmHI,+BAAA,CACA,uBAAA,CACA,+BAAA,CACA,uBAAA,CAGF,0BACE,KACE,SAAA,CAGF,GACE,SAAA,CAAA,CAIJ,kBACE,KACE,SAAA,CAGF,GACE,SAAA,CAAA,CAzIN,mBA8II,6BAAA,CACA,qBAAA,CA/IJ,qBAmJI,6BAAA,CACA,qBAAA,CACA,gCAAA,CACA,wBAAA,CAGF,gCAAA,qBAEI,kCAAA,CACA,0BAAA,CACA,kCAAA,CACA,0BAAA,CAAA,CAwBN,yCACE,gBACE,uBAAA,CAAA\",\"sourcesContent\":[\"@charset \\\"UTF-8\\\";\\n\\n/**\\n * @brief Animation\\n * */\\n\\n@keyframes op-spinner {\\n 0% {\\n transform: rotate(0deg);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n@-webkit-keyframes op-slideOutDown {\\n from {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n\\n to {\\n visibility: hidden;\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n }\\n}\\n\\n@keyframes op-slideOutDown {\\n from {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n\\n to {\\n visibility: hidden;\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n }\\n}\\n\\n@-webkit-keyframes op-slideInUp {\\n from {\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n opacity: 1;\\n }\\n\\n to {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n}\\n\\n@keyframes op-slideInUp {\\n from {\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n opacity: 1;\\n }\\n\\n to {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n}\\n\\n@font-face {\\n font-family: \\\"frameIcon\\\";\\n src: url(\\\"../assets/images/ic-player-frame-jump.ttf?rxg7gj\\\") format('truetype');\\n font-weight: normal;\\n font-style: normal;\\n}\\n\\n@font-face {\\n font-family: 'op-icons';\\n src: url('../assets/fonts/fontello.ttf?13010392') format('truetype');\\n font-weight: normal;\\n font-style: normal;\\n}\\n\\n@font-face {\\n font-family: 'op-seek-icons';\\n src: url('../assets/fonts/seek-icons.ttf?13010392') format('truetype');\\n font-weight: normal;\\n font-style: normal;\\n}\\n\\n/**\\n * @brief common style\\n * */\\n\\n:root {\\n --op-accent-color: #50e3c2;\\n}\\n\\n.op-wrapper.ovenplayer {\\n position: relative;\\n max-height: 100%;\\n\\n overflow: hidden;\\n zoom: 1 !important;\\n width: 100%;\\n display: block;\\n font-family: Helvetica, Arial, sans-serif;\\n background-color: #000;\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n color: #fff;\\n font-size: 14px;\\n font-weight: 100;\\n outline: 0;\\n\\n -webkit-touch-callout: none;\\n user-select: none;\\n\\n * {\\n box-sizing: inherit;\\n }\\n\\n object {\\n width: 100%;\\n height: 100%;\\n position: absolute;\\n }\\n\\n &:before,\\n &:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n & *,\\n & *:before,\\n & *:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n &.op-fullscreen {\\n width: 100% !important;\\n height: 100% !important;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n z-index: 9999;\\n margin: 0;\\n position: fixed;\\n\\n .op-watermark-container,\\n .op-thumbnail-container {\\n width: 100vw;\\n max-width: calc(100vh * 16 / 9);\\n height: calc(100vw * 9 / 16);\\n max-height: 100vh;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n }\\n\\n }\\n\\n &.op-autohide {\\n cursor: none;\\n\\n .op-bottom-panel {\\n\\n -webkit-animation-name: op-slideOutDown;\\n animation-name: op-slideOutDown;\\n\\n -webkit-animation-duration: 0.2s;\\n animation-duration: 0.2s;\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both;\\n }\\n\\n .op-progressbar-container,\\n .op-controls .op-button {\\n cursor: none;\\n }\\n\\n .op-caption-text-container {\\n bottom: 25px;\\n }\\n }\\n\\n &.op-no-controls {\\n\\n .op-controls-container {\\n display: none !important;\\n }\\n }\\n\\n .op-ratio {\\n padding-bottom: 56.25%;\\n /*16:9*/\\n }\\n\\n & ::-webkit-scrollbar {\\n width: 5px;\\n height: 8px;\\n }\\n\\n & ::-webkit-scrollbar-button:start:decrement,\\n ::-webkit-scrollbar-button:end:increment {\\n display: block;\\n height: 3px;\\n background: #2f2f3e;\\n }\\n\\n & ::-webkit-scrollbar-track {\\n background: #2f2f3e;\\n -webkit-border-radius: 10px;\\n border-radius: 10px;\\n }\\n\\n & ::-webkit-scrollbar-thumb {\\n height: 50px;\\n width: 50px;\\n background: #606071;\\n -webkit-border-radius: 8px;\\n border-radius: 8px;\\n }\\n\\n .op-clear {\\n color: inherit;\\n background-color: transparent;\\n padding: 0;\\n margin: 0;\\n float: none;\\n font-family: Helvetica, Arial, sans-serif;\\n font-size: 1em;\\n line-height: 1em;\\n list-style: none;\\n text-transform: none;\\n vertical-align: baseline;\\n border: 0;\\n font-variant: inherit;\\n font-stretch: inherit;\\n -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\\n }\\n}\\n\\n.op-player {\\n position: absolute;\\n top: 0;\\n height: 100%;\\n width: 100%;\\n\\n\\n\\n .op-core-ui-wrapper {\\n position: relative;\\n height: 100%;\\n }\\n\\n .op-media-element-container {\\n /* display: block;\\n height: 100%;\\n width: auto;\\n position : relative;*/\\n\\n\\n position: absolute;\\n left: 0px;\\n top: 0px;\\n width: 100%;\\n height: 100%;\\n\\n video {\\n position: absolute;\\n left: 0;\\n top: 0;\\n width: 100%;\\n height: 100%;\\n }\\n\\n object {\\n width: 100%;\\n height: 100%;\\n }\\n }\\n\\n .op-ui {\\n\\n /*position : absolute;\\n bottom : 0px;\\n left : 0px;\\n width: 100%;\\n height: 100%;*/\\n .op-controls-container {}\\n\\n .op-helpers-container {}\\n }\\n}\\n\\n.op-ads {\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n padding-bottom: 34px;\\n //pointer-events: none;\\n top: 0;\\n\\n &>div {\\n position: absolute !important;\\n width: 100% !important;\\n height: 100% !important;\\n\\n iframe {\\n pointer-events: auto;\\n }\\n }\\n\\n video.op-ads-vast-video {\\n background-color: rgb(0, 0, 0);\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n left: 0;\\n top: 0;\\n z-index: 1;\\n }\\n\\n .op-ads-button {\\n bottom: 36px;\\n cursor: default;\\n margin-right: 4px;\\n pointer-events: auto;\\n position: absolute;\\n right: 0;\\n z-index: 1;\\n width: auto !important;\\n height: auto !important;\\n border-radius: 4px;\\n background-color: rgba(18, 18, 28, 0.7);\\n min-width: 155px;\\n display: none;\\n\\n .op-ads-textview {\\n color: #e6e6e6;\\n //font-family: arial,sans-serif;\\n font-weight: normal;\\n font-size: 11px;\\n padding: 6px 12px;\\n text-align: center;\\n display: inline-block;\\n width: 100%;\\n vertical-align: middle;\\n }\\n\\n .videoAdUiAction {\\n padding: 8px 24px;\\n cursor: pointer;\\n direction: ltr;\\n font-weight: normal;\\n font-size: 20px;\\n border: 1px solid rgba(255, 255, 255, 0.5);\\n\\n &:hover {\\n border-radius: 4px;\\n border: 1px solid rgba(255, 255, 255, 1);\\n }\\n\\n i {\\n display: inline-block;\\n width: auto;\\n }\\n }\\n }\\n\\n}\\n\\n/**\\n * @brief common components\\n * */\\n\\n.op-button {\\n display: inline-block;\\n border: none;\\n background: transparent;\\n padding: 0;\\n color: inherit;\\n text-align: inherit;\\n overflow: hidden;\\n font-weight: 100;\\n text-indent: 0 !important;\\n\\n &:focus,\\n & {\\n outline: 0;\\n }\\n}\\n\\ni.op-con {\\n font-family: \\\"op-icons\\\", \\\"op-seek-icons\\\";\\n font-style: normal;\\n font-weight: normal;\\n speak: none;\\n\\n font-size: inherit;\\n width: auto;\\n font-size: 30px;\\n line-height: 30px;\\n\\n display: block;\\n text-decoration: inherit;\\n text-align: center;\\n\\n /* For safety - reset parent styles, that can break glyph codes*/\\n font-variant: normal;\\n text-transform: none;\\n\\n /* Font smoothing. That was taken from TWBS */\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n\\n cursor: pointer;\\n\\n &.disable {\\n color: #4f4f4f;\\n }\\n\\n &.op-close-icon {\\n &::before {\\n content: \\\"\\\\e900\\\";\\n }\\n }\\n\\n &.op-pause-big {\\n &::before {\\n content: \\\"\\\\e911\\\";\\n }\\n }\\n\\n &.op-fullscreen-compress {\\n &::before {\\n content: \\\"\\\\e901\\\";\\n }\\n }\\n\\n &.op-fullscreen-expand {\\n &::before {\\n content: \\\"\\\\e902\\\";\\n }\\n }\\n\\n &.op-arrow-left {\\n &::before {\\n content: \\\"\\\\e903\\\";\\n }\\n }\\n\\n &.op-arrow-right {\\n &::before {\\n content: \\\"\\\\e909\\\";\\n }\\n }\\n\\n &.op-empty-video {\\n &::before {\\n content: \\\"\\\\e904\\\";\\n }\\n }\\n\\n &.op-play {\\n &::before {\\n content: \\\"\\\\e906\\\";\\n }\\n }\\n\\n &.op-replay {\\n &::before {\\n content: \\\"\\\\e908\\\";\\n }\\n }\\n\\n &.op-seek-back {\\n &::before {\\n content: \\\"\\\\e920\\\";\\n }\\n }\\n\\n &.op-seek-forward {\\n &::before {\\n content: \\\"\\\\e921\\\";\\n }\\n }\\n\\n &.op-playlist-icon {\\n &::before {\\n content: \\\"\\\\e907\\\";\\n }\\n }\\n\\n &.op-replay-big {\\n &::before {\\n content: \\\"\\\\e908\\\";\\n }\\n }\\n\\n &.op-setting {\\n &::before {\\n content: \\\"\\\\e90A\\\";\\n }\\n }\\n\\n &.op-pause {\\n &::before {\\n content: \\\"\\\\e90C\\\";\\n }\\n }\\n\\n &.op-volume-small {\\n display: none;\\n margin-top: -1px;\\n\\n &::before {\\n content: \\\"\\\\e90D\\\";\\n }\\n }\\n\\n &.op-volume-mute {\\n display: none;\\n\\n &::before {\\n content: \\\"\\\\e90E\\\";\\n }\\n }\\n\\n &.op-volume-max {\\n &::before {\\n content: \\\"\\\\e90F\\\";\\n }\\n }\\n\\n &.op-play-big {\\n &::before {\\n content: \\\"\\\\e910\\\";\\n }\\n }\\n\\n &.op-warning {\\n &::before {\\n content: \\\"\\\\e912\\\";\\n }\\n }\\n}\\n\\n.op-badge {\\n display: inline-block;\\n padding: .75em .714em .714em .680em;\\n font-size: 1em;\\n line-height: 1;\\n text-align: center;\\n white-space: nowrap;\\n vertical-align: baseline;\\n border-radius: 0.286em;\\n background-color: #12121c;\\n}\\n\\n.op-playlist {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n left: 0;\\n top: 0;\\n padding: 2.857em;\\n background: #000;\\n z-index: 6;\\n\\n .op-badge {\\n position: absolute;\\n top: 0.857em;\\n right: 0.857em;\\n opacity: 0.7;\\n }\\n\\n .btn-left {\\n float: left;\\n font-size: 2.857em;\\n }\\n\\n .btn-right {\\n float: right;\\n font-size: 2.857em;\\n }\\n\\n .op-playlist-header {\\n font-size: 2.857em;\\n font-weight: bold;\\n\\n &:after {\\n display: block;\\n content: '';\\n clear: both;\\n }\\n\\n .op-con.op-close-icon {\\n float: right;\\n }\\n }\\n\\n .op-playlist-body {\\n height: 100%;\\n overflow: hidden;\\n position: relative;\\n\\n .op-playlist-body-arrows {\\n margin-top: -15px;\\n position: absolute;\\n top: 50%;\\n height: 30px;\\n -ms-transform: translateY(-50%);\\n transform: translateY(-50%);\\n width: 100%;\\n left: 0;\\n }\\n\\n .op-playlist-body-container {\\n width: 100%;\\n height: 100%;\\n position: relative;\\n margin-right: auto;\\n margin-left: auto;\\n max-width: 992px;\\n\\n .op-playlist-body-center {\\n margin: 0;\\n position: absolute;\\n top: 50%;\\n padding-right: 3em;\\n padding-left: 3em;\\n -ms-transform: translateY(-50%);\\n transform: translateY(-50%);\\n width: 100%;\\n }\\n }\\n\\n .op-playlist-body-row {\\n margin-right: -15px;\\n margin-left: -15px;\\n display: -ms-flexbox;\\n display: flex;\\n -ms-flex-wrap: wrap;\\n flex-wrap: wrap;\\n\\n\\n .op-playlist-card {\\n padding-right: 15px;\\n padding-left: 15px;\\n margin: 15px 0;\\n -ms-flex-preferred-size: 0;\\n flex-basis: 0;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n -ms-flex: 0 0 33.333333%;\\n flex: 0 0 33.333333%;\\n max-width: 33.333333%;\\n cursor: pointer;\\n\\n &.active {\\n color: #50e3c2;\\n color: var(--op-accent-color);\\n\\n .op-playlist-card-thumbnail {\\n border-color: #50e3c2;\\n border-color: var(--op-accent-color);\\n }\\n }\\n\\n .op-playlist-card-thumbnail {\\n position: relative;\\n display: block;\\n width: 100%;\\n padding: 0;\\n overflow: hidden;\\n border: 0.214em solid transparent;\\n background-color: #000;\\n\\n img {\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n border: 0;\\n }\\n\\n &.empty {\\n background-color: #bababa;\\n\\n &>i {\\n margin: 0;\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n color: #fff !important;\\n font-size: 1.6em !important;\\n }\\n }\\n\\n &::before {\\n padding-top: 56.25%;\\n display: block;\\n content: \\\"\\\";\\n }\\n }\\n\\n .op-playlist-card-title {\\n margin-top: 0.857em;\\n font-size: 1.429em;\\n padding: 2px 0;\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n }\\n\\n }\\n }\\n\\n }\\n}\\n\\n\\n/**\\n * @brief Message Box\\n * */\\n\\n.op-message-box {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n z-index: 4;\\n\\n .op-message-container {\\n position: absolute;\\n top: 45%;\\n margin-top: -35px;\\n width: 100%;\\n padding: 0 12px;\\n text-align: center;\\n\\n .op-message-text {\\n display: inline-block;\\n background-color: rgba(18, 18, 28, .3);\\n padding: 0.8em 1.2em;\\n word-wrap: break-word;\\n max-width: 80%;\\n border-radius: 4px;\\n cursor: pointer;\\n\\n .op-message-description {\\n font-size: 12px;\\n margin-top: 12px;\\n color: #999;\\n }\\n }\\n\\n\\n .op-message-icon {\\n display: inline-block;\\n margin-top: 12px;\\n width: 100%;\\n\\n i.op-con {\\n cursor: pointer;\\n font-size: 80px;\\n width: 80px;\\n height: 80px;\\n line-height: 80px;\\n display: inline-block;\\n text-shadow: 2px 2px 7px rgb(0 0 0 / 80%), 0px 0px 1px rgb(0 0 0);\\n }\\n }\\n\\n /*.op-message-button{\\n display: inline-block;\\n padding : 1em;\\n margin-left : 0.4em;\\n background-color: rgba(28,28,28,.4);\\n cursor : pointer;\\n }*/\\n }\\n}\\n\\n.op-message-box.op-message-box-default-cursor .op-message-container .op-message-text {\\n cursor: default;\\n}\\n\\n.op-message-box.op-message-box-default-cursor .op-message-container .op-message-icon i.op-con {\\n cursor: default;\\n}\\n\\n/**\\n * @brief Big button\\n * */\\n\\n.op-bigbutton-container {\\n cursor: pointer;\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n text-align: center;\\n z-index: 5;\\n\\n .op-bigbutton {\\n width: 80px;\\n height: 80px;\\n display: block;\\n font-size: 80px;\\n line-height: 80px;\\n text-shadow: 2px 2px 7px rgb(0 0 0 / 80%), 0px 0px 1px rgb(0 0 0);\\n }\\n}\\n\\n/**\\n * @brief Thumbnail\\n * */\\n\\n.op-thumbnail-container {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n //padding-bottom: 56.25%;\\n top: 0;\\n left: 0;\\n //transform: translate(-50%, -50%);\\n z-index: 2;\\n pointer-events: none;\\n\\n .op-thumbnail-wrapper {\\n position: absolute;\\n left: 0;\\n top: 0;\\n width: 100%;\\n height: 100%;\\n\\n img {\\n width: 100%;\\n height: 100%;\\n }\\n\\n .op-thumbnail-header {\\n position: absolute;\\n left: 1rem;\\n top: 1rem;\\n padding: 0 0.5rem;\\n font-size: 2.857em;\\n font-weight: bold;\\n line-height: 1.4;\\n text-shadow: 2px 2px 7px rgb(0 0 0 / 80%), 0px 0px 1px rgb(0 0 0);\\n\\n &:after {\\n display: block;\\n content: '';\\n clear: both;\\n }\\n }\\n }\\n}\\n\\n/**\\n * @brief WaterMark\\n * */\\n\\n.op-watermark-container {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n //padding-bottom: 56.25%;\\n top: 0;\\n left: 0;\\n //transform: translate(-50%, -50%);\\n z-index: 3;\\n\\n .op-watermark {\\n position: absolute;\\n display: inline-block;\\n\\n img {\\n width: 100%;\\n height: 100%;\\n }\\n\\n .op-watermark-text {\\n font-size: 14px;\\n }\\n }\\n}\\n\\n/**\\n * @brief Setting panel\\n * */\\n\\n.op-setting-panel {\\n position: absolute;\\n bottom: 55px;\\n right: 12px;\\n overflow-y: auto;\\n max-height: 100%;\\n width: 260px;\\n //font-size: 0.8em;\\n user-select: none;\\n background-color: rgba(28, 28, 28, .9);\\n text-shadow: 0 0 2px rgba(0, 0, 0, .5);\\n z-index: 8;\\n\\n &.background {\\n //opacity: 0;\\n //background-color: rgba(28,28,28,.0);\\n display: none;\\n }\\n\\n .op-setting-title,\\n .op-setting-item {\\n width: 100%;\\n height: 38px;\\n line-height: 38px;\\n cursor: pointer;\\n outline: none;\\n text-align: left;\\n }\\n\\n .op-setting-title-container {\\n .op-setting-title {\\n .op-setting-title-title {\\n padding-left: 12px;\\n font-weight: bold;\\n //font-size: 0.9rem;\\n }\\n\\n .op-setting-title-previcon {\\n padding: 0 0 0 12px;\\n margin-right: -6px;\\n }\\n\\n }\\n }\\n\\n .op-setting-item-container {\\n .op-setting-item {\\n &:hover {\\n background-color: rgba(255, 255, 255, .1);\\n }\\n\\n .op-setting-item-title {\\n padding-left: 12px;\\n }\\n\\n .op-setting-item-nexticon {\\n float: right;\\n padding-right: 12px;\\n margin-left: -6px;\\n }\\n\\n span.op-setting-item-value {\\n float: right;\\n padding-right: 12px;\\n }\\n\\n .op-setting-item-checked {\\n padding-left: 12px;\\n visibility: hidden;\\n }\\n\\n .op-setting-item-checked.op-show {\\n visibility: visible;\\n }\\n }\\n }\\n}\\n\\n\\n\\n/**\\n * @brief Controls (container)\\n * */\\n\\n.op-controls-container {\\n display: none;\\n\\n .op-bottom-panel {\\n position: absolute;\\n left: 0px;\\n bottom: 0px;\\n width: 100%;\\n z-index: 5;\\n\\n .op-gradient-bottom {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n background-color: rgba(18, 18, 18, 0.5);\\n pointer-events: none;\\n /*-moz-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);\\n -webkit-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);\\n transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);*/\\n }\\n\\n -webkit-animation-name: op-slideInUp;\\n animation-name: op-slideInUp;\\n\\n -webkit-animation-duration: 0.5s;\\n animation-duration: 0.5s;\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both;\\n\\n .op-progressbar-container {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: 4px;\\n bottom: 50px;\\n\\n &.op-progressbar-container-disabled {\\n cursor: default;\\n }\\n\\n .op-progressbar-padding {\\n position: absolute;\\n width: 100%;\\n height: 15px;\\n bottom: -5px;\\n cursor: pointer;\\n }\\n }\\n\\n\\n /*contols container*/\\n .op-controls {\\n position: relative;\\n width: 100%;\\n height: 50px;\\n text-align: left;\\n overflow: hidden;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n\\n .op-setting-button {\\n position: relative;\\n margin-right: 12px;\\n }\\n\\n .op-playlist-button {\\n position: relative;\\n margin-right: 12px;\\n }\\n\\n .op-navigators {\\n float: left;\\n height: 30px;\\n line-height: 30px;\\n }\\n\\n .op-left-controls {\\n position: absolute;\\n top: 0;\\n left: 0;\\n padding: 14px 0 10px 0;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n }\\n\\n .op-right-controls {\\n position: absolute;\\n top: 0;\\n right: 0;\\n padding: 14px 0 10px 0;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n }\\n\\n /*maybe not use*/\\n .op-frame-buttons {\\n position: relative;\\n display: inline-block;\\n margin-left: 14px;\\n overflow: hidden;\\n font-weight: 100;\\n height: 30px;\\n\\n .op-frame-button {\\n margin-right: 6px;\\n position: relative;\\n text-align: center;\\n color: #fff;\\n\\n .frame-icon {\\n position: relative;\\n\\n &.reverse {\\n &:after {\\n content: '\\\\e900';\\n }\\n }\\n\\n &:after {\\n font-family: 'frameIcon' !important;\\n speak: none;\\n content: '\\\\e901';\\n font-style: normal;\\n font-weight: normal;\\n font-variant: normal;\\n text-transform: none;\\n\\n /* Better Font Rendering =========== */\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n position: absolute;\\n font-size: 2.4em;\\n left: 0;\\n line-height: 30px;\\n height: 30px;\\n }\\n\\n .btn-text {\\n font-weight: bold;\\n font-size: 0.8em;\\n line-height: 30px;\\n height: 30px;\\n }\\n\\n }\\n\\n }\\n\\n }\\n }\\n }\\n\\n}\\n\\n\\n/**\\n * @brief Progressbar\\n * */\\n\\n.op-progressbar {\\n position: absolute;\\n bottom: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n margin-top: 10px;\\n\\n .op-play-background-color {\\n background-color: #50e3c2; // for ie 11\\n background-color: var(--op-accent-color);\\n }\\n\\n .op-progress-list {\\n cursor: pointer;\\n position: relative;\\n height: 100%;\\n background: rgba(255, 255, 255, 0.2);\\n\\n .op-load-progress,\\n .op-play-progress,\\n .op-hover-progress {\\n position: absolute;\\n left: 0;\\n bottom: 0;\\n width: 100%;\\n height: 100%;\\n }\\n\\n .op-play-progress {\\n width: 0;\\n }\\n\\n .op-load-progress {\\n width: 0;\\n background-color: rgba(255, 255, 255, .5);\\n }\\n\\n .op-hover-progress {\\n left: 0;\\n width: 0;\\n background-color: rgba(255, 255, 255, .6);\\n }\\n\\n }\\n\\n .op-progressbar-knob-container {\\n position: absolute;\\n top: -5px;\\n left: 0;\\n\\n .op-progressbar-knob {\\n width: 14px;\\n height: 14px;\\n border-radius: 7px;\\n }\\n }\\n\\n .op-progressbar-time {\\n display: none;\\n position: absolute;\\n bottom: 15px;\\n left: auto;\\n width: auto;\\n background-color: rgba(28, 28, 28, 0.9);\\n border-radius: 2px;\\n padding: 5px 9px;\\n font-size: 0.8em;\\n line-height: 15px;\\n user-select: none;\\n white-space: nowrap;\\n opacity: 0.7;\\n }\\n\\n\\n}\\n\\n.op-progressbar-hover .op-progressbar-time {\\n display: inline-block;\\n}\\n\\n.op-on-error .op-progressbar-time {\\n display: none;\\n}\\n\\n.op-progressbar-section-start,\\n.op-progressbar-section-end {\\n display: none;\\n position: absolute;\\n width: 3px;\\n height: 14px;\\n bottom: -5px;\\n background-color: #50e3c2;\\n background-color: var(--op-accent-color);\\n}\\n\\n.op-progressbar-preview {\\n position: absolute;\\n display: none;\\n bottom: 50px;\\n border: 2px solid #fff;\\n border-radius: 2px;\\n background-color: #000;\\n z-index: 9;\\n}\\n\\n.op-play-controller {\\n margin-left: 15px;\\n}\\n\\n/**\\n * @brief Seek button\\n * */\\n\\n.op-seek-button {\\n //display: none;\\n position: relative;\\n top: 0px;\\n\\n &.op-seek-button-back {\\n margin-left: 12px;\\n }\\n\\n &.op-seek-button-forward {\\n margin-left: 6px;\\n }\\n\\n i {\\n padding-top: 1px;\\n font-size: 26px;\\n }\\n\\n span {\\n position: absolute;\\n top: 10.5px;\\n left: 0;\\n right: 0;\\n text-align: center;\\n font-size: 10px;\\n line-height: 10px;\\n cursor: pointer;\\n }\\n}\\n\\n\\n/**\\n * @brief Volume button\\n * */\\n.op-volume-controller {\\n display: inline-block;\\n position: relative;\\n margin-left: 12px;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n\\n .op-volume-button {\\n float: left;\\n }\\n\\n @-webkit-keyframes slide {\\n 100% {\\n left: 0;\\n }\\n }\\n\\n @keyframes slide {\\n 100% {\\n left: 0;\\n }\\n }\\n\\n .op-volume-slider-container {\\n /*display: inline-block;*/\\n float: left;\\n opacity: 0;\\n position: relative;\\n width: 0px;\\n margin-right: 0;\\n line-height: 30px;\\n height: 30px;\\n cursor: pointer;\\n user-select: none;\\n outline: none;\\n\\n &.active {\\n width: 70px;\\n opacity: 1;\\n margin-left: 8px;\\n -moz-transition: opacity .4s cubic-bezier(0.0, 0.0, 0.2, 1);\\n -webkit-transition: opacity .4s cubic-bezier(0.0, 0.0, 0.2, 1);\\n transition: opacity .4s cubic-bezier(0.0, 0.0, 0.2, 1);\\n }\\n\\n .op-volume-silder {\\n height: 100%;\\n position: relative;\\n\\n .op-volume-slider-bg,\\n .op-volume-slider-value {\\n position: absolute;\\n display: block;\\n left: 0;\\n top: 50%;\\n height: 4px;\\n margin-top: -2px;\\n border-radius: 10px;\\n }\\n\\n .op-volume-slider-bg {\\n width: 100%;\\n background: #fff;\\n }\\n\\n .op-volume-slider-value {\\n width: 100%;\\n background: #50e3c2;\\n background: var(--op-accent-color);\\n border-radius: 10px 0 0 10px;\\n //-moz-transition: width .2s cubic-bezier(0.0,0.0,0.2,1);\\n //-webkit-transition: width .2s cubic-bezier(0.0,0.0,0.2,1);\\n //transition: width .2s cubic-bezier(0.0,0.0,0.2,1);\\n }\\n\\n .op-volume-slider-handle {\\n position: absolute;\\n top: 50%;\\n left: 30px;\\n width: 12px;\\n height: 12px;\\n border-radius: 10px;\\n margin-top: -6px;\\n background: #fff;\\n //-moz-transition: left .2s cubic-bezier(0.0,0.0,0.2,1);\\n //-webkit-transition: left .2s cubic-bezier(0.0,0.0,0.2,1);\\n //transition: left .2s cubic-bezier(0.0,0.0,0.2,1);\\n }\\n }\\n }\\n}\\n\\n\\n/**\\n * @brief Time Display\\n * */\\n\\n.op-time-display {\\n float: left;\\n position: relative;\\n margin-left: 14px;\\n height: 30px;\\n line-height: 30px;\\n white-space: nowrap;\\n vertical-align: top;\\n font-size: 14px;\\n user-select: none;\\n /*흠 이부분 어떻게 처리하지*/\\n\\n .op-time-current,\\n .op-time-separator,\\n .op-time-duration {}\\n\\n .op-live-badge {\\n opacity: 1;\\n width: auto;\\n display: inline-block;\\n\\n &:before {\\n background: #ff0000;\\n display: inline-block;\\n position: relative;\\n top: -2px;\\n width: 6px;\\n height: 6px;\\n margin-right: 5px;\\n content: '';\\n border-radius: 6px;\\n }\\n\\n &.op-live-badge-delayed:before {\\n background: #fff;\\n }\\n\\n .op-live-badge-lowlatency {\\n display: inline-block;\\n margin-right: 5px;\\n }\\n\\n .op-live-text {\\n cursor: pointer;\\n }\\n }\\n\\n}\\n\\n\\n/**\\n * @brief Context Panel\\n * */\\n\\n.op-context-panel {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n position: absolute;\\n overflow: hidden;\\n width: 200px;\\n padding: 6px 0;\\n z-index: 8;\\n background: rgba(28, 28, 28, 0.9);\\n text-shadow: 0 0 2px rgba(0, 0, 0, .5);\\n font-weight: lighter;\\n user-select: none;\\n\\n &:before,\\n &:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n & *,\\n & *:before,\\n & *:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n .op-context-item {\\n width: 100%;\\n height: 38px;\\n padding-left: 12px;\\n line-height: 38px;\\n cursor: pointer;\\n outline: none;\\n font-size: 0.8em;\\n font-weight: lighter;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n\\n &:hover {\\n background-color: rgba(255, 255, 255, .1);\\n }\\n }\\n\\n}\\n\\n\\n\\n\\n\\n\\n/**\\n * @brief FullScreen button\\n * */\\n\\n.op-fullscreen-button {\\n position: relative;\\n margin-right: 15px;\\n\\n .op-fullscreen-compress {\\n display: none;\\n }\\n}\\n\\n/**\\n * @brief spinner\\n * */\\n\\n.op-spinner-container {\\n position: absolute;\\n top: 50%;\\n width: 64px;\\n left: 50%;\\n margin-left: -32px;\\n margin-top: -32px;\\n z-index: 7;\\n display: none;\\n\\n\\n .op-spinner {\\n display: inline-block;\\n position: relative;\\n width: 64px;\\n height: 64px;\\n\\n border: 4px solid transparent;\\n border-top: 4px solid #50e3c2;\\n border-top: 4px solid var(--op-accent-color);\\n border-radius: 50%;\\n\\n animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\\n\\n @keyframes spin {\\n 0% {\\n transform: rotate(0deg);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n }\\n }\\n\\n}\\n\\n\\n/**\\n * @brief caption.\\n * */\\n\\n.op-caption-viewer {\\n\\n .op-caption-text-container {\\n position: absolute;\\n bottom: 60px;\\n width: 100%;\\n padding: 0 12px;\\n text-align: center;\\n -moz-transition: bottom .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n -webkit-transition: bottom .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n transition: bottom .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n\\n .op-caption-text {\\n color: #fff;\\n font-size: 1em;\\n line-height: 1.2em;\\n text-shadow: 2px 2px 2px gray;\\n padding: .1em .3em;\\n user-select: none;\\n word-break: break-word;\\n white-space: pre-line;\\n border: none;\\n background: none;\\n }\\n }\\n}\\n\\n.op-caption-button {\\n width: 36px;\\n}\\n\\n.op-caption-button>i {\\n font-size: 18px;\\n -moz-transition: color .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n -webkit-transition: color .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n transition: color .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n}\\n\\n.op-caption-active .op-caption-button>i {\\n color: #F36446;\\n}\\n\\n\\n\\n/*Responsive */\\n\\n.op-wrapper.ovenplayer.large {\\n font-size: 14px;\\n\\n .op-caption-text {\\n font-size: 2em;\\n line-height: 2em;\\n }\\n\\n}\\n\\n.op-wrapper.ovenplayer.medium {\\n font-size: 12px;\\n\\n .op-caption-text {\\n font-size: 1.4em;\\n line-height: 1.4em;\\n }\\n}\\n\\n.op-wrapper.ovenplayer.small {\\n font-size: 10px;\\n\\n .op-caption-text {\\n font-size: 1.4em;\\n line-height: 1.4em;\\n }\\n\\n .op-playlist {\\n padding: 1rem;\\n\\n .op-playlist-card {\\n margin: 5px 0;\\n }\\n }\\n\\n}\\n\\n.op-wrapper.ovenplayer.xsmall {\\n font-size: 10px;\\n\\n .op-bigbutton-container {\\n\\n .op-bigbutton {\\n width: 60px;\\n height: 60px;\\n font-size: 60px;\\n line-height: 60px;\\n }\\n }\\n\\n .op-caption-text {\\n font-size: 1.4em;\\n line-height: 1.4em;\\n }\\n\\n .op-playlist {\\n padding: 1rem;\\n\\n .op-playlist-header {\\n font-size: 2em;\\n }\\n\\n .op-playlist-card {\\n margin: 5px 0;\\n -ms-flex: 0 0 100%;\\n flex: 0 0 100%;\\n max-width: 100%;\\n padding: 0 6em;\\n\\n .op-playlist-card-title {\\n margin-top: 0;\\n }\\n }\\n }\\n\\n .op-message-box {\\n .op-message-container {\\n top: 50%;\\n font-weight: bold;\\n\\n .op-message-icon {\\n margin-top: 0;\\n\\n .op-con {\\n font-size: 40px;\\n width: 40px;\\n height: 40px;\\n line-height: 40px;\\n }\\n }\\n }\\n }\\n\\n .op-ads-button {\\n bottom: 22px;\\n\\n .videoAdUiAction {\\n padding: 4px;\\n font-size: 14px;\\n }\\n }\\n}\\n\\n.op-wrapper.ovenplayer.xxsmall {\\n\\n .op-left-controls {\\n max-width: 240px; // for small layout\\n overflow: hidden; // for small layout\\n }\\n\\n .op-live-badge-lowlatency {\\n max-width: 75px;\\n }\\n}\\n\\n/*AD MODE*/\\n.op-wrapper.ovenplayer.linear-ad {\\n\\n .op-bottom-panel {\\n height: 34px;\\n\\n .op-controls {\\n\\n top: 4px;\\n\\n .op-left-controls {\\n height: 30px;\\n padding: 0;\\n }\\n\\n .op-right-controls {\\n height: 30px;\\n padding: 0;\\n }\\n }\\n }\\n\\n .op-ads {\\n top: 0;\\n bottom: 0;\\n }\\n\\n .op-button {\\n i.op-con {\\n width: 24px;\\n height: 24px;\\n font-size: 24px;\\n }\\n }\\n\\n .op-right-controls {\\n .op-button {\\n //margin-top: -2px;\\n }\\n }\\n\\n .op-controls-container .op-bottom-panel .op-progressbar-container {\\n bottom: 50px;\\n }\\n}\\n\\n/**\\n * @brief Animation\\n * */\\n\\n.op-player {\\n @keyframes fade {\\n from {\\n opacity: 0.3;\\n }\\n\\n /*5% { opacity: 0.3; }*/\\n /*40% { opacity: 1; }*/\\n /*50% { opacity: 1; }*/\\n 55% {\\n opacity: 1;\\n }\\n\\n 75% {\\n opacity: 1;\\n }\\n\\n to {\\n opacity: 0.3;\\n }\\n }\\n\\n @-webkit-keyframes bounceIn {\\n\\n from,\\n 20%,\\n 40%,\\n 60%,\\n 80%,\\n to {\\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n }\\n\\n 0% {\\n opacity: 0;\\n -webkit-transform: scale3d(0.5, 0.5, 0.5);\\n transform: scale3d(0.5, 0.5, 0.5);\\n }\\n\\n 20% {\\n -webkit-transform: scale3d(1.1, 1.1, 1.1);\\n transform: scale3d(1.1, 1.1, 1.1);\\n }\\n\\n 40% {\\n -webkit-transform: scale3d(0.9, 0.9, 0.9);\\n transform: scale3d(0.9, 0.9, 0.9);\\n }\\n\\n 60% {\\n opacity: 1;\\n -webkit-transform: scale3d(1.03, 1.03, 1.03);\\n transform: scale3d(1.03, 1.03, 1.03);\\n }\\n\\n 80% {\\n -webkit-transform: scale3d(0.97, 0.97, 0.97);\\n transform: scale3d(0.97, 0.97, 0.97);\\n }\\n\\n to {\\n opacity: 1;\\n -webkit-transform: scale3d(1, 1, 1);\\n transform: scale3d(1, 1, 1);\\n }\\n }\\n\\n @keyframes bounceIn {\\n\\n from,\\n 20%,\\n 40%,\\n 60%,\\n 80%,\\n to {\\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n }\\n\\n 0% {\\n opacity: 0;\\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\\n transform: scale3d(0.3, 0.3, 0.3);\\n }\\n\\n 20% {\\n -webkit-transform: scale3d(1.1, 1.1, 1.1);\\n transform: scale3d(1.1, 1.1, 1.1);\\n }\\n\\n 40% {\\n -webkit-transform: scale3d(0.9, 0.9, 0.9);\\n transform: scale3d(0.9, 0.9, 0.9);\\n }\\n\\n 60% {\\n opacity: 1;\\n -webkit-transform: scale3d(1.03, 1.03, 1.03);\\n transform: scale3d(1.03, 1.03, 1.03);\\n }\\n\\n 80% {\\n -webkit-transform: scale3d(0.97, 0.97, 0.97);\\n transform: scale3d(0.97, 0.97, 0.97);\\n }\\n\\n to {\\n opacity: 1;\\n -webkit-transform: scale3d(1, 1, 1);\\n transform: scale3d(1, 1, 1);\\n }\\n }\\n\\n .bounceIn {\\n -webkit-animation-duration: 0.75s;\\n animation-duration: 0.75s;\\n -webkit-animation-name: bounceIn;\\n animation-name: bounceIn;\\n }\\n\\n @-webkit-keyframes fadeIn {\\n from {\\n opacity: 0;\\n }\\n\\n to {\\n opacity: 1;\\n }\\n }\\n\\n @keyframes fadeIn {\\n from {\\n opacity: 0;\\n }\\n\\n to {\\n opacity: 1;\\n }\\n }\\n\\n .fadeIn {\\n -webkit-animation-name: fadeIn;\\n animation-name: fadeIn;\\n }\\n\\n .animated {\\n -webkit-animation-duration: 1s;\\n animation-duration: 1s;\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both;\\n }\\n\\n @media (prefers-reduced-motion) {\\n .animated {\\n -webkit-animation: unset !important;\\n animation: unset !important;\\n -webkit-transition: none !important;\\n transition: none !important;\\n }\\n }\\n\\n\\n /* Pulse Shrink */\\n /*.op-button {\\n //display: inline-block;\\n //vertical-align: middle;\\n transform: translateZ(0);\\n box-shadow: 0 0 1px rgba(0, 0, 0, 0);\\n backface-visibility: hidden;\\n -moz-osx-font-smoothing: grayscale;\\n transition-duration: 0.3s;\\n transition-property: transform;\\n }\\n .op-button:hover,\\n .op-button:focus,\\n .op-button:active {\\n transform: scale(1.1);\\n }*/\\n}\\n\\n\\n@media only screen and (max-width: 399px) {\\n .op-seek-button {\\n display: none !important;\\n }\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n\n content += cssWithMappingToString(item);\n\n if (needLayer) {\n content += \"}\";\n }\n\n if (item[2]) {\n content += \"}\";\n }\n\n if (item[4]) {\n content += \"}\";\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n\n\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n\n if (!url) {\n return url;\n }\n\n url = String(url.__esModule ? url.default : url); // If url is already wrapped in quotes, remove them\n\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n\n if (options.hash) {\n url += options.hash;\n } // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n\n\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n\n return url;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n\n return updater;\n}\n\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n\n stylesInDOM.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n/* istanbul ignore next */\n\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n}\n/* istanbul ignore next */\n\n\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n}\n\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\n\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\n\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n\n var needLayer = typeof obj.layer !== \"undefined\";\n\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n\n css += obj.css;\n\n if (needLayer) {\n css += \"}\";\n }\n\n if (obj.media) {\n css += \"}\";\n }\n\n if (obj.supports) {\n css += \"}\";\n }\n\n var sourceMap = obj.sourceMap;\n\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n options.styleTagTransform(css, styleElement, options.options);\n}\n\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n\n styleElement.parentNode.removeChild(styleElement);\n}\n/* istanbul ignore next */\n\n\nfunction domAPI(options) {\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\n\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n\n styleElement.appendChild(document.createTextNode(css));\n }\n}\n\nmodule.exports = styleTagTransform;","var global =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n (typeof global !== 'undefined' && global)\n\nvar support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob:\n 'FileReader' in global &&\n 'Blob' in global &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this)\n if (isConsumed) {\n return isConsumed\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()\n }\n }\n }\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = global.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n setTimeout(function() {\n resolve(new Response(body, options))\n }, 0)\n }\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }, 0)\n }\n\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob'\n } else if (\n support.arrayBuffer &&\n request.headers.get('Content-Type') &&\n request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1\n ) {\n xhr.responseType = 'arraybuffer'\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]))\n })\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!global.fetch) {\n global.fetch = fetch\n global.Headers = Headers\n global.Request = Request\n global.Response = Response\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t983: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// no jsonp function","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\n__webpack_require__(8594);\n__webpack_require__(7147);\nvar __webpack_exports__ = __webpack_require__(8445);\n"],"names":["root","factory","exports","module","define","amd","self","version","__VERSION__","trim","string","replace","extractExtension","path","substr","azuredFormat","extension","test","getAzureFileFormat","split","lastIndexOf","length","toLowerCase","naturalHms","second","secNum","parseInt","hours","Math","floor","minutes","seconds","hmsToSecond","str","frameRate","_","arr","arrLength","sec","slice","parseFloat","secIndex","_entry","data","entry","array","idx","indexOf","line","index","start","end","text","join","VTTCue","window","directionSetting","alignSetting","findAlignSetting","value","extend","obj","i","arguments","cobj","p","startTime","endTime","cue","this","isIE8","navigator","userAgent","baseObj","document","createElement","enumerable","hasBeenReset","_id","_pauseOnExit","_startTime","_endTime","_text","_region","_vertical","_snapToLines","_line","_lineAlign","_position","_positionAlign","_size","_align","Object","defineProperty","get","set","TypeError","setting","findDirectionSetting","SyntaxError","Error","displayState","undefined","prototype","getCueAsHTML","WebVTT","convertCueToDOMTree","scrollSetting","isValidPercentValue","_width","_lines","_regionAnchorX","_regionAnchorY","_viewportAnchorX","_viewportAnchorY","_scroll","defineProperties","findScrollSetting","makeColorSet","color","opacity","substring","fontScale","observe","subject","topic","fontColor","Services","prefs","getCharPref","fontOpacity","getIntPref","WebVTTSet","fontSet","backgroundColor","backgroundOpacity","backgroundSet","edgeType","edgeColor","edgeSet","forEach","pref","addObserver","_objCreate","create","F","o","ParsingError","errorData","message","name","code","parseTimeStamp","input","computeSeconds","h","m","s","f","match","Settings","values","parseOptions","callback","keyValueDelim","groupDelim","groups","kv","parseCue","regionList","oInput","consumeTimeStamp","ts","Errors","BadTimeStamp","skipWhitespace","settings","k","v","id","region","alt","vals","vals0","integer","percent","consumeCueSettings","constructor","BadSignature","dflt","defaultKey","has","a","n","ESCAPE","TAG_NAME","c","b","u","ruby","rt","lang","TAG_ANNOTATION","NEEDS_PARENT","parseContent","nextToken","result","unescape1","e","unescape","shouldAdd","current","element","localName","type","annotation","tagName","t","rootDiv","tagStack","appendChild","createTextNode","pop","parentNode","node","createProcessingInstruction","className","push","strongRTLChars","StyleBox","CueStyleBox","styleOptions","textShadow","call","cueDiv","styles","position","left","right","top","bottom","display","writingMode","vertical","unicodeBidi","applyStyles","div","textAlign","align","font","whiteSpace","direction","charCode","nodeStack","childNodes","pushNodes","nextTextNode","textContent","innerText","charCodeAt","j","determineBidi","stylesunicodeBidi","textPos","positionAlign","size","formatStyle","width","height","move","box","BoxPosition","lh","offsetHeight","offsetWidth","offsetTop","rects","getClientRects","getBoundingClientRect","max","lineHeight","moveBoxToLinePosition","styleBox","containerBox","boxPositions","boxPosition","linePos","snapToLines","track","textTrackList","mediaElement","trackList","count","mode","computeLinePos","axis","step","round","maxPosition","initialAxis","abs","ceil","reverse","calculatedPercentage","lineAlign","bestPosition","specifiedPosition","percentage","overlapsOppositeAxis","within","overlapsAny","intersectPercentage","findBestPosition","toCSSCompatValues","prop","hasOwnProperty","style","val","unit","toMove","overlaps","b2","boxes","container","min","reference","getSimpleBoxPosition","StringDecoder","decode","decodeURIComponent","encodeURIComponent","cuetext","processCues","cues","overlay","firstChild","removeChild","paddedOverlay","margin","shouldCompute","fontSize","Parser","decoder","state","buffer","TextDecoder","reportOrThrowError","onparsingerror","parse","flushing","collectNextLine","pos","stream","alreadyCollectedLine","xy","anchor","VTTRegion","lines","regionAnchorX","regionAnchorY","viewportAnchorX","viewportAnchorY","scroll","onregion","parseRegion","hasSubstring","oncue","flush","onflush","analUserAgent","screenSize","screen","nameOffset","verOffset","ix","nVer","appVersion","nAgt","browser","appName","majorVersion","toUpperCase","isNaN","mobile","cookieEnabled","cookie","os","clientStrings","r","cs","osVersion","exec","browserVersion","browserMajorVersion","ua","cookies","reCloseSync","reLineEnding","reBrokenTag","reStartTime","reBr","strip_tags","allowed","$0","$1","_sort","langItem","sort","res","that","convertToVTTCues","map","load","language","successCallback","errorCallback","fetch","file","then","response","ok","body","vttCues","OvenPlayerConsole","log","parser","parsedData","sami","options","definedLangs","duration","errors","getLanguage","key","makeEndTime","_ref","fixedLang","error","item","lineNum","nextStartTagIdx","ret","startTagIdx","tempRet","_ref1","_ref2","context","search","contents","nav","browserLanguagePropertyKeys","Array","isArray","languages","getBrowserLanguage","convertedLanguageNames","keys","filter","concat","reClassName","splice","KRCC","RegExp","KOCC","KR","ENCC","EGCC","EN","JPCC","SmiParser","captions","list","SrtParser","catch","status","STATE_IDLE","STATE_COMPLETE","STATE_PAUSED","STATE_PLAYING","STATE_ERROR","STATE_LOADING","STATE_STALLED","STATE_AD_LOADED","STATE_AD_PLAYING","STATE_AD_PAUSED","STATE_AD_COMPLETE","STATE_AD_ERROR","PROVIDER_HTML5","PROVIDER_WEBRTC","PROVIDER_DASH","PROVIDER_HLS","READY","DESTROY","PLAYLIST_CHANGED","ALL_PLAYLIST_ENDED","NETWORK_UNSTABLED","ERROR","PLAYER_STATE","PLAYER_PAUSE","PLAYER_PLAY","PLAYER_CLICKED","PLAYER_RESIZED","PLAYER_FULLSCREEN_CHANGED","PLAYER_WARNING","AD_CHANGED","AD_TIME","CONTENT_BUFFER","CONTENT_TIME","CONTENT_VOLUME","CONTENT_MUTE","CONTENT_META","CONTENT_SOURCE_CHANGED","CONTENT_LEVEL_CHANGED","CONTENT_CAPTION_CUE_CHANGED","CONTENT_CAPTION_CHANGED","CONTENT_TIME_MODE_CHANGED","OME_P2P_MODE","AUDIO_TRACK_CHANGED","ERRORS","codes","SYSTEM_TEXT","isSupport","kind","object","_events","triggerEvents","events","args","event","listener","apply","on","trigger","allEvents","all","off","names","l","retain","_listener","once","onceCallback","La$","selectorOrElement","$element","returnNode","selector","nodeList","querySelectorAll","show","hide","addClass","classList","add","after","htmlString","insertAdjacentHTML","append","before","children","contains","elChild","empty","innerHTML","find","css","removeClass","remove","removeAttribute","attrName","html","hasClass","is","$targetElement","offset","rect","scrollTop","scrollLeft","clientWidth","clientHeight","attr","getAttribute","replaceWith","parentElement","hasChildNodes","closest","selectorString","el","matches","nodeType","closestElement","isRtmp","isWebRTC","isHls","isDash","checkAndGetContainerElement","containerElement","getElementById","userAgentObject","supportList","checkSupport","source","video","canPlayType","mimeType","aac","mp4","f4v","m4v","mov","mp3","mpeg","ogv","ogg","oga","vorbis","webm","f4a","m3u8","m3u","hls","MediaSource","WebKitMediaSource","mediaSource","sourceBuffer","isTypeSupported","sourceBufferValidAPI","getMediaSource","SourceBuffer","WebKitSourceBuffer","appendBuffer","support","ActiveXObject","mimeTypes","testFlash","findProviderNameBySource","soruce_","findProviderNamesByPlaylist","playlistItem","supportNames","sources","supported","TEMP_VIDEO_URL","errorTrigger","provider","setState","pause","pickCurrentSource","playerConfig","sourceIndex","getSourceIndex","default","elVideo","adTagUrl","adContainer","ADMANGER_LOADING_ERROR","ADS_MANAGER_LOADED","AD_ERROR","adsManagerLoaded","adsErrorOccurred","spec","started","active","isVideoEnded","OnManagerLoaded","OnAdError","adDisplayContainer","adsLoader","adsManager","adsRequest","autoplayAllowed","autoplayRequiresMuted","getBrowser","isMobile","google","ima","AdsManagerLoadedEvent","Type","AdErrorEvent","setLocale","setDisableCustomPlaybackForIOS10Plus","adErrorEvent","console","getError","getVastErrorCode","getMessage","innerError","getInnerError","getErrorCode","play","adsManagerLoadedEvent","adsRenderingSettings","AdsRenderingSettings","restoreCustomPlaybackStateOnAdBreakComplete","destroy","getAdsManager","adsSpec","lowLevelEvents","intervalTimer","AD_BUFFERING","AdEvent","CONTENT_PAUSE_REQUESTED","CONTENT_RESUME_REQUESTED","ALL_ADS_COMPLETED","CLICK","SKIPPED","COMPLETE","FIRST_QUARTILE","LOADED","MIDPOINT","PAUSED","RESUMED","STARTED","USER_CLOSE","THIRD_QUARTILE","isAllAdCompelete","currentAd","adEvent","getPosition","remainingTime","getRemainingTime","ad","getAd","remaining","isLinear","adObject","getDuration","skipTimeOffset","getSkipTimeOffset","setInterval","skippable","getAdSkippableState","clearInterval","eventName","removeEventListener","addEventListener","setAdCompleteCallback","_adCompleteCallback","isAllAdComplete","isLinearAd","AdsEventsListener","adConatinerElment","setAttribute","getContainer","AdDisplayContainer","AdsLoader","mute","setVolume","volume","setAutoPlayToAdsRequest","setAdWillAutoPlay","setAdWillPlayMuted","timer","iconClass","onClickCallback","setMute","isActive","Promise","resolve","reject","resume","initialize","retryCount","checkAdsManagerIsReady","init","ViewMode","NORMAL","setTimeout","temporarySupportCheckVideo","src","getName","clearAndReport","_autoplayAllowed","_autoplayRequiresMuted","playPromise","checkAutoplaySupport","isAutoStart","AdsRequest","forceNonLinearFullSlot","requestAds","videoEndedCallback","completeContentCallback","contentComplete","$ads","LA$","Ad","sequence","system","title","description","advertiser","pricing","survey","errorURLTemplates","impressionURLTemplates","creatives","extensions","AdExtension","attributes","AdExtensionChild","CompanionAd","staticResource","htmlResource","iframeResource","altText","companionClickThroughURLTemplate","companionClickTrackingURLTemplates","trackingEvents","Creative","adId","apiFramework","CreativeCompanion","variations","resolveURLTemplates","ASSETURI","encodeURIComponentRFC3986","CONTENTPLAYHEAD","ERRORCODE","CACHEBUSTING","leftpad","random","toString","TIMESTAMP","Date","toISOString","RANDOM","range","util","Image","isNumeric","isFinite","flatten","reduce","parserUtils","nodeName","location","protocol","videoClickTrackingURLTemplates","videoCustomClickURLTemplates","videoClickThroughURLTemplate","parseCreativeCompanion","companionClickTrackingURLTemplate","CreativeLinear","skipDelay","mediaFiles","adParameters","icons","Icon","program","xPosition","yPosition","iconClickThroughURLTemplate","iconClickTrackingURLTemplates","iconViewTrackingURLTemplate","MediaFile","fileURL","deliveryType","codec","bitrate","minBitrate","maxBitrate","scalable","maintainAspectRatio","parseCreativeLinear","charAt","parseXPosition","parseYPosition","domain","CreativeNonLinear","NonLinearAd","expandedWidth","expandedHeight","minSuggestedDuration","nonlinearClickThroughURLTemplate","nonlinearClickTrackingURLTemplates","parseCreativeNonLinear","parseAd","parseWrapper","parseInLine","parseCreativeAdIdAttribute","parseExtensions","model","currency","nextWrapperURL","nodeValue","EventHandlers","EventEmitter","$getMaxListeners","_maxListeners","defaultMaxListeners","emitNone","arrayClone","emitOne","emitTwo","emitThree","emitMany","_addListener","newListener","emit","_eventsCount","unshift","warned","emitter","warn","emitWarning","_onceWrap","removeListener","listenerCount","usingDomains","Domain","getPrototypeOf","setMaxListeners","getMaxListeners","domainEmitter","domainThrown","addListener","prependListener","prependOnceListener","spliceOne","removeAllListeners","listeners","unwrapListeners","eventNames","Reflect","ownKeys","flashURLHandler","async","request","open","timeout","withCredentials","send","onprogress","onload","loadXML","responseText","XDomainRequest","nodeURLHandler","xhr","XMLHttpRequest","OvenPlayerSDK","playerList","XHRURLHandler","overrideMimeType","onreadystatechange","readyState","responseXML","statusText","urlHandler","VASTResponse","ads","DEFAULT_EVENT_DATA","VASTParser","remainingAds","parentURLs","rootErrorURLTemplates","maxWrapperDepth","URLTemplateFilters","fetchingOptions","assign","url","wrapperDepth","originalUrl","rootURL","wrapperLimit","urlhandler","shift","resolveAds","buildVASTResponse","initParsingStatus","fetchVAST","isRootVAST","getErrorURLTemplates","completeWrapperResolving","resolveAll","wrapperSequence","documentElement","trackVastError","resolveWrappers","errorCode","errorMessage","ERRORMESSAGE","storage","DEFAULT_STORAGE","getItem","setItem","removeItem","clear","Storage","initStorage","localStorage","sessionStorage","isStorageDisabled","VASTClient","cappingFreeLunch","cappingMinimumTimeInterval","defaultOptions","vastParser","lastSuccessfulAd","totalCalls","totalCallsTimeout","getRemainingAds","now","getAndParseVAST","VASTTracker","creative","variation","muted","impressed","_alreadyTriggeredQuartiles","emitAlwaysEvents","_initLinearTracking","_initVariationTracking","linear","setDuration","clickThroughURLTemplate","clickTrackingURLTemplates","assetDuration","quartiles","firstQuartile","midpoint","thirdQuartile","isQuartileReached","progress","paused","fullscreen","expanded","trackURLs","progressFormatted","close","elAdVideo","textView","adButton","vastClient","vastTracker","checkMainContentLoaded","metaLoaded","$textView","$adButton","$elAdVideo","processEndOfAd","skipButtonClicked","skip","errorWithCode","canplay","ended","complete","click","setPaused","timeupdate","setProgress","target","currentTime","volumechange","setMuted","loadedmetadata","getState","trackImpression","videoURL","onExtendedLoad","getAdClient","Vast","Ima","stalled","setCanSeek","durationchange","loadeddata","getSources","getCurrentSource","metadata","isLive","Infinity","setMetaLoaded","loadstart","getConfig","showBigPlayButton","autoStart","playing","timeRanges","buffered","num","setBuffer","bufferPercent","sectionStart","seek","sectionEnd","stop","isSeeking","toFixed","compareStalledTime","seeking","setSeeking","seeked","waiting","convertedErroCode","EventsListener","playbackRate","defaultPlaybackRate","getPlaybackRate","_load","lastPlayPosition","currentSource","framerate","getVolume","setTimecodeMode","previousSource","getMse","mse","getMediaElement","canSeek","isLoaded","newState","prevState","newstate","prevstate","newBuffer","getBuffer","getDvrWindow","dvrWindow","isMute","getMute","preload","promise","setPlaybackRate","label","gridThumbnail","lowLatency","setCurrentSource","needProviderChange","setSourceIndex","getQualityLevels","qualityLevels","getCurrentQuality","currentQuality","setCurrentQuality","qualityIndex","getAudioTracks","audioTracks","getCurrentAudioTrack","currentAudioTrack","setCurrentAudioTrack","audioTrackIndex","isAutoQuality","setAutoQuality","isAuto","getFramerate","setFramerate","seekFrame","frameCount","fps","newPosition","super","method","Provider","superDestroy_func","webSocketUrl","loadCallback","connectedCallback","internalErrorCallback","defaultConnectionConfig","ws","wsConnected","mainStream","mainPeerConnectionInfo","clientPeerConnections","wsClosedByPlayer","recoverPacketLoss","playlistFromOme","autoQuality","webrtcConfig","generatePublicCandidate","currentBrowser","existingHandler","getPeerConnectionById","peerConnection","extractLossPacketsOnNetworkStatus","peerConnectionInfo","statisticsTimer","clearTimeout","lostPacketsArr","slotLength","prevPacketsLost","avg8Losses","avgMoreThanThresholdCount","threshold","getStats","stats","autoFallback","isRemote","actualPacketLost","packetsLost","memo","closePeer","createMainPeerConnection","peerId","sdp","candidates","iceServers","peerConnectionConfig","iceTransportPolicy","iceServer","regIceServer","urls","hasWebsocketUrl","socketUrl","generateDomainFromUrl","cloneIceServer","ip","findIp","username","user_name","credential","RTCPeerConnection","tempError","setRemoteDescription","RTCSessionDescription","createAnswer","desc","opusFormatNumber","getOpusFormatNumber","stereo","checkOpusIsStereo","mungeSdpForceStereoOpus","sendMessage","peer_id","command","setLocalDescription","addIceCandidate","onicecandidate","candidate","onconnectionstatechange","connectionState","onicecandidateerror","onicegatheringstatechange","oniceconnectionstatechange","iceConnectionState","ontrack","streams","playoutDelayHint","hint","receivers","getReceivers","receiver","jitterBufferDelayHint","createClientPeerConnection","hostId","clientId","addStream","createOffer","sessionDescription","copyCandidate","basicCandidate","cloneCandidate","newDomain","RTCIceCandidate","cloneCandidatePromise","initWebSocket","WebSocket","onopen","onmessage","JSON","ice_servers","renditions","rendition","video_track","auto","rendition_name","onclose","onerror","clientPeerConnection","stringify","onbeforeunload","connect","webrtcLoader","superPlay_func","sourceFile","audioCtx","connectionTimeout","timeoutMaxRetry","connectionCheckTimer","connected","loadWebRTCLoader","performance","WebRTCLoader","srcObject","AudioContext","webkitAudioContext","currentDevice","called","unlockAudio","createMediaStreamSource","destroyWebRtcLoader","config","removeStream","bytes","si","postpix","thresh","units","dash","seekPosition_sec","sourceOfFile","dashjs","Version","coveredSetAutoSwitchQualityFor","updateSettings","streaming","abr","autoSwitchBitrate","coveredGetAutoSwitchQualityFor","getSettings","MediaPlayer","op_dash","lowLatencyEnabled","lowLatencyMpdLiveDelay","liveDelay","debug","logLevel","Debug","LOG_LEVEL_NONE","dashConfigFromPlayerConfig","dashConfig","attachSource","QUALITY_CHANGE_REQUESTED","mediaType","QUALITY_CHANGE_RENDERED","newQuality","PLAYBACK_METADATA_LOADED","getQualityFor","getBitrateInfoListFor","subQualityList","sizeHumanizer","isDynamic","mutedPlay","setQualityFor","reset","superStop_func","loadRetryer","firstLoaded","hlsConfig","hlsConfigFromPlayerConfig","Hls","op_hls","attachMedia","loadSource","Events","MANIFEST_LOADED","levels","qualityLevel","firstLevel","audioTrack","LEVEL_LOADED","details","live","LEVEL_SWITCHED","level","autoLevelEnabled","AUDIO_TRACK_SWITCHED","LEVEL_UPDATED","totalduration","networkDetails","stopLoad","fatal","errorType","currentLevel","playlistManager","playlist","currentIndex","supportChecker","SupportChecker","makePrettySource","source_","host","application","mimetypeRegEx","initPlaylist","prettiedPlaylist","tracks","prettySource","defaultSource","isCurrentProtocolOnly","highPriorityType","extractOnlyOneProtocol","getPlaylist","getCurrentPlayList","getCurrentPlaylistIndex","setCurrentPlaylist","getCurrentSources","getCurrentAdTag","PlaylistManager","providerController","supportChacker","Providers","registeProvider","ProviderLoader","html5","HTML5","webrtc","WebRTC","Dash","loadProviders","supportedProviderNames","providerName","findByName","getProviderBySource","supportedProviderName","isSameProvider","newSource","ProviderController","mediaManager","browserInfo","$container","videoElement","createMedia","isLoop","createAdContainer","MediaManager","currentProvider","captionManager","runNextPlaylist","nextPlaylistIndex","hasNextPlaylist","initProvider","api","playlistIndex","captionList","currentCaptionIndex","captionLoader","CaptionLoader","isFisrtLoad","bindTrack","tracksCount","trackId","prefix","defaulttrack","changeCurrentCaption","meta","currentCues","flushCaptionList","lastCaptionIndex","getCaptionList","getCurrentCaption","setCurrentCaption","_index","addCaption","removeCaption","CaptionManager","currentSourceIndex","externalCallbackCreep","triggerEventFromExternal","ApiRtmpExpansion","mediaContainer","lowercaseVal","Number","serialize","deserialize","playbackRates","loop","controls","timecode","hidePlaylistIcon","rtmpBufferTime","rtmpBufferTimeMax","adClient","currentProtocolOnly","systemText","loadingRetryCount","expandFullScreenUI","fullscreenOption","userCustumSystemText","currentSystemText","rate","configPlaylist","feedData","composeSourceOptions","qualityLabel","newLabel","Configurator","getSystemText","getProviderName","getProvider","getMseInstance","isShow","isTimecodeMode","setPlaylist","getCurrentPlaylist","getVersion","playerInstance","API","getPlayerList","getPlayerByContainerId","containerId","getContainerId","getPlayerByIndex","removePlayer","generateWebrtcUrls","isDebugMode","uiText","elements","isRoot","settingItemTemplate","useCheck","panelType","isCheck","hasNext","playlistItemTemplate","image","TextViewTemplate","ViewTemplate","HelpersTemplate","BigButtonTemplate","playerState","ThumbnailTemplate","WaterMarkTemplate","waterMark","MessageBoxTemplate","dontClose","SpinnerTemplate","ContextPanelTemplate","CaptionViewerTemplate","ControlsTemplate","hasPlaylist","VolumeButtonTemplate","ProgressBarTemplate","PlayButtonTemplate","SettingButtonTemplate","FrameButtonsTemplate","TimeDisplayTemplate","isP2P","low_latency_p2p","low_latency_live","FullScreenButtonTemplate","PanelsTemplate","SpeedPanelTemplate","SourcePanelTemplate","QualityPanelTemplate","AudioTrackPanelTemplate","CaptionPanelTemplate","TimeDisplayPanelTemplate","PlaylistPanelTemplate","templateName","onRendered","onDestroyed","$template","viewEvents","createAndSelectElement","newElement","ui","Templates","eventString","explodedText","$target","wrappedFunc","eventOption","passive","nodeLength","withTimer","clickCallback","autoDestroyTimer","$current","template","stopPropagation","preventDefault","OvenTemplate","thumbnail","firstRun","bigButton","messageBox","spinner","mutedMessage","hasThumbnail","hasWaterMark","dont_show_message","qualityLevelChanging","newQualityLevel","createBigButton","currentState","currentPlaylistIndex","BigButton","createThumbnail","poster","Thumbnail","$spinner","Spinner","getContainerElement","isDisable","deleteTimer","hideGap","CaptionViewer","textElem","waterMarkOption","y","x","WaterMark","MessageBox","UI_ICONS","createMessage","settingPanelList","refreshFront","setFront","settingPanel","removeLastItem","settingPanelObject","PANEL_TITLE","$root","panelManager","PanelManager","extractSubPanelData","panel","getTime","playBackRates","currentPlaybackRate","speedUnit","displayModes","isFront","currentTarget","SpeedPanel","SourcePanel","$panel","QualityPanel","AudioTrackPanel","CaptionPanel","TimeDisplayPanel","newQualityObject","initialDuration","volumeButton","playButton","settingButton","progressBar","timeDisplay","fullScreenButton","uiInited","webrtc_is_p2p_mode","isAndroid","isIOS","lastContentMeta","setMouseDown","$playlistPanel","totalCount","pageSize","page","pagedList","pagenate","totalPageCount","originalItemIndex","findCurrentPage","evt","gtarget","PlaylistPanel","initProgressBar","isAd","disableSeekUI","currentPlayingPosition","mouseDown","lastGridThumbnail","durationForCalc","$progressBar","$progressLoad","$progressPlay","$progressHover","$knobContainer","$knob","knobWidth","$time","$preview","hlsLive","nativeHlsLive","positionElements","progressBarWidth","knobPostion","drawHoverProgress","hoverPosition","calculatePercentage","progressBarOffsetX","pointerOffsetX","pageX","touches","clientX","getNativeHlsDvrWindow","seekable","drawTimeIndicator","timeElemWidth","positionOfPixel","calculateMagnetic","elementWidth","magneticPosition","interval","thumbnailInterval","originalThumbnailWidth","originalThumbnailHeight","columnCount","rowCount","scale","resizeScale","thumbnailNumber","imageNumber","rowNumber","columnNumber","previewMagneticPosition","time","liveSyncDuration","liveMaxLatencyDuration","maxLiveSyncPlaybackRate","loadPosition","ProgressBar","initSettingButton","$parent","panelData","currentCaption","speed","quality","caption","generateMainData","Panels","SettingButton","initFullscreenButton","$iconExpand","$iconCompress","isFullScreen","isIos","fullscreenChangedEventName","isForceMode","fullScreenEventTypes","onfullscreenchange","onmozfullscreenchange","onwebkitfullscreenchange","MSFullscreenChange","checkFullScreen","fullScreen","fullScreenElement","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","resetFullscreenButtonState","afterFullScreenChangedCallback","forcedFakeFullscreenToggle","toggleFullScreen","rootElement","videoElements","adVideoElement","videoTitle","webkitEnterFullScreen","requestFullscreen","fullScreenOption","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen","requestFullScreen","exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","mozCancelFullScreen","msExitFullscreen","FullScreenButton","makeControlUI","$position","$duration","$liveBadge","convertHumanizeTime","MAX_SAFE_INTEGER","isTimecode","TimeDisplay","initTimeDisplay","resetControlUI","$iconPlay","$iconPause","$iconReplay","$buttonBack","$buttonForward","$textBack","$textForward","seekInterval","seekControlInterval","showSeekControl","PlayButton","$sliderContainer","$slider","$sliderHandle","$sliderValue","$volumeIconBig","$volumeIconSmall","$volumeIconMute","maxRange","setVolumeUI","setVolumeIcon","handlePosition","sliderWidth","VolumeButton","metadata_for_when_after_playing","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","OvenPlayer","$playerRoot","viewTemplate","helper","contextPanel","autoHideTimer","isShiftPressed","currentPlayerSize","resizeSensor","setHide","autoHide","togglePlayPause","isRewind","currentPosition","isUp","newVolume","currentVolumn","calcPlayerWidth","playerWidth","frameMode","keyCode","pageY","panelWidth","panelHeight","ContextPanel","ResizeSensor","detach","getMediaElementContainer","setApi","Controls","showControlBar","Helpers","aspectRatio","ratio","showControls","player","View","global","selectors","_qsa","styleSheet","cssText","scrollBy","querySelector","getElementsByClassName","classNames","String","Node","DOMException","useCapture","_timeStamp","_currentTarget","attachEvent","detachEvent","Element","Event","CAPTURING_PHASE","AT_TARGET","BUBBLING_PHASE","srcElement","eventPhase","bubbles","cancelable","timeStamp","cancelBubble","returnValue","defaultPrevented","Window","HTMLDocument","CustomEvent","params","detail","createEvent","initCustomEvent","addEvent","fn","removeEvent","DOMTokenListShim","removeTokenFromString","token","tokens","some","underlying_string","token_list","toggle","force","addToElementPrototype","getClassList","elem","getRelList","relList","DOMTokenList","previousSibling","ELEMENT_NODE","nextSibling","msMatchesSelector","oMatchesSelector","mozMatchesSelector","webkitMatchesSelector","ownerDocument","ParentNode","prepend","nodes","convertNodesIntoANode","insertBefore","mixin","Document","DocumentFragment","ChildNode","parent","viablePreviousSibling","viableNextSibling","replaceChild","DocumentType","CharacterData","ps","getOwnPropertyDescriptor","ex","createDocumentFragment","returnExportsGlobal","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","EventQueue","q","ev","attachResizeEvent","resized","resizedAttached","styleChild","currentStyle","getComputedStyle","getPropertyValue","expand","expandChild","shrink","lastWidth","lastHeight","cachedWidth","cachedHeight","dirty","dirtyChecking","onScroll","cb","elementType","isCollectionTyped","_isCollectionTyped","jQuery","Elements","_element","Function","Symbol","ArrayBuffer","DataView","isView","d","g","propertyIsEnumerable","pow","w","A","S","O","M","E","B","N","I","T","Int8Array","D","R","V","Map","P","getInt8","U","W","z","L","$","C","K","J","G","H","Q","X","Y","Z","nn","rn","tn","_wrapped","en","Uint8Array","byteOffset","VERSION","valueOf","toJSON","un","an","hn","cn","sn","pn","vn","yn","dn","gn","bn","mn","jn","_n","wn","An","xn","Sn","On","Mn","En","Bn","Nn","toPath","In","Tn","kn","Dn","Rn","Fn","Vn","Pn","qn","iteratee","Un","Wn","zn","Ln","$n","Cn","Kn","Jn","templateSettings","evaluate","interpolate","escape","Gn","Hn","Qn","Xn","Yn","Zn","nr","rr","placeholder","tr","er","ur","or","ir","ar","fr","cr","lr","sr","pr","vr","hr","yr","dr","gr","br","mr","jr","_r","wr","Ar","xr","Sr","Or","Mr","Er","Br","Nr","Ir","Tr","kr","Dr","Rr","Fr","Vr","Pr","qr","Ur","Wr","zr","Lr","$r","Cr","Kr","Jr","Gr","Hr","Qr","Xr","_chain","chain","Yr","Zr","__proto__","restArguments","isObject","isNull","isUndefined","isBoolean","isElement","isString","isNumber","isDate","isRegExp","isError","isSymbol","isArrayBuffer","isDataView","isFunction","isArguments","isTypedArray","isEmpty","isMatch","isEqual","isMap","isWeakMap","isSet","isWeakSet","allKeys","pairs","invert","functions","methods","extendOwn","defaults","clone","tap","mapObject","identity","constant","noop","property","propertyOf","matcher","times","variable","uniqueId","partial","bind","bindAll","memoize","cache","delay","defer","throttle","leading","trailing","cancel","debounce","wrap","negate","compose","findKey","findIndex","findLastIndex","sortedIndex","detect","findWhere","each","collect","foldl","inject","reduceRight","foldr","select","every","any","includes","include","invoke","pluck","where","shuffle","sample","sortBy","criteria","groupBy","indexBy","countBy","partition","toArray","pick","omit","first","head","take","initial","last","rest","tail","drop","compact","Boolean","without","uniq","unique","union","intersection","difference","unzip","transpose","zip","chunk","isCallable","tryToString","argument","isConstructor","wellKnownSymbol","definePropertyModule","UNSCOPABLES","ArrayPrototype","configurable","unicode","isPrototypeOf","it","Prototype","fails","isExtensible","NAME","Constructor","NATIVE_ARRAY_BUFFER","DESCRIPTORS","hasOwn","classof","createNonEnumerableProperty","redefine","setPrototypeOf","uid","Int8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","TypedArray","TypedArrayPrototype","ObjectPrototype","TO_STRING_TAG","TYPED_ARRAY_TAG","TYPED_ARRAY_CONSTRUCTOR","NATIVE_ARRAY_BUFFER_VIEWS","opera","TYPED_ARRAY_TAG_REQUIRED","TypedArrayConstructorsList","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigIntArrayConstructorsList","BigInt64Array","BigUint64Array","klass","aTypedArray","aTypedArrayConstructor","exportTypedArrayMethod","KEY","forced","ARRAY","TypedArrayConstructor","error2","exportTypedArrayStaticMethod","uncurryThis","FunctionName","redefineAll","anInstance","toIntegerOrInfinity","toLength","toIndex","IEEE754","getOwnPropertyNames","arrayFill","arraySlice","setToStringTag","InternalStateModule","PROPER_FUNCTION_NAME","PROPER","CONFIGURABLE_FUNCTION_NAME","CONFIGURABLE","getInternalState","setInternalState","ARRAY_BUFFER","WRONG_INDEX","NativeArrayBuffer","$ArrayBuffer","ArrayBufferPrototype","$DataView","DataViewPrototype","RangeError","fill","packIEEE754","pack","unpackIEEE754","unpack","packInt8","number","packInt16","packInt32","unpackInt32","packFloat32","packFloat64","addGetter","view","isLittleEndian","intIndex","store","byteLength","conversion","INCORRECT_ARRAY_BUFFER_NAME","NaN","testView","$setInt8","setInt8","setUint8","unsafe","bufferLength","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","toObject","toAbsoluteIndex","lengthOfArrayLike","copyWithin","len","to","from","inc","argumentsLength","endPos","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","callWithSafeIterationClosing","isArrayIteratorMethod","createProperty","getIterator","getIteratorMethod","arrayLike","IS_CONSTRUCTOR","mapfn","mapping","iterator","next","iteratorMethod","done","toIndexedObject","createMethod","IS_INCLUDES","$this","fromIndex","IndexedObject","arraySpeciesCreate","TYPE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","specificCreate","boundFunction","filterReject","$lastIndexOf","NEGATIVE_ZERO","FORCED","searchElement","V8_VERSION","SPECIES","METHOD_NAME","foo","aCallable","IS_RIGHT","fin","mergeSort","comparefn","middle","insertionSort","merge","llength","rlength","lindex","rindex","originalArray","arraySpeciesConstructor","itoc","ctoi","anObject","iteratorClose","ENTRIES","ITERATOR","SAFE_CLOSING","iteratorWithReturn","SKIP_CLOSING","ITERATION_SUPPORT","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","CORRECT_ARGUMENTS","tag","tryGet","callee","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","iterate","defineIterator","setSpecies","fastKey","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","ADDER","iterable","AS_ENTRIES","previous","getEntry","removed","prev","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","getWeakData","ArrayIterationModule","uncaughtFrozenStore","frozen","UncaughtFrozenStore","entries","findUncaughtFrozen","isForced","InternalMetadataModule","checkCorrectnessOfIteration","inheritIfRequired","common","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","uncurriedNativeMethod","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","getOwnPropertyDescriptorModule","exceptions","MATCH","regexp","error1","requireObjectCoercible","quot","attribute","p1","IteratorPrototype","createPropertyDescriptor","Iterators","returnThis","IteratorConstructor","ENUMERABLE_NEXT","bitmap","writable","toPropertyKey","propertyKey","padStart","DatePrototype","n$DateToISOString","getUTCDate","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","date","year","milliseconds","sign","ordinaryToPrimitive","IS_PURE","createIteratorConstructor","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","proto","wrappedWellKnownSymbolModule","EXISTS","IndexSizeError","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","documentCreateElement","DOMTokenListPrototype","firefox","UA","Pebble","process","getBuiltIn","Deno","versions","v8","webkit","normalizeStringArgument","nativeErrorToString","INCORRECT_TO_STRING","setGlobal","copyConstructorProperties","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","noTargetGet","sham","regexpExec","RegExpPrototype","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","flags","uncurriedNativeRegExpMethod","nativeMethod","arg2","forceStringMethod","$exec","flattenIntoArray","original","sourceLen","depth","mapper","thisArg","elementLen","targetIndex","mapFn","preventExtensions","NATIVE_BIND","FunctionPrototype","factories","construct","argsLength","partArgs","getDescriptor","aFunction","namespace","getMethod","usingIterator","func","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","captures","namedCaptures","replacement","tailPos","symbols","ch","capture","check","globalThis","LN2","mantissaLength","exponent","mantissa","exponentLength","eMax","eBias","nBits","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","cause","hiddenKeys","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","onFreeze","NATIVE_WEAK_MAP","shared","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","wmget","wmhas","wmset","facade","STATE","enforce","constructorRegExp","isConstructorModern","isConstructorLegacy","feature","detection","normalize","POLYFILL","NATIVE","isInteger","USE_SYMBOL_AS_UID","$Symbol","Result","stopped","ResultPrototype","unboundFunction","iterFn","IS_ITERATOR","INTERRUPTED","condition","callFn","innerResult","PrototypeOfArrayIteratorPrototype","arrayIterator","$expm1","expm1","exp","EPSILON","EPSILON32","MAX32","MIN32","fround","$abs","$sign","LOG10E","log10","log1p","notify","macrotask","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","IS_NODE","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","queueMicrotask","exit","enter","nextTick","characterData","task","getOwnPropertySymbols","symbol","URL","searchParams","pathname","href","URLSearchParams","hash","PromiseCapability","$$resolve","$$reject","$default","globalIsFinite","whitespaces","n$ParseFloat","trimmedString","$parseInt","hex","radix","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","$assign","alphabet","chr","activeXDocument","definePropertiesModule","enumBugKeys","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","temp","parentWindow","NullProtoObject","iframeDocument","iframe","contentWindow","Properties","V8_PROTOTYPE_DEFINE_BUG","props","IE8_DOM_DEFINE","$defineProperty","$getOwnPropertyDescriptor","Attributes","$getOwnPropertyNames","windowNames","getWindowNames","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","$propertyIsEnumerable","NASHORN_BUG","WEBKIT","__defineSetter__","aPossiblePrototype","setter","CORRECT_SETTER","TO_ENTRIES","newPromiseCapability","promiseCapability","Queue","enforceInternalState","TEMPLATE","simple","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","sticky","charsAdded","strCopy","multiline","ignoreCase","dotAll","$RegExp","MISSED_STICKY","TAG","SHARED","copyright","license","aConstructor","defaultConstructor","CONVERT_TO_STRING","codeAt","$repeat","repeat","IS_END","maxLength","fillString","fillLen","stringFiller","intMaxLength","stringLength","fillStr","maxInt","regexNonASCII","regexSeparators","OVERFLOW_ERROR","fromCharCode","digitToBasic","digit","adapt","delta","numPoints","firstTime","baseMinusTMin","base","encode","output","counter","extra","ucs2decode","currentValue","inputLength","bias","basicLength","handledCPCount","handledCPCountPlusOne","qMinusT","baseMinusT","encoded","labels","whitespace","ltrim","rtrim","channel","port","validateArgumentsLength","setImmediate","clearImmediate","Dispatch","MessageChannel","queue","run","runner","post","postMessage","handler","port2","port1","importScripts","toPositiveInteger","BYTES","TO_PRIMITIVE","exoticToPrim","toPrimitive","TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS","ArrayBufferViewCore","ArrayBufferModule","isIntegralNumber","toOffset","typedArrayFrom","nativeDefineProperty","nativeGetOwnPropertyDescriptor","BYTES_PER_ELEMENT","WRONG_LENGTH","fromList","isTypedArrayIndex","wrappedGetOwnPropertyDescriptor","wrappedDefineProperty","CLAMPED","GETTER","SETTER","NativeTypedArrayConstructor","TypedArrayConstructorPrototype","addElement","getter","typedArrayOffset","$length","$len","arrayFromConstructorAndList","typedArraySpeciesConstructor","speciesConstructor","postfix","NATIVE_SYMBOL","passed","required","WellKnownSymbolsStore","symbolFor","createWellKnownSymbol","withoutSetter","installErrorCause","clearErrorStack","ERROR_STACK_INSTALLABLE","FULL_NAME","IS_AGGREGATE_ERROR","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","wrapErrorConstructorWithCause","AGGREGATE_ERROR","$AggregateError","AggregateError","isInstance","AggregateErrorPrototype","errorsArray","arrayBufferModule","un$ArrayBufferSlice","viewSource","viewTarget","addToUnscopables","at","relativeIndex","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","MAXIMUM_ALLOWED_INDEX_EXCEEDED","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","isConcatSpreadable","spreadable","arg","$every","$filter","$findIndex","FIND_INDEX","SKIPS_HOLES","$find","FIND","flatMap","flat","depthArg","$includes","$IndexOf","un$IndexOf","ARRAY_ITERATOR","Arguments","un$Join","ES3_STRINGS","separator","$map","of","$reduceRight","CHROME_VERSION","$reduce","un$Reverse","un$Slice","HAS_SPECIES_SUPPORT","$some","internalSort","FF","IE_OR_EDGE","V8","un$Sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","itemsLength","items","arrayLength","getSortCompare","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","deleteCount","insertCount","actualDeleteCount","actualStart","getYear","getFullYear","setFullYear","setYear","yi","toGMTString","toUTCString","pv","dateToPrimitive","INVALID_DATE","un$DateToString","WebAssembly","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","WEB_ASSEMBLY","errorToString","ErrorPrototype","numberToString","HAS_INSTANCE","FUNCTION_NAME_EXISTS","nameRE","regExpExec","$stringify","tester","low","hi","fix","replacer","space","collection","$acosh","acosh","sqrt","MAX_VALUE","$asinh","asinh","$atanh","atanh","cbrt","LOG2E","clz32","$cosh","cosh","$hypot","hypot","value1","value2","sum","aLen","larg","$imul","imul","UINT16","xl","yl","log2","sinh","tanh","trunc","thisNumberValue","NUMBER","NativeNumber","NumberPrototype","toNumeric","primValue","toNumber","third","maxCode","digits","NumberWrapper","isSafeInteger","MIN_SAFE_INTEGER","un$ToExponential","toExponential","ROUNDS_PROPERLY","THROWS_ON_INFINITY_FRACTION","PROPER_NON_FINITE_THIS_CHECK","fractionDigits","un$ToFixed","acc","multiply","c2","divide","dataToString","fractDigits","x2","un$ToPrecision","toPrecision","precision","__defineGetter__","$entries","$freeze","freeze","fromEntries","getOwnPropertyDescriptors","nativeGetPrototypeOf","$isFrozen","isFrozen","$isSealed","isSealed","nativeKeys","__lookupGetter__","__lookupSetter__","$preventExtensions","$seal","seal","$values","$parseFloat","newPromiseCapabilityModule","perform","allSettled","capability","promiseResolve","alreadyCalled","reason","PROMISE_ANY_ERROR","alreadyResolved","alreadyRejected","NativePromise","real","onFinally","Internal","OwnPromiseCapability","PromiseWrapper","nativeThen","microtask","hostReportErrors","IS_BROWSER","PROMISE","getInternalPromiseState","NativePromisePrototype","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","dispatchEvent","NATIVE_REJECTION_EVENT","PromiseRejectionEvent","UNHANDLED_REJECTION","SUBCLASSING","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","INCORRECT_ITERATION","isThenable","callReaction","reaction","exited","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","initEvent","isUnhandled","unwrap","internalReject","internalResolve","executor","onFulfilled","onRejected","$promiseResolve","race","functionApply","thisArgument","argumentsList","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","Target","newTarget","$args","deleteProperty","objectGetPrototypeOf","isDataDescriptor","objectPreventExtensions","objectSetPrototypeOf","existingDescriptor","ownDescriptor","regExpFlags","NativeRegExp","getFlags","stringIndexOf","IS_NCG","CORRECT_NEW","RegExpWrapper","pattern","rawFlags","handled","thisIsRegExp","patternIsRegExp","flagsAreUndefined","rawPattern","named","brackets","ncg","groupid","groupname","handleNCG","handleDotAll","proxy","objectDefinePropertyModule","un$Test","$toString","TO_STRING","n$ToString","NOT_GENERIC","INCORRECT_NAME","rf","createHTML","forcedStringHTMLMethod","big","blink","bold","codePointAt","notARegExp","correctIsRegExpLogic","un$EndsWith","endsWith","CORRECT_IS_REGEXP_LOGIC","searchString","endPosition","fixed","fontcolor","fontsize","$fromCodePoint","fromCodePoint","italics","STRING_ITERATOR","point","link","advanceStringIndex","MATCH_ALL","REGEXP_STRING_ITERATOR","REGEXP_STRING","un$MatchAll","matchAll","WORKS_WITH_NON_GLOBAL_REGEX","$RegExpStringIterator","$global","fullUnicode","$matchAll","flagsValue","rx","fixRegExpWellKnownSymbolLogic","nativeMatch","maybeCallNative","matchStr","$padEnd","padEnd","$padStart","rawTemplate","literalSegments","getSubstitution","REPLACE","searchValue","replaceAll","replaceValue","IS_REG_EXP","functionalReplace","searchLength","advanceBy","endOfLastMatch","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","UNSAFE_SUBSTITUTE","results","accumulatedResult","nextSourcePosition","replacerArgs","sameValue","SEARCH","nativeSearch","searcher","previousLastIndex","small","callRegExpExec","MAX_UINT32","$push","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SPLIT","nativeSplit","internalSplit","limit","lim","lastLength","lastLastIndex","separatorCopy","splitter","unicodeMatching","un$StartsWith","startsWith","strike","sub","intLength","intEnd","intStart","sup","$trimEnd","forcedStringTrimMethod","trimEnd","trimRight","$trimStart","trimStart","trimLeft","$trim","defineWellKnownSymbol","NativeSymbol","SymbolPrototype","EmptyStringDescriptionStore","SymbolWrapper","symbolToString","symbolValueOf","nativeObjectCreate","getOwnPropertyNamesExternal","HIDDEN","QObject","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","StringToSymbolRegistry","SymbolToStringRegistry","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","$getOwnPropertySymbols","IS_OBJECT_PROTOTYPE","keyFor","sym","useSetter","useSimple","$replacer","u$ArrayCopyWithin","$fill","fromSpeciesAndList","predicate","createTypedArrayConstructor","$indexOf","ArrayIterators","arrayValues","arrayKeys","arrayEntries","GENERIC","ITERATOR_IS_VALUES","typedArrayValues","$join","$set","WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS","TO_OBJECT_BUG","ACCEPT_INCORRECT_ARGUMENTS","mod","expected","begin","beginIndex","$toLocaleString","toLocaleString","TO_LOCALE_STRING_BUG","Uint8ArrayPrototype","arrayToString","IS_NOT_ARRAY_METHOD","hex2","hex4","part","InternalWeakMap","collectionWeak","IS_IE11","$WeakMap","WeakMapPrototype","nativeDelete","nativeHas","nativeGet","nativeSet","disallowed","finalEq","$atob","NO_SPACES_IGNORE","atob","NO_ARG_RECEIVING_CHECK","bs","bc","$btoa","btoa","block","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","tryNodeRequire","DOMExceptionConstants","DOM_EXCEPTION","NativeDOMException","NativeDOMExceptionPrototype","HAS_STACK","codeFor","$DOMException","DOMExceptionPrototype","createGetterDescriptor","INCORRECT_CONSTRUCTOR","INCORRECT_CODE","MISSED_CONSTANTS","FORCED_CONSTRUCTOR","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","constantName","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","structuredCloneImplementation","getBuiltin","EvalError","ReferenceError","URIError","PerformanceMark","CompileError","LinkError","RuntimeError","Set","MapPrototype","mapHas","mapGet","mapSet","setAdd","booleanValueOf","numberValueOf","stringValueOf","PERFORMANCE_MARK","DATA_CLONE_ERROR","TRANSFERRING","checkBasicSemantic","set1","set2","nativeStructuredClone","structuredClone","FORCED_REPLACEMENT","structuredCloneFromMark","nativeRestrictedStructuredClone","throwUncloneable","throwUnpolyfillable","structuredCloneInternal","cloned","dataTransfer","deep","DOMQuad","p2","p3","p4","DataTransfer","files","ImageData","colorSpace","fromPoint","fromRect","fromMatrix","File","PROPER_TRANSFER","transfer","tryToTransfer","rawTransfer","transferredArray","transferred","canvas","OffscreenCanvas","getContext","transferFromImageBitmap","transferToImageBitmap","MSIE","scheduler","boundArgs","USE_NATIVE_URL","arraySort","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","n$Fetch","N$Request","Headers","RequestPrototype","HeadersPrototype","plus","sequences","percentSequence","percentDecode","replacements","URLSearchParamsIterator","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","getAll","found","headersHas","headersSet","wrapRequestOptions","headers","RequestConstructor","Request","EOF","arrayFrom","toASCII","URLSearchParamsModule","getInternalURLState","getInternalSearchParamsState","NativeURL","INVALID_SCHEME","INVALID_HOST","INVALID_PORT","ALPHA","ALPHANUMERIC","DIGIT","HEX_START","OCT","DEC","HEX","FORBIDDEN_HOST_CODE_POINT","FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT","LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE","TAB_AND_NEW_LINE","serializeHost","compress","ignore0","ipv6","maxIndex","currStart","currLength","findLongestZeroSequence","C0ControlPercentEncodeSet","fragmentPercentEncodeSet","pathPercentEncodeSet","userinfoPercentEncodeSet","percentEncode","specialSchemes","ftp","http","https","wss","isWindowsDriveLetter","normalized","startsWithWindowsDriveLetter","isSingleDot","segment","SCHEME_START","SCHEME","NO_SCHEME","SPECIAL_RELATIVE_OR_AUTHORITY","PATH_OR_AUTHORITY","RELATIVE","RELATIVE_SLASH","SPECIAL_AUTHORITY_SLASHES","SPECIAL_AUTHORITY_IGNORE_SLASHES","AUTHORITY","HOST","HOSTNAME","PORT","FILE","FILE_SLASH","FILE_HOST","PATH_START","PATH","CANNOT_BE_A_BASE_URL_PATH","QUERY","FRAGMENT","URLState","isBase","baseState","failure","urlString","stateOverride","codePoints","bufferCodePoints","pointer","seenAt","seenBracket","seenPasswordToken","scheme","password","fragment","cannotBeABaseURL","isSpecial","includesCredentials","codePoint","encodedCodePoints","parseHost","shortenPath","numbersSeen","ipv4Piece","swaps","swap","address","pieceIndex","parseIPv6","partsLength","numbers","ipv4","parts","parseIPv4","cannotHaveUsernamePasswordPort","pathSize","setHref","getOrigin","URLConstructor","origin","getProtocol","setProtocol","getUsername","setUsername","getPassword","setPassword","getHost","setHost","getHostname","setHostname","hostname","getPort","setPort","getPathname","setPathname","getSearch","setSearch","getSearchParams","getHash","setHash","URLPrototype","accessorDescriptor","nativeCreateObjectURL","createObjectURL","nativeRevokeObjectURL","revokeObjectURL","___CSS_LOADER_URL_IMPORT_0___","___CSS_LOADER_URL_IMPORT_1___","___CSS_LOADER_URL_IMPORT_2___","___CSS_LOADER_EXPORT___","___CSS_LOADER_URL_REPLACEMENT_0___","___CSS_LOADER_URL_REPLACEMENT_1___","___CSS_LOADER_URL_REPLACEMENT_2___","cssWithMappingToString","needLayer","modules","media","dedupe","supports","layer","alreadyImportedModules","_k","__esModule","needQuotes","cssMapping","base64","sourceMapping","sourceURLs","sourceRoot","stylesInDOM","getIndexByIdentifier","identifier","modulesToDom","idCountMap","identifiers","indexByIdentifier","sourceMap","references","updater","addElementStyle","byIndex","newObj","lastIdentifiers","newList","newLastIdentifiers","_i","styleTarget","HTMLIFrameElement","contentDocument","getTarget","styleElement","nonce","removeStyleElement","Blob","viewClasses","isArrayBufferView","normalizeName","normalizeValue","iteratorFor","header","consumed","bodyUsed","fileReaderReady","reader","readBlobAsArrayBuffer","blob","FileReader","readAsArrayBuffer","bufferClone","buf","Body","_initBody","_bodyInit","_bodyText","_bodyBlob","FormData","_bodyFormData","_bodyArrayBuffer","rejected","arrayBuffer","readAsText","chars","readArrayBufferAsText","formData","json","oldValue","upcased","credentials","signal","referrer","reParamSearch","form","Response","bodyInit","redirectStatuses","redirect","err","aborted","abortXhr","abort","rawHeaders","getAllResponseHeaders","responseURL","ontimeout","onabort","fixUrl","responseType","setRequestHeader","polyfill","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","definition","baseURI","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"ovenplayer.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,IARvB,CASGK,MAAM,WACT,O,2FCP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GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqB/kH,IAAjBglH,EACH,OAAOA,EAAaprH,QAGrB,IAAIC,EAASgrH,EAAyBE,GAAY,CACjDlgH,GAAIkgH,EAEJnrH,QAAS,IAOV,OAHAqrH,EAAoBF,GAAU58G,KAAKtO,EAAOD,QAASC,EAAQA,EAAOD,QAASkrH,GAGpEjrH,EAAOD,QAIfkrH,EAAoBxhH,EAAI2hH,ECxBxBH,EAAoBn/G,EAAI,SAAS9L,GAChC,IAAI22F,EAAS32F,GAAUA,EAAOylH,WAC7B,WAAa,OAAOzlH,EAAgB,SACpC,WAAa,OAAOA,GAErB,OADAirH,EAAoBtxD,EAAEg9B,EAAQ,CAAE9qF,EAAG8qF,IAC5BA,GCLRs0B,EAAoBtxD,EAAI,SAAS55D,EAASsrH,GACzC,IAAI,IAAIvwG,KAAOuwG,EACXJ,EAAoBliH,EAAEsiH,EAAYvwG,KAASmwG,EAAoBliH,EAAEhJ,EAAS+a,IAC5ErV,OAAOC,eAAe3F,EAAS+a,EAAK,CAAErW,YAAY,EAAMkB,IAAK0lH,EAAWvwG,MCJ3EmwG,EAAoBrxD,EAAI,WACvB,GAA0B,iBAAf+rB,WAAyB,OAAOA,WAC3C,IACC,OAAOzhF,MAAQ,IAAIo1D,SAAS,cAAb,GACd,MAAOzsD,GACR,GAAsB,iBAAXzJ,OAAqB,OAAOA,QALjB,GCAxB6nH,EAAoBliH,EAAI,SAASrF,EAAK6P,GAAQ,OAAO9N,OAAOW,UAAUoN,eAAelF,KAAK5K,EAAK6P,ICA/F03G,EAAoB/+G,EAAI3H,SAAS+mH,SAAWnrH,KAAK6zB,SAASu3D,KCG1D0/B,EAAoB,MACpBA,EAAoB,MACpB,IAAIM,EAAsBN,EAAoB,M","sources":["webpack://OvenPlayer/webpack/universalModuleDefinition","webpack://OvenPlayer/./src/js/version.js","webpack://OvenPlayer/./src/js/utils/strings.js","webpack://OvenPlayer/./src/js/api/caption/parser/SrtParser.js","webpack://OvenPlayer/./src/js/utils/captions/vttCue.js","webpack://OvenPlayer/./src/js/utils/captions/vttRegion.js","webpack://OvenPlayer/./src/js/api/caption/parser/VttParser.js","webpack://OvenPlayer/./src/js/utils/browser.js","webpack://OvenPlayer/./src/js/api/caption/parser/SmiParser.js","webpack://OvenPlayer/./src/js/api/caption/Loader.js","webpack://OvenPlayer/./src/js/api/constants.js","webpack://OvenPlayer/./src/js/api/caption/Manager.js","webpack://OvenPlayer/./src/js/api/EventEmitter.js","webpack://OvenPlayer/./src/js/utils/likeA$.js","webpack://OvenPlayer/./src/js/utils/validator.js","webpack://OvenPlayer/./src/js/api/SupportChecker.js","webpack://OvenPlayer/./src/js/api/ads/utils.js","webpack://OvenPlayer/./src/js/api/provider/utils.js","webpack://OvenPlayer/./src/js/api/ads/ima/Ad.js","webpack://OvenPlayer/./src/js/api/ads/ima/Listener.js","webpack://OvenPlayer/./src/js/utils/vast-client.js","webpack://OvenPlayer/./src/js/ovenplayer.sdk.js","webpack://OvenPlayer/./src/js/api/ads/vast/Ad.js","webpack://OvenPlayer/./src/js/api/ads/vast/Listener.js","webpack://OvenPlayer/./src/js/api/provider/html5/Provider.js","webpack://OvenPlayer/./src/js/api/provider/html5/Listener.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/Html5.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/WebRTCLoader.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/WebRTC.js","webpack://OvenPlayer/./src/js/utils/sizeHumanizer.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/Dash.js","webpack://OvenPlayer/./src/js/api/provider/html5/providers/Hls.js","webpack://OvenPlayer/./src/js/api/Api.js","webpack://OvenPlayer/./src/js/api/playlist/Manager.js","webpack://OvenPlayer/./src/js/api/provider/Controller.js","webpack://OvenPlayer/./src/js/api/media/Manager.js","webpack://OvenPlayer/./src/js/api/ApiExpansions.js","webpack://OvenPlayer/./src/js/api/Configurator.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/mainTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/playlistPanelTemplate.js","webpack://OvenPlayer/./src/js/view/engine/Templates.js","webpack://OvenPlayer/./src/js/view/example/textviewTemplate.js","webpack://OvenPlayer/./src/js/view/viewTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/mainTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/bigButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/thumbnailTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/waterMarkTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/messageBoxTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/spinnerTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/contextPanelTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/captionViewerTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/mainTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/volumeButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/progressBarTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/playButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/settingButtonTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/frameButtonsTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/timeDisplayTemplate.js","webpack://OvenPlayer/./src/js/view/components/controls/fullScreenButtonTemplate.js","webpack://OvenPlayer/./src/js/view/engine/OvenTemplate.js","webpack://OvenPlayer/./src/js/view/components/helpers/messageBox.js","webpack://OvenPlayer/./src/js/view/components/helpers/main.js","webpack://OvenPlayer/./src/js/view/components/helpers/bigButton.js","webpack://OvenPlayer/./src/js/view/components/helpers/thumbnail.js","webpack://OvenPlayer/./src/js/view/components/helpers/spinner.js","webpack://OvenPlayer/./src/js/view/components/helpers/captionViewer.js","webpack://OvenPlayer/./src/js/view/components/helpers/waterMark.js","webpack://OvenPlayer/./src/js/view/global/PanelManager.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/main.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/speedPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/sourcePanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/qualityPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/audioTrackPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/captionPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingPanel/timeDisplayPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/settingButton.js","webpack://OvenPlayer/./src/js/view/components/controls/main.js","webpack://OvenPlayer/./src/js/view/components/controls/playlistPanel.js","webpack://OvenPlayer/./src/js/view/components/controls/progressBar.js","webpack://OvenPlayer/./src/js/view/components/controls/fullScreenButton.js","webpack://OvenPlayer/./src/js/view/components/controls/timeDisplay.js","webpack://OvenPlayer/./src/js/view/components/controls/playButton.js","webpack://OvenPlayer/./src/js/view/components/controls/volumeButton.js","webpack://OvenPlayer/./src/stylesheet/ovenplayer.less?0fb6","webpack://OvenPlayer/./src/js/ovenplayer.js","webpack://OvenPlayer/./src/js/view/view.js","webpack://OvenPlayer/./src/js/view/components/helpers/contextPanel.js","webpack://OvenPlayer/./src/js/utils/polyfills/dom.js","webpack://OvenPlayer/./src/js/utils/resize-sensor.js","webpack://OvenPlayer/./src/js/utils/underscore.js","webpack://OvenPlayer/./node_modules/core-js/internals/a-callable.js","webpack://OvenPlayer/./node_modules/core-js/internals/a-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/a-possible-prototype.js","webpack://OvenPlayer/./node_modules/core-js/internals/add-to-unscopables.js","webpack://OvenPlayer/./node_modules/core-js/internals/advance-string-index.js","webpack://OvenPlayer/./node_modules/core-js/internals/an-instance.js","webpack://OvenPlayer/./node_modules/core-js/internals/an-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer-native.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer-view-core.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-buffer.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-copy-within.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-fill.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-for-each.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-from-constructor-and-list.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-from.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-includes.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-iteration.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-last-index-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-method-is-strict.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-reduce.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-slice-simple.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-slice.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-sort.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-species-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/array-species-create.js","webpack://OvenPlayer/./node_modules/core-js/internals/base64-map.js","webpack://OvenPlayer/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://OvenPlayer/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://OvenPlayer/./node_modules/core-js/internals/classof-raw.js","webpack://OvenPlayer/./node_modules/core-js/internals/classof.js","webpack://OvenPlayer/./node_modules/core-js/internals/clear-error-stack.js","webpack://OvenPlayer/./node_modules/core-js/internals/collection-strong.js","webpack://OvenPlayer/./node_modules/core-js/internals/collection-weak.js","webpack://OvenPlayer/./node_modules/core-js/internals/collection.js","webpack://OvenPlayer/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://OvenPlayer/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://OvenPlayer/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-html.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-iterator-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/internals/create-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/date-to-iso-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/date-to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/internals/define-iterator.js","webpack://OvenPlayer/./node_modules/core-js/internals/define-well-known-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/descriptors.js","webpack://OvenPlayer/./node_modules/core-js/internals/document-create-element.js","webpack://OvenPlayer/./node_modules/core-js/internals/dom-exception-constants.js","webpack://OvenPlayer/./node_modules/core-js/internals/dom-iterables.js","webpack://OvenPlayer/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-ff-version.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-browser.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-ios.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-node.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-user-agent.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-v8-version.js","webpack://OvenPlayer/./node_modules/core-js/internals/engine-webkit-version.js","webpack://OvenPlayer/./node_modules/core-js/internals/enum-bug-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/error-stack-installable.js","webpack://OvenPlayer/./node_modules/core-js/internals/error-to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/export.js","webpack://OvenPlayer/./node_modules/core-js/internals/fails.js","webpack://OvenPlayer/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://OvenPlayer/./node_modules/core-js/internals/flatten-into-array.js","webpack://OvenPlayer/./node_modules/core-js/internals/freezing.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-apply.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-bind-context.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-bind-native.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-bind.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-call.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-name.js","webpack://OvenPlayer/./node_modules/core-js/internals/function-uncurry-this.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-built-in.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-iterator-method.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-iterator.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-method.js","webpack://OvenPlayer/./node_modules/core-js/internals/get-substitution.js","webpack://OvenPlayer/./node_modules/core-js/internals/global.js","webpack://OvenPlayer/./node_modules/core-js/internals/has-own-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/hidden-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/host-report-errors.js","webpack://OvenPlayer/./node_modules/core-js/internals/html.js","webpack://OvenPlayer/./node_modules/core-js/internals/ie8-dom-define.js","webpack://OvenPlayer/./node_modules/core-js/internals/ieee754.js","webpack://OvenPlayer/./node_modules/core-js/internals/indexed-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/inherit-if-required.js","webpack://OvenPlayer/./node_modules/core-js/internals/inspect-source.js","webpack://OvenPlayer/./node_modules/core-js/internals/install-error-cause.js","webpack://OvenPlayer/./node_modules/core-js/internals/internal-metadata.js","webpack://OvenPlayer/./node_modules/core-js/internals/internal-state.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-array.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-callable.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-data-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-integral-number.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-pure.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-regexp.js","webpack://OvenPlayer/./node_modules/core-js/internals/is-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterate.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterator-close.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterators-core.js","webpack://OvenPlayer/./node_modules/core-js/internals/iterators.js","webpack://OvenPlayer/./node_modules/core-js/internals/length-of-array-like.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-expm1.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-fround.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-log10.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-log1p.js","webpack://OvenPlayer/./node_modules/core-js/internals/math-sign.js","webpack://OvenPlayer/./node_modules/core-js/internals/microtask.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-promise-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-url.js","webpack://OvenPlayer/./node_modules/core-js/internals/native-weak-map.js","webpack://OvenPlayer/./node_modules/core-js/internals/new-promise-capability.js","webpack://OvenPlayer/./node_modules/core-js/internals/normalize-string-argument.js","webpack://OvenPlayer/./node_modules/core-js/internals/not-a-regexp.js","webpack://OvenPlayer/./node_modules/core-js/internals/number-is-finite.js","webpack://OvenPlayer/./node_modules/core-js/internals/number-parse-float.js","webpack://OvenPlayer/./node_modules/core-js/internals/number-parse-int.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-assign.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-create.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-define-properties.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-define-property.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-is-extensible.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-keys-internal.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-prototype-accessors-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-to-array.js","webpack://OvenPlayer/./node_modules/core-js/internals/object-to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/internals/own-keys.js","webpack://OvenPlayer/./node_modules/core-js/internals/path.js","webpack://OvenPlayer/./node_modules/core-js/internals/perform.js","webpack://OvenPlayer/./node_modules/core-js/internals/promise-resolve.js","webpack://OvenPlayer/./node_modules/core-js/internals/queue.js","webpack://OvenPlayer/./node_modules/core-js/internals/redefine-all.js","webpack://OvenPlayer/./node_modules/core-js/internals/redefine.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-exec.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-flags.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://OvenPlayer/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://OvenPlayer/./node_modules/core-js/internals/require-object-coercible.js","webpack://OvenPlayer/./node_modules/core-js/internals/same-value.js","webpack://OvenPlayer/./node_modules/core-js/internals/set-global.js","webpack://OvenPlayer/./node_modules/core-js/internals/set-species.js","webpack://OvenPlayer/./node_modules/core-js/internals/set-to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/internals/shared-key.js","webpack://OvenPlayer/./node_modules/core-js/internals/shared-store.js","webpack://OvenPlayer/./node_modules/core-js/internals/shared.js","webpack://OvenPlayer/./node_modules/core-js/internals/species-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-html-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-multibyte.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-pad.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-punycode-to-ascii.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-repeat.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-trim-forced.js","webpack://OvenPlayer/./node_modules/core-js/internals/string-trim.js","webpack://OvenPlayer/./node_modules/core-js/internals/task.js","webpack://OvenPlayer/./node_modules/core-js/internals/this-number-value.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-absolute-index.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-index.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-indexed-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-length.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-object.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-offset.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-positive-integer.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-property-key.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-string-tag-support.js","webpack://OvenPlayer/./node_modules/core-js/internals/to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/try-node-require.js","webpack://OvenPlayer/./node_modules/core-js/internals/try-to-string.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-from-species-and-list.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-from.js","webpack://OvenPlayer/./node_modules/core-js/internals/typed-array-species-constructor.js","webpack://OvenPlayer/./node_modules/core-js/internals/uid.js","webpack://OvenPlayer/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://OvenPlayer/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://OvenPlayer/./node_modules/core-js/internals/validate-arguments-length.js","webpack://OvenPlayer/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://OvenPlayer/./node_modules/core-js/internals/well-known-symbol.js","webpack://OvenPlayer/./node_modules/core-js/internals/whitespaces.js","webpack://OvenPlayer/./node_modules/core-js/internals/wrap-error-constructor-with-cause.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.aggregate-error.cause.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.aggregate-error.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array-buffer.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array-buffer.is-view.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array-buffer.slice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.at.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.concat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.copy-within.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.every.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.fill.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.filter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.find-index.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.find.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.flat-map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.flat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.for-each.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.from.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.includes.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.is-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.join.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.last-index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.reduce-right.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.reduce.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.reverse.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.slice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.some.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.sort.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.species.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.splice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.unscopables.flat-map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.array.unscopables.flat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.data-view.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.get-year.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.now.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.set-year.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-gmt-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-iso-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-json.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.date.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.error.cause.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.error.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.escape.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.function.bind.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.function.has-instance.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.function.name.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.global-this.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.json.stringify.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.acosh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.asinh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.atanh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.cbrt.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.clz32.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.cosh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.expm1.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.fround.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.hypot.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.imul.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.log10.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.log1p.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.log2.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.sign.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.sinh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.tanh.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.math.trunc.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.epsilon.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-finite.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-nan.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.is-safe-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.max-safe-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.min-safe-integer.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.parse-float.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.parse-int.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.to-exponential.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.to-fixed.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.number.to-precision.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.assign.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.create.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-getter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-properties.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-property.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.define-setter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.entries.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.freeze.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.from-entries.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-own-property-names.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.has-own.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is-extensible.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is-frozen.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is-sealed.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.is.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.keys.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.lookup-getter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.lookup-setter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.prevent-extensions.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.seal.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.object.values.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.parse-float.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.parse-int.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.all-settled.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.any.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.finally.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.promise.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.apply.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.construct.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.define-property.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.delete-property.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.get-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.get.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.has.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.is-extensible.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.own-keys.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.prevent-extensions.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.set-prototype-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.set.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.reflect.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.dot-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.exec.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.flags.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.sticky.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.test.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.set.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.anchor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.at-alternative.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.big.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.blink.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.bold.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.code-point-at.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.ends-with.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.fixed.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.fontcolor.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.fontsize.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.from-code-point.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.includes.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.italics.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.link.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.match-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.match.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.pad-end.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.pad-start.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.raw.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.repeat.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.replace-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.replace.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.search.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.small.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.split.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.starts-with.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.strike.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.sub.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.substr.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.sup.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.trim-end.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.trim-start.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.string.trim.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.description.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.has-instance.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.match-all.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.match.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.replace.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.search.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.species.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.split.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.to-primitive.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.symbol.unscopables.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.at.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.copy-within.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.every.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.fill.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.filter.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.find-index.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.find.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.float32-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.float64-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.for-each.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.from.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.includes.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.int16-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.int32-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.int8-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.join.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.last-index-of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.of.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.reduce-right.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.reduce.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.reverse.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.set.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.slice.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.some.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.sort.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.subarray.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.to-locale-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.to-string.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint16-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint32-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint8-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.unescape.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.weak-map.js","webpack://OvenPlayer/./node_modules/core-js/modules/es.weak-set.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.atob.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.btoa.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-exception.constructor.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-exception.stack.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.dom-exception.to-string-tag.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.immediate.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.queue-microtask.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.structured-clone.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.timers.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.url-search-params.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.url.js","webpack://OvenPlayer/./node_modules/core-js/modules/web.url.to-json.js","webpack://OvenPlayer/./node_modules/core-js/stable/index.js","webpack://OvenPlayer/./src/stylesheet/ovenplayer.less","webpack://OvenPlayer/./node_modules/css-loader/dist/runtime/api.js","webpack://OvenPlayer/./node_modules/css-loader/dist/runtime/getUrl.js","webpack://OvenPlayer/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://OvenPlayer/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://OvenPlayer/./node_modules/whatwg-fetch/fetch.js","webpack://OvenPlayer/webpack/bootstrap","webpack://OvenPlayer/webpack/runtime/compat get default export","webpack://OvenPlayer/webpack/runtime/define property getters","webpack://OvenPlayer/webpack/runtime/global","webpack://OvenPlayer/webpack/runtime/hasOwnProperty shorthand","webpack://OvenPlayer/webpack/runtime/jsonp chunk loading","webpack://OvenPlayer/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"OvenPlayer\"] = factory();\n\telse\n\t\troot[\"OvenPlayer\"] = factory();\n})(self, function() {\nreturn ","/**\r\n * Created by hoho on 2018. 6. 29..\r\n */\r\nexport const version = __VERSION__;\r\n","import _ from 'utils/underscore';\r\n\r\nexport function trim(string) {\r\n return string ? string.replace(/^\\s+|\\s+$/g, '') : \"\";\r\n}\r\n\r\n/**\r\n * extractExtension\r\n *\r\n * @param {string} path for url\r\n * @return {string} Extension\r\n */\r\nexport const extractExtension = function(path) {\r\n if(!path || path.substr(0,4)=='rtmp') {\r\n return \"\";\r\n }\r\n function getAzureFileFormat(path) {\r\n let extension = \"\";\r\n if ((/[(,]format=mpd-/i).test(path)) {\r\n extension = 'mpd';\r\n }else if ((/[(,]format=m3u8-/i).test(path)) {\r\n extension = 'm3u8';\r\n }\r\n return extension;\r\n }\r\n\r\n let azuredFormat = getAzureFileFormat(path);\r\n if(azuredFormat) {\r\n return azuredFormat;\r\n }\r\n path = path.split('?')[0].split('#')[0];\r\n if(path.lastIndexOf('.') > -1) {\r\n return path.substr(path.lastIndexOf('.') + 1, path.length).toLowerCase();\r\n }else{\r\n return \"\";\r\n }\r\n};\r\n\r\n\r\n/**\r\n * naturalHms\r\n *\r\n * @param {number | string} second The second\r\n * @return {string} formatted String\r\n */\r\nexport function naturalHms(second) {\r\n let secNum = parseInt(second, 10);\r\n if(!second){\r\n return \"00:00\";\r\n }\r\n let hours = Math.floor(secNum / 3600);\r\n let minutes = Math.floor((secNum - (hours * 3600)) / 60);\r\n let seconds = secNum - (hours * 3600) - (minutes * 60);\r\n\r\n //if (hours > 0) {minutes = \"0\"+minutes;}\r\n if (minutes < 10) {minutes = \"0\"+minutes;}\r\n if (seconds < 10) {seconds = \"0\"+seconds;}\r\n\r\n if (hours > 0) {\r\n return hours+':'+minutes+':'+seconds;\r\n } else {\r\n return minutes+':'+seconds;\r\n }\r\n}\r\n\r\n\r\nexport function hmsToSecond(str, frameRate) {\r\n if(!str) {\r\n return 0;\r\n }\r\n if(_.isNumber(str) && !_.isNaN(str)){\r\n return str;\r\n }\r\n str = str.replace(',', '.');\r\n let arr = str.split(':');\r\n let arrLength = arr.length;\r\n let sec = 0;\r\n if (str.slice(-1) === 's'){\r\n sec = parseFloat(str);\r\n }else if (str.slice(-1) === 'm'){\r\n sec = parseFloat(str) * 60;\r\n }else if (str.slice(-1) === 'h'){\r\n sec = parseFloat(str) * 3600;\r\n }else if (arrLength > 1) {\r\n var secIndex = arrLength - 1;\r\n if (arrLength === 4) {\r\n if (frameRate) {\r\n sec = parseFloat(arr[secIndex]) / frameRate;\r\n }\r\n secIndex -= 1;\r\n }\r\n sec += parseFloat(arr[secIndex]);\r\n sec += parseFloat(arr[secIndex - 1]) * 60;\r\n if (arrLength >= 3) {\r\n sec += parseFloat(arr[secIndex - 2]) * 3600;\r\n }\r\n } else {\r\n sec = parseFloat(str);\r\n }\r\n if (_.isNaN(sec)) {\r\n return 0;\r\n }\r\n return sec;\r\n}","/**\r\n * Created by hoho on 2018. 5. 29..\r\n */\r\nimport { hmsToSecond, trim } from \"utils/strings\"\r\n\r\nfunction _entry(data) {\r\n var entry = {};\r\n var array = data.split('\\r\\n');\r\n if (array.length === 1) {\r\n array = data.split('\\n');\r\n }\r\n var idx = 1;\r\n if (array[0].indexOf(' --> ') > 0) {\r\n idx = 0;\r\n }\r\n if (array.length > idx + 1 && array[idx + 1]) {\r\n // This line contains the start and end.\r\n var line = array[idx];\r\n var index = line.indexOf(' --> ');\r\n if (index > 0) {\r\n entry.start = hmsToSecond(line.substr(0, index));\r\n entry.end = hmsToSecond(line.substr(index + 5));\r\n entry.text = array.slice(idx + 1).join('\\r\\n');\r\n }\r\n }\r\n return entry;\r\n\r\n}\r\n\r\nconst SrtParser = function(data) {\r\n var captions = [];\r\n\r\n data = trim(data);\r\n\r\n var list = data.split('\\r\\n\\r\\n');\r\n if (list.length === 1) {\r\n list = data.split('\\n\\n');\r\n }\r\n\r\n\r\n\r\n for (var i = 0; i < list.length; i++) {\r\n if (list[i] === 'WEBVTT') {\r\n continue;\r\n }\r\n var entry = _entry(list[i]);\r\n if (entry.text) {\r\n captions.push(entry);\r\n }\r\n }\r\n\r\n return captions;\r\n}\r\n\r\n\r\n\r\nexport default SrtParser;","/**\r\n * Copyright 2013 vtt.js Contributors\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nlet VTTCue = window.VTTCue;\r\n\r\nvar autoKeyword = \"auto\";\r\nvar directionSetting = {\r\n \"\": true,\r\n \"lr\": true,\r\n \"rl\": true\r\n};\r\nvar alignSetting = {\r\n \"start\": true,\r\n \"middle\": true,\r\n \"end\": true,\r\n \"left\": true,\r\n \"right\": true\r\n};\r\n\r\nfunction findDirectionSetting(value) {\r\n if (typeof value !== \"string\") {\r\n return false;\r\n }\r\n var dir = directionSetting[value.toLowerCase()];\r\n return dir ? value.toLowerCase() : false;\r\n}\r\n\r\nfunction findAlignSetting(value) {\r\n if (typeof value !== \"string\") {\r\n return false;\r\n }\r\n var align = alignSetting[value.toLowerCase()];\r\n return align ? value.toLowerCase() : false;\r\n}\r\n\r\nfunction extend(obj) {\r\n var i = 1;\r\n for (; i < arguments.length; i++) {\r\n var cobj = arguments[i];\r\n for (var p in cobj) {\r\n obj[p] = cobj[p];\r\n }\r\n }\r\n\r\n return obj;\r\n}\r\nif(!VTTCue){\r\n VTTCue = function (startTime, endTime, text) {\r\n var cue = this;\r\n var isIE8 = (/MSIE\\s8\\.0/).test(navigator.userAgent);\r\n var baseObj = {};\r\n\r\n if (isIE8) {\r\n cue = document.createElement('custom');\r\n } else {\r\n baseObj.enumerable = true;\r\n }\r\n\r\n /**\r\n * Shim implementation specific properties. These properties are not in\r\n * the spec.\r\n */\r\n\r\n // Lets us know when the VTTCue's data has changed in such a way that we need\r\n // to recompute its display state. This lets us compute its display state\r\n // lazily.\r\n cue.hasBeenReset = false;\r\n\r\n /**\r\n * VTTCue and TextTrackCue properties\r\n * http://dev.w3.org/html5/webvtt/#vttcue-interface\r\n */\r\n\r\n var _id = \"\";\r\n var _pauseOnExit = false;\r\n var _startTime = startTime;\r\n var _endTime = endTime;\r\n var _text = text;\r\n var _region = null;\r\n var _vertical = \"\";\r\n var _snapToLines = true;\r\n var _line = \"auto\";\r\n var _lineAlign = \"start\";\r\n var _position = 50;\r\n var _positionAlign = \"middle\";\r\n var _size = 50;\r\n var _align = \"middle\";\r\n\r\n Object.defineProperty(cue,\r\n \"id\", extend({}, baseObj, {\r\n get: function() {\r\n return _id;\r\n },\r\n set: function(value) {\r\n _id = \"\" + value;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"pauseOnExit\", extend({}, baseObj, {\r\n get: function() {\r\n return _pauseOnExit;\r\n },\r\n set: function(value) {\r\n _pauseOnExit = !!value;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"startTime\", extend({}, baseObj, {\r\n get: function() {\r\n return _startTime;\r\n },\r\n set: function(value) {\r\n if (typeof value !== \"number\") {\r\n throw new TypeError(\"Start time must be set to a number.\");\r\n }\r\n _startTime = value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"endTime\", extend({}, baseObj, {\r\n get: function() {\r\n return _endTime;\r\n },\r\n set: function(value) {\r\n if (typeof value !== \"number\") {\r\n throw new TypeError(\"End time must be set to a number.\");\r\n }\r\n _endTime = value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"text\", extend({}, baseObj, {\r\n get: function() {\r\n return _text;\r\n },\r\n set: function(value) {\r\n _text = \"\" + value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"region\", extend({}, baseObj, {\r\n get: function() {\r\n return _region;\r\n },\r\n set: function(value) {\r\n _region = value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"vertical\", extend({}, baseObj, {\r\n get: function() {\r\n return _vertical;\r\n },\r\n set: function(value) {\r\n var setting = findDirectionSetting(value);\r\n // Have to check for false because the setting an be an empty string.\r\n if (setting === false) {\r\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\r\n }\r\n _vertical = setting;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"snapToLines\", extend({}, baseObj, {\r\n get: function() {\r\n return _snapToLines;\r\n },\r\n set: function(value) {\r\n _snapToLines = !!value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"line\", extend({}, baseObj, {\r\n get: function() {\r\n return _line;\r\n },\r\n set: function(value) {\r\n if (typeof value !== \"number\" && value !== autoKeyword) {\r\n throw new SyntaxError(\"An invalid number or illegal string was specified.\");\r\n }\r\n _line = value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"lineAlign\", extend({}, baseObj, {\r\n get: function() {\r\n return _lineAlign;\r\n },\r\n set: function(value) {\r\n var setting = findAlignSetting(value);\r\n if (!setting) {\r\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\r\n }\r\n _lineAlign = setting;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"position\", extend({}, baseObj, {\r\n get: function() {\r\n return _position;\r\n },\r\n set: function(value) {\r\n if (value < 0 || value > 100) {\r\n throw new Error(\"Position must be between 0 and 100.\");\r\n }\r\n _position = value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"positionAlign\", extend({}, baseObj, {\r\n get: function() {\r\n return _positionAlign;\r\n },\r\n set: function(value) {\r\n var setting = findAlignSetting(value);\r\n if (!setting) {\r\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\r\n }\r\n _positionAlign = setting;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"size\", extend({}, baseObj, {\r\n get: function() {\r\n return _size;\r\n },\r\n set: function(value) {\r\n if (value < 0 || value > 100) {\r\n throw new Error(\"Size must be between 0 and 100.\");\r\n }\r\n _size = value;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n Object.defineProperty(cue,\r\n \"align\", extend({}, baseObj, {\r\n get: function() {\r\n return _align;\r\n },\r\n set: function(value) {\r\n var setting = findAlignSetting(value);\r\n if (!setting) {\r\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\r\n }\r\n _align = setting;\r\n this.hasBeenReset = true;\r\n }\r\n }));\r\n\r\n /**\r\n * Other spec defined properties\r\n */\r\n\r\n // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-cue-display-state\r\n cue.displayState = undefined;\r\n\r\n if (isIE8) {\r\n return cue;\r\n }\r\n }\r\n\r\n /**\r\n * VTTCue methods\r\n */\r\n\r\n VTTCue.prototype.getCueAsHTML = function() {\r\n // Assume WebVTT.convertCueToDOMTree is on the global.\r\n return WebVTT.convertCueToDOMTree(window, this.text);\r\n };\r\n\r\n};\r\n\r\nexport default VTTCue;","/**\r\n * Copyright 2013 vtt.js Contributors\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nlet VTTRegion = \"\";\r\n\r\nvar scrollSetting = {\r\n \"\": true,\r\n \"up\": true\r\n};\r\n\r\nfunction findScrollSetting(value) {\r\n if (typeof value !== \"string\") {\r\n return false;\r\n }\r\n var scroll = scrollSetting[value.toLowerCase()];\r\n return scroll ? value.toLowerCase() : false;\r\n}\r\n\r\nfunction isValidPercentValue(value) {\r\n return typeof value === \"number\" && (value >= 0 && value <= 100);\r\n}\r\n\r\n// VTTRegion shim http://dev.w3.org/html5/webvtt/#vttregion-interface\r\nVTTRegion = function() {\r\n var _width = 100;\r\n var _lines = 3;\r\n var _regionAnchorX = 0;\r\n var _regionAnchorY = 100;\r\n var _viewportAnchorX = 0;\r\n var _viewportAnchorY = 100;\r\n var _scroll = \"\";\r\n\r\n Object.defineProperties(this, {\r\n \"width\": {\r\n enumerable: true,\r\n get: function() {\r\n return _width;\r\n },\r\n set: function(value) {\r\n if (!isValidPercentValue(value)) {\r\n throw new Error(\"Width must be between 0 and 100.\");\r\n }\r\n _width = value;\r\n }\r\n },\r\n \"lines\": {\r\n enumerable: true,\r\n get: function() {\r\n return _lines;\r\n },\r\n set: function(value) {\r\n if (typeof value !== \"number\") {\r\n throw new TypeError(\"Lines must be set to a number.\");\r\n }\r\n _lines = value;\r\n }\r\n },\r\n \"regionAnchorY\": {\r\n enumerable: true,\r\n get: function() {\r\n return _regionAnchorY;\r\n },\r\n set: function(value) {\r\n if (!isValidPercentValue(value)) {\r\n throw new Error(\"RegionAnchorX must be between 0 and 100.\");\r\n }\r\n _regionAnchorY = value;\r\n }\r\n },\r\n \"regionAnchorX\": {\r\n enumerable: true,\r\n get: function() {\r\n return _regionAnchorX;\r\n },\r\n set: function(value) {\r\n if(!isValidPercentValue(value)) {\r\n throw new Error(\"RegionAnchorY must be between 0 and 100.\");\r\n }\r\n _regionAnchorX = value;\r\n }\r\n },\r\n \"viewportAnchorY\": {\r\n enumerable: true,\r\n get: function() {\r\n return _viewportAnchorY;\r\n },\r\n set: function(value) {\r\n if (!isValidPercentValue(value)) {\r\n throw new Error(\"ViewportAnchorY must be between 0 and 100.\");\r\n }\r\n _viewportAnchorY = value;\r\n }\r\n },\r\n \"viewportAnchorX\": {\r\n enumerable: true,\r\n get: function() {\r\n return _viewportAnchorX;\r\n },\r\n set: function(value) {\r\n if (!isValidPercentValue(value)) {\r\n throw new Error(\"ViewportAnchorX must be between 0 and 100.\");\r\n }\r\n _viewportAnchorX = value;\r\n }\r\n },\r\n \"scroll\": {\r\n enumerable: true,\r\n get: function() {\r\n return _scroll;\r\n },\r\n set: function(value) {\r\n var setting = findScrollSetting(value);\r\n // Have to check for false as an empty string is a legal value.\r\n if (setting === false) {\r\n throw new SyntaxError(\"An invalid or illegal string was specified.\");\r\n }\r\n _scroll = setting;\r\n }\r\n }\r\n });\r\n}\r\n\r\nexport default VTTRegion;","/* vtt.js - v0.12.1 (https://github.com/mozilla/vtt.js) built on 03-12-2015 */\r\nimport VTTCue from 'utils/captions/vttCue';\r\nimport VTTRegion from 'utils/captions/vttRegion';\r\n\r\n/**\r\n * Copyright 2013 vtt.js Contributors\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\r\n/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */\r\n\r\nlet WebVTT = function(){};\r\nfunction makeColorSet(color, opacity) {\r\n if(opacity === undefined) {\r\n opacity = 1;\r\n }\r\n return \"rgba(\" + [parseInt(color.substring(0, 2), 16),\r\n parseInt(color.substring(2, 4), 16),\r\n parseInt(color.substring(4, 6), 16),\r\n opacity].join(\",\") + \")\";\r\n}\r\n\r\nvar WebVTTPrefs = ['webvtt.font.color', 'webvtt.font.opacity', 'webvtt.font.scale',\r\n 'webvtt.bg.color', 'webvtt.bg.opacity',\r\n 'webvtt.edge.color', 'webvtt.edge.type'];\r\n\r\nvar fontScale = 1;\r\n\r\nfunction observe(subject, topic, data) {\r\n switch (data) {\r\n case \"webvtt.font.color\":\r\n case \"webvtt.font.opacity\":\r\n var fontColor = Services.prefs.getCharPref(\"webvtt.font.color\");\r\n var fontOpacity = Services.prefs.getIntPref(\"webvtt.font.opacity\") / 100;\r\n WebVTTSet.fontSet = makeColorSet(fontColor, fontOpacity);\r\n break;\r\n case \"webvtt.font.scale\":\r\n fontScale = Services.prefs.getIntPref(\"webvtt.font.scale\") / 100;\r\n break;\r\n case \"webvtt.bg.color\":\r\n case \"webvtt.bg.opacity\":\r\n var backgroundColor = Services.prefs.getCharPref(\"webvtt.bg.color\");\r\n var backgroundOpacity = Services.prefs.getIntPref(\"webvtt.bg.opacity\") / 100;\r\n WebVTTSet.backgroundSet = makeColorSet(backgroundColor, backgroundOpacity);\r\n break;\r\n case \"webvtt.edge.color\":\r\n case \"webvtt.edge.type\":\r\n var edgeTypeList = [\"\", \"0px 0px \", \"4px 4px 4px \", \"-2px -2px \", \"2px 2px \"];\r\n var edgeType = Services.prefs.getIntPref(\"webvtt.edge.type\");\r\n var edgeColor = Services.prefs.getCharPref(\"webvtt.edge.color\");\r\n WebVTTSet.edgeSet = edgeTypeList[edgeType] + makeColorSet(edgeColor);\r\n break;\r\n }\r\n}\r\n\r\nif(typeof Services !== \"undefined\") {\r\n var WebVTTSet = {};\r\n WebVTTPrefs.forEach(function (pref) {\r\n observe(undefined, undefined, pref);\r\n Services.prefs.addObserver(pref, observe, false);\r\n });\r\n}\r\n\r\nvar _objCreate = Object.create || (function() {\r\n function F() {}\r\n return function(o) {\r\n if (arguments.length !== 1) {\r\n throw new Error('Object.create shim only accepts one parameter.');\r\n }\r\n F.prototype = o;\r\n return new F();\r\n };\r\n })();\r\n\r\n// Creates a new ParserError object from an errorData object. The errorData\r\n// object should have default code and message properties. The default message\r\n// property can be overriden by passing in a message parameter.\r\n// See ParsingError.Errors below for acceptable errors.\r\nfunction ParsingError(errorData, message) {\r\n this.name = \"ParsingError\";\r\n this.code = errorData.code;\r\n this.message = message || errorData.message;\r\n}\r\nParsingError.prototype = _objCreate(Error.prototype);\r\nParsingError.prototype.constructor = ParsingError;\r\n\r\n// ParsingError metadata for acceptable ParsingErrors.\r\nParsingError.Errors = {\r\n BadSignature: {\r\n code: 0,\r\n message: \"Malformed WebVTT signature.\"\r\n },\r\n BadTimeStamp: {\r\n code: 1,\r\n message: \"Malformed time stamp.\"\r\n }\r\n};\r\n\r\n// Try to parse input as a time stamp.\r\nfunction parseTimeStamp(input) {\r\n\r\n function computeSeconds(h, m, s, f) {\r\n return (h | 0) * 3600 + (m | 0) * 60 + (s | 0) + (f | 0) / 1000;\r\n }\r\n\r\n var m = input.match(/^(\\d+):(\\d{2})(:\\d{2})?\\.(\\d{3})/);\r\n if (!m) {\r\n return null;\r\n }\r\n\r\n if (m[3]) {\r\n // Timestamp takes the form of [hours]:[minutes]:[seconds].[milliseconds]\r\n return computeSeconds(m[1], m[2], m[3].replace(\":\", \"\"), m[4]);\r\n } else if (m[1] > 59) {\r\n // Timestamp takes the form of [hours]:[minutes].[milliseconds]\r\n // First position is hours as it's over 59.\r\n return computeSeconds(m[1], m[2], 0, m[4]);\r\n } else {\r\n // Timestamp takes the form of [minutes]:[seconds].[milliseconds]\r\n return computeSeconds(0, m[1], m[2], m[4]);\r\n }\r\n}\r\n\r\n// A settings object holds key/value pairs and will ignore anything but the first\r\n// assignment to a specific key.\r\nfunction Settings() {\r\n this.values = _objCreate(null);\r\n}\r\n\r\nSettings.prototype = {\r\n // Only accept the first assignment to any key.\r\n set: function(k, v) {\r\n if (!this.get(k) && v !== \"\") {\r\n this.values[k] = v;\r\n }\r\n },\r\n // Return the value for a key, or a default value.\r\n // If 'defaultKey' is passed then 'dflt' is assumed to be an object with\r\n // a number of possible default values as properties where 'defaultKey' is\r\n // the key of the property that will be chosen; otherwise it's assumed to be\r\n // a single value.\r\n get: function(k, dflt, defaultKey) {\r\n if (defaultKey) {\r\n return this.has(k) ? this.values[k] : dflt[defaultKey];\r\n }\r\n return this.has(k) ? this.values[k] : dflt;\r\n },\r\n // Check whether we have a value for a key.\r\n has: function(k) {\r\n return k in this.values;\r\n },\r\n // Accept a setting if its one of the given alternatives.\r\n alt: function(k, v, a) {\r\n for (var n = 0; n < a.length; ++n) {\r\n if (v === a[n]) {\r\n this.set(k, v);\r\n break;\r\n }\r\n }\r\n },\r\n // Accept a setting if its a valid (signed) integer.\r\n integer: function(k, v) {\r\n if (/^-?\\d+$/.test(v)) { // integer\r\n this.set(k, parseInt(v, 10));\r\n }\r\n },\r\n // Accept a setting if its a valid percentage.\r\n percent: function(k, v) {\r\n var m;\r\n if ((m = v.match(/^([\\d]{1,3})(\\.[\\d]*)?%$/))) {\r\n v = parseFloat(v);\r\n if (v >= 0 && v <= 100) {\r\n this.set(k, v);\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n};\r\n\r\n// Helper function to parse input into groups separated by 'groupDelim', and\r\n// interprete each group as a key/value pair separated by 'keyValueDelim'.\r\nfunction parseOptions(input, callback, keyValueDelim, groupDelim) {\r\n var groups = groupDelim ? input.split(groupDelim) : [input];\r\n for (var i in groups) {\r\n if (typeof groups[i] !== \"string\") {\r\n continue;\r\n }\r\n var kv = groups[i].split(keyValueDelim);\r\n if (kv.length !== 2) {\r\n continue;\r\n }\r\n var k = kv[0];\r\n var v = kv[1];\r\n callback(k, v);\r\n }\r\n}\r\n\r\nfunction parseCue(input, cue, regionList) {\r\n // Remember the original input if we need to throw an error.\r\n var oInput = input;\r\n // 4.1 WebVTT timestamp\r\n function consumeTimeStamp() {\r\n var ts = parseTimeStamp(input);\r\n if (ts === null) {\r\n throw new ParsingError(ParsingError.Errors.BadTimeStamp,\r\n \"Malformed timestamp: \" + oInput);\r\n }\r\n // Remove time stamp from input.\r\n input = input.replace(/^[^\\sa-zA-Z-]+/, \"\");\r\n return ts;\r\n }\r\n\r\n // 4.4.2 WebVTT cue settings\r\n function consumeCueSettings(input, cue) {\r\n var settings = new Settings();\r\n\r\n parseOptions(input, function (k, v) {\r\n switch (k) {\r\n case \"region\":\r\n // Find the last region we parsed with the same region id.\r\n for (var i = regionList.length - 1; i >= 0; i--) {\r\n if (regionList[i].id === v) {\r\n settings.set(k, regionList[i].region);\r\n break;\r\n }\r\n }\r\n break;\r\n case \"vertical\":\r\n settings.alt(k, v, [\"rl\", \"lr\"]);\r\n break;\r\n case \"line\":\r\n var vals = v.split(\",\"),\r\n vals0 = vals[0];\r\n settings.integer(k, vals0);\r\n settings.percent(k, vals0) ? settings.set(\"snapToLines\", false) : null;\r\n settings.alt(k, vals0, [\"auto\"]);\r\n if (vals.length === 2) {\r\n settings.alt(\"lineAlign\", vals[1], [\"start\", \"middle\", \"end\"]);\r\n }\r\n break;\r\n case \"position\":\r\n vals = v.split(\",\");\r\n settings.percent(k, vals[0]);\r\n if (vals.length === 2) {\r\n settings.alt(\"positionAlign\", vals[1], [\"start\", \"middle\", \"end\"]);\r\n }\r\n break;\r\n case \"size\":\r\n settings.percent(k, v);\r\n break;\r\n case \"align\":\r\n settings.alt(k, v, [\"start\", \"middle\", \"end\", \"left\", \"right\"]);\r\n break;\r\n }\r\n }, /:/, /\\s/);\r\n\r\n //hslee remove these fields.\r\n //Because safari dies here always. And Player doen't use style fields.\r\n // Apply default values for any missing fields.\r\n /*cue.region = settings.get(\"region\", null);\r\n cue.vertical = settings.get(\"vertical\", \"\");\r\n cue.line = settings.get(\"line\", \"auto\");\r\n cue.lineAlign = settings.get(\"lineAlign\", \"start\");\r\n cue.snapToLines = settings.get(\"snapToLines\", true);\r\n cue.size = settings.get(\"size\", 100);\r\n //cue.align = settings.get(\"align\", \"middle\");\r\n cue.position = settings.get(\"position\", \"auto\");\r\n cue.positionAlign = settings.get(\"positionAlign\", {\r\n start: \"start\",\r\n left: \"start\",\r\n middle: \"middle\",\r\n end: \"end\",\r\n right: \"end\"\r\n }, cue.align\r\n );*/\r\n }\r\n\r\n function skipWhitespace() {\r\n input = input.replace(/^\\s+/, \"\");\r\n }\r\n\r\n // 4.1 WebVTT cue timings.\r\n skipWhitespace();\r\n cue.startTime = consumeTimeStamp(); // (1) collect cue start time\r\n skipWhitespace();\r\n if (input.substr(0, 3) !== \"-->\") { // (3) next characters must match \"-->\"\r\n throw new ParsingError(ParsingError.Errors.BadTimeStamp,\r\n \"Malformed time stamp (time stamps must be separated by '-->'): \" +\r\n oInput);\r\n }\r\n input = input.substr(3);\r\n skipWhitespace();\r\n cue.endTime = consumeTimeStamp(); // (5) collect cue end time\r\n\r\n // 4.1 WebVTT cue settings list.\r\n skipWhitespace();\r\n consumeCueSettings(input, cue);\r\n}\r\n\r\nvar ESCAPE = {\r\n \"&\": \"&\",\r\n \"<\": \"<\",\r\n \">\": \">\",\r\n \"‎\": \"\\u200e\",\r\n \"‏\": \"\\u200f\",\r\n \" \": \"\\u00a0\"\r\n};\r\n\r\nvar TAG_NAME = {\r\n c: \"span\",\r\n i: \"i\",\r\n b: \"b\",\r\n u: \"u\",\r\n ruby: \"ruby\",\r\n rt: \"rt\",\r\n v: \"span\",\r\n lang: \"span\"\r\n};\r\n\r\nvar TAG_ANNOTATION = {\r\n v: \"title\",\r\n lang: \"lang\"\r\n};\r\n\r\nvar NEEDS_PARENT = {\r\n rt: \"ruby\"\r\n};\r\n\r\n// Parse content into a document fragment.\r\nfunction parseContent(window, input) {\r\n function nextToken() {\r\n // Check for end-of-string.\r\n if (!input) {\r\n return null;\r\n }\r\n\r\n // Consume 'n' characters from the input.\r\n function consume(result) {\r\n input = input.substr(result.length);\r\n return result;\r\n }\r\n\r\n var m = input.match(/^([^<]*)(<[^>]+>?)?/);\r\n // If there is some text before the next tag, return it, otherwise return\r\n // the tag.\r\n return consume(m[1] ? m[1] : m[2]);\r\n }\r\n\r\n // Unescape a string 's'.\r\n function unescape1(e) {\r\n return ESCAPE[e];\r\n }\r\n function unescape(s) {\r\n while ((m = s.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))) {\r\n s = s.replace(m[0], unescape1);\r\n }\r\n return s;\r\n }\r\n\r\n function shouldAdd(current, element) {\r\n return !NEEDS_PARENT[element.localName] ||\r\n NEEDS_PARENT[element.localName] === current.localName;\r\n }\r\n\r\n // Create an element for this tag.\r\n function createElement(type, annotation) {\r\n var tagName = TAG_NAME[type];\r\n if (!tagName) {\r\n return null;\r\n }\r\n var element = window.document.createElement(tagName);\r\n element.localName = tagName;\r\n var name = TAG_ANNOTATION[type];\r\n if (name && annotation) {\r\n element[name] = annotation.trim();\r\n }\r\n return element;\r\n }\r\n\r\n var rootDiv = window.document.createElement(\"div\"),\r\n current = rootDiv,\r\n t,\r\n tagStack = [];\r\n\r\n while ((t = nextToken()) !== null) {\r\n if (t[0] === '<') {\r\n if (t[1] === \"/\") {\r\n // If the closing tag matches, move back up to the parent node.\r\n if (tagStack.length &&\r\n tagStack[tagStack.length - 1] === t.substr(2).replace(\">\", \"\")) {\r\n tagStack.pop();\r\n current = current.parentNode;\r\n }\r\n // Otherwise just ignore the end tag.\r\n continue;\r\n }\r\n var ts = parseTimeStamp(t.substr(1, t.length - 2));\r\n var node;\r\n if (ts) {\r\n // Timestamps are lead nodes as well.\r\n node = window.document.createProcessingInstruction(\"timestamp\", ts);\r\n current.appendChild(node);\r\n continue;\r\n }\r\n var m = t.match(/^<([^.\\s/0-9>]+)(\\.[^\\s\\\\>]+)?([^>\\\\]+)?(\\\\?)>?$/);\r\n // If we can't parse the tag, skip to the next tag.\r\n if (!m) {\r\n continue;\r\n }\r\n // Try to construct an element, and ignore the tag if we couldn't.\r\n node = createElement(m[1], m[3]);\r\n if (!node) {\r\n continue;\r\n }\r\n // Determine if the tag should be added based on the context of where it\r\n // is placed in the cuetext.\r\n if (!shouldAdd(current, node)) {\r\n continue;\r\n }\r\n // Set the class list (as a list of classes, separated by space).\r\n if (m[2]) {\r\n node.className = m[2].substr(1).replace('.', ' ');\r\n }\r\n // Append the node to the current node, and enter the scope of the new\r\n // node.\r\n tagStack.push(m[1]);\r\n current.appendChild(node);\r\n current = node;\r\n continue;\r\n }\r\n\r\n // Text nodes are leaf nodes.\r\n current.appendChild(window.document.createTextNode(unescape(t)));\r\n }\r\n\r\n return rootDiv;\r\n}\r\n\r\n// This is a list of all the Unicode characters that have a strong\r\n// right-to-left category. What this means is that these characters are\r\n// written right-to-left for sure. It was generated by pulling all the strong\r\n// right-to-left characters out of the Unicode data table. That table can\r\n// found at: http://www.unicode.org/Public/UNIDATA/UnicodeData.txt\r\nvar strongRTLChars = [0x05BE, 0x05C0, 0x05C3, 0x05C6, 0x05D0, 0x05D1,\r\n 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7, 0x05D8, 0x05D9, 0x05DA,\r\n 0x05DB, 0x05DC, 0x05DD, 0x05DE, 0x05DF, 0x05E0, 0x05E1, 0x05E2, 0x05E3,\r\n 0x05E4, 0x05E5, 0x05E6, 0x05E7, 0x05E8, 0x05E9, 0x05EA, 0x05F0, 0x05F1,\r\n 0x05F2, 0x05F3, 0x05F4, 0x0608, 0x060B, 0x060D, 0x061B, 0x061E, 0x061F,\r\n 0x0620, 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627, 0x0628,\r\n 0x0629, 0x062A, 0x062B, 0x062C, 0x062D, 0x062E, 0x062F, 0x0630, 0x0631,\r\n 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x0637, 0x0638, 0x0639, 0x063A,\r\n 0x063B, 0x063C, 0x063D, 0x063E, 0x063F, 0x0640, 0x0641, 0x0642, 0x0643,\r\n 0x0644, 0x0645, 0x0646, 0x0647, 0x0648, 0x0649, 0x064A, 0x066D, 0x066E,\r\n 0x066F, 0x0671, 0x0672, 0x0673, 0x0674, 0x0675, 0x0676, 0x0677, 0x0678,\r\n 0x0679, 0x067A, 0x067B, 0x067C, 0x067D, 0x067E, 0x067F, 0x0680, 0x0681,\r\n 0x0682, 0x0683, 0x0684, 0x0685, 0x0686, 0x0687, 0x0688, 0x0689, 0x068A,\r\n 0x068B, 0x068C, 0x068D, 0x068E, 0x068F, 0x0690, 0x0691, 0x0692, 0x0693,\r\n 0x0694, 0x0695, 0x0696, 0x0697, 0x0698, 0x0699, 0x069A, 0x069B, 0x069C,\r\n 0x069D, 0x069E, 0x069F, 0x06A0, 0x06A1, 0x06A2, 0x06A3, 0x06A4, 0x06A5,\r\n 0x06A6, 0x06A7, 0x06A8, 0x06A9, 0x06AA, 0x06AB, 0x06AC, 0x06AD, 0x06AE,\r\n 0x06AF, 0x06B0, 0x06B1, 0x06B2, 0x06B3, 0x06B4, 0x06B5, 0x06B6, 0x06B7,\r\n 0x06B8, 0x06B9, 0x06BA, 0x06BB, 0x06BC, 0x06BD, 0x06BE, 0x06BF, 0x06C0,\r\n 0x06C1, 0x06C2, 0x06C3, 0x06C4, 0x06C5, 0x06C6, 0x06C7, 0x06C8, 0x06C9,\r\n 0x06CA, 0x06CB, 0x06CC, 0x06CD, 0x06CE, 0x06CF, 0x06D0, 0x06D1, 0x06D2,\r\n 0x06D3, 0x06D4, 0x06D5, 0x06E5, 0x06E6, 0x06EE, 0x06EF, 0x06FA, 0x06FB,\r\n 0x06FC, 0x06FD, 0x06FE, 0x06FF, 0x0700, 0x0701, 0x0702, 0x0703, 0x0704,\r\n 0x0705, 0x0706, 0x0707, 0x0708, 0x0709, 0x070A, 0x070B, 0x070C, 0x070D,\r\n 0x070F, 0x0710, 0x0712, 0x0713, 0x0714, 0x0715, 0x0716, 0x0717, 0x0718,\r\n 0x0719, 0x071A, 0x071B, 0x071C, 0x071D, 0x071E, 0x071F, 0x0720, 0x0721,\r\n 0x0722, 0x0723, 0x0724, 0x0725, 0x0726, 0x0727, 0x0728, 0x0729, 0x072A,\r\n 0x072B, 0x072C, 0x072D, 0x072E, 0x072F, 0x074D, 0x074E, 0x074F, 0x0750,\r\n 0x0751, 0x0752, 0x0753, 0x0754, 0x0755, 0x0756, 0x0757, 0x0758, 0x0759,\r\n 0x075A, 0x075B, 0x075C, 0x075D, 0x075E, 0x075F, 0x0760, 0x0761, 0x0762,\r\n 0x0763, 0x0764, 0x0765, 0x0766, 0x0767, 0x0768, 0x0769, 0x076A, 0x076B,\r\n 0x076C, 0x076D, 0x076E, 0x076F, 0x0770, 0x0771, 0x0772, 0x0773, 0x0774,\r\n 0x0775, 0x0776, 0x0777, 0x0778, 0x0779, 0x077A, 0x077B, 0x077C, 0x077D,\r\n 0x077E, 0x077F, 0x0780, 0x0781, 0x0782, 0x0783, 0x0784, 0x0785, 0x0786,\r\n 0x0787, 0x0788, 0x0789, 0x078A, 0x078B, 0x078C, 0x078D, 0x078E, 0x078F,\r\n 0x0790, 0x0791, 0x0792, 0x0793, 0x0794, 0x0795, 0x0796, 0x0797, 0x0798,\r\n 0x0799, 0x079A, 0x079B, 0x079C, 0x079D, 0x079E, 0x079F, 0x07A0, 0x07A1,\r\n 0x07A2, 0x07A3, 0x07A4, 0x07A5, 0x07B1, 0x07C0, 0x07C1, 0x07C2, 0x07C3,\r\n 0x07C4, 0x07C5, 0x07C6, 0x07C7, 0x07C8, 0x07C9, 0x07CA, 0x07CB, 0x07CC,\r\n 0x07CD, 0x07CE, 0x07CF, 0x07D0, 0x07D1, 0x07D2, 0x07D3, 0x07D4, 0x07D5,\r\n 0x07D6, 0x07D7, 0x07D8, 0x07D9, 0x07DA, 0x07DB, 0x07DC, 0x07DD, 0x07DE,\r\n 0x07DF, 0x07E0, 0x07E1, 0x07E2, 0x07E3, 0x07E4, 0x07E5, 0x07E6, 0x07E7,\r\n 0x07E8, 0x07E9, 0x07EA, 0x07F4, 0x07F5, 0x07FA, 0x0800, 0x0801, 0x0802,\r\n 0x0803, 0x0804, 0x0805, 0x0806, 0x0807, 0x0808, 0x0809, 0x080A, 0x080B,\r\n 0x080C, 0x080D, 0x080E, 0x080F, 0x0810, 0x0811, 0x0812, 0x0813, 0x0814,\r\n 0x0815, 0x081A, 0x0824, 0x0828, 0x0830, 0x0831, 0x0832, 0x0833, 0x0834,\r\n 0x0835, 0x0836, 0x0837, 0x0838, 0x0839, 0x083A, 0x083B, 0x083C, 0x083D,\r\n 0x083E, 0x0840, 0x0841, 0x0842, 0x0843, 0x0844, 0x0845, 0x0846, 0x0847,\r\n 0x0848, 0x0849, 0x084A, 0x084B, 0x084C, 0x084D, 0x084E, 0x084F, 0x0850,\r\n 0x0851, 0x0852, 0x0853, 0x0854, 0x0855, 0x0856, 0x0857, 0x0858, 0x085E,\r\n 0x08A0, 0x08A2, 0x08A3, 0x08A4, 0x08A5, 0x08A6, 0x08A7, 0x08A8, 0x08A9,\r\n 0x08AA, 0x08AB, 0x08AC, 0x200F, 0xFB1D, 0xFB1F, 0xFB20, 0xFB21, 0xFB22,\r\n 0xFB23, 0xFB24, 0xFB25, 0xFB26, 0xFB27, 0xFB28, 0xFB2A, 0xFB2B, 0xFB2C,\r\n 0xFB2D, 0xFB2E, 0xFB2F, 0xFB30, 0xFB31, 0xFB32, 0xFB33, 0xFB34, 0xFB35,\r\n 0xFB36, 0xFB38, 0xFB39, 0xFB3A, 0xFB3B, 0xFB3C, 0xFB3E, 0xFB40, 0xFB41,\r\n 0xFB43, 0xFB44, 0xFB46, 0xFB47, 0xFB48, 0xFB49, 0xFB4A, 0xFB4B, 0xFB4C,\r\n 0xFB4D, 0xFB4E, 0xFB4F, 0xFB50, 0xFB51, 0xFB52, 0xFB53, 0xFB54, 0xFB55,\r\n 0xFB56, 0xFB57, 0xFB58, 0xFB59, 0xFB5A, 0xFB5B, 0xFB5C, 0xFB5D, 0xFB5E,\r\n 0xFB5F, 0xFB60, 0xFB61, 0xFB62, 0xFB63, 0xFB64, 0xFB65, 0xFB66, 0xFB67,\r\n 0xFB68, 0xFB69, 0xFB6A, 0xFB6B, 0xFB6C, 0xFB6D, 0xFB6E, 0xFB6F, 0xFB70,\r\n 0xFB71, 0xFB72, 0xFB73, 0xFB74, 0xFB75, 0xFB76, 0xFB77, 0xFB78, 0xFB79,\r\n 0xFB7A, 0xFB7B, 0xFB7C, 0xFB7D, 0xFB7E, 0xFB7F, 0xFB80, 0xFB81, 0xFB82,\r\n 0xFB83, 0xFB84, 0xFB85, 0xFB86, 0xFB87, 0xFB88,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xFEC3, 0xFEC4, 0xFEC5, 0xFEC6, 0xFEC7, 0xFEC8, 0xFEC9, 0xFECA, 0xFECB,\r\n 0xFECC, 0xFECD, 0xFECE, 0xFECF, 0xFED0, 0xFED1, 0xFED2, 0xFED3, 0xFED4,\r\n 0xFED5, 0xFED6, 0xFED7, 0xFED8, 0xFED9, 0xFEDA, 0xFEDB, 0xFEDC, 0xFEDD,\r\n 0xFEDE, 0xFEDF, 0xFEE0, 0xFEE1, 0xFEE2, 0xFEE3, 0xFEE4, 0xFEE5, 0xFEE6,\r\n 0xFEE7, 0xFEE8, 0xFEE9, 0xFEEA, 0xFEEB, 0xFEEC, 0xFEED, 0xFEEE, 0xFEEF,\r\n 0xFEF0, 0xFEF1, 0xFEF2, 0xFEF3, 0xFEF4, 0xFEF5, 0xFEF6, 0xFEF7, 0xFEF8,\r\n 0xFEF9, 0xFEFA, 0xFEFB, 0xFEFC, 0x10800, 0x10801, 0x10802, 0x10803,\r\n 0x10804, 0x10805, 0x10808, 0x1080A, 0x1080B, 0x1080C, 0x1080D, 0x1080E,\r\n 0x1080F, 0x10810, 0x10811, 0x10812, 0x10813, 0x10814, 0x10815, 0x10816,\r\n 0x10817, 0x10818, 0x10819, 0x1081A, 0x1081B, 0x1081C, 0x1081D, 0x1081E,\r\n 0x1081F, 0x10820, 0x10821, 0x10822, 0x10823, 0x10824, 0x10825, 0x10826,\r\n 0x10827, 0x10828, 0x10829, 0x1082A, 0x1082B, 0x1082C, 0x1082D, 0x1082E,\r\n 0x1082F, 0x10830, 0x10831, 0x10832, 0x10833, 0x10834, 0x10835, 0x10837,\r\n 0x10838, 0x1083C, 0x1083F, 0x10840, 0x10841, 0x10842, 0x10843, 0x10844,\r\n 0x10845, 0x10846, 0x10847, 0x10848, 0x10849, 0x1084A, 0x1084B, 0x1084C,\r\n 0x1084D, 0x1084E, 0x1084F, 0x10850, 0x10851, 0x10852, 0x10853, 0x10854,\r\n 0x10855, 0x10857, 0x10858, 0x10859, 0x1085A, 0x1085B, 0x1085C, 0x1085D,\r\n 0x1085E, 0x1085F, 0x10900, 0x10901, 0x10902, 0x10903, 0x10904, 0x10905,\r\n 0x10906, 0x10907, 0x10908, 0x10909, 0x1090A, 0x1090B, 0x1090C, 0x1090D,\r\n 0x1090E, 0x1090F, 0x10910, 0x10911, 0x10912, 0x10913, 0x10914, 0x10915,\r\n 0x10916, 0x10917, 0x10918, 0x10919, 0x1091A, 0x1091B, 0x10920, 0x10921,\r\n 0x10922, 0x10923, 0x10924, 0x10925, 0x10926, 0x10927, 0x10928, 0x10929,\r\n 0x1092A, 0x1092B, 0x1092C, 0x1092D, 0x1092E, 0x1092F, 0x10930, 0x10931,\r\n 0x10932, 0x10933, 0x10934, 0x10935, 0x10936, 0x10937, 0x10938, 0x10939,\r\n 0x1093F, 0x10980, 0x10981, 0x10982, 0x10983, 0x10984, 0x10985, 0x10986,\r\n 0x10987, 0x10988, 0x10989, 0x1098A, 0x1098B, 0x1098C, 0x1098D, 0x1098E,\r\n 0x1098F, 0x10990, 0x10991, 0x10992, 0x10993, 0x10994, 0x10995, 0x10996,\r\n 0x10997, 0x10998, 0x10999, 0x1099A, 0x1099B, 0x1099C, 0x1099D, 0x1099E,\r\n 0x1099F, 0x109A0, 0x109A1, 0x109A2, 0x109A3, 0x109A4, 0x109A5, 0x109A6,\r\n 0x109A7, 0x109A8, 0x109A9, 0x109AA, 0x109AB, 0x109AC, 0x109AD, 0x109AE,\r\n 0x109AF, 0x109B0, 0x109B1, 0x109B2, 0x109B3, 0x109B4, 0x109B5, 0x109B6,\r\n 0x109B7, 0x109BE, 0x109BF, 0x10A00, 0x10A10, 0x10A11, 0x10A12, 0x10A13,\r\n 0x10A15, 0x10A16, 0x10A17, 0x10A19, 0x10A1A, 0x10A1B, 0x10A1C, 0x10A1D,\r\n 0x10A1E, 0x10A1F, 0x10A20, 0x10A21, 0x10A22, 0x10A23, 0x10A24, 0x10A25,\r\n 0x10A26, 0x10A27, 0x10A28, 0x10A29, 0x10A2A, 0x10A2B, 0x10A2C, 0x10A2D,\r\n 0x10A2E, 0x10A2F, 0x10A30, 0x10A31, 0x10A32, 0x10A33, 0x10A40, 0x10A41,\r\n 0x10A42, 0x10A43, 0x10A44, 0x10A45, 0x10A46, 0x10A47, 0x10A50, 0x10A51,\r\n 0x10A52, 0x10A53, 0x10A54, 0x10A55, 0x10A56, 0x10A57, 0x10A58, 0x10A60,\r\n 0x10A61, 0x10A62, 0x10A63, 0x10A64, 0x10A65, 0x10A66, 0x10A67, 0x10A68,\r\n 0x10A69, 0x10A6A, 0x10A6B, 0x10A6C, 0x10A6D, 0x10A6E, 0x10A6F, 0x10A70,\r\n 0x10A71, 0x10A72, 0x10A73, 0x10A74, 0x10A75, 0x10A76, 0x10A77, 0x10A78,\r\n 0x10A79, 0x10A7A, 0x10A7B, 0x10A7C, 0x10A7D, 0x10A7E, 0x10A7F, 0x10B00,\r\n 0x10B01, 0x10B02, 0x10B03, 0x10B04, 0x10B05, 0x10B06, 0x10B07, 0x10B08,\r\n 0x10B09, 0x10B0A, 0x10B0B, 0x10B0C, 0x10B0D, 0x10B0E, 0x10B0F, 0x10B10,\r\n 0x10B11, 0x10B12, 0x10B13, 0x10B14, 0x10B15, 0x10B16, 0x10B17, 0x10B18,\r\n 0x10B19, 0x10B1A, 0x10B1B, 0x10B1C, 0x10B1D, 0x10B1E, 0x10B1F, 0x10B20,\r\n 0x10B21, 0x10B22, 0x10B23, 0x10B24, 0x10B25, 0x10B26, 0x10B27, 0x10B28,\r\n 0x10B29, 0x10B2A, 0x10B2B, 0x10B2C, 0x10B2D, 0x10B2E, 0x10B2F, 0x10B30,\r\n 0x10B31, 0x10B32, 0x10B33, 0x10B34, 0x10B35, 0x10B40, 0x10B41, 0x10B42,\r\n 0x10B43, 0x10B44, 0x10B45, 0x10B46, 0x10B47, 0x10B48, 0x10B49, 0x10B4A,\r\n 0x10B4B, 0x10B4C, 0x10B4D, 0x10B4E, 0x10B4F, 0x10B50, 0x10B51, 0x10B52,\r\n 0x10B53, 0x10B54, 0x10B55, 0x10B58, 0x10B59, 0x10B5A, 0x10B5B, 0x10B5C,\r\n 0x10B5D, 0x10B5E, 0x10B5F, 0x10B60, 0x10B61, 0x10B62, 0x10B63, 0x10B64,\r\n 0x10B65, 0x10B66, 0x10B67, 0x10B68, 0x10B69, 0x10B6A, 0x10B6B, 0x10B6C,\r\n 0x10B6D, 0x10B6E, 0x10B6F, 0x10B70, 0x10B71, 0x10B72, 0x10B78, 0x10B79,\r\n 0x10B7A, 0x10B7B, 0x10B7C, 0x10B7D, 0x10B7E, 0x10B7F, 0x10C00, 0x10C01,\r\n 0x10C02, 0x10C03, 0x10C04, 0x10C05, 0x10C06, 0x10C07, 0x10C08, 0x10C09,\r\n 0x10C0A, 0x10C0B, 0x10C0C, 0x10C0D, 0x10C0E, 0x10C0F, 0x10C10, 0x10C11,\r\n 0x10C12, 0x10C13, 0x10C14, 0x10C15, 0x10C16, 0x10C17, 0x10C18, 0x10C19,\r\n 0x10C1A, 0x10C1B, 0x10C1C, 0x10C1D, 0x10C1E, 0x10C1F, 0x10C20, 0x10C21,\r\n 0x10C22, 0x10C23, 0x10C24, 0x10C25, 0x10C26, 0x10C27, 0x10C28, 0x10C29,\r\n 0x10C2A, 0x10C2B, 0x10C2C, 0x10C2D, 0x10C2E, 0x10C2F, 0x10C30, 0x10C31,\r\n 0x10C32, 0x10C33, 0x10C34, 0x10C35, 0x10C36, 0x10C37, 0x10C38, 0x10C39,\r\n 0x10C3A, 0x10C3B, 0x10C3C, 0x10C3D, 0x10C3E, 0x10C3F, 0x10C40, 0x10C41,\r\n 0x10C42, 0x10C43, 0x10C44, 0x10C45, 0x10C46, 0x10C47, 0x10C48, 0x1EE00,\r\n 0x1EE01, 0x1EE02, 0x1EE03, 0x1EE05, 0x1EE06, 0x1EE07, 0x1EE08, 0x1EE09,\r\n 0x1EE0A, 0x1EE0B, 0x1EE0C, 0x1EE0D, 0x1EE0E, 0x1EE0F, 0x1EE10, 0x1EE11,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0x1EEB2, 0x1EEB3, 0x1EEB4, 0x1EEB5, 0x1EEB6, 0x1EEB7,\r\n 0x1EEB8, 0x1EEB9, 0x1EEBA, 0x1EEBB, 0x10FFFD];\r\n\r\nfunction determineBidi(cueDiv) {\r\n var nodeStack = [],\r\n text = \"\",\r\n charCode;\r\n\r\n if (!cueDiv || !cueDiv.childNodes) {\r\n return \"ltr\";\r\n }\r\n\r\n function pushNodes(nodeStack, node) {\r\n for (var i = node.childNodes.length - 1; i >= 0; i--) {\r\n nodeStack.push(node.childNodes[i]);\r\n }\r\n }\r\n\r\n function nextTextNode(nodeStack) {\r\n if (!nodeStack || !nodeStack.length) {\r\n return null;\r\n }\r\n\r\n var node = nodeStack.pop(),\r\n text = node.textContent || node.innerText;\r\n if (text) {\r\n // TODO: This should match all unicode type B characters (paragraph\r\n // separator characters). See issue #115.\r\n var m = text.match(/^.*(\\n|\\r)/);\r\n if (m) {\r\n nodeStack.length = 0;\r\n return m[0];\r\n }\r\n return text;\r\n }\r\n if (node.tagName === \"ruby\") {\r\n return nextTextNode(nodeStack);\r\n }\r\n if (node.childNodes) {\r\n pushNodes(nodeStack, node);\r\n return nextTextNode(nodeStack);\r\n }\r\n }\r\n\r\n pushNodes(nodeStack, cueDiv);\r\n while ((text = nextTextNode(nodeStack))) {\r\n for (var i = 0; i < text.length; i++) {\r\n charCode = text.charCodeAt(i);\r\n for (var j = 0; j < strongRTLChars.length; j++) {\r\n if (strongRTLChars[j] === charCode) {\r\n return \"rtl\";\r\n }\r\n }\r\n }\r\n }\r\n return \"ltr\";\r\n}\r\n\r\nfunction computeLinePos(cue) {\r\n if (typeof cue.line === \"number\" &&\r\n (cue.snapToLines || (cue.line >= 0 && cue.line <= 100))) {\r\n return cue.line;\r\n }\r\n if (!cue.track || !cue.track.textTrackList ||\r\n !cue.track.textTrackList.mediaElement) {\r\n return -1;\r\n }\r\n var track = cue.track,\r\n trackList = track.textTrackList,\r\n count = 0;\r\n for (var i = 0; i < trackList.length && trackList[i] !== track; i++) {\r\n if (trackList[i].mode === \"showing\") {\r\n count++;\r\n }\r\n }\r\n return ++count * -1;\r\n}\r\n\r\nfunction StyleBox() {\r\n}\r\n\r\n// Apply styles to a div. If there is no div passed then it defaults to the\r\n// div on 'this'.\r\nStyleBox.prototype.applyStyles = function(styles, div) {\r\n div = div || this.div;\r\n for (var prop in styles) {\r\n if (styles.hasOwnProperty(prop)) {\r\n div.style[prop] = styles[prop];\r\n }\r\n }\r\n};\r\n\r\nStyleBox.prototype.formatStyle = function(val, unit) {\r\n return val === 0 ? 0 : val + unit;\r\n};\r\n\r\n// Constructs the computed display state of the cue (a div). Places the div\r\n// into the overlay which should be a block level element (usually a div).\r\nfunction CueStyleBox(window, cue, styleOptions) {\r\n var isIE8 = (typeof navigator !== \"undefined\") &&\r\n (/MSIE\\s8\\.0/).test(navigator.userAgent);\r\n var color = \"rgba(255, 255, 255, 1)\";\r\n var backgroundColor = \"rgba(0, 0, 0, 0.8)\";\r\n var textShadow = \"\";\r\n\r\n if(typeof WebVTTSet !== \"undefined\") {\r\n color = WebVTTSet.fontSet;\r\n backgroundColor = WebVTTSet.backgroundSet;\r\n textShadow = WebVTTSet.edgeSet;\r\n }\r\n\r\n if (isIE8) {\r\n color = \"rgb(255, 255, 255)\";\r\n backgroundColor = \"rgb(0, 0, 0)\";\r\n }\r\n\r\n StyleBox.call(this);\r\n this.cue = cue;\r\n\r\n // Parse our cue's text into a DOM tree rooted at 'cueDiv'. This div will\r\n // have inline positioning and will function as the cue background box.\r\n this.cueDiv = parseContent(window, cue.text);\r\n var styles = {\r\n color: color,\r\n backgroundColor: backgroundColor,\r\n textShadow: textShadow,\r\n position: \"relative\",\r\n left: 0,\r\n right: 0,\r\n top: 0,\r\n bottom: 0,\r\n display: \"inline\"\r\n };\r\n\r\n if (!isIE8) {\r\n styles.writingMode = cue.vertical === \"\" ? \"horizontal-tb\"\r\n : cue.vertical === \"lr\" ? \"vertical-lr\"\r\n : \"vertical-rl\";\r\n styles.unicodeBidi = \"plaintext\";\r\n }\r\n this.applyStyles(styles, this.cueDiv);\r\n\r\n // Create an absolutely positioned div that will be used to position the cue\r\n // div. Note, all WebVTT cue-setting alignments are equivalent to the CSS\r\n // mirrors of them except \"middle\" which is \"center\" in CSS.\r\n this.div = window.document.createElement(\"div\");\r\n styles = {\r\n textAlign: cue.align === \"middle\" ? \"center\" : cue.align,\r\n font: styleOptions.font,\r\n whiteSpace: \"pre-line\",\r\n position: \"absolute\"\r\n };\r\n\r\n if (!isIE8) {\r\n styles.direction = determineBidi(this.cueDiv);\r\n styles.writingMode = cue.vertical === \"\" ? \"horizontal-tb\"\r\n : cue.vertical === \"lr\" ? \"vertical-lr\"\r\n : \"vertical-rl\".\r\n stylesunicodeBidi = \"plaintext\";\r\n }\r\n\r\n this.applyStyles(styles);\r\n\r\n this.div.appendChild(this.cueDiv);\r\n\r\n // Calculate the distance from the reference edge of the viewport to the text\r\n // position of the cue box. The reference edge will be resolved later when\r\n // the box orientation styles are applied.\r\n var textPos = 0;\r\n switch (cue.positionAlign) {\r\n case \"start\":\r\n textPos = cue.position;\r\n break;\r\n case \"middle\":\r\n textPos = cue.position - (cue.size / 2);\r\n break;\r\n case \"end\":\r\n textPos = cue.position - cue.size;\r\n break;\r\n }\r\n\r\n // Horizontal box orientation; textPos is the distance from the left edge of the\r\n // area to the left edge of the box and cue.size is the distance extending to\r\n // the right from there.\r\n if (cue.vertical === \"\") {\r\n this.applyStyles({\r\n left: this.formatStyle(textPos, \"%\"),\r\n width: this.formatStyle(cue.size, \"%\")\r\n });\r\n // Vertical box orientation; textPos is the distance from the top edge of the\r\n // area to the top edge of the box and cue.size is the height extending\r\n // downwards from there.\r\n } else {\r\n this.applyStyles({\r\n top: this.formatStyle(textPos, \"%\"),\r\n height: this.formatStyle(cue.size, \"%\")\r\n });\r\n }\r\n\r\n this.move = function(box) {\r\n this.applyStyles({\r\n top: this.formatStyle(box.top, \"px\"),\r\n bottom: this.formatStyle(box.bottom, \"px\"),\r\n left: this.formatStyle(box.left, \"px\"),\r\n right: this.formatStyle(box.right, \"px\"),\r\n height: this.formatStyle(box.height, \"px\"),\r\n width: this.formatStyle(box.width, \"px\")\r\n });\r\n };\r\n}\r\nCueStyleBox.prototype = _objCreate(StyleBox.prototype);\r\nCueStyleBox.prototype.constructor = CueStyleBox;\r\n\r\n// Represents the co-ordinates of an Element in a way that we can easily\r\n// compute things with such as if it overlaps or intersects with another Element.\r\n// Can initialize it with either a StyleBox or another BoxPosition.\r\nfunction BoxPosition(obj) {\r\n var isIE8 = (typeof navigator !== \"undefined\") &&\r\n (/MSIE\\s8\\.0/).test(navigator.userAgent);\r\n\r\n // Either a BoxPosition was passed in and we need to copy it, or a StyleBox\r\n // was passed in and we need to copy the results of 'getBoundingClientRect'\r\n // as the object returned is readonly. All co-ordinate values are in reference\r\n // to the viewport origin (top left).\r\n var lh, height, width, top;\r\n if (obj.div) {\r\n height = obj.div.offsetHeight;\r\n width = obj.div.offsetWidth;\r\n top = obj.div.offsetTop;\r\n\r\n var rects = (rects = obj.div.childNodes) && (rects = rects[0]) &&\r\n rects.getClientRects && rects.getClientRects();\r\n obj = obj.div.getBoundingClientRect();\r\n // In certain cases the outter div will be slightly larger then the sum of\r\n // the inner div's lines. This could be due to bold text, etc, on some platforms.\r\n // In this case we should get the average line height and use that. This will\r\n // result in the desired behaviour.\r\n lh = rects ? Math.max((rects[0] && rects[0].height) || 0, obj.height / rects.length)\r\n : 0;\r\n\r\n }\r\n this.left = obj.left;\r\n this.right = obj.right;\r\n this.top = obj.top || top;\r\n this.height = obj.height || height;\r\n this.bottom = obj.bottom || (top + (obj.height || height));\r\n this.width = obj.width || width;\r\n this.lineHeight = lh !== undefined ? lh : obj.lineHeight;\r\n\r\n if (isIE8 && !this.lineHeight) {\r\n this.lineHeight = 13;\r\n }\r\n}\r\n\r\n// Move the box along a particular axis. Optionally pass in an amount to move\r\n// the box. If no amount is passed then the default is the line height of the\r\n// box.\r\nBoxPosition.prototype.move = function(axis, toMove) {\r\n toMove = toMove !== undefined ? toMove : this.lineHeight;\r\n switch (axis) {\r\n case \"+x\":\r\n this.left += toMove;\r\n this.right += toMove;\r\n break;\r\n case \"-x\":\r\n this.left -= toMove;\r\n this.right -= toMove;\r\n break;\r\n case \"+y\":\r\n this.top += toMove;\r\n this.bottom += toMove;\r\n break;\r\n case \"-y\":\r\n this.top -= toMove;\r\n this.bottom -= toMove;\r\n break;\r\n }\r\n};\r\n\r\n// Check if this box overlaps another box, b2.\r\nBoxPosition.prototype.overlaps = function(b2) {\r\n return this.left < b2.right &&\r\n this.right > b2.left &&\r\n this.top < b2.bottom &&\r\n this.bottom > b2.top;\r\n};\r\n\r\n// Check if this box overlaps any other boxes in boxes.\r\nBoxPosition.prototype.overlapsAny = function(boxes) {\r\n for (var i = 0; i < boxes.length; i++) {\r\n if (this.overlaps(boxes[i])) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n};\r\n\r\n// Check if this box is within another box.\r\nBoxPosition.prototype.within = function(container) {\r\n return this.top >= container.top &&\r\n this.bottom <= container.bottom &&\r\n this.left >= container.left &&\r\n this.right <= container.right;\r\n};\r\n\r\n// Check if this box is entirely within the container or it is overlapping\r\n// on the edge opposite of the axis direction passed. For example, if \"+x\" is\r\n// passed and the box is overlapping on the left edge of the container, then\r\n// return true.\r\nBoxPosition.prototype.overlapsOppositeAxis = function(container, axis) {\r\n switch (axis) {\r\n case \"+x\":\r\n return this.left < container.left;\r\n case \"-x\":\r\n return this.right > container.right;\r\n case \"+y\":\r\n return this.top < container.top;\r\n case \"-y\":\r\n return this.bottom > container.bottom;\r\n }\r\n};\r\n\r\n// Find the percentage of the area that this box is overlapping with another\r\n// box.\r\nBoxPosition.prototype.intersectPercentage = function(b2) {\r\n var x = Math.max(0, Math.min(this.right, b2.right) - Math.max(this.left, b2.left)),\r\n y = Math.max(0, Math.min(this.bottom, b2.bottom) - Math.max(this.top, b2.top)),\r\n intersectArea = x * y;\r\n return intersectArea / (this.height * this.width);\r\n};\r\n\r\n// Convert the positions from this box to CSS compatible positions using\r\n// the reference container's positions. This has to be done because this\r\n// box's positions are in reference to the viewport origin, whereas, CSS\r\n// values are in referecne to their respective edges.\r\nBoxPosition.prototype.toCSSCompatValues = function(reference) {\r\n return {\r\n top: this.top - reference.top,\r\n bottom: reference.bottom - this.bottom,\r\n left: this.left - reference.left,\r\n right: reference.right - this.right,\r\n height: this.height,\r\n width: this.width\r\n };\r\n};\r\n\r\n// Get an object that represents the box's position without anything extra.\r\n// Can pass a StyleBox, HTMLElement, or another BoxPositon.\r\nBoxPosition.getSimpleBoxPosition = function(obj) {\r\n var height = obj.div ? obj.div.offsetHeight : obj.tagName ? obj.offsetHeight : 0;\r\n var width = obj.div ? obj.div.offsetWidth : obj.tagName ? obj.offsetWidth : 0;\r\n var top = obj.div ? obj.div.offsetTop : obj.tagName ? obj.offsetTop : 0;\r\n\r\n obj = obj.div ? obj.div.getBoundingClientRect() :\r\n obj.tagName ? obj.getBoundingClientRect() : obj;\r\n var ret = {\r\n left: obj.left,\r\n right: obj.right,\r\n top: obj.top || top,\r\n height: obj.height || height,\r\n bottom: obj.bottom || (top + (obj.height || height)),\r\n width: obj.width || width\r\n };\r\n return ret;\r\n};\r\n\r\n// Move a StyleBox to its specified, or next best, position. The containerBox\r\n// is the box that contains the StyleBox, such as a div. boxPositions are\r\n// a list of other boxes that the styleBox can't overlap with.\r\nfunction moveBoxToLinePosition(window, styleBox, containerBox, boxPositions) {\r\n\r\n // Find the best position for a cue box, b, on the video. The axis parameter\r\n // is a list of axis, the order of which, it will move the box along. For example:\r\n // Passing [\"+x\", \"-x\"] will move the box first along the x axis in the positive\r\n // direction. If it doesn't find a good position for it there it will then move\r\n // it along the x axis in the negative direction.\r\n function findBestPosition(b, axis) {\r\n var bestPosition,\r\n specifiedPosition = new BoxPosition(b),\r\n percentage = 1; // Highest possible so the first thing we get is better.\r\n\r\n for (var i = 0; i < axis.length; i++) {\r\n while (b.overlapsOppositeAxis(containerBox, axis[i]) ||\r\n (b.within(containerBox) && b.overlapsAny(boxPositions))) {\r\n b.move(axis[i]);\r\n }\r\n // We found a spot where we aren't overlapping anything. This is our\r\n // best position.\r\n if (b.within(containerBox)) {\r\n return b;\r\n }\r\n var p = b.intersectPercentage(containerBox);\r\n // If we're outside the container box less then we were on our last try\r\n // then remember this position as the best position.\r\n if (percentage > p) {\r\n bestPosition = new BoxPosition(b);\r\n percentage = p;\r\n }\r\n // Reset the box position to the specified position.\r\n b = new BoxPosition(specifiedPosition);\r\n }\r\n return bestPosition || specifiedPosition;\r\n }\r\n\r\n var boxPosition = new BoxPosition(styleBox),\r\n cue = styleBox.cue,\r\n linePos = computeLinePos(cue),\r\n axis = [];\r\n\r\n // If we have a line number to align the cue to.\r\n if (cue.snapToLines) {\r\n var size;\r\n switch (cue.vertical) {\r\n case \"\":\r\n axis = [ \"+y\", \"-y\" ];\r\n size = \"height\";\r\n break;\r\n case \"rl\":\r\n axis = [ \"+x\", \"-x\" ];\r\n size = \"width\";\r\n break;\r\n case \"lr\":\r\n axis = [ \"-x\", \"+x\" ];\r\n size = \"width\";\r\n break;\r\n }\r\n\r\n var step = boxPosition.lineHeight,\r\n position = step * Math.round(linePos),\r\n maxPosition = containerBox[size] + step,\r\n initialAxis = axis[0];\r\n\r\n // If the specified intial position is greater then the max position then\r\n // clamp the box to the amount of steps it would take for the box to\r\n // reach the max position.\r\n if (Math.abs(position) > maxPosition) {\r\n position = position < 0 ? -1 : 1;\r\n position *= Math.ceil(maxPosition / step) * step;\r\n }\r\n\r\n // If computed line position returns negative then line numbers are\r\n // relative to the bottom of the video instead of the top. Therefore, we\r\n // need to increase our initial position by the length or width of the\r\n // video, depending on the writing direction, and reverse our axis directions.\r\n if (linePos < 0) {\r\n position += cue.vertical === \"\" ? containerBox.height : containerBox.width;\r\n axis = axis.reverse();\r\n }\r\n\r\n // Move the box to the specified position. This may not be its best\r\n // position.\r\n boxPosition.move(initialAxis, position);\r\n\r\n } else {\r\n // If we have a percentage line value for the cue.\r\n var calculatedPercentage = (boxPosition.lineHeight / containerBox.height) * 100;\r\n\r\n switch (cue.lineAlign) {\r\n case \"middle\":\r\n linePos -= (calculatedPercentage / 2);\r\n break;\r\n case \"end\":\r\n linePos -= calculatedPercentage;\r\n break;\r\n }\r\n\r\n // Apply initial line position to the cue box.\r\n switch (cue.vertical) {\r\n case \"\":\r\n styleBox.applyStyles({\r\n top: styleBox.formatStyle(linePos, \"%\")\r\n });\r\n break;\r\n case \"rl\":\r\n styleBox.applyStyles({\r\n left: styleBox.formatStyle(linePos, \"%\")\r\n });\r\n break;\r\n case \"lr\":\r\n styleBox.applyStyles({\r\n right: styleBox.formatStyle(linePos, \"%\")\r\n });\r\n break;\r\n }\r\n\r\n axis = [ \"+y\", \"-x\", \"+x\", \"-y\" ];\r\n\r\n // Get the box position again after we've applied the specified positioning\r\n // to it.\r\n boxPosition = new BoxPosition(styleBox);\r\n }\r\n\r\n var bestPosition = findBestPosition(boxPosition, axis);\r\n styleBox.move(bestPosition.toCSSCompatValues(containerBox));\r\n}\r\n\r\n/*function WebVTT() {\r\n // Nothing\r\n }*/\r\n\r\n// Helper to allow strings to be decoded instead of the default binary utf8 data.\r\nWebVTT.StringDecoder = function() {\r\n return {\r\n decode: function(data) {\r\n if (!data) {\r\n return \"\";\r\n }\r\n if (typeof data !== \"string\") {\r\n throw new Error(\"Error - expected string data.\");\r\n }\r\n return decodeURIComponent(encodeURIComponent(data));\r\n }\r\n };\r\n};\r\n\r\nWebVTT.convertCueToDOMTree = function(window, cuetext) {\r\n if (!window || !cuetext) {\r\n return null;\r\n }\r\n return parseContent(window, cuetext);\r\n};\r\n\r\nvar FONT_SIZE_PERCENT = 0.05;\r\nvar FONT_STYLE = \"sans-serif\";\r\nvar CUE_BACKGROUND_PADDING = \"1.5%\";\r\n\r\n// Runs the processing model over the cues and regions passed to it.\r\n// @param overlay A block level element (usually a div) that the computed cues\r\n// and regions will be placed into.\r\nWebVTT.processCues = function(window, cues, overlay) {\r\n if (!window || !cues || !overlay) {\r\n return null;\r\n }\r\n\r\n // Remove all previous children.\r\n while (overlay.firstChild) {\r\n overlay.removeChild(overlay.firstChild);\r\n }\r\n\r\n var paddedOverlay = window.document.createElement(\"div\");\r\n paddedOverlay.style.position = \"absolute\";\r\n paddedOverlay.style.left = \"0\";\r\n paddedOverlay.style.right = \"0\";\r\n paddedOverlay.style.top = \"0\";\r\n paddedOverlay.style.bottom = \"0\";\r\n paddedOverlay.style.margin = CUE_BACKGROUND_PADDING;\r\n overlay.appendChild(paddedOverlay);\r\n\r\n // Determine if we need to compute the display states of the cues. This could\r\n // be the case if a cue's state has been changed since the last computation or\r\n // if it has not been computed yet.\r\n function shouldCompute(cues) {\r\n for (var i = 0; i < cues.length; i++) {\r\n if (cues[i].hasBeenReset || !cues[i].displayState) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n // We don't need to recompute the cues' display states. Just reuse them.\r\n if (!shouldCompute(cues)) {\r\n for (var i = 0; i < cues.length; i++) {\r\n paddedOverlay.appendChild(cues[i].displayState);\r\n }\r\n return;\r\n }\r\n\r\n var boxPositions = [],\r\n containerBox = BoxPosition.getSimpleBoxPosition(paddedOverlay),\r\n fontSize = Math.round(containerBox.height * FONT_SIZE_PERCENT * 100) / 100;\r\n var styleOptions = {\r\n font: (fontSize * fontScale) + \"px \" + FONT_STYLE\r\n };\r\n\r\n (function() {\r\n var styleBox, cue;\r\n\r\n for (var i = 0; i < cues.length; i++) {\r\n cue = cues[i];\r\n\r\n // Compute the intial position and styles of the cue div.\r\n styleBox = new CueStyleBox(window, cue, styleOptions);\r\n paddedOverlay.appendChild(styleBox.div);\r\n\r\n // Move the cue div to it's correct line position.\r\n moveBoxToLinePosition(window, styleBox, containerBox, boxPositions);\r\n\r\n // Remember the computed div so that we don't have to recompute it later\r\n // if we don't have too.\r\n cue.displayState = styleBox.div;\r\n\r\n boxPositions.push(BoxPosition.getSimpleBoxPosition(styleBox));\r\n }\r\n })();\r\n};\r\n\r\nWebVTT.Parser = function(window, decoder) {\r\n this.window = window;\r\n this.state = \"INITIAL\";\r\n this.buffer = \"\";\r\n this.decoder = decoder || new TextDecoder(\"utf8\");\r\n this.regionList = [];\r\n};\r\n\r\nWebVTT.Parser.prototype = {\r\n // If the error is a ParsingError then report it to the consumer if\r\n // possible. If it's not a ParsingError then throw it like normal.\r\n reportOrThrowError: function(e) {\r\n if (e instanceof ParsingError) {\r\n this.onparsingerror && this.onparsingerror(e);\r\n } else {\r\n throw e;\r\n }\r\n },\r\n parse: function (data, flushing) {\r\n var self = this;\r\n // If there is no data then we won't decode it, but will just try to parse\r\n // whatever is in buffer already. This may occur in circumstances, for\r\n // example when flush() is called.\r\n if (data) {\r\n // Try to decode the data that we received.\r\n self.buffer += self.decoder.decode(data, {stream: true});\r\n }\r\n function collectNextLine() {\r\n var buffer = self.buffer;\r\n var pos = 0;\r\n while (pos < buffer.length && buffer[pos] !== '\\r' && buffer[pos] !== '\\n') {\r\n ++pos;\r\n }\r\n var line = buffer.substr(0, pos);\r\n // Advance the buffer early in case we fail below.\r\n if (buffer[pos] === '\\r') {\r\n ++pos;\r\n }\r\n if (buffer[pos] === '\\n') {\r\n ++pos;\r\n }\r\n self.buffer = buffer.substr(pos);\r\n return line;\r\n }\r\n\r\n // 3.4 WebVTT region and WebVTT region settings syntax\r\n function parseRegion(input) {\r\n var settings = new Settings();\r\n\r\n parseOptions(input, function (k, v) {\r\n switch (k) {\r\n case \"id\":\r\n settings.set(k, v);\r\n break;\r\n case \"width\":\r\n settings.percent(k, v);\r\n break;\r\n case \"lines\":\r\n settings.integer(k, v);\r\n break;\r\n case \"regionanchor\":\r\n case \"viewportanchor\":\r\n var xy = v.split(',');\r\n if (xy.length !== 2) {\r\n break;\r\n }\r\n // We have to make sure both x and y parse, so use a temporary\r\n // settings object here.\r\n var anchor = new Settings();\r\n anchor.percent(\"x\", xy[0]);\r\n anchor.percent(\"y\", xy[1]);\r\n if (!anchor.has(\"x\") || !anchor.has(\"y\")) {\r\n break;\r\n }\r\n settings.set(k + \"X\", anchor.get(\"x\"));\r\n settings.set(k + \"Y\", anchor.get(\"y\"));\r\n break;\r\n case \"scroll\":\r\n settings.alt(k, v, [\"up\"]);\r\n break;\r\n }\r\n }, /=/, /\\s/);\r\n\r\n // Create the region, using default values for any values that were not\r\n // specified.\r\n if (settings.has(\"id\")) {\r\n var region = new VTTRegion();\r\n region.width = settings.get(\"width\", 100);\r\n region.lines = settings.get(\"lines\", 3);\r\n region.regionAnchorX = settings.get(\"regionanchorX\", 0);\r\n region.regionAnchorY = settings.get(\"regionanchorY\", 100);\r\n region.viewportAnchorX = settings.get(\"viewportanchorX\", 0);\r\n region.viewportAnchorY = settings.get(\"viewportanchorY\", 100);\r\n region.scroll = settings.get(\"scroll\", \"\");\r\n // Register the region.\r\n self.onregion && self.onregion(region);\r\n // Remember the VTTRegion for later in case we parse any VTTCues that\r\n // reference it.\r\n self.regionList.push({\r\n id: settings.get(\"id\"),\r\n region: region\r\n });\r\n }\r\n }\r\n\r\n // 3.2 WebVTT metadata header syntax\r\n function parseHeader(input) {\r\n parseOptions(input, function (k, v) {\r\n switch (k) {\r\n case \"Region\":\r\n // 3.3 WebVTT region metadata header syntax\r\n parseRegion(v);\r\n break;\r\n }\r\n }, /:/);\r\n }\r\n\r\n // 5.1 WebVTT file parsing.\r\n try {\r\n var line;\r\n if (self.state === \"INITIAL\") {\r\n // We can't start parsing until we have the first line.\r\n if (!/\\r\\n|\\n/.test(self.buffer)) {\r\n return this;\r\n }\r\n\r\n line = collectNextLine();\r\n\r\n var m = line.match(/^WEBVTT([ \\t].*)?$/);\r\n if (!m || !m[0]) {\r\n throw new ParsingError(ParsingError.Errors.BadSignature);\r\n }\r\n\r\n self.state = \"HEADER\";\r\n }\r\n\r\n var alreadyCollectedLine = false;\r\n while (self.buffer) {\r\n // We can't parse a line until we have the full line.\r\n if (!/\\r\\n|\\n/.test(self.buffer)) {\r\n return this;\r\n }\r\n\r\n if (!alreadyCollectedLine) {\r\n line = collectNextLine();\r\n } else {\r\n alreadyCollectedLine = false;\r\n }\r\n switch (self.state) {\r\n case \"HEADER\":\r\n // 13-18 - Allow a header (metadata) under the WEBVTT line.\r\n if (/:/.test(line)) {\r\n parseHeader(line);\r\n } else if (!line) {\r\n // An empty line terminates the header and starts the body (cues).\r\n self.state = \"ID\";\r\n }\r\n continue;\r\n case \"NOTE\":\r\n // Ignore NOTE blocks.\r\n if (!line) {\r\n self.state = \"ID\";\r\n }\r\n continue;\r\n case \"ID\":\r\n // Check for the start of NOTE blocks.\r\n if (/^NOTE($|[ \\t])/.test(line)) {\r\n self.state = \"NOTE\";\r\n break;\r\n }\r\n // 19-29 - Allow any number of line terminators, then initialize new cue values.\r\n if (!line) {\r\n continue;\r\n }\r\n self.cue = new VTTCue(0, 0, \"\");\r\n self.state = \"CUE\";\r\n // 30-39 - Check if self line contains an optional identifier or timing data.\r\n if (line.indexOf(\"-->\") === -1) {\r\n self.cue.id = line;\r\n continue;\r\n }\r\n // Process line as start of a cue.\r\n /*falls through*/\r\n case \"CUE\":\r\n // 40 - Collect cue timings and settings.\r\n try {\r\n parseCue(line, self.cue, self.regionList);\r\n } catch (e) {\r\n self.reportOrThrowError(e);\r\n // In case of an error ignore rest of the cue.\r\n self.cue = null;\r\n self.state = \"BADCUE\";\r\n continue;\r\n }\r\n self.state = \"CUETEXT\";\r\n continue;\r\n case \"CUETEXT\":\r\n var hasSubstring = line.indexOf(\"-->\") !== -1;\r\n // 34 - If we have an empty line then report the cue.\r\n // 35 - If we have the special substring '-->' then report the cue,\r\n // but do not collect the line as we need to process the current\r\n // one as a new cue.\r\n if (!line || hasSubstring && (alreadyCollectedLine = true)) {\r\n // We are done parsing self cue.\r\n self.oncue && self.oncue(self.cue);\r\n self.cue = null;\r\n self.state = \"ID\";\r\n continue;\r\n }\r\n if (self.cue.text) {\r\n self.cue.text += \"\\n\";\r\n }\r\n self.cue.text += line;\r\n continue;\r\n case \"BADCUE\": // BADCUE\r\n // 54-62 - Collect and discard the remaining cue.\r\n if (!line) {\r\n self.state = \"ID\";\r\n }\r\n continue;\r\n }\r\n }\r\n\r\n\r\n if (!flushing) {\r\n //때때로 (한긇 vtt로 추정) cue가 남아 있는채로 self.flush()를 호출해서 cue가 있기 때문에 다시 self.parse()를 타는 경우가 생김.\r\n //왜 이렇게 짜여 있는지 모르겠고 일단 아래와 같은 코드로 위기를 극복한다.\r\n if (self.state === \"CUETEXT\" && self.cue && self.oncue) {\r\n self.oncue(self.cue);\r\n }\r\n self.flush();\r\n return this;\r\n }\r\n } catch (e) {\r\n self.reportOrThrowError(e);\r\n // If we are currently parsing a cue, report what we have.\r\n if (self.state === \"CUETEXT\" && self.cue && self.oncue) {\r\n self.oncue(self.cue);\r\n }\r\n self.cue = null;\r\n // Enter BADWEBVTT state if header was not parsed correctly otherwise\r\n // another exception occurred so enter BADCUE state.\r\n self.state = self.state === \"INITIAL\" ? \"BADWEBVTT\" : \"BADCUE\";\r\n }\r\n return this;\r\n },\r\n flush: function () {\r\n var self = this;\r\n\r\n try {\r\n // Finish decoding the stream.\r\n self.buffer += self.decoder.decode();\r\n // Synthesize the end of the current cue or region.\r\n if (self.cue || self.state === \"HEADER\") {\r\n self.buffer += \"\\n\\n\";\r\n self.parse(null, true);\r\n }\r\n // If we've flushed, parsed, and we're still on the INITIAL state then\r\n // that means we don't have enough of the stream to parse the first\r\n // line.\r\n if (self.state === \"INITIAL\") {\r\n throw new ParsingError(ParsingError.Errors.BadSignature);\r\n }\r\n } catch(e) {\r\n self.reportOrThrowError(e);\r\n }\r\n self.onflush && self.onflush();\r\n return this;\r\n }\r\n};\r\n\r\n\r\n\r\n\r\nexport default WebVTT;","/**\r\n * Created by hoho on 2018. 8. 24..\r\n */\r\n\r\nexport const getBrowserLanguage = function(){\r\n let nav = window.navigator,\r\n browserLanguagePropertyKeys = ['language', 'browserLanguage', 'systemLanguage', 'userLanguage'],\r\n i,\r\n language;\r\n\r\n // support for HTML 5.1 \"navigator.languages\"\r\n if (Array.isArray(nav.languages)) {\r\n for (i = 0; i < nav.languages.length; i++) {\r\n language = nav.languages[i];\r\n if (language && language.length) {\r\n return language;\r\n }\r\n }\r\n }\r\n\r\n // support for other well known properties in browsers\r\n for (i = 0; i < browserLanguagePropertyKeys.length; i++) {\r\n language = nav[browserLanguagePropertyKeys[i]];\r\n if (language && language.length) {\r\n return language;\r\n }\r\n }\r\n\r\n return null;\r\n};\r\nexport const analUserAgent = function(){\r\n let unknown = '-';\r\n\r\n // screen\r\n let screenSize = '';\r\n if (screen.width) {\r\n let width = (screen.width) ? screen.width : '';\r\n let height = (screen.height) ? screen.height : '';\r\n screenSize += '' + width + \" x \" + height;\r\n }\r\n\r\n // browser\r\n let nVer = navigator.appVersion;\r\n let nAgt = navigator.userAgent;\r\n let browser = navigator.appName;\r\n let version = '' + parseFloat(navigator.appVersion);\r\n let majorVersion = parseInt(navigator.appVersion, 10);\r\n let isWebview = false;\r\n let nameOffset, verOffset, ix;\r\n\r\n // Opera\r\n if ((verOffset = nAgt.indexOf('Opera')) != -1) {\r\n browser = 'Opera';\r\n version = nAgt.substring(verOffset + 6);\r\n if ((verOffset = nAgt.indexOf('Version')) != -1) {\r\n version = nAgt.substring(verOffset + 8);\r\n }\r\n }\r\n // Opera Next\r\n if ((verOffset = nAgt.indexOf('OPR')) != -1) {\r\n browser = 'Opera';\r\n version = nAgt.substring(verOffset + 4);\r\n }\r\n //삼성 브라우저\r\n else if ((verOffset = nAgt.indexOf('SamsungBrowser')) != -1) {\r\n browser = 'SamsungBrowser';\r\n version = nAgt.substring(verOffset + 15);\r\n }\r\n // Edge\r\n else if ((verOffset = nAgt.indexOf('Edge')) != -1) {\r\n browser = 'Microsoft Edge';\r\n version = nAgt.substring(verOffset + 5);\r\n }\r\n // MSIE\r\n else if ((verOffset = nAgt.indexOf('MSIE')) != -1) {\r\n browser = 'Microsoft Internet Explorer';\r\n version = nAgt.substring(verOffset + 5);\r\n\r\n\r\n //win7 IE11 userAgent is ugly....\r\n if( (nAgt.indexOf('Trident/') !== -1) && (nAgt.indexOf('rv:') !== -1) ){\r\n version = nAgt.substring(nAgt.indexOf('rv:') + 3);\r\n }\r\n }\r\n // Chrome\r\n else if ((verOffset = nAgt.indexOf('Chrome')) != -1) {\r\n browser = 'Chrome';\r\n version = nAgt.substring(verOffset + 7);\r\n }\r\n else if ((verOffset = nAgt.indexOf('CriOS')) != -1) { //iphone - chrome\r\n browser = 'Chrome';\r\n version = nAgt.substring(verOffset + 6);\r\n }\r\n // Firefox\r\n else if ((verOffset = nAgt.indexOf('Firefox')) != -1) {\r\n browser = 'Firefox';\r\n version = nAgt.substring(verOffset + 8);\r\n }\r\n else if ((verOffset = nAgt.indexOf('FxiOS')) != -1) {\r\n browser = 'Firefox';\r\n version = nAgt.substring(verOffset + 6);\r\n }\r\n // Safari\r\n else if ((verOffset = nAgt.indexOf('Safari')) != -1) {\r\n browser = 'Safari';\r\n version = nAgt.substring(verOffset + 7);\r\n if ((verOffset = nAgt.indexOf('Version')) != -1) {\r\n version = nAgt.substring(verOffset + 8);\r\n }\r\n }\r\n\r\n\r\n // MSIE 11+\r\n else if (nAgt.indexOf('Trident/') !== -1) {\r\n browser = 'Microsoft Internet Explorer';\r\n version = nAgt.substring(nAgt.indexOf('rv:') + 3);\r\n }\r\n // Other browsers\r\n else if ((nameOffset = nAgt.lastIndexOf(' ') + 1) < (verOffset = nAgt.lastIndexOf('/'))) {\r\n browser = nAgt.substring(nameOffset, verOffset);\r\n version = nAgt.substring(verOffset + 1);\r\n if (browser.toLowerCase() == browser.toUpperCase()) {\r\n browser = navigator.appName;\r\n }\r\n }\r\n if(nAgt.indexOf(' wv') > 0){\r\n isWebview = true;\r\n }\r\n // trim the version string\r\n if ((ix = version.indexOf(';')) != -1) version = version.substring(0, ix);\r\n if ((ix = version.indexOf(' ')) != -1) version = version.substring(0, ix);\r\n if ((ix = version.indexOf(')')) != -1) version = version.substring(0, ix);\r\n\r\n majorVersion = parseInt('' + version, 10);\r\n if (isNaN(majorVersion)) {\r\n version = '' + parseFloat(navigator.appVersion);\r\n majorVersion = parseInt(navigator.appVersion, 10);\r\n }\r\n\r\n // mobile version\r\n var mobile = /Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(nVer);\r\n\r\n // cookie\r\n var cookieEnabled = (navigator.cookieEnabled) ? true : false;\r\n\r\n if (typeof navigator.cookieEnabled == 'undefined' && !cookieEnabled) {\r\n document.cookie = 'testcookie';\r\n cookieEnabled = (document.cookie.indexOf('testcookie') != -1) ? true : false;\r\n }\r\n\r\n // system\r\n var os = unknown;\r\n var clientStrings = [\r\n {s:'Windows 10', r:/(Windows 10.0|Windows NT 10.0)/},\r\n {s:'Windows 8.1', r:/(Windows 8.1|Windows NT 6.3)/},\r\n {s:'Windows 8', r:/(Windows 8|Windows NT 6.2)/},\r\n {s:'Windows 7', r:/(Windows 7|Windows NT 6.1)/},\r\n {s:'Windows Vista', r:/Windows NT 6.0/},\r\n {s:'Windows Server 2003', r:/Windows NT 5.2/},\r\n {s:'Windows XP', r:/(Windows NT 5.1|Windows XP)/},\r\n {s:'Windows 2000', r:/(Windows NT 5.0|Windows 2000)/},\r\n {s:'Windows ME', r:/(Win 9x 4.90|Windows ME)/},\r\n {s:'Windows 98', r:/(Windows 98|Win98)/},\r\n {s:'Windows 95', r:/(Windows 95|Win95|Windows_95)/},\r\n {s:'Windows NT 4.0', r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},\r\n {s:'Windows CE', r:/Windows CE/},\r\n {s:'Windows 3.11', r:/Win16/},\r\n {s:'Android', r:/Android/},\r\n {s:'Open BSD', r:/OpenBSD/},\r\n {s:'Sun OS', r:/SunOS/},\r\n {s:'Linux', r:/(Linux|X11)/},\r\n {s:'iOS', r:/(iPhone|iPad|iPod)/},\r\n {s:'Mac OS XI', r:/Mac OS X 11/},\r\n {s:'Mac OS X', r:/Mac OS X 10/},\r\n {s:'Mac OS', r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},\r\n {s:'QNX', r:/QNX/},\r\n {s:'UNIX', r:/UNIX/},\r\n {s:'BeOS', r:/BeOS/},\r\n {s:'OS/2', r:/OS\\/2/},\r\n {s:'Search Bot', r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\\/Teoma|ia_archiver)/}\r\n ];\r\n for (var id in clientStrings) {\r\n var cs = clientStrings[id];\r\n if (cs.r.test(nAgt)) {\r\n os = cs.s;\r\n break;\r\n }\r\n }\r\n\r\n var osVersion = unknown;\r\n\r\n if (/Windows/.test(os)) {\r\n osVersion = /Windows (.*)/.exec(os)[1];\r\n os = 'Windows';\r\n }\r\n\r\n switch (os) {\r\n case 'Mac OS XI':\r\n osVersion = /Mac OS X (11[\\.\\_\\d]+)/.exec(nAgt)[1];\r\n break;\r\n\r\n case 'Mac OS X':\r\n osVersion = /Mac OS X (10[\\.\\_\\d]+)/.exec(nAgt)[1];\r\n break;\r\n\r\n case 'Android':\r\n osVersion = /Android ([\\.\\_\\d]+)/.exec(nAgt)[1];\r\n break;\r\n\r\n case 'iOS':\r\n osVersion = /OS (\\d+)_(\\d+)_?(\\d+)?/.exec(nVer);\r\n if (osVersion) {\r\n osVersion = osVersion[1] + '.' + osVersion[2] + '.' + (osVersion[3] | 0);\r\n } else {\r\n osVersion = '';\r\n }\r\n\r\n break;\r\n }\r\n\r\n return {\r\n screen: screenSize,\r\n browser: browser,\r\n browserVersion: version,\r\n browserMajorVersion: majorVersion,\r\n mobile: mobile,\r\n ua : nAgt,\r\n os: os,\r\n osVersion: osVersion,\r\n cookies: cookieEnabled\r\n };\r\n};\r\n","import {getBrowserLanguage} from \"utils/browser\";\r\n/*\r\n * sami-parser\r\n * The MIT License (MIT)\r\n *\r\n * Copyright (c) 2013 Constantine Kim \r\n * https://github.com/elegantcoder/sami-parser\r\n *\r\n */\r\n\r\nconst langCodes = [\"ab\",\"aa\",\"af\", \"ak\", \"sq\", \"am\", \"ar\", \"an\", \"hy\", \"as\", \"av\", \"ae\", \"ay\", \"az\", \"bm\", \"ba\", \"eu\", \"be\", \"bn\", \"bh\", \"bi\", \"nb\",\"bs\",\"br\",\"bg\",\"my\",\"es\",\"ca\",\"km\",\"ch\",\"ce\",\"ny\",\"ny\",\"zh\",\"za\",\"cu\",\"cu\",\"cv\",\"kw\",\r\n \"co\",\"cr\",\"hr\",\"cs\",\"da\",\"dv\",\"dv\",\"nl\",\"dz\",\"en\",\"eo\",\"et\",\"ee\",\"fo\",\"fj\",\"fi\",\"nl\",\"fr\",\"ff\",\"gd\",\"gl\",\"lg\",\"ka\",\"de\",\"ki\",\"el\",\"kl\",\"gn\",\"gu\",\"ht\",\"ht\",\"ha\",\"he\",\"hz\",\"hi\",\"ho\",\"hu\",\"is\",\"io\",\"ig\",\"id\",\"ia\",\"ie\",\"iu\",\"ik\",\"ga\",\r\n \"it\",\"ja\",\"jv\",\"kl\",\"kn\",\"kr\",\"ks\",\"kk\",\"ki\",\"rw\",\"ky\",\"kv\",\"kg\",\"ko\",\"kj\",\"ku\",\"kj\",\"ky\",\"lo\",\"la\",\"lv\",\"lb\",\"li\",\"li\",\"li\",\"ln\",\"lt\",\"lu\",\"lb\",\"mk\",\"mg\",\"ms\",\"ml\",\"dv\",\"mt\",\"gv\",\"mi\",\"mr\",\"mh\",\"ro\",\"ro\",\"mn\",\"na\",\"nv\",\"nv\",\"nd\",\r\n \"nr\",\"ng\",\"ne\",\"nd\",\"se\",\"no\",\"nb\",\"nn\",\"ii\",\"ny\",\"nn\",\"ie\",\"oc\",\"oj\",\"cu\",\"cu\",\"cu\",\"or\",\"om\",\"os\",\"os\",\"pi\",\"pa\",\"ps\",\"fa\",\"pl\",\"pt\",\"pa\",\"ps\",\"qu\",\"ro\",\"rm\",\"rn\",\"ru\",\"sm\",\"sg\",\"sa\",\"sc\",\"gd\",\"sr\",\"sn\",\"ii\",\"sd\",\"si\",\"si\",\"sk\",\r\n \"sl\",\"so\",\"st\",\"nr\",\"es\",\"su\",\"sw\",\"ss\",\"sv\",\"tl\",\"ty\",\"tg\",\"ta\",\"tt\",\"te\",\"th\",\"bo\",\"ti\",\"to\",\"ts\",\"tn\",\"tr\",\"tk\",\"tw\",\"ug\",\"uk\",\"ur\",\"ug\",\"uz\",\"ca\",\"ve\",\"vi\",\"vo\",\"wa\",\"cy\",\"fy\",\"wo\",\"xh\",\"yi\",\"yo\",\"za\",\"zu\"];\r\n\r\nconst reOpenSync = /]*<[a-z]*/g;\r\n\r\nconst reStartTime = /]+?start[^=]*=[^0-9]*([0-9]*)[\"^0-9\"]*/i;\r\n\r\nconst reBr = /]*>/ig;\r\n\r\nconst reStyle = /]*>([\\s\\S]*?)<\\/style[^>]*>/i;\r\n\r\nconst reComment = /()/g;\r\n\r\nconst clone = function(obj) {\r\n var flags, key, newInstance;\r\n if ((obj == null) || typeof obj !== 'object') {\r\n return obj;\r\n }\r\n if (obj instanceof Date) {\r\n return new Date(obj.getTime());\r\n }\r\n if (obj instanceof RegExp) {\r\n flags = '';\r\n if (obj.global != null) {\r\n flags += 'g';\r\n }\r\n if (obj.ignoreCase != null) {\r\n flags += 'i';\r\n }\r\n if (obj.multiline != null) {\r\n flags += 'm';\r\n }\r\n if (obj.sticky != null) {\r\n flags += 'y';\r\n }\r\n return new RegExp(obj.source, flags);\r\n }\r\n newInstance = new obj.constructor();\r\n for (key in obj) {\r\n newInstance[key] = clone(obj[key]);\r\n }\r\n return newInstance;\r\n};\r\n\r\nconst strip_tags = function (input, allowed) {\r\n // http://kevin.vanzonneveld.net\r\n // + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n // + improved by: Luke Godfrey\r\n // + input by: Pul\r\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n // + bugfixed by: Onno Marsman\r\n // + input by: Alex\r\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n // + input by: Marc Palau\r\n // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n // + input by: Brett Zamir (http://brett-zamir.me)\r\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n // + bugfixed by: Eric Nagel\r\n // + input by: Bobby Drake\r\n // + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\r\n // + bugfixed by: Tomasz Wesolowski\r\n // + input by: Evertjan Garretsen\r\n // + revised by: Rafał Kukawski (http://blog.kukawski.pl/)\r\n // * example 1: strip_tags('

Kevin


van Zonneveld', '');\r\n // * returns 1: 'Kevin van Zonneveld'\r\n // * example 2: strip_tags('

Kevin van Zonneveld

', '

');\r\n // * returns 2: '

Kevin van Zonneveld

'\r\n // * example 3: strip_tags(\"
Kevin van Zonneveld\", \"\");\r\n // * returns 3: 'Kevin van Zonneveld'\r\n // * example 4: strip_tags('1 < 5 5 > 1');\r\n // * returns 4: '1 < 5 5 > 1'\r\n // * example 5: strip_tags('1
1');\r\n // * returns 5: '1 1'\r\n // * example 6: strip_tags('1
1', '
');\r\n // * returns 6: '1 1'\r\n // * example 7: strip_tags('1
1', '

');\r\n // * returns 7: '1
1'\r\n allowed = (((allowed || \"\") + \"\").toLowerCase().match(/<[a-z][a-z0-9]*>/g) || []).join(''); // making sure the allowed arg is a string containing only tags in lowercase ()\r\n var tags = /<\\/?([a-z][a-z0-9]*)\\b[^>]*>/gi,\r\n commentsAndPhpTags = /|<\\?(?:php)?[\\s\\S]*?\\?>/gi;\r\n return input.replace(commentsAndPhpTags, '').replace(tags, function($0, $1) {\r\n return allowed.indexOf('<' + $1.toLowerCase() + '>') > -1 ? $0 : '';\r\n });\r\n};\r\n\r\nconst _sort = function(langItem) {\r\n return langItem.sort(function(a, b) {\r\n var res;\r\n if ((res = a.start - b.start) === 0) {\r\n return a.end - b.end;\r\n } else {\r\n return res;\r\n }\r\n });\r\n};\r\n\r\nconst _mergeMultiLanguages = function(arr) {\r\n var content, dict, i, idx, key, lang, ret, val, _i, _len, _ref;\r\n dict = {};\r\n i = arr.length;\r\n ret = [];\r\n for (i = _i = 0, _len = arr.length; _i < _len; i = ++_i) {\r\n val = arr[i];\r\n key = val.startTime + ',' + val.endTime;\r\n if ((idx = dict[key]) !== void 0) {\r\n _ref = val.languages;\r\n for (lang in _ref) {\r\n content = _ref[lang];\r\n ret[idx].languages[lang] = content;\r\n }\r\n } else {\r\n ret.push(val);\r\n dict[key] = ret.length - 1;\r\n }\r\n }\r\n return ret;\r\n};\r\n\r\nconst SmiParser = function(sami, options) {\r\n var definedLangs, duration, errors, getDefinedLangs, getLanguage, key, makeEndTime, parse, result, value, _ref, fixedLang;\r\n parse = function() {\r\n var element, error, innerText, isBroken, item, lang, langItem, lineNum, nextStartTagIdx, ret, startTagIdx, startTime, str, tempRet, _ref, _ref1, _ref2;\r\n error = function(error) {\r\n var e;\r\n e = new Error(error);\r\n e.line = lineNum;\r\n e.context = element;\r\n return errors.push(e);\r\n };\r\n lineNum = 1;\r\n ret = [];\r\n tempRet = {};\r\n str = sami;\r\n while (true) {\r\n startTagIdx = str.search();\r\n if (nextStartTagIdx <= 0 || startTagIdx < 0) {\r\n break;\r\n }\r\n nextStartTagIdx = str.slice(startTagIdx + 1).search(reCloseSync) + 1;\r\n if (nextStartTagIdx > 0) {\r\n element = str.slice(startTagIdx, startTagIdx + nextStartTagIdx);\r\n } else {\r\n element = str.slice(startTagIdx);\r\n }\r\n lineNum += ((_ref = str.slice(0, startTagIdx).match(reLineEnding)) != null ? _ref.length : void 0) || 0;\r\n if (isBroken = reBrokenTag.test(element)) {\r\n error('ERROR_BROKEN_TAGS');\r\n }\r\n str = str.slice(startTagIdx + nextStartTagIdx);\r\n startTime = +((_ref1 = element.match(reStartTime)) != null ? parseFloat(_ref1[1]/1000) : void 0); //HSLEE ms -> s 로 변경\r\n if (startTime === null || startTime < 0) {\r\n error('ERROR_INVALID_TIME');\r\n }\r\n\r\n // We don't need complex language. cus SMI doens't obey the rules...\r\n lang = getLanguage(element);\r\n //lang = \"ko\";\r\n if (!lang) {\r\n // continue;\r\n error('ERROR_INVALID_LANGUAGE');\r\n }\r\n lineNum += ((_ref2 = element.match(reLineEnding)) != null ? _ref2.length : void 0) || 0;\r\n element = element.replace(reLineEnding, '');\r\n element = element.replace(reBr, \"\\n\");\r\n innerText = strip_tags(element).trim();\r\n\r\n //HSLEE : 20180530 - 우린 랭기지 구분이 필요 없다. 있는거 그대로 보여줄뿐\r\n item = {\r\n start: startTime,\r\n //languages: {},\r\n text: \"\",\r\n contents: innerText\r\n };\r\n if (lang) {\r\n //item.languages[lang] = innerText;\r\n item.text = innerText;\r\n }\r\n tempRet[lang] || (tempRet[lang] = []);\r\n //tempRet[lang].push(item);\r\n if(item.start){\r\n tempRet[lang].push(item);\r\n }\r\n\r\n }\r\n\r\n //fixed by hslee 190130\r\n //SMI was designed for multi language. But global standard (my guess) SRT, VTT doesn't support multi language.\r\n //This update is handling if SMI has multiple languages.\r\n fixedLang = fixedLang || getBrowserLanguage();\r\n let convertedLanguageNames = Object.keys(tempRet);\r\n\r\n if(convertedLanguageNames && convertedLanguageNames.length > 0){\r\n if(convertedLanguageNames.indexOf(fixedLang) > -1){\r\n langItem = tempRet[fixedLang];\r\n }else{\r\n langItem = tempRet[convertedLanguageNames.filter(function(name){return name !== \"undefined\"})[0]];\r\n }\r\n langItem = _sort(langItem);\r\n langItem = makeEndTime(langItem);\r\n ret = ret.concat(langItem);\r\n }\r\n\r\n //ret = _mergeMultiLanguages(ret);\r\n ret = _sort(ret);\r\n return ret;\r\n };\r\n getLanguage = function(element) {\r\n var className, lang;\r\n if(!element){return ;}\r\n for (className in definedLangs) {\r\n lang = definedLangs[className];\r\n if (lang.reClassName.test(element)) {\r\n return lang.lang;\r\n }\r\n }\r\n };\r\n getDefinedLangs = function() {\r\n var className, declaration, e, error, lang, matched, parsed, rule, selector, _i, _len, _ref, _ref1, _results;\r\n try {\r\n matched = ((_ref = sami.match(reStyle)) != null ? _ref[1] : void 0) || '';\r\n matched = matched.replace(reComment, '');\r\n parsed = cssParse(matched);\r\n _ref1 = parsed.stylesheet.rules;\r\n _results = [];\r\n for (_i = 0, _len = _ref1.length; _i < _len; _i++) {\r\n rule = _ref1[_i];\r\n selector = rule.selectors[0];\r\n if ((selector != null ? selector[0] : void 0) === '.') {\r\n _results.push((function() {\r\n var _j, _len1, _ref2, _results1;\r\n _ref2 = rule.declarations;\r\n _results1 = [];\r\n for (_j = 0, _len1 = _ref2.length; _j < _len1; _j++) {\r\n declaration = _ref2[_j];\r\n if (declaration.property.toLowerCase() === 'lang') {\r\n className = selector.slice(1);\r\n lang = declaration.value.slice(0, 2);\r\n if (~langCodes.indexOf(lang)) {\r\n _results1.push(definedLangs[className] = {\r\n lang: lang,\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(\" + className + \")['\\\"\\S]?\", 'i')\r\n });\r\n } else {\r\n throw Error();\r\n }\r\n } else {\r\n _results1.push(void 0);\r\n }\r\n }\r\n return _results1;\r\n })());\r\n } else {\r\n _results.push(void 0);\r\n }\r\n }\r\n return _results;\r\n } catch (_error) {\r\n e = _error;\r\n errors.push(error = new Error('ERROR_INVALID_LANGUAGE_DEFINITION'));\r\n }\r\n };\r\n makeEndTime = function(langItem) {\r\n var i, item, _ref;\r\n i = langItem.length;\r\n while (i--) {\r\n item = langItem[i];\r\n if ((_ref = langItem[i - 1]) != null) {\r\n //HSLEE : 이왕이면 SRT 파서와 포맷을 맞추자\r\n _ref.end = item.start;\r\n }\r\n if (!item.contents || item.contents === ' ') {\r\n langItem.splice(i, 1);\r\n } else {\r\n delete langItem[i].contents;\r\n if (!item.end) {\r\n item.end = item.start + duration;\r\n }\r\n }\r\n }\r\n return langItem;\r\n };\r\n errors = [];\r\n definedLangs = {\r\n KRCC: {\r\n lang: 'ko',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(KRCC)['\\\"\\S]?\", 'i')\r\n },\r\n KOCC: {\r\n lang: 'ko',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(KOCC)['\\\"\\S]?\", 'i')\r\n },\r\n KR: {\r\n lang: 'ko',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(KR)['\\\"\\S]?\", 'i')\r\n },\r\n ENCC: {\r\n lang: 'en',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(ENCC)['\\\"\\S]?\", 'i')\r\n },\r\n EGCC: {\r\n lang: 'en',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(EGCC)['\\\"\\S]?\", 'i')\r\n },\r\n EN: {\r\n lang: 'en',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(EN)['\\\"\\S]?\", 'i')\r\n },\r\n JPCC: {\r\n lang: 'ja',\r\n reClassName: new RegExp(\"class[^=]*?=[\\\"'\\S]*(JPCC)['\\\"\\S]?\", 'i')\r\n }\r\n };\r\n if (options != null ? options.definedLangs : void 0) {\r\n _ref = options.definedLangs;\r\n for (key in _ref) {\r\n value = _ref[key];\r\n definedLangs[key] = value;\r\n }\r\n }\r\n duration = (options != null ? options.duration : void 0) || 10; //HSLEE ms -> s 로 변경\r\n fixedLang = options.fixedLang;\r\n sami = sami.trim();\r\n //getDefinedLangs();\r\n result = parse();\r\n return {\r\n result: result,\r\n errors: errors\r\n };\r\n};\r\n\r\n\r\nexport default SmiParser;","/**\r\n * Created by hoho on 2018. 7. 4..\r\n */\r\nimport SrtParser from \"api/caption/parser/SrtParser\";\r\nimport WebVTT from 'api/caption/parser/VttParser'\r\nimport VTTCue from 'utils/captions/vttCue'\r\nimport SmiParser from 'api/caption/parser/SmiParser'\r\n\r\nconst Loader = function () {\r\n const that = {};\r\n\r\n const convertToVTTCues = function (cues) {\r\n return cues.map(cue => new VTTCue(cue.start, cue.end, cue.text));\r\n };\r\n\r\n that.load = (track, language, successCallback, errorCallback) => {\r\n\r\n fetch(track.file).then(function (response) {\r\n if (response.ok) {\r\n\r\n response.text().then(function (body) {\r\n let cues = [];\r\n let vttCues = [];\r\n\r\n if (body.indexOf('WEBVTT') >= 0) {\r\n OvenPlayerConsole.log(\"WEBVTT LOADED\");\r\n let parser = new WebVTT.Parser(window, WebVTT.StringDecoder());\r\n vttCues = [];\r\n parser.oncue = function (cue) {\r\n vttCues.push(cue);\r\n };\r\n parser.onflush = function () {\r\n //delete track.xhr;\r\n successCallback(vttCues);\r\n };\r\n // Parse calls onflush internally\r\n parser.parse(body);\r\n } else if (body.indexOf('SAMI') >= 0) {\r\n OvenPlayerConsole.log(\"SAMI LOADED\");\r\n let parsedData = SmiParser(body, {fixedLang: language});\r\n vttCues = convertToVTTCues(parsedData.result);\r\n successCallback(vttCues);\r\n\r\n } else {\r\n OvenPlayerConsole.log(\"SRT LOADED\");\r\n cues = SrtParser(body);\r\n vttCues = convertToVTTCues(cues);\r\n successCallback(vttCues);\r\n }\r\n }).catch(function (e) {\r\n errorCallback(e);\r\n });\r\n\r\n } else {\r\n errorCallback(response.status);\r\n }\r\n }).catch(function (e) {\r\n errorCallback(e);\r\n });\r\n\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default Loader;\r\n","// STATE\r\nexport const STATE_BUFFERING = \"buffering\";\r\nexport const STATE_IDLE = \"idle\";\r\nexport const STATE_COMPLETE = \"complete\";\r\nexport const STATE_PAUSED = \"paused\";\r\nexport const STATE_PLAYING = \"playing\";\r\nexport const STATE_ERROR = \"error\";\r\nexport const STATE_LOADING = \"loading\";\r\nexport const STATE_STALLED = \"stalled\";\r\n\r\nexport const STATE_AD_LOADING = \"adLoading\";\r\nexport const STATE_AD_LOADED = \"adLoaded\";\r\nexport const STATE_AD_PLAYING = \"adPlaying\";\r\nexport const STATE_AD_PAUSED = \"adPaused\";\r\nexport const STATE_AD_COMPLETE = \"adComplete\";\r\nexport const STATE_AD_ERROR = \"adError\";\r\nexport const PLAYER_AD_CLICK = \"adclick\";\r\n\r\n// PROVIDER\r\nexport const PROVIDER_HTML5 = \"html5\";\r\nexport const PROVIDER_WEBRTC = \"webrtc\";\r\nexport const PROVIDER_DASH = \"dash\";\r\nexport const PROVIDER_HLS = \"hls\";\r\nexport const PROVIDER_RTMP = \"rtmp\";\r\n\r\n// EVENTS\r\nexport const CONTENT_COMPLETE = STATE_COMPLETE;\r\nexport const READY = \"ready\";\r\nexport const DESTROY = \"destroy\";\r\nexport const CONTENT_SEEK = \"seek\";\r\nexport const CONTENT_BUFFER_FULL = \"bufferFull\";\r\nexport const DISPLAY_CLICK = \"displayClick\";\r\nexport const CONTENT_LOADED = \"loaded\";\r\nexport const PLAYLIST_CHANGED = \"playlistChanged\";\r\nexport const CONTENT_SEEKED = \"seeked\";\r\nexport const ALL_PLAYLIST_ENDED = \"allPlaylistEnded\";\r\nexport const NETWORK_UNSTABLED = \"unstableNetwork\";\r\nexport const HLS_PREPARED = \"hlsPrepared\";\r\nexport const HLS_DESTROYED = \"hlsDestroyed\";\r\nexport const DASH_PREPARED = \"dashPrepared\";\r\nexport const DASH_DESTROYED = \"dashDestroyed\";\r\nexport const PEER_CONNECTION_PREPARED = \"peerConnectionPrepared\";\r\nexport const PEER_CONNECTION_DESTROYED = \"peerConnectionDestroyed\";\r\n\r\n\r\n\r\nexport const ERROR = \"error\";\r\n\r\n// STATE OF PLAYER\r\nexport const PLAYER_STATE = \"stateChanged\";\r\nexport const PLAYER_COMPLETE = STATE_COMPLETE;\r\nexport const PLAYER_PAUSE = \"pause\";\r\nexport const PLAYER_PLAY = \"play\";\r\n\r\nexport const PLAYER_CLICKED = \"clicked\";\r\nexport const PLAYER_RESIZED = \"resized\";\r\nexport const PLAYER_LOADING = \"loading\";\r\nexport const PLAYER_FULLSCREEN_REQUEST = \"fullscreenRequested\";\r\nexport const PLAYER_FULLSCREEN_CHANGED = \"fullscreenChanged\";\r\nexport const PLAYER_WARNING = \"warning\";\r\n\r\nexport const AD_CHANGED = \"adChanged\";\r\nexport const AD_TIME = \"adTime\";\r\nexport const CONTENT_BUFFER = \"bufferChanged\";\r\nexport const CONTENT_TIME = \"time\";\r\nexport const CONTENT_RATE_CHANGE = \"ratechange\";\r\nexport const CONTENT_VOLUME = \"volumeChanged\";\r\nexport const CONTENT_MUTE = \"mute\";\r\nexport const CONTENT_META = \"metaChanged\";\r\nexport const CONTENT_SOURCE_CHANGED = \"sourceChanged\";\r\nexport const CONTENT_LEVEL_CHANGED = \"qualityLevelChanged\";\r\nexport const CONTENT_DURATION_CHANGED = \"durationChanged\";\r\nexport const PLAYBACK_RATE_CHANGED = \"playbackRateChanged\";\r\nexport const CONTENT_CAPTION_CUE_CHANGED = \"cueChanged\";\r\nexport const CONTENT_CAPTION_CHANGED = \"captionChanged\";\r\nexport const CONTENT_TIME_MODE_CHANGED = \"timeDisplayModeChanged\";\r\nexport const OME_P2P_MODE = \"p2pMode\";\r\nexport const AUDIO_TRACK_CHANGED = \"audioTrackChanged\";\r\n\r\n\r\nexport const AD_CLIENT_GOOGLEIMA = \"googleima\";\r\nexport const AD_CLIENT_VAST = \"vast\";\r\n\r\n\r\nexport const INIT_UNKNWON_ERROR = 100;\r\nexport const INIT_UNSUPPORT_ERROR = 101;\r\nexport const INIT_RTMP_SETUP_ERROR = 102;\r\nexport const INIT_DASH_UNSUPPORT = 103;\r\nexport const INIT_ADS_ERROR = 104;\r\nexport const INIT_DASH_FAIL = 105;\r\nexport const INIT_HLSJS_FAIL = 106;\r\nexport const PLAYER_UNKNWON_ERROR = 300;\r\nexport const PLAYER_UNKNWON_OPERATION_ERROR = 301;\r\nexport const PLAYER_UNKNWON_NETWORK_ERROR = 302;\r\nexport const PLAYER_UNKNWON_DECODE_ERROR = 303;\r\nexport const PLAYER_FILE_ERROR = 304;\r\nexport const PLAYER_CAPTION_ERROR = 305;\r\nexport const PLAYER_BAD_REQUEST_ERROR = 306;\r\nexport const PLAYER_AUTH_FAILED_ERROR = 307;\r\nexport const PLAYER_NOT_ACCEPTABLE_ERROR = 308;\r\nexport const PLAYER_WEBRTC_WS_ERROR = 501;\r\nexport const PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR = 502;\r\nexport const PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR = 503;\r\nexport const PLAYER_WEBRTC_CREATE_ANSWER_ERROR = 504;\r\nexport const PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR = 505;\r\nexport const PLAYER_WEBRTC_INTERNAL_ERROR = 506;\r\nexport const PLAYER_WEBRTC_NETWORK_SLOW = 510;\r\nexport const PLAYER_WEBRTC_UNEXPECTED_DISCONNECT = 511;\r\nexport const PLAYER_WEBRTC_TIMEOUT = 512;\r\n\r\nexport const WARN_MSG_MUTEDPLAY = \"Please touch here to turn on the sound.\";\r\n\r\n\r\nexport const UI_ICONS = {\r\n volume_mute : \"volume-mute\",\r\n op_warning : \"op-warning\"\r\n};\r\n\r\n\r\nexport const ERRORS = {codes : \"\"};\r\n\r\n\r\nexport const SYSTEM_TEXT = [\r\n {\r\n \"lang\" : \"en\",\r\n \"ui\" : {\r\n \"context\" : \"About OvenPlayer\",\r\n \"controls\" : {\r\n \"live\" : \"Live Streaming\",\r\n \"low_latency_live\" : \"Sub-Second Latency Streaming\",\r\n \"low_latency_p2p\" : \"Sub-Second Latency P2P\",\r\n },\r\n \"playlist\" : \"Playlist\",\r\n \"setting\" : {\r\n \"title\" : \"Settings\",\r\n \"speed\" : \"Speed\",\r\n \"speedUnit\" : \"x\",\r\n \"source\" : \"Source\",\r\n \"quality\" : \"Quality\",\r\n \"audioTrack\" : \"Audio\",\r\n \"caption\" : \"Caption\",\r\n \"display\" : \"Display\"\r\n }\r\n },\r\n \"api\" : {\r\n \"message\" : {\r\n \"muted_play\" : \"Please touch here to turn on the sound.\"\r\n },\r\n \"error\": {\r\n 100: {\r\n \"code\": 100,\r\n \"message\": \"Can not load due to unknown reasons.\",\r\n \"reason\": \"Can not load due to unknown reasons.\"\r\n },\r\n 101: {\r\n \"code\": 101,\r\n \"message\": \"Can not load due to playable media not found.\",\r\n \"reason\": \"Can not load due to playable media not found.\"\r\n },\r\n 102: {\r\n \"code\": 102,\r\n \"message\": \"Flash fetching process aborted.
Get Adobe Flash player\",\r\n \"reason\": \"It looks like not found swf or your environment is localhost.\"\r\n },\r\n 103: {\r\n \"code\": 103,\r\n \"message\": \"Can not load due to dash.js. Please use the latest dash.js.\",\r\n \"reason\": \"dash.js version is old.\"\r\n },\r\n 104: {\r\n \"code\": 104,\r\n \"message\": \"Can not load due to google ima for Ads. \",\r\n \"reason\": \"Please check the google ima library.\"\r\n },\r\n 105: {\r\n \"code\": 105,\r\n \"message\": \"Error initializing DASH.\",\r\n \"reason\": \"Error initializing DASH.\"\r\n },\r\n 106: {\r\n \"code\": 106,\r\n \"message\": \"Error initializing HLS.\",\r\n \"reason\": \"Error initializing HLS.\"\r\n },\r\n 300: {\r\n \"code\": 300,\r\n \"message\": \"Can not play due to unknown reasons.\",\r\n \"reason\": \"Can not play due to unknown reasons.\"\r\n },\r\n 301: {\r\n \"code\": 301,\r\n \"message\": \"Fetching process aborted by user.\",\r\n \"reason\": \"Fetching process aborted by user.\"\r\n },\r\n 302: {\r\n \"code\": 302,\r\n \"message\": \"Some of the media could not be downloaded due to a network error.\",\r\n \"reason\": \"Error occurred when downloading.\"\r\n },\r\n 303: {\r\n \"code\": 303,\r\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\r\n \"reason\": \"Error occurred when decoding.\"\r\n },\r\n 304: {\r\n \"code\": 304,\r\n \"message\": \"Media playback has been canceled. It looks like your media is corrupted or your browser does not support the features your media uses.\",\r\n \"reason\": \"Media playback not supported.\"\r\n },\r\n 305: {\r\n \"code\": 305,\r\n \"message\": \"Can not load captions due to unknown reasons.\",\r\n \"reason\": \"Can not load captions due to unknown reasons.\"\r\n },\r\n 306: {\r\n \"code\": 306,\r\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\r\n \"reason\": \"The server cannot or will not process the request.\"\r\n },\r\n 307: {\r\n \"code\": 307,\r\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\r\n \"reason\": \"The server refused the request.\"\r\n },\r\n 308: {\r\n \"code\": 308,\r\n \"message\": \"Unable to load media. This may be due to a server or network error, or due to an unsupported format.\",\r\n \"reason\": \"The server do not accept the request.\"\r\n },\r\n 501: {\r\n \"code\": 501,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"WebSocket connection failed.\"\r\n },\r\n 502: {\r\n \"code\": 502,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"WebRTC addIceCandidate failed.\"\r\n },\r\n 503: {\r\n \"code\": 503,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"WebRTC setRemoteDescription failed.\"\r\n },\r\n 504: {\r\n \"code\": 504,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"WebRTC peer createOffer failed.\"\r\n },\r\n 505: {\r\n \"code\": 505,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"WebRTC setLocalDescription failed.\"\r\n },\r\n 506: {\r\n \"code\": 506,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"WebRTC internal error.\"\r\n },\r\n 510: {\r\n \"code\": 510,\r\n \"message\": \"Network connection is unstable. Check the network connection.\",\r\n \"reason\": \"Network is slow.\"\r\n },\r\n 511: {\r\n \"code\": 511,\r\n \"message\": \"Connection with low-latency(OME) terminated unexpectedly.\",\r\n \"reason\": \"Unexpected end of connection.\"\r\n },\r\n 512: {\r\n \"code\": 512,\r\n \"message\": \"Connection with low-latency(OME) server failed.\",\r\n \"reason\": \"Connection timeout.\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"lang\" : \"ko\",\r\n \"ui\" : {\r\n \"context\" : \"오븐플레이어에 관하여\",\r\n \"controls\" : {\r\n \"live\" : \"라이브\",\r\n \"low_latency_live\" : \"초저지연 라이브\",\r\n \"low_latency_p2p\" : \"초저지연 P2P\",\r\n },\r\n \"playlist\" : \"플레이리스트\",\r\n \"setting\" : {\r\n \"title\" : \"설정\",\r\n \"speed\" : \"재생 속도\",\r\n \"speedUnit\" : \"x\",\r\n \"source\" : \"소스\",\r\n \"quality\" : \"품질\",\r\n \"audioTrack\" : \"오디오\",\r\n \"caption\" : \"자막\",\r\n \"display\" : \"표시\"\r\n }\r\n },\r\n \"api\" : {\r\n \"message\" : {\r\n \"muted_play\" : \"눌러서 소리 켜기\"\r\n },\r\n \"error\": {\r\n 100: {\r\n \"code\": 100,\r\n \"message\": \"알 수 없는 이유로 로드 할 수 없습니다.\",\r\n \"reason\": \"알 수 없는 이유로 로드 할 수 없습니다.\"\r\n },\r\n 101: {\r\n \"code\": 101,\r\n \"message\": \"지원되는 미디어를 찾지 못해 로드 할 수 없습니다.\",\r\n \"reason\": \"Can not load due to playable media not found.\"\r\n },\r\n 102: {\r\n \"code\": 102,\r\n \"message\": \"플레시 로드가 중단 되었습니다.
Get Adobe Flash player\",\r\n \"reason\": \"It looks like not found swf or your environment is localhost.\"\r\n },\r\n 103: {\r\n \"code\": 103,\r\n \"message\": \"DashJS로 인해 로드 할 수 없습니다. 최신 dash.js를 사용해 주세요.\",\r\n \"reason\": \"dash.js version is old.\"\r\n },\r\n 104: {\r\n \"code\": 104,\r\n \"message\": \"Google IMA 라이브러리가 없어 로드 할 수 없습니다.\",\r\n \"reason\": \"Please check the google ima library.\"\r\n },\r\n 105: {\r\n \"code\": 105,\r\n \"message\": \"DASH 초기화 중 오류가 발생했습니다.\",\r\n \"reason\": \"Error initializing DASH.\"\r\n },\r\n 106: {\r\n \"code\": 106,\r\n \"message\": \"HLS 초기화 중 오류가 발생했습니다.\",\r\n \"reason\": \"Error initializing HLS.\"\r\n },\r\n 300: {\r\n \"code\": 300,\r\n \"message\": \"알 수 없는 이유로 재생할 수 없습니다.\",\r\n \"reason\": \"Can not play due to unknown reasons.\"\r\n },\r\n 301: {\r\n \"code\": 301,\r\n \"message\": \"사용자에 의한 프로세스 중단.\",\r\n \"reason\": \"Fetching process aborted by user.\"\r\n },\r\n 302: {\r\n \"code\": 302,\r\n \"message\": \"네트워크 오류로 인해 일부 미디어를 다운로드 할 수 없습니다.\",\r\n \"reason\": \"Error occurred when downloading.\"\r\n },\r\n 303: {\r\n \"code\": 303,\r\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\r\n \"reason\": \"Error occurred when decoding.\"\r\n },\r\n 304: {\r\n \"code\": 304,\r\n \"message\": \"미디어 재생이 취소되었습니다. 미디어가 손상되었거나 브라우저가 미디어에서 사용하는 기능을 지원하지 않는 것 같습니다.\",\r\n \"reason\": \"Media playback not supported.\"\r\n },\r\n 305: {\r\n \"code\": 305,\r\n \"message\": \"알 수 없는 이유로 자막을 로드 할 수 없습니다.\",\r\n \"reason\": \"Can not load captions due to unknown reasons.\"\r\n },\r\n 306: {\r\n \"code\": 306,\r\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\r\n \"reason\": \"The server cannot or will not process the request.\"\r\n },\r\n 307: {\r\n \"code\": 307,\r\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\r\n \"reason\": \"The server refused the request.\"\r\n },\r\n 308: {\r\n \"code\": 308,\r\n \"message\": \"미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.\",\r\n \"reason\": \"The server do not accept the request.\"\r\n },\r\n 501: {\r\n \"code\": 501,\r\n \"message\": \"웹소켓 연결 실패\",\r\n \"reason\": \"WebSocket connection failed.\"\r\n },\r\n 502: {\r\n \"code\": 502,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"WebRTC addIceCandidate failed.\"\r\n },\r\n 503: {\r\n \"code\": 503,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"WebRTC setRemoteDescription failed.\"\r\n },\r\n 504: {\r\n \"code\": 504,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"WebRTC peer createOffer failed.\"\r\n },\r\n 505: {\r\n \"code\": 505,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"WebRTC setLocalDescription failed.\"\r\n },\r\n 506: {\r\n \"code\": 506,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"WebRTC internal error.\"\r\n },\r\n 510: {\r\n \"code\": 510,\r\n \"message\": \"네트워크 연결이 불안정합니다. 네트워크 연결을 확인하십시오.\",\r\n \"reason\": \"Network is slow.\"\r\n },\r\n 511: {\r\n \"code\": 511,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"Unexpected end of connection.\"\r\n },\r\n 512: {\r\n \"code\": 512,\r\n \"message\": \"저지연(OME) 서버와 연결에 실패했습니다.\",\r\n \"reason\": \"Connection timeout.\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"lang\" : \"pl\",\r\n \"ui\" : {\r\n \"context\" : \"O OvenPlayer\",\r\n \"controls\" : {\r\n \"live\" : \"Transmisja na żywo\",\r\n \"low_latency_live\" : \"Transmisja z niskim opóźnieniem\",\r\n \"low_latency_p2p\" : \"Transmisja z niskim opóźnieniem P2P\",\r\n },\r\n \"playlist\" : \"Playlista\",\r\n \"setting\" : {\r\n \"title\" : \"Ustawienia\",\r\n \"speed\" : \"Prędkość\",\r\n \"speedUnit\" : \"x\",\r\n \"source\" : \"Źrodło\",\r\n \"quality\" : \"Jakość\",\r\n \"audioTrack\" : \"Audio\",\r\n \"caption\" : \"Podtytuł\",\r\n \"display\" : \"Wyświetlacz\"\r\n }\r\n },\r\n \"api\" : {\r\n \"message\" : {\r\n \"muted_play\" : \"Naciśnij tutaj, aby aktywować dźwięk\"\r\n },\r\n \"error\": {\r\n 100: {\r\n \"code\": 100,\r\n \"message\": \"Nie można załadować z nieznanego powodu.\",\r\n \"reason\": \"Can not load due to unknown reasons.\"\r\n },\r\n 101: {\r\n \"code\": 101,\r\n \"message\": \"Nie można załadować, ponieważ nie znaleziono multimediów, który można odtworzyć.\",\r\n \"reason\": \"Can not load due to playable media not found.\"\r\n },\r\n 102: {\r\n \"code\": 102,\r\n \"message\": \"Flash fetching process aborted.
Get Adobe Flash player\",\r\n \"reason\": \"It looks like not found swf or your environment is localhost.\"\r\n },\r\n 103: {\r\n \"code\": 103,\r\n \"message\": \"Nie można załadować, ponieważ wersja dash.js jest za stara.\",\r\n \"reason\": \"dash.js version is old.\"\r\n },\r\n 104: {\r\n \"code\": 104,\r\n \"message\": \"Can not load due to google ima for Ads. \",\r\n \"reason\": \"Please check the google ima library.\"\r\n },\r\n 105: {\r\n \"code\": 105,\r\n \"message\": \"Nie można załadować, nie znaleziono DASH.\",\r\n \"reason\": \"Error initializing DASH.\"\r\n },\r\n 106: {\r\n \"code\": 106,\r\n \"message\": \"Nie można załadować, nie znaleziono hlsjs.\",\r\n \"reason\": \"Error initializing HLS\"\r\n },\r\n 300: {\r\n \"code\": 300,\r\n \"message\": \"Nie można odtworzyć z nieznanego powodu.\",\r\n \"reason\": \"Can not play due to unknown reasons.\"\r\n },\r\n 301: {\r\n \"code\": 301,\r\n \"message\": \"Proces pobierania przerwany przez użytkownika.\",\r\n \"reason\": \"Fetching process aborted by user.\"\r\n },\r\n 302: {\r\n \"code\": 302,\r\n \"message\": \"Nie udało się pobrać niektórych multimediów z powodu błędu sieci.\",\r\n \"reason\": \"Error occurred when downloading.\"\r\n },\r\n 303: {\r\n \"code\": 303,\r\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\r\n \"reason\": \"Error occurred when decoding.\"\r\n },\r\n 304: {\r\n \"code\": 304,\r\n \"message\": \"Odtwarzanie zostało anulowane. Wygląda na to, że plik jest uszkodzony lub Twoja przeglądarka nie obsługuje tego pliku.\",\r\n \"reason\": \"Media playback not supported.\"\r\n },\r\n 305: {\r\n \"code\": 305,\r\n \"message\": \"Nie można wczytać napisów z nieznanego powodu.\",\r\n \"reason\": \"Can not load captions due to unknown reasons.\"\r\n },\r\n 306: {\r\n \"code\": 306,\r\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\r\n \"reason\": \"The server cannot or will not process the request.\"\r\n },\r\n 307: {\r\n \"code\": 307,\r\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\r\n \"reason\": \"The server refused the request.\"\r\n },\r\n 308: {\r\n \"code\": 308,\r\n \"message\": \"Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.\",\r\n \"reason\": \"The server do not accept the request.\"\r\n },\r\n 501: {\r\n \"code\": 501,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"WebSocket connection failed.\"\r\n },\r\n 502: {\r\n \"code\": 502,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"WebRTC addIceCandidate failed.\"\r\n },\r\n 503: {\r\n \"code\": 503,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"WebRTC setRemoteDescription failed.\"\r\n },\r\n 504: {\r\n \"code\": 504,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"WebRTC peer createOffer failed.\"\r\n },\r\n 505: {\r\n \"code\": 505,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"WebRTC setLocalDescription failed.\"\r\n },\r\n 506: {\r\n \"code\": 506,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"WebRTC internal error.\"\r\n },\r\n 510: {\r\n \"code\": 510,\r\n \"message\": \"Połączenie sieciowe jest niestabilne. Sprawdź swoją sieć.\",\r\n \"reason\": \"Network is slow.\"\r\n },\r\n 511: {\r\n \"code\": 511,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nieoczekiwanie zakończone.\",\r\n \"reason\": \"Unexpected end of connection.\"\r\n },\r\n 512: {\r\n \"code\": 512,\r\n \"message\": \"Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.\",\r\n \"reason\": \"Connection timeout.\"\r\n }\r\n }\r\n }\r\n }\r\n];\r\n","/**\r\n * Created by hoho on 2018. 5. 17..\r\n */\r\nimport CaptionLoader from 'api/caption/Loader';\r\nimport {READY, ERRORS, ERROR, PLAYER_CAPTION_ERROR, CONTENT_META, CONTENT_TIME, CONTENT_CAPTION_CUE_CHANGED, CONTENT_CAPTION_CHANGED} from \"api/constants\";\r\nimport _ from \"utils/underscore\";\r\n\r\nconst isSupport = function(kind){\r\n return kind === 'subtitles' || kind === 'captions';\r\n};\r\n\r\nconst Manager = function(api, playlistIndex){\r\n\r\n const that = {};\r\n let captionList = [];\r\n let currentCaptionIndex = -1;\r\n\r\n let captionLoader = CaptionLoader();\r\n let isFisrtLoad = true;\r\n let isShowing = false;\r\n\r\n OvenPlayerConsole.log(\"Caption Manager >> \", playlistIndex);\r\n\r\n\r\n let bindTrack = function(track, vttCues){\r\n track.data = vttCues || [];\r\n track.name = track.label || track.name || track.language;\r\n track.id = (function(track, tracksCount) {\r\n var trackId;\r\n var prefix = track.kind || 'cc';\r\n if (track.default || track.defaulttrack) {\r\n trackId = 'default';\r\n\r\n } else {\r\n trackId = track.id || (prefix + tracksCount);\r\n }\r\n if(isFisrtLoad){\r\n //This execute only on. and then use flushCaptionList(lastCaptionIndex);\r\n changeCurrentCaption(captionList.length||0);\r\n isFisrtLoad = false;\r\n\r\n }\r\n return trackId;\r\n })(track, captionList.length);\r\n\r\n captionList.push(track);\r\n return track.id;\r\n };\r\n let changeCurrentCaption = function(index){\r\n currentCaptionIndex = index;\r\n api.trigger(CONTENT_CAPTION_CHANGED, currentCaptionIndex);\r\n };\r\n if(api.getConfig().playlist && api.getConfig().playlist.length > 0){\r\n let playlist = api.getConfig().playlist[playlistIndex];\r\n\r\n if(playlist && playlist.tracks && playlist.tracks.length > 0){\r\n for(let i = 0; i < playlist.tracks.length; i ++){\r\n const track = playlist.tracks[i];\r\n\r\n if(isSupport(track.kind) && ! _.findWhere(track, {file : track.file})){\r\n //that.flushCaptionList(currentCaptionIndex);\r\n\r\n captionLoader.load(track, track.lang, function(vttCues){\r\n if(vttCues && vttCues.length > 0){\r\n let captionId = bindTrack(track, vttCues);\r\n }\r\n }, function(error){\r\n let tempError = ERRORS.codes[PLAYER_CAPTION_ERROR];\r\n tempError.error = error;\r\n api.trigger(ERROR, tempError);\r\n });\r\n }\r\n }\r\n\r\n }\r\n }\r\n\r\n api.on(CONTENT_TIME, function(meta){\r\n let position = meta.position;\r\n if(currentCaptionIndex > -1 && captionList[currentCaptionIndex]){\r\n let currentCues = _.filter(captionList[currentCaptionIndex].data, function (cue) {\r\n return position >= (cue.startTime) && ( (!cue.endTime || position) <= cue.endTime);\r\n });\r\n if(currentCues && currentCues.length > 0){\r\n api.trigger(CONTENT_CAPTION_CUE_CHANGED, currentCues[0]);\r\n }\r\n }\r\n\r\n });\r\n that.flushCaptionList = (lastCaptionIndex) =>{\r\n captionList = [];\r\n changeCurrentCaption(lastCaptionIndex);\r\n //currentCaptionIndex = lastCaptionIndex;\r\n };\r\n that.getCaptionList = () =>{\r\n return captionList||[];\r\n };\r\n that.getCurrentCaption = () =>{\r\n return currentCaptionIndex;\r\n };\r\n that.setCurrentCaption = (_index) =>{\r\n if(_index > -2 && _index < captionList.length){\r\n changeCurrentCaption(_index);\r\n }else{\r\n return null;\r\n }\r\n };\r\n that.addCaption = (track) =>{\r\n if(isSupport(track.kind) && ! _.findWhere(captionLoader, {file : track.file})){\r\n captionLoader.load(track, function(vttCues){\r\n if(vttCues && vttCues.length > 0){\r\n bindTrack(track, vttCues);\r\n }\r\n }, function(error){\r\n let tempError = errors[PLAYER_CAPTION_ERROR];\r\n tempError.error = error;\r\n api.trigger(ERROR, tempError);\r\n });\r\n }\r\n };\r\n that.removeCaption = (index) => {\r\n if(index > -1 && index < captionList.length){\r\n captionList.splice(index, 1);\r\n return captionList;\r\n }else{\r\n return null;\r\n }\r\n };\r\n that.destroy = () => {\r\n captionList = [];\r\n captionLoader = null;\r\n api.off(CONTENT_TIME, null, that);\r\n };\r\n\r\n return that;\r\n};\r\n\r\n\r\n\r\n\r\nexport default Manager;\r\n","/**\r\n * Created by hoho on 2018. 7. 3..\r\n */\r\n\r\n/**\r\n * @brief This module provide custom events.\r\n * @param object An object that requires custom events.\r\n *\r\n * */\r\n\r\nconst EventEmitter = function(object){\r\n let that = object;\r\n let _events =[];\r\n\r\n const triggerEvents = function(events, args, context){\r\n let i = 0;\r\n let length = events.length;\r\n for(i = 0; i < length; i ++){\r\n let event = events[i];\r\n event.listener.apply( ( event.context || context ), args);\r\n }\r\n };\r\n\r\n that.on = function(name, listener, context){\r\n (_events[name] || (_events[name]=[]) ).push({ listener: listener , context : context});\r\n return that;\r\n };\r\n that.trigger = function(name){\r\n if(!_events){\r\n return false;\r\n }\r\n const args = [].slice.call(arguments, 1);\r\n const events = _events[name];\r\n const allEvents = _events.all;\r\n\r\n if(events){\r\n triggerEvents(events, args, that);\r\n }\r\n if(allEvents){\r\n triggerEvents(allEvents, arguments, that);\r\n }\r\n };\r\n that.off = function(name, listener, context){\r\n if(!_events){\r\n return false;\r\n }\r\n\r\n if (!name && !listener && !context) {\r\n _events = [];\r\n return that;\r\n }\r\n\r\n const names = name ? [name] : Object.keys(_events);\r\n\r\n for (let i = 0, l = names.length; i < l; i++) {\r\n name = names[i];\r\n const events = _events[name];\r\n if (events) {\r\n const retain = _events[name] = [];\r\n if (listener || context) {\r\n for (let j = 0, k = events.length; j < k; j++) {\r\n const event = events[j];\r\n if ((listener && listener !== event.listener && listener !== event.listener.listener && listener !== event.listener._listener)\r\n ||(context && context !== event.context)\r\n ) {\r\n retain.push(event);\r\n }\r\n }\r\n }\r\n if (!retain.length) {\r\n delete _events[name];\r\n }\r\n }\r\n }\r\n return that;\r\n };\r\n that.once = function(name, listener, context){\r\n let count = 0;\r\n const onceCallback = function() {\r\n if (count++) {\r\n return;\r\n }\r\n that.off(name, onceCallback);\r\n listener.apply(that, arguments);\r\n };\r\n onceCallback._listener = listener;\r\n return that.on(name, onceCallback, context);\r\n };\r\n\r\n return that;\r\n}\r\n\r\nexport default EventEmitter;\r\n","/**\r\n * Created by hoho on 2018. 7. 23..\r\n */\r\nimport _ from \"utils/underscore\";\r\nimport dom from 'utils/polyfills/dom.js';\r\n\r\n/**\r\n * @brief It was replace jquery's selector. It Often used by OvenTemplate. (/view/engine/OvenTemplate.js)\r\n * @param selectorOrElement string or element\r\n *\r\n * */\r\n\r\n\r\nconst La$ = function(selectorOrElement){\r\n const that = {};\r\n\r\n let $element = null;\r\n\r\n const returnNode = function($element , selector){\r\n let nodeList = $element.querySelectorAll(selector);\r\n if(nodeList.length > 1){\r\n return nodeList;\r\n }else{\r\n return nodeList[0];\r\n }\r\n\r\n };\r\n\r\n if( _.isElement(selectorOrElement) || _.every(selectorOrElement, function(item){return _.isElement(item)})){\r\n $element = selectorOrElement;\r\n }else if(selectorOrElement === \"document\"){\r\n $element = document;\r\n }else if(selectorOrElement === \"window\"){\r\n $element = window;\r\n }else{\r\n $element = returnNode(document, selectorOrElement);\r\n }\r\n\r\n\r\n if(!$element){\r\n return null;\r\n }\r\n\r\n /*EFFECTS*/\r\n\r\n that.show = () =>{\r\n $element.style.display = 'block';\r\n };\r\n\r\n that.hide = () =>{\r\n $element.style.display = 'none';\r\n };\r\n\r\n /*ELEMENTS*/\r\n\r\n that.addClass = (name) =>{\r\n if($element.classList){\r\n $element.classList.add(name);\r\n }else{\r\n let classNames = $element.className.split(\" \");\r\n if(classNames.indexOf(name) === -1){\r\n $element.className += \" \" + name;\r\n }\r\n }\r\n };\r\n\r\n that.after = (htmlString) => {\r\n $element.insertAdjacentHTML('afterend', htmlString);\r\n };\r\n\r\n that.append = (htmlString) => {\r\n $element.appendChild(htmlString);\r\n };\r\n\r\n that.before = (htmlString) => {\r\n $element.insertAdjacentHTML('beforebegin', htmlString);\r\n };\r\n\r\n that.children = () => {\r\n return $element.children || [];\r\n };\r\n\r\n //The contains() method returns a Boolean value indicating whether a node is a descendant of a specified node.\r\n //A descendant can be a child, grandchild, great-grandchild, and so on.\r\n that.contains = (elChild) => {\r\n return $element !== elChild && $element.contains(elChild);\r\n };\r\n\r\n that.empty = () => {\r\n $element.innerHTML = \"\";\r\n };\r\n\r\n\r\n that.find = (selector) =>{\r\n return La$(returnNode($element, selector));\r\n };\r\n\r\n that.css = (name, value) => {\r\n if(value){\r\n if($element.length > 0){\r\n $element.forEach(function(element){\r\n element.style[name] = value;\r\n })\r\n }else{\r\n $element.style[name] = value;\r\n }\r\n }else{\r\n return $element.style[name];\r\n }\r\n\r\n };\r\n\r\n\r\n\r\n that.removeClass = (name) =>{\r\n if ($element.classList){\r\n $element.classList.remove(name);\r\n }else{\r\n $element.className = $element.className.replace(new RegExp('(^|\\\\b)' + name.split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\r\n\r\n }\r\n };\r\n\r\n that.removeAttribute = (attrName) => {\r\n $element.removeAttribute(attrName);\r\n };\r\n\r\n\r\n\r\n /*that.append = (htmlCode) =>{\r\n $element.innerHTML += htmlCode;\r\n };*/\r\n\r\n that.text = (text) => { //IE8+\r\n if(text === undefined){\r\n return $element.textContent;\r\n }else{\r\n $element.textContent = text;\r\n }\r\n };\r\n that.html = (htmlString) => {\r\n $element.innerHTML = htmlString;\r\n };\r\n that.hasClass = (name) => { //IE8+\r\n if($element.classList){\r\n return $element.classList.contains(name);\r\n }else{\r\n return new RegExp('(^| )' + name + '( |$)', 'gi').test($element.name);\r\n }\r\n };\r\n\r\n that.is = ($targetElement) => {\r\n /*var matches = function(el, selector) {\r\n return (el.matches || el.matchesSelector || el.msMatchesSelector || el.mozMatchesSelector || el.webkitMatchesSelector || el.oMatchesSelector).call(el, selector);\r\n };\r\n\r\n matches(el, '.my-class');*/\r\n return $element === $targetElement;\r\n };\r\n\r\n that.offset = () =>{ //IE8+\r\n const rect = $element.getBoundingClientRect();\r\n\r\n return {\r\n top: rect.top + document.body.scrollTop,\r\n left: rect.left + document.body.scrollLeft\r\n }\r\n };\r\n\r\n that.width = () => { //IE8+\r\n return $element.clientWidth;\r\n };\r\n\r\n that.height = () => { //IE8+\r\n return $element.clientHeight;\r\n };\r\n\r\n that.attr = (attr) => {\r\n return $element.getAttribute(attr);\r\n };\r\n\r\n that.replace = (html) => {\r\n $element.replaceWith(html);\r\n };\r\n\r\n\r\n that.remove = () => {\r\n if($element.length > 1){\r\n $element.parentElement.removeChild($element);\r\n }else{\r\n $element.remove();\r\n }\r\n\r\n };\r\n\r\n that.removeChild = (element) => {\r\n if(element){\r\n $element.removeChild(element);\r\n }else{\r\n while ($element.hasChildNodes()) {\r\n $element.removeChild($element.firstChild);\r\n }\r\n }\r\n\r\n };\r\n\r\n that.get = () => {\r\n return $element;\r\n };\r\n\r\n that.closest = (selectorString) => {\r\n\r\n $element.closest = function (s) {\r\n\r\n let el = $element;\r\n\r\n do {\r\n\r\n if (el.matches(s)) {\r\n return el;\r\n }\r\n\r\n el = el.parentElement || el.parentNode;\r\n\r\n } while (el !== null && el.nodeType === 1);\r\n\r\n return null;\r\n };\r\n\r\n let closestElement = $element.closest(selectorString);\r\n\r\n if(closestElement){\r\n return La$(closestElement);\r\n }else{\r\n return null;\r\n }\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default La$;\r\n","import {extractExtension} from \"utils/strings\";\r\n\r\nexport const isRtmp = function (file, type) {\r\n if (file) {\r\n return (file.indexOf('rtmp:') == 0 || type == 'rtmp');\r\n }\r\n};\r\nexport const isWebRTC = function (file, type) {\r\n if (file) {\r\n return (file.indexOf('ws:') === 0 || file.indexOf('wss:') === 0 || type === 'webrtc');\r\n }\r\n return false;\r\n};\r\nexport const isHls = function (file, type) {\r\n if (file) {\r\n return (type === 'hls' || type === 'm3u8' || type === 'application/vnd.apple.mpegurl' || extractExtension(file) == 'm3u8');\r\n\r\n }\r\n};\r\nexport const isDash = function (file, type) {\r\n if (file) {\r\n return (type === 'mpd' || type === 'dash' || type === 'application/dash+xml' || extractExtension(file) == 'mpd');\r\n\r\n }\r\n};\r\n\r\nexport const checkAndGetContainerElement = function (container) {\r\n if (!container) {\r\n\r\n return null;\r\n }\r\n\r\n let containerElement = null;\r\n\r\n if (typeof container === 'string') {\r\n\r\n containerElement = document.getElementById(container);\r\n } else if (container.nodeType) {\r\n\r\n containerElement = container;\r\n } else {\r\n\r\n return null;\r\n }\r\n\r\n return containerElement;\r\n};","import {isRtmp, isWebRTC, isDash, isHls} from \"utils/validator\";\r\nimport {analUserAgent} from \"utils/browser\";\r\n/**\r\n * @brief This finds the provider that matches the input source.\r\n * @param\r\n * */\r\n\r\nconst SupportChecker = function(){\r\n const that = {};\r\n OvenPlayerConsole.log(\"SupportChecker loaded.\");\r\n let userAgentObject = analUserAgent();\r\n\r\n const supportList = [\r\n {\r\n name: 'html5',\r\n checkSupport: function (source) {\r\n const MimeTypes = {\r\n aac: 'audio/mp4',\r\n mp4: 'video/mp4',\r\n f4v: 'video/mp4',\r\n m4v: 'video/mp4',\r\n mov: 'video/mp4',\r\n mp3: 'audio/mpeg',\r\n mpeg: 'audio/mpeg',\r\n ogv: 'video/ogg',\r\n ogg: 'video/ogg',\r\n oga: 'video/ogg',\r\n vorbis: 'video/ogg',\r\n webm: 'video/webm',\r\n f4a: 'video/aac',\r\n m3u8: 'application/vnd.apple.mpegurl',\r\n m3u: 'application/vnd.apple.mpegurl',\r\n hls: 'application/vnd.apple.mpegurl'\r\n };\r\n\r\n const video = function(){\r\n return document.createElement('video')\r\n }();\r\n if (!video.canPlayType) {\r\n return false;\r\n }\r\n\r\n\r\n const file = source.file;\r\n const type = source.type;\r\n\r\n if(!type){return false;}\r\n const mimeType = source.mimeType || MimeTypes[type];\r\n\r\n // Latest Edge browser returns \"Chrome\" from userAgentObject.browser\r\n // Make sure to use hls.js Android devices\r\n if(isHls(file, type) && (userAgentObject.browser === \"Microsoft Edge\" || userAgentObject.os === \"Android\")) {\r\n\r\n return false;\r\n }\r\n\r\n if (isRtmp(file, type)) {\r\n return false;\r\n }\r\n\r\n if(isWebRTC(file, type)){\r\n return false;\r\n }\r\n\r\n if (!mimeType) {\r\n return false;\r\n }\r\n\r\n return !!video.canPlayType(mimeType);\r\n }\r\n },\r\n {\r\n name: 'webrtc',\r\n checkSupport: function (source) {\r\n const video = function(){\r\n return document.createElement('video')\r\n }();\r\n if (!video.canPlayType) {\r\n return false;\r\n }\r\n if (isRtmp(file, type)) {\r\n return false;\r\n }\r\n\r\n const file = source.file;\r\n const type = source.type;\r\n\r\n if(isWebRTC(file, type)){\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n }\r\n },\r\n {\r\n name: 'dash',\r\n checkSupport: function (source) {\r\n const file = source.file;\r\n\r\n const type = source.type;\r\n if (isRtmp(file, type)) {\r\n return false;\r\n }\r\n\r\n if (typeof ( window.MediaSource || window.WebKitMediaSource ) === \"function\" && isDash(file, type)) {\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n }\r\n },\r\n {\r\n name: 'hls',\r\n checkSupport: function (source) {\r\n const video = function(){\r\n return document.createElement('video')\r\n }();\r\n const file = source.file;\r\n const type = source.type;\r\n if (isRtmp(file, type)) {\r\n return false;\r\n }\r\n\r\n //this method from hls.js\r\n const isHlsSupport = () =>{\r\n function getMediaSource() {\r\n if (typeof window !== 'undefined') {\r\n return window.MediaSource || window.WebKitMediaSource;\r\n }\r\n }\r\n var mediaSource = getMediaSource();\r\n var sourceBuffer = window.SourceBuffer || window.WebKitSourceBuffer;\r\n var isTypeSupported = mediaSource && typeof mediaSource.isTypeSupported === 'function' && mediaSource.isTypeSupported('video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"');\r\n\r\n // if SourceBuffer is exposed ensure its API is valid\r\n // safari and old version of Chrome doe not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible\r\n var sourceBufferValidAPI = !sourceBuffer || sourceBuffer.prototype && typeof sourceBuffer.prototype.appendBuffer === 'function' && typeof sourceBuffer.prototype.remove === 'function';\r\n return !!isTypeSupported && !!sourceBufferValidAPI;\r\n };\r\n //Remove this '!!video.canPlayType('application/vnd.apple.mpegurl')' if you want to use hlsjs.\r\n //Yes I need hlsjs. 2019-06-12 && !!video.canPlayType('application/vnd.apple.mpegurl');\r\n return isHlsSupport();\r\n }\r\n },\r\n {\r\n name: 'rtmp',\r\n checkSupport: function (source) {\r\n const file = source.file;\r\n const type = source.type;\r\n function testFlash() {\r\n\r\n var support = false;\r\n\r\n //IE only\r\n if(\"ActiveXObject\" in window) {\r\n\r\n try{\r\n support = !!(new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\"));\r\n }catch(e){\r\n support = false;\r\n }\r\n\r\n //W3C, better support in legacy browser\r\n } else {\r\n\r\n support = !!navigator.mimeTypes['application/x-shockwave-flash'];\r\n\r\n }\r\n\r\n return support;\r\n\r\n }\r\n function checkSupport(){\r\n if(userAgentObject.browser === \"Microsoft Edge\" || userAgentObject.os === \"Android\" || userAgentObject.os === \"iOS\" || userAgentObject.browser === \"Safari\"){\r\n return false;\r\n }else{\r\n return true;\r\n }\r\n }\r\n if (isRtmp(file, type) && testFlash() && checkSupport()) {\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n }\r\n }\r\n ];\r\n\r\n that.findProviderNameBySource = (soruce_) => {\r\n OvenPlayerConsole.log(\"SupportChecker : findProviderNameBySource()\", soruce_);\r\n const source = (soruce_ === Object(soruce_)) ? soruce_ : {};\r\n for(var i = 0; i < supportList.length; i ++){\r\n if(supportList[i].checkSupport(source)){\r\n return supportList[i].name;\r\n }\r\n }\r\n };\r\n that.findProviderNamesByPlaylist = (playlistItem) => {\r\n OvenPlayerConsole.log(\"SupportChecker : findProviderNamesByPlaylist()\", playlistItem);\r\n let supportNames = [];\r\n /*for (let i = playlist_.length; i--;) {\r\n\r\n\r\n }*/\r\n const item = playlistItem;\r\n\r\n if(item && item.sources){\r\n for(let j = 0; j < item.sources.length; j ++){\r\n let source = item.sources[j];\r\n if (source) {\r\n const supported = that.findProviderNameBySource(source);\r\n if (supported) {\r\n supportNames.push(supported);\r\n }\r\n }\r\n }\r\n\r\n return supportNames;\r\n }\r\n return null;\r\n\r\n };\r\n return that;\r\n};\r\n\r\nexport default SupportChecker;\r\n","/**\r\n * Created by hoho on 27/06/2019.\r\n */\r\nexport const TEMP_VIDEO_URL = \"data:video/mp4;base64, AAAAHGZ0eXBNNFYgAAACAGlzb21pc28yYXZjMQAAAAhmcmVlAAAGF21kYXTeBAAAbGliZmFhYyAxLjI4AABCAJMgBDIARwAAArEGBf//rdxF6b3m2Ui3lizYINkj7u94MjY0IC0gY29yZSAxNDIgcjIgOTU2YzhkOCAtIEguMjY0L01QRUctNCBBVkMgY29kZWMgLSBDb3B5bGVmdCAyMDAzLTIwMTQgLSBodHRwOi8vd3d3LnZpZGVvbGFuLm9yZy94MjY0Lmh0bWwgLSBvcHRpb25zOiBjYWJhYz0wIHJlZj0zIGRlYmxvY2s9MTowOjAgYW5hbHlzZT0weDE6MHgxMTEgbWU9aGV4IHN1Ym1lPTcgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0xNiBjaHJvbWFfbWU9MSB0cmVsbGlzPTEgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz02IGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9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uMTAw\";\r\n","/**\r\n * Created by hoho on 2018. 11. 12..\r\n */\r\nimport {ERROR, STATE_ERROR} from \"api/constants\";\r\nimport _ from \"utils/underscore\";\r\n\r\nexport const extractVideoElement = function(elementOrMse) {\r\n if(_.isElement(elementOrMse)){\r\n return elementOrMse;\r\n }\r\n if(elementOrMse.getVideoElement){\r\n return elementOrMse.getVideoElement();\r\n }else if(elementOrMse.media){\r\n return elementOrMse.media;\r\n }\r\n return null;\r\n};\r\n\r\nexport const separateLive = function(mse) {\r\n //ToDo : You consider hlsjs. But not now because we don't support hlsjs.\r\n\r\n if(mse && mse.isDynamic){\r\n return mse.isDynamic();\r\n }else{\r\n return false;\r\n }\r\n};\r\n\r\nexport const errorTrigger = function(error, provider){\r\n if(provider){\r\n provider.setState(STATE_ERROR);\r\n provider.pause();\r\n provider.trigger(ERROR, error );\r\n }\r\n\r\n};\r\n\r\nexport const pickCurrentSource = (sources, playerConfig) => {\r\n\r\n let sourceIndex = 0;\r\n\r\n if (sources) {\r\n\r\n if (playerConfig.getSourceIndex() === -1) {\r\n\r\n for (var i = 0; i < sources.length; i++) {\r\n if (sources[i].default) {\r\n sourceIndex = i;\r\n break;\r\n }\r\n }\r\n } else {\r\n\r\n sourceIndex = playerConfig.getSourceIndex();\r\n }\r\n\r\n }\r\n\r\n return sourceIndex;\r\n}","/**\r\n * Created by hoho on 08/04/2019.\r\n */\r\nimport AdsEventsListener from \"api/ads/ima/Listener\";\r\nimport {TEMP_VIDEO_URL} from \"api/ads/utils\";\r\nimport LA$ from \"utils/likeA$.js\";\r\nimport {errorTrigger} from \"api/provider/utils\";\r\nimport {\r\n ERROR,\r\n CONTENT_VOLUME,\r\n STATE_LOADING,\r\n INIT_ADS_ERROR,\r\n STATE_AD_ERROR,\r\n PLAYER_WARNING,\r\n CONTENT_META,\r\n WARN_MSG_MUTEDPLAY,\r\n STATE_AD_LOADING,\r\n PROVIDER_DASH,\r\n UI_ICONS\r\n} from \"api/constants\";\r\n\r\nconst Ad = function(elVideo, provider, playerConfig, adTagUrl, errorCallback){\r\n //Todo : move createAdContainer to MediaManager\r\n const AUTOPLAY_NOT_ALLOWED = \"autoplayNotAllowed\";\r\n const ADMANGER_LOADING_ERROR = \"admanagerLoadingTimeout\";\r\n let ADS_MANAGER_LOADED = \"\";\r\n let AD_ERROR = \"\";\r\n\r\n let that = {};\r\n let adsManagerLoaded = false;\r\n let adsErrorOccurred = false;\r\n let spec = {\r\n started: false, //player started\r\n active : false, //on Ad\r\n isVideoEnded : false\r\n };\r\n let OnManagerLoaded = null;\r\n let OnAdError = null;\r\n\r\n let adDisplayContainer = null;\r\n let adsLoader = null;\r\n let adsManager = null;\r\n let listener = null;\r\n let adsRequest = null;\r\n let autoplayAllowed = false, autoplayRequiresMuted = false;\r\n let browser = playerConfig.getBrowser();\r\n let isMobile = browser.os === \"Android\" || browser.os === \"iOS\";\r\n\r\n let adDisplayContainerInitialized = false;\r\n\r\n // google.ima.settings.setAutoPlayAdBreaks(false);\r\n //google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED);\r\n\r\n //google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED);\r\n //google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true);\r\n const sendWarningMessageForMutedPlay = function(){\r\n provider.trigger(PLAYER_WARNING, {\r\n message : WARN_MSG_MUTEDPLAY,\r\n timer : 10 * 1000,\r\n iconClass : UI_ICONS.volume_mute,\r\n onClickCallback : function(){\r\n provider.setMute(false);\r\n }\r\n });\r\n };\r\n OvenPlayerConsole.log(\"IMA : started \", \"isMobile : \", isMobile, adTagUrl);\r\n\r\n try{\r\n ADS_MANAGER_LOADED = google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED;\r\n AD_ERROR = google.ima.AdErrorEvent.Type.AD_ERROR;\r\n google.ima.settings.setLocale(playerConfig.getLanguage());\r\n google.ima.settings.setDisableCustomPlaybackForIOS10Plus(true);\r\n\r\n const createAdContainer = () => {\r\n let adContainer = document.createElement('div');\r\n adContainer.setAttribute('class', 'op-ads');\r\n adContainer.setAttribute('id', 'op-ads');\r\n playerConfig.getContainer().append(adContainer);\r\n\r\n return adContainer;\r\n };\r\n OnAdError = function(adErrorEvent){\r\n //note : adErrorEvent.getError().getInnerError().getErrorCode() === 1205 & adErrorEvent.getError().getVastErrorCode() === 400 is Browser User Interactive error.\r\n\r\n //Do not triggering ERROR. becuase It just AD!\r\n\r\n console.log(adErrorEvent.getError().getVastErrorCode(), adErrorEvent.getError().getMessage());\r\n adsErrorOccurred = true;\r\n let innerError = adErrorEvent.getError().getInnerError();\r\n if(innerError){\r\n console.log(innerError.getErrorCode(), innerError.getMessage());\r\n }\r\n /*if (adsManager) {\r\n adsManager.destroy();\r\n }*/\r\n provider.trigger(STATE_AD_ERROR, {code : adErrorEvent.getError().getVastErrorCode() , message : adErrorEvent.getError().getMessage()});\r\n spec.active = false;\r\n spec.started = true;\r\n provider.play();\r\n\r\n /*if(innerError && innerError.getErrorCode() === 1205){\r\n }else{\r\n\r\n }*/\r\n\r\n\r\n };\r\n OnManagerLoaded = function(adsManagerLoadedEvent){\r\n\r\n OvenPlayerConsole.log(\"IMA : OnManagerLoaded \");\r\n let adsRenderingSettings = new google.ima.AdsRenderingSettings();\r\n adsRenderingSettings.restoreCustomPlaybackStateOnAdBreakComplete = true;\r\n //adsRenderingSettings.useStyledNonLinearAds = true;\r\n if(adsManager){\r\n OvenPlayerConsole.log(\"IMA : destroy adsManager----\");\r\n listener.destroy();\r\n listener = null;\r\n adsManager.destroy();\r\n adsManager = null;\r\n }\r\n adsManager = adsManagerLoadedEvent.getAdsManager(elVideo, adsRenderingSettings);\r\n\r\n listener = AdsEventsListener(adsManager, provider, spec, OnAdError);\r\n\r\n OvenPlayerConsole.log(\"IMA : created admanager and listner \");\r\n\r\n adsManagerLoaded = true;\r\n };\r\n let adConatinerElment = createAdContainer();\r\n adDisplayContainer = new google.ima.AdDisplayContainer(adConatinerElment, elVideo);\r\n adsLoader = new google.ima.AdsLoader(adDisplayContainer);\r\n\r\n adsLoader.addEventListener(ADS_MANAGER_LOADED, OnManagerLoaded, false);\r\n adsLoader.addEventListener(AD_ERROR, OnAdError, false);\r\n\r\n OvenPlayerConsole.log(\"IMA : adDisplayContainer initialized\");\r\n provider.on(CONTENT_VOLUME, function(data) {\r\n if(adsManager){\r\n if(data.mute){\r\n adsManager.setVolume(0);\r\n }else{\r\n adsManager.setVolume(data.volume/100);\r\n }\r\n }\r\n }, that);\r\n\r\n const setAutoPlayToAdsRequest = function (){\r\n if(adsRequest){\r\n OvenPlayerConsole.log(\"IMA : setADWillAutoPlay \", \"autoplayAllowed\",autoplayAllowed, \"autoplayRequiresMuted\",autoplayRequiresMuted);\r\n\r\n adsRequest.setAdWillAutoPlay(autoplayAllowed);\r\n adsRequest.setAdWillPlayMuted(autoplayRequiresMuted);\r\n if(autoplayRequiresMuted){\r\n sendWarningMessageForMutedPlay();\r\n }\r\n }\r\n };\r\n\r\n const initRequest = function(){\r\n adsManagerLoaded = false;\r\n OvenPlayerConsole.log(\"IMA : initRequest() AutoPlay Support : \", \"autoplayAllowed\",autoplayAllowed, \"autoplayRequiresMuted\",autoplayRequiresMuted);\r\n /*if(adsRequest){\r\n return false;\r\n }*/\r\n adsRequest = new google.ima.AdsRequest();\r\n\r\n adsRequest.forceNonLinearFullSlot = false;\r\n /*if(playerConfig.getBrowser().browser === \"Safari\" && playerConfig.getBrowser().os === \"iOS\" ){\r\n autoplayAllowed = false;\r\n autoplayRequiresMuted = false;\r\n }*/\r\n\r\n setAutoPlayToAdsRequest();\r\n adsRequest.adTagUrl = adTagUrl;\r\n\r\n adsLoader.requestAds(adsRequest);\r\n OvenPlayerConsole.log(\"IMA : requestAds Complete\");\r\n //two way what ad starts.\r\n //adsLoader.requestAds(adsRequest); or adsManager.start();\r\n //what? why?? wth??\r\n };\r\n\r\n\r\n const checkAutoplaySupport = function () {\r\n OvenPlayerConsole.log(\"IMA : checkAutoplaySupport() \");\r\n\r\n let temporarySupportCheckVideo = document.createElement('video');\r\n temporarySupportCheckVideo.setAttribute('playsinline', 'true');\r\n temporarySupportCheckVideo.src = TEMP_VIDEO_URL;\r\n temporarySupportCheckVideo.load();\r\n\r\n //Dash has already loaded when triggered provider.play() always.\r\n if(isMobile && provider.getName() !== PROVIDER_DASH ){\r\n //Main video sets user gesture when temporarySupportCheckVideo triggered checking.\r\n elVideo.load();\r\n }\r\n /* Different browser-specific ways to delivery UI to other elements. My Guess. 2019-06-19\r\n * (temporarySupportCheckVideo's User Interaction delivery to elVideo.)\r\n * Mobile Chrome WebView :\r\n * You have to run elVideo.load() when temporarySupportCheckVideo issues within 5 seconds of user interaction.\r\n *\r\n * Mobile ios safari :\r\n * You have to run elVideo.load() before temporarySupportCheckVideo run play().\r\n * */\r\n\r\n const clearAndReport = function(_autoplayAllowed, _autoplayRequiresMuted){\r\n autoplayAllowed = _autoplayAllowed;\r\n autoplayRequiresMuted = _autoplayRequiresMuted;\r\n temporarySupportCheckVideo.pause();\r\n temporarySupportCheckVideo.remove();\r\n\r\n setAutoPlayToAdsRequest();\r\n };\r\n\r\n return new Promise(function(resolve, reject){\r\n if(!temporarySupportCheckVideo.play){\r\n //I can't remember this case...\r\n OvenPlayerConsole.log(\"IMA : !temporarySupportCheckVideo.play\");\r\n clearAndReport(true, false);\r\n resolve();\r\n }else{\r\n let playPromise = temporarySupportCheckVideo.play();\r\n if (playPromise !== undefined) {\r\n playPromise.then(function(){\r\n OvenPlayerConsole.log(\"IMA : auto play allowed.\");\r\n // If we make it here, unmuted autoplay works.\r\n clearAndReport(true, false);\r\n resolve();\r\n\r\n }).catch(function(error){\r\n\r\n OvenPlayerConsole.log(\"IMA : auto play failed\", error.message);\r\n clearAndReport(false, false);\r\n resolve();\r\n\r\n\r\n //Disable Muted Play\r\n /*temporarySupportCheckVideo.muted = true;\r\n temporarySupportCheckVideo.volume = 0;\r\n playPromise = temporarySupportCheckVideo.play();\r\n\r\n playPromise.then(function () {\r\n // If we make it here, muted autoplay works but unmuted autoplay does not.\r\n\r\n OvenPlayerConsole.log(\"ADS : muted auto play success.\");\r\n provider.setMute(true);\r\n clearAndReport(true, true);\r\n resolve();\r\n\r\n }).catch(function (error) {\r\n OvenPlayerConsole.log(\"ADS : muted auto play failed\", error.message);\r\n clearAndReport(false, false);\r\n resolve();\r\n });*/\r\n });\r\n }else{\r\n OvenPlayerConsole.log(\"IMA : promise not support\");\r\n //Maybe this is IE11....\r\n clearAndReport(true, false);\r\n resolve();\r\n }\r\n }\r\n });\r\n }\r\n\r\n that.isActive = () => {\r\n return spec.active;\r\n };\r\n that.started = () => {\r\n return spec.started;\r\n };\r\n that.play = () => {\r\n if(spec.started){\r\n return new Promise(function (resolve, reject) {\r\n try{\r\n adsManager.resume();\r\n resolve();\r\n } catch (error){\r\n reject(error);\r\n }\r\n });\r\n }else{\r\n adDisplayContainer.initialize();\r\n\r\n return new Promise(function (resolve, reject) {\r\n let retryCount = 0;\r\n const checkAdsManagerIsReady = function(){\r\n retryCount ++;\r\n if(adsManagerLoaded){\r\n OvenPlayerConsole.log(\"IMA : ad start!\");\r\n adsManager.init(\"100%\", \"100%\", google.ima.ViewMode.NORMAL);\r\n adsManager.start();\r\n spec.started = true;\r\n\r\n resolve();\r\n }else{\r\n if(adsErrorOccurred){\r\n reject(new Error(ADMANGER_LOADING_ERROR));\r\n }else{\r\n if(retryCount < 150){\r\n setTimeout(checkAdsManagerIsReady, 100);\r\n }else{\r\n reject(new Error(ADMANGER_LOADING_ERROR));\r\n }\r\n }\r\n\r\n }\r\n\r\n };\r\n checkAutoplaySupport().then(function () {\r\n if( (playerConfig.isAutoStart() && !autoplayAllowed) ){\r\n OvenPlayerConsole.log(\"IMA : autoplayAllowed : false\");\r\n spec.started = false;\r\n reject(new Error(AUTOPLAY_NOT_ALLOWED));\r\n }else{\r\n initRequest();\r\n checkAdsManagerIsReady();\r\n }\r\n });\r\n });\r\n\r\n\r\n }\r\n };\r\n that.pause = () => {\r\n adsManager.pause();\r\n };\r\n that.videoEndedCallback = (completeContentCallback) => {\r\n //listener.isLinearAd : get current ad's status whether linear ad or not.\r\n if(listener && (listener.isAllAdComplete() || !listener.isLinearAd())){\r\n completeContentCallback();\r\n }else if(adsErrorOccurred){\r\n completeContentCallback();\r\n }else{\r\n //If you need play the post-roll, you have to call to adsLoader when contents was completed.\r\n spec.isVideoEnded = true;\r\n adsLoader.contentComplete();\r\n }\r\n };\r\n\r\n that.destroy = () => {\r\n\r\n if(adsLoader){\r\n adsLoader.removeEventListener(ADS_MANAGER_LOADED, OnManagerLoaded);\r\n adsLoader.removeEventListener(AD_ERROR, OnAdError);\r\n }\r\n\r\n if(adsManager){\r\n adsManager.destroy();\r\n }\r\n\r\n if(adDisplayContainer){\r\n adDisplayContainer.destroy();\r\n }\r\n\r\n if(listener){\r\n listener.destroy();\r\n }\r\n\r\n let $ads = LA$(playerConfig.getContainer()).find(\".op-ads\");\r\n if($ads){\r\n $ads.remove();\r\n }\r\n\r\n provider.off(CONTENT_VOLUME, null, that);\r\n };\r\n\r\n return that;\r\n }catch (error){\r\n //let tempError = ERRORS[INIT_ADS_ERROR];\r\n //tempError.error = error;\r\n //errorCallback(tempError);\r\n return null;\r\n }\r\n\r\n\r\n};\r\n\r\n\r\nexport default Ad;\r\n\r\n","/**\r\n * Created by hoho on 10/04/2019.\r\n */\r\n\r\nimport {\r\n ERROR,\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_AD_LOADED,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n STATE_AD_COMPLETE,\r\n AD_CHANGED,\r\n AD_TIME,\r\n STATE_PAUSED,\r\n STATE_ERROR,\r\n CONTENT_COMPLETE,\r\n CONTENT_SEEK,\r\n CONTENT_BUFFER_FULL,\r\n CONTENT_SEEKED,\r\n CONTENT_BUFFER,\r\n CONTENT_TIME,\r\n CONTENT_VOLUME,\r\n CONTENT_META,\r\n PLAYER_UNKNWON_ERROR,\r\n PLAYER_UNKNWON_OPERATION_ERROR,\r\n PLAYER_UNKNWON_NETWORK_ERROR,\r\n PLAYER_UNKNWON_DECODE_ERROR,\r\n PLAYER_FILE_ERROR,\r\n PLAYER_STATE,\r\n PLAYER_CLICKED,\r\n PLAYER_AD_CLICK,\r\n PROVIDER_HTML5,\r\n PROVIDER_WEBRTC,\r\n PROVIDER_DASH,\r\n PROVIDER_HLS\r\n} from \"api/constants\";\r\n\r\nconst Listener = function(adsManager, provider, adsSpec, OnAdError){\r\n let that = {};\r\n let lowLevelEvents = {};\r\n\r\n let intervalTimer = null;\r\n\r\n const AD_BUFFERING = google.ima.AdEvent.Type.AD_BUFFERING;\r\n const CONTENT_PAUSE_REQUESTED = google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED;\r\n const CONTENT_RESUME_REQUESTED = google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED;\r\n const AD_ERROR = google.ima.AdErrorEvent.Type.AD_ERROR;\r\n const ALL_ADS_COMPLETED = google.ima.AdEvent.Type.ALL_ADS_COMPLETED;\r\n const CLICK = google.ima.AdEvent.Type.CLICK;\r\n const SKIPPED = google.ima.AdEvent.Type.SKIPPED;\r\n const COMPLETE = google.ima.AdEvent.Type.COMPLETE;\r\n const FIRST_QUARTILE= google.ima.AdEvent.Type.FIRST_QUARTILE;\r\n const LOADED = google.ima.AdEvent.Type.LOADED;\r\n const MIDPOINT= google.ima.AdEvent.Type.MIDPOINT;\r\n const PAUSED = google.ima.AdEvent.Type.PAUSED;\r\n const RESUMED = google.ima.AdEvent.Type.RESUMED;\r\n const STARTED = google.ima.AdEvent.Type.STARTED;\r\n const USER_CLOSE = google.ima.AdEvent.Type.USER_CLOSE;\r\n const THIRD_QUARTILE = google.ima.AdEvent.Type.THIRD_QUARTILE;\r\n\r\n let isAllAdCompelete = false; //Post roll을 위해\r\n let adCompleteCallback = null;\r\n let currentAd = null;\r\n OvenPlayerConsole.log(\"IMA : Listener Created\");\r\n lowLevelEvents[CONTENT_PAUSE_REQUESTED] = (adEvent) => {\r\n OvenPlayerConsole.log(\"IMA LISTENER : \", adEvent.type);\r\n\r\n //This callls when player is playing contents for ad.\r\n if(adsSpec.started){\r\n adsSpec.active = true;\r\n provider.pause();\r\n }\r\n\r\n };\r\n\r\n lowLevelEvents[CONTENT_RESUME_REQUESTED] = (adEvent) => {\r\n OvenPlayerConsole.log(\"IMA LISTENER : \", adEvent.type);\r\n //This calls when one ad ended.\r\n //And this is signal what play the contents.\r\n adsSpec.active = false;\r\n\r\n if(adsSpec.started && (provider.getPosition() === 0 || !adsSpec.isVideoEnded) ){\r\n provider.play();\r\n }\r\n\r\n };\r\n lowLevelEvents[AD_ERROR] = (adEvent) => {\r\n isAllAdCompelete = true;\r\n OnAdError(adEvent);\r\n } ;\r\n\r\n lowLevelEvents[ALL_ADS_COMPLETED] = (adEvent) => {\r\n OvenPlayerConsole.log(\"IMA LISTENER : \", adEvent.type);\r\n\r\n isAllAdCompelete = true;\r\n if(adsSpec.isVideoEnded){\r\n provider.setState(STATE_COMPLETE);\r\n }\r\n };\r\n lowLevelEvents[CLICK] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n provider.trigger(PLAYER_CLICKED, {type : PLAYER_AD_CLICK});\r\n };\r\n lowLevelEvents[FIRST_QUARTILE] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n };\r\n //\r\n lowLevelEvents[AD_BUFFERING] = (adEvent) => {\r\n OvenPlayerConsole.log(\"AD_BUFFERING\",adEvent.type);\r\n };\r\n lowLevelEvents[LOADED] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n let remainingTime = adsManager.getRemainingTime();\r\n let ad = adEvent.getAd();\r\n provider.trigger(STATE_AD_LOADED, {remaining : remainingTime, isLinear : ad.isLinear() });\r\n\r\n };\r\n lowLevelEvents[MIDPOINT] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n };\r\n lowLevelEvents[PAUSED] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n provider.setState(STATE_AD_PAUSED);\r\n };\r\n lowLevelEvents[RESUMED] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n provider.setState(STATE_AD_PLAYING);\r\n };\r\n\r\n\r\n lowLevelEvents[STARTED] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n let ad = adEvent.getAd();\r\n currentAd = ad;\r\n\r\n let adObject = {\r\n isLinear : ad.isLinear() ,\r\n duration : ad.getDuration(),\r\n skipTimeOffset : ad.getSkipTimeOffset() //The number of seconds of playback before the ad becomes skippable.\r\n };\r\n provider.trigger(AD_CHANGED, adObject);\r\n\r\n\r\n if (ad.isLinear()) {\r\n\r\n provider.setState(STATE_AD_PLAYING);\r\n adsSpec.started = true;\r\n // For a linear ad, a timer can be started to poll for\r\n // the remaining time.\r\n intervalTimer = setInterval(\r\n function() {\r\n let remainingTime = adsManager.getRemainingTime();\r\n let duration = ad.getDuration();\r\n\r\n provider.trigger(AD_TIME, {\r\n duration : duration,\r\n skipTimeOffset : ad.getSkipTimeOffset(),\r\n remaining : remainingTime,\r\n position : duration - remainingTime,\r\n skippable : adsManager.getAdSkippableState()\r\n });\r\n },\r\n 300); // every 300ms\r\n }else{\r\n provider.play();\r\n }\r\n };\r\n lowLevelEvents[COMPLETE] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n let ad = adEvent.getAd();\r\n if (ad.isLinear()) {\r\n clearInterval(intervalTimer);\r\n }\r\n provider.trigger(STATE_AD_COMPLETE);\r\n };\r\n //User skipped ad. same process on complete.\r\n lowLevelEvents[SKIPPED] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n\r\n let ad = adEvent.getAd();\r\n if (ad.isLinear()) {\r\n clearInterval(intervalTimer);\r\n }\r\n provider.trigger(STATE_AD_COMPLETE);\r\n };\r\n lowLevelEvents[USER_CLOSE] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n let ad = adEvent.getAd();\r\n if (ad.isLinear()) {\r\n clearInterval(intervalTimer);\r\n }\r\n provider.trigger(STATE_AD_COMPLETE);\r\n };\r\n lowLevelEvents[THIRD_QUARTILE] = (adEvent) => {\r\n OvenPlayerConsole.log(adEvent.type);\r\n };\r\n\r\n\r\n Object.keys(lowLevelEvents).forEach(eventName => {\r\n adsManager.removeEventListener(eventName, lowLevelEvents[eventName]);\r\n adsManager.addEventListener(eventName, lowLevelEvents[eventName]);\r\n });\r\n that.setAdCompleteCallback = (_adCompleteCallback) => {\r\n adCompleteCallback = _adCompleteCallback;\r\n };\r\n that.isAllAdComplete = () => {\r\n return isAllAdCompelete;\r\n };\r\n that.isLinearAd = () => {\r\n return currentAd ? currentAd.isLinear() : true;\r\n };\r\n that.destroy = () =>{\r\n OvenPlayerConsole.log(\"IMAEventListener : destroy()\");\r\n //provider.trigger(STATE_AD_COMPLETE);\r\n Object.keys(lowLevelEvents).forEach(eventName => {\r\n adsManager.removeEventListener(eventName, lowLevelEvents[eventName]);\r\n });\r\n };\r\n return that;\r\n\r\n};\r\n\r\nexport default Listener;","/*Copyright (c) 2013 Olivier Poitrey \r\n\r\n Permission is hereby granted, free of charge, to any person obtaining a copy\r\n of this software and associated documentation files (the \"Software\"), to deal\r\n in the Software without restriction, including without limitation the rights\r\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n copies of the Software, and to permit persons to whom the Software is furnished\r\n to do so, subject to the following conditions:\r\n\r\n The above copyright notice and this permission notice shall be included in all\r\n copies or substantial portions of the Software.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r\n THE SOFTWARE.*/\r\nclass Ad{constructor(){this.id=null,this.sequence=null,this.system=null,this.title=null,this.description=null,this.advertiser=null,this.pricing=null,this.survey=null,this.errorURLTemplates=[],this.impressionURLTemplates=[],this.creatives=[],this.extensions=[]}}class AdExtension{constructor(){this.attributes={},this.children=[]}}class AdExtensionChild{constructor(){this.name=null,this.value=null,this.attributes={}}}class CompanionAd{constructor(){this.id=null,this.width=0,this.height=0,this.type=null,this.staticResource=null,this.htmlResource=null,this.iframeResource=null,this.altText=null,this.companionClickThroughURLTemplate=null,this.companionClickTrackingURLTemplates=[],this.trackingEvents={}}}class Creative{constructor(e={}){this.id=e.id||null,this.adId=e.adId||null,this.sequence=e.sequence||null,this.apiFramework=e.apiFramework||null,this.trackingEvents={}}}class CreativeCompanion extends Creative{constructor(e={}){super(e),this.type=\"companion\",this.variations=[]}}function track(e,t){resolveURLTemplates(e,t).forEach(e=>{if(\"undefined\"!=typeof window&&null!==window){(new Image).src=e}})}function resolveURLTemplates(e,t={}){const r=[];t.ASSETURI&&(t.ASSETURI=encodeURIComponentRFC3986(t.ASSETURI)),t.CONTENTPLAYHEAD&&(t.CONTENTPLAYHEAD=encodeURIComponentRFC3986(t.CONTENTPLAYHEAD)),t.ERRORCODE&&!/^[0-9]{3}$/.test(t.ERRORCODE)&&(t.ERRORCODE=900),t.CACHEBUSTING=leftpad(Math.round(1e8*Math.random()).toString()),t.TIMESTAMP=encodeURIComponentRFC3986((new Date).toISOString()),t.RANDOM=t.random=t.CACHEBUSTING;for(let i in e){let s=e[i];if(\"string\"==typeof s){for(let e in t){const r=t[e],i=`[${e}]`,n=`%%${e}%%`;s=(s=s.replace(i,r)).replace(n,r)}r.push(s)}}return r}function encodeURIComponentRFC3986(e){return encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16)}`)}function leftpad(e){return e.length<8?range(0,8-e.length,!1).map(e=>\"0\").join(\"\")+e:e}function range(e,t,r){let i=[],s=en;s?t++:t--)i.push(t);return i}function isNumeric(e){return!isNaN(parseFloat(e))&&isFinite(e)}function flatten(e){return e.reduce((e,t)=>e.concat(Array.isArray(t)?flatten(t):t),[])}const util={track:track,resolveURLTemplates:resolveURLTemplates,encodeURIComponentRFC3986:encodeURIComponentRFC3986,leftpad:leftpad,range:range,isNumeric:isNumeric,flatten:flatten};function childByName(e,t){const r=e.childNodes;for(let e in r){const i=r[e];if(i.nodeName===t)return i}}function childrenByName(e,t){const r=[],i=e.childNodes;for(let e in i){const s=i[e];s.nodeName===t&&r.push(s)}return r}function resolveVastAdTagURI(e,t){if(!t)return e;if(0===e.indexOf(\"//\")){const{protocol:t}=location;return`${t}${e}`}if(-1===e.indexOf(\"://\")){return`${t.slice(0,t.lastIndexOf(\"/\"))}/${e}`}return e}function parseBoolean(e){return-1!==[\"true\",\"TRUE\",\"1\"].indexOf(e)}function parseNodeText(e){return e&&(e.textContent||e.text||\"\").trim()}function copyNodeAttribute(e,t,r){const i=t.getAttribute(e);i&&r.setAttribute(e,i)}function parseDuration(e){if(null==e)return-1;if(util.isNumeric(e))return parseInt(e);const t=e.split(\":\");if(3!==t.length)return-1;const r=t[2].split(\".\");let i=parseInt(r[0]);2===r.length&&(i+=parseFloat(`0.${r[1]}`));const s=parseInt(60*t[1]),n=parseInt(60*t[0]*60);return isNaN(n)||isNaN(s)||isNaN(i)||s>3600||i>60?-1:n+s+i}function splitVAST(e){const t=[];let r=null;return e.forEach((i,s)=>{if(i.sequence&&(i.sequence=parseInt(i.sequence,10)),i.sequence>1){const t=e[s-1];if(t&&t.sequence===i.sequence-1)return void(r&&r.push(i));delete i.sequence}r=[i],t.push(r)}),t}function mergeWrapperAdData(e,t){e.errorURLTemplates=t.errorURLTemplates.concat(e.errorURLTemplates),e.impressionURLTemplates=t.impressionURLTemplates.concat(e.impressionURLTemplates),e.extensions=t.extensions.concat(e.extensions),e.creatives.forEach(e=>{if(t.trackingEvents&&t.trackingEvents[e.type])for(let r in t.trackingEvents[e.type]){const i=t.trackingEvents[e.type][r];e.trackingEvents[r]||(e.trackingEvents[r]=[]),e.trackingEvents[r]=e.trackingEvents[r].concat(i)}}),t.videoClickTrackingURLTemplates&&t.videoClickTrackingURLTemplates.length&&e.creatives.forEach(e=>{\"linear\"===e.type&&(e.videoClickTrackingURLTemplates=e.videoClickTrackingURLTemplates.concat(t.videoClickTrackingURLTemplates))}),t.videoCustomClickURLTemplates&&t.videoCustomClickURLTemplates.length&&e.creatives.forEach(e=>{\"linear\"===e.type&&(e.videoCustomClickURLTemplates=e.videoCustomClickURLTemplates.concat(t.videoCustomClickURLTemplates))}),t.videoClickThroughURLTemplate&&e.creatives.forEach(e=>{\"linear\"===e.type&&null==e.videoClickThroughURLTemplate&&(e.videoClickThroughURLTemplate=t.videoClickThroughURLTemplate)})}const parserUtils={childByName:childByName,childrenByName:childrenByName,resolveVastAdTagURI:resolveVastAdTagURI,parseBoolean:parseBoolean,parseNodeText:parseNodeText,copyNodeAttribute:copyNodeAttribute,parseDuration:parseDuration,splitVAST:splitVAST,mergeWrapperAdData:mergeWrapperAdData};function parseCreativeCompanion(e,t){const r=new CreativeCompanion(t);return parserUtils.childrenByName(e,\"Companion\").forEach(e=>{const t=new CompanionAd;t.id=e.getAttribute(\"id\")||null,t.width=e.getAttribute(\"width\"),t.height=e.getAttribute(\"height\"),t.companionClickTrackingURLTemplates=[],parserUtils.childrenByName(e,\"HTMLResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||\"text/html\",t.htmlResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"IFrameResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.iframeResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"StaticResource\").forEach(r=>{t.type=r.getAttribute(\"creativeType\")||0,parserUtils.childrenByName(e,\"AltText\").forEach(e=>{t.altText=parserUtils.parseNodeText(e)}),t.staticResource=parserUtils.parseNodeText(r)}),parserUtils.childrenByName(e,\"TrackingEvents\").forEach(e=>{parserUtils.childrenByName(e,\"Tracking\").forEach(e=>{const r=e.getAttribute(\"event\"),i=parserUtils.parseNodeText(e);r&&i&&(null==t.trackingEvents[r]&&(t.trackingEvents[r]=[]),t.trackingEvents[r].push(i))})}),parserUtils.childrenByName(e,\"CompanionClickTracking\").forEach(e=>{t.companionClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))}),t.companionClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"CompanionClickThrough\")),t.companionClickTrackingURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"CompanionClickTracking\")),r.variations.push(t)}),r}class CreativeLinear extends Creative{constructor(e={}){super(e),this.type=\"linear\",this.duration=0,this.skipDelay=null,this.mediaFiles=[],this.videoClickThroughURLTemplate=null,this.videoClickTrackingURLTemplates=[],this.videoCustomClickURLTemplates=[],this.adParameters=null,this.icons=[]}}class Icon{constructor(){this.program=null,this.height=0,this.width=0,this.xPosition=0,this.yPosition=0,this.apiFramework=null,this.offset=null,this.duration=0,this.type=null,this.staticResource=null,this.htmlResource=null,this.iframeResource=null,this.iconClickThroughURLTemplate=null,this.iconClickTrackingURLTemplates=[],this.iconViewTrackingURLTemplate=null}}class MediaFile{constructor(){this.id=null,this.fileURL=null,this.deliveryType=\"progressive\",this.mimeType=null,this.codec=null,this.bitrate=0,this.minBitrate=0,this.maxBitrate=0,this.width=0,this.height=0,this.apiFramework=null,this.scalable=null,this.maintainAspectRatio=null}}function parseCreativeLinear(e,t){let r;const i=new CreativeLinear(t);i.duration=parserUtils.parseDuration(parserUtils.parseNodeText(parserUtils.childByName(e,\"Duration\")));const s=e.getAttribute(\"skipoffset\");if(null==s)i.skipDelay=null;else if(\"%\"===s.charAt(s.length-1)&&-1!==i.duration){const e=parseInt(s,10);i.skipDelay=i.duration*(e/100)}else i.skipDelay=parserUtils.parseDuration(s);const n=parserUtils.childByName(e,\"VideoClicks\");n&&(i.videoClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(n,\"ClickThrough\")),parserUtils.childrenByName(n,\"ClickTracking\").forEach(e=>{i.videoClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))}),parserUtils.childrenByName(n,\"CustomClick\").forEach(e=>{i.videoCustomClickURLTemplates.push(parserUtils.parseNodeText(e))}));const a=parserUtils.childByName(e,\"AdParameters\");a&&(i.adParameters=parserUtils.parseNodeText(a)),parserUtils.childrenByName(e,\"TrackingEvents\").forEach(e=>{parserUtils.childrenByName(e,\"Tracking\").forEach(e=>{let t=e.getAttribute(\"event\");const s=parserUtils.parseNodeText(e);if(t&&s){if(\"progress\"===t){if(!(r=e.getAttribute(\"offset\")))return;t=\"%\"===r.charAt(r.length-1)?`progress-${r}`:`progress-${Math.round(parserUtils.parseDuration(r))}`}null==i.trackingEvents[t]&&(i.trackingEvents[t]=[]),i.trackingEvents[t].push(s)}})}),parserUtils.childrenByName(e,\"MediaFiles\").forEach(e=>{parserUtils.childrenByName(e,\"MediaFile\").forEach(e=>{const t=new MediaFile;t.id=e.getAttribute(\"id\"),t.fileURL=parserUtils.parseNodeText(e),t.deliveryType=e.getAttribute(\"delivery\"),t.codec=e.getAttribute(\"codec\"),t.mimeType=e.getAttribute(\"type\"),t.apiFramework=e.getAttribute(\"apiFramework\"),t.bitrate=parseInt(e.getAttribute(\"bitrate\")||0),t.minBitrate=parseInt(e.getAttribute(\"minBitrate\")||0),t.maxBitrate=parseInt(e.getAttribute(\"maxBitrate\")||0),t.width=parseInt(e.getAttribute(\"width\")||0),t.height=parseInt(e.getAttribute(\"height\")||0);let r=e.getAttribute(\"scalable\");r&&\"string\"==typeof r&&(\"true\"===(r=r.toLowerCase())?t.scalable=!0:\"false\"===r&&(t.scalable=!1));let s=e.getAttribute(\"maintainAspectRatio\");s&&\"string\"==typeof s&&(\"true\"===(s=s.toLowerCase())?t.maintainAspectRatio=!0:\"false\"===s&&(t.maintainAspectRatio=!1)),i.mediaFiles.push(t)})});const o=parserUtils.childByName(e,\"Icons\");return o&&parserUtils.childrenByName(o,\"Icon\").forEach(e=>{const t=new Icon;t.program=e.getAttribute(\"program\"),t.height=parseInt(e.getAttribute(\"height\")||0),t.width=parseInt(e.getAttribute(\"width\")||0),t.xPosition=parseXPosition(e.getAttribute(\"xPosition\")),t.yPosition=parseYPosition(e.getAttribute(\"yPosition\")),t.apiFramework=e.getAttribute(\"apiFramework\"),t.offset=parserUtils.parseDuration(e.getAttribute(\"offset\")),t.duration=parserUtils.parseDuration(e.getAttribute(\"duration\")),parserUtils.childrenByName(e,\"HTMLResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||\"text/html\",t.htmlResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"IFrameResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.iframeResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"StaticResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.staticResource=parserUtils.parseNodeText(e)});const r=parserUtils.childByName(e,\"IconClicks\");r&&(t.iconClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(r,\"IconClickThrough\")),parserUtils.childrenByName(r,\"IconClickTracking\").forEach(e=>{t.iconClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))})),t.iconViewTrackingURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"IconViewTracking\")),i.icons.push(t)}),i}function parseXPosition(e){return-1!==[\"left\",\"right\"].indexOf(e)?e:parseInt(e||0)}function parseYPosition(e){return-1!==[\"top\",\"bottom\"].indexOf(e)?e:parseInt(e||0)}class CreativeNonLinear extends Creative{constructor(e={}){super(e),this.type=\"nonlinear\",this.variations=[]}}class NonLinearAd{constructor(){this.id=null,this.width=0,this.height=0,this.expandedWidth=0,this.expandedHeight=0,this.scalable=!0,this.maintainAspectRatio=!0,this.minSuggestedDuration=0,this.apiFramework=\"static\",this.type=null,this.staticResource=null,this.htmlResource=null,this.iframeResource=null,this.nonlinearClickThroughURLTemplate=null,this.nonlinearClickTrackingURLTemplates=[],this.adParameters=null}}function parseCreativeNonLinear(e,t){const r=new CreativeNonLinear(t);return parserUtils.childrenByName(e,\"TrackingEvents\").forEach(e=>{let t,i;parserUtils.childrenByName(e,\"Tracking\").forEach(e=>{t=e.getAttribute(\"event\"),i=parserUtils.parseNodeText(e),t&&i&&(null==r.trackingEvents[t]&&(r.trackingEvents[t]=[]),r.trackingEvents[t].push(i))})}),parserUtils.childrenByName(e,\"NonLinear\").forEach(e=>{const t=new NonLinearAd;t.id=e.getAttribute(\"id\")||null,t.width=e.getAttribute(\"width\"),t.height=e.getAttribute(\"height\"),t.expandedWidth=e.getAttribute(\"expandedWidth\"),t.expandedHeight=e.getAttribute(\"expandedHeight\"),t.scalable=parserUtils.parseBoolean(e.getAttribute(\"scalable\")),t.maintainAspectRatio=parserUtils.parseBoolean(e.getAttribute(\"maintainAspectRatio\")),t.minSuggestedDuration=parserUtils.parseDuration(e.getAttribute(\"minSuggestedDuration\")),t.apiFramework=e.getAttribute(\"apiFramework\"),parserUtils.childrenByName(e,\"HTMLResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||\"text/html\",t.htmlResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"IFrameResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.iframeResource=parserUtils.parseNodeText(e)}),parserUtils.childrenByName(e,\"StaticResource\").forEach(e=>{t.type=e.getAttribute(\"creativeType\")||0,t.staticResource=parserUtils.parseNodeText(e)});const i=parserUtils.childByName(e,\"AdParameters\");i&&(t.adParameters=parserUtils.parseNodeText(i)),t.nonlinearClickThroughURLTemplate=parserUtils.parseNodeText(parserUtils.childByName(e,\"NonLinearClickThrough\")),parserUtils.childrenByName(e,\"NonLinearClickTracking\").forEach(e=>{t.nonlinearClickTrackingURLTemplates.push(parserUtils.parseNodeText(e))}),r.variations.push(t)}),r}function parseAd(e){const t=e.childNodes;for(let r in t){const i=t[r];if(-1!==[\"Wrapper\",\"InLine\"].indexOf(i.nodeName)){if(parserUtils.copyNodeAttribute(\"id\",e,i),parserUtils.copyNodeAttribute(\"sequence\",e,i),\"Wrapper\"===i.nodeName)return parseWrapper(i);if(\"InLine\"===i.nodeName)return parseInLine(i)}}}function parseInLine(e){const t=e.childNodes,r=new Ad;r.id=e.getAttribute(\"id\")||null,r.sequence=e.getAttribute(\"sequence\")||null;for(let e in t){const i=t[e];switch(i.nodeName){case\"Error\":r.errorURLTemplates.push(parserUtils.parseNodeText(i));break;case\"Impression\":r.impressionURLTemplates.push(parserUtils.parseNodeText(i));break;case\"Creatives\":parserUtils.childrenByName(i,\"Creative\").forEach(e=>{const t={id:e.getAttribute(\"id\")||null,adId:parseCreativeAdIdAttribute(e),sequence:e.getAttribute(\"sequence\")||null,apiFramework:e.getAttribute(\"apiFramework\")||null};for(let i in e.childNodes){const s=e.childNodes[i];switch(s.nodeName){case\"Linear\":let e=parseCreativeLinear(s,t);e&&r.creatives.push(e);break;case\"NonLinearAds\":let i=parseCreativeNonLinear(s,t);i&&r.creatives.push(i);break;case\"CompanionAds\":let n=parseCreativeCompanion(s,t);n&&r.creatives.push(n)}}});break;case\"Extensions\":parseExtensions(r.extensions,parserUtils.childrenByName(i,\"Extension\"));break;case\"AdSystem\":r.system={value:parserUtils.parseNodeText(i),version:i.getAttribute(\"version\")||null};break;case\"AdTitle\":r.title=parserUtils.parseNodeText(i);break;case\"Description\":r.description=parserUtils.parseNodeText(i);break;case\"Advertiser\":r.advertiser=parserUtils.parseNodeText(i);break;case\"Pricing\":r.pricing={value:parserUtils.parseNodeText(i),model:i.getAttribute(\"model\")||null,currency:i.getAttribute(\"currency\")||null};break;case\"Survey\":r.survey=parserUtils.parseNodeText(i)}}return r}function parseWrapper(e){const t=parseInLine(e);let r=parserUtils.childByName(e,\"VASTAdTagURI\");if(r?t.nextWrapperURL=parserUtils.parseNodeText(r):(r=parserUtils.childByName(e,\"VASTAdTagURL\"))&&(t.nextWrapperURL=parserUtils.parseNodeText(parserUtils.childByName(r,\"URL\"))),t.creatives.forEach(e=>{if(-1!==[\"linear\",\"nonlinear\"].indexOf(e.type)){if(e.trackingEvents){t.trackingEvents||(t.trackingEvents={}),t.trackingEvents[e.type]||(t.trackingEvents[e.type]={});for(let r in e.trackingEvents){const i=e.trackingEvents[r];t.trackingEvents[e.type][r]||(t.trackingEvents[e.type][r]=[]),i.forEach(i=>{t.trackingEvents[e.type][r].push(i)})}}e.videoClickTrackingURLTemplates&&(t.videoClickTrackingURLTemplates||(t.videoClickTrackingURLTemplates=[]),e.videoClickTrackingURLTemplates.forEach(e=>{t.videoClickTrackingURLTemplates.push(e)})),e.videoClickThroughURLTemplate&&(t.videoClickThroughURLTemplate=e.videoClickThroughURLTemplate),e.videoCustomClickURLTemplates&&(t.videoCustomClickURLTemplates||(t.videoCustomClickURLTemplates=[]),e.videoCustomClickURLTemplates.forEach(e=>{t.videoCustomClickURLTemplates.push(e)}))}}),t.nextWrapperURL)return t}function parseExtensions(e,t){t.forEach(t=>{const r=new AdExtension,i=t.attributes,s=t.childNodes;if(t.attributes)for(let e in i){const t=i[e];t.nodeName&&t.nodeValue&&(r.attributes[t.nodeName]=t.nodeValue)}for(let e in s){const t=s[e],i=parserUtils.parseNodeText(t);if(\"#comment\"!==t.nodeName&&\"\"!==i){const e=new AdExtensionChild;if(e.name=t.nodeName,e.value=i,t.attributes){const r=t.attributes;for(let t in r){const i=r[t];e.attributes[i.nodeName]=i.nodeValue}}r.children.push(e)}}e.push(r)})}function parseCreativeAdIdAttribute(e){return e.getAttribute(\"AdID\")||e.getAttribute(\"adID\")||e.getAttribute(\"adId\")||null}var domain;function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(e){return void 0===e._maxListeners?EventEmitter.defaultMaxListeners:e._maxListeners}function emitNone(e,t,r){if(t)e.call(r);else for(var i=e.length,s=arrayClone(e,i),n=0;n0&&a.length>s){a.warned=!0;var o=new Error(\"Possible EventEmitter memory leak detected. \"+a.length+\" \"+t+\" listeners added. Use emitter.setMaxListeners() to increase limit\");o.name=\"MaxListenersExceededWarning\",o.emitter=e,o.type=t,o.count=a.length,emitWarning(o)}}else a=n[t]=r,++e._eventsCount;return e}function emitWarning(e){\"function\"==typeof console.warn?console.warn(e):console.log(e)}function _onceWrap(e,t,r){var i=!1;function s(){e.removeListener(t,s),i||(i=!0,r.apply(e,arguments))}return s.listener=r,s}function listenerCount(e){var t=this._events;if(t){var r=t[e];if(\"function\"==typeof r)return 1;if(r)return r.length}return 0}function spliceOne(e,t){for(var r=t,i=r+1,s=e.length;i0;)if(r[n]===t||r[n].listener&&r[n].listener===t){a=r[n].listener,s=n;break}if(s<0)return this;if(1===r.length){if(r[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete i[e]}else spliceOne(r,s);i.removeListener&&this.emit(\"removeListener\",e,a||t)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=new EventHandlers:delete r[e]),this;if(0===arguments.length){for(var i,s=Object.keys(r),n=0;n0?Reflect.ownKeys(this._events):[]};const flashURLHandler={get:get,supported:supported};function get$1(e,t,r){r(new Error(\"Please bundle the library for node to use the node urlHandler\"))}const nodeURLHandler={get:get$1};function xhr(){try{const e=new window.XMLHttpRequest;return\"withCredentials\"in e?e:null}catch(e){return console.log(\"Error in XHRURLHandler support check:\",e),null}}function supported$1(){return!!xhr()}function get$2(e,t,r){if(\"https:\"===window.location.protocol&&0===e.indexOf(\"http://\"))return r(new Error(\"XHRURLHandler: Cannot go from HTTPS to HTTP.\"));try{const i=xhr();i.open(\"GET\",e),i.timeout=t.timeout||0,i.withCredentials=t.withCredentials||!1,i.overrideMimeType&&i.overrideMimeType(\"text/xml\"),i.onreadystatechange=function(){4===i.readyState&&(200===i.status?r(null,i.responseXML):r(new Error(`XHRURLHandler: ${i.statusText}`)))},i.send()}catch(e){r(new Error(\"XHRURLHandler: Unexpected error\"))}}const XHRURLHandler={get:get$2,supported:supported$1};function get$3(e,t,r){return r||(\"function\"==typeof t&&(r=t),t={}),\"undefined\"==typeof window||null===window?nodeURLHandler.get(e,t,r):XHRURLHandler.supported()?XHRURLHandler.get(e,t,r):flashURLHandler.supported()?flashURLHandler.get(e,t,r):r(new Error(\"Current context is not supported by any of the default URLHandlers. Please provide a custom URLHandler\"))}const urlHandler={get:get$3};class VASTResponse{constructor(){this.ads=[],this.errorURLTemplates=[]}}const DEFAULT_MAX_WRAPPER_DEPTH=10,DEFAULT_EVENT_DATA={ERRORCODE:900,extensions:[]};class VASTParser extends EventEmitter{constructor(){super(),this.remainingAds=[],this.parentURLs=[],this.errorURLTemplates=[],this.rootErrorURLTemplates=[],this.maxWrapperDepth=null,this.URLTemplateFilters=[],this.fetchingOptions={}}addURLTemplateFilter(e){\"function\"==typeof e&&this.URLTemplateFilters.push(e)}removeURLTemplateFilter(){this.URLTemplateFilters.pop()}countURLTemplateFilters(){return this.URLTemplateFilters.length}clearURLTemplateFilters(){this.URLTemplateFilters=[]}trackVastError(e,t,...r){this.emit(\"VAST-error\",Object.assign(DEFAULT_EVENT_DATA,t,...r)),util.track(e,t)}getErrorURLTemplates(){return this.rootErrorURLTemplates.concat(this.errorURLTemplates)}fetchVAST(e,t,r){return new Promise((i,s)=>{this.URLTemplateFilters.forEach(t=>{e=t(e)}),this.parentURLs.push(e),this.emit(\"VAST-resolving\",{url:e,wrapperDepth:t,originalUrl:r}),this.urlHandler.get(e,this.fetchingOptions,(t,r)=>{this.emit(\"VAST-resolved\",{url:e,error:t}),t?s(t):i(r)})})}initParsingStatus(e={}){this.rootURL=\"\",this.remainingAds=[],this.parentURLs=[],this.errorURLTemplates=[],this.rootErrorURLTemplates=[],this.maxWrapperDepth=e.wrapperLimit||DEFAULT_MAX_WRAPPER_DEPTH,this.fetchingOptions={timeout:e.timeout,withCredentials:e.withCredentials},this.urlHandler=e.urlhandler||urlHandler}getRemainingAds(e){if(0===this.remainingAds.length)return Promise.reject(new Error(\"No more ads are available for the given VAST\"));const t=e?util.flatten(this.remainingAds):this.remainingAds.shift();return this.errorURLTemplates=[],this.parentURLs=[],this.resolveAds(t,{wrapperDepth:0,originalUrl:this.rootURL}).then(e=>this.buildVASTResponse(e))}getAndParseVAST(e,t={}){return this.initParsingStatus(t),this.rootURL=e,this.fetchVAST(e).then(r=>(t.originalUrl=e,t.isRootVAST=!0,this.parse(r,t).then(e=>this.buildVASTResponse(e))))}parseVAST(e,t={}){return this.initParsingStatus(t),t.isRootVAST=!0,this.parse(e,t).then(e=>this.buildVASTResponse(e))}buildVASTResponse(e){const t=new VASTResponse;return t.ads=e,t.errorURLTemplates=this.getErrorURLTemplates(),this.completeWrapperResolving(t),t}parse(e,{resolveAll:t=!0,wrapperSequence:r=null,originalUrl:i=null,wrapperDepth:s=0,isRootVAST:n=!1}){if(!e||!e.documentElement||\"VAST\"!==e.documentElement.nodeName)return Promise.reject(new Error(\"Invalid VAST XMLDocument\"));let a=[];const o=e.documentElement.childNodes;for(let e in o){const t=o[e];if(\"Error\"===t.nodeName){const e=parserUtils.parseNodeText(t);n?this.rootErrorURLTemplates.push(e):this.errorURLTemplates.push(e)}if(\"Ad\"===t.nodeName){const e=parseAd(t);e?a.push(e):this.trackVastError(this.getErrorURLTemplates(),{ERRORCODE:101})}}const l=a.length,c=a[l-1];return 1===l&&void 0!==r&&null!==r&&c&&!c.sequence&&(c.sequence=r),!1===t&&(this.remainingAds=parserUtils.splitVAST(a),a=this.remainingAds.shift()),this.resolveAds(a,{wrapperDepth:s,originalUrl:i})}resolveAds(e=[],{wrapperDepth:t,originalUrl:r}){const i=[];return e.forEach(e=>{const s=this.resolveWrappers(e,t,r);i.push(s)}),Promise.all(i).then(e=>{const i=util.flatten(e);if(!i&&this.remainingAds.length>0){const e=this.remainingAds.shift();return this.resolveAds(e,{wrapperDepth:t,originalUrl:r})}return i})}resolveWrappers(e,t,r){return new Promise((i,s)=>{if(t++,!e.nextWrapperURL)return delete e.nextWrapperURL,i(e);if(t>=this.maxWrapperDepth||-1!==this.parentURLs.indexOf(e.nextWrapperURL))return e.errorCode=302,delete e.nextWrapperURL,i(e);e.nextWrapperURL=parserUtils.resolveVastAdTagURI(e.nextWrapperURL,r);const n=e.sequence;r=e.nextWrapperURL,this.fetchVAST(e.nextWrapperURL,t,r).then(s=>this.parse(s,{originalUrl:r,wrapperSequence:n,wrapperDepth:t}).then(t=>{if(delete e.nextWrapperURL,0===t.length)return e.creatives=[],i(e);t.forEach(t=>{t&&parserUtils.mergeWrapperAdData(t,e)}),i(t)})).catch(t=>{e.errorCode=301,e.errorMessage=t.message,i(e)})})}completeWrapperResolving(e){if(0===e.ads.length)this.trackVastError(e.errorURLTemplates,{ERRORCODE:303});else for(let t=e.ads.length-1;t>=0;t--){let r=e.ads[t];(r.errorCode||0===r.creatives.length)&&(this.trackVastError(r.errorURLTemplates.concat(e.errorURLTemplates),{ERRORCODE:r.errorCode||303},{ERRORMESSAGE:r.errorMessage||\"\"},{extensions:r.extensions},{system:r.system}),e.ads.splice(t,1))}}}let storage=null;const DEFAULT_STORAGE={data:{},length:0,getItem(e){return this.data[e]},setItem(e,t){this.data[e]=t,this.length=Object.keys(this.data).length},removeItem(e){delete data[e],this.length=Object.keys(this.data).length},clear(){this.data={},this.length=0}};class Storage{constructor(){this.storage=this.initStorage()}initStorage(){if(storage)return storage;try{storage=\"undefined\"!=typeof window&&null!==window?window.localStorage||window.sessionStorage:null}catch(e){storage=null}return storage&&!this.isStorageDisabled(storage)||(storage=DEFAULT_STORAGE).clear(),storage}isStorageDisabled(e){const t=\"__VASTStorage__\";try{if(e.setItem(t,t),e.getItem(t)!==t)return e.removeItem(t),!0}catch(e){return!0}return e.removeItem(t),!1}getItem(e){return this.storage.getItem(e)}setItem(e,t){return this.storage.setItem(e,t)}removeItem(e){return this.storage.removeItem(e)}clear(){return this.storage.clear()}}class VASTClient{constructor(e,t,r){this.cappingFreeLunch=e||0,this.cappingMinimumTimeInterval=t||0,this.defaultOptions={withCredentials:!1,timeout:0},this.vastParser=new VASTParser,this.storage=r||new Storage,void 0===this.lastSuccessfulAd&&(this.lastSuccessfulAd=0),void 0===this.totalCalls&&(this.totalCalls=0),void 0===this.totalCallsTimeout&&(this.totalCallsTimeout=0)}getParser(){return this.vastParser}get lastSuccessfulAd(){return this.storage.getItem(\"vast-client-last-successful-ad\")}set lastSuccessfulAd(e){this.storage.setItem(\"vast-client-last-successful-ad\",e)}get totalCalls(){return this.storage.getItem(\"vast-client-total-calls\")}set totalCalls(e){this.storage.setItem(\"vast-client-total-calls\",e)}get totalCallsTimeout(){return this.storage.getItem(\"vast-client-total-calls-timeout\")}set totalCallsTimeout(e){this.storage.setItem(\"vast-client-total-calls-timeout\",e)}hasRemainingAds(){return this.vastParser.remainingAds.length>0}getNextAds(e){return this.vastParser.getRemainingAds(e)}get(e,t={}){const r=Date.now();return(t=Object.assign(this.defaultOptions,t)).hasOwnProperty(\"resolveAll\")||(t.resolveAll=!1),this.totalCallsTimeout{if(this.cappingFreeLunch>=this.totalCalls)return s(new Error(`VAST call canceled – FreeLunch capping not reached yet ${this.totalCalls}/${this.cappingFreeLunch}`));const n=r-this.lastSuccessfulAd;if(n<0)this.lastSuccessfulAd=0;else if(ni(e)).catch(e=>s(e))})}}const DEFAULT_SKIP_DELAY=-1;class VASTTracker extends EventEmitter{constructor(e,t,r,i=null){super(),this.ad=t,this.creative=r,this.variation=i,this.muted=!1,this.impressed=!1,this.skippable=!1,this.trackingEvents={},this._alreadyTriggeredQuartiles={},this.emitAlwaysEvents=[\"creativeView\",\"start\",\"firstQuartile\",\"midpoint\",\"thirdQuartile\",\"complete\",\"resume\",\"pause\",\"rewind\",\"skip\",\"closeLinear\",\"close\"];for(let e in this.creative.trackingEvents){const t=this.creative.trackingEvents[e];this.trackingEvents[e]=t.slice(0)}this.creative instanceof CreativeLinear?this._initLinearTracking():this._initVariationTracking(),e&&this.on(\"start\",()=>{e.lastSuccessfulAd=Date.now()})}_initLinearTracking(){this.linear=!0,this.skipDelay=this.creative.skipDelay,this.setDuration(this.creative.duration),this.clickThroughURLTemplate=this.creative.videoClickThroughURLTemplate,this.clickTrackingURLTemplates=this.creative.videoClickTrackingURLTemplates}_initVariationTracking(){if(this.linear=!1,this.skipDelay=DEFAULT_SKIP_DELAY,this.variation){for(let e in this.variation.trackingEvents){const t=this.variation.trackingEvents[e];this.trackingEvents[e]?this.trackingEvents[e]=this.trackingEvents[e].concat(t.slice(0)):this.trackingEvents[e]=t.slice(0)}this.variation instanceof NonLinearAd?(this.clickThroughURLTemplate=this.variation.nonlinearClickThroughURLTemplate,this.clickTrackingURLTemplates=this.variation.nonlinearClickTrackingURLTemplates,this.setDuration(this.variation.minSuggestedDuration)):this.variation instanceof CompanionAd&&(this.clickThroughURLTemplate=this.variation.companionClickThroughURLTemplate,this.clickTrackingURLTemplates=this.variation.companionClickTrackingURLTemplates)}}setDuration(e){this.assetDuration=e,this.quartiles={firstQuartile:Math.round(25*this.assetDuration)/100,midpoint:Math.round(50*this.assetDuration)/100,thirdQuartile:Math.round(75*this.assetDuration)/100}}setProgress(e){const t=this.skipDelay||DEFAULT_SKIP_DELAY;if(-1===t||this.skippable||(t>e?this.emit(\"skip-countdown\",t-e):(this.skippable=!0,this.emit(\"skip-countdown\",0))),this.assetDuration>0){const t=[];if(e>0){const r=Math.round(e/this.assetDuration*100);t.push(\"start\"),t.push(`progress-${r}%`),t.push(`progress-${Math.round(e)}`);for(let r in this.quartiles)this.isQuartileReached(r,this.quartiles[r],e)&&(t.push(r),this._alreadyTriggeredQuartiles[r]=!0)}t.forEach(e=>{this.track(e,!0)}),e-1;r?(this.emit(e,\"\"),this.trackURLs(r)):i&&this.emit(e,\"\"),t&&(delete this.trackingEvents[e],i&&this.emitAlwaysEvents.splice(this.emitAlwaysEvents.indexOf(e),1))}trackURLs(e,t={}){this.linear&&(this.creative&&this.creative.mediaFiles&&this.creative.mediaFiles[0]&&this.creative.mediaFiles[0].fileURL&&(t.ASSETURI=this.creative.mediaFiles[0].fileURL),t.CONTENTPLAYHEAD=this.progressFormatted()),util.track(e,t)}progressFormatted(){const e=parseInt(this.progress);let t=e/3600;t.length<2&&(t=`0${t}`);let r=e/60%60;r.length<2&&(r=`0${r}`);let i=e%60;return i.length<2&&(i=`0${r}`),`${t}:${r}:${i}.${parseInt(100*(this.progress-e))}`}}export{VASTClient,VASTParser,VASTTracker};","import API from 'api/Api';\r\nimport {isWebRTC, checkAndGetContainerElement} from 'utils/validator';\r\nimport _ from \"utils/underscore\";\r\n\r\n/**\r\n * Main OvenPlayerSDK object\r\n */\r\nfunction ovenPlayerFactory() {\r\n\r\n const OvenPlayerSDK = {};\r\n\r\n const playerList = OvenPlayerSDK.playerList = [];\r\n\r\n /**\r\n * Create player instance and return it.\r\n *\r\n * @param {string | dom element} container Id of container element or container element\r\n * @param {object} options The options\r\n */\r\n OvenPlayerSDK.create = function (container, options) {\r\n\r\n if (!window.OvenPlayerConsole || Object.keys(window.OvenPlayerConsole).length === 0) {\r\n window.OvenPlayerConsole = {};\r\n OvenPlayerConsole['log'] = function () {\r\n };\r\n }\r\n\r\n let containerElement = checkAndGetContainerElement(container);\r\n\r\n const playerInstance = API(containerElement);\r\n playerInstance.init(options);\r\n\r\n playerList.push(playerInstance);\r\n\r\n return playerInstance;\r\n };\r\n\r\n /**\r\n * Gets the player instance list.\r\n *\r\n * @return {array} The player list.\r\n */\r\n OvenPlayerSDK.getPlayerList = function () {\r\n\r\n return playerList;\r\n };\r\n\r\n /**\r\n * Gets the player instance by container id.\r\n *\r\n * @param {string} containerId The container identifier\r\n * @return {obeject | null} The player instance.\r\n */\r\n OvenPlayerSDK.getPlayerByContainerId = function (containerId) {\r\n\r\n for (let i = 0; i < playerList.length; i++) {\r\n\r\n if (playerList[i].getContainerId() === containerId) {\r\n\r\n return playerList[i];\r\n }\r\n }\r\n\r\n return null;\r\n };\r\n\r\n /**\r\n * Gets the player instance by index.\r\n *\r\n * @param {number} index The index\r\n * @return {object | null} The player instance.\r\n */\r\n OvenPlayerSDK.getPlayerByIndex = function (index) {\r\n\r\n const playerInstance = playerList[index];\r\n\r\n if (playerInstance) {\r\n\r\n return playerInstance;\r\n } else {\r\n\r\n return null;\r\n }\r\n };\r\n\r\n /**\r\n * Remove the player instance by playerInstance.\r\n *\r\n * @param {playerInstance} playerInstance\r\n * @return {null}\r\n */\r\n OvenPlayerSDK.removePlayer = function (playerInstance) {\r\n\r\n for (let i = 0; i < playerList.length; i++) {\r\n\r\n if (playerList[i] === playerInstance) {\r\n playerList.splice(i, 1);\r\n }\r\n }\r\n };\r\n\r\n /**\r\n * Generate webrtc source for player source type.\r\n *\r\n * @param {Object | Array} source webrtc source\r\n * @return {Array} Player source Object.\r\n */\r\n OvenPlayerSDK.generateWebrtcUrls = function (sources) {\r\n return (_.isArray(sources) ? sources : [sources]).map(function (source, index) {\r\n if (source.host && isWebRTC(source.host) && source.application && source.stream) {\r\n return {\r\n file: source.host + \"/\" + source.application + \"/\" + source.stream,\r\n type: \"webrtc\",\r\n label: source.label ? source.label : \"webrtc-\" + (index + 1)\r\n };\r\n }\r\n });\r\n };\r\n\r\n /**\r\n * Whether show the player core log or not.\r\n *\r\n * @param {boolean} boolean run debug mode or not.\r\n * @return {boolean} run debug mode or not.\r\n */\r\n OvenPlayerSDK.debug = function (isDebugMode) {\r\n\r\n if (isDebugMode) {\r\n window.OvenPlayerConsole = {log: window['console']['log']};\r\n } else {\r\n window.OvenPlayerConsole = {\r\n log: function () {\r\n }\r\n };\r\n }\r\n return isDebugMode;\r\n };\r\n\r\n return OvenPlayerSDK;\r\n}\r\n\r\n\r\nexport default ovenPlayerFactory();\r\n","/**\r\n * Created by hoho on 25/06/2019.\r\n */\r\n\r\nimport { VASTClient, VASTTracker } from 'utils/vast-client';\r\nimport AdsEventsListener from \"api/ads/vast/Listener\";\r\nimport {TEMP_VIDEO_URL} from \"api/ads/utils\";\r\nimport {\r\n ERROR,\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_AD_LOADED,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n STATE_AD_COMPLETE,\r\n STATE_AD_ERROR,\r\n CONTENT_META,\r\n PROVIDER_DASH\r\n} from \"api/constants\";\r\n\r\nconst Ad = function(elVideo, provider, playerConfig, adTagUrl){\r\n const AUTOPLAY_NOT_ALLOWED = \"autoplayNotAllowed\";\r\n\r\n let that = {};\r\n let spec = {\r\n started: false, //player started\r\n active : false, //on Ad\r\n isVideoEnded : false,\r\n lang : playerConfig.getLanguage()\r\n };\r\n let adsErrorOccurred = false;\r\n let listener = null;\r\n\r\n let container = \"\";\r\n let elAdVideo = null;\r\n let textView = \"\";\r\n let adButton = \"\";\r\n\r\n let autoplayAllowed = false, autoplayRequiresMuted = false;\r\n let browser = playerConfig.getBrowser();\r\n let isMobile = browser.os === \"Android\" || browser.os === \"iOS\";\r\n\r\n const createAdContainer = () => {\r\n let adContainer = document.createElement('div');\r\n adContainer.setAttribute('class', 'op-ads');\r\n adContainer.setAttribute('id', 'op-ads');\r\n playerConfig.getContainer().append(adContainer);\r\n\r\n elAdVideo = document.createElement('video');\r\n elAdVideo.setAttribute('playsinline', 'true');\r\n elAdVideo.setAttribute('title', 'Advertisement');\r\n elAdVideo.setAttribute('class', 'op-ads-vast-video');\r\n\r\n adButton = document.createElement('div');\r\n adButton.setAttribute('class', 'op-ads-button');\r\n\r\n textView = document.createElement('div');\r\n textView.setAttribute('class', 'op-ads-textview');\r\n\r\n adButton.append(textView);\r\n adContainer.append(elAdVideo);\r\n adContainer.append(adButton);\r\n\r\n return adContainer;\r\n };\r\n\r\n container = createAdContainer();\r\n\r\n let vastClient = new VASTClient();\r\n let vastTracker = null;\r\n let ad = null;\r\n\r\n\r\n const OnAdError = function(error){\r\n console.log(error);\r\n adsErrorOccurred = true;\r\n elAdVideo.style.display = \"none\";\r\n provider.trigger(STATE_AD_ERROR, {code : error.code, message : error.message});\r\n spec.active = false;\r\n spec.started = true;\r\n provider.play();\r\n };\r\n\r\n const initRequest = function () {\r\n vastClient.get(adTagUrl) .then(res => {\r\n // Do something with the parsed VAST response\r\n OvenPlayerConsole.log(\"VAST : initRequest()\");\r\n ad = res.ads[0];\r\n if(!ad){\r\n throw {code : 401, message : \"File not found. Unable to find Linear/MediaFile from URI.\"};\r\n }\r\n vastTracker = new VASTTracker(vastClient, ad, ad.creatives[0]);\r\n\r\n OvenPlayerConsole.log(\"VAST : created ad tracker.\");\r\n\r\n listener = AdsEventsListener(elAdVideo, vastTracker, provider, spec, adButton, textView, OnAdError);\r\n\r\n let videoURL = \"\";\r\n if(ad.creatives && ad.creatives.length > 0 && ad.creatives[0].mediaFiles && ad.creatives[0].mediaFiles.length > 0 && ad.creatives[0].mediaFiles[0].fileURL){\r\n videoURL = ad.creatives[0].mediaFiles[0].fileURL;\r\n OvenPlayerConsole.log(\"VAST : media url : \", videoURL);\r\n }\r\n elAdVideo.src = videoURL;\r\n\r\n //keep volume even if playlist item changes.\r\n elAdVideo.volume = elVideo.volume;\r\n elAdVideo.muted = elVideo.muted;\r\n\r\n }).catch(function(error){\r\n OnAdError(error);\r\n });\r\n\r\n };\r\n\r\n\r\n\r\n const checkAutoplaySupport = function () {\r\n OvenPlayerConsole.log(\"VAST : checkAutoplaySupport() \");\r\n\r\n let temporarySupportCheckVideo = document.createElement('video');\r\n temporarySupportCheckVideo.setAttribute('playsinline', 'true');\r\n temporarySupportCheckVideo.src = TEMP_VIDEO_URL;\r\n temporarySupportCheckVideo.load();\r\n\r\n\r\n elAdVideo.load(); //for ios User Interaction problem\r\n //Dash has already loaded when triggered provider.play() always.\r\n if(isMobile && provider.getName() !== PROVIDER_DASH ){\r\n //Main video sets user gesture when temporarySupportCheckVideo triggered checking.\r\n elVideo.load();\r\n }\r\n const clearAndReport = function(_autoplayAllowed, _autoplayRequiresMuted){\r\n autoplayAllowed = _autoplayAllowed;\r\n autoplayRequiresMuted = _autoplayRequiresMuted;\r\n temporarySupportCheckVideo.pause();\r\n temporarySupportCheckVideo.remove();\r\n };\r\n\r\n return new Promise(function(resolve, reject){\r\n if(!temporarySupportCheckVideo.play){\r\n //I can't remember this case...\r\n OvenPlayerConsole.log(\"VAST : !temporarySupportCheckVideo.play\");\r\n clearAndReport(true, false);\r\n resolve();\r\n }else{\r\n let playPromise = temporarySupportCheckVideo.play();\r\n if (playPromise !== undefined) {\r\n playPromise.then(function(){\r\n OvenPlayerConsole.log(\"VAST : auto play allowed.\");\r\n // If we make it here, unmuted autoplay works.\r\n clearAndReport(true, false);\r\n resolve();\r\n }).catch(function(error){\r\n OvenPlayerConsole.log(\"VAST : auto play failed\", error.message);\r\n clearAndReport(false, false);\r\n resolve();\r\n });\r\n }else{\r\n OvenPlayerConsole.log(\"VAST : promise not support\");\r\n //Maybe this is IE11....\r\n clearAndReport(true, false);\r\n resolve();\r\n }\r\n }\r\n });\r\n }\r\n that.isActive = () => {\r\n return spec.active;\r\n };\r\n that.started = () => {\r\n return spec.started;\r\n };\r\n that.play = () => {\r\n if(spec.started){\r\n return elAdVideo.play();\r\n }else{\r\n return new Promise(function (resolve, reject) {\r\n\r\n const checkMainContentLoaded = function(){\r\n\r\n //wait for main contents meta loaded.\r\n //have to trigger CONTENT_META first. next trigger AD_CHANGED.\r\n //initControlUI first -> init ad UI\r\n //Maybe google ima waits content loaded internal.\r\n if(provider.metaLoaded()){\r\n OvenPlayerConsole.log(\"VAST : main contents meta loaded.\");\r\n checkAutoplaySupport().then(function(){\r\n if( (playerConfig.isAutoStart() && !autoplayAllowed) ){\r\n OvenPlayerConsole.log(\"VAST : autoplayAllowed : false\");\r\n spec.started = false;\r\n reject(new Error(AUTOPLAY_NOT_ALLOWED));\r\n }else{\r\n initRequest();\r\n\r\n resolve();\r\n }\r\n });\r\n\r\n }else{\r\n setTimeout(checkMainContentLoaded, 100);\r\n }\r\n\r\n };\r\n checkMainContentLoaded();\r\n\r\n });\r\n }\r\n };\r\n that.pause = () => {\r\n elAdVideo.pause();\r\n };\r\n\r\n //End Of Main Contents.\r\n that.videoEndedCallback = (completeContentCallback) => {\r\n\r\n completeContentCallback();\r\n //check true when main contents ended.\r\n spec.isVideoEnded = true;\r\n };\r\n that.destroy = () => {\r\n if(listener){\r\n listener.destroy();\r\n listener = null;\r\n }\r\n vastTracker = null;\r\n vastClient = null;\r\n\r\n container.remove();\r\n\r\n };\r\n return that;\r\n};\r\n\r\nexport default Ad;","/**\r\n * Created by hoho on 26/06/2019.\r\n */\r\nimport {\r\n ERROR,\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_AD_LOADED,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n STATE_AD_COMPLETE,\r\n AD_CHANGED,\r\n AD_TIME,\r\n STATE_PAUSED,\r\n STATE_ERROR,\r\n CONTENT_COMPLETE,\r\n CONTENT_SEEK,\r\n CONTENT_BUFFER_FULL,\r\n CONTENT_SEEKED,\r\n CONTENT_BUFFER,\r\n CONTENT_TIME,\r\n CONTENT_VOLUME,\r\n CONTENT_META,\r\n PLAYER_UNKNWON_ERROR,\r\n PLAYER_UNKNWON_OPERATION_ERROR,\r\n PLAYER_UNKNWON_NETWORK_ERROR,\r\n PLAYER_UNKNWON_DECODE_ERROR,\r\n PLAYER_FILE_ERROR,\r\n PLAYER_STATE,\r\n PLAYER_CLICKED,\r\n PLAYER_AD_CLICK,\r\n PROVIDER_HTML5,\r\n PROVIDER_WEBRTC,\r\n PROVIDER_DASH,\r\n PROVIDER_HLS\r\n} from \"api/constants\";\r\nimport LA$ from \"utils/likeA$.js\";\r\n\r\nconst Listener = function(elAdVideo, vastTracker, provider, adsSpec, adButton, textView, OnAdError){\r\n const lowLevelEvents = {};\r\n let that = {};\r\n const MEDIAFILE_PLAYBACK_ERROR = '405';\r\n\r\n let $textView = LA$(textView);\r\n let $adButton = LA$(adButton);\r\n let $elAdVideo = LA$(elAdVideo);\r\n\r\n provider.on(CONTENT_VOLUME, function(data) {\r\n if(data.mute){\r\n elAdVideo.muted = true;\r\n }else{\r\n elAdVideo.muted = false;\r\n elAdVideo.volume = data.volume/100;\r\n }\r\n }, that);\r\n\r\n //Like a CONTENT_RESUME_REQUESTED\r\n const processEndOfAd = function(){\r\n adsSpec.active = false;\r\n\r\n $adButton.hide();\r\n\r\n if(adsSpec.started && (provider.getPosition() === 0 || !adsSpec.isVideoEnded) ){\r\n $elAdVideo.hide();\r\n provider.play();\r\n }\r\n provider.trigger(STATE_AD_COMPLETE);\r\n };\r\n //Like a CONTENT_PAUSE_REQUESTED\r\n const processStartOfAd = function(){\r\n\r\n $elAdVideo.show();\r\n $adButton.show();\r\n\r\n };\r\n const skipButtonClicked = function(event){\r\n if($textView.hasClass(\"videoAdUiAction\")){\r\n vastTracker.skip();\r\n elAdVideo.pause();\r\n processEndOfAd();\r\n }\r\n };\r\n\r\n textView.addEventListener(\"click\", skipButtonClicked, false);\r\n\r\n\r\n lowLevelEvents.error = function(){\r\n OvenPlayerConsole.log(\"VAST : listener : error.\", elAdVideo.error);\r\n console.log(\"VAST : listener : error.\", elAdVideo.error);\r\n let error = {};\r\n const code = (elAdVideo.error && elAdVideo.error.code) || 0;\r\n\r\n if(code === 2) {\r\n error.code = 402;\r\n error.message = \"Timeout of MediaFile URI.\";\r\n }else if(code === 3){\r\n error.code = 405;\r\n error.message = \"Problem displaying MediaFile. Video player found a MediaFile with supported type but couldn’t display it. MediaFile may include: unsupported codecs, different MIME type than MediaFile@type, unsupported delivery method, etc.\";\r\n }else if(code === 4){\r\n error.code = 403;\r\n error.message = \"Couldn’t find MediaFile that is supported by this video player, based on the attributes of the MediaFile element.\";\r\n }else{\r\n error.code = 400;\r\n error.message = \"General Linear error. Video player is unable to display the Linear Ad.\";\r\n }\r\n vastTracker.errorWithCode(error.code);\r\n OnAdError(MEDIAFILE_PLAYBACK_ERROR);\r\n };\r\n\r\n lowLevelEvents.canplay = function(){\r\n\r\n };\r\n lowLevelEvents.ended = function(){\r\n vastTracker.complete();\r\n\r\n processEndOfAd();\r\n };\r\n lowLevelEvents.click = function(event){\r\n vastTracker.click();\r\n };\r\n lowLevelEvents.play = function(){\r\n vastTracker.setPaused(false);\r\n };\r\n lowLevelEvents.pause = function(){\r\n vastTracker.setPaused(true);\r\n };\r\n lowLevelEvents.timeupdate = function(event){\r\n vastTracker.setProgress(event.target.currentTime);\r\n provider.trigger(AD_TIME, {\r\n duration : elAdVideo.duration,\r\n position : elAdVideo.currentTime\r\n });\r\n };\r\n lowLevelEvents.volumechange = function(event){\r\n OvenPlayerConsole.log(\"VAST : listener : Ad Video Volumechange.\");\r\n vastTracker.setMuted(event.target.muted);\r\n };\r\n lowLevelEvents.loadedmetadata = function(){\r\n OvenPlayerConsole.log(\"VAST : listener : Ad CONTENT LOADED .\");\r\n\r\n //Flash play is very fast...\r\n if(STATE_PLAYING === provider.getState()){\r\n provider.pause();\r\n }\r\n\r\n vastTracker.trackImpression();\r\n\r\n provider.trigger(STATE_AD_LOADED, {remaining : elAdVideo.duration, isLinear : true});\r\n elAdVideo.play();\r\n };\r\n\r\n vastTracker.on('skip', () => {\r\n // skip tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : skipped\");\r\n });\r\n\r\n vastTracker.on('mute', () => {\r\n // mute tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : muted\");\r\n });\r\n\r\n vastTracker.on('unmute', () => {\r\n // unmute tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : unmuted\");\r\n });\r\n\r\n vastTracker.on('resume', () => {\r\n // resume tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : vastTracker resumed.\");\r\n\r\n //prevent to set STATE_AD_PLAYING when first play.\r\n if(adsSpec.started){\r\n provider.setState(STATE_AD_PLAYING);\r\n }\r\n\r\n });\r\n vastTracker.on('pause', () => {\r\n // pause tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : vastTracker paused.\");\r\n provider.setState(STATE_AD_PAUSED);\r\n });\r\n\r\n vastTracker.on('clickthrough', url => {\r\n // Open the resolved clickThrough url\r\n OvenPlayerConsole.log(\"VAST : listener : clickthrough :\", url);\r\n //document.location.href = url;\r\n window.open(url, '_blank');\r\n\r\n });\r\n\r\n vastTracker.on('skip-countdown', (data) => {\r\n if(data === 0){\r\n if(adsSpec.lang === \"ko\"){\r\n $textView.html(\"광고 건너뛰기\");\r\n }else{\r\n $textView.html(\"Ad Skip\");\r\n }\r\n $textView.addClass(\"videoAdUiAction\");\r\n }else{\r\n if(adsSpec.lang === \"ko\"){\r\n $textView.html((parseInt(data)+1)+\"초 후에 이 광고를 건너뛸 수 있습니다.\");\r\n }else{\r\n $textView.html(\"You can skip this ad in \"+(parseInt(data)+1));\r\n\r\n }\r\n }\r\n });\r\n vastTracker.on('rewind', () => {\r\n OvenPlayerConsole.log(\"VAST : listener : rewind\");\r\n });\r\n\r\n vastTracker.on('start', () => {\r\n OvenPlayerConsole.log(\"VAST : listener : started\");\r\n\r\n adsSpec.started = true;\r\n adsSpec.active = true;\r\n processStartOfAd();\r\n\r\n provider.trigger(AD_CHANGED, {isLinear : true});\r\n provider.setState(STATE_AD_PLAYING);\r\n });\r\n vastTracker.on('firstQuartile', () => {\r\n // firstQuartile tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : firstQuartile\");\r\n });\r\n vastTracker.on('midpoint', () => {\r\n OvenPlayerConsole.log(\"VAST : listener : midpoint\");\r\n });\r\n vastTracker.on('thirdQuartile', () => {\r\n OvenPlayerConsole.log(\"VAST : listener : thirdQuartile\");\r\n });\r\n\r\n vastTracker.on('creativeView', () => {\r\n // impression tracking URLs have been called\r\n OvenPlayerConsole.log(\"VAST : listener : creativeView\");\r\n\r\n });\r\n\r\n Object.keys(lowLevelEvents).forEach(eventName => {\r\n elAdVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\r\n elAdVideo.addEventListener(eventName, lowLevelEvents[eventName]);\r\n });\r\n\r\n that.destroy = () =>{\r\n OvenPlayerConsole.log(\"EventListener : destroy()\");\r\n textView.removeEventListener(\"click\", skipButtonClicked, false);\r\n Object.keys(lowLevelEvents).forEach(eventName => {\r\n elAdVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\r\n });\r\n };\r\n return that;\r\n};\r\n\r\nexport default Listener;","/**\r\n * Created by hoho on 2018. 6. 27..\r\n */\r\nimport Ima from \"api/ads/ima/Ad\";\r\nimport Vast from \"api/ads/vast/Ad\";\r\nimport EventEmitter from \"api/EventEmitter\";\r\nimport EventsListener from \"api/provider/html5/Listener\";\r\nimport { pickCurrentSource } from \"api/provider/utils\";\r\nimport {\r\n WARN_MSG_MUTEDPLAY,\r\n UI_ICONS, PLAYER_WARNING,\r\n STATE_IDLE, STATE_PLAYING, STATE_PAUSED, STATE_COMPLETE, STATE_ERROR,\r\n PLAYER_STATE, PLAYER_COMPLETE, PLAYER_PAUSE, PLAYER_PLAY, STATE_AD_PLAYING, STATE_AD_PAUSED,\r\n CONTENT_META, CONTENT_TIME, CONTENT_CAPTION_CUE_CHANGED, CONTENT_SOURCE_CHANGED,\r\n AD_CLIENT_GOOGLEIMA, AD_CLIENT_VAST,\r\n PLAYBACK_RATE_CHANGED, CONTENT_MUTE, PROVIDER_HTML5, PROVIDER_WEBRTC, PROVIDER_DASH, PROVIDER_HLS\r\n} from \"api/constants\";\r\n\r\n/**\r\n * @brief Core For Html5 Video.\r\n * @param spec member value\r\n * @param playerConfig player config\r\n * @param onExtendedLoad on load handler\r\n * */\r\nconst Provider = function (spec, playerConfig, onExtendedLoad) {\r\n OvenPlayerConsole.log(\"[Provider] loaded. \");\r\n\r\n let that = {};\r\n EventEmitter(that);\r\n\r\n let dashAttachedView = false;\r\n\r\n let elVideo = spec.element;\r\n let ads = null, listener = null, videoEndedCallback = null;\r\n\r\n let isPlayingProcessing = false;\r\n\r\n if (spec.adTagUrl) {\r\n OvenPlayerConsole.log(\"[Provider] Ad Client - \", playerConfig.getAdClient());\r\n if (playerConfig.getAdClient() === AD_CLIENT_VAST) {\r\n ads = Vast(elVideo, that, playerConfig, spec.adTagUrl);\r\n } else {\r\n ads = Ima(elVideo, that, playerConfig, spec.adTagUrl);\r\n }\r\n\r\n if (!ads) {\r\n console.log(\"Can not load due to google ima for Ads.\");\r\n }\r\n }\r\n\r\n listener = EventsListener(elVideo, that, ads ? ads.videoEndedCallback : null, playerConfig);\r\n elVideo.playbackRate = elVideo.defaultPlaybackRate = playerConfig.getPlaybackRate();\r\n\r\n const _load = (lastPlayPosition) => {\r\n\r\n const source = spec.sources[spec.currentSource];\r\n spec.framerate = source.framerate;\r\n\r\n that.setVolume(playerConfig.getVolume());\r\n\r\n if (!spec.framerate) {\r\n //init timecode mode\r\n playerConfig.setTimecodeMode(true);\r\n }\r\n if (onExtendedLoad) {\r\n onExtendedLoad(source, lastPlayPosition);\r\n\r\n } else {\r\n\r\n OvenPlayerConsole.log(\"source loaded : \", source, \"lastPlayPosition : \" + lastPlayPosition);\r\n\r\n let previousSource = elVideo.src;\r\n\r\n // const sourceElement = document.createElement('source');\r\n // sourceElement.src = source.file;\r\n\r\n const sourceChanged = (source.file !== previousSource);\r\n\r\n if (sourceChanged) {\r\n\r\n elVideo.src = source.file;\r\n\r\n //Don't use this. https://stackoverflow.com/questions/30637784/detect-an-error-on-html5-video\r\n //elVideo.append(sourceElement);\r\n\r\n // Do not call load if src was not set. load() will cancel any active play promise.\r\n if (previousSource || previousSource === '') {\r\n\r\n elVideo.load();\r\n }\r\n\r\n }\r\n\r\n that.on(CONTENT_META, function () {\r\n if (lastPlayPosition > 0) {\r\n that.seek(lastPlayPosition);\r\n }\r\n });\r\n }\r\n\r\n };\r\n\r\n that.getName = () => {\r\n return spec.name;\r\n };\r\n that.getMse = () => {\r\n return spec.mse;\r\n };\r\n that.getMediaElement = () => {\r\n return spec.element;\r\n };\r\n that.canSeek = () => {\r\n return spec.canSeek;\r\n };\r\n that.setCanSeek = (canSeek) => {\r\n spec.canSeek = canSeek;\r\n };\r\n that.isSeeking = () => {\r\n return spec.seeking;\r\n };\r\n that.setSeeking = (seeking) => {\r\n spec.seeking = seeking;\r\n };\r\n that.setMetaLoaded = () => {\r\n spec.isLoaded = true;\r\n };\r\n that.metaLoaded = () => {\r\n return spec.isLoaded;\r\n };\r\n\r\n that.setState = (newState) => {\r\n if (spec.state !== newState) {\r\n let prevState = spec.state;\r\n\r\n OvenPlayerConsole.log(\"Provider : setState()\", newState);\r\n\r\n //ToDo : This is temporary code. If main video occur error, player avoid error message on ad playing.\r\n if (prevState === STATE_AD_PLAYING && (newState === STATE_ERROR || newState === STATE_IDLE)) {\r\n return false;\r\n }\r\n\r\n /*\r\n * 2019-06-13\r\n * No more necessary this codes.\r\n * Checking the autoPlay support was using main video element. elVideo.play() -> yes or no??\r\n * And then that causes triggering play and pause event.\r\n * And that checking waits for elVideo loaded. Dash load completion time is unknown.\r\n * Then I changed check method. I make temporary video tag and insert empty video.\r\n * */\r\n //if ((prevState === STATE_AD_PLAYING || prevState === STATE_AD_PAUSED ) && (newState === STATE_PAUSED || newState === STATE_PLAYING)) {\r\n // return false;\r\n //Ads checks checkAutoplaySupport(). It calls real play() and pause() to video element.\r\n //And then that triggers \"playing\" and \"pause\".\r\n //I prevent these process.\r\n //}\r\n\r\n OvenPlayerConsole.log(\"Provider : triggerSatatus\", newState);\r\n switch (newState) {\r\n case STATE_COMPLETE:\r\n that.trigger(PLAYER_COMPLETE);\r\n break;\r\n case STATE_PAUSED:\r\n that.trigger(PLAYER_PAUSE, {\r\n prevState: spec.state,\r\n newstate: STATE_PAUSED\r\n });\r\n break;\r\n case STATE_AD_PAUSED:\r\n that.trigger(PLAYER_PAUSE, {\r\n prevState: spec.state,\r\n newstate: STATE_AD_PAUSED\r\n });\r\n break;\r\n case STATE_PLAYING:\r\n that.trigger(PLAYER_PLAY, {\r\n prevState: spec.state,\r\n newstate: STATE_PLAYING\r\n });\r\n break;\r\n case STATE_AD_PLAYING:\r\n that.trigger(PLAYER_PLAY, {\r\n prevState: spec.state,\r\n newstate: STATE_AD_PLAYING\r\n });\r\n break;\r\n }\r\n spec.state = newState;\r\n that.trigger(PLAYER_STATE, {\r\n prevstate: prevState,\r\n newstate: spec.state\r\n });\r\n\r\n\r\n }\r\n };\r\n that.getState = () => {\r\n return spec.state;\r\n };\r\n that.setBuffer = (newBuffer) => {\r\n spec.buffer = newBuffer;\r\n };\r\n that.getBuffer = () => {\r\n return spec.buffer;\r\n };\r\n that.isLive = () => {\r\n return spec.isLive ? true : (elVideo.duration === Infinity);\r\n };\r\n that.getDuration = () => {\r\n return that.isLive() ? Infinity : elVideo.duration;\r\n };\r\n that.getDvrWindow = () => {\r\n return spec.dvrWindow;\r\n };\r\n that.getPosition = () => {\r\n if (!elVideo) {\r\n return 0;\r\n }\r\n return elVideo.currentTime;\r\n };\r\n that.setVolume = (volume) => {\r\n if (!elVideo) {\r\n return false;\r\n }\r\n elVideo.volume = volume / 100;\r\n playerConfig.setVolume(volume);\r\n };\r\n that.getVolume = () => {\r\n\r\n return playerConfig.getVolume();\r\n };\r\n that.setMute = (state) => {\r\n if (!elVideo) {\r\n return false;\r\n }\r\n if (typeof state === 'undefined') {\r\n\r\n const muted = playerConfig.isMute();\r\n\r\n elVideo.muted = !muted;\r\n playerConfig.setMute(!muted);\r\n\r\n that.trigger(CONTENT_MUTE, {\r\n mute: playerConfig.isMute()\r\n });\r\n\r\n } else {\r\n\r\n elVideo.muted = state;\r\n playerConfig.setMute(state);\r\n\r\n that.trigger(CONTENT_MUTE, {\r\n mute: playerConfig.isMute()\r\n });\r\n }\r\n return elVideo.muted;\r\n };\r\n that.getMute = () => {\r\n\r\n return playerConfig.isMute();\r\n };\r\n\r\n that.preload = (sources, lastPlayPosition) => {\r\n\r\n spec.sources = sources;\r\n\r\n spec.currentSource = pickCurrentSource(sources, playerConfig);\r\n _load(lastPlayPosition || 0);\r\n\r\n return new Promise(function (resolve, reject) {\r\n\r\n if (playerConfig.isMute()) {\r\n that.setMute(true);\r\n }\r\n if (playerConfig.getVolume()) {\r\n that.setVolume(playerConfig.getVolume());\r\n }\r\n\r\n resolve();\r\n });\r\n\r\n };\r\n that.load = (sources) => {\r\n\r\n spec.sources = sources;\r\n spec.currentSource = pickCurrentSource(sources, playerConfig);\r\n _load(0);\r\n };\r\n\r\n that.play = () => {\r\n\r\n OvenPlayerConsole.log(\"Provider : play()\");\r\n if (!elVideo) {\r\n return false;\r\n }\r\n\r\n //Test it thoroughly and remove isPlayingProcessing. Most of the hazards have been removed. a lot of nonblocking play() way -> blocking play()\r\n // if(isPlayingProcessing){\r\n // return false;\r\n // }\r\n\r\n isPlayingProcessing = true;\r\n if (that.getState() !== STATE_PLAYING) {\r\n if ((ads && ads.isActive()) || (ads && !ads.started())) {\r\n ads.play().then(_ => {\r\n //ads play success\r\n isPlayingProcessing = false;\r\n OvenPlayerConsole.log(\"Provider : ads play success\");\r\n\r\n }).catch(error => {\r\n //ads play fail maybe cause user interactive less\r\n isPlayingProcessing = false;\r\n OvenPlayerConsole.log(\"Provider : ads play fail\", error);\r\n });\r\n\r\n } else {\r\n let promise = elVideo.play();\r\n if (promise !== undefined) {\r\n promise.then(function () {\r\n isPlayingProcessing = false;\r\n OvenPlayerConsole.log(\"Provider : video play success\");\r\n /*\r\n if(mutedPlay){\r\n that.trigger(PLAYER_WARNING, {\r\n message : WARN_MSG_MUTEDPLAY,\r\n timer : 10 * 1000,\r\n iconClass : UI_ICONS.volume_mute,\r\n onClickCallback : function(){\r\n that.setMute(false);\r\n }\r\n });\r\n }*/\r\n }).catch(error => {\r\n OvenPlayerConsole.log(\"Provider : video play error\", error.message);\r\n\r\n isPlayingProcessing = false;\r\n /*\r\n if(!mutedPlay){\r\n that.setMute(true);\r\n that.play(true);\r\n }\r\n */\r\n });\r\n } else {\r\n //IE promise is undefinded.\r\n OvenPlayerConsole.log(\"Provider : video play success (ie)\");\r\n isPlayingProcessing = false;\r\n }\r\n }\r\n }\r\n\r\n };\r\n that.pause = () => {\r\n\r\n OvenPlayerConsole.log(\"Provider : pause()\");\r\n if (!elVideo) {\r\n return false;\r\n }\r\n\r\n if (that.getState() === STATE_PLAYING) {\r\n elVideo.pause();\r\n } else if (that.getState() === STATE_AD_PLAYING) {\r\n ads.pause();\r\n }\r\n };\r\n that.seek = (position) => {\r\n if (!elVideo) {\r\n return false;\r\n }\r\n elVideo.currentTime = position;\r\n };\r\n that.setPlaybackRate = (playbackRate) => {\r\n if (!elVideo) {\r\n return false;\r\n }\r\n that.trigger(PLAYBACK_RATE_CHANGED, { playbackRate: playbackRate });\r\n return elVideo.playbackRate = elVideo.defaultPlaybackRate = playbackRate;\r\n };\r\n that.getPlaybackRate = () => {\r\n if (!elVideo) {\r\n return 0;\r\n }\r\n return elVideo.playbackRate;\r\n };\r\n\r\n that.getSources = () => {\r\n if (!elVideo) {\r\n return [];\r\n }\r\n\r\n return spec.sources.map(function (source, index) {\r\n\r\n var obj = {\r\n file: source.file,\r\n type: source.type,\r\n label: source.label,\r\n index: index,\r\n sectionStart: source.sectionStart,\r\n sectionEnd: source.sectionEnd,\r\n gridThumbnail: source.gridThumbnail,\r\n };\r\n\r\n if (source.lowLatency) {\r\n obj.lowLatency = source.lowLatency;\r\n }\r\n\r\n return obj;\r\n });\r\n };\r\n that.getCurrentSource = () => {\r\n return spec.currentSource;\r\n };\r\n that.setCurrentSource = (sourceIndex, needProviderChange) => {\r\n\r\n if (sourceIndex > -1) {\r\n if (spec.sources && spec.sources.length > sourceIndex) {\r\n //that.pause();\r\n //that.setState(STATE_IDLE);\r\n OvenPlayerConsole.log(\"source changed : \" + sourceIndex);\r\n spec.currentSource = sourceIndex;\r\n\r\n playerConfig.setSourceIndex(sourceIndex);\r\n //playerConfig.setSourceLabel(spec.sources[sourceIndex].label);\r\n //spec.currentQuality = sourceIndex;\r\n //that.pause();\r\n that.setState(STATE_IDLE);\r\n if (needProviderChange) {\r\n _load(elVideo.currentTime || 0);\r\n }\r\n //\r\n return spec.currentSource;\r\n }\r\n }\r\n };\r\n\r\n\r\n that.getQualityLevels = () => {\r\n if (!elVideo) {\r\n return [];\r\n }\r\n return spec.qualityLevels;\r\n };\r\n that.getCurrentQuality = () => {\r\n if (!elVideo) {\r\n return null;\r\n }\r\n return spec.currentQuality;\r\n };\r\n that.setCurrentQuality = (qualityIndex) => {\r\n //Do nothing\r\n };\r\n\r\n that.getAudioTracks = () => {\r\n if (!elVideo) {\r\n return [];\r\n }\r\n return spec.audioTracks;\r\n };\r\n\r\n that.getCurrentAudioTrack = () => {\r\n if (!elVideo) {\r\n return [];\r\n }\r\n return spec.currentAudioTrack;\r\n };\r\n\r\n that.setCurrentAudioTrack = (audioTrackIndex) => {\r\n //Do nothing\r\n };\r\n\r\n that.isAutoQuality = () => {\r\n //Do nothing\r\n };\r\n that.setAutoQuality = (isAuto) => {\r\n //Do nothing\r\n };\r\n\r\n that.getFramerate = () => {\r\n return spec.framerate;\r\n };\r\n that.setFramerate = (framerate) => {\r\n return spec.framerate = framerate;\r\n };\r\n that.seekFrame = (frameCount) => {\r\n let fps = spec.framerate;\r\n let currentFrames = elVideo.currentTime * fps;\r\n let newPosition = (currentFrames + frameCount) / fps;\r\n newPosition = newPosition + 0.00001; // FIXES A SAFARI SEEK ISSUE. myVdieo.currentTime = 0.04 would give SMPTE 00:00:00:00 wheras it should give 00:00:00:01\r\n\r\n that.pause();\r\n that.seek(newPosition);\r\n };\r\n\r\n that.stop = () => {\r\n if (!elVideo) {\r\n return false;\r\n }\r\n OvenPlayerConsole.log(\"CORE : stop() \");\r\n\r\n elVideo.removeAttribute('preload');\r\n elVideo.removeAttribute('src');\r\n while (elVideo.firstChild) {\r\n elVideo.removeChild(elVideo.firstChild);\r\n }\r\n\r\n that.pause();\r\n that.setState(STATE_IDLE);\r\n isPlayingProcessing = false;\r\n };\r\n\r\n that.destroy = () => {\r\n if (!elVideo) {\r\n return false;\r\n }\r\n that.stop();\r\n listener.destroy();\r\n //elVideo.remove();\r\n\r\n if (ads) {\r\n ads.destroy();\r\n ads = null;\r\n }\r\n that.off();\r\n OvenPlayerConsole.log(\"CORE : destroy() player stop, listener, event destroied\");\r\n };\r\n\r\n //XXX : I hope using es6 classes. but I think to occur problem from Old IE. Then I choice function inherit. Finally using super function is so difficult.\r\n // use : let super_destroy = that.super('destroy'); ... super_destroy();\r\n that.super = (name) => {\r\n const method = that[name];\r\n return function () {\r\n return method.apply(that, arguments);\r\n };\r\n };\r\n return that;\r\n\r\n};\r\n\r\nexport default Provider;\r\n","import {\r\n ERRORS,\r\n ERROR,\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_AD_PLAYING,\r\n STATE_PAUSED,\r\n STATE_ERROR,\r\n CONTENT_COMPLETE,\r\n CONTENT_SEEK,\r\n CONTENT_BUFFER_FULL,\r\n CONTENT_SEEKED,\r\n CONTENT_BUFFER,\r\n CONTENT_TIME,\r\n CONTENT_VOLUME,\r\n CONTENT_META,\r\n CONTENT_DURATION_CHANGED,\r\n PLAYER_UNKNWON_ERROR,\r\n PLAYER_UNKNWON_OPERATION_ERROR,\r\n PLAYER_UNKNWON_NETWORK_ERROR,\r\n PLAYER_UNKNWON_DECODE_ERROR,\r\n PLAYER_FILE_ERROR,\r\n PROVIDER_HTML5,\r\n PROVIDER_WEBRTC,\r\n PROVIDER_DASH,\r\n PROVIDER_HLS\r\n} from \"api/constants\";\r\nimport {extractVideoElement, errorTrigger} from \"api/provider/utils\";\r\n\r\n/**\r\n * @brief Trigger on various video events.\r\n * @param extendedElement extended media object by mse.\r\n * @param Provider provider html5Provider\r\n * */\r\n\r\n\r\nconst Listener = function(element, provider, videoEndedCallback, playerConfig){\r\n const lowLevelEvents = {};\r\n\r\n OvenPlayerConsole.log(\"EventListener loaded.\",element ,provider );\r\n const that = {};\r\n\r\n let stalled = -1;\r\n let elVideo = element;\r\n const between = function (num, min, max) {\r\n return Math.max(Math.min(num, max), min);\r\n };\r\n const compareStalledTime = function(stalled, position){\r\n //Original Code is stalled !== position\r\n //Because Dashjs is very meticulous. Then always diffrence stalled and position.\r\n //That is why when I use toFixed(2).\r\n return stalled.toFixed(2) === position.toFixed(2);\r\n };\r\n\r\n lowLevelEvents.canplay = () => {\r\n //Fires when the browser can start playing the audio/video\r\n provider.setCanSeek(true);\r\n provider.trigger(CONTENT_BUFFER_FULL);\r\n OvenPlayerConsole.log(\"EventListener : on canplay\");\r\n };\r\n\r\n lowLevelEvents.durationchange = () => {\r\n //Fires when the duration of the audio/video is changed\r\n lowLevelEvents.progress();\r\n OvenPlayerConsole.log(\"EventListener : on durationchange\");\r\n\r\n provider.trigger(CONTENT_DURATION_CHANGED);\r\n };\r\n\r\n lowLevelEvents.ended = () => {\r\n //Fires when the current playlist is ended\r\n OvenPlayerConsole.log(\"EventListener : on ended\");\r\n\r\n // IE doesn't set paused property to true. So force set it.\r\n elVideo.pause();\r\n\r\n if(provider.getState() !== STATE_IDLE && provider.getState() !== STATE_COMPLETE && provider.getState() !== STATE_ERROR) {\r\n if(videoEndedCallback){\r\n videoEndedCallback(function(){\r\n provider.setState(STATE_COMPLETE);\r\n });\r\n }else{\r\n provider.setState(STATE_COMPLETE);\r\n }\r\n }\r\n };\r\n\r\n lowLevelEvents.loadeddata = () => {\r\n //Fires when the browser has loaded the current frame of the audio/video\r\n //Do nothing Because this causes chaos by loadedmetadata.\r\n /*\r\n var metadata = {\r\n duration: elVideo.duration,\r\n height: elVideo.videoHeight,\r\n width: elVideo.videoWidth\r\n };\r\n provider.trigger(CONTENT_META, metadata);*/\r\n };\r\n\r\n lowLevelEvents.loadedmetadata = () => {\r\n //Fires when the browser has loaded meta data for the audio/video\r\n\r\n let sources = provider.getSources();\r\n let sourceIndex = provider.getCurrentSource();\r\n let type = sourceIndex > -1 ? sources[sourceIndex].type : \"\";\r\n var metadata = {\r\n duration: provider.isLive() ? Infinity : elVideo.duration,\r\n type :type\r\n };\r\n\r\n provider.setMetaLoaded();\r\n\r\n OvenPlayerConsole.log(\"EventListener : on loadedmetadata\", metadata);\r\n provider.trigger(CONTENT_META, metadata);\r\n };\r\n\r\n lowLevelEvents.pause = () => {\r\n //Fires when the audio/video has been paused\r\n if(provider.getState() === STATE_COMPLETE || provider.getState() === STATE_ERROR){\r\n return false;\r\n }\r\n if(elVideo.ended){\r\n return false;\r\n }\r\n if(elVideo.error){\r\n return false;\r\n }\r\n if(elVideo.currentTime === elVideo.duration){\r\n return false;\r\n }\r\n OvenPlayerConsole.log(\"EventListener : on pause\");\r\n\r\n provider.setState(STATE_PAUSED);\r\n };\r\n\r\n lowLevelEvents.loadstart = () => {\r\n\r\n if (playerConfig) {\r\n if (!playerConfig.getConfig().showBigPlayButton && playerConfig.getConfig().autoStart) {\r\n provider.setState(STATE_LOADING);\r\n }\r\n }\r\n };\r\n\r\n lowLevelEvents.play = () => {\r\n\r\n //Fires when the audio/video has been started or is no longer paused\r\n stalled = -1;\r\n if (!elVideo.paused && provider.getState() !== STATE_PLAYING) {\r\n provider.setState(STATE_LOADING);\r\n }\r\n };\r\n\r\n lowLevelEvents.playing = () => {\r\n //Fires when the audio/video is playing after having been paused or stopped for buffering\r\n OvenPlayerConsole.log(\"EventListener : on playing\");\r\n if(stalled < 0){\r\n provider.setState(STATE_PLAYING);\r\n }\r\n };\r\n\r\n lowLevelEvents.progress = () => {\r\n //Fires when the browser is downloading the audio/video\r\n let timeRanges = elVideo.buffered;\r\n if(!timeRanges ){\r\n return false;\r\n }\r\n\r\n let duration = elVideo.duration, position = elVideo.currentTime;\r\n let buffered = between( (timeRanges.length> 0 ? timeRanges.end(timeRanges.length - 1) : 0 ) / duration, 0, 1);\r\n\r\n provider.setBuffer(buffered*100);\r\n provider.trigger(CONTENT_BUFFER, {\r\n bufferPercent: buffered*100,\r\n position: position,\r\n duration: duration\r\n });\r\n OvenPlayerConsole.log(\"EventListener : on progress\", buffered*100);\r\n };\r\n\r\n\r\n lowLevelEvents.timeupdate = () => {\r\n //Fires when the current playback position has changed\r\n let position = elVideo.currentTime;\r\n let duration = elVideo.duration;\r\n if (isNaN(duration)) {\r\n return;\r\n }\r\n\r\n if (position > duration) {\r\n elVideo.pause();\r\n provider.setState(STATE_COMPLETE);\r\n return;\r\n }\r\n\r\n let sectionStart = provider.getSources()[provider.getCurrentSource()].sectionStart;\r\n\r\n if (sectionStart && position < sectionStart && provider.getState() === STATE_PLAYING) {\r\n\r\n provider.seek(sectionStart);\r\n }\r\n\r\n let sectionEnd = provider.getSources()[provider.getCurrentSource()].sectionEnd;\r\n\r\n if (sectionEnd && position > sectionEnd && provider.getState() === STATE_PLAYING) {\r\n\r\n provider.stop();\r\n provider.setState(STATE_COMPLETE);\r\n return;\r\n }\r\n\r\n //Sometimes dash live gave to me crazy duration. (9007199254740991...) why???\r\n if(duration > 9000000000000000){ //9007199254740991\r\n duration = Infinity;\r\n }\r\n\r\n if(!provider.isSeeking() && !elVideo.paused && (provider.getState() === STATE_STALLED || provider.getState() === STATE_LOADING || provider.getState() === STATE_AD_PLAYING) &&\r\n !compareStalledTime(stalled, position) ){\r\n stalled = -1;\r\n provider.setState(STATE_PLAYING);\r\n }\r\n\r\n if (sectionStart && sectionStart > 0) {\r\n\r\n position = position - sectionStart;\r\n\r\n if (position < 0) {\r\n position = 0;\r\n }\r\n }\r\n\r\n if (sectionEnd) {\r\n duration = sectionEnd;\r\n }\r\n\r\n if (sectionStart) {\r\n duration = duration - sectionStart;\r\n }\r\n\r\n if (provider.getState() === STATE_PLAYING || provider.isSeeking()) {\r\n provider.trigger(CONTENT_TIME, {\r\n position: position,\r\n duration: duration\r\n });\r\n }\r\n\r\n };\r\n\r\n lowLevelEvents.seeking = () => {\r\n provider.setSeeking(true);\r\n OvenPlayerConsole.log(\"EventListener : on seeking\", elVideo.currentTime);\r\n provider.trigger(CONTENT_SEEK,{\r\n position : elVideo.currentTime\r\n });\r\n };\r\n lowLevelEvents.seeked = () => {\r\n if(!provider.isSeeking()){\r\n return;\r\n }\r\n OvenPlayerConsole.log(\"EventListener : on seeked\");\r\n provider.setSeeking(false);\r\n provider.trigger(CONTENT_SEEKED);\r\n };\r\n\r\n lowLevelEvents.stalled = () => {\r\n OvenPlayerConsole.log(\"EventListener : on stalled\");\r\n //This callback does not work on chrome. This calls on Firefox intermittent. Then do not work here. using waiting event.\r\n };\r\n\r\n lowLevelEvents.waiting = () => {\r\n //Fires when the video stops because it needs to buffer the next frame\r\n OvenPlayerConsole.log(\"EventListener : on waiting\", provider.getState());\r\n if(provider.isSeeking()){\r\n provider.setState(STATE_LOADING);\r\n }else if(provider.getState() === STATE_PLAYING){\r\n stalled = elVideo.currentTime;\r\n provider.setState(STATE_STALLED);\r\n }\r\n };\r\n\r\n lowLevelEvents.volumechange = () => {\r\n OvenPlayerConsole.log(\"EventListener : on volumechange\", Math.round(elVideo.volume * 100));\r\n provider.trigger(CONTENT_VOLUME, {\r\n volume: Math.round(elVideo.volume * 100),\r\n mute: elVideo.muted\r\n });\r\n };\r\n\r\n lowLevelEvents.error = () => {\r\n const code = (elVideo.error && elVideo.error.code) || 0;\r\n let convertedErroCode = ({\r\n 0: PLAYER_UNKNWON_ERROR,\r\n 1: PLAYER_UNKNWON_OPERATION_ERROR,\r\n 2: PLAYER_UNKNWON_NETWORK_ERROR,\r\n 3: PLAYER_UNKNWON_DECODE_ERROR,\r\n 4: PLAYER_FILE_ERROR\r\n }[code]||0);\r\n\r\n OvenPlayerConsole.log(\"EventListener : on error\", convertedErroCode);\r\n errorTrigger(ERRORS.codes[convertedErroCode], provider);\r\n };\r\n\r\n Object.keys(lowLevelEvents).forEach(eventName => {\r\n elVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\r\n elVideo.addEventListener(eventName, lowLevelEvents[eventName]);\r\n });\r\n\r\n that.destroy = () =>{\r\n OvenPlayerConsole.log(\"EventListener : destroy()\");\r\n\r\n Object.keys(lowLevelEvents).forEach(eventName => {\r\n elVideo.removeEventListener(eventName, lowLevelEvents[eventName]);\r\n });\r\n };\r\n return that;\r\n};\r\n\r\nexport default Listener;","/**\r\n * Created by hoho on 2018. 8. 24..\r\n */\r\nimport Provider from \"api/provider/html5/Provider\";\r\nimport {errorTrigger} from \"api/provider/utils\";\r\nimport {PROVIDER_HTML5, STATE_IDLE} from \"api/constants\";\r\n\r\n/**\r\n * @brief html5 provider extended core.\r\n * @param container player element.\r\n * @param playerConfig config.\r\n * */\r\n\r\nconst Html5 = function(element, playerConfig, adTagUrl){\r\n\r\n let spec = {\r\n name : PROVIDER_HTML5,\r\n element : element,\r\n mse : null,\r\n listener : null,\r\n isLoaded : false,\r\n canSeek : false,\r\n isLive : false,\r\n seeking : false,\r\n state : STATE_IDLE,\r\n buffer : 0,\r\n framerate : 0,\r\n currentQuality : -1,\r\n qualityLevels : [],\r\n currentAudioTrack: -1,\r\n audioTracks: [],\r\n currentSource : -1,\r\n sources : [],\r\n adTagUrl : adTagUrl\r\n };\r\n\r\n let that = Provider(spec, playerConfig, null);\r\n let superDestroy_func = that.super('destroy');\r\n\r\n OvenPlayerConsole.log(\"HTML5 PROVIDER LOADED.\");\r\n\r\n that.destroy = () =>{\r\n OvenPlayerConsole.log(\"HTML5 : PROVIDER DESTROYED.\");\r\n\r\n superDestroy_func();\r\n };\r\n\r\n return that;\r\n\r\n};\r\n\r\nexport default Html5;\r\n","import _ from \"utils/underscore\";\r\nimport {analUserAgent} from \"utils/browser\";\r\nimport {\r\n ERRORS,\r\n PLAYER_WEBRTC_WS_ERROR,\r\n PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR,\r\n PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR,\r\n PLAYER_WEBRTC_CREATE_ANSWER_ERROR,\r\n PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR,\r\n PLAYER_WEBRTC_NETWORK_SLOW,\r\n PLAYER_WEBRTC_UNEXPECTED_DISCONNECT,\r\n PLAYER_WEBRTC_INTERNAL_ERROR,\r\n OME_P2P_MODE,\r\n CONTENT_LEVEL_CHANGED,\r\n PEER_CONNECTION_PREPARED\r\n} from \"api/constants\";\r\nimport sizeHumanizer from \"../../../../utils/sizeHumanizer\";\r\nimport {PEER_CONNECTION_DESTROYED} from \"../../../constants\";\r\n\r\n\r\nconst WebRTCLoader = function (provider,\r\n webSocketUrl,\r\n loadCallback,\r\n connectedCallback,\r\n internalErrorCallback,\r\n errorTrigger,\r\n playerConfig,\r\n spec) {\r\n\r\n let defaultConnectionConfig = {};\r\n\r\n let that = {};\r\n\r\n let ws = null;\r\n let wsConnected = false;\r\n\r\n let mainStream = null;\r\n\r\n // used for getting media stream from OME or host peer\r\n let mainPeerConnectionInfo = null;\r\n\r\n // used for send media stream to client peer.\r\n let clientPeerConnections = {};\r\n\r\n //closed websocket by ome or client.\r\n let wsClosedByPlayer = false;\r\n\r\n let recoverPacketLoss = false;\r\n\r\n let playlistFromOme = null;\r\n let autoQuality = false;\r\n\r\n if (playerConfig.getConfig().webrtcConfig &&\r\n playerConfig.getConfig().webrtcConfig.recoverPacketLoss === true) {\r\n\r\n recoverPacketLoss = true;\r\n }\r\n\r\n let generatePublicCandidate = true;\r\n\r\n if (playerConfig.getConfig().webrtcConfig &&\r\n playerConfig.getConfig().webrtcConfig.generatePublicCandidate === false) {\r\n\r\n generatePublicCandidate = playerConfig.getConfig().webrtcConfig.generatePublicCandidate;\r\n }\r\n\r\n let statisticsTimer = null;\r\n\r\n let currentBrowser = analUserAgent();\r\n\r\n let existingHandler = null;\r\n\r\n (function () {\r\n existingHandler = window.onbeforeunload;\r\n window.onbeforeunload = function (event) {\r\n if (existingHandler) {\r\n existingHandler(event);\r\n }\r\n OvenPlayerConsole.log(\"This calls auto when browser closed.\");\r\n closePeer();\r\n }\r\n })();\r\n\r\n\r\n function getPeerConnectionById(id) {\r\n\r\n let peerConnection = null;\r\n\r\n if (mainPeerConnectionInfo && id === mainPeerConnectionInfo.id) {\r\n peerConnection = mainPeerConnectionInfo.peerConnection;\r\n } else if (clientPeerConnections[id]) {\r\n peerConnection = clientPeerConnections[id].peerConnection;\r\n }\r\n\r\n return peerConnection;\r\n }\r\n\r\n function extractLossPacketsOnNetworkStatus(peerConnectionInfo) {\r\n\r\n if (peerConnectionInfo.statisticsTimer) {\r\n clearTimeout(peerConnectionInfo.statisticsTimer);\r\n }\r\n\r\n if (!peerConnectionInfo.status) {\r\n peerConnectionInfo.status = {};\r\n peerConnectionInfo.status.lostPacketsArr = [];\r\n peerConnectionInfo.status.slotLength = 8; //8 statistics. every 2 seconds\r\n peerConnectionInfo.status.prevPacketsLost = 0;\r\n peerConnectionInfo.status.avg8Losses = 0;\r\n peerConnectionInfo.status.avgMoreThanThresholdCount = 0; //If avg8Loss more than threshold.\r\n peerConnectionInfo.status.threshold = 40;\r\n }\r\n\r\n let lostPacketsArr = peerConnectionInfo.status.lostPacketsArr,\r\n slotLength = peerConnectionInfo.status.slotLength, //8 statistics. every 2 seconds\r\n prevPacketsLost = peerConnectionInfo.status.prevPacketsLost,\r\n avg8Losses = peerConnectionInfo.status.avg8Losses,\r\n // avgMoreThanThresholdCount = peerConnectionInfo.status.avgMoreThanThresholdCount, //If avg8Loss more than threshold.\r\n threshold = peerConnectionInfo.status.threshold;\r\n\r\n peerConnectionInfo.statisticsTimer = setTimeout(function () {\r\n if (!peerConnectionInfo.peerConnection) {\r\n return false;\r\n }\r\n\r\n peerConnectionInfo.peerConnection.getStats().then(function (stats) {\r\n\r\n if (!stats) {\r\n return;\r\n }\r\n\r\n if (playerConfig.getConfig().autoFallback && stats) {\r\n\r\n stats.forEach(function (state) {\r\n\r\n if (state.type === \"inbound-rtp\" && state.kind === 'video' && !state.isRemote) {\r\n\r\n //(state.packetsLost - prevPacketsLost) is real current lost.\r\n\r\n let actualPacketLost = parseInt(state.packetsLost) - parseInt(prevPacketsLost);\r\n\r\n lostPacketsArr.push(parseInt(state.packetsLost) - parseInt(prevPacketsLost));\r\n\r\n if (lostPacketsArr.length > slotLength) {\r\n\r\n lostPacketsArr.shift();\r\n }\r\n\r\n if (lostPacketsArr.length === slotLength) {\r\n\r\n avg8Losses = _.reduce(lostPacketsArr, function (memo, num) {\r\n return memo + num;\r\n }, 0) / slotLength;\r\n OvenPlayerConsole.log(\"Last8 LOST PACKET AVG : \" + (avg8Losses), \"Current Packet LOST: \" + actualPacketLost, \"Total Packet Lost: \" + state.packetsLost, lostPacketsArr);\r\n\r\n if (avg8Losses > threshold) {\r\n peerConnectionInfo.status.avgMoreThanThresholdCount = peerConnectionInfo.status.avgMoreThanThresholdCount + 1;\r\n if (peerConnectionInfo.status.avgMoreThanThresholdCount >= 60) {\r\n OvenPlayerConsole.log(\"NETWORK UNSTABLED!!! \");\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_NETWORK_SLOW];\r\n closePeer(tempError);\r\n }\r\n } else {\r\n peerConnectionInfo.status.avgMoreThanThresholdCount = 0;\r\n }\r\n }\r\n peerConnectionInfo.status.prevPacketsLost = state.packetsLost;\r\n }\r\n });\r\n\r\n extractLossPacketsOnNetworkStatus(peerConnectionInfo);\r\n }\r\n });\r\n\r\n }, 2000);\r\n\r\n }\r\n\r\n // return -1 if no opus;\r\n // return opus format number\r\n function getOpusFormatNumber(sdp) {\r\n\r\n const lines = sdp.split('\\r\\n');\r\n let opusFormatNumber = -1;\r\n\r\n for (let i = 0; i < lines.length - 1; i++) {\r\n\r\n lines[i] = lines[i].toLowerCase();\r\n\r\n if (lines[i].indexOf('a=rtpmap') > -1 && lines[i].indexOf('opus') > -1) {\r\n // parsing \"a=rtpmap:102 OPUS/48000/2\" line\r\n opusFormatNumber = lines[i].split(' ')[0].split(':')[1];\r\n break;\r\n }\r\n }\r\n\r\n return opusFormatNumber;\r\n }\r\n\r\n function checkOpusIsStereo(sdp, opusFormatNumber) {\r\n\r\n const lines = sdp.split('\\r\\n');\r\n\r\n let stereo = false;\r\n\r\n for (let i = 0; i < lines.length - 1; i++) {\r\n\r\n lines[i] = lines[i].toLowerCase();\r\n\r\n // check stereo=1 from \"a=fmtp:102 sprop-stereo=1;stereo=1;minptime=10;useinbandfec=1\"\r\n if (lines[i].indexOf('a=fmtp:' + opusFormatNumber) > -1) {\r\n\r\n if (lines[i].indexOf('stereo=1') > -1) {\r\n stereo = true;\r\n }\r\n break;\r\n }\r\n }\r\n\r\n return stereo;\r\n }\r\n\r\n function mungeSdpForceStereoOpus(sdp, opusFormatNumber) {\r\n\r\n const lines = sdp.split('\\r\\n');\r\n\r\n // find this line and modify. \"a=fmtp:102 minptime=10;useinbandfec=1\"\r\n for (let i = 0; i < lines.length - 1; i++) {\r\n\r\n // check stereo=1 from \"a=fmtp:102 sprop-stereo=1;stereo=1;minptime=10;useinbandfec=1\"\r\n if (lines[i].indexOf('a=fmtp:' + opusFormatNumber) > -1) {\r\n\r\n if (lines[i].indexOf('stereo=1') === -1) {\r\n\r\n lines[i] = lines[i] + ';stereo=1';\r\n }\r\n break;\r\n }\r\n }\r\n\r\n return lines.join('\\r\\n');\r\n }\r\n\r\n function createMainPeerConnection(id, peerId, sdp, candidates, iceServers) {\r\n\r\n let peerConnectionConfig = {};\r\n\r\n // first priority using ice servers from player setting.\r\n if (playerConfig.getConfig().webrtcConfig && playerConfig.getConfig().webrtcConfig.iceServers) {\r\n\r\n peerConnectionConfig.iceServers = playerConfig.getConfig().webrtcConfig.iceServers;\r\n\r\n if (playerConfig.getConfig().webrtcConfig.iceTransportPolicy) {\r\n\r\n peerConnectionConfig.iceTransportPolicy = playerConfig.getConfig().webrtcConfig.iceTransportPolicy;\r\n }\r\n } else if (iceServers) {\r\n\r\n // second priority using ice servers from ome and force using TCP\r\n peerConnectionConfig.iceServers = [];\r\n\r\n for (let i = 0; i < iceServers.length; i++) {\r\n\r\n let iceServer = iceServers[i];\r\n\r\n let regIceServer = {};\r\n\r\n regIceServer.urls = iceServer.urls;\r\n\r\n let hasWebsocketUrl = false;\r\n let socketUrl = generateDomainFromUrl(webSocketUrl);\r\n\r\n for (let j = 0; j < regIceServer.urls.length; j++) {\r\n\r\n let serverUrl = regIceServer.urls[j];\r\n\r\n if (serverUrl.indexOf(socketUrl) > -1) {\r\n hasWebsocketUrl = true;\r\n break;\r\n }\r\n }\r\n\r\n if (!hasWebsocketUrl) {\r\n\r\n if (regIceServer.urls.length > 0) {\r\n\r\n let cloneIceServer = _.clone(regIceServer.urls[0]);\r\n let ip = findIp(cloneIceServer);\r\n\r\n if (socketUrl && ip) {\r\n regIceServer.urls.push(cloneIceServer.replace(ip, socketUrl));\r\n }\r\n }\r\n }\r\n\r\n regIceServer.username = iceServer.username || iceServer.user_name;\r\n regIceServer.credential = iceServer.credential;\r\n\r\n peerConnectionConfig.iceServers.push(regIceServer);\r\n }\r\n\r\n peerConnectionConfig.iceTransportPolicy = 'relay';\r\n\r\n } else {\r\n\r\n // last priority using default ice servers.\r\n peerConnectionConfig = defaultConnectionConfig;\r\n }\r\n\r\n OvenPlayerConsole.log(\"Main Peer Connection Config : \", peerConnectionConfig);\r\n\r\n let peerConnection = null;\r\n\r\n try {\r\n\r\n peerConnection = new RTCPeerConnection(peerConnectionConfig);\r\n provider.trigger(PEER_CONNECTION_PREPARED, peerConnection);\r\n\r\n } catch (error) {\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_INTERNAL_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n return;\r\n }\r\n\r\n mainPeerConnectionInfo = {\r\n id: id,\r\n peerId: peerId,\r\n peerConnection: peerConnection\r\n };\r\n\r\n //Set remote description when I received sdp from server.\r\n peerConnection.setRemoteDescription(new RTCSessionDescription(sdp)).then(function () {\r\n\r\n peerConnection.createAnswer().then(function (desc) {\r\n\r\n const opusFormatNumber = getOpusFormatNumber(sdp.sdp);\r\n\r\n if (opusFormatNumber > -1) {\r\n\r\n if (checkOpusIsStereo(sdp.sdp, opusFormatNumber)) {\r\n\r\n //If offer has opus and if it is stereo, munge local sdp to force stereo=1\r\n //Thanks to community https://github.com/AirenSoft/OvenMediaEngine/issues/203\r\n desc.sdp = mungeSdpForceStereoOpus(desc.sdp, opusFormatNumber);\r\n }\r\n }\r\n\r\n OvenPlayerConsole.log('Local SDP', desc);\r\n\r\n sendMessage(ws, {\r\n id: id,\r\n peer_id: peerId,\r\n command: 'answer',\r\n sdp: desc\r\n });\r\n\r\n OvenPlayerConsole.log(\"create Host Answer : success\");\r\n\r\n peerConnection.setLocalDescription(desc).then(function () {\r\n\r\n\r\n }).catch(function (error) {\r\n\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n });\r\n }).catch(function (error) {\r\n\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_CREATE_ANSWER_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n });\r\n }).catch(function (error) {\r\n\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n });\r\n\r\n if (candidates) {\r\n\r\n addIceCandidate(peerConnection, candidates);\r\n }\r\n\r\n peerConnection.onicecandidate = function (e) {\r\n\r\n if (e.candidate) {\r\n\r\n OvenPlayerConsole.log(\"WebRTCLoader send candidate to server : \", e.candidate);\r\n\r\n // console.log('Main Peer Connection candidate', e.candidate);\r\n sendMessage(ws, {\r\n id: id,\r\n peer_id: peerId,\r\n command: \"candidate\",\r\n candidates: [e.candidate]\r\n });\r\n }\r\n };\r\n\r\n peerConnection.onconnectionstatechange = function (e) {\r\n //ConnectionState\r\n OvenPlayerConsole.log(\"[on connection state change]\", peerConnection.connectionState, e);\r\n\r\n // firefox and opera do not support onconnectionstatechange (Jan 07, 2021)\r\n // double check with oniceconnectionstatechange\r\n if (peerConnection.connectionState === 'connected') {\r\n\r\n if (connectedCallback) {\r\n connectedCallback();\r\n }\r\n }\r\n };\r\n\r\n peerConnection.onicecandidateerror = function (e) {\r\n\r\n };\r\n\r\n peerConnection.onicegatheringstatechange = function (e) {\r\n\r\n };\r\n\r\n peerConnection.oniceconnectionstatechange = function (e) {\r\n OvenPlayerConsole.log(\"[on ice connection state change]\", peerConnection.iceConnectionState, e);\r\n\r\n if (peerConnection.iceConnectionState === 'connected') {\r\n\r\n if (connectedCallback) {\r\n connectedCallback();\r\n }\r\n }\r\n /*\r\n * https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/iceConnectionState\r\n * Checks to ensure that components are still connected failed for at least one component of the RTCPeerConnection. This is a less stringent test than \"failed\" and may trigger intermittently and resolve just as spontaneously on less reliable networks, or during temporary disconnections. When the problem resolves, the connection may return to the \"connected\" state.\r\n * */\r\n //This process is my imagination. I do not know how to reproduce.\r\n //Situation : OME is dead but ome can't send 'stop' message.\r\n if (peerConnection.iceConnectionState === 'disconnected' || peerConnection.iceConnectionState === 'closed') {\r\n if (!wsClosedByPlayer) {\r\n if (mainPeerConnectionInfo) {\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_UNEXPECTED_DISCONNECT];\r\n closePeer(tempError);\r\n }\r\n }\r\n }\r\n };\r\n\r\n peerConnection.ontrack = function (e) {\r\n\r\n OvenPlayerConsole.log(\"stream received.\");\r\n\r\n OvenPlayerConsole.log('Recovery On Packet Loss :', recoverPacketLoss);\r\n\r\n if (recoverPacketLoss) {\r\n extractLossPacketsOnNetworkStatus(mainPeerConnectionInfo);\r\n }\r\n\r\n mainStream = e.streams[0];\r\n loadCallback(e.streams[0]);\r\n\r\n if (playerConfig.getConfig().webrtcConfig && playerConfig.getConfig().webrtcConfig.playoutDelayHint) {\r\n\r\n let hint = playerConfig.getConfig().webrtcConfig.playoutDelayHint;\r\n\r\n const receivers = mainPeerConnectionInfo.peerConnection.getReceivers();\r\n\r\n for (let i = 0; i < receivers.length; i++) {\r\n\r\n let receiver = receivers[i];\r\n\r\n if (receiver.track.kind === 'audio') {\r\n\r\n receiver.playoutDelayHint = hint;\r\n receiver.jitterBufferDelayHint = hint;\r\n } else {\r\n\r\n receiver.playoutDelayHint = hint;\r\n }\r\n\r\n OvenPlayerConsole.log(\"WebRTC playoutDelayHint\", receiver, hint);\r\n }\r\n\r\n }\r\n };\r\n }\r\n\r\n function createClientPeerConnection(hostId, clientId) {\r\n\r\n if (!mainStream) {\r\n\r\n setTimeout(function () {\r\n\r\n createClientPeerConnection(hostId, clientId);\r\n }, 100);\r\n\r\n return;\r\n }\r\n\r\n let peerConnection = new RTCPeerConnection(defaultConnectionConfig);\r\n\r\n clientPeerConnections[clientId] = {\r\n id: clientId,\r\n peerId: hostId,\r\n peerConnection: peerConnection\r\n };\r\n\r\n peerConnection.addStream(mainStream);\r\n\r\n // let offerOption = {\r\n // offerToReceiveAudio: 1,\r\n // offerToReceiveVideo: 1\r\n // };\r\n\r\n peerConnection.createOffer(setLocalAndSendMessage, handleCreateOfferError, {});\r\n\r\n function setLocalAndSendMessage(sessionDescription) {\r\n peerConnection.setLocalDescription(sessionDescription);\r\n\r\n sendMessage(ws, {\r\n id: hostId,\r\n peer_id: clientId,\r\n sdp: sessionDescription,\r\n command: 'offer_p2p'\r\n });\r\n }\r\n\r\n function handleCreateOfferError(event) {\r\n\r\n }\r\n\r\n peerConnection.onicecandidate = function (e) {\r\n if (e.candidate) {\r\n OvenPlayerConsole.log(\"WebRTCLoader send candidate to server : \" + e.candidate);\r\n\r\n\r\n // console.log('Client Peer Connection candidate', e.candidate);\r\n\r\n sendMessage(ws, {\r\n id: hostId,\r\n peer_id: clientId,\r\n command: \"candidate_p2p\",\r\n candidates: [e.candidate]\r\n });\r\n\r\n }\r\n };\r\n }\r\n\r\n function generateDomainFromUrl(url) {\r\n let result = '';\r\n let match;\r\n if (match = url.match(/^(?:wss?:\\/\\/)?(?:[^@\\n]+@)?(?:www\\.)?([^:\\/\\n\\?\\=]+)/im)) {\r\n result = match[1];\r\n }\r\n\r\n return result;\r\n }\r\n\r\n function findIp(string) {\r\n\r\n let result = '';\r\n let match;\r\n\r\n if (match = string.match(new RegExp(\"\\\\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\b\", 'gi'))) {\r\n result = match[0];\r\n }\r\n\r\n return result;\r\n }\r\n\r\n function copyCandidate(basicCandidate) {\r\n\r\n let cloneCandidate = _.clone(basicCandidate);\r\n\r\n let newDomain = generateDomainFromUrl(webSocketUrl);\r\n let ip = findIp(cloneCandidate.candidate);\r\n\r\n return new Promise(function (resolve, reject) {\r\n\r\n if (ip === '' || ip === newDomain) {\r\n\r\n resolve(null);\r\n }\r\n\r\n // firefox browser throws a candidate parsing exception when a domain name is set at the address property. So we resolve the dns using google dns resolve api.\r\n if (currentBrowser.browser === 'Firefox' && !findIp(newDomain)) {\r\n\r\n resolve(null);\r\n\r\n } else {\r\n\r\n cloneCandidate.candidate = cloneCandidate.candidate.replace(ip, newDomain);\r\n resolve(cloneCandidate);\r\n }\r\n\r\n });\r\n }\r\n\r\n function addIceCandidate(peerConnection, candidates) {\r\n\r\n for (let i = 0; i < candidates.length; i++) {\r\n if (candidates[i] && candidates[i].candidate) {\r\n\r\n let basicCandidate = candidates[i];\r\n\r\n peerConnection.addIceCandidate(new RTCIceCandidate(basicCandidate)).then(function () {\r\n OvenPlayerConsole.log(\"addIceCandidate : success\");\r\n }).catch(function (error) {\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n });\r\n\r\n if (generatePublicCandidate) {\r\n\r\n let cloneCandidatePromise = copyCandidate(basicCandidate);\r\n\r\n if (cloneCandidatePromise) {\r\n cloneCandidatePromise.then(function (cloneCandidate) {\r\n\r\n if (cloneCandidate) {\r\n\r\n peerConnection.addIceCandidate(new RTCIceCandidate(cloneCandidate)).then(function () {\r\n OvenPlayerConsole.log(\"cloned addIceCandidate : success\");\r\n\r\n }).catch(function (error) {\r\n\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n function initWebSocket() {\r\n\r\n try {\r\n\r\n ws = new WebSocket(webSocketUrl);\r\n\r\n ws.onopen = function () {\r\n\r\n wsConnected = true;\r\n\r\n sendMessage(ws, {\r\n command: \"request_offer\"\r\n });\r\n };\r\n\r\n ws.onmessage = function (e) {\r\n\r\n const message = JSON.parse(e.data);\r\n\r\n if (message.error) {\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_WS_ERROR];\r\n tempError.error = message.error;\r\n closePeer(tempError);\r\n return;\r\n }\r\n\r\n if (Object.keys(message).length === 0 && message.constructor === Object) {\r\n\r\n OvenPlayerConsole.log('Empty Message');\r\n return;\r\n }\r\n\r\n if (message.command === 'ping') {\r\n\r\n sendMessage(ws, {command: 'pong'});\r\n return;\r\n }\r\n\r\n if (message.command === 'offer') {\r\n\r\n let iceServers = message.iceServers || message.ice_servers;\r\n\r\n createMainPeerConnection(message.id, message.peer_id, message.sdp, message.candidates, iceServers);\r\n if (message.peer_id === 0) {\r\n provider.trigger(OME_P2P_MODE, false);\r\n } else {\r\n provider.trigger(OME_P2P_MODE, true);\r\n }\r\n }\r\n\r\n if (message.command === 'request_offer_p2p') {\r\n\r\n createClientPeerConnection(message.id, message.peer_id);\r\n }\r\n\r\n if (message.command === 'answer_p2p') {\r\n\r\n let peerConnection1 = getPeerConnectionById(message.peer_id);\r\n\r\n peerConnection1.setRemoteDescription(new RTCSessionDescription(message.sdp))\r\n .then(function (desc) {\r\n\r\n })\r\n .catch(function (error) {\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR];\r\n tempError.error = error;\r\n closePeer(tempError);\r\n });\r\n }\r\n\r\n if (message.command === 'candidate') {\r\n\r\n // Candidates for new client peer\r\n let peerConnection2 = getPeerConnectionById(message.id);\r\n\r\n addIceCandidate(peerConnection2, message.candidates);\r\n }\r\n\r\n if (message.command === 'candidate_p2p') {\r\n\r\n // Candidates for new client peer\r\n let peerConnection3 = getPeerConnectionById(message.peer_id);\r\n\r\n addIceCandidate(peerConnection3, message.candidates);\r\n }\r\n\r\n if (message.command === 'notification') {\r\n\r\n if (message.type === 'playlist') {\r\n\r\n const renditions = message.message.renditions;\r\n playlistFromOme = message.message;\r\n\r\n for (let i = 0; i < renditions.length; i++) {\r\n\r\n let rendition = renditions[i];\r\n\r\n spec.qualityLevels.push({\r\n bitrate: rendition.video_track.video.bitrate,\r\n height: rendition.video_track.video.height,\r\n width: rendition.video_track.video.width,\r\n index: i,\r\n label: rendition.name\r\n });\r\n }\r\n\r\n spec.currentQuality = 0;\r\n autoQuality = message.message.auto;\r\n }\r\n\r\n if (message.type === 'rendition_changed') {\r\n\r\n const rendition = message.message;\r\n\r\n if (message.auto) {\r\n autoQuality = message.auto;\r\n }\r\n\r\n let qualityIndex = -1;\r\n\r\n for (let i = 0; i < playlistFromOme.renditions.length; i ++) {\r\n\r\n if (rendition.rendition_name === playlistFromOme.renditions[i].name) {\r\n qualityIndex = i;\r\n spec.currentQuality = i;\r\n break;\r\n }\r\n }\r\n\r\n provider.trigger(CONTENT_LEVEL_CHANGED, {\r\n isAuto: autoQuality,\r\n currentQuality: qualityIndex,\r\n type: \"render\"\r\n });\r\n }\r\n }\r\n\r\n if (message.command === 'stop') {\r\n\r\n if (mainPeerConnectionInfo.peerId === message.peer_id) {\r\n\r\n //My parent was dead. And then I will retry.\r\n\r\n // close connection with host and retry\r\n // console.log('close connection with host');\r\n\r\n mainStream = null;\r\n mainPeerConnectionInfo.peerConnection.close();\r\n mainPeerConnectionInfo = null;\r\n\r\n //resetCallback();\r\n provider.pause();\r\n\r\n sendMessage(ws, {\r\n command: 'request_offer'\r\n });\r\n\r\n } else {\r\n\r\n // close connection with client\r\n if (clientPeerConnections[message.peer_id]) {\r\n // console.log('close connection with client: ', message.peer_id);\r\n clientPeerConnections[message.peer_id].peerConnection.close();\r\n delete clientPeerConnections[message.peer_id];\r\n }\r\n }\r\n }\r\n };\r\n ws.onclose = function (e) {\r\n\r\n if (!wsClosedByPlayer) {\r\n\r\n if (connectedCallback) {\r\n if (!wsConnected) {\r\n\r\n // If the websocket is closed while there is no connection,\r\n // it is judged as a timeout.\r\n closePeer();\r\n return;\r\n }\r\n }\r\n\r\n let tempError = ERRORS.codes[PLAYER_WEBRTC_WS_ERROR];\r\n\r\n if (mainPeerConnectionInfo) {\r\n tempError = ERRORS.codes[PLAYER_WEBRTC_UNEXPECTED_DISCONNECT];\r\n }\r\n\r\n closePeer(tempError);\r\n }\r\n };\r\n\r\n ws.onerror = function (error) {\r\n\r\n };\r\n\r\n } catch (error) {\r\n\r\n closePeer(error);\r\n }\r\n }\r\n\r\n function initialize() {\r\n\r\n OvenPlayerConsole.log(\"WebRTCLoader connecting...\");\r\n OvenPlayerConsole.log(\"WebRTCLoader url : \" + webSocketUrl);\r\n\r\n initWebSocket();\r\n }\r\n\r\n function closePeer(error) {\r\n\r\n OvenPlayerConsole.log('WebRTC Loader closePeer()');\r\n\r\n if (!error) {\r\n wsClosedByPlayer = true;\r\n }\r\n\r\n if (mainPeerConnectionInfo) {\r\n\r\n if (mainPeerConnectionInfo.statisticsTimer) {\r\n clearTimeout(mainPeerConnectionInfo.statisticsTimer);\r\n }\r\n\r\n mainStream = null;\r\n\r\n OvenPlayerConsole.log('Closing main peer connection...');\r\n if (statisticsTimer) {\r\n clearTimeout(statisticsTimer);\r\n }\r\n\r\n if (mainPeerConnectionInfo.peerConnection) {\r\n\r\n mainPeerConnectionInfo.peerConnection.close();\r\n }\r\n\r\n mainPeerConnectionInfo.peerConnection = null;\r\n provider.trigger(PEER_CONNECTION_DESTROYED);\r\n mainPeerConnectionInfo = null;\r\n }\r\n\r\n if (Object.keys(clientPeerConnections).length > 0) {\r\n\r\n for (let clientId in clientPeerConnections) {\r\n\r\n let clientPeerConnection = clientPeerConnections[clientId].peerConnection;\r\n\r\n if (clientPeerConnection) {\r\n OvenPlayerConsole.log('Closing client peer connection...');\r\n clientPeerConnection.close();\r\n clientPeerConnection = null;\r\n }\r\n }\r\n\r\n clientPeerConnections = {};\r\n }\r\n\r\n if (ws) {\r\n OvenPlayerConsole.log('Closing websocket connection...');\r\n OvenPlayerConsole.log(\"Send Signaling : Stop.\");\r\n /*\r\n 0 (CONNECTING)\r\n 1 (OPEN)\r\n 2 (CLOSING)\r\n 3 (CLOSED)\r\n */\r\n if (ws.readyState === 1) {\r\n\r\n wsClosedByPlayer = true;\r\n\r\n if (mainPeerConnectionInfo) {\r\n sendMessage(ws, {\r\n command: 'stop',\r\n id: mainPeerConnectionInfo.id\r\n });\r\n }\r\n\r\n ws.close();\r\n }\r\n\r\n } else {\r\n wsClosedByPlayer = false;\r\n }\r\n\r\n ws = null;\r\n\r\n if (error) {\r\n\r\n if (internalErrorCallback) {\r\n internalErrorCallback(error);\r\n }\r\n\r\n errorTrigger(error, provider);\r\n }\r\n }\r\n\r\n function sendMessage(ws, message) {\r\n\r\n if (ws) {\r\n ws.send(JSON.stringify(message));\r\n }\r\n\r\n }\r\n\r\n provider.setCurrentQuality = (qualityIndex) => {\r\n\r\n if (!playlistFromOme) {\r\n return -1;\r\n }\r\n\r\n let rendition = playlistFromOme.renditions[qualityIndex];\r\n\r\n if (!rendition) {\r\n return spec.currentQuality;\r\n }\r\n\r\n sendMessage(ws, {\r\n command: 'change_rendition',\r\n id: mainPeerConnectionInfo.id,\r\n rendition_name: rendition.name,\r\n auto: false\r\n });\r\n\r\n autoQuality = false;\r\n\r\n spec.currentQuality = qualityIndex;\r\n return spec.currentQuality;\r\n };\r\n\r\n provider.isAutoQuality = () => {\r\n\r\n return autoQuality;\r\n };\r\n\r\n provider.setAutoQuality = (auto) => {\r\n\r\n sendMessage(ws, {\r\n command: 'change_rendition',\r\n id: mainPeerConnectionInfo.id,\r\n auto: auto\r\n });\r\n autoQuality = auto;\r\n };\r\n\r\n that.connect = () => {\r\n\r\n initialize();\r\n };\r\n\r\n that.destroy = () => {\r\n\r\n wsClosedByPlayer = true;\r\n closePeer();\r\n\r\n window.onbeforeunload = existingHandler;\r\n existingHandler = null;\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default WebRTCLoader;\r\n","/**\r\n * Created by hoho on 2018. 6. 11..\r\n */\r\nimport Provider from \"api/provider/html5/Provider\";\r\nimport WebRTCLoader from \"api/provider/html5/providers/WebRTCLoader\";\r\nimport {isWebRTC} from \"utils/validator\";\r\nimport {errorTrigger} from \"api/provider/utils\";\r\nimport {PROVIDER_WEBRTC, ERROR, PLAYER_STATE, STATE_IDLE, STATE_LOADING} from \"api/constants\";\r\nimport {ERRORS, PLAYER_WEBRTC_TIMEOUT} from \"../../../constants\";\r\n\r\n/**\r\n * @brief webrtc provider extended core.\r\n * @param container player element.\r\n * @param playerConfig config.\r\n * */\r\n\r\nconst WebRTC = function (element, playerConfig, adTagUrl) {\r\n let that = {};\r\n let webrtcLoader = null;\r\n let superDestroy_func = null;\r\n let superPlay_func = null;\r\n\r\n let sourceFile = null;\r\n\r\n let audioCtx = null;\r\n\r\n let spec = {\r\n name: PROVIDER_WEBRTC,\r\n element: element,\r\n mse: null,\r\n listener: null,\r\n isLoaded: false,\r\n canSeek: false,\r\n isLive: false,\r\n seeking: false,\r\n state: STATE_IDLE,\r\n buffer: 0,\r\n framerate: 0,\r\n currentQuality: -1,\r\n currentSource: -1,\r\n qualityLevels: [],\r\n sources: [],\r\n adTagUrl: adTagUrl\r\n };\r\n\r\n let connectionTimeout = 10000;\r\n let timeoutMaxRetry = 0;\r\n let connectionCheckTimer = null;\r\n let connected = false;\r\n let connectionStartTime = null;\r\n let connectedTime = null;\r\n\r\n const device = () => {\r\n return {\r\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),\r\n iOS: /iPhone|iPad|iPod/i.test(navigator.userAgent)\r\n }\r\n };\r\n\r\n const unlockAudio = (audioCtx) => {\r\n let currentDevice = device();\r\n let called = false;\r\n if (currentDevice.isMobile && audioCtx.state === 'suspended') {\r\n\r\n document.addEventListener('touchend', () => {\r\n if (!called && audioCtx.state !== 'running') {\r\n audioCtx.resume();\r\n called = true\r\n }\r\n })\r\n }\r\n };\r\n\r\n function loadWebRTCLoader() {\r\n\r\n if (isWebRTC(sourceFile.file, sourceFile.type)) {\r\n\r\n clearTimeout(connectionCheckTimer);\r\n\r\n OvenPlayerConsole.log(\"WEBRTC : onBeforeLoad : \", sourceFile);\r\n\r\n if (webrtcLoader) {\r\n webrtcLoader.destroy();\r\n webrtcLoader = null;\r\n }\r\n\r\n const loadCallback = function (stream) {\r\n\r\n if (element.srcObject) {\r\n element.srcObject = null;\r\n }\r\n\r\n if (audioCtx) {\r\n audioCtx.close();\r\n audioCtx = null;\r\n }\r\n\r\n element.srcObject = stream;\r\n\r\n if (stream.getAudioTracks().length > 0) {\r\n\r\n // Add some weird code to avoid the audio delay bug in Safari.\r\n // We don't even know why this code solves the audio delay.\r\n const AudioContext = window.AudioContext || window.webkitAudioContext;\r\n\r\n // This code resolves audio delay in MacOS not IOS.\r\n audioCtx = new AudioContext();\r\n unlockAudio(audioCtx);\r\n\r\n\r\n // This code resolves audio delay in IOS.\r\n audioCtx.createMediaStreamSource(stream);\r\n }\r\n\r\n };\r\n\r\n let internalErrorCallback = null;\r\n let connectedCallback = null;\r\n\r\n // add callback to check time out\r\n if (timeoutMaxRetry > 0) {\r\n\r\n internalErrorCallback = function () {\r\n\r\n clearTimeout(connectionCheckTimer);\r\n };\r\n\r\n connectedCallback = function () {\r\n\r\n clearTimeout(connectionCheckTimer);\r\n connectedTime = performance.now();\r\n connected = true;\r\n };\r\n }\r\n\r\n webrtcLoader = WebRTCLoader(\r\n that,\r\n sourceFile.file,\r\n loadCallback,\r\n connectedCallback,\r\n internalErrorCallback,\r\n errorTrigger,\r\n playerConfig,\r\n spec\r\n );\r\n\r\n connectionStartTime = performance.now();\r\n webrtcLoader.connect();\r\n\r\n // add connection time out checker\r\n if (timeoutMaxRetry > 0) {\r\n\r\n that.once(PLAYER_STATE, function (e) {\r\n\r\n if (!connected) {\r\n if (e.newstate === STATE_IDLE) {\r\n\r\n clearTimeout(connectionCheckTimer);\r\n destroyWebRtcLoader();\r\n }\r\n }\r\n });\r\n\r\n that.once(ERROR, function () {\r\n\r\n connected = false;\r\n });\r\n\r\n connectionCheckTimer = setTimeout(function () {\r\n\r\n if (timeoutMaxRetry > 0) {\r\n if (!connected) {\r\n\r\n destroyWebRtcLoader();\r\n loadWebRTCLoader();\r\n }\r\n } else {\r\n destroyWebRtcLoader();\r\n let error = ERRORS.codes[PLAYER_WEBRTC_TIMEOUT];\r\n errorTrigger(error, that);\r\n }\r\n\r\n timeoutMaxRetry--;\r\n\r\n }, connectionTimeout);\r\n }\r\n }\r\n }\r\n\r\n function destroyWebRtcLoader() {\r\n\r\n if (webrtcLoader) {\r\n webrtcLoader.destroy();\r\n webrtcLoader = null;\r\n element.srcObject = null;\r\n }\r\n }\r\n\r\n that = Provider(spec, playerConfig, function (source) {\r\n\r\n const config = playerConfig.getConfig();\r\n\r\n if (config.webrtcConfig) {\r\n\r\n if (typeof config.webrtcConfig.connectionTimeout === 'number'\r\n && config.webrtcConfig.connectionTimeout > 0) {\r\n\r\n connectionTimeout = config.webrtcConfig.connectionTimeout;\r\n }\r\n\r\n if (typeof config.webrtcConfig.timeoutMaxRetry === 'number'\r\n && config.webrtcConfig.timeoutMaxRetry > 0) {\r\n\r\n timeoutMaxRetry = config.webrtcConfig.timeoutMaxRetry;\r\n }\r\n }\r\n\r\n sourceFile = source;\r\n loadWebRTCLoader();\r\n });\r\n\r\n superDestroy_func = that.super('destroy');\r\n superPlay_func = that.super('play');\r\n\r\n OvenPlayerConsole.log(\"WEBRTC PROVIDER LOADED.\");\r\n\r\n that.removeStream = () => {\r\n element.srcObject = null;\r\n };\r\n\r\n\r\n that.destroy = () => {\r\n\r\n clearTimeout(connectionCheckTimer);\r\n\r\n destroyWebRtcLoader();\r\n\r\n OvenPlayerConsole.log(\"WEBRTC : PROVIDER DESTROYED.\");\r\n\r\n superDestroy_func();\r\n\r\n };\r\n\r\n that.play = () => {\r\n\r\n if (timeoutMaxRetry > 0 && !connected) {\r\n\r\n loadWebRTCLoader();\r\n }\r\n\r\n superPlay_func();\r\n };\r\n\r\n return that;\r\n};\r\n\r\n\r\nexport default WebRTC;\r\n","/**\r\n * Created by hoho on 2018. 11. 14..\r\n */\r\n\r\nconst sizeHumanizer = function (bytes, si, postpix) {\r\n let thresh = si ? 1000 : 1024;\r\n if(Math.abs(bytes) < thresh) {\r\n return bytes + ' B';\r\n }\r\n let unit = postpix||\"B\";\r\n let units = ['k'+unit,'M'+unit,'G'+unit,'T'+unit,'P'+unit,'E'+unit,'Z'+unit,'Y'+unit];\r\n // ? ['kB','MB','GB','TB','PB','EB','ZB','YB']: ['KiB','MiB','GiB','TiB','PiB','EiB','ZiB','YiB'];\r\n let u = -1;\r\n do {\r\n bytes /= thresh;\r\n ++u;\r\n } while(Math.abs(bytes) >= thresh && u < units.length - 1);\r\n return bytes.toFixed(1)+units[u];\r\n}\r\n\r\nexport default sizeHumanizer;","/**\r\n * Created by hoho on 2018. 6. 14..\r\n */\r\nimport Provider from \"api/provider/html5/Provider\";\r\nimport {errorTrigger} from \"api/provider/utils\";\r\nimport sizeHumanizer from \"utils/sizeHumanizer\";\r\nimport {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n INIT_DASH_UNSUPPORT,\r\n INIT_DASH_FAIL,\r\n ERRORS,\r\n PLAYER_UNKNWON_NETWORK_ERROR,\r\n CONTENT_LEVEL_CHANGED,\r\n PROVIDER_DASH,\r\n DASH_PREPARED,\r\n DASH_DESTROYED\r\n} from \"api/constants\";\r\nimport _ from \"utils/underscore\";\r\nimport {STATE_LOADING} from \"../../../constants\";\r\n\r\n/**\r\n * @brief dashjs provider extended core.\r\n * @param container player element.\r\n * @param playerConfig config.\r\n * */\r\nconst DASHERROR = {\r\n DOWNLOAD: \"download\",\r\n MANIFESTERROR: \"manifestError\"\r\n};\r\nconst Dash = function (element, playerConfig, adTagUrl) {\r\n\r\n let that = {};\r\n let dash = null;\r\n let superPlay_func = null;\r\n let superDestroy_func = null;\r\n let seekPosition_sec = 0;\r\n let prevLLLiveDuration = null;\r\n let loadRetryer = null;\r\n let sourceOfFile = \"\";\r\n\r\n try {\r\n\r\n if (dashjs.Version < \"3.0.0\") {\r\n throw ERRORS.codes[INIT_DASH_UNSUPPORT];\r\n }\r\n\r\n const coveredSetAutoSwitchQualityFor = function (isAuto) {\r\n\r\n dash.updateSettings({\r\n streaming: {\r\n abr: {\r\n autoSwitchBitrate: {\r\n video: isAuto\r\n }\r\n }\r\n }\r\n });\r\n };\r\n\r\n const coveredGetAutoSwitchQualityFor = function () {\r\n\r\n return dash.getSettings().streaming.abr.autoSwitchBitrate.video;\r\n };\r\n\r\n const liveDelayReducingCallback = function () {\r\n\r\n if (dash.duration() !== prevLLLiveDuration) {\r\n prevLLLiveDuration = dash.duration();\r\n\r\n let dvrInfo = dash.getDashMetrics().getCurrentDVRInfo();\r\n let liveDelay = playerConfig.getConfig().lowLatencyMpdLiveDelay;\r\n\r\n if (!liveDelay) {\r\n liveDelay = 3;\r\n }\r\n\r\n dash.seek(dvrInfo.range.end - dvrInfo.range.start - liveDelay)\r\n }\r\n\r\n };\r\n\r\n dash = dashjs.MediaPlayer().create();\r\n dash.initialize(element, null, false);\r\n\r\n window.op_dash = dash;\r\n\r\n let spec = {\r\n name: PROVIDER_DASH,\r\n element: element,\r\n mse: dash,\r\n listener: null,\r\n isLoaded: false,\r\n canSeek: false,\r\n isLive: false,\r\n seeking: false,\r\n state: STATE_IDLE,\r\n buffer: 0,\r\n framerate: 0,\r\n currentQuality: -1,\r\n currentSource: -1,\r\n qualityLevels: [],\r\n sources: [],\r\n adTagUrl: adTagUrl\r\n };\r\n\r\n that = Provider(spec, playerConfig, function (source, lastPlayPosition) {\r\n\r\n OvenPlayerConsole.log(\"DASH : Attach File : \", source, \"lastPlayPosition : \" + lastPlayPosition);\r\n\r\n coveredSetAutoSwitchQualityFor(true);\r\n sourceOfFile = source.file;\r\n\r\n // dash.off(dashjs.MediaPlayer.events.PLAYBACK_PLAYING, liveDelayReducingCallback);\r\n\r\n if (source.lowLatency === true) {\r\n\r\n prevLLLiveDuration = null;\r\n\r\n dash.updateSettings({\r\n streaming: {\r\n lowLatencyEnabled: source.lowLatency\r\n }\r\n });\r\n\r\n if (playerConfig.getConfig().lowLatencyMpdLiveDelay && typeof(playerConfig.getConfig().lowLatencyMpdLiveDelay) === 'number') {\r\n\r\n dash.updateSettings({\r\n streaming: {\r\n liveDelay: playerConfig.getConfig().lowLatencyMpdLiveDelay\r\n }\r\n });\r\n }\r\n\r\n // dash.on(dashjs.MediaPlayer.events.PLAYBACK_PLAYING, liveDelayReducingCallback);\r\n\r\n } else {\r\n\r\n dash.updateSettings({\r\n streaming: {\r\n lowLatencyEnabled: false,\r\n liveDelay: undefined\r\n }\r\n });\r\n\r\n }\r\n\r\n dash.updateSettings({\r\n debug: {\r\n logLevel: dashjs.Debug.LOG_LEVEL_NONE\r\n }\r\n });\r\n\r\n let dashConfigFromPlayerConfig = playerConfig.getConfig().dashConfig;\r\n\r\n if (dashConfigFromPlayerConfig) {\r\n dash.updateSettings(dashConfigFromPlayerConfig);\r\n }\r\n\r\n that.trigger(DASH_PREPARED, dash);\r\n\r\n dash.attachSource(sourceOfFile);\r\n\r\n seekPosition_sec = lastPlayPosition;\r\n });\r\n\r\n superPlay_func = that.super('play');\r\n superDestroy_func = that.super('destroy');\r\n OvenPlayerConsole.log(\"DASH PROVIDER LOADED.\");\r\n\r\n dash.on(dashjs.MediaPlayer.events.ERROR, function (error) {\r\n\r\n let tempError = ERRORS.codes[PLAYER_UNKNWON_NETWORK_ERROR];\r\n tempError.error = error;\r\n errorTrigger(tempError, that);\r\n });\r\n\r\n dash.on(dashjs.MediaPlayer.events.QUALITY_CHANGE_REQUESTED, function (event) {\r\n if (event && event.mediaType && event.mediaType === \"video\") {\r\n that.trigger(CONTENT_LEVEL_CHANGED, {\r\n isAuto: coveredGetAutoSwitchQualityFor(),\r\n currentQuality: spec.currentQuality,\r\n type: \"request\"\r\n });\r\n }\r\n });\r\n dash.on(dashjs.MediaPlayer.events.QUALITY_CHANGE_RENDERED, function (event) {\r\n if (event && event.mediaType && event.mediaType === \"video\") {\r\n spec.currentQuality = event.newQuality;\r\n that.trigger(CONTENT_LEVEL_CHANGED, {\r\n isAuto: coveredGetAutoSwitchQualityFor(),\r\n currentQuality: event.newQuality,\r\n type: \"render\"\r\n });\r\n }\r\n });\r\n\r\n dash.on(dashjs.MediaPlayer.events.PLAYBACK_METADATA_LOADED, function (event) {\r\n\r\n OvenPlayerConsole.log(\"DASH : PLAYBACK_METADATA_LOADED : \", dash.getQualityFor(\"video\"), dash.getBitrateInfoListFor('video'), dash.getBitrateInfoListFor('video')[dash.getQualityFor(\"video\")]);\r\n\r\n let subQualityList = dash.getBitrateInfoListFor('video');\r\n spec.currentQuality = dash.getQualityFor(\"video\");\r\n for (let i = 0; i < subQualityList.length; i++) {\r\n if (!_.findWhere(spec.qualityLevels, {bitrate: subQualityList[i].bitrate, height: subQualityList[i].height, width: subQualityList[i].width})) {\r\n spec.qualityLevels.push({\r\n bitrate: subQualityList[i].bitrate,\r\n height: subQualityList[i].height,\r\n width: subQualityList[i].width,\r\n index: subQualityList[i].qualityIndex,\r\n label: subQualityList[i].width + \"x\" + subQualityList[i].height + \", \" + sizeHumanizer(subQualityList[i].bitrate, true, \"bps\")\r\n });\r\n }\r\n }\r\n\r\n if (dash.isDynamic()) {\r\n spec.isLive = true;\r\n }\r\n\r\n if (seekPosition_sec && !spec.isLive) {\r\n dash.seek(seekPosition_sec);\r\n }\r\n\r\n });\r\n\r\n that.play = (mutedPlay) => {\r\n\r\n if (that.getState() === STATE_AD_PLAYING || that.getState() === STATE_AD_PAUSED) {\r\n\r\n } else {\r\n\r\n superPlay_func(mutedPlay);\r\n }\r\n\r\n };\r\n\r\n that.setCurrentQuality = (qualityIndex) => {\r\n if (that.getState() !== STATE_PLAYING) {\r\n that.play();\r\n }\r\n spec.currentQuality = qualityIndex;\r\n if (coveredGetAutoSwitchQualityFor()) {\r\n coveredSetAutoSwitchQualityFor(false);\r\n }\r\n dash.setQualityFor(\"video\", qualityIndex);\r\n return spec.currentQuality;\r\n };\r\n that.isAutoQuality = () => {\r\n return coveredGetAutoSwitchQualityFor();\r\n };\r\n that.setAutoQuality = (isAuto) => {\r\n coveredSetAutoSwitchQualityFor(isAuto);\r\n };\r\n that.destroy = () => {\r\n\r\n if (dash.destroy) {\r\n\r\n dash.destroy();\r\n } else {\r\n\r\n dash.reset();\r\n }\r\n\r\n dash = null;\r\n that.trigger(DASH_DESTROYED);\r\n OvenPlayerConsole.log(\"DASH : PROVIDER DESTROYED.\");\r\n superDestroy_func();\r\n };\r\n } catch (error) {\r\n\r\n if (error && error.code && error.code === INIT_DASH_UNSUPPORT) {\r\n throw error;\r\n } else {\r\n let tempError = ERRORS.codes[INIT_DASH_FAIL];\r\n tempError.error = error;\r\n throw tempError;\r\n }\r\n }\r\n\r\n return that;\r\n};\r\n\r\n\r\nexport default Dash;\r\n","/**\r\n * Created by hoho on 2018. 6. 7..\r\n */\r\nimport Provider from \"api/provider/html5/Provider\";\r\nimport { errorTrigger } from \"api/provider/utils\";\r\nimport {\r\n PROVIDER_HLS,\r\n PLAYER_STATE, STATE_IDLE, STATE_LOADING,\r\n ERRORS,\r\n INIT_HLSJS_FAIL,\r\n HLS_PREPARED,\r\n HLS_DESTROYED,\r\n PLAYER_UNKNWON_NETWORK_ERROR,\r\n PLAYER_BAD_REQUEST_ERROR,\r\n PLAYER_AUTH_FAILED_ERROR,\r\n PLAYER_NOT_ACCEPTABLE_ERROR, STATE_PLAYING, CONTENT_LEVEL_CHANGED, AUDIO_TRACK_CHANGED\r\n} from \"api/constants\";\r\n\r\nimport sizeHumanizer from \"utils/sizeHumanizer\";\r\n\r\n/**\r\n * @brief hlsjs provider extended core.\r\n * @param container player element.\r\n * @param playerConfig config.\r\n * */\r\n\r\n\r\nconst HlsProvider = function (element, playerConfig, adTagUrl) {\r\n let that = {};\r\n let hls = null;\r\n let superStop_func = null;\r\n let superDestroy_func = null;\r\n let loadRetryer = null;\r\n let isManifestLoaded = false;\r\n let firstLoaded = false;\r\n\r\n try {\r\n\r\n let hlsConfig = {\r\n debug: false\r\n };\r\n\r\n let hlsConfigFromPlayerConfig = playerConfig.getConfig().hlsConfig;\r\n\r\n if (hlsConfigFromPlayerConfig) {\r\n\r\n for (let key in hlsConfigFromPlayerConfig) {\r\n hlsConfig[key] = hlsConfigFromPlayerConfig[key];\r\n }\r\n }\r\n\r\n hls = new Hls(hlsConfig);\r\n\r\n window.op_hls = hls;\r\n\r\n hls.attachMedia(element);\r\n\r\n let spec = {\r\n name: PROVIDER_HLS,\r\n element: element,\r\n mse: hls,\r\n listener: null,\r\n isLoaded: false,\r\n canSeek: false,\r\n isLive: false,\r\n seeking: false,\r\n state: STATE_IDLE,\r\n buffer: 0,\r\n dvrWindow: 0,\r\n framerate: 0,\r\n currentQuality: -1,\r\n qualityLevels: [],\r\n currentAudioTrack: -1,\r\n audioTracks: [],\r\n currentSource: -1,\r\n sources: [],\r\n adTagUrl: adTagUrl\r\n };\r\n\r\n that = Provider(spec, playerConfig, function (source, lastPlayPosition) {\r\n\r\n OvenPlayerConsole.log(\"HLS : onExtendedLoad : \", source, \"lastPlayPosition : \" + lastPlayPosition);\r\n\r\n that.trigger(HLS_PREPARED, hls);\r\n\r\n hls.loadSource(source.file);\r\n\r\n hls.once(Hls.Events.MANIFEST_LOADED, function (event, data) {\r\n\r\n isManifestLoaded = true;\r\n\r\n for (let i = 0; i < hls.levels.length; i++) {\r\n\r\n let qualityLevel = hls.levels[i];\r\n\r\n spec.qualityLevels.push({\r\n bitrate: qualityLevel.bitrate,\r\n height: qualityLevel.height,\r\n width: qualityLevel.width,\r\n index: i,\r\n label: qualityLevel.width + \"x\" + qualityLevel.height + \", \" + sizeHumanizer(qualityLevel.bitrate, true, \"bps\")\r\n });\r\n }\r\n\r\n spec.currentQuality = hls.firstLevel;\r\n\r\n for (let i = 0; i < hls.audioTracks.length; i++) {\r\n\r\n let audioTrack = hls.audioTracks[i];\r\n\r\n spec.audioTracks.push({\r\n index: audioTrack.id,\r\n label: audioTrack.name\r\n });\r\n\r\n if (audioTrack.default === true) {\r\n spec.currentAudioTrack = audioTrack.id;\r\n }\r\n }\r\n });\r\n\r\n hls.once(Hls.Events.LEVEL_LOADED, function (event, data) {\r\n\r\n firstLoaded = true;\r\n\r\n if (loadRetryer) {\r\n clearTimeout(loadRetryer);\r\n loadRetryer = null;\r\n }\r\n\r\n if (data.details.live) {\r\n spec.isLive = true;\r\n } else {\r\n\r\n if (lastPlayPosition && lastPlayPosition >= 0) {\r\n that.seek(lastPlayPosition);\r\n }\r\n }\r\n });\r\n\r\n hls.on(Hls.Events.LEVEL_SWITCHED, function (event, data) {\r\n\r\n spec.currentQuality = data.level;\r\n\r\n that.trigger(CONTENT_LEVEL_CHANGED, {\r\n isAuto: hls.autoLevelEnabled,\r\n currentQuality: spec.currentQuality,\r\n type: \"render\"\r\n });\r\n });\r\n\r\n hls.on(Hls.Events.AUDIO_TRACK_SWITCHED , function (event, data) {\r\n\r\n spec.currentAudioTrack = data.id;\r\n that.trigger(AUDIO_TRACK_CHANGED, {\r\n currentAudioTrack: spec.currentAudioTrack\r\n });\r\n });\r\n\r\n hls.on(Hls.Events.LEVEL_UPDATED, function (event, data) {\r\n if (data && data.details) {\r\n spec.dvrWindow = data.details.totalduration;\r\n }\r\n\r\n });\r\n\r\n hls.on(Hls.Events.ERROR, function (event, data) {\r\n\r\n if (data && data.networkDetails && data.networkDetails.status === 202) {\r\n\r\n if (loadRetryer) {\r\n clearTimeout(loadRetryer);\r\n loadRetryer = null;\r\n }\r\n\r\n that.setState(STATE_LOADING);\r\n\r\n loadRetryer = setTimeout(function () {\r\n\r\n if (hls) {\r\n\r\n that.stop();\r\n hls.stopLoad();\r\n hls.loadSource(source.file);\r\n }\r\n\r\n }, 1000);\r\n\r\n return;\r\n }\r\n\r\n if (!data.fatal) {\r\n // do nothing when non fatal error. hlsjs will recover it automatically.\r\n return;\r\n }\r\n\r\n let errorType = PLAYER_UNKNWON_NETWORK_ERROR;\r\n\r\n if (data && data.networkDetails && data.networkDetails.status === 400) {\r\n errorType = PLAYER_BAD_REQUEST_ERROR;\r\n } else if (data && data.networkDetails && data.networkDetails.status === 403) {\r\n errorType = PLAYER_AUTH_FAILED_ERROR;\r\n } else if (data && data.networkDetails && data.networkDetails.status === 406) {\r\n errorType = PLAYER_NOT_ACCEPTABLE_ERROR;\r\n }\r\n\r\n let tempError = ERRORS.codes[errorType];\r\n tempError.error = data.details;\r\n errorTrigger(tempError, that);\r\n });\r\n\r\n that.on(PLAYER_STATE, function (data) {\r\n\r\n if (!firstLoaded && data.prevstate === STATE_LOADING && data.newstate === STATE_IDLE) {\r\n\r\n if (loadRetryer) {\r\n clearTimeout(loadRetryer);\r\n loadRetryer = null;\r\n }\r\n\r\n if (hls) {\r\n\r\n hls.stopLoad();\r\n }\r\n }\r\n });\r\n });\r\n\r\n that.setCurrentQuality = (qualityIndex) => {\r\n\r\n hls.currentLevel = qualityIndex;\r\n spec.currentQuality = qualityIndex;\r\n\r\n return spec.currentQuality;\r\n };\r\n\r\n that.isAutoQuality = () => {\r\n return hls.autoLevelEnabled;\r\n };\r\n\r\n that.setAutoQuality = (isAuto) => {\r\n if (isAuto) {\r\n hls.currentLevel = -1;\r\n } else {\r\n hls.currentLevel = hls.currentLevel;\r\n }\r\n };\r\n\r\n that.setCurrentAudioTrack = (audioTrackIndex) => {\r\n hls.audioTrack = audioTrackIndex;\r\n spec.currentAudioTrack = audioTrackIndex;\r\n\r\n return spec.currentAudioTrack;\r\n };\r\n\r\n that.getDuration = () => {\r\n return element.duration;\r\n }\r\n\r\n superStop_func = that.super('stop');\r\n that.stop = () => {\r\n\r\n if (loadRetryer) {\r\n\r\n clearTimeout(loadRetryer);\r\n loadRetryer = null;\r\n }\r\n\r\n if (hls) {\r\n hls.stopLoad();\r\n }\r\n\r\n superStop_func();\r\n };\r\n\r\n superDestroy_func = that.super('destroy');\r\n that.destroy = () => {\r\n\r\n if (loadRetryer) {\r\n\r\n clearTimeout(loadRetryer);\r\n loadRetryer = null;\r\n }\r\n\r\n if (hls) {\r\n\r\n hls.destroy();\r\n that.trigger(HLS_DESTROYED);\r\n }\r\n\r\n hls = null;\r\n OvenPlayerConsole.log(\"HLS : PROVIDER DESTROYED.\");\r\n superDestroy_func();\r\n };\r\n\r\n OvenPlayerConsole.log(\"HLS PROVIDER LOADED.\");\r\n } catch (error) {\r\n let tempError = ERRORS.codes[INIT_HLSJS_FAIL];\r\n tempError.error = error;\r\n throw tempError;\r\n }\r\n\r\n return that;\r\n};\r\n\r\n\r\nexport default HlsProvider;","import OvenPlayerSDK from \"ovenplayer.sdk\"\r\nimport CaptionManager from \"api/caption/Manager\";\r\nimport Configurator from \"api/Configurator\";\r\nimport EventEmitter from \"api/EventEmitter\";\r\nimport MediaManager from \"api/media/Manager\";\r\nimport PlaylistManager from \"api/playlist/Manager\";\r\nimport ProviderController from \"api/provider/Controller\";\r\nimport {\r\n READY,\r\n ERRORS,\r\n ERROR,\r\n CONTENT_COMPLETE,\r\n CONTENT_META,\r\n INIT_UNKNWON_ERROR,\r\n INIT_UNSUPPORT_ERROR,\r\n DESTROY,\r\n PLAYER_PLAY,\r\n NETWORK_UNSTABLED,\r\n PLAYER_WEBRTC_NETWORK_SLOW,\r\n PLAYER_WEBRTC_UNEXPECTED_DISCONNECT,\r\n PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR,\r\n PLAYER_FILE_ERROR,\r\n PROVIDER_DASH,\r\n PROVIDER_HLS,\r\n PROVIDER_WEBRTC,\r\n PROVIDER_HTML5,\r\n PROVIDER_RTMP,\r\n ALL_PLAYLIST_ENDED\r\n} from \"api/constants\";\r\n\r\nimport { ApiRtmpExpansion } from 'api/ApiExpansions';\r\nimport { analUserAgent } from \"utils/browser\";\r\nimport { pickCurrentSource } from \"api/provider/utils\";\r\nimport { version } from \"../version\";\r\nimport { CONTENT_SOURCE_CHANGED } from \"./constants\";\r\n\r\n/**\r\n * @brief This object connects UI to the provider.\r\n * @param {object} container dom element\r\n *\r\n * */\r\n\r\nconst Api = function (container) {\r\n const that = {};\r\n EventEmitter(that);\r\n\r\n OvenPlayerConsole.log(\"API loaded.\");\r\n\r\n let playlistManager = PlaylistManager(that);\r\n let providerController = ProviderController();\r\n let userAgentObject = analUserAgent();\r\n let mediaManager = MediaManager(container, userAgentObject);\r\n let currentProvider = \"\";\r\n let playerConfig = \"\";\r\n let captionManager = \"\";\r\n\r\n const runNextPlaylist = function (index) {\r\n OvenPlayerConsole.log(\"runNextPlaylist\");\r\n let nextPlaylistIndex = index; // || playlistManager.getCurrentPlaylistIndex() + 1;\r\n let playlist = playlistManager.getPlaylist();\r\n let hasNextPlaylist = playlist[nextPlaylistIndex] ? true : false;\r\n //init source index\r\n playerConfig.setSourceIndex(0);\r\n\r\n //set Golbal Volume info\r\n playerConfig.setVolume(currentProvider.getVolume());\r\n\r\n if (hasNextPlaylist) {\r\n\r\n playlistManager.setCurrentPlaylist(nextPlaylistIndex);\r\n initProvider();\r\n\r\n } else {\r\n //All Playlist Ended.\r\n that.trigger(ALL_PLAYLIST_ENDED, null);\r\n }\r\n };\r\n const initProvider = function (lastPlayPosition) {\r\n\r\n return providerController.loadProviders(playlistManager.getCurrentPlayList()).then(Providers => {\r\n\r\n if (Providers.length < 1) {\r\n throw ERRORS.codes[INIT_UNSUPPORT_ERROR];\r\n }\r\n\r\n if (currentProvider) {\r\n currentProvider.destroy();\r\n currentProvider = null;\r\n }\r\n\r\n if (captionManager) {\r\n captionManager.destroy();\r\n captionManager = null;\r\n }\r\n\r\n captionManager = CaptionManager(that, playlistManager.getCurrentPlaylistIndex());\r\n\r\n OvenPlayerConsole.log(\"API : init() captions\");\r\n\r\n let currentSourceIndex = pickCurrentSource(playlistManager.getCurrentSources(), playerConfig);\r\n let providerName = Providers[currentSourceIndex][\"name\"];\r\n OvenPlayerConsole.log(\"API : init() provider\", providerName);\r\n //Init Provider.\r\n currentProvider = Providers[currentSourceIndex].provider(\r\n mediaManager.createMedia(providerName, playerConfig),\r\n playerConfig,\r\n playlistManager.getCurrentAdTag()\r\n );\r\n\r\n if (providerName === PROVIDER_RTMP) {\r\n //If provider type is RTMP, we accepts RtmpExpansion.\r\n Object.assign(that, ApiRtmpExpansion(currentProvider));\r\n }\r\n\r\n //This passes the event created by the Provider to API.\r\n currentProvider.on(\"all\", function (name, data) {\r\n\r\n if (name === ERROR) {\r\n\r\n // Chrome >=80 on Android misses h246 in SDP when first time after web page loaded.\r\n // So wait until browser get h264 capabilities and create answer SDP.\r\n // if (userAgentObject.os === 'Android' && userAgentObject.browser === 'Chrome') {\r\n //\r\n // if (data && data.code && data.code === PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR) {\r\n //\r\n // setTimeout(function () {\r\n //\r\n // that.setCurrentSource(that.getCurrentSource());\r\n // }, webrtcRetryInterval);\r\n //\r\n // return;\r\n // }\r\n // }\r\n\r\n if (providerName === PROVIDER_WEBRTC) {\r\n currentProvider.removeStream();\r\n }\r\n\r\n if (playerConfig.getConfig().autoFallback && that.getCurrentSource() + 1 < that.getSources().length) {\r\n\r\n that.pause();\r\n that.setCurrentSource(that.getCurrentSource() + 1);\r\n\r\n return;\r\n }\r\n }\r\n\r\n if (name === CONTENT_COMPLETE) {\r\n runNextPlaylist(playlistManager.getCurrentPlaylistIndex() + 1);\r\n }\r\n\r\n if (name === CONTENT_META) {\r\n if (playerConfig.isAutoStart()) {\r\n that.play();\r\n }\r\n }\r\n\r\n that.trigger(name, data);\r\n });\r\n\r\n that.trigger(CONTENT_SOURCE_CHANGED, {\r\n currentSource: currentSourceIndex\r\n });\r\n\r\n\r\n }).then(() => {\r\n\r\n //provider's preload() have to made Promise. Cuz it overcomes 'flash loading timing problem'.\r\n currentProvider.preload(playlistManager.getCurrentSources(), lastPlayPosition).then(function () {\r\n\r\n\r\n }).catch((error) => {\r\n\r\n if (error && error.code && ERRORS.codes[error.code]) {\r\n that.trigger(ERROR, ERRORS.codes[error.code]);\r\n } else {\r\n let tempError = ERRORS.codes[INIT_UNKNWON_ERROR];\r\n tempError.error = error;\r\n that.trigger(ERROR, tempError);\r\n }\r\n });\r\n }).catch((error) => {\r\n //INIT ERROR\r\n if (error && error.code && ERRORS.codes[error.code]) {\r\n that.trigger(ERROR, ERRORS.codes[error.code]);\r\n } else {\r\n let tempError = ERRORS.codes[INIT_UNKNWON_ERROR];\r\n tempError.error = error;\r\n that.trigger(ERROR, tempError);\r\n }\r\n });\r\n };\r\n\r\n\r\n /**\r\n * init\r\n * @param {object} options player initial option value.\r\n * @returns\r\n **/\r\n that.init = (options) => {\r\n\r\n if (!options) {\r\n options = {};\r\n }\r\n\r\n options.mediaContainer = container;\r\n options.browser = userAgentObject;\r\n playerConfig = Configurator(options, that);\r\n OvenPlayerConsole.log(\"API : init()\");\r\n OvenPlayerConsole.log(\"API : init() config : \", playerConfig);\r\n\r\n //Not working : SyntaxError: \"ERRORS.codes\" is read-only\r\n ERRORS.codes = playerConfig.getSystemText().api.error;\r\n //Cool\r\n //ERRORS.codes.push(playerConfig.getSystemText());\r\n\r\n playlistManager.initPlaylist(playerConfig.getPlaylist(), playerConfig);\r\n OvenPlayerConsole.log(\"API : init() sources : \", playlistManager.getCurrentSources());\r\n\r\n initProvider();\r\n\r\n setTimeout(function () {\r\n that.trigger(READY);\r\n });\r\n };\r\n that.getProviderName = () => {\r\n if (currentProvider) {\r\n return currentProvider.getName();\r\n } else {\r\n return null;\r\n }\r\n\r\n };\r\n that.getProvider = () => {\r\n return currentProvider;\r\n };\r\n that.getMseInstance = () => {\r\n if (currentProvider) {\r\n return currentProvider.getMse();\r\n } else {\r\n return null;\r\n }\r\n\r\n };\r\n that.getConfig = () => {\r\n OvenPlayerConsole.log(\"API : getConfig()\", playerConfig.getConfig());\r\n return playerConfig.getConfig();\r\n };\r\n that.getBrowser = () => {\r\n\r\n return playerConfig.getBrowser();\r\n };\r\n that.setTimecodeMode = (isShow) => {\r\n OvenPlayerConsole.log(\"API : setTimecodeMode()\", isShow);\r\n playerConfig.setTimecodeMode(isShow);\r\n };\r\n that.isTimecodeMode = () => {\r\n OvenPlayerConsole.log(\"API : isTimecodeMode()\");\r\n return playerConfig.isTimecodeMode();\r\n };\r\n that.getFramerate = () => {\r\n OvenPlayerConsole.log(\"API : getFramerate()\");\r\n\r\n if (currentProvider) {\r\n return currentProvider.getFramerate();\r\n }\r\n\r\n };\r\n that.seekFrame = (frameCount) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : seekFrame()\", frameCount);\r\n return currentProvider.seekFrame(frameCount);\r\n };\r\n that.getDuration = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : getDuration()\", currentProvider.getDuration());\r\n return currentProvider.getDuration();\r\n };\r\n that.getDvrWindow = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : getDvrWindow()\", currentProvider.getDvrWindow());\r\n return currentProvider.getDvrWindow();\r\n };\r\n that.getPosition = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getPosition()\", currentProvider.getPosition());\r\n return currentProvider.getPosition();\r\n };\r\n that.getVolume = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getVolume()\", currentProvider.getVolume());\r\n return currentProvider.getVolume();\r\n };\r\n that.setVolume = (volume) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setVolume() \" + volume);\r\n currentProvider.setVolume(volume);\r\n };\r\n that.setMute = (state) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setMute() \" + state);\r\n return currentProvider.setMute(state);\r\n };\r\n that.getMute = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getMute() \" + currentProvider.getMute());\r\n return currentProvider.getMute();\r\n };\r\n that.load = (playlist) => {\r\n OvenPlayerConsole.log(\"API : load() \", playlist);\r\n\r\n if (playlist) {\r\n\r\n playerConfig.setSourceIndex(0);\r\n\r\n if (currentProvider) {\r\n\r\n if (currentProvider.getQualityLevels().length > 0) {\r\n currentProvider.setCurrentQuality(0);\r\n }\r\n }\r\n\r\n if ('sources' in playlist) {\r\n playerConfig.setPlaylist(playlist);\r\n } else {\r\n playerConfig.setPlaylist({\r\n sources: playlist\r\n });\r\n }\r\n\r\n playlistManager.initPlaylist(playerConfig.getPlaylist(), playerConfig);\r\n }\r\n return initProvider();\r\n\r\n };\r\n that.play = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : play() \");\r\n\r\n if (!currentProvider.metaLoaded() && !playerConfig.isAutoStart()) {\r\n that.once(CONTENT_META, function () {\r\n currentProvider.play();\r\n });\r\n } else {\r\n currentProvider.play();\r\n }\r\n };\r\n that.pause = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : pause() \");\r\n currentProvider.pause();\r\n };\r\n that.seek = (position) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : seek() \" + position);\r\n currentProvider.seek(position);\r\n };\r\n that.setPlaybackRate = (playbackRate) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setPlaybackRate() \", playbackRate);\r\n return currentProvider.setPlaybackRate(playerConfig.setPlaybackRate(playbackRate));\r\n };\r\n that.getPlaybackRate = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getPlaybackRate() \", currentProvider.getPlaybackRate());\r\n return currentProvider.getPlaybackRate();\r\n };\r\n\r\n that.getPlaylist = () => {\r\n OvenPlayerConsole.log(\"API : getPlaylist() \", playlistManager.getPlaylist());\r\n return playlistManager.getPlaylist();\r\n };\r\n that.getCurrentPlaylist = () => {\r\n OvenPlayerConsole.log(\"API : getCurrentPlaylist() \", playlistManager.getCurrentPlaylistIndex());\r\n return playlistManager.getCurrentPlaylistIndex();\r\n };\r\n that.setCurrentPlaylist = (index) => {\r\n OvenPlayerConsole.log(\"API : setCurrentPlaylist() \", index);\r\n runNextPlaylist(index);\r\n };\r\n\r\n that.getSources = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getSources() \", currentProvider.getSources());\r\n return currentProvider.getSources();\r\n };\r\n that.getCurrentSource = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getCurrentSource() \", currentProvider.getCurrentSource());\r\n return currentProvider.getCurrentSource();\r\n };\r\n that.setCurrentSource = (index) => {\r\n\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setCurrentSource() \", index);\r\n\r\n let lastPlayPosition = currentProvider.getPosition();\r\n playerConfig.setSourceIndex(index);\r\n\r\n initProvider(lastPlayPosition).then(function () {\r\n\r\n that.trigger(CONTENT_SOURCE_CHANGED, {\r\n currentSource: index\r\n });\r\n });\r\n\r\n return index;\r\n };\r\n\r\n\r\n that.getQualityLevels = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getQualityLevels() \", currentProvider.getQualityLevels());\r\n return currentProvider.getQualityLevels();\r\n };\r\n that.getCurrentQuality = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getCurrentQuality() \", currentProvider.getCurrentQuality());\r\n return currentProvider.getCurrentQuality();\r\n };\r\n that.setCurrentQuality = (qualityIndex) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setCurrentQuality() \", qualityIndex);\r\n\r\n return currentProvider.setCurrentQuality(qualityIndex);\r\n };\r\n\r\n that.getAudioTracks = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getAudioTracks() \", currentProvider.getAudioTracks());\r\n return currentProvider.getAudioTracks();\r\n };\r\n\r\n that.getCurrentAudioTrack = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : getCurrentAudioTrack() \", currentProvider.getCurrentAudioTrack());\r\n return currentProvider.getCurrentAudioTrack();\r\n };\r\n\r\n that.setCurrentAudioTrack = (audioTrackIndex) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setCurrentAudioTrack() \", audioTrackIndex);\r\n return currentProvider.setCurrentAudioTrack(audioTrackIndex);\r\n };\r\n\r\n that.isAutoQuality = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : isAutoQuality()\");\r\n return currentProvider.isAutoQuality();\r\n };\r\n that.setAutoQuality = (isAuto) => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : setAutoQuality() \", isAuto);\r\n return currentProvider.setAutoQuality(isAuto);\r\n };\r\n\r\n that.getCaptionList = () => {\r\n if (!captionManager) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : getCaptionList() \", captionManager.getCaptionList());\r\n return captionManager.getCaptionList();\r\n };\r\n that.getCurrentCaption = () => {\r\n if (!captionManager) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : getCurrentCaption() \", captionManager.getCurrentCaption());\r\n return captionManager.getCurrentCaption();\r\n };\r\n that.setCurrentCaption = (index) => {\r\n if (!captionManager) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : setCurrentCaption() \", index);\r\n captionManager.setCurrentCaption(index);\r\n };\r\n that.addCaption = (track) => {\r\n if (!captionManager) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : addCaption() \")\r\n return captionManager.addCaption(track);\r\n };\r\n that.removeCaption = (index) => {\r\n if (!captionManager) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : removeCaption() \", index)\r\n return captionManager.removeCaption(index);\r\n };\r\n\r\n that.getBuffer = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : getBuffer() \", currentProvider.getBuffer());\r\n currentProvider.getBuffer();\r\n };\r\n that.getState = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n OvenPlayerConsole.log(\"API : getState() \", currentProvider.getState());\r\n return currentProvider.getState();\r\n };\r\n that.stop = () => {\r\n if (!currentProvider) {\r\n return null;\r\n }\r\n\r\n OvenPlayerConsole.log(\"API : stop() \");\r\n currentProvider.stop();\r\n };\r\n that.remove = () => {\r\n\r\n OvenPlayerConsole.log(\"API : remove() \");\r\n\r\n if (captionManager) {\r\n captionManager.destroy();\r\n captionManager = null;\r\n }\r\n\r\n if (currentProvider) {\r\n currentProvider.destroy();\r\n currentProvider = null;\r\n }\r\n\r\n if (mediaManager) {\r\n mediaManager.destroy();\r\n mediaManager = null;\r\n }\r\n\r\n that.trigger(DESTROY);\r\n that.off();\r\n\r\n providerController = null;\r\n playlistManager = null;\r\n playerConfig = null;\r\n\r\n OvenPlayerConsole.log(\"API : remove() - currentProvider, providerController, playlistManager, playerConfig, api event destroed. \");\r\n OvenPlayerSDK.removePlayer(that);\r\n\r\n };\r\n\r\n that.getMediaElement = () => {\r\n\r\n return currentProvider.getMediaElement();\r\n };\r\n\r\n that.getVersion = () => {\r\n return version;\r\n };\r\n\r\n return that;\r\n};\r\n\r\n\r\nexport default Api;\r\n\r\n\r\n","import _ from \"utils/underscore\";\r\nimport {isRtmp, isWebRTC, isDash, isHls } from \"utils/validator\";\r\nimport {extractExtension ,trim} from \"../../utils/strings\";\r\nimport SupportChecker from \"../SupportChecker\";\r\nimport {PLAYLIST_CHANGED} from \"api/constants\";\r\n\r\n/**\r\n * @brief This manages Playlist or Sources.\r\n * @param\r\n *\r\n * */\r\nconst Manager = function(provider){\r\n const that = {};\r\n let currentPlaylistItem = [];\r\n let spec = {\r\n playlist : [],\r\n currentIndex : 0\r\n };\r\n let supportChecker = SupportChecker();\r\n\r\n OvenPlayerConsole.log(\"PlaylistManager loaded.\");\r\n\r\n const makePrettySource = function(source_){\r\n if (!source_ || !source_.file && !(source_.host || source_.application || source_.stream)) {\r\n return;\r\n }\r\n\r\n let source = Object.assign({}, { 'default': false }, source_);\r\n source.file = trim('' + source.file);\r\n\r\n if(source.host && source.application && source.stream){\r\n source.file = source.host + \"/\" + source.application + \"/stream/\" + source.stream;\r\n delete source.host;\r\n delete source.application;\r\n delete source.stream;\r\n }\r\n\r\n const mimetypeRegEx = /^[^/]+\\/(?:x-)?([^/]+)$/;\r\n\r\n if (mimetypeRegEx.test(source.type)) {\r\n // if type is given as a mimetype\r\n source.mimeType = source.type;\r\n source.type = source.type.replace(mimetypeRegEx, '$1');\r\n }\r\n\r\n if(isRtmp(source.file)){\r\n source.type = 'rtmp';\r\n }else if(isWebRTC(source.file)){\r\n source.type = 'webrtc';\r\n }else if(isHls(source.file, source.type)){\r\n source.type = 'hls';\r\n }else if(isDash(source.file, source.type)){\r\n source.type = 'dash';\r\n }else if (!source.type) {\r\n source.type = extractExtension(source.file);\r\n }\r\n\r\n if (source.lowLatency) {\r\n source.lowLatency = source.lowLatency;\r\n }\r\n\r\n if (!source.type) {\r\n return;\r\n }\r\n\r\n // normalize types\r\n switch (source.type) {\r\n case 'm3u8':\r\n case 'vnd.apple.mpegurl':\r\n source.type = 'hls';\r\n break;\r\n case 'm4a':\r\n source.type = 'aac';\r\n break;\r\n case 'smil':\r\n source.type = 'rtmp';\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n Object.keys(source).forEach(function(key) {\r\n if (source[key] === '') {\r\n delete source[key];\r\n }\r\n });\r\n\r\n return source;\r\n\r\n }\r\n\r\n that.initPlaylist =(playlist, playerConfig) =>{\r\n\r\n OvenPlayerConsole.log(\"PlaylistManager setPlaylist() \", playlist);\r\n const prettiedPlaylist = (_.isArray(playlist) ? playlist : [playlist]).map(function(item){\r\n if(!_.isArray(item.tracks)) {\r\n delete item.tracks;\r\n }\r\n let playlistItem = Object.assign({},{\r\n sources: [],\r\n tracks: [],\r\n title : \"\"\r\n }, item );\r\n\r\n if((playlistItem.sources === Object(playlistItem.sources)) && !_.isArray(playlistItem.sources)) {\r\n playlistItem.sources = [makePrettySource(playlistItem.sources)];\r\n }\r\n\r\n if (!_.isArray(playlistItem.sources) || playlistItem.sources.length === 0) {\r\n playlistItem.sources = [makePrettySource(playlistItem)];\r\n }\r\n\r\n if(!_.isArray(playlistItem.sources) || playlistItem.sources.length === 0) {\r\n if (item.levels) {\r\n playlistItem.sources = item.levels;\r\n } else {\r\n playlistItem.sources = [makePrettySource(item)];\r\n }\r\n }\r\n\r\n\r\n for(let i = 0; i < playlistItem.sources.length; i++) {\r\n let source = playlistItem.sources[i];\r\n let prettySource = \"\";\r\n if (!source) {\r\n continue;\r\n }\r\n\r\n let defaultSource = source.default;\r\n if (defaultSource) {\r\n source.default = (defaultSource.toString() === 'true');\r\n } else {\r\n source.default = false;\r\n }\r\n\r\n // If the source doesn't have a label, number it\r\n if (!playlistItem.sources[i].label) {\r\n playlistItem.sources[i].label = playlistItem.sources[i].type+\"-\"+i.toString();\r\n }\r\n\r\n prettySource = makePrettySource(playlistItem.sources[i]);\r\n if(supportChecker.findProviderNameBySource(prettySource)){\r\n playlistItem.sources[i] = prettySource;\r\n }else{\r\n playlistItem.sources[i] = null;\r\n }\r\n }\r\n\r\n playlistItem.sources = playlistItem.sources.filter(source => !!source);\r\n\r\n if(!playlistItem.title && playlistItem.sources[0] && playlistItem.sources[0].label){\r\n playlistItem.title = playlistItem.sources[0].label;\r\n }\r\n\r\n // default 가 없을때 webrtc가 있다면 webrtc default : true로 자동 설정\r\n /*let haveDefault = _.find(playlistItem.sources, function(source){return source.default == true;});\r\n let webrtcSource = [];\r\n if(!haveDefault){\r\n webrtcSource = _.find(playlistItem.sources, function(source){return source.type == \"webrtc\";});\r\n if(webrtcSource){\r\n webrtcSource.default = true;\r\n }\r\n }*/\r\n\r\n\r\n function extractOnlyOneProtocol(sources){\r\n if(!!sources){\r\n let highPriorityType = playlistItem.sources[0].type;\r\n\r\n return _.filter(sources, {type : highPriorityType});\r\n }\r\n }\r\n\r\n if(playerConfig.isCurrentProtocolOnly()){\r\n playlistItem.sources = extractOnlyOneProtocol(playlistItem.sources);\r\n }\r\n\r\n if(!_.isArray(playlistItem.tracks)){\r\n playlistItem.tracks = [];\r\n }\r\n if(_.isArray(playlistItem.captions)){\r\n playlistItem.tracks = playlistItem.tracks.concat(playlistItem.captions);\r\n delete playlistItem.captions;\r\n }\r\n\r\n playlistItem.tracks = playlistItem.tracks.map(function(track){\r\n if(!track || !track.file){\r\n return false;\r\n }\r\n return Object.assign({}, {\r\n 'kind': 'captions',\r\n 'default': false\r\n }, track);\r\n }).filter(track => !!track);\r\n return playlistItem;\r\n }).filter(function(item){return item.sources && item.sources.length > 0;})||[];\r\n spec.playlist = prettiedPlaylist;\r\n return prettiedPlaylist;\r\n };\r\n that.getPlaylist = () => {\r\n OvenPlayerConsole.log(\"PlaylistManager getPlaylist() \", spec.playlist);\r\n return spec.playlist;\r\n };\r\n that.getCurrentPlayList = () => {\r\n if(spec.playlist[spec.currentIndex]){\r\n return spec.playlist[spec.currentIndex];\r\n }else{\r\n return [];\r\n }\r\n };\r\n that.getCurrentPlaylistIndex = () => {\r\n return spec.currentIndex;\r\n };\r\n that.setCurrentPlaylist = (index) => {\r\n if(spec.playlist[index]){\r\n spec.currentIndex = index;\r\n provider.trigger(PLAYLIST_CHANGED, spec.currentIndex);\r\n }\r\n return spec.currentIndex;\r\n };\r\n that.getCurrentSources = () => {\r\n if(spec.playlist[spec.currentIndex]){\r\n OvenPlayerConsole.log(\"PlaylistManager getCurrentSources() \", spec.playlist[spec.currentIndex].sources);\r\n return spec.playlist[spec.currentIndex].sources;\r\n }else{\r\n return null;\r\n }\r\n\r\n };\r\n that.getCurrentAdTag = () => {\r\n if(spec.playlist[spec.currentIndex]){\r\n return spec.playlist[spec.currentIndex].adTagUrl || \"\";\r\n }\r\n };\r\n\r\n return that;\r\n};\r\n\r\n\r\nexport default Manager;\r\n","import SupportChecker from \"api/SupportChecker\";\r\nimport HTML5 from \"api/provider/html5/providers/Html5\";\r\nimport WebRTC from \"api/provider/html5/providers/WebRTC\";\r\nimport Dash from \"api/provider/html5/providers/Dash\";\r\nimport Hls from \"api/provider/html5/providers/Hls\";\r\n\r\nimport {\r\n PROVIDER_HTML5, PROVIDER_WEBRTC, PROVIDER_DASH, PROVIDER_HLS, PROVIDER_RTMP, ERRORS, INIT_UNSUPPORT_ERROR\r\n} from \"api/constants\";\r\n\r\n/**\r\n * @brief This manages provider.\r\n * @param\r\n * */\r\nconst Controller = function () {\r\n let supportChacker = SupportChecker();\r\n const Providers = {};\r\n\r\n const that = {};\r\n OvenPlayerConsole.log(\"ProviderController loaded.\");\r\n\r\n const registeProvider = (name, provider) => {\r\n if (Providers[name]) {\r\n return;\r\n }\r\n OvenPlayerConsole.log(\"ProviderController _registerProvider() \", name);\r\n Providers[name] = provider;\r\n };\r\n\r\n const ProviderLoader = {\r\n html5: function () {\r\n\r\n const provider = HTML5;\r\n registeProvider(PROVIDER_HTML5, provider);\r\n return {name: PROVIDER_HTML5, provider: provider};\r\n },\r\n webrtc: function () {\r\n\r\n const provider = WebRTC;\r\n registeProvider(PROVIDER_WEBRTC, provider);\r\n return {name: PROVIDER_WEBRTC, provider: provider};\r\n },\r\n dash: function () {\r\n\r\n const provider = Dash;\r\n registeProvider(PROVIDER_DASH, provider);\r\n return {name: PROVIDER_DASH, provider: provider};\r\n },\r\n hls: function () {\r\n\r\n const provider = Hls;\r\n registeProvider(PROVIDER_HLS, provider);\r\n return {name: PROVIDER_HLS, provider: provider};\r\n }\r\n };\r\n\r\n\r\n that.loadProviders = (playlistItem) => {\r\n const supportedProviderNames = supportChacker.findProviderNamesByPlaylist(playlistItem);\r\n OvenPlayerConsole.log(\"ProviderController loadProviders() \", supportedProviderNames);\r\n if (!supportedProviderNames) {\r\n return Promise.reject(ERRORS.codes[INIT_UNSUPPORT_ERROR]);\r\n } else {\r\n return Promise.all(\r\n supportedProviderNames.filter(function (providerName) {\r\n return !!ProviderLoader[providerName];\r\n }).map(function (providerName) {\r\n return ProviderLoader[providerName]();\r\n })\r\n );\r\n }\r\n\r\n };\r\n\r\n that.findByName = (name) => {\r\n OvenPlayerConsole.log(\"ProviderController findByName() \", name);\r\n return Providers[name];\r\n };\r\n\r\n that.getProviderBySource = (source) => {\r\n const supportedProviderName = supportChacker.findProviderNameBySource(source);\r\n OvenPlayerConsole.log(\"ProviderController getProviderBySource() \", supportedProviderName);\r\n return that.findByName(supportedProviderName);\r\n };\r\n\r\n that.isSameProvider = (currentSource, newSource) => {\r\n OvenPlayerConsole.log(\"ProviderController isSameProvider() \", supportChacker.findProviderNameBySource(currentSource), supportChacker.findProviderNameBySource(newSource));\r\n return supportChacker.findProviderNameBySource(currentSource) === supportChacker.findProviderNameBySource(newSource);\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default Controller;\r\n","/**\r\n * @brief 미디어 엘리먼트를 관리하는 객체. 현재는 하는 일이 많지 않다.\r\n * @param {element} container dom element\r\n *\r\n * */\r\nimport {getBrowser} from \"utils/browser\";\r\nimport {PROVIDER_DASH, PROVIDER_HLS, PROVIDER_WEBRTC, PROVIDER_HTML5, PROVIDER_RTMP} from \"api/constants\";\r\nimport LA$ from \"utils/likeA$.js\";\r\nimport {version} from 'version';\r\n\r\nconst Manager = function(container, browserInfo){\r\n const that = {};\r\n let $container = LA$(container);\r\n let videoElement = \"\";\r\n\r\n OvenPlayerConsole.log(\"MediaManager loaded. browser : \", browserInfo );\r\n\r\n const createHtmlVideo = function(isLoop, isAutoStart){\r\n\r\n videoElement = document.createElement('video');\r\n videoElement.setAttribute('preload', 'auto');\r\n videoElement.setAttribute('disableremoteplayback', '');\r\n videoElement.setAttribute('webkit-playsinline', 'true');\r\n videoElement.setAttribute('playsinline', 'true');\r\n if(isLoop){\r\n videoElement.setAttribute('loop', '');\r\n }\r\n if(isAutoStart) {\r\n videoElement.setAttribute('autoplay', '');\r\n }\r\n $container.append(videoElement);\r\n\r\n return videoElement;\r\n };\r\n\r\n that.createMedia = (providerName , playerConfig) => {\r\n // if(videoElement){\r\n // // that.empty();\r\n // //reuse video element.\r\n // //because playlist is auto next playing.\r\n // //Only same video element does not require User Interaction Error.\r\n // return videoElement;\r\n // }else{\r\n // return createHtmlVideo(playerConfig.isLoop(), playerConfig.isAutoStart());\r\n // }\r\n that.empty();\r\n return createHtmlVideo(playerConfig.isLoop(), playerConfig.isAutoStart());\r\n }\r\n\r\n that.createAdContainer = () => {\r\n let adContainer = document.createElement('div');\r\n adContainer.setAttribute('class', 'op-ads');\r\n $container.append(adContainer);\r\n\r\n return adContainer;\r\n };\r\n\r\n\r\n that.empty = () =>{\r\n OvenPlayerConsole.log(\"MediaManager removeElement()\");\r\n $container.removeChild(videoElement);\r\n videoElement = null;\r\n };\r\n\r\n that.destroy = () =>{\r\n $container.removeChild();\r\n $container = null;\r\n videoElement.src = null;\r\n videoElement.srcObject = null;\r\n videoElement = null;\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default Manager;\r\n","/**\r\n * Created by hoho on 2018. 8. 24..\r\n */\r\n\r\nexport const ApiRtmpExpansion = function(currentProvider){\r\n return {\r\n externalCallbackCreep : (result) => {\r\n if(result.name && result.data){\r\n return currentProvider.triggerEventFromExternal(result.name, result.data);\r\n }else{\r\n return null;\r\n }\r\n }\r\n };\r\n};\r\n","import _ from \"utils/underscore\";\r\n\r\nimport {\r\n CONTENT_TIME_MODE_CHANGED, SYSTEM_TEXT\r\n} from \"api/constants\";\r\n\r\n/**\r\n * @brief This initializes the input options.\r\n * @param options\r\n *\r\n * */\r\nconst Configurator = function(options, provider){\r\n\r\n const composeSourceOptions = function(options){\r\n const Defaults = {\r\n mediaContainer : \"\",\r\n playbackRates: [2, 1.5, 1, 0.5, 0.25],\r\n playbackRate: 1,\r\n mute: false,\r\n volume: 100,\r\n loop : false,\r\n controls : true,\r\n autoStart : false,\r\n autoFallback: true,\r\n timecode : true,\r\n sourceIndex : -1,\r\n browser : \"\",\r\n hidePlaylistIcon : false,\r\n rtmpBufferTime : 1,\r\n rtmpBufferTimeMax : 3,\r\n adClient : \"googleima\",\r\n currentProtocolOnly : false,\r\n systemText : null,\r\n lang : \"en\",\r\n loadingRetryCount: 0,\r\n expandFullScreenUI: true,\r\n fullscreenOption: null,\r\n showBigPlayButton: true\r\n };\r\n const serialize = function (val) {\r\n if (val === undefined) {\r\n return null;\r\n }\r\n if (typeof val === 'string' && val.length < 6) {\r\n const lowercaseVal = val.toLowerCase();\r\n if (lowercaseVal === 'true') {\r\n return true;\r\n }\r\n if (lowercaseVal === 'false') {\r\n return false;\r\n }\r\n if (!isNaN(Number(val)) && !isNaN(parseFloat(val))) {\r\n return Number(val);\r\n }\r\n }\r\n return val;\r\n }\r\n const deserialize = function (options) {\r\n Object.keys(options).forEach((key) => {\r\n if (key === 'id') {\r\n return;\r\n }\r\n options[key] = serialize(options[key]);\r\n });\r\n }\r\n\r\n deserialize(options);\r\n let config = Object.assign({}, Defaults, options);\r\n let userCustumSystemText = [];\r\n if(config.systemText){\r\n userCustumSystemText = _.isArray(config.systemText) ? config.systemText : [config.systemText];\r\n }\r\n\r\n for(let i = 0; i < userCustumSystemText.length; i ++){\r\n if(userCustumSystemText[i].lang){\r\n let currentSystemText = _.findWhere(SYSTEM_TEXT , {\"lang\": userCustumSystemText[i].lang});\r\n if(currentSystemText){\r\n //validate & update\r\n Object.assign(currentSystemText, userCustumSystemText[i]);\r\n }else{\r\n //create\r\n currentSystemText = _.findWhere(SYSTEM_TEXT , {\"lang\": \"en\"});\r\n currentSystemText.lang = userCustumSystemText[i].lang;\r\n SYSTEM_TEXT.push(Object.assign(userCustumSystemText[i], currentSystemText));\r\n }\r\n }\r\n }\r\n config.systemText = _.findWhere(SYSTEM_TEXT , {\"lang\": config.lang});\r\n\r\n let playbackRates = config.playbackRates;\r\n\r\n playbackRates = playbackRates.filter(rate => _.isNumber(rate) && rate >= 0.25 && rate <= 4).map(rate => Math.round(rate * 4) / 4);\r\n\r\n if (playbackRates.indexOf(1) < 0) {\r\n playbackRates.push(1);\r\n }\r\n playbackRates.sort();\r\n\r\n config.playbackRates = playbackRates;\r\n\r\n config.rtmpBufferTime = config.rtmpBufferTime > 10 ? 10 : config.rtmpBufferTime;\r\n config.rtmpBufferTimeMax = config.rtmpBufferTimeMax > 50 ? 50 : config.rtmpBufferTimeMax;\r\n\r\n\r\n if (config.playbackRates.indexOf(config.playbackRate) < 0) {\r\n config.playbackRate = 1;\r\n }\r\n\r\n const configPlaylist = config.playlist;\r\n if (!configPlaylist) {\r\n const obj = _.pick(config, [\r\n 'title',\r\n 'description',\r\n 'type',\r\n 'image',\r\n 'file',\r\n 'sources',\r\n 'tracks',\r\n 'host',\r\n 'application',\r\n 'stream',\r\n 'adTagUrl'\r\n ]);\r\n\r\n config.playlist = [ obj ];\r\n } else if (_.isArray(configPlaylist.playlist)) {\r\n config.feedData = configPlaylist;\r\n config.playlist = configPlaylist.playlist;\r\n }\r\n\r\n delete config.duration;\r\n return config;\r\n };\r\n OvenPlayerConsole.log(\"Configurator loaded.\", options);\r\n let spec = composeSourceOptions(options);\r\n\r\n //spec.isFullscreen = false; //IE 11 can't check current fullscreen state.\r\n\r\n const that = {};\r\n that.getConfig = () => {\r\n return spec;\r\n };\r\n that.getAdClient = () => {\r\n return spec.adClient;\r\n };\r\n that.setConfig = (config, value) => {\r\n spec[config] = value;\r\n };\r\n\r\n that.getContainer = () => {\r\n return spec.mediaContainer;\r\n };\r\n /*that.isFullscreen = () => {\r\n return spec.isFullscreen;\r\n }\r\n that.setFullscreen = (isFullscreen) => {\r\n return spec.isFullscreen = isFullscreen;\r\n }*/\r\n\r\n that.getPlaybackRate =()=>{\r\n return spec.playbackRate;\r\n };\r\n that.setPlaybackRate =(playbackRate)=>{\r\n spec.playbackRate = playbackRate;\r\n return playbackRate;\r\n };\r\n\r\n that.getQualityLabel = () => {\r\n return spec.qualityLabel;\r\n };\r\n that.setQualityLabel = (newLabel) => {\r\n spec.qualityLabel = newLabel;\r\n };\r\n\r\n that.isCurrentProtocolOnly = () => {\r\n return spec.currentProtocolOnly;\r\n };\r\n /*that.getSourceLabel = () => {\r\n return spec.sourceLabel;\r\n };\r\n that.setSourceLabel = (newLabel) => {\r\n spec.sourceLabel = newLabel;\r\n };*/\r\n\r\n that.getSourceIndex = () => {\r\n return spec.sourceIndex;\r\n };\r\n that.setSourceIndex = (index) => {\r\n spec.sourceIndex = index;\r\n };\r\n that.setTimecodeMode = (timecode) => {\r\n if(spec.timecode !== timecode){\r\n spec.timecode = timecode;\r\n provider.trigger(CONTENT_TIME_MODE_CHANGED, timecode);\r\n }\r\n };\r\n that.isTimecodeMode = () => {\r\n return spec.timecode;\r\n };\r\n that.getRtmpBufferTime = () => {\r\n return spec.rtmpBufferTime;\r\n };\r\n that.getRtmpBufferTimeMax = () => {\r\n return spec.rtmpBufferTimeMax;\r\n };\r\n that.setMute = (mute) =>{\r\n spec.mute = mute;\r\n };\r\n that.isMute = () =>{\r\n return spec.mute;\r\n };\r\n that.getVolume = () =>{\r\n return spec.volume;\r\n };\r\n that.setVolume = (volume) =>{\r\n spec.volume = volume;\r\n };\r\n that.isLoop = () =>{\r\n return spec.loop;\r\n };\r\n that.isAutoStart = () =>{\r\n return spec.autoStart;\r\n };\r\n that.isControls = () =>{\r\n return spec.controls;\r\n };\r\n\r\n that.getPlaybackRates =()=>{\r\n return spec.playbackRates;\r\n };\r\n that.getBrowser = () => {\r\n return spec.browser;\r\n };\r\n that.getSystemText = () => {\r\n return spec.systemText;\r\n };\r\n that.getLanguage = () => {\r\n return spec.lang;\r\n };\r\n\r\n that.getPlaylist =()=>{\r\n return spec.playlist;\r\n };\r\n that.setPlaylist =(playlist)=>{\r\n if(_.isArray(playlist)){\r\n spec.playlist = playlist;\r\n }else{\r\n spec.playlist = [playlist];\r\n }\r\n return spec.playlist;\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default Configurator;\r\n","import _ from \"utils/underscore\";\r\n\r\nexport default (uiText, data) => {\r\n let elements = '
' +\r\n '
' +\r\n '
' +\r\n (data.isRoot ? '' : '<') +\r\n ''+data.title+'' +\r\n '
'+\r\n '
' +\r\n '
';\r\n _.forEach(data.body, function(body){\r\n elements += settingItemTemplate(body, data.useCheck);\r\n });\r\n elements+= '
' +\r\n '
';\r\n return elements;\r\n};\r\n\r\n\r\nexport const settingItemTemplate = (data, useCheck) => {\r\n return (\r\n '
' +\r\n (useCheck?'':'' )+\r\n ''+data.title+'' +\r\n (data.hasNext?'>'+data.description+'' : '' )+\r\n '
'\r\n );\r\n};","import {naturalHms} from \"utils/strings\"\r\n\r\nexport default (uiText, playlist) => {\r\n return (`
` +\r\n `
${uiText.playlist}
` +\r\n `
` +\r\n `
` +\r\n `
`+\r\n `
`+\r\n `
` +\r\n `` +\r\n `
`+\r\n `
`+\r\n `
`);\r\n};\r\n\r\nexport const playlistItemTemplate = (data, isActive) => {\r\n return (\r\n `
` +\r\n `
${data.image ? ``:``} ${data.duration ? `${naturalHms(data.duration)}`: ``}
`+\r\n `
${data.title}
`+\r\n `
`\r\n );\r\n};","/**\r\n * Created by hoho on 2018. 7. 20..\r\n */\r\nimport TextViewTemplate from 'view/example/textviewTemplate';\r\nimport ViewTemplate from 'view/viewTemplate';\r\nimport HelpersTemplate from 'view/components/helpers/mainTemplate';\r\nimport BigButtonTemplate from 'view/components/helpers/bigButtonTemplate';\r\nimport ThumbnailTemplate from 'view/components/helpers/thumbnailTemplate';\r\nimport WaterMarkTemplate from 'view/components/helpers/waterMarkTemplate';\r\nimport MessageBoxTemplate from 'view/components/helpers/messageBoxTemplate';\r\nimport SpinnerTemplate from 'view/components/helpers/spinnerTemplate';\r\nimport ContextPanelTemplate from 'view/components/helpers/contextPanelTemplate';\r\nimport CaptionViewerTemplate from 'view/components/helpers/captionViewerTemplate';\r\n\r\n\r\nimport ControlsTemplate from 'view/components/controls/mainTemplate';\r\nimport VolumeButtonTemplate from 'view/components/controls/volumeButtonTemplate';\r\nimport ProgressBarTemplate from 'view/components/controls/progressBarTemplate';\r\nimport PlayButtonTemplate from 'view/components/controls/playButtonTemplate';\r\nimport SettingButtonTemplate from 'view/components/controls/settingButtonTemplate';\r\nimport FrameButtonsTemplate from 'view/components/controls/frameButtonsTemplate';\r\nimport TimeDisplayTemplate from 'view/components/controls/timeDisplayTemplate';\r\nimport FullScreenButtonTemplate from 'view/components/controls/fullScreenButtonTemplate';\r\nimport PanelsTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport SpeedPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport SourcePanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport QualityPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport AudioTrackPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport CaptionPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport TimeDisplayPanelTemplate from 'view/components/controls/settingPanel/mainTemplate';\r\nimport PlaylistPanelTemplate from 'view/components/controls/playlistPanelTemplate';\r\n\r\nconst Templates = {\r\n TextViewTemplate,\r\n ViewTemplate,\r\n HelpersTemplate,\r\n BigButtonTemplate,\r\n ThumbnailTemplate,\r\n WaterMarkTemplate,\r\n MessageBoxTemplate,\r\n SpinnerTemplate,\r\n ContextPanelTemplate,\r\n CaptionViewerTemplate,\r\n\r\n ControlsTemplate,\r\n VolumeButtonTemplate,\r\n ProgressBarTemplate,\r\n PlayButtonTemplate,\r\n SettingButtonTemplate,\r\n FrameButtonsTemplate,\r\n TimeDisplayTemplate,\r\n FullScreenButtonTemplate,\r\n PanelsTemplate,\r\n SpeedPanelTemplate,\r\n SourcePanelTemplate,\r\n QualityPanelTemplate,\r\n AudioTrackPanelTemplate,\r\n CaptionPanelTemplate,\r\n TimeDisplayPanelTemplate,\r\n PlaylistPanelTemplate\r\n};\r\n\r\nexport default Templates;","/**\r\n * Created by hoho on 2018. 7. 19..\r\n */\r\n\r\nconst TextViewTemplate = function(text){\r\n return `
` +\r\n `

${text}

` +\r\n `` +\r\n `
`;\r\n};\r\n\r\nexport default TextViewTemplate;","/**\r\n * Created by hoho on 2018. 7. 20..\r\n */\r\n\r\nconst ViewTemplate = function (uiText, id) {\r\n return `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
`\r\n};\r\nexport default ViewTemplate;\r\n","/**\r\n * Created by hoho on 2018. 7. 19..\r\n */\r\n\r\nconst HelpersTemplate = function(uiText, text){\r\n return `
`;\r\n};\r\n\r\nexport default HelpersTemplate;\r\n","import {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED,\r\n STATE_ERROR\r\n} from \"api/constants\";\r\n\r\n\r\nexport default (uiText, playerState) => {\r\n return (`
` +\r\n `${playerState === STATE_PLAYING ?`` :`` }`+\r\n `${playerState === STATE_PAUSED ?`` :`` }`+\r\n `${playerState === STATE_IDLE ?`` :`` }`+\r\n `${playerState === STATE_COMPLETE ?`` :`` }`+\r\n `
`);\r\n};","export default (uiText, data) => {\r\n return (`
`+\r\n `${data.title ? `
${data.title}
`:``}` +\r\n `
`);\r\n};","export default (uiText, data) => {\r\n return (`
` +\r\n `
`+\r\n `${data.waterMark.image ? ``:``}` +\r\n `${data.waterMark.text ? `${data.waterMark.text}`:``}` +\r\n `
` +\r\n `
`);\r\n};","export default (uiText, data) => {\r\n return (\r\n `
` +\r\n `
` +\r\n `
${data.message}` +\r\n `${data.description ? `
${data.description}
` : `` }`+\r\n `
` +\r\n `${data.iconClass ? `
` : `` }`+\r\n `
` +\r\n `
`\r\n );\r\n};","export default (uiText) => {\r\n return `
`;\r\n};\r\n","import {version} from \"version\";\r\nexport default (uiText) => {\r\n return (\r\n `
` +\r\n `
` +\r\n `${uiText.context} ${version}` +\r\n `
`+\r\n `
`\r\n );\r\n};","/**\r\n * Created by hoho on 22/11/2018.\r\n */\r\nexport default (uiText) => {\r\n return (\r\n `
` +\r\n `
` +\r\n `
` +\r\n        `      
` +\r\n `
`\r\n );\r\n};","\r\nconst Controls = function(uiText, hasPlaylist){\r\n return (\r\n `
`+\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
`+\r\n `
${hasPlaylist?``:``}
`+\r\n `
`+\r\n `
`+\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
`);\r\n\r\n};\r\n\r\n\r\nexport default Controls;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","/**\r\n * Created by hoho on 2018. 7. 20..\r\n */\r\nexport default (uiText) => {\r\n return (\r\n `
`+\r\n `` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
`+\r\n `
` +\r\n `
`\r\n );\r\n};\r\n","export default (uiText) => {\r\n return (\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `
` +\r\n `` +\r\n `00:00` +\r\n `
`\r\n );\r\n};\r\n","export default (uiText) => {\r\n return (\r\n `
` +\r\n `` +\r\n `` +\r\n `` +\r\n `
`\r\n );\r\n};\r\n","export default (uiText) => {\r\n return (``);\r\n};","export default (uiText) => {\r\n return (\r\n '
'+\r\n ''+\r\n ''+\r\n ''+\r\n ''+\r\n '
'\r\n );\r\n};","export default (uiText, data) => {\r\n return`
`+\r\n (data.duration === Infinity\r\n ?\r\n (\r\n `` +\r\n (data.type ===\"webrtc\"\r\n ?\r\n (data.isP2P ?\r\n `${uiText.controls.low_latency_p2p}` : `${uiText.controls.low_latency_live}`\r\n )\r\n :\r\n `${uiText.controls.live}`) +\r\n ``\r\n )\r\n :(`00:00 / 00:00`)\r\n ) +\r\n `
`;\r\n};\r\n","export default (uiText) => {\r\n return (\r\n ``\r\n );\r\n};\r\n","/**\r\n * Created by hoho on 2018. 7. 19..\r\n */\r\n\r\nimport Templates from \"view/engine/Templates\";\r\nimport LA$ from 'utils/likeA$';\r\nimport _ from \"utils/underscore\";\r\n\r\n/**\r\n * @brief This is simple ui renderer. This returns onRendered callback, onDestroyed callback on Template. And this bind events for Templates.\r\n * @param container dom element or LA$ object\r\n * @param templateName templateName\r\n * @param data preload data\r\n * @param events Template's events.\r\n * @param onRendered This callback occurs after append template.\r\n * @param onDestroyed This callback occurs after destroyed template.\r\n * @param isRoot\r\n *\r\n * */\r\nconst OvenTemplate = function (container, templateName, playerConfig, data, events, onRendered, onDestroyed, isRoot) {\r\n\r\n let $container = _.isElement(container) ? LA$(container) : container;\r\n let $template;\r\n let viewEvents = {};\r\n let uiText = null;\r\n let that = {};\r\n that.data = data;\r\n let createAndSelectElement = function (html) {\r\n const newElement = document.createElement('div');\r\n newElement.innerHTML = html;\r\n\r\n $template = LA$(newElement.firstChild);\r\n\r\n return newElement.firstChild;\r\n }\r\n if(playerConfig && playerConfig.systemText){\r\n uiText = playerConfig.systemText.ui;\r\n }\r\n if (isRoot) {\r\n $container.replace(createAndSelectElement(Templates[templateName + \"Template\"](uiText, data)));\r\n } else {\r\n $container.append(createAndSelectElement(Templates[templateName + \"Template\"](uiText, data)));\r\n }\r\n\r\n if (onRendered) {\r\n onRendered($template, that);\r\n }\r\n\r\n Object.keys(events).forEach(eventString => {\r\n let explodedText = eventString.split(\" \");\r\n let eventName = explodedText[0].replace(/ /gi, \"\");\r\n let target = explodedText[1].replace(/ /gi, \"\");\r\n\r\n let $target = \"\";\r\n\r\n if(target === \"document\" || target === \"window\" || target === \"body\"){\r\n $target = LA$(target);\r\n }else{\r\n $target = $template.find(target) || ($template.hasClass(target.replace(\".\",\"\")) ? $template : null);\r\n }\r\n\r\n\r\n if (eventName && target && $target) {\r\n let id = Object.keys(viewEvents).length++;\r\n\r\n //because It retuns another data.\r\n let wrappedFunc = function (event) {\r\n return events[eventString](event, $template, that);\r\n };\r\n viewEvents[id] = {name: eventName, target: target, callback: wrappedFunc};\r\n\r\n /*$template.get().addEventListener(eventName,function(evt){\r\n var gtarget = evt.target;\r\n while (gtarget!= null){\r\n if (gtarget.isEqualNode($target.get())){\r\n console.log(\"isEqual\", gtarget, $target.get());\r\n wrappedFunc(evt);\r\n return;\r\n }\r\n gtarget = gtarget.parentElement;\r\n }\r\n }, true);*/\r\n\r\n let eventOption = null;\r\n\r\n if (eventName.indexOf('touch') > -1) {\r\n eventOption = { passive: true };\r\n }\r\n\r\n //sometimes target is NodeList\r\n let nodeLength = $target.get().length;\r\n\r\n if(nodeLength > 1){\r\n let nodeList = $target.get();\r\n for(let i = 0; i < nodeLength; i ++){\r\n nodeList[i].addEventListener(eventName, wrappedFunc, eventOption);\r\n }\r\n //IE NodeList doesn't have forEach. It's wack.\r\n //$target.get().forEach(function($item){\r\n // $item.addEventListener(eventName, wrappedFunc);\r\n //});\r\n }else{\r\n $target.get().addEventListener(eventName, wrappedFunc, eventOption);\r\n }\r\n\r\n\r\n } else {\r\n return false;\r\n }\r\n });\r\n\r\n that.destroy = function () {\r\n Object.keys(viewEvents).forEach(id => {\r\n let event = viewEvents[id];\r\n let $target = \"\";\r\n\r\n if(event.target === \"document\" || event.target === \"window\" || event.target === \"body\"){\r\n $target = LA$(event.target);\r\n }else{\r\n $target = $template.find(event.target) || ($template.hasClass(event.target.replace(\".\",\"\")) ? $template : null);\r\n }\r\n\r\n //sometimes target is NodeList\r\n let nodeLength = $target.get().length;\r\n if(nodeLength > 1){\r\n let nodeList = $target.get();\r\n for(let i = 0; i < nodeLength; i ++){\r\n nodeList[i].removeEventListener(event.name, event.callback);\r\n }\r\n /*$target.get().forEach(function($item){\r\n $item.removeEventListener(event.name, event.callback);\r\n });*/\r\n }else{\r\n $target.get().removeEventListener(event.name, event.callback);\r\n }\r\n\r\n delete viewEvents[id];\r\n });\r\n\r\n if($template){\r\n if(isRoot){\r\n $template.removeChild();\r\n $template.removeAttribute(\"class\");\r\n }else{\r\n $template.remove();\r\n }\r\n }\r\n\r\n if (onDestroyed) {\r\n onDestroyed(that);\r\n }\r\n };\r\n return that;\r\n\r\n};\r\n\r\n\r\nexport default OvenTemplate;\r\n","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED\r\n} from \"api/constants\";\r\n\r\nconst MessageBox = function($container, api, message, description, withTimer, iconClass, clickCallback, dontClose){\r\n\r\n let autoDestroyTimer = \"\";\r\n let data = {\r\n message : message,\r\n description : description,\r\n iconClass : iconClass,\r\n dontClose: dontClose\r\n };\r\n\r\n\r\n const onRendered = function($current, template){\r\n if(withTimer){\r\n autoDestroyTimer = setTimeout(function(){\r\n template.destroy();\r\n }, withTimer||5000);\r\n }\r\n };\r\n const onDestroyed = function(){\r\n };\r\n const events = {\r\n \"click .op-message-text\" : function(event, $current, template){\r\n //event.preventDefault();\r\n event.stopPropagation();\r\n\r\n if (dontClose) {\r\n return;\r\n }\r\n if(autoDestroyTimer){\r\n clearTimeout(autoDestroyTimer);\r\n }\r\n if(clickCallback){\r\n clickCallback();\r\n }\r\n template.destroy();\r\n },\r\n \"click .op-con\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n if (dontClose) {\r\n return;\r\n }\r\n\r\n if(autoDestroyTimer){\r\n clearTimeout(autoDestroyTimer);\r\n }\r\n\r\n if(clickCallback){\r\n clickCallback();\r\n }\r\n template.destroy();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"MessageBox\", api.getConfig(), data, events, onRendered, onDestroyed );\r\n};\r\n\r\n\r\nexport default MessageBox;","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport BigButton from \"view/components/helpers/bigButton\";\r\nimport MessageBox from \"view/components/helpers/messageBox\";\r\nimport CaptionViewer from \"view/components/helpers/captionViewer\";\r\nimport Thumbnail from \"view/components/helpers/thumbnail\";\r\nimport WaterMark from \"view/components/helpers/waterMark\";\r\nimport Spinner from \"view/components/helpers/spinner\";\r\nimport {\r\n READY,\r\n ERROR,\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED,\r\n STATE_AD_LOADED,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n STATE_AD_COMPLETE,\r\n STATE_AD_LOADING,\r\n PLAYLIST_CHANGED,\r\n PLAYER_WARNING,\r\n CONTENT_MUTE,\r\n STATE_ERROR,\r\n PLAYER_STATE,\r\n ALL_PLAYLIST_ENDED,\r\n CONTENT_LEVEL_CHANGED,\r\n CONTENT_SOURCE_CHANGED,\r\n NETWORK_UNSTABLED,\r\n UI_ICONS\r\n} from \"api/constants\";\r\n\r\nconst Helpers = function($container, api){\r\n let firstRun = false;\r\n let bigButton = \"\", messageBox = \"\", captionViewer = \"\", spinner = \"\", thumbnail, waterMark;\r\n let mutedMessage = null;\r\n let hasThumbnail = api.getConfig().image || api.getConfig().title;\r\n let hasWaterMark = api.getConfig().waterMark && api.getConfig().waterMark.image ||\r\n api.getConfig().waterMark && api.getConfig().waterMark.text;\r\n let dont_show_message = false;\r\n\r\n const onRendered = function($current, template){\r\n let qualityLevelChanging = false, newQualityLevel = -1;\r\n function createBigButton(state){\r\n\r\n if (!api.getConfig().showBigPlayButton) {\r\n return;\r\n }\r\n\r\n if (api.getState() === STATE_IDLE || api.getState() === STATE_COMPLETE) {\r\n\r\n if (messageBox) {\r\n messageBox.destroy();\r\n }\r\n\r\n if (bigButton) {\r\n bigButton.destroy();\r\n }\r\n\r\n bigButton = BigButton($current, api, state);\r\n }\r\n }\r\n function createMessage(message, description ,withTimer, iconClass, clickCallback, dontClose){\r\n\r\n if(bigButton){\r\n bigButton.destroy();\r\n }\r\n\r\n if(messageBox){\r\n messageBox.destroy();\r\n }\r\n\r\n messageBox = MessageBox($current, api, message, description, withTimer, iconClass, clickCallback, dontClose);\r\n }\r\n function createThumbnail(){\r\n\r\n const mediaElement = api.getMediaElement();\r\n\r\n if (mediaElement) {\r\n mediaElement.poster = ''\r\n }\r\n\r\n if (api.getConfig().image) {\r\n mediaElement.poster = api.getConfig().image;\r\n }\r\n\r\n\r\n if(thumbnail){\r\n thumbnail.destroy();\r\n }\r\n\r\n thumbnail = Thumbnail($current, api, api.getConfig());\r\n }\r\n function createWaterMark() {\r\n\r\n if (waterMark) {\r\n waterMark.destroy();\r\n }\r\n\r\n waterMark = WaterMark($current, api, api.getConfig());\r\n }\r\n\r\n spinner = Spinner($current, api);\r\n\r\n /*if(api.getCaptionList() && api.getCaptionList().length > 0){\r\n captionViewer = CaptionViewer($current, api);\r\n }*/\r\n\r\n captionViewer = CaptionViewer($current, api);\r\n\r\n api.on(READY, function() {\r\n if(hasThumbnail){\r\n createThumbnail(); //shows when playlist changed.\r\n }\r\n if(hasWaterMark) {\r\n createWaterMark();\r\n }\r\n\r\n if (!firstRun) {\r\n\r\n createBigButton(STATE_PAUSED);\r\n firstRun = true;\r\n }\r\n\r\n }, template);\r\n\r\n //So far warning muted play is all!!\r\n api.on(PLAYER_WARNING, function(data) {\r\n if(data.message){\r\n\r\n if(bigButton){\r\n bigButton.destroy();\r\n }\r\n\r\n if(messageBox){\r\n messageBox.destroy();\r\n }\r\n mutedMessage = MessageBox($current, api, data.message, null, data.timer, data.iconClass, data.onClickCallback, false);\r\n\r\n //When the volume is turned on by an external something.\r\n api.once(CONTENT_MUTE, function(data){\r\n if(!data.mute && mutedMessage){\r\n mutedMessage.destroy();\r\n }\r\n }, template);\r\n }\r\n }, template);\r\n\r\n api.on(PLAYER_STATE, function(data){\r\n if(data && data.newstate){\r\n\r\n if (data.newstate === STATE_IDLE) {\r\n if(messageBox){\r\n messageBox.destroy();\r\n }\r\n }\r\n\r\n if(data.newstate === STATE_PLAYING || data.newstate === STATE_AD_PLAYING){\r\n\r\n dont_show_message = false;\r\n\r\n if (messageBox) {\r\n messageBox.destroy();\r\n }\r\n if (bigButton) {\r\n bigButton.destroy();\r\n }\r\n if(thumbnail){\r\n thumbnail.destroy();\r\n }\r\n\r\n if(!qualityLevelChanging){\r\n spinner.show(false);\r\n }\r\n } else if (data.newstate === STATE_COMPLETE) {\r\n\r\n spinner.show(false);\r\n createBigButton(data.newstate);\r\n } else{\r\n\r\n if(data.newstate === STATE_STALLED || data.newstate === STATE_LOADING || data.newstate === STATE_AD_LOADING){\r\n\r\n dont_show_message = false;\r\n if(messageBox){\r\n messageBox.destroy();\r\n }\r\n if (bigButton) {\r\n bigButton.destroy();\r\n }\r\n spinner.show(true);\r\n }else{\r\n if(!qualityLevelChanging){\r\n spinner.show(false);\r\n }\r\n }\r\n }\r\n\r\n }\r\n }, template);\r\n\r\n api.on(CONTENT_SOURCE_CHANGED, function () {\r\n\r\n if(hasThumbnail){\r\n createThumbnail(); //shows when playlist changed.\r\n }\r\n });\r\n\r\n //show spinner cuz dashjs spends long time for level change.\r\n api.on(CONTENT_LEVEL_CHANGED, function(data){\r\n if(data.currentQuality < 0 ){\r\n return false;\r\n }\r\n if(data.isAuto){\r\n qualityLevelChanging = false;\r\n spinner.show(false);\r\n }else{\r\n if(data.type === \"request\"){\r\n newQualityLevel = data.currentQuality;\r\n qualityLevelChanging = true;\r\n spinner.show(true);\r\n }else if(data.type === \"render\" && newQualityLevel === data.currentQuality){\r\n qualityLevelChanging = false;\r\n spinner.show(false);\r\n //createMessage(\"quality changed.\", 3000);\r\n }\r\n }\r\n\r\n }, template);\r\n api.on(ERROR, function(error) {\r\n\r\n if (error.code === 510) {\r\n dont_show_message = true;\r\n }\r\n\r\n if (error.code === 101 && api.getPlaylist().length === 0) {\r\n dont_show_message = true;\r\n }\r\n\r\n if (dont_show_message) {\r\n return;\r\n }\r\n\r\n let message = \"\", description = \"\";\r\n\r\n if(bigButton){\r\n bigButton.destroy();\r\n }\r\n\r\n if (error && error.code && error.code >= 100 && error.code < 1000) {\r\n message = error.message;\r\n if(error.code === 100){\r\n description = error.error.toString();\r\n }\r\n } else {\r\n message = \"Can not play due to unknown reasons.\";\r\n }\r\n OvenPlayerConsole.log(\"error occured : \", error);\r\n\r\n createMessage(message, description, null, UI_ICONS.op_warning , null, true);\r\n }, template);\r\n\r\n\r\n api.on(NETWORK_UNSTABLED, function(event){\r\n let message = \"Because the network connection is unstable, the following media source will be played.\";\r\n\r\n if(api.getCurrentSource()+1 === api.getQualityLevels().length){\r\n message = \"Network connection is unstable. Check the network connection.\";\r\n }\r\n\r\n OvenPlayerConsole.log(message);\r\n //createMessage(message, null,5000);\r\n }, template);\r\n\r\n api.on(ALL_PLAYLIST_ENDED, function(){\r\n if(hasThumbnail){\r\n createThumbnail();\r\n }\r\n }, template);\r\n };\r\n const onDestroyed = function(template){\r\n api.off(READY, null, template);\r\n api.off(PLAYER_STATE, null, template);\r\n api.off(PLAYER_WARNING, null, template);\r\n api.off(ERROR, null, template);\r\n api.off(NETWORK_UNSTABLED, null, template);\r\n api.off(ALL_PLAYLIST_ENDED, null, template);\r\n api.off(PLAYLIST_CHANGED, null, template);\r\n };\r\n const events = {\r\n\r\n };\r\n\r\n return OvenTemplate($container, \"Helpers\", api.getConfig(), null, events, onRendered, onDestroyed );\r\n};\r\n\r\nexport default Helpers;\r\n","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED\r\n} from \"api/constants\";\r\nimport {STATE_ERROR} from \"../../../api/constants\";\r\n\r\nconst BigButton = function($container, api, playerState){\r\n\r\n const onRendered = function($container, $current, template){\r\n //Do nothing!\r\n };\r\n const onDestroyed = function(){\r\n //Do nothing!\r\n };\r\n const events = {\r\n \"click .op-bigbutton-container\" : function(event){\r\n event.preventDefault();\r\n event.stopPropagation();\r\n\r\n const currentState = api.getState();\r\n let playlist = api.getPlaylist();\r\n let currentPlaylistIndex = api.getCurrentPlaylist();\r\n\r\n if (currentState === STATE_IDLE || currentState === STATE_PAUSED) {\r\n api.play();\r\n } else if (currentState === STATE_ERROR) {\r\n api.setCurrentSource(api.getCurrentSource());\r\n } else if(currentState === STATE_COMPLETE){\r\n if(playlist.length === (currentPlaylistIndex+1)){\r\n api.seek(0);\r\n api.play();\r\n }\r\n }\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"BigButton\", api.getConfig(), playerState, events, onRendered, onDestroyed );\r\n};\r\n\r\nexport default BigButton;","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED\r\n} from \"api/constants\";\r\n\r\nconst Thumbnail = function ($container, api, playerState) {\r\n\r\n const onRendered = function ($current, template) {\r\n\r\n };\r\n const onDestroyed = function () {\r\n //Do nothing!\r\n };\r\n const events = {};\r\n\r\n return OvenTemplate($container, \"Thumbnail\", api.getConfig(), playerState, events, onRendered, onDestroyed);\r\n};\r\n\r\nexport default Thumbnail;","/**\r\n * Created by hoho on 2018. 7. 25..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\n\r\nconst Spinner = function($container, api){\r\n let $spinner = \"\";\r\n\r\n const onRendered = function($current, template){\r\n $spinner = $current;\r\n };\r\n const onDestroyed = function(){\r\n //Do nothing.\r\n };\r\n const events = {};\r\n\r\n return Object.assign(OvenTemplate($container, \"Spinner\", api.getConfig(), null, events, onRendered, onDestroyed ), {\r\n show: function (isShow) {\r\n if(isShow){\r\n $spinner.show();\r\n }else{\r\n $spinner.hide();\r\n }\r\n }\r\n });\r\n};\r\n\r\n\r\nexport default Spinner;","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED,\r\n CONTENT_CAPTION_CHANGED,\r\n CONTENT_CAPTION_CUE_CHANGED\r\n} from \"api/constants\";\r\nimport LA$ from 'utils/likeA$';\r\n\r\n\r\nconst CaptionViewer = function($container, api, playerState){\r\n const $root = LA$(api.getContainerElement());\r\n\r\n const onRendered = function($container, $current, template){\r\n let isDisable = false;\r\n let deleteTimer = 0;\r\n\r\n api.on(CONTENT_CAPTION_CHANGED, function(index) {\r\n if(index > -1){\r\n isDisable = false;\r\n }else{\r\n isDisable = true;\r\n $container.find(\".op-caption-text\").text(\"\");\r\n }\r\n }, template);\r\n\r\n api.on(CONTENT_CAPTION_CUE_CHANGED, function(data) {\r\n if(!isDisable && data && data.text){\r\n let hideGap = data.endTime - data.startTime;\r\n\r\n if(deleteTimer){\r\n clearTimeout(deleteTimer);\r\n }\r\n\r\n $container.find(\".op-caption-text\").html(data.text);\r\n\r\n if(hideGap){\r\n deleteTimer = setTimeout(function(){\r\n $container.find(\".op-caption-text\").text(\"\");\r\n },hideGap * 1000);\r\n }\r\n\r\n }\r\n\r\n }, template);\r\n\r\n\r\n };\r\n const onDestroyed = function(template){\r\n $container.find(\".op-caption-text\").text(\"\");\r\n api.off(CONTENT_CAPTION_CHANGED, null, template);\r\n api.off(CONTENT_CAPTION_CUE_CHANGED, null, template);\r\n };\r\n const events = {\r\n };\r\n\r\n return OvenTemplate($container, \"CaptionViewer\", api.getConfig(), playerState, events, onRendered, onDestroyed );\r\n};\r\n\r\nexport default CaptionViewer;","/**\r\n * Created by Sangwon Oh on 2020. 11. 10..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport _ from 'utils/underscore';\r\nimport {\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED\r\n} from \"api/constants\";\r\n\r\nconst WaterMark = function($container, api, playerState){\r\n\r\n let waterMark = null;\r\n let textElem = null;\r\n const defaultPosition = 'top-right';\r\n const defaultX = '2.8125%';\r\n const defaultY = '5%';\r\n const defaultWidth = 'auto';\r\n const defaultHeight = 'auto';\r\n const defaultOpacity = 0.7;\r\n\r\n const onRendered = function($current, template){\r\n\r\n waterMark = $current.find('.op-watermark');\r\n textElem = $current.find('.op-watermark-text');\r\n\r\n let waterMarkOption = api.getConfig().waterMark;\r\n\r\n let position = waterMarkOption.position || defaultPosition;\r\n\r\n let y = waterMarkOption.y || defaultY;\r\n let x = waterMarkOption.x || defaultX;\r\n\r\n waterMark.css(position.split('-')[0], y);\r\n waterMark.css(position.split('-')[1], x);\r\n\r\n let width = waterMarkOption.width || defaultWidth;\r\n let height = waterMarkOption.height || defaultHeight;\r\n\r\n waterMark.css('width', width);\r\n waterMark.css('height', height);\r\n\r\n let opacity = waterMarkOption.opacity || defaultOpacity;\r\n waterMark.css('opacity', opacity);\r\n\r\n if (waterMarkOption.text) {\r\n\r\n if (waterMarkOption.font) {\r\n\r\n _.each(waterMarkOption.font, function (value, key) {\r\n textElem.css(key, value);\r\n })\r\n }\r\n }\r\n\r\n };\r\n const onDestroyed = function(){\r\n //Do nothing!\r\n };\r\n const events = {\r\n\r\n };\r\n\r\n return OvenTemplate($container, \"WaterMark\", api.getConfig(), playerState, events, onRendered, onDestroyed );\r\n};\r\n\r\nexport default WaterMark;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport _ from \"utils/underscore\";\r\n\r\nlet settingPanelList = [];\r\n\r\nconst PanelManager = function(){\r\n const that = {};\r\n\r\n let refreshFront = function(){\r\n for(let i = 0 ; i < settingPanelList.length; i ++){\r\n settingPanelList[i].data.setFront(false);\r\n }\r\n if(settingPanelList.length ){\r\n settingPanelList[settingPanelList.length - 1].data.setFront(true);\r\n }\r\n };\r\n that.clear = () => {\r\n //clear all SettingPanelTemplate\r\n\r\n _.each(settingPanelList, function(settingPanel){\r\n settingPanel.destroy();\r\n });\r\n settingPanelList = [];\r\n refreshFront();\r\n };\r\n\r\n that.removeLastItem = () =>{\r\n let last = settingPanelList.pop();\r\n last.destroy();\r\n refreshFront();\r\n };\r\n\r\n that.add = (settingPanelObject) => {\r\n settingPanelList.push(settingPanelObject);\r\n refreshFront();\r\n };\r\n\r\n that.size = () => {\r\n return settingPanelList.length;\r\n };\r\n\r\n return that;\r\n};\r\n\r\nexport default PanelManager;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\nimport _ from \"utils/underscore\";\r\nimport sizeHumanizer from \"utils/sizeHumanizer\";\r\nimport SpeedPanel from \"view/components/controls/settingPanel/speedPanel\";\r\nimport SourcePanel from \"view/components/controls/settingPanel/sourcePanel\";\r\nimport QualityPanel from \"view/components/controls/settingPanel/qualityPanel\";\r\nimport AudioTrackPanel from \"view/components/controls/settingPanel/audioTrackPanel\";\r\nimport CaptionPanel from \"view/components/controls/settingPanel/captionPanel\";\r\nimport TimeDisplayPanel from \"view/components/controls/settingPanel/timeDisplayPanel\";\r\nimport {\r\n CONTENT_LEVEL_CHANGED, PROVIDER_RTMP\r\n} from \"api/constants\";\r\nimport {AUDIO_TRACK_CHANGED} from \"../../../../api/constants\";\r\n\r\nlet PANEL_TITLE = {\r\n \"speed\": \"Speed\",\r\n \"speedUnit\": \"x\",\r\n \"source\": \"Source\",\r\n \"quality\": \"Quality\",\r\n \"audioTrack\": \"Audio\",\r\n \"caption\": \"Caption\",\r\n \"display\": \"Display\"\r\n};\r\n\r\nconst Panels = function ($container, api, data) {\r\n\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n let playerConfig = api.getConfig();\r\n\r\n if (playerConfig && playerConfig.systemText) {\r\n Object.keys(PANEL_TITLE).forEach(title => {\r\n PANEL_TITLE[title] = playerConfig.systemText.ui.setting[title];\r\n });\r\n }\r\n\r\n function extractSubPanelData(api, panelType) {\r\n let panel = {\r\n id: \"panel-\" + new Date().getTime(),\r\n title: \"\",\r\n body: [],\r\n useCheck: true,\r\n panelType: panelType,\r\n height: $root.height() - $root.find(\".op-bottom-panel\").height()\r\n };\r\n panel.title = PANEL_TITLE[panelType];\r\n if (panelType === \"speed\") {\r\n let playBackRates = api.getConfig().playbackRates;\r\n let currentPlaybackRate = api.getPlaybackRate();\r\n for (let i = 0; i < playBackRates.length; i++) {\r\n let body = {\r\n title: playBackRates[i] + PANEL_TITLE.speedUnit, //(playBackRates[i] === 1? \"Normal\" : playBackRates[i]),\r\n isCheck: currentPlaybackRate === playBackRates[i],\r\n value: playBackRates[i],\r\n description: playBackRates[i],\r\n panelType: panelType\r\n };\r\n panel.body.push(body);\r\n }\r\n\r\n } else if (panelType === \"source\") {\r\n let sources = api.getSources();\r\n for (let i = 0; i < sources.length; i++) {\r\n let body = {\r\n title: sources[i].label,\r\n isCheck: api.getCurrentSource() === i,\r\n value: i,\r\n panelType: panelType\r\n };\r\n panel.body.push(body);\r\n }\r\n\r\n } else if (panelType === \"quality\") {\r\n let qualityLevels = api.getQualityLevels();\r\n panel.body.push({\r\n title: \"AUTO\",\r\n isCheck: api.isAutoQuality(),\r\n value: \"AUTO\",\r\n panelType: panelType\r\n });\r\n for (let i = 0; i < qualityLevels.length; i++) {\r\n let body = {\r\n title: qualityLevels[i].label,\r\n isCheck: api.getCurrentQuality() === i,\r\n value: i,\r\n panelType: panelType\r\n };\r\n panel.body.push(body);\r\n }\r\n\r\n } else if (panelType === \"audioTrack\") {\r\n let audioTracks = api.getAudioTracks();\r\n\r\n for (let i = 0; i < audioTracks.length; i++) {\r\n let body = {\r\n title: audioTracks[i].label,\r\n isCheck: audioTracks[i].index === api.getCurrentAudioTrack(),\r\n value: audioTracks[i].index,\r\n panelType: panelType\r\n };\r\n panel.body.push(body);\r\n }\r\n\r\n } else if (panelType === \"caption\") {\r\n let captions = api.getCaptionList();\r\n panel.body.push({\r\n title: \"OFF\",\r\n isCheck: api.getCurrentCaption() === -1,\r\n value: -1,\r\n panelType: panelType\r\n });\r\n for (let i = 0; i < captions.length; i++) {\r\n let body = {\r\n title: captions[i].label,\r\n isCheck: api.getCurrentCaption() === i,\r\n value: i,\r\n panelType: panelType\r\n };\r\n panel.body.push(body);\r\n }\r\n\r\n } else if (panelType === \"display\") {\r\n let displayModes = [\r\n \"Play time\",\r\n \"Framecode\"\r\n ];\r\n for (let i = 0; i < displayModes.length; i++) {\r\n let body = {\r\n title: displayModes[i],\r\n isCheck: api.isTimecodeMode() ? (displayModes[i] === \"Play time\") : (displayModes[i] === \"Framecode\"),\r\n value: displayModes[i],\r\n panelType: panelType\r\n };\r\n panel.body.push(body);\r\n }\r\n\r\n }\r\n return panel;\r\n };\r\n\r\n data.setFront = function (isFront) {\r\n if (isFront) {\r\n $root.find(\"#\" + data.id).removeClass(\"background\");\r\n } else {\r\n $root.find(\"#\" + data.id).addClass(\"background\");\r\n }\r\n };\r\n\r\n function setPanelMaxHeight() {\r\n if ($root.find(\".op-setting-panel\")) {\r\n $root.find(\".op-setting-panel\").css(\"max-height\", $root.height() - $root.find(\".op-bottom-panel\").height() + \"px\");\r\n }\r\n };\r\n const onRendered = function ($current, template) {\r\n setPanelMaxHeight();\r\n\r\n api.on(CONTENT_LEVEL_CHANGED, function (data) {\r\n let newQuality = data.currentQuality;\r\n if (data.type === \"render\" && $root.find(\"#\" + template.data.id).find(\".op-setting-item\")) {\r\n _.forEach($root.find(\"#\" + template.data.id).find(\".op-setting-item\").get() || [], function (panel) {\r\n let $panel = LA$(panel);\r\n\r\n if ($panel.attr(\"op-panel-type\") === \"quality\") {\r\n let qualityList = api.getQualityLevels();\r\n let newQualityObject = qualityList[newQuality];\r\n $panel.find(\".op-setting-item-value\").text(newQualityObject.width + \"x\" + newQualityObject.height + \", \" + sizeHumanizer(newQualityObject.bitrate, true, \"bps\"));\r\n }\r\n\r\n });\r\n }\r\n\r\n }, template);\r\n\r\n api.on(AUDIO_TRACK_CHANGED, function (data) {\r\n _.forEach($root.find(\"#\" + template.data.id).find(\".op-setting-item\").get() || [], function (panel) {\r\n\r\n let $panel = LA$(panel);\r\n\r\n if($panel.attr(\"op-panel-type\") === \"audioTrack\"){\r\n $panel.find(\".op-setting-item-value\").text(api.getAudioTracks()[data.currentAudioTrack].label);\r\n }\r\n });\r\n }, template);\r\n };\r\n const onDestroyed = function (template) {\r\n api.off(CONTENT_LEVEL_CHANGED, null, template);\r\n api.off(AUDIO_TRACK_CHANGED, null, template);\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n //if this panel is background it disabled click.\r\n if ($root.find(\"#\" + data.id).hasClass(\"background\")) {\r\n return false;\r\n }\r\n let panelType = LA$(event.currentTarget).attr(\"op-panel-type\");\r\n let panel = null;\r\n if (panelType === \"speed\") {\r\n panel = SpeedPanel($container, api, extractSubPanelData(api, panelType));\r\n } else if (panelType === \"source\") {\r\n panel = SourcePanel($container, api, extractSubPanelData(api, panelType));\r\n } else if (panelType === \"quality\") {\r\n panel = QualityPanel($container, api, extractSubPanelData(api, panelType));\r\n } else if (panelType === \"audioTrack\") {\r\n panel = AudioTrackPanel($container, api, extractSubPanelData(api, panelType));\r\n } else if (panelType === \"caption\") {\r\n panel = CaptionPanel($container, api, extractSubPanelData(api, panelType));\r\n } else if (panelType === \"display\") {\r\n panel = TimeDisplayPanel($container, api, extractSubPanelData(api, panelType));\r\n }\r\n\r\n panelManager.add(panel);\r\n },\r\n \"click .op-setting-title\": function (event, $current, template) {\r\n event.preventDefault();\r\n if ($root.find(\"#\" + data.id).hasClass(\"background\")) {\r\n return false;\r\n }\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n return OvenTemplate($container, \"Panels\", api.getConfig(), data, events, onRendered, onDestroyed);\r\n\r\n};\r\n\r\nexport default Panels;\r\n\r\n","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\n\r\n\r\nconst SpeedPanel = function($container, api, data){\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n data.setFront = function(isFront){\r\n if(isFront){\r\n $root.find(\"#\"+data.id).removeClass(\"background\");\r\n }else{\r\n $root.find(\"#\"+data.id).addClass(\"background\");\r\n }\r\n };\r\n const onRendered = function($current, template){\r\n //Do nothing\r\n };\r\n const onDestroyed = function(template){\r\n //Do nothing\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\r\n api.setPlaybackRate(parseFloat(value));\r\n panelManager.clear();\r\n },\r\n \"click .op-setting-title\" : function(event, $current, template){\r\n event.preventDefault();\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"SpeedPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default SpeedPanel;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\n\r\n\r\nconst SourcePanel = function($container, api, data){\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n data.setFront = function(isFront){\r\n if(isFront){\r\n $root.find(\"#\"+data.id).removeClass(\"background\");\r\n }else{\r\n $root.find(\"#\"+data.id).addClass(\"background\");\r\n }\r\n };\r\n const onRendered = function($current, template){\r\n //Do nothing\r\n };\r\n const onDestroyed = function(template){\r\n //Do nothing\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\r\n api.setCurrentSource(parseInt(value));\r\n panelManager.clear();\r\n },\r\n \"click .op-setting-title\" : function(event, $current, template){\r\n event.preventDefault();\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"SourcePanel\", api.getConfig(), data, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default SourcePanel;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\nimport _ from \"utils/underscore\";\r\nimport {\r\n CONTENT_LEVEL_CHANGED\r\n} from \"api/constants\";\r\n\r\nconst QualityPanel = function($container, api, data){\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n data.setFront = function(isFront){\r\n if(isFront){\r\n $root.find(\"#\"+data.id).removeClass(\"background\");\r\n }else{\r\n $root.find(\"#\"+data.id).addClass(\"background\");\r\n }\r\n };\r\n const onRendered = function($current, template){\r\n\r\n //This assistants UI when quality level changes. When you open setting panels.\r\n api.on(CONTENT_LEVEL_CHANGED, function(data){\r\n let newQuality = data.currentQuality;\r\n if(data.type === \"render\"){\r\n _.forEach( $root.find(\"#\"+template.data.id).find(\".op-setting-item\").get(), function(panel){\r\n let $panel = LA$(panel);\r\n if( $panel.find(\".op-setting-item-checked\").hasClass(\"op-show\")){\r\n $panel.find(\".op-setting-item-checked\").removeClass(\"op-show\");\r\n }\r\n if(newQuality === parseInt($panel.attr(\"op-data-value\"))){\r\n $panel.find(\".op-setting-item-checked\").addClass(\"op-show\");\r\n }\r\n if(data.isAuto && $panel.attr(\"op-data-value\") === \"AUTO\"){\r\n $panel.find(\".op-setting-item-checked\").addClass(\"op-show\");\r\n }\r\n });\r\n }\r\n }, template);\r\n };\r\n const onDestroyed = function(template){\r\n api.off(CONTENT_LEVEL_CHANGED, null, template);\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\r\n if(value === \"AUTO\"){\r\n api.setAutoQuality(!api.isAutoQuality());\r\n }else{\r\n api.setCurrentQuality(parseInt(value));\r\n }\r\n panelManager.clear();\r\n },\r\n \"click .op-setting-title\" : function(event, $current, template){\r\n event.preventDefault();\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"QualityPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default QualityPanel;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\nimport {\r\n AUDIO_TRACK_CHANGED\r\n} from \"api/constants\";\r\nimport _ from \"utils/underscore\";\r\n\r\nconst AudioTrackPanel = function ($container, api, data) {\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n data.setFront = function (isFront) {\r\n if (isFront) {\r\n $root.find(\"#\" + data.id).removeClass(\"background\");\r\n } else {\r\n $root.find(\"#\" + data.id).addClass(\"background\");\r\n }\r\n };\r\n const onRendered = function ($current, template) {\r\n api.on(AUDIO_TRACK_CHANGED, function (data) {\r\n _.forEach($root.find(\"#\" + template.data.id).find(\".op-setting-item\").get(), function (panel) {\r\n let $panel = LA$(panel);\r\n\r\n if ($panel.find(\".op-setting-item-checked\").hasClass(\"op-show\")) {\r\n $panel.find(\".op-setting-item-checked\").removeClass(\"op-show\");\r\n }\r\n if (data.currentAudioTrack === parseInt($panel.attr(\"op-data-value\"))) {\r\n $panel.find(\".op-setting-item-checked\").addClass(\"op-show\");\r\n }\r\n });\r\n }, template);\r\n };\r\n const onDestroyed = function (template) {\r\n api.off(AUDIO_TRACK_CHANGED, null, template);\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\r\n api.setCurrentAudioTrack(parseInt(value));\r\n panelManager.clear();\r\n },\r\n \"click .op-setting-title\": function (event, $current, template) {\r\n event.preventDefault();\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"AudioTrackPanel\", api.getConfig(), data, events, onRendered, onDestroyed);\r\n\r\n};\r\n\r\nexport default AudioTrackPanel;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\n\r\n\r\nconst CaptionPanel = function($container, api, data){\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n data.setFront = function(isFront){\r\n if(isFront){\r\n $root.find(\"#\"+data.id).removeClass(\"background\");\r\n }else{\r\n $root.find(\"#\"+data.id).addClass(\"background\");\r\n }\r\n };\r\n const onRendered = function($current, template){\r\n //Do nothing\r\n };\r\n const onDestroyed = function(template){\r\n //Do nothing\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\r\n api.setCurrentCaption(parseFloat(value));\r\n panelManager.clear();\r\n },\r\n \"click .op-setting-title\" : function(event, $current, template){\r\n event.preventDefault();\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"CaptionPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default CaptionPanel;","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport LA$ from 'utils/likeA$';\r\n\r\n\r\nconst TimeDisplayPanel = function($container, api, data){\r\n const $root = LA$(api.getContainerElement());\r\n let panelManager = PanelManager();\r\n\r\n data.setFront = function(isFront){\r\n if(isFront){\r\n $root.find(\"#\"+data.id).removeClass(\"background\");\r\n }else{\r\n $root.find(\"#\"+data.id).addClass(\"background\");\r\n }\r\n };\r\n const onRendered = function($current, template){\r\n //Do nothing\r\n };\r\n const onDestroyed = function(template){\r\n //Do nothing\r\n };\r\n const events = {\r\n \"click .op-setting-item\": function (event, $current, template) {\r\n event.preventDefault();\r\n let value = LA$(event.currentTarget).attr(\"op-data-value\");\r\n api.setTimecodeMode(value === \"Play time\");\r\n panelManager.clear();\r\n },\r\n \"click .op-setting-title\" : function(event, $current, template){\r\n event.preventDefault();\r\n panelManager.removeLastItem();\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"TimeDisplayPanel\", api.getConfig(), data, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default TimeDisplayPanel;","/**\r\n * Created by hoho on 2019. 5. 17..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport Panels from \"view/components/controls/settingPanel/main\";\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport {\r\n PROVIDER_RTMP\r\n} from \"api/constants\";\r\n\r\nlet PANEL_TITLE = {\r\n \"speed\": \"Speed\",\r\n \"speedUnit\": \"x\",\r\n \"source\": \"Source\",\r\n \"quality\": \"Quality\",\r\n \"audioTrack\": \"Audio\",\r\n \"caption\": \"Caption\",\r\n \"display\": \"Display\"\r\n};\r\nconst SettingButton = function ($container, api) {\r\n let panelManager = PanelManager();\r\n\r\n function generateMainData(api) {\r\n let panel = {\r\n id: \"panel-\" + new Date().getTime(),\r\n title: \"Settings\",\r\n body: [],\r\n isRoot: true,\r\n panelType: \"\"\r\n };\r\n\r\n let playerConfig = api.getConfig();\r\n\r\n if (playerConfig && playerConfig.systemText) {\r\n Object.keys(PANEL_TITLE).forEach(title => {\r\n PANEL_TITLE[title] = playerConfig.systemText.ui.setting[title];\r\n });\r\n panel.title = playerConfig.systemText.ui.setting.title;\r\n }\r\n let sources = api.getSources();\r\n let currentSource = sources && sources.length > 0 ? sources[api.getCurrentSource()] : null;\r\n\r\n let qualityLevels = api.getQualityLevels();\r\n let currentQuality = qualityLevels && qualityLevels.length > 0 ? qualityLevels[api.getCurrentQuality()] : null;\r\n\r\n let audioTracks = api.getAudioTracks();\r\n let currentAudioTrack = audioTracks && audioTracks.length > 0 ? audioTracks[api.getCurrentAudioTrack()] : null;\r\n\r\n let captions = api.getCaptionList();\r\n let currentCaption = api.getCurrentCaption();\r\n\r\n let framerate = api.getFramerate();\r\n\r\n if (currentSource) {\r\n let body = {\r\n title: PANEL_TITLE.speed,\r\n value: api.getPlaybackRate() + PANEL_TITLE.speedUnit,\r\n description: api.getPlaybackRate() + PANEL_TITLE.speedUnit,\r\n panelType: \"speed\",\r\n hasNext: true\r\n };\r\n panel.body.push(body);\r\n }\r\n if (sources && sources.length > 1) {\r\n\r\n let body = {\r\n title: PANEL_TITLE.source,\r\n value: currentSource ? currentSource.label : \"Default\",\r\n description: currentSource ? currentSource.label : \"Default\",\r\n panelType: \"source\",\r\n hasNext: true\r\n };\r\n\r\n panel.body.push(body);\r\n }\r\n if (qualityLevels && qualityLevels.length > 0) {\r\n\r\n let body = {\r\n title: PANEL_TITLE.quality,\r\n value: currentQuality ? currentQuality.label : \"Default\",\r\n description: currentQuality ? currentQuality.label : \"Default\",\r\n panelType: \"quality\",\r\n hasNext: true\r\n };\r\n\r\n panel.body.push(body);\r\n }\r\n\r\n if (audioTracks && audioTracks.length > 0) {\r\n\r\n let body = {\r\n title: PANEL_TITLE.audioTrack,\r\n value: currentAudioTrack ? currentAudioTrack.label : \"Default\",\r\n description: currentAudioTrack ? currentAudioTrack.label : \"Default\",\r\n panelType: \"audioTrack\",\r\n hasNext: true\r\n };\r\n\r\n panel.body.push(body);\r\n }\r\n\r\n if (captions && captions.length > 0) {\r\n\r\n let body = {\r\n title: PANEL_TITLE.caption,\r\n value: captions[currentCaption] ? captions[currentCaption].label : \"OFF\",\r\n description: captions[currentCaption] ? captions[currentCaption].label : \"OFF\",\r\n panelType: \"caption\",\r\n hasNext: true\r\n };\r\n\r\n panel.body.push(body);\r\n }\r\n if (framerate > 0) {\r\n let body = {\r\n title: PANEL_TITLE.display,\r\n value: api.isTimecodeMode() ? \"Play time\" : \"Framecode\",\r\n description: api.isTimecodeMode() ? \"Play time\" : \"Framecode\",\r\n panelType: \"display\",\r\n hasNext: true\r\n };\r\n\r\n panel.body.push(body);\r\n }\r\n\r\n return panel;\r\n };\r\n\r\n const onRendered = function ($current, template) {\r\n };\r\n const onDestroyed = function (template) {\r\n };\r\n const events = {\r\n \"click .op-setting-button\": function (event, $current, template) {\r\n event.preventDefault();\r\n let $parent = $current.closest(\".op-controls-container\");\r\n if (panelManager.size() > 0) {\r\n panelManager.clear();\r\n } else {\r\n let panelData = generateMainData(api);\r\n panelManager.add(Panels($parent, api, panelData));\r\n }\r\n },\r\n };\r\n\r\n return OvenTemplate($container, \"SettingButton\", api.getConfig(), null, events, onRendered, onDestroyed);\r\n};\r\n\r\n\r\nexport default SettingButton;\r\n","/**\r\n * Created by hoho on 2018. 7. 20..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport PlayButton from \"view/components/controls/playButton\";\r\nimport SettingButton from \"view/components/controls/settingButton\";\r\nimport FrameButtons from \"view/components/controls/frameButtons\";\r\nimport VolumeButton from \"view/components/controls/volumeButton\";\r\nimport ProgressBar from \"view/components/controls/progressBar\";\r\nimport PlaylistPanel from \"view/components/controls/playlistPanel\";\r\nimport LA$ from 'utils/likeA$';\r\nimport TimeDisplay from \"view/components/controls/timeDisplay\";\r\nimport FullScreenButton from \"view/components/controls/fullScreenButton\";\r\nimport {\r\n READY,\r\n CONTENT_META, CONTENT_LEVEL_CHANGED, CONTENT_TIME_MODE_CHANGED, CONTENT_TIME, PLAYER_PLAY,\r\n STATE_AD_LOADED,\r\n PLAYER_RESIZED,\r\n AD_CHANGED,\r\n STATE_AD_ERROR,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n STATE_AD_COMPLETE,\r\n CONTENT_SOURCE_CHANGED,\r\n OME_P2P_MODE,\r\n ERROR,\r\n PROVIDER_HLS,\r\n PLAYER_WEBRTC_WS_ERROR\r\n} from \"api/constants\";\r\n\r\nconst Controls = function ($container, api) {\r\n\r\n let volumeButton = \"\", playButton = \"\", settingButton = \"\", progressBar = \"\", timeDisplay = \"\",\r\n fullScreenButton = \"\", frameButtons = \"\", hasPlaylist = false, initialDuration;\r\n let uiInited = false;\r\n let webrtc_is_p2p_mode = false;\r\n let isLiveMode = false;\r\n\r\n let browser = api.getConfig().browser;\r\n let isAndroid = browser.os === \"Android\";\r\n let isIOS = browser.os === \"iOS\";\r\n\r\n const $root = LA$(api.getContainerElement());\r\n let lastContentMeta = {};\r\n\r\n hasPlaylist = api.getPlaylist().length > 1;\r\n\r\n if (api.getConfig().hidePlaylistIcon === true) {\r\n hasPlaylist = false;\r\n }\r\n\r\n let playlistPanel = \"\";\r\n\r\n const onRendered = function ($current, template) {\r\n\r\n function setPanelMaxHeight() {\r\n if ($root.find(\".op-setting-panel\")) {\r\n $root.find(\".op-setting-panel\").css(\"max-height\", $root.height() - $root.find(\".op-bottom-panel\").height() + \"px\");\r\n }\r\n }\r\n\r\n function initTimeDisplay(data) {\r\n if (timeDisplay) {\r\n timeDisplay.destroy();\r\n }\r\n timeDisplay = TimeDisplay($current.find(\".op-left-controls\"), api, data);\r\n }\r\n\r\n function initProgressBar(isAd, meta) {\r\n if (progressBar) {\r\n progressBar.destroy();\r\n }\r\n progressBar = ProgressBar($current.find(\".op-progressbar-container\"), api, isAd, meta);\r\n }\r\n\r\n function initFrameJumpButtons() {\r\n if (frameButtons) {\r\n frameButtons.destroy();\r\n }\r\n frameButtons = FrameButtons($current.find(\".op-controls\"), api);\r\n }\r\n\r\n function initSettingButton() {\r\n if (settingButton) {\r\n settingButton.destroy();\r\n }\r\n settingButton = SettingButton($current.find(\".setting-holder\"), api);\r\n }\r\n\r\n function initFullscreenButton() {\r\n if (fullScreenButton) {\r\n // Don't need to destroy.\r\n return;\r\n // fullScreenButton.destroy();\r\n }\r\n fullScreenButton = FullScreenButton($current.find(\".fullscreen-holder\"), api);\r\n }\r\n\r\n function makeControlUI(metadata) {\r\n\r\n if (metadata.duration > 9000000000000000) {\r\n\r\n metadata.duration = Infinity;\r\n }\r\n\r\n let sectionStart = api.getSources()[api.getCurrentSource()].sectionStart;\r\n let sectionEnd = api.getSources()[api.getCurrentSource()].sectionEnd;\r\n\r\n if (sectionEnd) {\r\n metadata.duration = sectionEnd;\r\n }\r\n\r\n if (sectionStart) {\r\n metadata.duration = metadata.duration - sectionStart;\r\n }\r\n\r\n initTimeDisplay(metadata);\r\n initFullscreenButton();\r\n\r\n if (api.getFramerate && api.getFramerate() > 0) {\r\n // initFrameJumpButtons();\r\n } else {\r\n if (frameButtons) {\r\n frameButtons.destroy();\r\n }\r\n }\r\n\r\n if (metadata.duration === Infinity) {\r\n\r\n //live\r\n OvenPlayerConsole.log(\"[[[[LIVE MODE]]]]\");\r\n isLiveMode = true;\r\n\r\n if (metadata.type === PROVIDER_HLS) {\r\n // show progress bar when hls\r\n initProgressBar(false, metadata);\r\n } else {\r\n if (progressBar) {\r\n progressBar.destroy();\r\n }\r\n }\r\n } else {\r\n //vod\r\n initProgressBar(false);\r\n }\r\n\r\n uiInited = true;\r\n }\r\n\r\n function resetControlUI() {\r\n\r\n if (timeDisplay) {\r\n timeDisplay.destroy();\r\n }\r\n\r\n if (progressBar) {\r\n progressBar.destroy();\r\n }\r\n\r\n initSettingButton();\r\n initFullscreenButton();\r\n\r\n $root.removeClass(\"linear-ad\");\r\n }\r\n\r\n playButton = PlayButton($current.find(\".op-left-controls\"), api);\r\n volumeButton = VolumeButton($current.find(\".op-left-controls\"), api);\r\n\r\n let playlist = api.getPlaylist();\r\n let currentPlaylistIndex = api.getCurrentPlaylist();\r\n\r\n if (playlist && playlist[currentPlaylistIndex] && playlist[currentPlaylistIndex].adTagUrl) {\r\n //does not show setting button when ads plays.\r\n } else {\r\n initSettingButton();\r\n }\r\n initFullscreenButton();\r\n\r\n api.on(READY, function () {\r\n $current.show();\r\n }, template);\r\n\r\n\r\n api.on(CONTENT_META, function (data) {\r\n initialDuration = data.duration;\r\n lastContentMeta = data;\r\n data.isP2P = webrtc_is_p2p_mode;\r\n makeControlUI(data);\r\n }, template);\r\n\r\n /*\r\n * I think do not nessessary this code anymore. Because muted play solves everything. 2019-06-04\r\n *\r\n * -> muted play canceled. 2019-06-20(?)\r\n */\r\n api.on(CONTENT_TIME, function (metadata_for_when_after_playing) {\r\n\r\n //Android HLS native doesn't give duration on CONTENT_META. why?\r\n //Fortunately I have CONTENT_TIME.\r\n //RTMP too.\r\n if (isAndroid || (api && api.getProviderName && api.getProviderName() === \"rtmp\")) {\r\n if (!initialDuration && (lastContentMeta && (lastContentMeta.duration !== metadata_for_when_after_playing.duration))) {\r\n lastContentMeta = metadata_for_when_after_playing;\r\n makeControlUI(metadata_for_when_after_playing);\r\n }\r\n }\r\n\r\n }, template);\r\n\r\n api.on(PLAYER_RESIZED, function (size) {\r\n setPanelMaxHeight();\r\n }, template);\r\n\r\n api.on(OME_P2P_MODE, function (isP2P) {\r\n webrtc_is_p2p_mode = isP2P;\r\n }, template);\r\n\r\n api.on(PLAYER_PLAY, function () {\r\n if (!uiInited) {\r\n\r\n let type = '';\r\n\r\n if (api.getSources().length > 0) {\r\n\r\n if (api.getSources()[api.getCurrentSource()]) {\r\n\r\n if (api.getSources()[api.getCurrentSource()].type) {\r\n type = api.getSources()[api.getCurrentSource()].type;\r\n }\r\n }\r\n }\r\n\r\n makeControlUI({\r\n isP2P: webrtc_is_p2p_mode,\r\n duration: api.getDuration(),\r\n type: type\r\n });\r\n }\r\n $current.show();\r\n }, template);\r\n\r\n api.on(ERROR, function (error) {\r\n $current.show();\r\n }, template);\r\n\r\n api.on(AD_CHANGED, function (ad) {\r\n if (ad.isLinear) {\r\n $root.addClass(\"linear-ad\");\r\n\r\n initProgressBar(true);\r\n if (timeDisplay) {\r\n timeDisplay.destroy();\r\n }\r\n if (settingButton) {\r\n settingButton.destroy();\r\n }\r\n\r\n //Fullscreen button. Not required on iOS.\r\n if (isIOS && fullScreenButton) {\r\n fullScreenButton.destroy();\r\n }\r\n } else {\r\n $root.removeClass(\"linear-ad\");\r\n }\r\n }, template);\r\n\r\n\r\n api.on(STATE_AD_COMPLETE, function () {\r\n resetControlUI();\r\n }, template);\r\n\r\n api.on(STATE_AD_ERROR, function () {\r\n resetControlUI();\r\n }, template);\r\n\r\n api.on(CONTENT_SOURCE_CHANGED, function () {\r\n resetControlUI();\r\n }, template);\r\n };\r\n\r\n const onDestroyed = function (template) {\r\n api.off(CONTENT_META, null, template);\r\n api.off(CONTENT_TIME, null, template);\r\n api.off(STATE_AD_COMPLETE, null, template);\r\n api.off(AD_CHANGED, null, template);\r\n api.off(OME_P2P_MODE, null, template);\r\n api.off(STATE_AD_ERROR, null, template);\r\n api.off(PLAYER_RESIZED, null, template);\r\n api.off(CONTENT_SOURCE_CHANGED, null, template);\r\n if (timeDisplay) {\r\n timeDisplay.destroy();\r\n }\r\n if (playButton) {\r\n playButton.destroy();\r\n }\r\n if (progressBar) {\r\n progressBar.destroy();\r\n }\r\n if (fullScreenButton) {\r\n fullScreenButton.destroy();\r\n }\r\n if (volumeButton) {\r\n volumeButton.destroy();\r\n }\r\n\r\n };\r\n\r\n const events = {\r\n \"mouseleave .op-controls\": function (event, $current, template) {\r\n event.preventDefault();\r\n volumeButton.setMouseDown(false);\r\n $current.find(\".op-volume-slider-container\").removeClass(\"active\");\r\n },\r\n\r\n \"click .op-playlist-button\": function (event, $current, template) {\r\n event.preventDefault();\r\n playlistPanel = PlaylistPanel($current, api);\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"Controls\", api.getConfig(), hasPlaylist, events, onRendered, onDestroyed);\r\n};\r\n\r\nexport default Controls;\r\n","/**\r\n * Created by hoho on 06/03/2019.\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport {naturalHms} from \"utils/strings\"\r\nimport {playlistItemTemplate} from \"view/components/controls/playlistPanelTemplate\";\r\nimport LA$ from \"utils/likeA$\";\r\nimport {\r\n PLAYER_RESIZED,\r\n PLAYLIST_CHANGED\r\n} from \"api/constants\";\r\n\r\nconst PlaylistPanel = function($container, api){\r\n const $root = LA$(api.getContainerElement());\r\n\r\n let $playlistPanel = \"\";\r\n let playlist = api.getPlaylist();\r\n let totalCount = playlist.length;\r\n\r\n let pageSize = 6;\r\n let page = 0;\r\n let pagedList = [];\r\n\r\n if($root.width() > 576){\r\n pageSize = 6;\r\n }else if($root.width() <= 576) {\r\n pageSize = 1;\r\n }\r\n\r\n function pagenate(page){\r\n let totalPageCount = Math.ceil(totalCount / pageSize);\r\n let currentPlaylistIndex = api.getCurrentPlaylist();\r\n\r\n pagedList = playlist.slice(page*pageSize, (page*pageSize)+pageSize);\r\n\r\n $playlistPanel.find(\".op-playlist-body-row\").removeChild();\r\n $playlistPanel.find(\".op-arrow-left\").removeClass(\"disable\");\r\n $playlistPanel.find(\".op-arrow-right\").removeClass(\"disable\");\r\n\r\n for(let i = 0; i < pagedList.length; i ++){\r\n let originalItemIndex = (page * pageSize) + i;\r\n pagedList[i].index = originalItemIndex;\r\n $playlistPanel.find(\".op-playlist-body-row\").get().append(\r\n createAndSelectElement(playlistItemTemplate(pagedList[i], currentPlaylistIndex === originalItemIndex))\r\n );\r\n }\r\n\r\n if(page === 0){\r\n $playlistPanel.find(\".op-arrow-left\").addClass(\"disable\");\r\n }\r\n if(page+1 === totalPageCount){\r\n $playlistPanel.find(\".op-arrow-right\").addClass(\"disable\");\r\n }\r\n };\r\n function findCurrentPage(){\r\n let currentPlaylistIndex = api.getCurrentPlaylist();\r\n return Math.ceil((currentPlaylistIndex+1)/ pageSize) -1\r\n };\r\n function createAndSelectElement(html) {\r\n const newElement = document.createElement('div');\r\n newElement.innerHTML = html;\r\n return newElement.firstChild;\r\n }\r\n const onRendered = function($current, template){\r\n $playlistPanel = $current;\r\n\r\n page = findCurrentPage();\r\n pagenate(page);\r\n\r\n api.on(PLAYER_RESIZED, function(size){\r\n if( (size === \"xsmall\") && pageSize === 6 ){\r\n pageSize = 1;\r\n page = findCurrentPage();\r\n pagenate(page);\r\n }else if((size === \"small\" || size === \"medium\" || size === \"large\") && pageSize === 1){\r\n pageSize = 6;\r\n page = findCurrentPage();\r\n pagenate(page);\r\n }\r\n },template);\r\n\r\n api.on(PLAYLIST_CHANGED, function(size){\r\n page = findCurrentPage();\r\n pagenate(page);\r\n },template);\r\n\r\n\r\n //돔에서 엘리먼트가 제거되면 이벤트도 같이 제거 되어 버리기 때문에 일단 이렇게 해당 템플릿내에서만 live 되도록 처리. 추후 TemplateEngine에 개선\r\n $current.get().addEventListener(\"click\",function(evt){\r\n var gtarget = evt.target;\r\n while (gtarget){\r\n if (LA$(gtarget).hasClass(\"op-playlist-card\")){\r\n api.setCurrentPlaylist(parseInt(LA$(gtarget).attr(\"data-index\")));\r\n return;\r\n }\r\n gtarget = gtarget.parentElement;\r\n }\r\n }, true);\r\n\r\n };\r\n const onDestroyed = function(template){\r\n api.off(PLAYER_RESIZED, null, template);\r\n api.off(PLAYLIST_CHANGED, null, template);\r\n };\r\n const events = {\r\n \"click .btn-close\" : function(event, $current, template){\r\n event.preventDefault();\r\n template.destroy();\r\n\r\n },\r\n \"click .op-arrow-left\" : function(event, $current, template){\r\n event.preventDefault();\r\n if( !LA$(event.target).hasClass(\"disable\") ){\r\n page--;\r\n pagenate(page);\r\n }\r\n },\r\n \"click .op-arrow-right\" : function(event, $current, template){\r\n event.preventDefault();\r\n if( !LA$(event.target).hasClass(\"disable\") ){\r\n page++;\r\n pagenate(page);\r\n }\r\n }/*,\r\n \"click .op-playlist-card\" : function(event, $current, template){\r\n event.preventDefault();\r\n }*/\r\n };\r\n\r\n return OvenTemplate($container, \"PlaylistPanel\", api.getConfig(), playlist, events, onRendered, onDestroyed );\r\n};\r\n\r\nexport default PlaylistPanel;\r\n","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport { naturalHms } from \"utils/strings\"\r\nimport LA$ from \"utils/likeA$\";\r\nimport {\r\n CONTENT_TIME,\r\n CONTENT_BUFFER,\r\n AD_TIME,\r\n PROVIDER_HLS,\r\n PROVIDER_HTML5\r\n} from \"api/constants\";\r\n\r\nconst ProgressBar = function ($container, api, isAd, metadata) {\r\n const $root = LA$(api.getContainerElement());\r\n\r\n if (api.getConfig().disableSeekUI) {\r\n $container.addClass('op-progressbar-container-disabled');\r\n }\r\n\r\n let currentPlayingPosition = 0;\r\n let currentPlayingPercentage = 0;\r\n let currentLoadedPercentage = 0;\r\n\r\n let mouseInside = false, mouseDown = false;\r\n let panelManager = PanelManager();\r\n let adDuration = 0;\r\n let lastGridThumbnail = \"\";\r\n let durationForCalc = 0;\r\n\r\n let $progressBar = \"\",\r\n $progressLoad = \"\",\r\n $progressPlay = \"\",\r\n $progressHover = \"\",\r\n $knobContainer = \"\",\r\n $knob = \"\",\r\n knobWidth = 0,\r\n $time = \"\",\r\n $preview = \"\";\r\n\r\n let isMobile = api.getBrowser().mobile;\r\n\r\n const mediaElement = api.getMediaElement();\r\n\r\n let hlsLive = false;\r\n let nativeHlsLive = false;\r\n\r\n if (metadata && metadata.type === PROVIDER_HLS && metadata.duration === Infinity) {\r\n hlsLive = true;\r\n\r\n if (api.getProviderName() === PROVIDER_HTML5) {\r\n nativeHlsLive = true;\r\n }\r\n }\r\n\r\n function positionElements(percentage) {\r\n\r\n let progressBarWidth = $progressBar.width();\r\n let position = progressBarWidth * percentage;\r\n\r\n $progressPlay.css(\"width\", position + \"px\");\r\n $progressHover.css(\"left\", position + \"px\");\r\n\r\n let knobPostion = (progressBarWidth - knobWidth) * percentage;\r\n $knobContainer.css(\"left\", knobPostion + \"px\");\r\n\r\n currentPlayingPosition = position;\r\n currentPlayingPercentage = percentage;\r\n }\r\n\r\n function drawHoverProgress(percentage) {\r\n\r\n let progressBarWidth = $progressBar.width();\r\n let hoverPosition = progressBarWidth * percentage;\r\n $progressHover.css(\"width\", (percentage === 0 ? percentage : (hoverPosition - currentPlayingPosition)) + \"px\");\r\n\r\n }\r\n\r\n function drawLoadProgress(percentage) {\r\n\r\n let progressBarWidth = $progressBar.width();\r\n let loadPosition = progressBarWidth * percentage;\r\n\r\n $progressLoad.css(\"width\", loadPosition + \"px\");\r\n currentLoadedPercentage = percentage;\r\n }\r\n\r\n function calculatePercentage(event) {\r\n\r\n let progressBarWidth = $progressBar.width();\r\n let progressBarOffsetX = $progressBar.offset().left;\r\n\r\n let pointerOffsetX = event.pageX;\r\n\r\n if (event.touches) {\r\n\r\n pointerOffsetX = (event.pageX || event.touches[0].clientX);\r\n }\r\n\r\n let percentage = (pointerOffsetX - progressBarOffsetX) / progressBarWidth;\r\n\r\n if (percentage < 0) {\r\n return 0;\r\n }\r\n\r\n if (percentage > 1) {\r\n return 1;\r\n }\r\n\r\n return percentage;\r\n }\r\n\r\n function getNativeHlsDvrWindow() {\r\n return mediaElement.seekable.end(mediaElement.seekable.length - 1) - mediaElement.seekable.start(0);\r\n }\r\n\r\n function drawTimeIndicator(percentage, event) {\r\n if (panelManager.size() > 0 || percentage === -1) {\r\n $time.hide();\r\n $preview.hide();\r\n return;\r\n } else {\r\n $time.show();\r\n $preview.show();\r\n }\r\n\r\n if (hlsLive && !nativeHlsLive) {\r\n\r\n let duration = api.getDvrWindow();\r\n let second = duration * (1 - percentage);\r\n if (api.isTimecodeMode()) {\r\n $time.text('- ' + naturalHms(second));\r\n } else {\r\n $time.text('- ' + Math.round(second * api.getFramerate()));\r\n }\r\n } else if (hlsLive && nativeHlsLive) {\r\n\r\n let duration = getNativeHlsDvrWindow();\r\n let second = duration * (1 - percentage);\r\n if (api.isTimecodeMode()) {\r\n $time.text('- ' + naturalHms(second));\r\n } else {\r\n $time.text('- ' + Math.round(second * api.getFramerate()));\r\n }\r\n } else {\r\n\r\n let duration = api.getDuration();\r\n let second = duration * percentage;\r\n\r\n if (api.isTimecodeMode()) {\r\n $time.text(naturalHms(second));\r\n } else {\r\n $time.text(Math.round(second * api.getFramerate()));\r\n }\r\n }\r\n\r\n let timeElemWidth = $time.width();\r\n let progressBarWidth = $progressBar.width();\r\n let position = progressBarWidth * percentage;\r\n\r\n let positionOfPixel = event.pageX - $progressBar.offset().left;\r\n\r\n if (event.touches) {\r\n positionOfPixel = (event.pageX || event.touches[0].clientX) - $progressBar.offset().left;\r\n }\r\n\r\n\r\n const calculateMagnetic = function (elementWidth) {\r\n if (positionOfPixel < elementWidth / 2) {\r\n return 0;\r\n } else if (progressBarWidth - positionOfPixel < elementWidth / 2) {\r\n return progressBarWidth - elementWidth;\r\n } else {\r\n return position - elementWidth / 2;\r\n }\r\n };\r\n\r\n let magneticPosition = calculateMagnetic(timeElemWidth);\r\n $time.css(\"left\", magneticPosition + \"px\");\r\n\r\n if (api.getSources()[api.getCurrentSource()].gridThumbnail) {\r\n\r\n let interval = api.getConfig().gridThumbnail.thumbnailInterval;\r\n let width = api.getConfig().gridThumbnail.originalThumbnailWidth;\r\n let height = api.getConfig().gridThumbnail.originalThumbnailHeight;\r\n let columnCount = api.getConfig().gridThumbnail.columnCount;\r\n let rowCount = api.getConfig().gridThumbnail.rowCount;\r\n let scale = api.getConfig().gridThumbnail.resizeScale;\r\n\r\n $preview.css('width', width * scale + 'px');\r\n $preview.css('height', height * scale + 'px');\r\n $preview.css('background-size', width * scale * columnCount + 'px ' + height * scale * rowCount + 'px');\r\n\r\n let thumbnailNumber = Math.floor(second / interval);\r\n\r\n let imageNumber = Math.floor(thumbnailNumber / (columnCount * rowCount));\r\n\r\n let rowNumber = Math.floor((thumbnailNumber % (columnCount * rowCount)) / columnCount);\r\n let columnNumber = (thumbnailNumber % (columnCount * rowCount)) % columnCount;\r\n\r\n let left = -1 * columnNumber * width * scale;\r\n let top = -1 * rowNumber * height * scale;\r\n\r\n OvenPlayerConsole.log('Grid Thumbnail:', thumbnailNumber + ': ' + imageNumber + '(' + rowNumber + ', ' + columnNumber + ')');\r\n\r\n let thumbnails = api.getSources()[api.getCurrentSource()].gridThumbnail;\r\n let thumbnail = thumbnails[imageNumber];\r\n\r\n if (lastGridThumbnail !== thumbnail) {\r\n\r\n $preview.css('background-image', 'url(' + thumbnail + ')');\r\n lastGridThumbnail = thumbnail;\r\n }\r\n\r\n $preview.css('background-position', 'left ' + left + 'px top ' + top + 'px');\r\n\r\n let previewMagneticPosition = calculateMagnetic(width * scale);\r\n $preview.css(\"left\", previewMagneticPosition + \"px\");\r\n } else {\r\n\r\n $preview.hide();\r\n }\r\n }\r\n\r\n function seek(percentage) {\r\n\r\n let time = (durationForCalc || 0) * percentage;\r\n\r\n if (hlsLive && !nativeHlsLive) {\r\n\r\n // if latency control is on. temporarily disable latency control\r\n const config = api.getConfig();\r\n if (config.hlsConfig) {\r\n\r\n if (typeof config.hlsConfig.liveSyncDuration === 'number') {\r\n api.getMseInstance().config.liveSyncDuration = undefined;\r\n }\r\n\r\n if (typeof config.hlsConfig.liveMaxLatencyDuration === 'number') {\r\n api.getMseInstance().config.liveMaxLatencyDuration = undefined;\r\n }\r\n\r\n if (typeof config.hlsConfig.maxLiveSyncPlaybackRate === 'number') {\r\n api.getMseInstance().config.maxLiveSyncPlaybackRate = 1;\r\n }\r\n }\r\n\r\n time = (durationForCalc - api.getDvrWindow()) + api.getDvrWindow() * percentage;\r\n }\r\n\r\n if (hlsLive && nativeHlsLive) {\r\n const dvrWindow = getNativeHlsDvrWindow();\r\n time = (durationForCalc - dvrWindow) + dvrWindow * percentage;\r\n }\r\n\r\n let sectionStart = api.getSources()[api.getCurrentSource()].sectionStart;\r\n\r\n if (sectionStart && sectionStart > 0) {\r\n time = time + sectionStart;\r\n }\r\n\r\n api.seek(time);\r\n }\r\n\r\n\r\n const onRendered = function ($current, template) {\r\n\r\n $progressBar = $current;\r\n $progressLoad = $current.find(\".op-load-progress\");\r\n $progressPlay = $current.find(\".op-play-progress\");\r\n $progressHover = $current.find(\".op-hover-progress\");\r\n $knobContainer = $current.find(\".op-progressbar-knob-container\");\r\n $knob = $current.find(\".op-progressbar-knob\");\r\n knobWidth = $knob.width();\r\n $time = $current.find(\".op-progressbar-time\");\r\n $preview = $current.find(\".op-progressbar-preview\");\r\n\r\n if (isAd) {\r\n api.on(AD_TIME, function (data) {\r\n if (data && data.duration && data.position) {\r\n positionElements(data.position / data.duration);\r\n adDuration = data.duration;\r\n }\r\n }, template);\r\n } else {\r\n\r\n api.on(CONTENT_TIME, function (data) {\r\n if (data && data.duration && data.position) {\r\n\r\n durationForCalc = data.duration;\r\n let percentage = data.position / data.duration;\r\n\r\n if (hlsLive && !nativeHlsLive) {\r\n percentage = (api.getDvrWindow() - (data.duration - data.position)) / api.getDvrWindow();\r\n }\r\n\r\n if (hlsLive && nativeHlsLive) {\r\n const dvrWindow = getNativeHlsDvrWindow();\r\n durationForCalc = dvrWindow;\r\n const position = Math.min(dvrWindow, data.position);\r\n percentage = (dvrWindow - (dvrWindow - position)) / dvrWindow;\r\n }\r\n\r\n positionElements(percentage);\r\n }\r\n }, template);\r\n\r\n api.on(CONTENT_BUFFER, function (data) {\r\n if (data && data.bufferPercent) {\r\n drawLoadProgress(data.bufferPercent / 100);\r\n }\r\n }, template);\r\n }\r\n\r\n\r\n };\r\n const onDestroyed = function (template) {\r\n if (isAd) {\r\n api.off(AD_TIME, null, template);\r\n } else {\r\n api.off(CONTENT_TIME, null, template);\r\n api.off(CONTENT_BUFFER, null, template);\r\n }\r\n };\r\n let events = {\r\n \"touchstart .op-progressbar\": function (event) {\r\n\r\n if (isAd) {\r\n return false;\r\n }\r\n mouseDown = true;\r\n const percentage = calculatePercentage(event);\r\n\r\n if (percentage === -1) {\r\n return false;\r\n }\r\n\r\n positionElements(percentage);\r\n drawHoverProgress(0);\r\n seek(percentage);\r\n },\r\n \"touchmove .op-progressbar\": function (event) {\r\n\r\n if (mouseDown) {\r\n const percentage = calculatePercentage(event);\r\n\r\n if (percentage === -1) {\r\n return false;\r\n }\r\n\r\n positionElements(percentage);\r\n drawHoverProgress(0);\r\n seek(percentage);\r\n drawTimeIndicator(percentage, event);\r\n }\r\n },\r\n \"touchend .op-progressbar\": function (event) {\r\n\r\n if (mouseDown) {\r\n mouseDown = false;\r\n }\r\n\r\n $root.removeClass(\"op-progressbar-hover\");\r\n $time.hide();\r\n $preview.hide();\r\n\r\n },\r\n \"mouseenter .op-progressbar\": function (event, $current, template) {\r\n\r\n event.preventDefault();\r\n\r\n if (!isMobile) {\r\n if (!isAd) {\r\n mouseInside = true;\r\n $time.show();\r\n }\r\n $root.addClass(\"op-progressbar-hover\");\r\n }\r\n },\r\n \"mouseleave .op-progressbar\": function (event, $current, template) {\r\n\r\n event.preventDefault();\r\n\r\n mouseInside = false;\r\n mouseDown = false;\r\n\r\n if (!mouseInside) {\r\n $root.removeClass(\"op-progressbar-hover\");\r\n $time.hide();\r\n $preview.hide();\r\n }\r\n drawHoverProgress(0);\r\n },\r\n \"mousedown .op-progressbar\": function (event, $current, template) {\r\n\r\n event.preventDefault();\r\n\r\n if (isAd || isMobile) {\r\n return false;\r\n }\r\n\r\n mouseDown = true;\r\n const percentage = calculatePercentage(event);\r\n\r\n if (percentage === -1) {\r\n return false;\r\n }\r\n\r\n positionElements(percentage);\r\n drawHoverProgress(0);\r\n seek(percentage);\r\n },\r\n \"mousemove .op-progressbar\": function (event, $current, template) {\r\n\r\n event.preventDefault();\r\n\r\n if (!mouseDown && !isAd && !isMobile) {\r\n const percentage = calculatePercentage(event);\r\n drawHoverProgress(percentage);\r\n drawTimeIndicator(percentage, event);\r\n }\r\n\r\n if (mouseDown && !isMobile) {\r\n const percentage = calculatePercentage(event);\r\n\r\n if (percentage === -1) {\r\n return false;\r\n }\r\n positionElements(percentage);\r\n drawHoverProgress(0);\r\n seek(percentage);\r\n drawTimeIndicator(percentage, event);\r\n }\r\n },\r\n \"mouseup .op-progressbar\": function (event, $current, template) {\r\n\r\n event.preventDefault();\r\n\r\n if (mouseDown && !isMobile) {\r\n mouseDown = false;\r\n $root.removeClass(\"op-progressbar-hover\");\r\n }\r\n\r\n }\r\n };\r\n\r\n if (api.getConfig().disableSeekUI) {\r\n events = {}\r\n }\r\n\r\n return OvenTemplate($container, \"ProgressBar\", api.getConfig(), null, events, onRendered, onDestroyed);\r\n};\r\n\r\nexport default ProgressBar;\r\n","/**\r\n * Created by hoho on 2018. 7. 26..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport LA$ from \"utils/likeA$\";\r\nimport {\r\n AD_CHANGED,\r\n STATE_AD_COMPLETE,\r\n STATE_AD_LOADED,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n PLAYER_FULLSCREEN_CHANGED,\r\n PLAYER_FULLSCREEN_REQUEST\r\n} from \"api/constants\";\r\n\r\n\r\n\r\nconst FullScreenButton = function($container, api){\r\n const $root = LA$(api.getContainerElement());\r\n\r\n let $iconExpand = \"\", $iconCompress = \"\", isFullScreen = false;\r\n\r\n //ToDo : Template have to access Player Config.\r\n let config = api.getConfig();\r\n\r\n let browserInfo = api.getBrowser();\r\n let isIos = browserInfo.os === \"iOS\"; // && browserInfo.browser === \"Safari\";\r\n let isAndroid = browserInfo.os === \"Android\";\r\n let fullscreenChangedEventName = \"\"; //For IE11\r\n let isForceMode = false; //This means to look like for fullscreen.\r\n\r\n let fullScreenEventTypes = {\r\n onfullscreenchange : \"fullscreenchange\",\r\n onmozfullscreenchange : \"mozfullscreenchange\",\r\n onwebkitfullscreenchange : \"webkitfullscreenchange\",\r\n MSFullscreenChange : \"MSFullscreenChange\"\r\n };\r\n\r\n\r\n api.toggleFullScreen = toggleFullScreen;\r\n\r\n function checkFullScreen(){\r\n\r\n let fullScreen = false;\r\n\r\n const fullScreenElement = document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement;\r\n\r\n if (fullScreenElement) {\r\n\r\n if ($root.get() === fullScreenElement) {\r\n fullScreen = true;\r\n }\r\n }\r\n\r\n return fullScreen;\r\n\r\n };\r\n\r\n function resetFullscreenButtonState(){\r\n OvenPlayerConsole.log(\"FULLSCREEN STATE : \", checkFullScreen());\r\n if (checkFullScreen()) {\r\n $root.addClass(\"op-fullscreen\");\r\n isFullScreen = true;\r\n $iconExpand.hide();\r\n $iconCompress.show();\r\n\r\n } else {\r\n $root.removeClass(\"op-fullscreen\");\r\n isFullScreen = false;\r\n $iconExpand.show();\r\n $iconCompress.hide();\r\n }\r\n };\r\n\r\n function afterFullScreenChangedCallback(){\r\n OvenPlayerConsole.log(\"afterFullScreenChangedCallback () \");\r\n resetFullscreenButtonState();\r\n api.trigger(PLAYER_FULLSCREEN_CHANGED, isFullScreen);\r\n };\r\n\r\n function forcedFakeFullscreenToggle(){\r\n if(!isFullScreen){\r\n $root.addClass(\"op-fullscreen\");\r\n isFullScreen = true;\r\n $iconExpand.hide();\r\n $iconCompress.show();\r\n }else{\r\n $root.removeClass(\"op-fullscreen\");\r\n isFullScreen = false;\r\n $iconExpand.show();\r\n $iconCompress.hide();\r\n }\r\n api.trigger(PLAYER_FULLSCREEN_CHANGED, isFullScreen);\r\n };\r\n\r\n function findFullScreenChangedEventName(){\r\n let rootElement = $root.get();\r\n let eventName = \"\";\r\n //ios don;t have a fullscreenchange event. go to hell.\r\n //ios will checkFullScreen();\r\n\r\n if (rootElement.requestFullscreen) {\r\n eventName = fullScreenEventTypes.onfullscreenchange;\r\n } else if (rootElement.webkitRequestFullScreen) {\r\n eventName = fullScreenEventTypes.onwebkitfullscreenchange;\r\n } else if (rootElement.mozRequestFullScreen) {\r\n eventName = fullScreenEventTypes.onmozfullscreenchange;\r\n } else if (rootElement.msRequestFullscreen) {\r\n eventName = fullScreenEventTypes.MSFullscreenChange;\r\n }else{\r\n Object.keys(fullScreenEventTypes).forEach(event => {\r\n if(document[event]){\r\n eventName = fullScreenEventTypes[event];\r\n }\r\n });\r\n }\r\n return eventName;\r\n\r\n //This is original Code. IE11 doesn't follow rules. go to hell. IE11 returns \"fullscreenchange\". :(\r\n /*\r\n Object.keys(fullScreenEventTypes).forEach(eventName => {\r\n if(document[eventName]){\r\n console.log(eventName);\r\n document.addEventListener(fullScreenEventTypes[eventName], afterFullScreenChangedCallback, false);\r\n }\r\n });\r\n */\r\n };\r\n\r\n function requestFullScreen() {\r\n\r\n let promise = \"\";\r\n let rootElement = $root.get();\r\n let videoElements = $root.find(\"video\") ? $root.find(\"video\").get() : rootElement;\r\n let videoElement, adVideoElement = null;\r\n if(isIos){\r\n //IOS ad makes two video elements. one is original video other is ad. i need kick ass to ios.\r\n if(videoElements.length > 1){\r\n for(let i = 0; i < videoElements.length; i ++){\r\n let videoTitle = videoElements[i].getAttribute(\"title\");\r\n if(videoTitle && videoTitle === \"Advertisement\"){\r\n adVideoElement = videoElements[i];\r\n }else{\r\n videoElement = videoElements[i];\r\n }\r\n }\r\n }else{\r\n videoElement = videoElements;\r\n }\r\n if(adVideoElement && api.getState() === STATE_AD_LOADED || api.getState() === STATE_AD_PLAYING || api.getState() === STATE_AD_PAUSED){\r\n if (adVideoElement.webkitEnterFullScreen){\r\n promise = adVideoElement.webkitEnterFullScreen();\r\n isFullScreen = true;\r\n }\r\n }else{\r\n if (videoElement.webkitEnterFullScreen){\r\n promise = videoElement.webkitEnterFullScreen();\r\n isFullScreen = true;\r\n }\r\n }\r\n }else{\r\n if (rootElement.requestFullscreen) {\r\n var fullScreenOption = api.getConfig().fullscreenOption;\r\n promise = rootElement.requestFullscreen(fullScreenOption);\r\n } else if (rootElement.webkitRequestFullScreen) {\r\n promise = rootElement.webkitRequestFullScreen();\r\n } else if (rootElement.mozRequestFullScreen) {\r\n promise = rootElement.mozRequestFullScreen();\r\n } else if (rootElement.msRequestFullscreen) {\r\n promise = rootElement.msRequestFullscreen();\r\n }else {\r\n // TODO(rock): warn not supported\r\n }\r\n\r\n //ToDo : Why occured this error?\r\n //TypeError: Failed to execute 'requestFullscreen' on 'Element': Illegal invocation\r\n /*\r\n let sumOfRequestFullscreen = rootElement.requestFullscreen || rootElement.webkitRequestFullScreen ||\r\n rootElement.mozRequestFullScreen || rootElement.msRequestFullscreen || videoElement.webkitEnterFullScreen;\r\n if(sumOfRequestFullscreen){\r\n promise = sumOfRequestFullscreen();\r\n }\r\n */\r\n }\r\n\r\n if(promise){\r\n\r\n promise.then(function(){\r\n\r\n isFullScreen = true;\r\n isForceMode = false;\r\n //config.setFullscreen(true);\r\n\r\n }).catch(function(error){\r\n //This means to look like for fullscreen.\r\n isForceMode = true;\r\n forcedFakeFullscreenToggle();\r\n\r\n\r\n //wait for User Interaction. It runs Chrome only.\r\n //Because \"fullscreen error\" occures Chrome.\r\n //Firefox can't runs this routine because \"Element.requestFullscreen()이 짧게 실행되는 사용자 생성 이벤트 핸들러의 내부로부터 호출되지 않았기 때문에 전체화면 요청이 거부되었습니다.\".\r\n /*if(error.message === \"fullscreen error\"){\r\n setTimeout(function(){\r\n requestFullScreen();\r\n },500);\r\n }*/\r\n });\r\n }\r\n };\r\n function exitFullScreen() {\r\n\r\n let promise = \"\";\r\n\r\n if (document.exitFullscreen) {\r\n promise = document.exitFullscreen();\r\n } else if (document.webkitExitFullscreen) {\r\n promise = document.webkitExitFullscreen();\r\n } else if (document.webkitExitFullScreen) {\r\n promise = document.webkitExitFullScreen();\r\n } else if (document.mozCancelFullScreen) {\r\n promise = document.mozCancelFullScreen();\r\n } else if (document.msExitFullscreen) {\r\n promise = document.msExitFullscreen();\r\n } else {\r\n // TODO(rock): warn not supported\r\n }\r\n\r\n if(promise){\r\n\r\n promise.then(function(){\r\n\r\n isFullScreen = false;\r\n\r\n }).catch(function(error){\r\n\r\n });\r\n }\r\n\r\n }\r\n function toggleFullScreen() {\r\n\r\n if (!isFullScreen || (isIos && !checkFullScreen())) {\r\n requestFullScreen();\r\n } else {\r\n if(isForceMode){\r\n forcedFakeFullscreenToggle();\r\n }else{\r\n exitFullScreen();\r\n }\r\n }\r\n };\r\n\r\n const onRendered = function($current, template){\r\n $iconExpand = $current.find(\".op-fullscreen-expand\");\r\n $iconCompress = $current.find(\".op-fullscreen-compress\");\r\n\r\n resetFullscreenButtonState();\r\n\r\n fullscreenChangedEventName = findFullScreenChangedEventName();\r\n if(fullscreenChangedEventName){\r\n document.addEventListener(fullscreenChangedEventName, afterFullScreenChangedCallback, false);\r\n }\r\n\r\n api.on(AD_CHANGED, function(ad){\r\n //force close for ios midroll\r\n let videoElements = $root.find(\"video\") ? $root.find(\"video\").get() : $root.get();\r\n let videoElement, adVideoElement = null;\r\n\r\n if(ad.isLinear && isIos && isFullScreen ){\r\n if(videoElements.length > 1){\r\n for(let i = 0; i < videoElements.length; i ++){\r\n let videoTitle = videoElements[i].getAttribute(\"title\");\r\n if(videoTitle && videoTitle === \"Advertisement\"){\r\n adVideoElement = videoElements[i];\r\n }else{\r\n videoElement = videoElements[i];\r\n }\r\n }\r\n }else{\r\n videoElement = videoElements;\r\n }\r\n if(videoElement && videoElement.webkitExitFullscreen){\r\n videoElement.webkitExitFullscreen();\r\n isFullScreen = false;\r\n }\r\n }\r\n }, template);\r\n };\r\n\r\n\r\n const onDestroyed = function(template){\r\n if (fullscreenChangedEventName){\r\n document.removeEventListener(fullscreenChangedEventName, afterFullScreenChangedCallback);\r\n }\r\n\r\n api.off(AD_CHANGED, null, template);\r\n };\r\n const events = {\r\n \"click .op-fullscreen-button\" : function(event, $current, template){\r\n event.preventDefault();\r\n api.trigger(PLAYER_FULLSCREEN_REQUEST, null);\r\n toggleFullScreen();\r\n }\r\n };\r\n return OvenTemplate($container, \"FullScreenButton\", api.getConfig(), null, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default FullScreenButton;\r\n","/**\r\n * Created by hoho on 2018. 7. 25..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport { naturalHms } from \"utils/strings\";\r\nimport {\r\n CONTENT_TIME,\r\n CONTENT_TIME_MODE_CHANGED,\r\n PROVIDER_HLS,\r\n PROVIDER_HTML5\r\n} from \"api/constants\";\r\n\r\nconst TimeDisplay = function ($container, api, data) {\r\n\r\n let $position = \"\", $duration = \"\", $liveBadge = \"\", $liveText = \"\";\r\n\r\n const mediaElement = api.getMediaElement();\r\n\r\n let hlsLive = false;\r\n let nativeHlsLive = false;\r\n\r\n function convertHumanizeTime(time) {\r\n return naturalHms(time);\r\n }\r\n\r\n\r\n function getNativeHlsDvrWindow() {\r\n return mediaElement.seekable.end(mediaElement.seekable.length - 1) - mediaElement.seekable.start(0);\r\n }\r\n\r\n const onRendered = function ($current, template) {\r\n let isTimecode = api.isTimecodeMode();\r\n $position = $current.find(\".op-time-current\");\r\n $duration = $current.find(\".op-time-duration\");\r\n $liveBadge = $current.find(\".op-live-badge\");\r\n $liveText = $current.find(\".op-live-text\");\r\n\r\n if (data && data.type === PROVIDER_HLS && data.duration === Infinity) {\r\n hlsLive = true;\r\n\r\n if (api.getProviderName() === PROVIDER_HTML5) {\r\n nativeHlsLive = true;\r\n }\r\n }\r\n\r\n if (data.duration !== Infinity) {\r\n\r\n if (isTimecode) {\r\n $duration.text(convertHumanizeTime(data.duration));\r\n } else {\r\n $duration.text(Math.round(data.duration * api.getFramerate()) + \" (\" + api.getFramerate() + \"fps)\");\r\n }\r\n\r\n api.on(CONTENT_TIME_MODE_CHANGED, function (isTimecodeMode) {\r\n isTimecode = isTimecodeMode;\r\n if (isTimecode) {\r\n $duration.text(convertHumanizeTime(data.duration));\r\n } else {\r\n $duration.text(Math.round(data.duration * api.getFramerate()) + \" (\" + api.getFramerate() + \"fps)\");\r\n }\r\n }, template);\r\n\r\n api.on(CONTENT_TIME, function (data) {\r\n if (isTimecode) {\r\n $position.text(convertHumanizeTime(data.position));\r\n } else {\r\n $position.text(Math.round(data.position * api.getFramerate()));\r\n }\r\n }, template);\r\n } else {\r\n if (hlsLive && !nativeHlsLive) {\r\n api.on(CONTENT_TIME, function (data) {\r\n\r\n if (data.duration - data.position > 3) {\r\n $liveBadge.addClass('op-live-badge-delayed');\r\n } else {\r\n $liveBadge.removeClass('op-live-badge-delayed');\r\n }\r\n\r\n }, template);\r\n } else if (hlsLive && nativeHlsLive) {\r\n\r\n api.on(CONTENT_TIME, function (data) {\r\n const dvrWindow = getNativeHlsDvrWindow();\r\n if (dvrWindow - data.position > 3) {\r\n $liveBadge.addClass('op-live-badge-delayed');\r\n } else {\r\n $liveBadge.removeClass('op-live-badge-delayed');\r\n }\r\n\r\n }, template);\r\n }\r\n }\r\n\r\n };\r\n\r\n const onDestroyed = function (template) {\r\n api.off(CONTENT_TIME_MODE_CHANGED, null, template);\r\n api.off(CONTENT_TIME, null, template);\r\n };\r\n const events = {\r\n \"click .op-live-text\": function (event, $current, template) {\r\n\r\n event.preventDefault();\r\n\r\n api.seek(Number.MAX_SAFE_INTEGER);\r\n\r\n //When playback get back to the latest, turn the latency control back on.\r\n const config = api.getConfig();\r\n if (config.hlsConfig) {\r\n\r\n const hlsConfig = config.hlsConfig;\r\n if (typeof hlsConfig.liveSyncDuration === 'number') {\r\n api.getMseInstance().config.liveSyncDuration\r\n = hlsConfig.liveSyncDuration;\r\n }\r\n\r\n if (typeof hlsConfig.liveMaxLatencyDuration === 'number') {\r\n api.getMseInstance().config.liveMaxLatencyDuration\r\n = hlsConfig.liveMaxLatencyDuration;\r\n }\r\n\r\n if (typeof hlsConfig.maxLiveSyncPlaybackRate === 'number') {\r\n api.getMseInstance().config.maxLiveSyncPlaybackRate =\r\n hlsConfig.maxLiveSyncPlaybackRate;\r\n }\r\n }\r\n },\r\n };\r\n\r\n return OvenTemplate($container, \"TimeDisplay\", api.getConfig(), data, events, onRendered, onDestroyed);\r\n};\r\n\r\n\r\nexport default TimeDisplay;\r\n","/**\r\n * Created by hoho on 2018. 7. 24..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport {\r\n ERROR,\r\n STATE_IDLE,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED,\r\n STATE_ERROR,\r\n PLAYER_STATE,\r\n STATE_AD_LOADED,\r\n STATE_AD_PLAYING,\r\n STATE_AD_PAUSED,\r\n STATE_AD_COMPLETE,\r\n} from \"api/constants\";\r\n\r\nconst PlayButton = function ($container, api) {\r\n let $iconPlay = \"\",\r\n $iconPause = \"\",\r\n $iconReplay = \"\",\r\n $buttonBack = \"\",\r\n $buttonForward = \"\",\r\n $textBack = \"\",\r\n $textForward = \"\";\r\n\r\n\r\n\r\n function setButtonState(state){\r\n $iconPlay.hide();\r\n $iconPause.hide();\r\n $iconReplay.hide();\r\n if(state === STATE_PLAYING || state === STATE_AD_PLAYING || state === STATE_LOADING || state === STATE_STALLED){\r\n $iconPause.show();\r\n }else if(state === STATE_PAUSED || state === STATE_AD_PAUSED){\r\n $iconPlay.show();\r\n }else if(state === STATE_COMPLETE){\r\n $iconReplay.show();\r\n }else{\r\n $iconPlay.show();\r\n }\r\n };\r\n\r\n\r\n\r\n const onRendered = function($current, template){\r\n $iconPlay = $current.find(\".op-play-button .op-play\");\r\n $iconPause = $current.find(\".op-play-button .op-pause\");\r\n $iconReplay = $current.find(\".op-play-button .op-replay\");\r\n $buttonBack = $current.find('.op-seek-button-back');\r\n $buttonForward = $current.find('.op-seek-button-forward');\r\n $textBack = $current.find('.op-seek-back-text');\r\n $textForward = $current.find('.op-seek-forward-text');\r\n\r\n api.on(PLAYER_STATE, function(data){\r\n if(data && data.newstate){\r\n setButtonState(data.newstate);\r\n }\r\n }, template);\r\n\r\n if (!api.getConfig().showSeekControl) {\r\n $buttonBack.hide();\r\n $buttonForward.hide();\r\n }\r\n\r\n let seekInterval = api.getConfig().seekControlInterval;\r\n\r\n if (seekInterval) {\r\n\r\n $textBack.text(seekInterval);\r\n $textForward.text(seekInterval);\r\n } else {\r\n\r\n $textBack.text(10);\r\n $textForward.text(10);\r\n }\r\n };\r\n const onDestroyed = function(template){\r\n api.off(PLAYER_STATE, null, template);\r\n };\r\n const events = {\r\n \"click .op-play-button\" : function(event, $current, template){\r\n event.preventDefault();\r\n let currentState = api.getState();\r\n let playlist = api.getPlaylist();\r\n let currentPlaylistIndex = api.getCurrentPlaylist();\r\n\r\n if (currentState === STATE_IDLE) {\r\n api.play();\r\n } else if (currentState === STATE_PLAYING || currentState === STATE_AD_PLAYING) {\r\n api.pause();\r\n } else if (currentState === STATE_LOADING || currentState === STATE_STALLED) {\r\n api.stop();\r\n } else if (currentState === STATE_PAUSED || currentState === STATE_AD_PAUSED) {\r\n api.play();\r\n } else if (currentState === STATE_ERROR) {\r\n api.setCurrentSource(api.getCurrentSource());\r\n } else if (currentState === STATE_COMPLETE) {\r\n if(playlist.length === (currentPlaylistIndex+1)){\r\n api.seek(0);\r\n api.play();\r\n }\r\n }\r\n },\r\n \"click .op-seek-button-back\" : function(event, $current, template) {\r\n\r\n let seekInterval = api.getConfig().seekControlInterval;\r\n\r\n if (!seekInterval) {\r\n seekInterval = 10;\r\n }\r\n\r\n let time = api.getPosition() - seekInterval;\r\n\r\n if (time < 0) {\r\n time = 0;\r\n }\r\n\r\n api.seek(time);\r\n },\r\n \"click .op-seek-button-forward\" : function(event, $current, template) {\r\n\r\n let seekInterval = api.getConfig().seekControlInterval;\r\n\r\n if (!seekInterval) {\r\n seekInterval = 10;\r\n }\r\n\r\n let time = api.getPosition() + seekInterval;\r\n\r\n if (time > api.getDuration()) {\r\n time = api.getDuration();\r\n }\r\n\r\n api.seek(time);\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"PlayButton\", api.getConfig(), null, events, onRendered, onDestroyed );\r\n};\r\n\r\nexport default PlayButton;\r\n","/**\r\n * Created by hoho on 2018. 7. 20..\r\n */\r\nimport OvenTemplate from \"view/engine/OvenTemplate\";\r\nimport {\r\n READY,\r\n CONTENT_VOLUME,\r\n CONTENT_MUTE\r\n} from \"api/constants\";\r\nimport {PLAYER_PLAY} from \"../../../api/constants\";\r\n\r\nconst VolumeButton = function($container, api){\r\n\r\n let $sliderContainer = \"\",\r\n $slider = \"\",\r\n $sliderHandle = \"\",\r\n $sliderValue = \"\",\r\n $volumeIconBig = \"\",\r\n $volumeIconSmall = \"\",\r\n $volumeIconMute = \"\";\r\n let mouseDown = false;\r\n let sliderWidth = 70, handleWidth = 12, minRange = 0, maxRange = 0;\r\n\r\n let isMobile = api.getBrowser().os === \"iOS\" || api.getBrowser().os === \"Android\";\r\n\r\n\r\n function setVolumeIcon(percentage) {\r\n $volumeIconBig.hide();\r\n $volumeIconSmall.hide();\r\n $volumeIconMute.hide();\r\n\r\n if (percentage >= 70) {\r\n $volumeIconBig.show();\r\n } else if (percentage < 70 && percentage > 0) {\r\n $volumeIconSmall.show();\r\n } else if (percentage == 0) {\r\n $volumeIconMute.show();\r\n }else{\r\n $volumeIconBig.show();\r\n }\r\n }\r\n\r\n function setVolumeUI(percentage) {\r\n if (api.getMute()) {\r\n percentage = 0;\r\n }\r\n\r\n setVolumeIcon(percentage);\r\n\r\n const handlePosition = maxRange * percentage / 100;\r\n\r\n\r\n $sliderHandle.css(\"left\", handlePosition+ \"px\");\r\n $sliderValue.css(\"width\", handlePosition+ \"px\");\r\n }\r\n\r\n function calculatePercentage(event) {\r\n const relativeX = (event.pageX || event.touches[0].clientX) - $slider.offset().left;\r\n let percentage = relativeX / sliderWidth * 100;\r\n\r\n if (percentage < 0) {\r\n percentage = 0;\r\n }\r\n\r\n if (percentage > 100) {\r\n percentage = 100;\r\n }\r\n return percentage;\r\n }\r\n\r\n\r\n const onRendered = function($current, template){\r\n\r\n $sliderContainer = $current.find(\".op-volume-slider-container\");\r\n\r\n if (api.getBrowser().mobile) {\r\n $sliderContainer.hide();\r\n }\r\n\r\n $slider = $current.find(\".op-volume-silder\");\r\n $sliderHandle = $current.find(\".op-volume-slider-handle\");\r\n $sliderValue = $current.find(\".op-volume-slider-value\");\r\n\r\n $volumeIconBig = $current.find( \".op-volume-max\");\r\n $volumeIconSmall = $current.find(\".op-volume-small\");\r\n $volumeIconMute = $current.find(\".op-volume-mute\");\r\n\r\n //ToDo : Can't read width.\r\n //sliderWidth = $sliderContainer.width();\r\n //handleWidth = $sliderHandle.width();\r\n\r\n maxRange = sliderWidth - (handleWidth/2);\r\n\r\n $sliderHandle.css(\"left\", maxRange+ \"px\");\r\n\r\n setVolumeUI(api.getVolume());\r\n\r\n api.on(READY, function() {\r\n setVolumeUI(api.getVolume());\r\n }, template);\r\n api.on(CONTENT_VOLUME, function(data) {\r\n\r\n setVolumeUI(data.volume);\r\n\r\n }, template);\r\n api.on(CONTENT_MUTE, function(data) {\r\n if (data.mute) {\r\n setVolumeUI(0);\r\n } else {\r\n setVolumeUI(api.getVolume());\r\n }\r\n }, template);\r\n\r\n };\r\n const onDestroyed = function(template){\r\n api.off(READY, null, template);\r\n api.off(CONTENT_VOLUME, null, template);\r\n api.off(CONTENT_MUTE, null, template);\r\n };\r\n const events = {\r\n \"click .op-volume-button\" : function(event, $current, template){\r\n event.preventDefault();\r\n if(isMobile){\r\n\r\n }else{\r\n if (api.getVolume() === 0) {\r\n api.setMute(false);\r\n api.setVolume(100);\r\n } else {\r\n api.setMute();\r\n }\r\n }\r\n\r\n },\r\n \"mouseenter .op-volume-button\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n if(!isMobile){\r\n $sliderContainer.addClass(\"active\");\r\n }\r\n },\r\n \"mouseleave .op-volume-silder\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n mouseDown = false;\r\n },\r\n \"mousedown .op-volume-silder\" : function(event, $current, template){\r\n event.preventDefault();\r\n mouseDown = true;\r\n api.setMute(false);\r\n api.setVolume(calculatePercentage(event));\r\n },\r\n \"mouseup .op-volume-silder\" : function(event, $current, template){\r\n event.preventDefault();\r\n mouseDown = false;\r\n },\r\n \"mousemove .op-volume-silder\" : function(event, $current, template){\r\n event.preventDefault();\r\n if (!mouseDown) {\r\n return false;\r\n }\r\n\r\n api.setVolume(calculatePercentage(event));\r\n },\r\n // \"touchstart .op-volume-slider-handle\" : function(event){\r\n // mouseDown = true;\r\n //\r\n // },\r\n // \"touchmove .op-volume-slider-handle\" : function(event){\r\n // if(mouseDown){\r\n //\r\n // api.setMute(false);\r\n // api.setVolume(calculatePercentage(event));\r\n // }\r\n // },\r\n // \"touchend .op-volume-slider-handle\" : function(event){\r\n //\r\n // if(mouseDown){\r\n // mouseDown = false;\r\n // }\r\n // },\r\n \"touchstart .op-volume-button\" : function(event){\r\n if(isMobile){\r\n if (api.getMute()) {\r\n api.setMute(false);\r\n } else {\r\n api.setMute(true);\r\n }\r\n }\r\n }\r\n };\r\n let that = OvenTemplate($container, \"VolumeButton\", api.getConfig(), null, events, onRendered, onDestroyed);\r\n that.setMouseDown = (state) => {\r\n mouseDown = state;\r\n };\r\n return that;\r\n\r\n /*or\r\n\r\n return Object.assign(OvenTemplate($container, \"VolumeButton\", api.getConfig(), null, events, onRendered, onDestroyed), {\r\n setMouseDown: function (state) {\r\n mouseDown = state;\r\n }\r\n });*/\r\n};\r\n\r\nexport default VolumeButton;\r\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./ovenplayer.less\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./ovenplayer.less\";\n export default content && content.locals ? content.locals : undefined;\n","import {version} from 'version'\r\nimport OvenPlayerSDK from './ovenplayer.sdk'\r\nimport {checkAndGetContainerElement} from 'utils/validator'\r\nimport View from './view/view';\r\n\r\nfunction ovenPlayerFactory() {\r\n\r\n const OvenPlayer = {};\r\n\r\n Object.assign(OvenPlayer, OvenPlayerSDK);\r\n\r\n OvenPlayer.create = function (container, options) {\r\n\r\n let containerElement = checkAndGetContainerElement(container);\r\n\r\n let player = View(containerElement);\r\n\r\n const playerInstance = OvenPlayerSDK.create(player.getMediaElementContainer(), options);\r\n\r\n player.setApi(playerInstance);\r\n\r\n OvenPlayerConsole.log(\"[OvenPlayer] v.\"+ version);\r\n\r\n return playerInstance;\r\n };\r\n\r\n return OvenPlayer;\r\n}\r\n\r\nexport default ovenPlayerFactory()\r\n","/**\r\n * Created by hoho on 2018. 7. 20..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport Helpers from 'view/components/helpers/main';\r\nimport Controls from 'view/components/controls/main';\r\nimport PanelManager from \"view/global/PanelManager\";\r\nimport ContextPanel from 'view/components/helpers/contextPanel';\r\nimport LA$ from 'utils/likeA$';\r\nimport ResizeSensor from \"utils/resize-sensor\";\r\nimport {\r\n READY,\r\n DESTROY,\r\n PLAYER_RESIZED,\r\n PLAYER_PLAY,\r\n STATE_IDLE,\r\n STATE_AD_PLAYING,\r\n STATE_PLAYING,\r\n STATE_STALLED,\r\n STATE_LOADING,\r\n STATE_COMPLETE,\r\n STATE_PAUSED,\r\n STATE_ERROR,\r\n CONTENT_META,\r\n PLAYER_STATE,\r\n PLAYER_CLICKED,\r\n ERROR\r\n} from \"api/constants\";\r\n\r\nimport '../../stylesheet/ovenplayer.less';\r\n\r\nconst View = function($container){\r\n let viewTemplate = \"\", controls = \"\", helper = \"\", $playerRoot, contextPanel = \"\", api = null, autoHideTimer = \"\", playerState = STATE_IDLE;\r\n let isShiftPressed = false;\r\n let panelManager = PanelManager();\r\n let screenSize = \"\";\r\n let currentPlayerSize = \"\";\r\n let resizeSensor = null;\r\n\r\n let that = {};\r\n\r\n //Member Functions\r\n function setHide(hide, autoHide) {\r\n if (autoHideTimer) {\r\n clearTimeout(autoHideTimer);\r\n autoHideTimer = null;\r\n }\r\n\r\n if (hide) {\r\n if(panelManager.size() > 0){\r\n return false;\r\n }\r\n $playerRoot.addClass(\"op-autohide\");\r\n } else {\r\n $playerRoot.removeClass(\"op-autohide\");\r\n\r\n if (autoHide) {\r\n autoHideTimer = setTimeout(function() {\r\n if(panelManager.size()> 0){\r\n return false;\r\n }\r\n $playerRoot.addClass(\"op-autohide\");\r\n }, 3000);\r\n }\r\n }\r\n }\r\n function togglePlayPause() {\r\n const currentState = playerState;\r\n\r\n if (currentState === STATE_IDLE || currentState === STATE_PAUSED || currentState === STATE_COMPLETE) {\r\n\r\n if (currentState === STATE_COMPLETE) {\r\n api.seek(0);\r\n }\r\n\r\n api.play();\r\n }else if(currentState === STATE_PLAYING){\r\n api.pause();\r\n }\r\n }\r\n function seek(seconds, isRewind) {\r\n\r\n const duration = api.getDuration();\r\n const currentPosition = api.getPosition();\r\n let position = 0;\r\n\r\n if(isRewind){\r\n position = Math.max(currentPosition - seconds, 0);\r\n }else{\r\n position = Math.min(currentPosition + seconds, duration);\r\n }\r\n\r\n api.seek(position);\r\n }\r\n function volume(isUp){\r\n const currentVolumn = api.getVolume();\r\n let newVolume = 0;\r\n if(isUp){\r\n newVolume = Math.min(currentVolumn + 5, 100);\r\n }else{\r\n newVolume = Math.max(currentVolumn - 5, 0);\r\n }\r\n api.setVolume(newVolume);\r\n }\r\n function createContextPanel(pageX, pageY){\r\n if(contextPanel){\r\n contextPanel.destroy();\r\n contextPanel = null;\r\n }\r\n contextPanel = ContextPanel($playerRoot, api, {pageX : pageX, pageY : pageY});\r\n }\r\n\r\n function calcPlayerWidth(){\r\n let playerWidth = $playerRoot.width();\r\n if(playerWidth < 576){\r\n screenSize = \"xsmall\";\r\n $playerRoot.addClass(\"xsmall\");\r\n\r\n if (playerWidth < 490) {\r\n $playerRoot.addClass(\"xxsmall\");\r\n }\r\n\r\n }else if(playerWidth < 768){\r\n screenSize = \"small\";\r\n $playerRoot.addClass(\"small\");\r\n }else if(playerWidth < 992){\r\n screenSize = \"medium\";\r\n $playerRoot.addClass(\"medium\");\r\n }else{\r\n screenSize = \"large\";\r\n $playerRoot.addClass(\"large\");\r\n }\r\n }\r\n\r\n const onRendered = function($current, template){\r\n $playerRoot = $current;\r\n viewTemplate = template;\r\n calcPlayerWidth();\r\n currentPlayerSize = screenSize;\r\n resizeSensor = new ResizeSensor($playerRoot.get(), function() {\r\n\r\n $playerRoot.removeClass(\"large\");\r\n $playerRoot.removeClass(\"medium\");\r\n $playerRoot.removeClass(\"small\");\r\n $playerRoot.removeClass(\"xsmall\");\r\n $playerRoot.removeClass(\"xxsmall\");\r\n calcPlayerWidth();\r\n if(screenSize !== currentPlayerSize){\r\n currentPlayerSize = screenSize;\r\n if(api){\r\n api.trigger(PLAYER_RESIZED, currentPlayerSize);\r\n }\r\n }\r\n });\r\n\r\n };\r\n const onDestroyed = function(){\r\n if(resizeSensor) {\r\n resizeSensor.detach();\r\n resizeSensor = null;\r\n }\r\n\r\n if(helper){\r\n helper.destroy();\r\n helper = null;\r\n }\r\n if(controls){\r\n controls.destroy();\r\n controls = null;\r\n }\r\n };\r\n const events = {\r\n \"click .ovenplayer\" : function(event, $current, template){\r\n\r\n if(api){\r\n api.trigger(PLAYER_CLICKED, event);\r\n }\r\n\r\n if(contextPanel){\r\n event.preventDefault();\r\n contextPanel.destroy();\r\n contextPanel = null;\r\n return false;\r\n }\r\n\r\n if(!(LA$(event.target).closest(\".op-controls-container\") || LA$(event.target).closest(\".op-setting-panel\") )){\r\n\r\n if(panelManager.size() > 0){\r\n event.preventDefault();\r\n panelManager.clear();\r\n return false;\r\n }\r\n\r\n if (api.getDuration() !== Infinity && !api.getBrowser().mobile) {\r\n togglePlayPause();\r\n }\r\n\r\n }\r\n },\r\n \"dblclick .ovenplayer\" : function(event, $current, template){\r\n\r\n if (api) {\r\n\r\n if (api.getConfig().expandFullScreenUI && api.toggleFullScreen) {\r\n\r\n if(!(LA$(event.target).closest(\".op-controls-container\") || LA$(event.target).closest(\".op-setting-panel\") )){\r\n api.toggleFullScreen();\r\n }\r\n }\r\n }\r\n },\r\n //For iOS safari\r\n \"touchstart .ovenplayer\" : function(event, $current, template){\r\n if (playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")) {\r\n setHide(false, true);\r\n } else {\r\n setHide(false);\r\n }\r\n },\r\n \"mouseenter .ovenplayer\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n //small screen with STATE_AD_PLAYING setHide too. becuase mobile hide ad ui.\r\n if (playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")) {\r\n setHide(false, true);\r\n } else {\r\n setHide(false);\r\n }\r\n },\r\n \"mousemove .ovenplayer\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n if (playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")) {\r\n setHide(false, true);\r\n } else {\r\n setHide(false);\r\n }\r\n },\r\n \"mouseleave .ovenplayer\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n if(playerState === STATE_PLAYING || playerState === STATE_IDLE || playerState === STATE_LOADING || (playerState === STATE_AD_PLAYING && screenSize === \"xsmall\")){\r\n setHide(true);\r\n }\r\n },\r\n \"keydown .ovenplayer\" : function(event, $current, template){\r\n let frameMode = api.getFramerate();\r\n switch(event.keyCode){\r\n case 16 : //shift\r\n event.preventDefault();\r\n isShiftPressed = true;\r\n break;\r\n case 32 : //space\r\n event.preventDefault();\r\n togglePlayPause();\r\n break;\r\n case 37 : //arrow left\r\n event.preventDefault();\r\n\r\n if (!api.getConfig().disableSeekUI) {\r\n if(isShiftPressed && frameMode){\r\n api.seekFrame(-1);\r\n }else{\r\n seek(5, true);\r\n }\r\n }\r\n break;\r\n case 39 : //arrow right\r\n event.preventDefault();\r\n\r\n if (!api.getConfig().disableSeekUI) {\r\n\r\n if(isShiftPressed && frameMode){\r\n api.seekFrame(1);\r\n }else{\r\n seek(5, false);\r\n }\r\n }\r\n\r\n break;\r\n case 38 : //arrow up\r\n event.preventDefault();\r\n volume(true);\r\n break;\r\n case 40 : //arrow up\r\n event.preventDefault();\r\n volume(false);\r\n break;\r\n }\r\n\r\n },\r\n \"keyup .ovenplayer\" : function(event, $current, template){\r\n switch(event.keyCode) {\r\n case 16 : //shift\r\n event.preventDefault();\r\n isShiftPressed = false;\r\n break;\r\n }\r\n\r\n },\r\n \"contextmenu .ovenplayer\" : function(event, $current, template){\r\n event.stopPropagation();\r\n if(!LA$(event.currentTarget).find(\"object\")){\r\n event.preventDefault();\r\n createContextPanel(event.pageX, event.pageY);\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n that = OvenTemplate($container, \"View\", null, $container.id, events, onRendered, onDestroyed, true);\r\n\r\n that.getMediaElementContainer = () => {\r\n return $playerRoot.find(\".op-media-element-container\").get();\r\n };\r\n\r\n that.setApi = (playerInstance) => {\r\n api = playerInstance;\r\n\r\n api.getContainerElement = () => {\r\n return $playerRoot.get();\r\n };\r\n\r\n api.getContainerId = () => {\r\n return $playerRoot.get().id;\r\n };\r\n\r\n api.on(READY, function(data) {\r\n\r\n if(!controls){\r\n controls = Controls($playerRoot.find(\".op-ui\"), playerInstance);\r\n }\r\n\r\n if (!showControlBar) {\r\n $playerRoot.addClass(\"op-no-controls\");\r\n }\r\n\r\n });\r\n\r\n api.on(ERROR, function(error) {\r\n if(api){\r\n let sources = api.getSources()||[];\r\n if(controls && (sources.length <= 1)){\r\n // controls.destroy();\r\n // controls = null;\r\n }\r\n }\r\n\r\n });\r\n\r\n api.on(DESTROY, function(data) {\r\n viewTemplate.destroy();\r\n });\r\n\r\n api.on(PLAYER_PLAY, function (data) {\r\n if(!controls && showControlBar){\r\n controls = Controls($playerRoot.find(\".op-ui\"), playerInstance);\r\n }\r\n });\r\n\r\n api.on(PLAYER_STATE, function(data){\r\n if(data && data.newstate){\r\n playerState = data.newstate;\r\n if(data.newstate === STATE_PLAYING || (data.newstate === STATE_AD_PLAYING && screenSize === \"xsmall\")){\r\n setHide(false, true);\r\n }else{\r\n setHide(false);\r\n }\r\n }\r\n });\r\n\r\n let showControlBar = api.getConfig() && api.getConfig().controls;\r\n\r\n helper = Helpers($playerRoot.find(\".op-ui\"), playerInstance);\r\n controls = Controls($playerRoot.find(\".op-ui\"), playerInstance);\r\n\r\n let aspectRatio = api.getConfig().aspectRatio;\r\n\r\n if (aspectRatio) {\r\n\r\n if (aspectRatio.split(':').length === 2) {\r\n\r\n let width = aspectRatio.split(':')[0] * 1;\r\n let height = aspectRatio.split(':')[1] * 1;\r\n\r\n let ratio = height / width * 100;\r\n\r\n $playerRoot.find('.op-ratio').css('padding-bottom', ratio + '%');\r\n }\r\n }\r\n\r\n api.showControls = function (show) {\r\n if (show) {\r\n $playerRoot.removeClass(\"op-no-controls\");\r\n setHide(false, true);\r\n } else {\r\n $playerRoot.addClass(\"op-no-controls\");\r\n }\r\n };\r\n };\r\n\r\n\r\n return that;\r\n};\r\n\r\n\r\n\r\nexport default View;\r\n","/**\r\n * Created by hoho on 2018. 8. 1..\r\n */\r\nimport OvenTemplate from 'view/engine/OvenTemplate';\r\nimport LA$ from 'utils/likeA$';\r\n\r\nconst ContextPanel = function($container, api, position){\r\n const $root = LA$(api.getContainerElement());\r\n\r\n const onRendered = function($current, template){\r\n const panelWidth = $current.width();\r\n const panelHeight = $current.height();\r\n\r\n const x = Math.min(position.pageX - $root.offset().left, $root.width() - panelWidth);\r\n const y = Math.min(position.pageY - $root.offset().top, $root.height() - panelHeight);\r\n\r\n $current.css(\"left\" , x + \"px\");\r\n $current.css(\"top\" , y + \"px\");\r\n };\r\n const onDestroyed = function(){\r\n //Do nothing.\r\n };\r\n const events = {\r\n \"click .op-context-item\" : function(event, $current, template){\r\n event.preventDefault();\r\n\r\n window.open(\r\n 'https://github.com/AirenSoft/OvenPlayer',\r\n '_blank'\r\n );\r\n }\r\n };\r\n\r\n return OvenTemplate($container, \"ContextPanel\", api.getConfig(), position, events, onRendered, onDestroyed );\r\n\r\n};\r\n\r\nexport default ContextPanel;\r\n","/*\r\n* Copyright 2018 Joshua Bell\r\n\r\n Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\r\n\r\n The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n* */\r\n\r\n(function(global) {\r\n 'use strict';\r\n if (!('window' in global && 'document' in global))\r\n return;\r\n\r\n //----------------------------------------------------------------------\r\n //\r\n // DOM\r\n // https://dom.spec.whatwg.org/\r\n //\r\n //----------------------------------------------------------------------\r\n\r\n // Document.querySelectorAll method\r\n // http://ajaxian.com/archives/creating-a-queryselector-for-ie-that-runs-at-native-speed\r\n // Needed for: IE7-\r\n if (!document.querySelectorAll) {\r\n document.querySelectorAll = function(selectors) {\r\n var style = document.createElement('style'), elements = [], element;\r\n document.documentElement.firstChild.appendChild(style);\r\n document._qsa = [];\r\n\r\n style.styleSheet.cssText = selectors + '{x-qsa:expression(document._qsa && document._qsa.push(this))}';\r\n window.scrollBy(0, 0);\r\n style.parentNode.removeChild(style);\r\n\r\n while (document._qsa.length) {\r\n element = document._qsa.shift();\r\n element.style.removeAttribute('x-qsa');\r\n elements.push(element);\r\n }\r\n document._qsa = null;\r\n return elements;\r\n };\r\n }\r\n\r\n // Document.querySelector method\r\n // Needed for: IE7-\r\n if (!document.querySelector) {\r\n document.querySelector = function(selectors) {\r\n var elements = document.querySelectorAll(selectors);\r\n return (elements.length) ? elements[0] : null;\r\n };\r\n }\r\n\r\n // Document.getElementsByClassName method\r\n // Needed for: IE8-\r\n if (!document.getElementsByClassName) {\r\n document.getElementsByClassName = function(classNames) {\r\n classNames = String(classNames).replace(/^|\\s+/g, '.');\r\n return document.querySelectorAll(classNames);\r\n };\r\n }\r\n\r\n // Node interface constants\r\n // Needed for: IE8-\r\n global.Node = global.Node || function() { throw TypeError(\"Illegal constructor\"); };\r\n [\r\n ['ELEMENT_NODE', 1],\r\n ['ATTRIBUTE_NODE', 2],\r\n ['TEXT_NODE', 3],\r\n ['CDATA_SECTION_NODE', 4],\r\n ['ENTITY_REFERENCE_NODE', 5],\r\n ['ENTITY_NODE', 6],\r\n ['PROCESSING_INSTRUCTION_NODE', 7],\r\n ['COMMENT_NODE', 8],\r\n ['DOCUMENT_NODE', 9],\r\n ['DOCUMENT_TYPE_NODE', 10],\r\n ['DOCUMENT_FRAGMENT_NODE', 11],\r\n ['NOTATION_NODE', 12]\r\n ].forEach(function(p) { if (!(p[0] in global.Node)) global.Node[p[0]] = p[1]; });\r\n\r\n // DOMException constants\r\n // Needed for: IE8-\r\n global.DOMException = global.DOMException || function() { throw TypeError(\"Illegal constructor\"); };\r\n [\r\n ['INDEX_SIZE_ERR', 1],\r\n ['DOMSTRING_SIZE_ERR', 2],\r\n ['HIERARCHY_REQUEST_ERR', 3],\r\n ['WRONG_DOCUMENT_ERR', 4],\r\n ['INVALID_CHARACTER_ERR', 5],\r\n ['NO_DATA_ALLOWED_ERR', 6],\r\n ['NO_MODIFICATION_ALLOWED_ERR', 7],\r\n ['NOT_FOUND_ERR', 8],\r\n ['NOT_SUPPORTED_ERR', 9],\r\n ['INUSE_ATTRIBUTE_ERR', 10],\r\n ['INVALID_STATE_ERR', 11],\r\n ['SYNTAX_ERR', 12],\r\n ['INVALID_MODIFICATION_ERR', 13],\r\n ['NAMESPACE_ERR', 14],\r\n ['INVALID_ACCESS_ERR', 15]\r\n ].forEach(function(p) { if (!(p[0] in global.DOMException)) global.DOMException[p[0]] = p[1]; });\r\n\r\n // Event and EventTargets interfaces\r\n // Needed for: IE8\r\n (function(){\r\n if (!('Element' in global) || Element.prototype.addEventListener || !Object.defineProperty)\r\n return;\r\n\r\n // interface Event\r\n\r\n // PhaseType (const unsigned short)\r\n Event.CAPTURING_PHASE = 1;\r\n Event.AT_TARGET = 2;\r\n Event.BUBBLING_PHASE = 3;\r\n\r\n Object.defineProperties(Event.prototype, {\r\n CAPTURING_PHASE: { get: function() { return 1; } },\r\n AT_TARGET: { get: function() { return 2; } },\r\n BUBBLING_PHASE: { get: function() { return 3; } },\r\n target: {\r\n get: function() {\r\n return this.srcElement;\r\n }},\r\n currentTarget: {\r\n get: function() {\r\n return this._currentTarget;\r\n }},\r\n eventPhase: {\r\n get: function() {\r\n return (this.srcElement === this.currentTarget) ? Event.AT_TARGET : Event.BUBBLING_PHASE;\r\n }},\r\n bubbles: {\r\n get: function() {\r\n switch (this.type) {\r\n // Mouse\r\n case 'click':\r\n case 'dblclick':\r\n case 'mousedown':\r\n case 'mouseup':\r\n case 'mouseover':\r\n case 'mousemove':\r\n case 'mouseout':\r\n case 'mousewheel':\r\n // Keyboard\r\n case 'keydown':\r\n case 'keypress':\r\n case 'keyup':\r\n // Frame/Object\r\n case 'resize':\r\n case 'scroll':\r\n // Form\r\n case 'select':\r\n case 'change':\r\n case 'submit':\r\n case 'reset':\r\n return true;\r\n }\r\n return false;\r\n }},\r\n cancelable: {\r\n get: function() {\r\n switch (this.type) {\r\n // Mouse\r\n case 'click':\r\n case 'dblclick':\r\n case 'mousedown':\r\n case 'mouseup':\r\n case 'mouseover':\r\n case 'mouseout':\r\n case 'mousewheel':\r\n // Keyboard\r\n case 'keydown':\r\n case 'keypress':\r\n case 'keyup':\r\n // Form\r\n case 'submit':\r\n return true;\r\n }\r\n return false;\r\n }},\r\n timeStamp: {\r\n get: function() {\r\n return this._timeStamp;\r\n }},\r\n stopPropagation: {\r\n value: function() {\r\n this.cancelBubble = true;\r\n }},\r\n preventDefault: {\r\n value: function() {\r\n this.returnValue = false;\r\n }},\r\n defaultPrevented: {\r\n get: function() {\r\n return this.returnValue === false;\r\n }}\r\n });\r\n\r\n // interface EventTarget\r\n\r\n function addEventListener(type, listener, useCapture) {\r\n if (typeof listener !== 'function') return;\r\n if (type === 'DOMContentLoaded') type = 'load';\r\n var target = this;\r\n var f = function(e) {\r\n e._timeStamp = Date.now();\r\n e._currentTarget = target;\r\n listener.call(this, e);\r\n e._currentTarget = null;\r\n };\r\n this['_' + type + listener] = f;\r\n this.attachEvent('on' + type, f);\r\n }\r\n\r\n function removeEventListener(type, listener, useCapture) {\r\n if (typeof listener !== 'function') return;\r\n if (type === 'DOMContentLoaded') type = 'load';\r\n var f = this['_' + type + listener];\r\n if (f) {\r\n this.detachEvent('on' + type, f);\r\n this['_' + type + listener] = null;\r\n }\r\n }\r\n\r\n [Window, HTMLDocument, Element].forEach(function(o) {\r\n o.prototype.addEventListener = addEventListener;\r\n o.prototype.removeEventListener = removeEventListener;\r\n });\r\n }());\r\n\r\n // CustomEvent\r\n // https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent\r\n // Needed for: IE\r\n (function () {\r\n if ('CustomEvent' in global && typeof global.CustomEvent === \"function\")\r\n return;\r\n function CustomEvent ( event, params ) {\r\n params = params || { bubbles: false, cancelable: false, detail: undefined };\r\n var evt = document.createEvent( 'CustomEvent' );\r\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\r\n return evt;\r\n }\r\n CustomEvent.prototype = global.Event.prototype;\r\n global.CustomEvent = CustomEvent;\r\n })();\r\n\r\n // Shim for DOM Events for IE7-\r\n // http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html\r\n // Use addEvent(object, event, handler) instead of object.addEventListener(event, handler)\r\n window.addEvent = function(obj, type, fn) {\r\n if (obj.addEventListener) {\r\n obj.addEventListener(type, fn, false);\r\n } else if (obj.attachEvent) {\r\n obj[\"e\" + type + fn] = fn;\r\n obj[type + fn] = function() {\r\n var e = window.event;\r\n e.currentTarget = obj;\r\n e.preventDefault = function() { e.returnValue = false; };\r\n e.stopPropagation = function() { e.cancelBubble = true; };\r\n e.target = e.srcElement;\r\n e.timeStamp = Date.now();\r\n obj[\"e\" + type + fn].call(this, e);\r\n };\r\n obj.attachEvent(\"on\" + type, obj[type + fn]);\r\n }\r\n };\r\n\r\n window.removeEvent = function(obj, type, fn) {\r\n if (obj.removeEventListener) {\r\n obj.removeEventListener(type, fn, false);\r\n } else if (obj.detachEvent) {\r\n obj.detachEvent(\"on\" + type, obj[type + fn]);\r\n obj[type + fn] = null;\r\n obj[\"e\" + type + fn] = null;\r\n }\r\n };\r\n\r\n // DOMTokenList interface and Element.classList / Element.relList\r\n // Needed for: IE9-\r\n // Use getClassList(elem) instead of elem.classList() if IE7- support is needed\r\n // Use getRelList(elem) instead of elem.relList() if IE7- support is needed\r\n (function() {\r\n function DOMTokenListShim(o, p) {\r\n function split(s) { return s.length ? s.split(/\\s+/g) : []; }\r\n\r\n // NOTE: This does not exactly match the spec.\r\n function removeTokenFromString(token, string) {\r\n var tokens = split(string),\r\n index = tokens.indexOf(token);\r\n if (index !== -1) {\r\n tokens.splice(index, 1);\r\n }\r\n return tokens.join(' ');\r\n }\r\n\r\n Object.defineProperties(\r\n this,\r\n {\r\n length: {\r\n get: function() { return split(o[p]).length; }\r\n },\r\n\r\n item: {\r\n value: function(idx) {\r\n var tokens = split(o[p]);\r\n return 0 <= idx && idx < tokens.length ? tokens[idx] : null;\r\n }\r\n },\r\n\r\n contains: {\r\n value: function(token) {\r\n token = String(token);\r\n if (token.length === 0) { throw SyntaxError(); }\r\n if (/\\s/.test(token)) { throw Error(\"InvalidCharacterError\"); }\r\n var tokens = split(o[p]);\r\n\r\n return tokens.indexOf(token) !== -1;\r\n }\r\n },\r\n\r\n add: {\r\n value: function(/*tokens...*/) {\r\n var tokens = Array.prototype.slice.call(arguments).map(String);\r\n if (tokens.some(function(token) { return token.length === 0; })) {\r\n throw SyntaxError();\r\n }\r\n if (tokens.some(function(token) { return (/\\s/).test(token); })) {\r\n throw Error(\"InvalidCharacterError\");\r\n }\r\n\r\n try {\r\n var underlying_string = o[p];\r\n var token_list = split(underlying_string);\r\n tokens = tokens.filter(function(token) { return token_list.indexOf(token) === -1; });\r\n if (tokens.length === 0) {\r\n return;\r\n }\r\n if (underlying_string.length !== 0 && !(/\\s$/).test(underlying_string)) {\r\n underlying_string += ' ';\r\n }\r\n underlying_string += tokens.join(' ');\r\n o[p] = underlying_string;\r\n } finally {\r\n var length = split(o[p]).length;\r\n if (this.length !== length) { this.length = length; }\r\n }\r\n }\r\n },\r\n\r\n remove: {\r\n value: function(/*tokens...*/) {\r\n var tokens = Array.prototype.slice.call(arguments).map(String);\r\n if (tokens.some(function(token) { return token.length === 0; })) {\r\n throw SyntaxError();\r\n }\r\n if (tokens.some(function(token) { return (/\\s/).test(token); })) {\r\n throw Error(\"InvalidCharacterError\");\r\n }\r\n\r\n try {\r\n var underlying_string = o[p];\r\n tokens.forEach(function(token) {\r\n underlying_string = removeTokenFromString(token, underlying_string);\r\n });\r\n o[p] = underlying_string;\r\n } finally {\r\n var length = split(o[p]).length;\r\n if (this.length !== length) { this.length = length; }\r\n }\r\n }\r\n },\r\n\r\n toggle: {\r\n value: function(token/*, force*/) {\r\n var force = arguments[1];\r\n try {\r\n token = String(token);\r\n if (token.length === 0) { throw SyntaxError(); }\r\n if (/\\s/.test(token)) { throw Error(\"InvalidCharacterError\"); }\r\n var tokens = split(o[p]),\r\n index = tokens.indexOf(token);\r\n\r\n if (index !== -1 && (!force || force === (void 0))) {\r\n o[p] = removeTokenFromString(token, o[p]);\r\n return false;\r\n }\r\n if (index !== -1 && force) {\r\n return true;\r\n }\r\n var underlying_string = o[p];\r\n if (underlying_string.length !== 0 && !/\\s$/.test(underlying_string)) {\r\n underlying_string += ' ';\r\n }\r\n underlying_string += token;\r\n o[p] = underlying_string;\r\n return true;\r\n } finally {\r\n var length = split(o[p]).length;\r\n if (this.length !== length) { this.length = length; }\r\n }\r\n }\r\n },\r\n\r\n toString: {\r\n value: function() {\r\n return o[p];\r\n }\r\n }\r\n });\r\n if (!('length' in this)) {\r\n // In case getters are not supported\r\n this.length = split(o[p]).length;\r\n } else {\r\n // If they are, shim in index getters (up to 100)\r\n for (var i = 0; i < 100; ++i) {\r\n Object.defineProperty(this, String(i), {\r\n get: (function(n) { return function() { return this.item(n); }; }(i))\r\n });\r\n }\r\n }\r\n }\r\n\r\n function addToElementPrototype(p, f) {\r\n if ('Element' in global && Element.prototype && Object.defineProperty) {\r\n Object.defineProperty(Element.prototype, p, { get: f });\r\n }\r\n }\r\n\r\n // HTML - https://html.spec.whatwg.org\r\n // Element.classList\r\n if ('classList' in document.createElement('span')) {\r\n window.getClassList = function(elem) { return elem.classList; };\r\n } else {\r\n window.getClassList = function(elem) { return new DOMTokenListShim(elem, 'className'); };\r\n addToElementPrototype('classList', function() { return new DOMTokenListShim(this, 'className'); } );\r\n }\r\n\r\n // HTML - https://html.spec.whatwg.org\r\n // HTMLAnchorElement.relList\r\n // HTMLLinkElement.relList\r\n if ('relList' in document.createElement('link')) {\r\n window.getRelList = function(elem) { return elem.relList; };\r\n } else {\r\n window.getRelList = function(elem) { return new DOMTokenListShim(elem, 'rel'); };\r\n addToElementPrototype('relList', function() { return new DOMTokenListShim(this, 'rel'); } );\r\n }\r\n\r\n // Add second argument to native DOMTokenList.toggle() if necessary\r\n (function() {\r\n if (!('DOMTokenList' in global)) return;\r\n var e = document.createElement('span');\r\n if (!('classList' in e)) return;\r\n e.classList.toggle('x', false);\r\n if (!e.classList.contains('x')) return;\r\n global.DOMTokenList.prototype.toggle = function toggle(token/*, force*/) {\r\n var force = arguments[1];\r\n if (force === undefined) {\r\n var add = !this.contains(token);\r\n this[add ? 'add' : 'remove'](token);\r\n return add;\r\n }\r\n force = !!force;\r\n this[force ? 'add' : 'remove'](token);\r\n return force;\r\n };\r\n }());\r\n\r\n\r\n // DOM - Interface NonDocumentTypeChildNode\r\n // Interface NonDocumentTypeChildNode\r\n // previousElementSibling / nextElementSibling - for IE8\r\n\r\n if (!('previousElementSibling' in document.documentElement)) {\r\n addToElementPrototype('previousElementSibling', function() {\r\n var n = this.previousSibling;\r\n while (n && n.nodeType !== Node.ELEMENT_NODE)\r\n n = n.previousSibling;\r\n return n;\r\n });\r\n }\r\n\r\n if (!('nextElementSibling' in document.documentElement)) {\r\n addToElementPrototype('nextElementSibling', function() {\r\n var n = this.nextSibling;\r\n while (n && n.nodeType !== Node.ELEMENT_NODE)\r\n n = n.nextSibling;\r\n return n;\r\n });\r\n }\r\n }());\r\n\r\n // Element.matches\r\n // https://developer.mozilla.org/en/docs/Web/API/Element/matches\r\n // Needed for: IE, Firefox 3.6, early Webkit and Opera 15.0\r\n // Use msMatchesSelector(selector) for IE\r\n // Use oMatchesSelector(selector) for Opera 15.0\r\n // Use mozMatchesSelector(selector) for Firefox 3.6\r\n // Use webkitMatchesSelector(selector) for early Webkit\r\n // Use polyfill if no matches() support, but querySelectorAll() support\r\n if ('Element' in global && !Element.prototype.matches) {\r\n if (Element.prototype.msMatchesSelector) {\r\n Element.prototype.matches = Element.prototype.msMatchesSelector;\r\n } else if (Element.prototype.oMatchesSelector) {\r\n Element.prototype.matches = Element.prototype.oMatchesSelector;\r\n } else if (Element.prototype.mozMatchesSelector) {\r\n Element.prototype.matches = Element.prototype.mozMatchesSelector;\r\n } else if (Element.prototype.webkitMatchesSelector) {\r\n Element.prototype.matches = Element.prototype.webkitMatchesSelector;\r\n } else if (document.querySelectorAll) {\r\n Element.prototype.matches = function matches(selector) {\r\n var matches = (this.document || this.ownerDocument).querySelectorAll(selector),\r\n i = matches.length;\r\n while (--i >= 0 && matches.item(i) !== this) {}\r\n return i > -1;\r\n };\r\n }\r\n }\r\n\r\n // Element.closest\r\n // https://developer.mozilla.org/en-US/docs/Web/API/Element/closest\r\n if (window.Element && !Element.prototype.closest) {\r\n Element.prototype.closest = function(s) {\r\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\r\n i,\r\n el = this;\r\n do {\r\n i = matches.length;\r\n while (--i >= 0 && matches.item(i) !== el) {};\r\n } while ((i < 0) && (el = el.parentElement));\r\n return el;\r\n };\r\n }\r\n\r\n function mixin(o, ps) {\r\n if (!o) return;\r\n Object.keys(ps).forEach(function(p) {\r\n if ((p in o) || (p in o.prototype)) return;\r\n try {\r\n Object.defineProperty(\r\n o.prototype,\r\n p,\r\n Object.getOwnPropertyDescriptor(ps, p)\r\n );\r\n } catch (ex) {\r\n // Throws in IE8; just copy it\r\n o[p] = ps[p];\r\n }\r\n });\r\n }\r\n\r\n // Mixin ParentNode\r\n // https://dom.spec.whatwg.org/#interface-parentnode\r\n\r\n function convertNodesIntoANode(nodes) {\r\n var node = null;\r\n nodes = nodes.map(function(node) {\r\n return !(node instanceof Node) ? document.createTextNode(node) : node;\r\n });\r\n if (nodes.length === 1) {\r\n node = nodes[0];\r\n } else {\r\n node = document.createDocumentFragment();\r\n nodes.forEach(function(n) { node.appendChild(n); });\r\n }\r\n return node;\r\n }\r\n\r\n var ParentNode = {\r\n prepend: function(/*...nodes*/) {\r\n var nodes = [].slice.call(arguments);\r\n nodes = convertNodesIntoANode(nodes);\r\n this.insertBefore(nodes, this.firstChild);\r\n },\r\n append: function(/*...nodes*/) {\r\n var nodes = [].slice.call(arguments);\r\n nodes = convertNodesIntoANode(nodes);\r\n this.appendChild(nodes);\r\n }\r\n };\r\n\r\n mixin(global.Document || global.HTMLDocument, ParentNode); // HTMLDocument for IE8\r\n mixin(global.DocumentFragment, ParentNode);\r\n mixin(global.Element, ParentNode);\r\n\r\n // Mixin ChildNode\r\n // https://dom.spec.whatwg.org/#interface-childnode\r\n\r\n var ChildNode = {\r\n before: function(/*...nodes*/) {\r\n var nodes = [].slice.call(arguments);\r\n var parent = this.parentNode;\r\n if (!parent) return;\r\n var viablePreviousSibling = this.previousSibling;\r\n while (nodes.indexOf(viablePreviousSibling) !== -1)\r\n viablePreviousSibling = viablePreviousSibling.previousSibling;\r\n var node = convertNodesIntoANode(nodes);\r\n parent.insertBefore(node, viablePreviousSibling ?\r\n viablePreviousSibling.nextSibling : parent.firstChild);\r\n },\r\n after: function(/*...nodes*/) {\r\n var nodes = [].slice.call(arguments);\r\n var parent = this.parentNode;\r\n if (!parent) return;\r\n var viableNextSibling = this.nextSibling;\r\n while (nodes.indexOf(viableNextSibling) !== -1)\r\n viableNextSibling = viableNextSibling.nextSibling;\r\n var node = convertNodesIntoANode(nodes);\r\n parent.insertBefore(node, viableNextSibling);\r\n },\r\n replaceWith: function(/*...nodes*/) {\r\n var nodes = [].slice.call(arguments);\r\n var parent = this.parentNode;\r\n if (!parent) return;\r\n var viableNextSibling = this.nextSibling;\r\n while (nodes.indexOf(viableNextSibling) !== -1)\r\n viableNextSibling = viableNextSibling.nextSibling;\r\n var node = convertNodesIntoANode(nodes);\r\n\r\n if (this.parentNode === parent)\r\n parent.replaceChild(node, this);\r\n else\r\n parent.insertBefore(node, viableNextSibling);\r\n },\r\n remove: function() {\r\n if (!this.parentNode) return;\r\n this.parentNode.removeChild(this);\r\n }\r\n };\r\n\r\n mixin(global.DocumentType, ChildNode);\r\n mixin(global.Element, ChildNode);\r\n mixin(global.CharacterData, ChildNode);\r\n\r\n}(self));","(function (root, factory) {\r\n if (typeof define === 'function' && define.amd) {\r\n // AMD. Register as an anonymous module.\r\n define([], function () {\r\n return (root.returnExportsGlobal = factory());\r\n });\r\n } else if (typeof exports === 'object') {\r\n // Node. Does not work with strict CommonJS, but\r\n // only CommonJS-like enviroments that support module.exports,\r\n // like Node.\r\n module.exports = factory();\r\n } else {\r\n root['ResizeSensor'] = factory();\r\n }\r\n}(this, function () {\r\n\r\n var ResizeSensor = function () {\r\n 'use strict';\r\n var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\r\n return window.setTimeout(fn, 20);\r\n };\r\n /**\r\n *\r\n * @constructor\r\n */\r\n function EventQueue() {\r\n this.q = [];\r\n this.add = function (ev) {\r\n this.q.push(ev);\r\n };\r\n var i, j;\r\n this.call = function () {\r\n for (i = 0, j = this.q.length; i < j; i++) {\r\n this.q[i].call();\r\n }\r\n };\r\n }\r\n /**\r\n * @param {HTMLElement} element\r\n * @param {String} prop\r\n * @returns {String|Number}\r\n */\r\n function getComputedStyle(element, prop) {\r\n if (element.currentStyle) {\r\n return element.currentStyle[prop];\r\n } else if (window.getComputedStyle) {\r\n return window.getComputedStyle(element, null).getPropertyValue(prop);\r\n } else {\r\n return element.style[prop];\r\n }\r\n }\r\n /**\r\n *\r\n * @param {HTMLElement} element\r\n * @param {Function} resized\r\n */\r\n function attachResizeEvent(element, resized) {\r\n if (!element.resizedAttached) {\r\n element.resizedAttached = new EventQueue();\r\n element.resizedAttached.add(resized);\r\n } else if (element.resizedAttached) {\r\n element.resizedAttached.add(resized);\r\n return;\r\n }\r\n element.resizeSensor = document.createElement('div');\r\n element.resizeSensor.className = 'resize-sensor';\r\n var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden; opacity: 0;direction: ltr;';\r\n var styleChild = 'position: absolute; left: 0; top: 0; transition: 0s;';\r\n element.resizeSensor.style.cssText = style;\r\n element.resizeSensor.innerHTML = '
' + '
' + '
' + '
' + '
' + '
';\r\n element.appendChild(element.resizeSensor);\r\n if (getComputedStyle(element, 'position') == 'static') {\r\n element.style.position = 'relative';\r\n }\r\n var expand = element.resizeSensor.childNodes[0];\r\n var expandChild = expand.childNodes[0];\r\n var shrink = element.resizeSensor.childNodes[1];\r\n var reset = function () {\r\n expandChild.style.width = 100000 + 'px';\r\n expandChild.style.height = 100000 + 'px';\r\n expand.scrollLeft = 100000;\r\n expand.scrollTop = 100000;\r\n shrink.scrollLeft = 100000;\r\n shrink.scrollTop = 100000;\r\n };\r\n reset();\r\n var dirty = false;\r\n var dirtyChecking = function () {\r\n if (!element.resizedAttached)\r\n return;\r\n if (dirty) {\r\n element.resizedAttached.call();\r\n dirty = false;\r\n }\r\n requestAnimationFrame(dirtyChecking);\r\n };\r\n requestAnimationFrame(dirtyChecking);\r\n var lastWidth, lastHeight;\r\n var cachedWidth, cachedHeight;\r\n //useful to not query offsetWidth twice\r\n var onScroll = function () {\r\n if ((cachedWidth = element.offsetWidth) != lastWidth || (cachedHeight = element.offsetHeight) != lastHeight) {\r\n dirty = true;\r\n lastWidth = cachedWidth;\r\n lastHeight = cachedHeight;\r\n }\r\n reset();\r\n };\r\n var addEvent = function (el, name, cb) {\r\n if (el.attachEvent) {\r\n el.attachEvent('on' + name, cb);\r\n } else {\r\n el.addEventListener(name, cb);\r\n }\r\n };\r\n addEvent(expand, 'scroll', onScroll);\r\n addEvent(shrink, 'scroll', onScroll);\r\n }\r\n /**\r\n * Class for dimension change detection.\r\n *\r\n * @param {Element|Element[]|Elements|jQuery} element\r\n * @param {Function} callback\r\n *\r\n * @constructor\r\n */\r\n var ResizeSensor = function (element, callback) {\r\n var me = this;\r\n var elementType = Object.prototype.toString.call(element);\r\n var isCollectionTyped = me._isCollectionTyped = '[object Array]' === elementType || '[object NodeList]' === elementType || '[object HTMLCollection]' === elementType || 'undefined' !== typeof jQuery && element instanceof window.jQuery || 'undefined' !== typeof Elements && element instanceof window.Elements;\r\n me._element = element;\r\n if (isCollectionTyped) {\r\n var i = 0, j = element.length;\r\n for (; i < j; i++) {\r\n attachResizeEvent(element[i], callback);\r\n }\r\n } else {\r\n attachResizeEvent(element, callback);\r\n }\r\n };\r\n ResizeSensor.prototype.detach = function () {\r\n var me = this;\r\n var isCollectionTyped = me._isCollectionTyped;\r\n var element = me._element;\r\n if (isCollectionTyped) {\r\n var i = 0, j = element.length;\r\n for (; i < j; i++) {\r\n ResizeSensor.detach(element[i]);\r\n }\r\n } else {\r\n ResizeSensor.detach(element);\r\n }\r\n };\r\n ResizeSensor.detach = function (element) {\r\n if (element.resizeSensor) {\r\n if (element.hasChildNodes()) {\r\n element.removeChild(element.resizeSensor);\r\n }\r\n delete element.resizeSensor;\r\n delete element.resizedAttached;\r\n }\r\n };\r\n return ResizeSensor;\r\n }();\r\n\r\n return ResizeSensor;\r\n\r\n}));\r\n","!function(n,r){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=r():\"function\"==typeof define&&define.amd?define(\"underscore\",r):(n=\"undefined\"!=typeof globalThis?globalThis:n||self,function(){var t=n._,e=n._=r();e.noConflict=function(){return n._=t,e}}())}(this,(function(){\n // Underscore.js 1.13.1\n // https://underscorejs.org\n // (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors\n // Underscore may be freely distributed under the MIT license.\n var n=\"1.13.1\",r=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof global&&global.global===global&&global||Function(\"return this\")()||{},t=Array.prototype,e=Object.prototype,u=\"undefined\"!=typeof Symbol?Symbol.prototype:null,o=t.push,i=t.slice,a=e.toString,f=e.hasOwnProperty,c=\"undefined\"!=typeof ArrayBuffer,l=\"undefined\"!=typeof DataView,s=Array.isArray,p=Object.keys,v=Object.create,h=c&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable(\"toString\"),b=[\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"],m=Math.pow(2,53)-1;function j(n,r){return r=null==r?n.length-1:+r,function(){for(var t=Math.max(arguments.length-r,0),e=Array(t),u=0;u=0&&t<=m}}function J(n){return function(r){return null==r?void 0:r[n]}}var G=J(\"byteLength\"),H=K(G),Q=/\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;var X=c?function(n){return h?h(n)&&!q(n):H(n)&&Q.test(a.call(n))}:C(!1),Y=J(\"length\");function Z(n,r){r=function(n){for(var r={},t=n.length,e=0;e\":\">\",'\"':\""\",\"'\":\"'\",\"`\":\"`\"},Cn=Ln($n),Kn=Ln(_n($n)),Jn=tn.templateSettings={evaluate:/<%([\\s\\S]+?)%>/g,interpolate:/<%=([\\s\\S]+?)%>/g,escape:/<%-([\\s\\S]+?)%>/g},Gn=/(.)^/,Hn={\"'\":\"'\",\"\\\\\":\"\\\\\",\"\\r\":\"r\",\"\\n\":\"n\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Qn=/\\\\|'|\\r|\\n|\\u2028|\\u2029/g;function Xn(n){return\"\\\\\"+Hn[n]}var Yn=/^\\s*(\\w|\\$)+\\s*$/;var Zn=0;function nr(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);var o=Mn(n.prototype),i=n.apply(o,u);return _(i)?i:o}var rr=j((function(n,r){var t=rr.placeholder,e=function(){for(var u=0,o=r.length,i=Array(o),a=0;a1)ur(a,r-1,t,e),u=e.length;else for(var f=0,c=a.length;f0&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}var lr=rr(cr,2);function sr(n,r,t){r=qn(r,t);for(var e,u=nn(n),o=0,i=u.length;o0?0:u-1;o>=0&&o0?a=o>=0?o:Math.max(o+f,a):f=o>=0?Math.min(o+1,f):o+f+1;else if(t&&o&&f)return e[o=t(e,u)]===u?o:-1;if(u!=u)return(o=r(i.call(e,a,f),$))>=0?o+a:-1;for(o=n>0?a:f-1;o>=0&&o0?0:i-1;for(u||(e=r[o?o[a]:a],a+=n);a>=0&&a=3;return r(n,Fn(t,u,4),e,o)}}var Ar=wr(1),xr=wr(-1);function Sr(n,r,t){var e=[];return r=qn(r,t),jr(n,(function(n,t,u){r(n,t,u)&&e.push(n)})),e}function Or(n,r,t){r=qn(r,t);for(var e=!er(n)&&nn(n),u=(e||n).length,o=0;o=0}var Br=j((function(n,r,t){var e,u;return D(r)?u=r:(r=Nn(r),e=r.slice(0,-1),r=r[r.length-1]),_r(n,(function(n){var o=u;if(!o){if(e&&e.length&&(n=In(n,e)),null==n)return;o=n[r]}return null==o?o:o.apply(n,t)}))}));function Nr(n,r){return _r(n,Rn(r))}function Ir(n,r,t){var e,u,o=-1/0,i=-1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ao&&(o=e);else r=qn(r,t),jr(n,(function(n,t,e){((u=r(n,t,e))>i||u===-1/0&&o===-1/0)&&(o=n,i=u)}));return o}function Tr(n,r,t){if(null==r||t)return er(n)||(n=jn(n)),n[Wn(n.length-1)];var e=er(n)?En(n):jn(n),u=Y(e);r=Math.max(Math.min(r,u),0);for(var o=u-1,i=0;i1&&(e=Fn(e,r[1])),r=an(n)):(e=qr,r=ur(r,!1,!1),n=Object(n));for(var u=0,o=r.length;u1&&(t=r[1])):(r=_r(ur(r,!1,!1),String),e=function(n,t){return!Er(r,t)}),Ur(n,e,t)}));function zr(n,r,t){return i.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Lr(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:zr(n,n.length-r)}function $r(n,r,t){return i.call(n,null==r||t?1:r)}var Cr=j((function(n,r){return r=ur(r,!0,!0),Sr(n,(function(n){return!Er(r,n)}))})),Kr=j((function(n,r){return Cr(n,r)}));function Jr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=qn(t,e));for(var u=[],o=[],i=0,a=Y(n);ir?(e&&(clearTimeout(e),e=null),a=c,i=n.apply(u,o),e||(u=o=null)):e||!1===t.trailing||(e=setTimeout(f,l)),i};return c.cancel=function(){clearTimeout(e),a=0,e=u=o=null},c},debounce:function(n,r,t){var e,u,o,i,a,f=function(){var c=zn()-u;r>c?e=setTimeout(f,r-c):(e=null,t||(i=n.apply(a,o)),e||(o=a=null))},c=j((function(c){return a=this,o=c,u=zn(),e||(e=setTimeout(f,r),t&&(i=n.apply(a,o))),i}));return c.cancel=function(){clearTimeout(e),e=o=a=null},c},wrap:function(n,r){return rr(r,n)},negate:fr,compose:function(){var n=arguments,r=n.length-1;return function(){for(var t=r,e=n[r].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:cr,once:lr,findKey:sr,findIndex:vr,findLastIndex:hr,sortedIndex:yr,indexOf:gr,lastIndexOf:br,find:mr,detect:mr,findWhere:function(n,r){return mr(n,Dn(r))},each:jr,forEach:jr,map:_r,collect:_r,reduce:Ar,foldl:Ar,inject:Ar,reduceRight:xr,foldr:xr,filter:Sr,select:Sr,reject:function(n,r,t){return Sr(n,fr(qn(r)),t)},every:Or,all:Or,some:Mr,any:Mr,contains:Er,includes:Er,include:Er,invoke:Br,pluck:Nr,where:function(n,r){return Sr(n,Dn(r))},max:Ir,min:function(n,r,t){var e,u,o=1/0,i=1/0;if(null==r||\"number\"==typeof r&&\"object\"!=typeof n[0]&&null!=n)for(var a=0,f=(n=er(n)?n:jn(n)).length;ae||void 0===t)return 1;if(t> 8 & 0xFF];\n};\n\nvar packInt32 = function (number) {\n return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\n\nvar unpackInt32 = function (buffer) {\n return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\n\nvar packFloat32 = function (number) {\n return packIEEE754(number, 23, 4);\n};\n\nvar packFloat64 = function (number) {\n return packIEEE754(number, 52, 8);\n};\n\nvar addGetter = function (Constructor, key) {\n defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } });\n};\n\nvar get = function (view, count, index, isLittleEndian) {\n var intIndex = toIndex(index);\n var store = getInternalState(view);\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = getInternalState(store.buffer).bytes;\n var start = intIndex + store.byteOffset;\n var pack = arraySlice(bytes, start, start + count);\n return isLittleEndian ? pack : reverse(pack);\n};\n\nvar set = function (view, count, index, conversion, value, isLittleEndian) {\n var intIndex = toIndex(index);\n var store = getInternalState(view);\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = getInternalState(store.buffer).bytes;\n var start = intIndex + store.byteOffset;\n var pack = conversion(+value);\n for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];\n};\n\nif (!NATIVE_ARRAY_BUFFER) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n var byteLength = toIndex(length);\n setInternalState(this, {\n bytes: fill(Array(byteLength), 0),\n byteLength: byteLength\n });\n if (!DESCRIPTORS) this.byteLength = byteLength;\n };\n\n ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, DataViewPrototype);\n anInstance(buffer, ArrayBufferPrototype);\n var bufferLength = getInternalState(buffer).byteLength;\n var offset = toIntegerOrInfinity(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n setInternalState(this, {\n buffer: buffer,\n byteLength: byteLength,\n byteOffset: offset\n });\n if (!DESCRIPTORS) {\n this.buffer = buffer;\n this.byteLength = byteLength;\n this.byteOffset = offset;\n }\n };\n\n DataViewPrototype = $DataView[PROTOTYPE];\n\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, 'byteLength');\n addGetter($DataView, 'buffer');\n addGetter($DataView, 'byteLength');\n addGetter($DataView, 'byteOffset');\n }\n\n redefineAll(DataViewPrototype, {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined);\n }\n });\n} else {\n var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n /* eslint-disable no-new -- required for testing */\n if (!fails(function () {\n NativeArrayBuffer(1);\n }) || !fails(function () {\n new NativeArrayBuffer(-1);\n }) || fails(function () {\n new NativeArrayBuffer();\n new NativeArrayBuffer(1.5);\n new NativeArrayBuffer(NaN);\n return INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n })) {\n /* eslint-enable no-new -- required for testing */\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n return new NativeArrayBuffer(toIndex(length));\n };\n\n $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n\n for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) {\n createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n }\n }\n\n ArrayBufferPrototype.constructor = $ArrayBuffer;\n } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n }\n\n // WebKit bug - the same parent prototype for typed arrays and data view\n if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n setPrototypeOf(DataViewPrototype, ObjectPrototype);\n }\n\n // iOS Safari 7.x bug\n var testView = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n testView.setInt8(0, 2147483648);\n testView.setInt8(1, 2147483649);\n if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll(DataViewPrototype, {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n }\n }, { unsafe: true });\n}\n\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\n\nmodule.exports = {\n ArrayBuffer: $ArrayBuffer,\n DataView: $DataView\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n// eslint-disable-next-line es/no-array-prototype-copywithin -- safe\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var lengthOfArrayLike = require('../internals/length-of-array-like');\n\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar Array = global.Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var global = require('../internals/global');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar TypeError = global.TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","var global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","var global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nvar ctoi = {};\n\nfor (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index;\n\nmodule.exports = {\n itoc: itoc,\n ctoi: ctoi\n};\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var global = require('../internals/global');\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Object = global.Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar redefineAll = require('../internals/redefine-all');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (store) {\n return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n redefineAll(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return Constructor;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n redefine(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '';\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar padStart = require('../internals/string-pad').start;\n\nvar RangeError = global.RangeError;\nvar abs = Math.abs;\nvar DatePrototype = Date.prototype;\nvar n$DateToISOString = DatePrototype.toISOString;\nvar getTime = uncurryThis(DatePrototype.getTime);\nvar getUTCDate = uncurryThis(DatePrototype.getUTCDate);\nvar getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear);\nvar getUTCHours = uncurryThis(DatePrototype.getUTCHours);\nvar getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds);\nvar getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes);\nvar getUTCMonth = uncurryThis(DatePrototype.getUTCMonth);\nvar getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);\n\n// `Date.prototype.toISOString` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\nmodule.exports = (fails(function () {\n return n$DateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n n$DateToISOString.call(new Date(NaN));\n})) ? function toISOString() {\n if (!isFinite(getTime(this))) throw RangeError('Invalid time value');\n var date = this;\n var year = getUTCFullYear(date);\n var milliseconds = getUTCMilliseconds(date);\n var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n return sign + padStart(abs(year), sign ? 6 : 4, 0) +\n '-' + padStart(getUTCMonth(date) + 1, 2, 0) +\n '-' + padStart(getUTCDate(date), 2, 0) +\n 'T' + padStart(getUTCHours(date), 2, 0) +\n ':' + padStart(getUTCMinutes(date), 2, 0) +\n ':' + padStart(getUTCSeconds(date), 2, 0) +\n '.' + padStart(milliseconds, 3, 0) +\n 'Z';\n} : n$DateToISOString;\n","'use strict';\nvar global = require('../internals/global');\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar TypeError = global.TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n redefine(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","module.exports = {\n IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },\n DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },\n HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },\n WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },\n InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },\n NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },\n NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },\n NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },\n NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },\n InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },\n InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },\n SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },\n InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },\n NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },\n InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },\n ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },\n TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },\n SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },\n NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },\n AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },\n URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },\n QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },\n TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },\n InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },\n DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","module.exports = typeof window == 'object';\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\nvar global = require('../internals/global');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\n\nvar nativeErrorToString = Error.prototype.toString;\n\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n var object = create(Object.defineProperty({}, 'name', { get: function () {\n return this === object;\n } }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\n\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar redefine = require('../internals/redefine');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n redefine(String.prototype, KEY, methods[0]);\n redefine(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar bind = require('../internals/function-bind-context');\n\nvar TypeError = global.TypeError;\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\n\nmodule.exports = flattenIntoArray;\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar Function = global.Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\nmodule.exports = NATIVE_BIND ? Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar bind = FunctionPrototype.bind;\nvar call = FunctionPrototype.call;\nvar uncurryThis = NATIVE_BIND && bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? function (fn) {\n return fn && uncurryThis(fn);\n} : function (fn) {\n return fn && function () {\n return call.apply(fn, arguments);\n };\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw TypeError(tryToString(argument) + ' is not iterable');\n};\n","var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return func == null ? undefined : aCallable(func);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n }\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","// IEEE754 conversions based on https://github.com/feross/ieee754\nvar global = require('../internals/global');\n\nvar Array = global.Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\nvar pack = function (number, mantissaLength, bytes) {\n var buffer = Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number || number === Infinity) {\n // eslint-disable-next-line no-self-compare -- NaN check\n mantissa = number != number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n c = pow(2, -exponent);\n if (number * c < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = (number * c - 1) * pow(2, mantissaLength);\n exponent = exponent + eBias;\n } else {\n mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);\n exponent = 0;\n }\n }\n while (mantissaLength >= 8) {\n buffer[index++] = mantissa & 255;\n mantissa /= 256;\n mantissaLength -= 8;\n }\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n while (exponentLength > 0) {\n buffer[index++] = exponent & 255;\n exponent /= 256;\n exponentLength -= 8;\n }\n buffer[--index] |= sign * 128;\n return buffer;\n};\n\nvar unpack = function (buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var sign = buffer[index--];\n var exponent = sign & 127;\n var mantissa;\n sign >>= 7;\n while (nBits > 0) {\n exponent = exponent * 256 + buffer[index--];\n nBits -= 8;\n }\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n while (nBits > 0) {\n mantissa = mantissa * 256 + buffer[index--];\n nBits -= 8;\n }\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : sign ? -Infinity : Infinity;\n } else {\n mantissa = mantissa + pow(2, mantissaLength);\n exponent = exponent - eBias;\n } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\n\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};\n","var global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar Object = global.Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : Object(it);\n} : Object;\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = uncurryThis(store.get);\n var wmhas = uncurryThis(store.has);\n var wmset = uncurryThis(store.set);\n set = function (it, metadata) {\n if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget(store, it) || {};\n };\n has = function (it) {\n return wmhas(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n return typeof argument == 'function';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","var isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Object = global.Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar TypeError = global.TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n redefine(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = {};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","// eslint-disable-next-line es/no-math-expm1 -- safe\nvar $expm1 = Math.expm1;\nvar exp = Math.exp;\n\n// `Math.expm1` method implementation\n// https://tc39.es/ecma262/#sec-math.expm1\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;\n} : $expm1;\n","var sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n// `Math.fround` method implementation\n// https://tc39.es/ecma262/#sec-math.fround\n// eslint-disable-next-line es/no-math-fround -- safe\nmodule.exports = Math.fround || function fround(x) {\n var $abs = abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};\n","var log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// eslint-disable-next-line es/no-math-log10 -- safe\nmodule.exports = Math.log10 || function log10(x) {\n return log(x) * LOG10E;\n};\n","var log = Math.log;\n\n// `Math.log1p` method implementation\n// https://tc39.es/ecma262/#sec-math.log1p\n// eslint-disable-next-line es/no-math-log1p -- safe\nmodule.exports = Math.log1p || function log1p(x) {\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);\n};\n","// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n // strange IE + webpack dev server bug - use .bind(global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return (IS_PURE && !url.toJSON)\n || !searchParams.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || searchParams.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var global = require('../internals/global');\nvar isRegExp = require('../internals/is-regexp');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var global = require('../internals/global');\n\nvar globalIsFinite = global.isFinite;\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n// eslint-disable-next-line es/no-number-isfinite -- safe\nmodule.exports = Number.isFinite || function isFinite(it) {\n return typeof it == 'number' && globalIsFinite(it);\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar charAt = uncurryThis(''.charAt);\nvar n$ParseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { n$ParseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = n$ParseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;\n} : n$ParseFloat;\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar TypeError = global.TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var global = require('../internals/global');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar Object = global.Object;\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof Object ? ObjectPrototype : null;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\n// Forced replacement object prototype accessors methods\nmodule.exports = IS_PURE || !fails(function () {\n // This feature detection crashes old WebKit\n // https://github.com/zloirock/core-js/issues/232\n if (WEBKIT && WEBKIT < 535) return;\n var key = Math.random();\n // In FF throws only define methods\n // eslint-disable-next-line no-undef, no-useless-call -- required for testing\n __defineSetter__.call(null, key, function () { /* empty */ });\n delete global[key];\n});\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar TypeError = global.TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n if (this.head) this.tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n this.head = entry.next;\n if (this.tail === entry) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) redefine(target, key, src[key], options);\n return target;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var name = options && options.name !== undefined ? options.name : key;\n var state;\n if (isCallable(value)) {\n if (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n createNonEnumerableProperty(value, 'name', name);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n});\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar TypeError = global.TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.21.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar $repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = toString(requireObjectCoercible($this));\n var intMaxLength = toLength(maxLength);\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : toString(fillString);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","'use strict';\n// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\nvar delimiter = '-'; // '\\x2D'\nvar regexNonASCII = /[^\\0-\\u007E]/; // non-ASCII chars\nvar regexSeparators = /[.\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\nvar OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';\nvar baseMinusTMin = base - tMin;\n\nvar RangeError = global.RangeError;\nvar exec = uncurryThis(regexSeparators.exec);\nvar floor = Math.floor;\nvar fromCharCode = String.fromCharCode;\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar split = uncurryThis(''.split);\nvar toLowerCase = uncurryThis(''.toLowerCase);\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n */\nvar ucs2decode = function (string) {\n var output = [];\n var counter = 0;\n var length = string.length;\n while (counter < length) {\n var value = charCodeAt(string, counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // It's a high surrogate, and there is a next character.\n var extra = charCodeAt(string, counter++);\n if ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // It's an unmatched surrogate; only append this code unit, in case the\n // next code unit is the high surrogate of a surrogate pair.\n push(output, value);\n counter--;\n }\n } else {\n push(output, value);\n }\n }\n return output;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n */\nvar digitToBasic = function (digit) {\n // 0..25 map to ASCII a..z or A..Z\n // 26..35 map to ASCII 0..9\n return digit + 22 + 75 * (digit < 26);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n */\nvar adapt = function (delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n while (delta > baseMinusTMin * tMax >> 1) {\n delta = floor(delta / baseMinusTMin);\n k += base;\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n */\nvar encode = function (input) {\n var output = [];\n\n // Convert the input in UCS-2 to an array of Unicode code points.\n input = ucs2decode(input);\n\n // Cache the length.\n var inputLength = input.length;\n\n // Initialize the state.\n var n = initialN;\n var delta = 0;\n var bias = initialBias;\n var i, currentValue;\n\n // Handle the basic code points.\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < 0x80) {\n push(output, fromCharCode(currentValue));\n }\n }\n\n var basicLength = output.length; // number of basic code points.\n var handledCPCount = basicLength; // number of code points that have been handled;\n\n // Finish the basic string with a delimiter unless it's empty.\n if (basicLength) {\n push(output, delimiter);\n }\n\n // Main encoding loop:\n while (handledCPCount < inputLength) {\n // All non-basic code points < n have been handled already. Find the next larger one:\n var m = maxInt;\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n\n // Increase `delta` enough to advance the decoder's state to , but guard against overflow.\n var handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n throw RangeError(OVERFLOW_ERROR);\n }\n\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < n && ++delta > maxInt) {\n throw RangeError(OVERFLOW_ERROR);\n }\n if (currentValue == n) {\n // Represent delta as a generalized variable-length integer.\n var q = delta;\n var k = base;\n while (true) {\n var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (q < t) break;\n var qMinusT = q - t;\n var baseMinusT = base - t;\n push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));\n q = floor(qMinusT / baseMinusT);\n k += base;\n }\n\n push(output, fromCharCode(digitToBasic(q)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n handledCPCount++;\n }\n }\n\n delta++;\n n++;\n }\n return join(output, '');\n};\n\nmodule.exports = function (input) {\n var encoded = [];\n var labels = split(replace(toLowerCase(input), regexSeparators, '\\u002E'), '.');\n var i, label;\n for (i = 0; i < labels.length; i++) {\n label = labels[i];\n push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);\n }\n return join(encoded, '.');\n};\n","'use strict';\nvar global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar RangeError = global.RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\n\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\n\nvar RangeError = global.RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toIntegerOrInfinity(it);\n var length = toLength(number);\n if (number !== length) throw RangeError('Wrong length or index');\n return length;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- safe\n return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var global = require('../internals/global');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar Object = global.Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var global = require('../internals/global');\nvar toPositiveInteger = require('../internals/to-positive-integer');\n\nvar RangeError = global.RangeError;\n\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw RangeError('Wrong offset');\n return offset;\n};\n","var global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar RangeError = global.RangeError;\n\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw RangeError(\"The argument can't be less than 0\");\n return result;\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TypeError = global.TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var global = require('../internals/global');\nvar classof = require('../internals/classof');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return String(argument);\n};\n","var IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = function (name) {\n try {\n // eslint-disable-next-line no-new-func -- safe\n if (IS_NODE) return Function('return require(\"' + name + '\")')();\n } catch (error) { /* empty */ }\n};\n","var global = require('../internals/global');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n try {\n return String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar round = Math.round;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\n\nvar fromList = function (C, list) {\n aTypedArrayConstructor(C);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\n\nvar addGetter = function (it, key) {\n nativeDefineProperty(it, key, { get: function () {\n return getInternalState(this)[key];\n } });\n};\n\nvar isArrayBuffer = function (it) {\n var klass;\n return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';\n};\n\nvar isTypedArrayIndex = function (target, key) {\n return isTypedArray(target)\n && !isSymbol(key)\n && key in target\n && isIntegralNumber(+key)\n && key >= 0;\n};\n\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n key = toPropertyKey(key);\n return isTypedArrayIndex(target, key)\n ? createPropertyDescriptor(2, target[key])\n : nativeGetOwnPropertyDescriptor(target, key);\n};\n\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n key = toPropertyKey(key);\n if (isTypedArrayIndex(target, key)\n && isObject(descriptor)\n && hasOwn(descriptor, 'value')\n && !hasOwn(descriptor, 'get')\n && !hasOwn(descriptor, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !descriptor.configurable\n && (!hasOwn(descriptor, 'writable') || descriptor.writable)\n && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)\n ) {\n target[key] = descriptor.value;\n return target;\n } return nativeDefineProperty(target, key, descriptor);\n};\n\nif (DESCRIPTORS) {\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n definePropertyModule.f = wrappedDefineProperty;\n addGetter(TypedArrayPrototype, 'buffer');\n addGetter(TypedArrayPrototype, 'byteOffset');\n addGetter(TypedArrayPrototype, 'byteLength');\n addGetter(TypedArrayPrototype, 'length');\n }\n\n $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n defineProperty: wrappedDefineProperty\n });\n\n module.exports = function (TYPE, wrapper, CLAMPED) {\n var BYTES = TYPE.match(/\\d+$/)[0] / 8;\n var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + TYPE;\n var SETTER = 'set' + TYPE;\n var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n var TypedArrayConstructor = NativeTypedArrayConstructor;\n var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n var exported = {};\n\n var getter = function (that, index) {\n var data = getInternalState(that);\n return data.view[GETTER](index * BYTES + data.byteOffset, true);\n };\n\n var setter = function (that, index, value) {\n var data = getInternalState(that);\n if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n data.view[SETTER](index * BYTES + data.byteOffset, value, true);\n };\n\n var addElement = function (that, index) {\n nativeDefineProperty(that, index, {\n get: function () {\n return getter(this, index);\n },\n set: function (value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n anInstance(that, TypedArrayConstructorPrototype);\n var index = 0;\n var byteOffset = 0;\n var buffer, byteLength, length;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new ArrayBuffer(byteLength);\n } else if (isArrayBuffer(data)) {\n buffer = data;\n byteOffset = toOffset(offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - byteOffset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (isTypedArray(data)) {\n return fromList(TypedArrayConstructor, data);\n } else {\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }\n setInternalState(that, {\n buffer: buffer,\n byteOffset: byteOffset,\n byteLength: byteLength,\n length: length,\n view: new DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n anInstance(dummy, TypedArrayConstructorPrototype);\n return inheritIfRequired(function () {\n if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n if (isArrayBuffer(data)) return $length !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)\n : typedArrayOffset !== undefined\n ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))\n : new NativeTypedArrayConstructor(data);\n if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }(), dummy, TypedArrayConstructor);\n });\n\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n if (!(key in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n }\n });\n TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n }\n\n if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n }\n\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_CONSTRUCTOR, TypedArrayConstructor);\n\n if (TYPED_ARRAY_TAG) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n }\n\n exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n\n $({\n global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS\n }, exported);\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n }\n\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n }\n\n setSpecies(CONSTRUCTOR_NAME);\n };\n} else module.exports = function () { /* empty */ };\n","/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\n\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\n\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n Int8Array(1);\n}) || !fails(function () {\n new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n new Int8Array();\n new Int8Array(null);\n new Int8Array(1.5);\n new Int8Array(iterable);\n}, true) || fails(function () {\n // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});\n","var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nmodule.exports = function (instance, list) {\n return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);\n};\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\n\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n var C = aConstructor(this);\n var O = toObject(source);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var i, length, result, step, iterator, next;\n if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n O = [];\n while (!(step = call(next, iterator)).done) {\n O.push(step.value);\n }\n }\n if (mapping && argumentsLength > 2) {\n mapfn = bind(mapfn, arguments[2]);\n }\n length = lengthOfArrayLike(O);\n result = new (aTypedArrayConstructor(C))(length);\n for (i = 0; length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n};\n","var ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\n\n// a part of `TypedArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#typedarray-species-create\nmodule.exports = function (originalArray) {\n return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR]));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw TypeError('Not enough arguments');\n return passed;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n } return WellKnownSymbolsStore[name];\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2));\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar fails = require('../internals/fails');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar AGGREGATE_ERROR = 'AggregateError';\nvar $AggregateError = getBuiltIn(AGGREGATE_ERROR);\nvar FORCED = !fails(function () {\n return $AggregateError([1]).errors[0] !== 1;\n}) && fails(function () {\n return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7;\n});\n\n// https://github.com/tc39/proposal-error-cause\n$({ global: true, forced: FORCED }, {\n AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {\n // eslint-disable-next-line no-unused-vars -- required for functions `.length`\n return function AggregateError(errors, message) { return apply(init, this, arguments); };\n }, FORCED, true)\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Error = global.Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var options = arguments.length > 2 ? arguments[2] : undefined;\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n installErrorCause(that, options);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, Error);\nelse copyConstructorProperties($AggregateError, Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true }, {\n AggregateError: $AggregateError\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar arrayBufferModule = require('../internals/array-buffer');\nvar setSpecies = require('../internals/set-species');\n\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\n\n// `ArrayBuffer` constructor\n// https://tc39.es/ecma262/#sec-arraybuffer-constructor\n$({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, {\n ArrayBuffer: ArrayBuffer\n});\n\nsetSpecies(ARRAY_BUFFER);\n","var $ = require('../internals/export');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\n\n// `ArrayBuffer.isView` method\n// https://tc39.es/ecma262/#sec-arraybuffer.isview\n$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {\n isView: ArrayBufferViewCore.isView\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anObject = require('../internals/an-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar DataViewPrototype = DataView.prototype;\nvar un$ArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice);\nvar getUint8 = uncurryThis(DataViewPrototype.getUint8);\nvar setUint8 = uncurryThis(DataViewPrototype.setUint8);\n\nvar INCORRECT_SLICE = fails(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n});\n\n// `ArrayBuffer.prototype.slice` method\n// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice\n$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {\n slice: function slice(start, end) {\n if (un$ArrayBufferSlice && end === undefined) {\n return un$ArrayBufferSlice(anObject(this), start); // FF fix\n }\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n while (first < fin) {\n setUint8(viewTarget, index++, getUint8(viewSource, first++));\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({ target: 'Array', proto: true }, {\n at: function at(index) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n }\n});\n\naddToUnscopables('at');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\nvar TypeError = global.TypeError;\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","var $ = require('../internals/export');\nvar copyWithin = require('../internals/array-copy-within');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n$({ target: 'Array', proto: true }, {\n copyWithin: copyWithin\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('copyWithin');\n","'use strict';\nvar $ = require('../internals/export');\nvar $every = require('../internals/array-iteration').every;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n every: function every(callbackfn /* , thisArg */) {\n return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({ target: 'Array', proto: true }, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A;\n aCallable(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({ target: 'Array', proto: true }, {\n flat: function flat(/* depthArg = 1 */) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar $IndexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$IndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? un$IndexOf(this, searchElement, fromIndex) || 0\n : $IndexOf(this, searchElement, fromIndex);\n }\n});\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/define-iterator');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$Join = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {\n join: function join(separator) {\n return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","var $ = require('../internals/export');\nvar lastIndexOf = require('../internals/array-last-index-of');\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\n// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n lastIndexOf: lastIndexOf\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar isConstructor = require('../internals/is-constructor');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\n\nvar ISNT_GENERIC = fails(function () {\n function F() { /* empty */ }\n return !(Array.of.call(F) instanceof F);\n});\n\n// `Array.of` method\n// https://tc39.es/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {\n of: function of(/* ...args */) {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (isConstructor(this) ? this : Array)(argumentsLength);\n while (argumentsLength > index) createProperty(result, index, arguments[index++]);\n result.length = argumentsLength;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduceRight = require('../internals/array-reduce').right;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduceRight');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduceright\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar un$Reverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return un$Reverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar un$Slice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return un$Slice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","var setSpecies = require('../internals/set-species');\n\n// `Array[@@species]` getter\n// https://tc39.es/ecma262/#sec-get-array-@@species\nsetSpecies('Array');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar TypeError = global.TypeError;\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flatMap');\n","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');\n","var $ = require('../internals/export');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\n\n// `DataView` constructor\n// https://tc39.es/ecma262/#sec-dataview-constructor\n$({ global: true, forced: !NATIVE_ARRAY_BUFFER }, {\n DataView: ArrayBufferModule.DataView\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar FORCED = fails(function () {\n return new Date(16e11).getYear() !== 120;\n});\n\nvar getFullYear = uncurryThis(Date.prototype.getFullYear);\n\n// `Date.prototype.getYear` method\n// https://tc39.es/ecma262/#sec-date.prototype.getyear\n$({ target: 'Date', proto: true, forced: FORCED }, {\n getYear: function getYear() {\n return getFullYear(this) - 1900;\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Date = global.Date;\nvar getTime = uncurryThis(Date.prototype.getTime);\n\n// `Date.now` method\n// https://tc39.es/ecma262/#sec-date.now\n$({ target: 'Date', stat: true }, {\n now: function now() {\n return getTime(new Date());\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar DatePrototype = Date.prototype;\nvar getTime = uncurryThis(DatePrototype.getTime);\nvar setFullYear = uncurryThis(DatePrototype.setFullYear);\n\n// `Date.prototype.setYear` method\n// https://tc39.es/ecma262/#sec-date.prototype.setyear\n$({ target: 'Date', proto: true }, {\n setYear: function setYear(year) {\n // validate\n getTime(this);\n var yi = toIntegerOrInfinity(year);\n var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi;\n return setFullYear(this, yyyy);\n }\n});\n","var $ = require('../internals/export');\n\n// `Date.prototype.toGMTString` method\n// https://tc39.es/ecma262/#sec-date.prototype.togmtstring\n$({ target: 'Date', proto: true }, {\n toGMTString: Date.prototype.toUTCString\n});\n","var $ = require('../internals/export');\nvar toISOString = require('../internals/date-to-iso-string');\n\n// `Date.prototype.toISOString` method\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit has a broken implementations\n$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {\n toISOString: toISOString\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","var hasOwn = require('../internals/has-own-property');\nvar redefine = require('../internals/redefine');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n redefine(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar redefine = require('../internals/redefine');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar un$DateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar getTime = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) != INVALID_DATE) {\n redefine(DatePrototype, TO_STRING, function toString() {\n var value = getTime(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? un$DateToString(this) : INVALID_DATE;\n });\n}\n","/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\n\nvar FORCED = Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, forced: FORCED }, O);\n }\n};\n\n// https://github.com/tc39/proposal-error-cause\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","var redefine = require('../internals/redefine');\nvar errorToString = require('../internals/error-to-string');\n\nvar ErrorPrototype = Error.prototype;\n\n// `Error.prototype.toString` method fix\n// https://tc39.es/ecma262/#sec-error.prototype.tostring\nif (ErrorPrototype.toString !== errorToString) {\n redefine(ErrorPrototype, 'toString', errorToString);\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar exec = uncurryThis(/./.exec);\nvar numberToString = uncurryThis(1.0.toString);\nvar toUpperCase = uncurryThis(''.toUpperCase);\n\nvar raw = /[\\w*+\\-./@]/;\n\nvar hex = function (code, length) {\n var result = numberToString(code, 16);\n while (result.length < length) result = '0' + result;\n return result;\n};\n\n// `escape` method\n// https://tc39.es/ecma262/#sec-escape-string\n$({ global: true }, {\n escape: function escape(string) {\n var str = toString(string);\n var result = '';\n var length = str.length;\n var index = 0;\n var chr, code;\n while (index < length) {\n chr = charAt(str, index++);\n if (exec(raw, chr)) {\n result += chr;\n } else {\n code = charCodeAt(chr, 0);\n if (code < 256) {\n result += '%' + hex(code, 2);\n } else {\n result += '%u' + toUpperCase(hex(code, 4));\n }\n }\n } return result;\n }\n});\n","var $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n bind: bind\n});\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar HAS_INSTANCE = wellKnownSymbol('hasInstance');\nvar FunctionPrototype = Function.prototype;\n\n// `Function.prototype[@@hasInstance]` method\n// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) {\n if (!isCallable(this) || !isObject(O)) return false;\n var P = this.prototype;\n if (!isObject(P)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (P === O) return true;\n return false;\n } });\n}\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true }, {\n globalThis: global\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\n\nvar Array = global.Array;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar fix = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nvar FORCED = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n // https://github.com/tc39/proposal-well-formed-stringify\n $({ target: 'JSON', stat: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n for (var i = 0, l = arguments.length, args = Array(l); i < l; i++) args[i] = arguments[i];\n var result = apply($stringify, null, args);\n return typeof result == 'string' ? replace(result, tester, fix) : result;\n }\n });\n}\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// eslint-disable-next-line es/no-math-acosh -- required for testing\nvar $acosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\n\nvar FORCED = !$acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n || Math.floor($acosh(Number.MAX_VALUE)) != 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN\n || $acosh(Infinity) != Infinity;\n\n// `Math.acosh` method\n// https://tc39.es/ecma262/#sec-math.acosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? log(x) + LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n","var $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-asinh -- required for testing\nvar $asinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));\n}\n\n// `Math.asinh` method\n// https://tc39.es/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({ target: 'Math', stat: true, forced: !($asinh && 1 / $asinh(0) > 0) }, {\n asinh: asinh\n});\n","var $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-atanh -- required for testing\nvar $atanh = Math.atanh;\nvar log = Math.log;\n\n// `Math.atanh` method\n// https://tc39.es/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({ target: 'Math', stat: true, forced: !($atanh && 1 / $atanh(-0) < 0) }, {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.es/ecma262/#sec-math.cbrt\n$({ target: 'Math', stat: true }, {\n cbrt: function cbrt(x) {\n return sign(x = +x) * pow(abs(x), 1 / 3);\n }\n});\n","var $ = require('../internals/export');\n\nvar floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E;\n\n// `Math.clz32` method\n// https://tc39.es/ecma262/#sec-math.clz32\n$({ target: 'Math', stat: true }, {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// eslint-disable-next-line es/no-math-cosh -- required for testing\nvar $cosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\n// `Math.cosh` method\n// https://tc39.es/ecma262/#sec-math.cosh\n$({ target: 'Math', stat: true, forced: !$cosh || $cosh(710) === Infinity }, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// `Math.expm1` method\n// https://tc39.es/ecma262/#sec-math.expm1\n// eslint-disable-next-line es/no-math-expm1 -- required for testing\n$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 });\n","var $ = require('../internals/export');\nvar fround = require('../internals/math-fround');\n\n// `Math.fround` method\n// https://tc39.es/ecma262/#sec-math.fround\n$({ target: 'Math', stat: true }, { fround: fround });\n","var $ = require('../internals/export');\n\n// eslint-disable-next-line es/no-math-hypot -- required for testing\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.es/ecma262/#sec-math.hypot\n$({ target: 'Math', stat: true, forced: BUGGY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n hypot: function hypot(value1, value2) {\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-math-imul -- required for testing\nvar $imul = Math.imul;\n\nvar FORCED = fails(function () {\n return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2;\n});\n\n// `Math.imul` method\n// https://tc39.es/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n$({ target: 'Math', stat: true, forced: FORCED }, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n","var $ = require('../internals/export');\nvar log10 = require('../internals/math-log10');\n\n// `Math.log10` method\n// https://tc39.es/ecma262/#sec-math.log10\n$({ target: 'Math', stat: true }, {\n log10: log10\n});\n","var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// `Math.log1p` method\n// https://tc39.es/ecma262/#sec-math.log1p\n$({ target: 'Math', stat: true }, { log1p: log1p });\n","var $ = require('../internals/export');\n\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.es/ecma262/#sec-math.log2\n$({ target: 'Math', stat: true }, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});\n","var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\n// `Math.sign` method\n// https://tc39.es/ecma262/#sec-math.sign\n$({ target: 'Math', stat: true }, {\n sign: sign\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar expm1 = require('../internals/math-expm1');\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-math-sinh -- required for testing\n return Math.sinh(-2e-17) != -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.es/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({ target: 'Math', stat: true, forced: FORCED }, {\n sinh: function sinh(x) {\n return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);\n }\n});\n","var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.es/ecma262/#sec-math.tanh\n$({ target: 'Math', stat: true }, {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n","var setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","var $ = require('../internals/export');\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n trunc: function trunc(it) {\n return (it > 0 ? floor : ceil)(it);\n }\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar arraySlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = arraySlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n var dummy = this;\n // check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })\n ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\n}\n","var $ = require('../internals/export');\n\n// `Number.EPSILON` constant\n// https://tc39.es/ecma262/#sec-number.epsilon\n$({ target: 'Number', stat: true }, {\n EPSILON: Math.pow(2, -52)\n});\n","var $ = require('../internals/export');\nvar numberIsFinite = require('../internals/number-is-finite');\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n$({ target: 'Number', stat: true }, { isFinite: numberIsFinite });\n","var $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\n// `Number.isInteger` method\n// https://tc39.es/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isIntegralNumber\n});\n","var $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return number != number;\n }\n});\n","var $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\nvar abs = Math.abs;\n\n// `Number.isSafeInteger` method\n// https://tc39.es/ecma262/#sec-number.issafeinteger\n$({ target: 'Number', stat: true }, {\n isSafeInteger: function isSafeInteger(number) {\n return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});\n","var $ = require('../internals/export');\n\n// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.max_safe_integer\n$({ target: 'Number', stat: true }, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});\n","var $ = require('../internals/export');\n\n// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.min_safe_integer\n$({ target: 'Number', stat: true }, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});\n","var $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.es/ecma262/#sec-number.parseFloat\n// eslint-disable-next-line es/no-number-parsefloat -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {\n parseFloat: parseFloat\n});\n","var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n// eslint-disable-next-line es/no-number-parseint -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {\n parseInt: parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar log10 = require('../internals/math-log10');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar String = global.String;\nvar isFinite = global.isFinite;\nvar abs = Math.abs;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar round = Math.round;\nvar un$ToExponential = uncurryThis(1.0.toExponential);\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\n\n// Edge 17-\nvar ROUNDS_PROPERLY = un$ToExponential(-6.9e-11, 4) === '-6.9000e-11'\n // IE11- && Edge 14-\n && un$ToExponential(1.255, 2) === '1.25e+0'\n // FF86-, V8 ~ Chrome 49-50\n && un$ToExponential(12345, 3) === '1.235e+4'\n // FF86-, V8 ~ Chrome 49-50\n && un$ToExponential(25, 0) === '3e+1';\n\n// IE8-\nvar THROWS_ON_INFINITY_FRACTION = fails(function () {\n un$ToExponential(1, Infinity);\n}) && fails(function () {\n un$ToExponential(1, -Infinity);\n});\n\n// Safari <11 && FF <50\nvar PROPER_NON_FINITE_THIS_CHECK = !fails(function () {\n un$ToExponential(Infinity, Infinity);\n}) && !fails(function () {\n un$ToExponential(NaN, Infinity);\n});\n\nvar FORCED = !ROUNDS_PROPERLY || !THROWS_ON_INFINITY_FRACTION || !PROPER_NON_FINITE_THIS_CHECK;\n\n// `Number.prototype.toExponential` method\n// https://tc39.es/ecma262/#sec-number.prototype.toexponential\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toExponential: function toExponential(fractionDigits) {\n var x = thisNumberValue(this);\n if (fractionDigits === undefined) return un$ToExponential(x);\n var f = toIntegerOrInfinity(fractionDigits);\n if (!isFinite(x)) return String(x);\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (f < 0 || f > 20) throw RangeError('Incorrect fraction digits');\n if (ROUNDS_PROPERLY) return un$ToExponential(x, f);\n var s = '';\n var m = '';\n var e = 0;\n var c = '';\n var d = '';\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x === 0) {\n e = 0;\n m = repeat('0', f + 1);\n } else {\n // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08\n // TODO: improve accuracy with big fraction digits\n var l = log10(x);\n e = floor(l);\n var n = 0;\n var w = pow(10, e - f);\n n = round(x / w);\n if (2 * x >= (2 * n + 1) * w) {\n n += 1;\n }\n if (n >= pow(10, f + 1)) {\n n /= 10;\n e += 1;\n }\n m = String(n);\n }\n if (f !== 0) {\n m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1);\n }\n if (e === 0) {\n c = '+';\n d = '0';\n } else {\n c = e > 0 ? '+' : '-';\n d = String(abs(e));\n }\n m += 'e' + c + d;\n return s + m;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar String = global.String;\nvar floor = Math.floor;\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar un$ToFixed = uncurryThis(1.0.toFixed);\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar multiply = function (data, n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\n\nvar divide = function (data, n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\n\nvar dataToString = function (data) {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = String(data[index]);\n s = s === '' ? t : s + repeat('0', 7 - t.length) + t;\n }\n } return s;\n};\n\nvar FORCED = fails(function () {\n return un$ToFixed(0.00008, 3) !== '0.000' ||\n un$ToFixed(0.9, 0) !== '1' ||\n un$ToFixed(1.255, 2) !== '1.25' ||\n un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n un$ToFixed({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toIntegerOrInfinity(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(data, 0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(data, 1e7, 0);\n j -= 7;\n }\n multiply(data, pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(data, 1 << 23);\n j -= 23;\n }\n divide(data, 1 << j);\n multiply(data, 1, 1);\n divide(data, 2);\n result = dataToString(data);\n } else {\n multiply(data, 0, z);\n multiply(data, 1 << -e, 0);\n result = dataToString(data) + repeat('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat('0', fractDigits - k) + result\n : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar un$ToPrecision = uncurryThis(1.0.toPrecision);\n\nvar FORCED = fails(function () {\n // IE7-\n return un$ToPrecision(1, undefined) !== '1';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n un$ToPrecision({});\n});\n\n// `Number.prototype.toPrecision` method\n// https://tc39.es/ecma262/#sec-number.prototype.toprecision\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toPrecision: function toPrecision(precision) {\n return precision === undefined\n ? un$ToPrecision(thisNumberValue(this))\n : un$ToPrecision(thisNumberValue(this), precision);\n }\n});\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineGetter__: function __defineGetter__(P, getter) {\n definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true });\n }\n });\n}\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperties = require('../internals/object-define-properties').f;\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {\n defineProperties: defineProperties\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __defineSetter__: function __defineSetter__(P, setter) {\n definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true });\n }\n });\n}\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });\nvar FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\n// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n getOwnPropertyNames: getOwnPropertyNames\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\n\n// `Object.hasOwn` method\n// https://github.com/tc39/proposal-accessible-object-hasownproperty\n$({ target: 'Object', stat: true }, {\n hasOwn: hasOwn\n});\n","var $ = require('../internals/export');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\n// eslint-disable-next-line es/no-object-isextensible -- safe\n$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, {\n isExtensible: $isExtensible\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar $isFrozen = Object.isFrozen;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isFrozen(1); });\n\n// `Object.isFrozen` method\n// https://tc39.es/ecma262/#sec-object.isfrozen\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE }, {\n isFrozen: function isFrozen(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true;\n return $isFrozen ? $isFrozen(it) : false;\n }\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar $isSealed = Object.isSealed;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isSealed(1); });\n\n// `Object.isSealed` method\n// https://tc39.es/ecma262/#sec-object.issealed\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE }, {\n isSealed: function isSealed(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true;\n return $isSealed ? $isSealed(it) : false;\n }\n});\n","var $ = require('../internals/export');\nvar is = require('../internals/same-value');\n\n// `Object.is` method\n// https://tc39.es/ecma262/#sec-object.is\n$({ target: 'Object', stat: true }, {\n is: is\n});\n","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__\nif (DESCRIPTORS) {\n $({ target: 'Object', proto: true, forced: FORCED }, {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;\n } while (O = getPrototypeOf(O));\n }\n });\n}\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-preventextensions -- safe\nvar $preventExtensions = Object.preventExtensions;\nvar FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); });\n\n// `Object.preventExtensions` method\n// https://tc39.es/ecma262/#sec-object.preventextensions\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-seal -- safe\nvar $seal = Object.seal;\nvar FAILS_ON_PRIMITIVES = fails(function () { $seal(1); });\n\n// `Object.seal` method\n// https://tc39.es/ecma262/#sec-object.seal\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n seal: function seal(it) {\n return $seal && isObject(it) ? $seal(onFreeze(it)) : it;\n }\n});\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","var $ = require('../internals/export');\nvar $parseFloat = require('../internals/number-parse-float');\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat != $parseFloat }, {\n parseFloat: $parseFloat\n});\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromise)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromise.prototype['finally'] !== method) {\n redefine(NativePromise.prototype, 'finally', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\n\nvar getInternalState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar NativePromisePrototype = NativePromise && NativePromise.prototype;\nvar PromiseConstructor = NativePromise;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar SUBCLASSING = false;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromisePrototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = new PromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n PromisePrototype = PromiseConstructor.prototype;\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromisePrototype, {\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n // eslint-disable-next-line unicorn/no-thenable -- safe\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.es/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\n redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.es/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.es/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.es/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.es/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","var $ = require('../internals/export');\nvar functionApply = require('../internals/function-apply');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\n\n// MS Edge argumentsList argument is optional\nvar OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n // eslint-disable-next-line es/no-reflect -- required for testing\n Reflect.apply(function () { /* empty */ });\n});\n\n// `Reflect.apply` method\n// https://tc39.es/ecma262/#sec-reflect.apply\n$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {\n apply: function apply(target, thisArgument, argumentsList) {\n return functionApply(aCallable(target), thisArgument, anObject(argumentsList));\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar fails = require('../internals/fails');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\nvar ERROR_INSTEAD_OF_FALSE = fails(function () {\n // eslint-disable-next-line es/no-reflect -- required for testing\n Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });\n});\n\n// `Reflect.defineProperty` method\n// https://tc39.es/ecma262/#sec-reflect.defineproperty\n$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n var key = toPropertyKey(propertyKey);\n anObject(attributes);\n try {\n definePropertyModule.f(target, key, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Reflect.deleteProperty` method\n// https://tc39.es/ecma262/#sec-reflect.deleteproperty\n$({ target: 'Reflect', stat: true }, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor\n$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\n// `Reflect.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.getprototypeof\n$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});\n","var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Reflect.isExtensible` method\n// https://tc39.es/ecma262/#sec-reflect.isextensible\n$({ target: 'Reflect', stat: true }, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible(target);\n }\n});\n","var $ = require('../internals/export');\nvar ownKeys = require('../internals/own-keys');\n\n// `Reflect.ownKeys` method\n// https://tc39.es/ecma262/#sec-reflect.ownkeys\n$({ target: 'Reflect', stat: true }, {\n ownKeys: ownKeys\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar FREEZING = require('../internals/freezing');\n\n// `Reflect.preventExtensions` method\n// https://tc39.es/ecma262/#sec-reflect.preventextensions\n$({ target: 'Reflect', stat: true, sham: !FREEZING }, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\nvar objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Reflect.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.setprototypeof\nif (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n anObject(target);\n aPossiblePrototype(proto);\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});\n","var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar fails = require('../internals/fails');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\n// `Reflect.set` method\n// https://tc39.es/ecma262/#sec-reflect.set\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype, setter;\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n ownDescriptor = createPropertyDescriptor(0);\n }\n if (isDataDescriptor(ownDescriptor)) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n } else {\n setter = ownDescriptor.set;\n if (setter === undefined) return false;\n call(setter, receiver, V);\n } return true;\n}\n\n// MS Edge 17-18 Reflect.set allows setting the property to object\n// with non-writable property on the prototype\nvar MS_EDGE_BUG = fails(function () {\n var Constructor = function () { /* empty */ };\n var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true });\n // eslint-disable-next-line es/no-reflect -- required for testing\n return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;\n});\n\n$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {\n set: set\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n$({ global: true }, { Reflect: {} });\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(global.Reflect, 'Reflect', true);\n","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar regExpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar SyntaxError = global.SyntaxError;\nvar getFlags = uncurryThis(regExpFlags);\nvar exec = uncurryThis(RegExpPrototype.exec);\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n// TODO: Use only propper RegExpIdentifierName\nvar IS_NCG = /^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar MISSED_STICKY = stickyHelpers.MISSED_STICKY;\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar BASE_FORCED = DESCRIPTORS &&\n (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n }));\n\nvar handleDotAll = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var brackets = false;\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n result += chr + charAt(string, ++index);\n continue;\n }\n if (!brackets && chr === '.') {\n result += '[\\\\s\\\\S]';\n } else {\n if (chr === '[') {\n brackets = true;\n } else if (chr === ']') {\n brackets = false;\n } result += chr;\n }\n } return result;\n};\n\nvar handleNCG = function (string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var named = [];\n var names = {};\n var brackets = false;\n var ncg = false;\n var groupid = 0;\n var groupname = '';\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n chr = chr + charAt(string, ++index);\n } else if (chr === ']') {\n brackets = false;\n } else if (!brackets) switch (true) {\n case chr === '[':\n brackets = true;\n break;\n case chr === '(':\n if (exec(IS_NCG, stringSlice(string, index + 1))) {\n index += 2;\n ncg = true;\n }\n result += chr;\n groupid++;\n continue;\n case chr === '>' && ncg:\n if (groupname === '' || hasOwn(names, groupname)) {\n throw new SyntaxError('Invalid capture group name');\n }\n names[groupname] = true;\n named[named.length] = [groupname, groupid];\n ncg = false;\n groupname = '';\n continue;\n }\n if (ncg) groupname += chr;\n else result += chr;\n } return [result, named];\n};\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (isForced('RegExp', BASE_FORCED)) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var groups = [];\n var rawPattern = pattern;\n var rawFlags, dotAll, sticky, handled, result, state;\n\n if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {\n return pattern;\n }\n\n if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {\n pattern = pattern.source;\n if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags(rawPattern);\n }\n\n pattern = pattern === undefined ? '' : toString(pattern);\n flags = flags === undefined ? '' : toString(flags);\n rawPattern = pattern;\n\n if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {\n dotAll = !!flags && stringIndexOf(flags, 's') > -1;\n if (dotAll) flags = replace(flags, /s/g, '');\n }\n\n rawFlags = flags;\n\n if (MISSED_STICKY && 'sticky' in re1) {\n sticky = !!flags && stringIndexOf(flags, 'y') > -1;\n if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');\n }\n\n if (UNSUPPORTED_NCG) {\n handled = handleNCG(pattern);\n pattern = handled[0];\n groups = handled[1];\n }\n\n result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n\n if (dotAll || sticky || groups.length) {\n state = enforceInternalState(result);\n if (dotAll) {\n state.dotAll = true;\n state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);\n }\n if (sticky) state.sticky = true;\n if (groups.length) state.groups = groups;\n }\n\n if (pattern !== rawPattern) try {\n // fails in old engines, but we have no alternatives for unsupported regex syntax\n createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);\n } catch (error) { /* empty */ }\n\n return result;\n };\n\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n\n for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {\n proxy(keys[index++]);\n }\n\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar classof = require('../internals/classof-raw');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getInternalState = require('../internals/internal-state').get;\n\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\n\n// `RegExp.prototype.dotAll` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall\nif (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {\n defineProperty(RegExpPrototype, 'dotAll', {\n configurable: true,\n get: function () {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).dotAll;\n }\n throw TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModule = require('../internals/object-define-property');\nvar regExpFlags = require('../internals/regexp-flags');\nvar fails = require('../internals/fails');\n\nvar RegExpPrototype = RegExp.prototype;\n\nvar FORCED = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy';\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) objectDefinePropertyModule.f(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar MISSED_STICKY = require('../internals/regexp-sticky-helpers').MISSED_STICKY;\nvar classof = require('../internals/classof-raw');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getInternalState = require('../internals/internal-state').get;\n\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\n\n// `RegExp.prototype.sticky` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky\nif (DESCRIPTORS && MISSED_STICKY) {\n defineProperty(RegExpPrototype, 'sticky', {\n configurable: true,\n get: function () {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).sticky;\n }\n throw TypeError('Incompatible receiver, RegExp required');\n }\n });\n}\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar Error = global.Error;\nvar un$Test = uncurryThis(/./.test);\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (str) {\n var exec = this.exec;\n if (!isCallable(exec)) return un$Test(this, str);\n var result = call(exec, this, str);\n if (result !== null && !isObject(result)) {\n throw new Error('RegExp exec method returned something other than an Object or null');\n }\n return !!result;\n }\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar redefine = require('../internals/redefine');\nvar anObject = require('../internals/an-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar n$ToString = RegExpPrototype[TO_STRING];\nvar getFlags = uncurryThis(regExpFlags);\n\nvar NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n redefine(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var p = $toString(R.source);\n var rf = R.flags;\n var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);\n return '/' + p + '/' + f;\n }, { unsafe: true });\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.es/ecma262/#sec-string.prototype.anchor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\n\nvar charAt = uncurryThis(''.charAt);\n\nvar FORCED = fails(function () {\n return '𠮷'.at(-2) !== '\\uD842';\n});\n\n// `String.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({ target: 'String', proto: true, forced: FORCED }, {\n at: function at(index) {\n var S = toString(requireObjectCoercible(this));\n var len = S.length;\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : charAt(S, k);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.es/ecma262/#sec-string.prototype.big\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.blink` method\n// https://tc39.es/ecma262/#sec-string.prototype.blink\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.bold` method\n// https://tc39.es/ecma262/#sec-string.prototype.bold\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar codeAt = require('../internals/string-multibyte').codeAt;\n\n// `String.prototype.codePointAt` method\n// https://tc39.es/ecma262/#sec-string.prototype.codepointat\n$({ target: 'String', proto: true }, {\n codePointAt: function codePointAt(pos) {\n return codeAt(this, pos);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fixed` method\n// https://tc39.es/ecma262/#sec-string.prototype.fixed\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontcolor` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontcolor\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontsize` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontsize\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar RangeError = global.RangeError;\nvar fromCharCode = String.fromCharCode;\n// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing\nvar $fromCodePoint = String.fromCodePoint;\nvar join = uncurryThis([].join);\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fromCodePoint: function fromCodePoint(x) {\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');\n elements[i] = code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);\n } return join(elements, '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.italics` method\n// https://tc39.es/ecma262/#sec-string.prototype.italics\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","'use strict';\n/* eslint-disable es/no-string-prototype-matchall -- safe */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof-raw');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar regExpFlags = require('../internals/regexp-flags');\nvar getMethod = require('../internals/get-method');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar InternalStateModule = require('../internals/internal-state');\nvar IS_PURE = require('../internals/is-pure');\n\nvar MATCH_ALL = wellKnownSymbol('matchAll');\nvar REGEXP_STRING = 'RegExp String';\nvar REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\nvar getFlags = uncurryThis(regExpFlags);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar un$MatchAll = uncurryThis(''.matchAll);\n\nvar WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails(function () {\n un$MatchAll('a', /./);\n});\n\nvar $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) {\n setInternalState(this, {\n type: REGEXP_STRING_ITERATOR,\n regexp: regexp,\n string: string,\n global: $global,\n unicode: fullUnicode,\n done: false\n });\n}, REGEXP_STRING, function next() {\n var state = getInternalState(this);\n if (state.done) return { value: undefined, done: true };\n var R = state.regexp;\n var S = state.string;\n var match = regExpExec(R, S);\n if (match === null) return { value: undefined, done: state.done = true };\n if (state.global) {\n if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);\n return { value: match, done: false };\n }\n state.done = true;\n return { value: match, done: false };\n});\n\nvar $matchAll = function (string) {\n var R = anObject(this);\n var S = toString(string);\n var C, flagsValue, flags, matcher, $global, fullUnicode;\n C = speciesConstructor(R, RegExp);\n flagsValue = R.flags;\n if (flagsValue === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype)) {\n flagsValue = getFlags(R);\n }\n flags = flagsValue === undefined ? '' : toString(flagsValue);\n matcher = new C(C === RegExp ? R.source : R, flags);\n $global = !!~stringIndexOf(flags, 'g');\n fullUnicode = !!~stringIndexOf(flags, 'u');\n matcher.lastIndex = toLength(R.lastIndex);\n return new $RegExpStringIterator(matcher, S, $global, fullUnicode);\n};\n\n// `String.prototype.matchAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.matchall\n$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {\n matchAll: function matchAll(regexp) {\n var O = requireObjectCoercible(this);\n var flags, S, matcher, rx;\n if (regexp != null) {\n if (isRegExp(regexp)) {\n flags = toString(requireObjectCoercible('flags' in RegExpPrototype\n ? regexp.flags\n : getFlags(regexp)\n ));\n if (!~stringIndexOf(flags, 'g')) throw TypeError('`.matchAll` does not allow non-global regexes');\n }\n if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n matcher = getMethod(regexp, MATCH_ALL);\n if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll;\n if (matcher) return call(matcher, regexp, O);\n } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n S = toString(O);\n rx = new RegExp(regexp, 'g');\n return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S);\n }\n});\n\nIS_PURE || MATCH_ALL in RegExpPrototype || redefine(RegExpPrototype, MATCH_ALL, $matchAll);\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padEnd = require('../internals/string-pad').end;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.padend\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toObject = require('../internals/to-object');\nvar toString = require('../internals/to-string');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar push = uncurryThis([].push);\nvar join = uncurryThis([].join);\n\n// `String.raw` method\n// https://tc39.es/ecma262/#sec-string.raw\n$({ target: 'String', stat: true }, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(toObject(template).raw);\n var literalSegments = lengthOfArrayLike(rawTemplate);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (literalSegments > i) {\n push(elements, toString(rawTemplate[i++]));\n if (i === literalSegments) return join(elements, '');\n if (i < argumentsLength) push(elements, toString(arguments[i]));\n }\n }\n});\n","var $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\n$({ target: 'String', proto: true }, {\n repeat: repeat\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpFlags = require('../internals/regexp-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar RegExpPrototype = RegExp.prototype;\nvar TypeError = global.TypeError;\nvar getFlags = uncurryThis(regExpFlags);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible('flags' in RegExpPrototype\n ? searchValue.flags\n : getFlags(searchValue)\n ));\n if (!~indexOf(flags, 'g')) throw TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.es/ecma262/#sec-string.prototype.small\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.strike` method\n// https://tc39.es/ecma262/#sec-string.prototype.strike\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sub` method\n// https://tc39.es/ecma262/#sec-string.prototype.sub\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\n\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\nvar min = Math.min;\n\n// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing\nvar FORCED = !''.substr || 'ab'.substr(-1) !== 'b';\n\n// `String.prototype.substr` method\n// https://tc39.es/ecma262/#sec-string.prototype.substr\n$({ target: 'String', proto: true, forced: FORCED }, {\n substr: function substr(start, length) {\n var that = toString(requireObjectCoercible(this));\n var size = that.length;\n var intStart = toIntegerOrInfinity(start);\n var intLength, intEnd;\n if (intStart === Infinity) intStart = 0;\n if (intStart < 0) intStart = max(size + intStart, 0);\n intLength = length === undefined ? size : toIntegerOrInfinity(length);\n if (intLength <= 0 || intLength === Infinity) return '';\n intEnd = min(intStart + intLength, size);\n return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sup` method\n// https://tc39.es/ecma262/#sec-string.prototype.sup\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimEnd');\n\nvar trimEnd = FORCED ? function trimEnd() {\n return $trimEnd(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;\n\n// `String.prototype.{ trimEnd, trimRight }` methods\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\n$({ target: 'String', proto: true, name: 'trimEnd', forced: FORCED }, {\n trimEnd: trimEnd,\n trimRight: trimEnd\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trimStart = require('../internals/string-trim').start;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimStart');\n\nvar trimStart = FORCED ? function trimStart() {\n return $trimStart(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimStart;\n\n// `String.prototype.{ trimStart, trimLeft }` methods\n// https://tc39.es/ecma262/#sec-string.prototype.trimstart\n// https://tc39.es/ecma262/#String.prototype.trimleft\n$({ target: 'String', proto: true, name: 'trimStart', forced: FORCED }, {\n trimStart: trimStart,\n trimLeft: trimStart\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineProperty = require('../internals/object-define-property').f;\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';\n var symbolToString = uncurryThis(SymbolPrototype.toString);\n var symbolValueOf = uncurryThis(SymbolPrototype.valueOf);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = symbolValueOf(this);\n var string = symbolToString(symbol);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar arraySlice = require('../internals/array-slice');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n redefine(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.es/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = $toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.es/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.es/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (isCallable($replacer)) value = call($replacer, this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return apply($stringify, null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!SymbolPrototype[TO_PRIMITIVE]) {\n var valueOf = SymbolPrototype.valueOf;\n // eslint-disable-next-line no-unused-vars -- required for .length\n redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n // TODO: improve hint logic\n return call(valueOf, this);\n });\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\nexportTypedArrayMethod('at', function at(index) {\n var O = aTypedArray(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return (k < 0 || k >= len) ? undefined : O[k];\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $ArrayCopyWithin = require('../internals/array-copy-within');\n\nvar u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar call = require('../internals/function-call');\nvar $fill = require('../internals/array-fill');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n var length = arguments.length;\n return call(\n $fill,\n aTypedArray(this),\n value,\n length > 1 ? arguments[1] : undefined,\n length > 2 ? arguments[2] : undefined\n );\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float32', function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float64Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float64', function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod;\nvar typedArrayFrom = require('../internals/typed-array-from');\n\n// `%TypedArray%.from` method\n// https://tc39.es/ecma262/#sec-%typedarray%.from\nexportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int16', function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int32', function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int8', function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","'use strict';\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = uncurryThis(ArrayIterators.values);\nvar arrayKeys = uncurryThis(ArrayIterators.keys);\nvar arrayEntries = uncurryThis(ArrayIterators.entries);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar TypedArrayPrototype = Uint8Array && Uint8Array.prototype;\n\nvar GENERIC = !fails(function () {\n TypedArrayPrototype[ITERATOR].call([1]);\n});\n\nvar ITERATOR_IS_VALUES = !!TypedArrayPrototype\n && TypedArrayPrototype.values\n && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values\n && TypedArrayPrototype.values.name === 'values';\n\nvar typedArrayValues = function values() {\n return arrayValues(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.keys` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.values` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' });\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = uncurryThis([].join);\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join\nexportTypedArrayMethod('join', function join(separator) {\n return $join(aTypedArray(this), separator);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar apply = require('../internals/function-apply');\nvar $lastIndexOf = require('../internals/array-last-index-of');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n var length = arguments.length;\n return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (typedArraySpeciesConstructor(O))(length);\n });\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.of` method\n// https://tc39.es/ecma262/#sec-%typedarray%.of\nexportTypedArrayStaticMethod('of', function of(/* ...items */) {\n var index = 0;\n var length = arguments.length;\n var result = new (aTypedArrayConstructor(this))(length);\n while (length > index) result[index] = arguments[index++];\n return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRicht` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n});\n","'use strict';\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toOffset = require('../internals/to-offset');\nvar toIndexedObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, { length: 1, 0: 3 }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\nvar FORCED = fails(function () {\n // eslint-disable-next-line es/no-typed-arrays -- required for testing\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = arraySlice(aTypedArray(this), start, end);\n var C = typedArraySpeciesConstructor(this);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar Array = global.Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar un$Sort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails(function () {\n un$Sort(new Uint16Array(2), null);\n}) && fails(function () {\n un$Sort(new Uint16Array(2), {});\n}));\n\nvar STABLE_SORT = !!un$Sort && !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 74;\n if (FF) return FF < 67;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 602;\n\n var array = new Uint16Array(516);\n var expected = Array(516);\n var index, mod;\n\n for (index = 0; index < 516; index++) {\n mod = index % 4;\n array[index] = 515 - index;\n expected[index] = index - 2 * mod + 3;\n }\n\n un$Sort(array, function (a, b) {\n return (a / 4 | 0) - (b / 4 | 0);\n });\n\n for (index = 0; index < 516; index++) {\n if (array[index] !== expected[index]) return true;\n }\n});\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (y !== y) return -1;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (x !== x) return 1;\n if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n return x > y;\n };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n if (STABLE_SORT) return un$Sort(this, comparefn);\n\n return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);\n","'use strict';\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n var C = typedArraySpeciesConstructor(O);\n return new C(\n O.buffer,\n O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)\n );\n});\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\n\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\n\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return apply(\n $toLocaleString,\n TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this),\n arraySlice(arguments)\n );\n}, FORCED);\n","'use strict';\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar join = uncurryThis([].join);\n\nif (fails(function () { arrayToString.call({}); })) {\n arrayToString = function toString() {\n return join(this);\n };\n}\n\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint16', function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint32', function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});\n","var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8ClampedArray` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\n\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar stringSlice = uncurryThis(''.slice);\n\nvar hex2 = /^[\\da-f]{2}$/i;\nvar hex4 = /^[\\da-f]{4}$/i;\n\n// `unescape` method\n// https://tc39.es/ecma262/#sec-unescape-string\n$({ global: true }, {\n unescape: function unescape(string) {\n var str = toString(string);\n var result = '';\n var length = str.length;\n var index = 0;\n var chr, part;\n while (index < length) {\n chr = charAt(str, index++);\n if (chr === '%') {\n if (charAt(str, index) === 'u') {\n part = stringSlice(str, index + 1, index + 5);\n if (exec(hex4, part)) {\n result += fromCharCode(parseInt(part, 16));\n index += 5;\n continue;\n }\n } else {\n part = stringSlice(str, index, index + 2);\n if (exec(hex2, part)) {\n result += fromCharCode(parseInt(part, 16));\n index += 2;\n continue;\n }\n }\n }\n result += chr;\n } return result;\n }\n});\n","'use strict';\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar redefineAll = require('../internals/redefine-all');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar isExtensible = require('../internals/object-is-extensible');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var WeakMapPrototype = $WeakMap.prototype;\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n var nativeSet = uncurryThis(WeakMapPrototype.set);\n redefineAll(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n } return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n } return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n } return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n}\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.es/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionWeak);\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar hasOwn = require('../internals/has-own-property');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar ctoi = require('../internals/base64-map').ctoi;\n\nvar disallowed = /[^\\d+/a-z]/i;\nvar whitespaces = /[\\t\\n\\f\\r ]+/g;\nvar finalEq = /[=]+$/;\n\nvar $atob = getBuiltIn('atob');\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar exec = uncurryThis(disallowed.exec);\n\nvar NO_SPACES_IGNORE = fails(function () {\n return atob(' ') !== '';\n});\n\nvar NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !fails(function () {\n $atob();\n});\n\n// `atob` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob\n$({ global: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ARG_RECEIVING_CHECK }, {\n atob: function atob(data) {\n validateArgumentsLength(arguments.length, 1);\n if (NO_ARG_RECEIVING_CHECK) return $atob(data);\n var string = replace(toString(data), whitespaces, '');\n var output = '';\n var position = 0;\n var bc = 0;\n var chr, bs;\n if (string.length % 4 == 0) {\n string = replace(string, finalEq, '');\n }\n if (string.length % 4 == 1 || exec(disallowed, string)) {\n throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');\n }\n while (chr = charAt(string, position++)) {\n if (hasOwn(ctoi, chr)) {\n bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr];\n if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6));\n }\n } return output;\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar itoc = require('../internals/base64-map').itoc;\n\nvar $btoa = getBuiltIn('btoa');\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\nvar NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () {\n $btoa();\n});\n\n// `btoa` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa\n$({ global: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK }, {\n btoa: function btoa(data) {\n validateArgumentsLength(arguments.length, 1);\n if (NO_ARG_RECEIVING_CHECK) return $btoa(data);\n var string = toString(data);\n var output = '';\n var position = 0;\n var map = itoc;\n var block, charCode;\n while (charAt(string, position) || (map = '=', position % 1)) {\n charCode = charCodeAt(string, position += 3 / 4);\n if (charCode > 0xFF) {\n throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');\n }\n block = block << 8 | charCode;\n output += charAt(map, 63 & block >> 8 - position % 1 * 8);\n } return output;\n }\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","'use strict';\nvar $ = require('../internals/export');\nvar tryNodeRequire = require('../internals/try-node-require');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineProperties = require('../internals/object-define-properties').f;\nvar redefine = require('../internals/redefine');\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar errorToString = require('../internals/error-to-string');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar InternalStateModule = require('../internals/internal-state');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar DATA_CLONE_ERR = 'DATA_CLONE_ERR';\nvar Error = getBuiltIn('Error');\n// NodeJS < 17.0 does not expose `DOMException` to global\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () {\n try {\n // NodeJS < 15.0 does not expose `MessageChannel` to global\n var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;\n // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe\n new MessageChannel().port1.postMessage(new WeakMap());\n } catch (error) {\n if (error.name == DATA_CLONE_ERR && error.code == 25) return error.constructor;\n }\n})();\nvar NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;\nvar ErrorPrototype = Error.prototype;\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION);\nvar HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\n\nvar codeFor = function (name) {\n return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0;\n};\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var code = codeFor(name);\n setInternalState(this, {\n type: DOM_EXCEPTION,\n name: name,\n message: message,\n code: code\n });\n if (!DESCRIPTORS) {\n this.name = name;\n this.message = message;\n this.code = code;\n }\n if (HAS_STACK) {\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n }\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype);\n\nvar createGetterDescriptor = function (get) {\n return { enumerable: true, configurable: true, get: get };\n};\n\nvar getterFor = function (key) {\n return createGetterDescriptor(function () {\n return getInternalState(this)[key];\n });\n};\n\nif (DESCRIPTORS) defineProperties(DOMExceptionPrototype, {\n name: getterFor('name'),\n message: getterFor('message'),\n code: getterFor('code')\n});\n\ndefineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException));\n\n// FF36- DOMException is a function, but can't be constructed\nvar INCORRECT_CONSTRUCTOR = fails(function () {\n return !(new NativeDOMException() instanceof Error);\n});\n\n// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs\nvar INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {\n return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1';\n});\n\n// Deno 1.6.3- DOMException.prototype.code just missed\nvar INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {\n return new NativeDOMException(1, 'DataCloneError').code !== 25;\n});\n\n// Deno 1.6.3- DOMException constants just missed\nvar MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR\n || NativeDOMException[DATA_CLONE_ERR] !== 25\n || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;\n\nvar FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR;\n\n// `DOMException` constructor\n// https://webidl.spec.whatwg.org/#idl-DOMException\n$({ global: true, forced: FORCED_CONSTRUCTOR }, {\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) {\n redefine(PolyfilledDOMExceptionPrototype, 'toString', errorToString);\n}\n\nif (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () {\n return codeFor(anObject(this).name);\n }));\n}\n\nfor (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n var descriptor = createPropertyDescriptor(6, constant.c);\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, descriptor);\n }\n if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) {\n defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor);\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar IS_PURE = require('../internals/is-pure');\n\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\n\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\n\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\n\nvar ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION);\nvar DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2);\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({ global: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\n\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\n\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}\n","var getBuiltIn = require('../internals/get-built-in');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\nvar DOM_EXCEPTION = 'DOMException';\n\nsetToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar task = require('../internals/task');\n\nvar FORCED = !global.setImmediate || !global.clearImmediate;\n\n// http://w3c.github.io/setImmediate/\n$({ global: true, bind: true, enumerable: true, forced: FORCED }, {\n // `setImmediate` method\n // http://w3c.github.io/setImmediate/#si-setImmediate\n setImmediate: task.set,\n // `clearImmediate` method\n // http://w3c.github.io/setImmediate/#si-clearImmediate\n clearImmediate: task.clear\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar microtask = require('../internals/microtask');\nvar aCallable = require('../internals/a-callable');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar process = global.process;\n\n// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n$({ global: true, enumerable: true, noTargetGet: true }, {\n queueMicrotask: function queueMicrotask(fn) {\n validateArgumentsLength(arguments.length, 1);\n aCallable(fn);\n var domain = IS_NODE && process.domain;\n microtask(domain ? domain.bind(fn) : fn);\n }\n});\n","var IS_PURE = require('../internals/is-pure');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltin = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar uid = require('../internals/uid');\nvar isCallable = require('../internals/is-callable');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar iterate = require('../internals/iterate');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar createProperty = require('../internals/create-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar regExpFlags = require('../internals/regexp-flags');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar Object = global.Object;\nvar Date = global.Date;\nvar Error = global.Error;\nvar EvalError = global.EvalError;\nvar RangeError = global.RangeError;\nvar ReferenceError = global.ReferenceError;\nvar SyntaxError = global.SyntaxError;\nvar TypeError = global.TypeError;\nvar URIError = global.URIError;\nvar PerformanceMark = global.PerformanceMark;\nvar WebAssembly = global.WebAssembly;\nvar CompileError = WebAssembly && WebAssembly.CompileError || Error;\nvar LinkError = WebAssembly && WebAssembly.LinkError || Error;\nvar RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error;\nvar DOMException = getBuiltin('DOMException');\nvar Set = getBuiltin('Set');\nvar Map = getBuiltin('Map');\nvar MapPrototype = Map.prototype;\nvar mapHas = uncurryThis(MapPrototype.has);\nvar mapGet = uncurryThis(MapPrototype.get);\nvar mapSet = uncurryThis(MapPrototype.set);\nvar setAdd = uncurryThis(Set.prototype.add);\nvar objectKeys = getBuiltin('Object', 'keys');\nvar push = uncurryThis([].push);\nvar booleanValueOf = uncurryThis(true.valueOf);\nvar numberValueOf = uncurryThis(1.0.valueOf);\nvar stringValueOf = uncurryThis(''.valueOf);\nvar getFlags = uncurryThis(regExpFlags);\nvar getTime = uncurryThis(Date.prototype.getTime);\nvar PERFORMANCE_MARK = uid('structuredClone');\nvar DATA_CLONE_ERROR = 'DataCloneError';\nvar TRANSFERRING = 'Transferring';\n\nvar checkBasicSemantic = function (structuredCloneImplementation) {\n return !fails(function () {\n var set1 = new global.Set([7]);\n var set2 = structuredCloneImplementation(set1);\n var number = structuredCloneImplementation(Object(7));\n return set2 == set1 || !set2.has(7) || typeof number != 'object' || number != 7;\n }) && structuredCloneImplementation;\n};\n\n// https://github.com/whatwg/html/pull/5749\nvar checkNewErrorsSemantic = function (structuredCloneImplementation) {\n return !fails(function () {\n var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));\n return test.name != 'AggregateError' || test.errors[0] != 1 || test.message != PERFORMANCE_MARK || test.cause != 3;\n }) && structuredCloneImplementation;\n};\n\n// FF94+, Safari TP134+, Chrome Canary 98+, NodeJS 17.0+, Deno 1.13+\n// current FF and Safari implementations can't clone errors\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604\n// no one of current implementations supports new (html/5749) error cloning semantic\nvar nativeStructuredClone = global.structuredClone;\n\nvar FORCED_REPLACEMENT = IS_PURE || !checkNewErrorsSemantic(nativeStructuredClone);\n\n// Chrome 82+, Safari 14.1+, Deno 1.11+\n// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException`\n// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround\n// current Safari implementation can't clone errors\n// Deno 1.2-1.10 implementations too naive\n// NodeJS 16.0+ does not have `PerformanceMark` constructor, structured cloning implementation\n// from `performance.mark` is too naive and can't clone, for example, `RegExp` or some boxed primitives\n// https://github.com/nodejs/node/issues/40840\n// no one of current implementations supports new (html/5749) error cloning semantic\nvar structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {\n return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;\n});\n\nvar nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark;\n\nvar throwUncloneable = function (type) {\n throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR);\n};\n\nvar throwUnpolyfillable = function (type, kind) {\n throw new DOMException((kind || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);\n};\n\nvar structuredCloneInternal = function (value, map) {\n if (isSymbol(value)) throwUncloneable('Symbol');\n if (!isObject(value)) return value;\n // effectively preserves circular references\n if (map) {\n if (mapHas(map, value)) return mapGet(map, value);\n } else map = new Map();\n\n var type = classof(value);\n var deep = false;\n var C, name, cloned, dataTransfer, i, length, keys, key, source, target;\n\n switch (type) {\n case 'Array':\n cloned = [];\n deep = true;\n break;\n case 'Object':\n cloned = {};\n deep = true;\n break;\n case 'Map':\n cloned = new Map();\n deep = true;\n break;\n case 'Set':\n cloned = new Set();\n deep = true;\n break;\n case 'RegExp':\n // in this block because of a Safari 14.1 bug\n // old FF does not clone regexes passed to the constructor, so get the source and flags directly\n cloned = new RegExp(value.source, 'flags' in value ? value.flags : getFlags(value));\n break;\n case 'Error':\n name = value.name;\n switch (name) {\n case 'AggregateError':\n cloned = getBuiltin('AggregateError')([]);\n break;\n case 'EvalError':\n cloned = EvalError();\n break;\n case 'RangeError':\n cloned = RangeError();\n break;\n case 'ReferenceError':\n cloned = ReferenceError();\n break;\n case 'SyntaxError':\n cloned = SyntaxError();\n break;\n case 'TypeError':\n cloned = TypeError();\n break;\n case 'URIError':\n cloned = URIError();\n break;\n case 'CompileError':\n cloned = CompileError();\n break;\n case 'LinkError':\n cloned = LinkError();\n break;\n case 'RuntimeError':\n cloned = RuntimeError();\n break;\n default:\n cloned = Error();\n }\n deep = true;\n break;\n case 'DOMException':\n cloned = new DOMException(value.message, value.name);\n deep = true;\n break;\n case 'DataView':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n C = global[type];\n // in some old engines like Safari 9, typeof C is 'object'\n // on Uint8ClampedArray or some other constructors\n if (!isObject(C)) throwUnpolyfillable(type);\n cloned = new C(\n // this is safe, since arraybuffer cannot have circular references\n structuredCloneInternal(value.buffer, map),\n value.byteOffset,\n type === 'DataView' ? value.byteLength : value.length\n );\n break;\n case 'DOMQuad':\n try {\n cloned = new DOMQuad(\n structuredCloneInternal(value.p1, map),\n structuredCloneInternal(value.p2, map),\n structuredCloneInternal(value.p3, map),\n structuredCloneInternal(value.p4, map)\n );\n } catch (error) {\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n }\n break;\n case 'FileList':\n C = global.DataTransfer;\n if (isConstructor(C)) {\n dataTransfer = new C();\n for (i = 0, length = lengthOfArrayLike(value); i < length; i++) {\n dataTransfer.items.add(structuredCloneInternal(value[i], map));\n }\n cloned = dataTransfer.files;\n } else if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n break;\n case 'ImageData':\n // Safari 9 ImageData is a constructor, but typeof ImageData is 'object'\n try {\n cloned = new ImageData(\n structuredCloneInternal(value.data, map),\n value.width,\n value.height,\n { colorSpace: value.colorSpace }\n );\n } catch (error) {\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n } break;\n default:\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else switch (type) {\n case 'BigInt':\n // can be a 3rd party polyfill\n cloned = Object(value.valueOf());\n break;\n case 'Boolean':\n cloned = Object(booleanValueOf(value));\n break;\n case 'Number':\n cloned = Object(numberValueOf(value));\n break;\n case 'String':\n cloned = Object(stringValueOf(value));\n break;\n case 'Date':\n cloned = new Date(getTime(value));\n break;\n case 'ArrayBuffer':\n C = global.DataView;\n // `ArrayBuffer#slice` is not available in IE10\n // `ArrayBuffer#slice` and `DataView` are not available in old FF\n if (!C && typeof value.slice != 'function') throwUnpolyfillable(type);\n // detached buffers throws in `DataView` and `.slice`\n try {\n if (typeof value.slice == 'function') {\n cloned = value.slice(0);\n } else {\n length = value.byteLength;\n cloned = new ArrayBuffer(length);\n source = new C(value);\n target = new C(cloned);\n for (i = 0; i < length; i++) {\n target.setUint8(i, source.getUint8(i));\n }\n }\n } catch (error) {\n throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR);\n } break;\n case 'SharedArrayBuffer':\n // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original\n cloned = value;\n break;\n case 'Blob':\n try {\n cloned = value.slice(0, value.size, value.type);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMPoint':\n case 'DOMPointReadOnly':\n C = global[type];\n try {\n cloned = C.fromPoint\n ? C.fromPoint(value)\n : new C(value.x, value.y, value.z, value.w);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMRect':\n case 'DOMRectReadOnly':\n C = global[type];\n try {\n cloned = C.fromRect\n ? C.fromRect(value)\n : new C(value.x, value.y, value.width, value.height);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'DOMMatrix':\n case 'DOMMatrixReadOnly':\n C = global[type];\n try {\n cloned = C.fromMatrix\n ? C.fromMatrix(value)\n : new C(value);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone)) throwUnpolyfillable(type);\n try {\n cloned = value.clone();\n } catch (error) {\n throwUncloneable(type);\n } break;\n case 'File':\n try {\n cloned = new File([value], value.name, value);\n } catch (error) {\n throwUnpolyfillable(type);\n } break;\n case 'CryptoKey':\n case 'GPUCompilationMessage':\n case 'GPUCompilationInfo':\n case 'ImageBitmap':\n case 'RTCCertificate':\n case 'WebAssembly.Module':\n throwUnpolyfillable(type);\n // break omitted\n default:\n throwUncloneable(type);\n }\n }\n\n mapSet(map, value, cloned);\n\n if (deep) switch (type) {\n case 'Array':\n case 'Object':\n keys = objectKeys(value);\n for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {\n key = keys[i];\n createProperty(cloned, key, structuredCloneInternal(value[key], map));\n } break;\n case 'Map':\n value.forEach(function (v, k) {\n mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));\n });\n break;\n case 'Set':\n value.forEach(function (v) {\n setAdd(cloned, structuredCloneInternal(v, map));\n });\n break;\n case 'Error':\n createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map));\n if (hasOwn(value, 'cause')) {\n createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map));\n }\n if (name == 'AggregateError') {\n cloned.errors = structuredCloneInternal(value.errors, map);\n } // break omitted\n case 'DOMException':\n if (ERROR_STACK_INSTALLABLE) {\n createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map));\n }\n }\n\n return cloned;\n};\n\nvar PROPER_TRANSFER = nativeStructuredClone && !fails(function () {\n var buffer = new ArrayBuffer(8);\n var clone = nativeStructuredClone(buffer, { transfer: [buffer] });\n return buffer.byteLength != 0 || clone.byteLength != 8;\n});\n\nvar tryToTransfer = function (rawTransfer, map) {\n if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence');\n\n var transfer = [];\n\n iterate(rawTransfer, function (value) {\n push(transfer, anObject(value));\n });\n\n var i = 0;\n var length = lengthOfArrayLike(transfer);\n var value, type, C, transferredArray, transferred, canvas, context;\n\n if (PROPER_TRANSFER) {\n transferredArray = nativeStructuredClone(transfer, { transfer: transfer });\n while (i < length) mapSet(map, transfer[i], transferredArray[i++]);\n } else while (i < length) {\n value = transfer[i++];\n if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);\n\n type = classof(value);\n\n switch (type) {\n case 'ImageBitmap':\n C = global.OffscreenCanvas;\n if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n canvas = new C(value.width, value.height);\n context = canvas.getContext('bitmaprenderer');\n context.transferFromImageBitmap(value);\n transferred = canvas.transferToImageBitmap();\n } catch (error) { /* empty */ }\n break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n transferred = value.clone();\n value.close();\n } catch (error) { /* empty */ }\n break;\n case 'ArrayBuffer':\n case 'MessagePort':\n case 'OffscreenCanvas':\n case 'ReadableStream':\n case 'TransformStream':\n case 'WritableStream':\n throwUnpolyfillable(type, TRANSFERRING);\n }\n\n if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR);\n mapSet(map, value, transferred);\n }\n};\n\n$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, {\n structuredClone: function structuredClone(value /* , { transfer } */) {\n var options = validateArgumentsLength(arguments.length, 1) > 1 ? anObject(arguments[1]) : undefined;\n var transfer = options ? options.transfer : undefined;\n var map;\n\n if (transfer !== undefined) {\n map = new Map();\n tryToTransfer(transfer, map);\n }\n\n return structuredCloneInternal(value, map);\n }\n});\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar userAgent = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar Function = global.Function;\n\nvar wrap = function (scheduler) {\n return function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > 2;\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = boundArgs ? arraySlice(arguments, 2) : undefined;\n return scheduler(boundArgs ? function () {\n apply(fn, this, args);\n } : fn, timeout);\n };\n};\n\n// ie9- setTimeout & setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n$({ global: true, bind: true, forced: MSIE }, {\n // `setTimeout` method\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n setTimeout: wrap(global.setTimeout),\n // `setInterval` method\n // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n setInterval: wrap(global.setInterval)\n});\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar n$Fetch = getBuiltIn('fetch');\nvar N$Request = getBuiltIn('Request');\nvar Headers = getBuiltIn('Headers');\nvar RequestPrototype = N$Request && N$Request.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\nredefineAll(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);\n else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\nredefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\nredefine(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(n$Fetch)) {\n $({ global: true, enumerable: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(N$Request)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.string.iterator');\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineProperties = require('../internals/object-define-properties').f;\nvar redefine = require('../internals/redefine');\nvar anInstance = require('../internals/an-instance');\nvar hasOwn = require('../internals/has-own-property');\nvar assign = require('../internals/object-assign');\nvar arrayFrom = require('../internals/array-from');\nvar arraySlice = require('../internals/array-slice-simple');\nvar codeAt = require('../internals/string-multibyte').codeAt;\nvar toASCII = require('../internals/string-punycode-to-ascii');\nvar $toString = require('../internals/to-string');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar URLSearchParamsModule = require('../modules/web.url-search-params');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalURLState = InternalStateModule.getterFor('URL');\nvar URLSearchParams = URLSearchParamsModule.URLSearchParams;\nvar getInternalSearchParamsState = URLSearchParamsModule.getState;\n\nvar NativeURL = global.URL;\nvar TypeError = global.TypeError;\nvar parseInt = global.parseInt;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar join = uncurryThis([].join);\nvar numberToString = uncurryThis(1.0.toString);\nvar pop = uncurryThis([].pop);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar toLowerCase = uncurryThis(''.toLowerCase);\nvar unshift = uncurryThis([].unshift);\n\nvar INVALID_AUTHORITY = 'Invalid authority';\nvar INVALID_SCHEME = 'Invalid scheme';\nvar INVALID_HOST = 'Invalid host';\nvar INVALID_PORT = 'Invalid port';\n\nvar ALPHA = /[a-z]/i;\n// eslint-disable-next-line regexp/no-obscure-range -- safe\nvar ALPHANUMERIC = /[\\d+-.a-z]/i;\nvar DIGIT = /\\d/;\nvar HEX_START = /^0x/i;\nvar OCT = /^[0-7]+$/;\nvar DEC = /^\\d+$/;\nvar HEX = /^[\\da-f]+$/i;\n/* eslint-disable regexp/no-control-character -- safe */\nvar FORBIDDEN_HOST_CODE_POINT = /[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/;\nvar FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/;\nvar LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\\u0000-\\u0020]+|[\\u0000-\\u0020]+$/g;\nvar TAB_AND_NEW_LINE = /[\\t\\n\\r]/g;\n/* eslint-enable regexp/no-control-character -- safe */\nvar EOF;\n\n// https://url.spec.whatwg.org/#ipv4-number-parser\nvar parseIPv4 = function (input) {\n var parts = split(input, '.');\n var partsLength, numbers, index, part, radix, number, ipv4;\n if (parts.length && parts[parts.length - 1] == '') {\n parts.length--;\n }\n partsLength = parts.length;\n if (partsLength > 4) return input;\n numbers = [];\n for (index = 0; index < partsLength; index++) {\n part = parts[index];\n if (part == '') return input;\n radix = 10;\n if (part.length > 1 && charAt(part, 0) == '0') {\n radix = exec(HEX_START, part) ? 16 : 8;\n part = stringSlice(part, radix == 8 ? 1 : 2);\n }\n if (part === '') {\n number = 0;\n } else {\n if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input;\n number = parseInt(part, radix);\n }\n push(numbers, number);\n }\n for (index = 0; index < partsLength; index++) {\n number = numbers[index];\n if (index == partsLength - 1) {\n if (number >= pow(256, 5 - partsLength)) return null;\n } else if (number > 255) return null;\n }\n ipv4 = pop(numbers);\n for (index = 0; index < numbers.length; index++) {\n ipv4 += numbers[index] * pow(256, 3 - index);\n }\n return ipv4;\n};\n\n// https://url.spec.whatwg.org/#concept-ipv6-parser\n// eslint-disable-next-line max-statements -- TODO\nvar parseIPv6 = function (input) {\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var pointer = 0;\n var value, length, numbersSeen, ipv4Piece, number, swaps, swap;\n\n var chr = function () {\n return charAt(input, pointer);\n };\n\n if (chr() == ':') {\n if (charAt(input, 1) != ':') return;\n pointer += 2;\n pieceIndex++;\n compress = pieceIndex;\n }\n while (chr()) {\n if (pieceIndex == 8) return;\n if (chr() == ':') {\n if (compress !== null) return;\n pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n value = length = 0;\n while (length < 4 && exec(HEX, chr())) {\n value = value * 16 + parseInt(chr(), 16);\n pointer++;\n length++;\n }\n if (chr() == '.') {\n if (length == 0) return;\n pointer -= length;\n if (pieceIndex > 6) return;\n numbersSeen = 0;\n while (chr()) {\n ipv4Piece = null;\n if (numbersSeen > 0) {\n if (chr() == '.' && numbersSeen < 4) pointer++;\n else return;\n }\n if (!exec(DIGIT, chr())) return;\n while (exec(DIGIT, chr())) {\n number = parseInt(chr(), 10);\n if (ipv4Piece === null) ipv4Piece = number;\n else if (ipv4Piece == 0) return;\n else ipv4Piece = ipv4Piece * 10 + number;\n if (ipv4Piece > 255) return;\n pointer++;\n }\n address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;\n }\n if (numbersSeen != 4) return;\n break;\n } else if (chr() == ':') {\n pointer++;\n if (!chr()) return;\n } else if (chr()) return;\n address[pieceIndex++] = value;\n }\n if (compress !== null) {\n swaps = pieceIndex - compress;\n pieceIndex = 7;\n while (pieceIndex != 0 && swaps > 0) {\n swap = address[pieceIndex];\n address[pieceIndex--] = address[compress + swaps - 1];\n address[compress + --swaps] = swap;\n }\n } else if (pieceIndex != 8) return;\n return address;\n};\n\nvar findLongestZeroSequence = function (ipv6) {\n var maxIndex = null;\n var maxLength = 1;\n var currStart = null;\n var currLength = 0;\n var index = 0;\n for (; index < 8; index++) {\n if (ipv6[index] !== 0) {\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n currStart = null;\n currLength = 0;\n } else {\n if (currStart === null) currStart = index;\n ++currLength;\n }\n }\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n return maxIndex;\n};\n\n// https://url.spec.whatwg.org/#host-serializing\nvar serializeHost = function (host) {\n var result, index, compress, ignore0;\n // ipv4\n if (typeof host == 'number') {\n result = [];\n for (index = 0; index < 4; index++) {\n unshift(result, host % 256);\n host = floor(host / 256);\n } return join(result, '.');\n // ipv6\n } else if (typeof host == 'object') {\n result = '';\n compress = findLongestZeroSequence(host);\n for (index = 0; index < 8; index++) {\n if (ignore0 && host[index] === 0) continue;\n if (ignore0) ignore0 = false;\n if (compress === index) {\n result += index ? ':' : '::';\n ignore0 = true;\n } else {\n result += numberToString(host[index], 16);\n if (index < 7) result += ':';\n }\n }\n return '[' + result + ']';\n } return host;\n};\n\nvar C0ControlPercentEncodeSet = {};\nvar fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {\n ' ': 1, '\"': 1, '<': 1, '>': 1, '`': 1\n});\nvar pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {\n '#': 1, '?': 1, '{': 1, '}': 1\n});\nvar userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {\n '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\\\': 1, ']': 1, '^': 1, '|': 1\n});\n\nvar percentEncode = function (chr, set) {\n var code = codeAt(chr, 0);\n return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);\n};\n\n// https://url.spec.whatwg.org/#special-scheme\nvar specialSchemes = {\n ftp: 21,\n file: null,\n http: 80,\n https: 443,\n ws: 80,\n wss: 443\n};\n\n// https://url.spec.whatwg.org/#windows-drive-letter\nvar isWindowsDriveLetter = function (string, normalized) {\n var second;\n return string.length == 2 && exec(ALPHA, charAt(string, 0))\n && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|'));\n};\n\n// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter\nvar startsWithWindowsDriveLetter = function (string) {\n var third;\n return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (\n string.length == 2 ||\n ((third = charAt(string, 2)) === '/' || third === '\\\\' || third === '?' || third === '#')\n );\n};\n\n// https://url.spec.whatwg.org/#single-dot-path-segment\nvar isSingleDot = function (segment) {\n return segment === '.' || toLowerCase(segment) === '%2e';\n};\n\n// https://url.spec.whatwg.org/#double-dot-path-segment\nvar isDoubleDot = function (segment) {\n segment = toLowerCase(segment);\n return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';\n};\n\n// States:\nvar SCHEME_START = {};\nvar SCHEME = {};\nvar NO_SCHEME = {};\nvar SPECIAL_RELATIVE_OR_AUTHORITY = {};\nvar PATH_OR_AUTHORITY = {};\nvar RELATIVE = {};\nvar RELATIVE_SLASH = {};\nvar SPECIAL_AUTHORITY_SLASHES = {};\nvar SPECIAL_AUTHORITY_IGNORE_SLASHES = {};\nvar AUTHORITY = {};\nvar HOST = {};\nvar HOSTNAME = {};\nvar PORT = {};\nvar FILE = {};\nvar FILE_SLASH = {};\nvar FILE_HOST = {};\nvar PATH_START = {};\nvar PATH = {};\nvar CANNOT_BE_A_BASE_URL_PATH = {};\nvar QUERY = {};\nvar FRAGMENT = {};\n\nvar URLState = function (url, isBase, base) {\n var urlString = $toString(url);\n var baseState, failure, searchParams;\n if (isBase) {\n failure = this.parse(urlString);\n if (failure) throw TypeError(failure);\n this.searchParams = null;\n } else {\n if (base !== undefined) baseState = new URLState(base, true);\n failure = this.parse(urlString, null, baseState);\n if (failure) throw TypeError(failure);\n searchParams = getInternalSearchParamsState(new URLSearchParams());\n searchParams.bindURL(this);\n this.searchParams = searchParams;\n }\n};\n\nURLState.prototype = {\n type: 'URL',\n // https://url.spec.whatwg.org/#url-parsing\n // eslint-disable-next-line max-statements -- TODO\n parse: function (input, stateOverride, base) {\n var url = this;\n var state = stateOverride || SCHEME_START;\n var pointer = 0;\n var buffer = '';\n var seenAt = false;\n var seenBracket = false;\n var seenPasswordToken = false;\n var codePoints, chr, bufferCodePoints, failure;\n\n input = $toString(input);\n\n if (!stateOverride) {\n url.scheme = '';\n url.username = '';\n url.password = '';\n url.host = null;\n url.port = null;\n url.path = [];\n url.query = null;\n url.fragment = null;\n url.cannotBeABaseURL = false;\n input = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');\n }\n\n input = replace(input, TAB_AND_NEW_LINE, '');\n\n codePoints = arrayFrom(input);\n\n while (pointer <= codePoints.length) {\n chr = codePoints[pointer];\n switch (state) {\n case SCHEME_START:\n if (chr && exec(ALPHA, chr)) {\n buffer += toLowerCase(chr);\n state = SCHEME;\n } else if (!stateOverride) {\n state = NO_SCHEME;\n continue;\n } else return INVALID_SCHEME;\n break;\n\n case SCHEME:\n if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) {\n buffer += toLowerCase(chr);\n } else if (chr == ':') {\n if (stateOverride && (\n (url.isSpecial() != hasOwn(specialSchemes, buffer)) ||\n (buffer == 'file' && (url.includesCredentials() || url.port !== null)) ||\n (url.scheme == 'file' && !url.host)\n )) return;\n url.scheme = buffer;\n if (stateOverride) {\n if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null;\n return;\n }\n buffer = '';\n if (url.scheme == 'file') {\n state = FILE;\n } else if (url.isSpecial() && base && base.scheme == url.scheme) {\n state = SPECIAL_RELATIVE_OR_AUTHORITY;\n } else if (url.isSpecial()) {\n state = SPECIAL_AUTHORITY_SLASHES;\n } else if (codePoints[pointer + 1] == '/') {\n state = PATH_OR_AUTHORITY;\n pointer++;\n } else {\n url.cannotBeABaseURL = true;\n push(url.path, '');\n state = CANNOT_BE_A_BASE_URL_PATH;\n }\n } else if (!stateOverride) {\n buffer = '';\n state = NO_SCHEME;\n pointer = 0;\n continue;\n } else return INVALID_SCHEME;\n break;\n\n case NO_SCHEME:\n if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME;\n if (base.cannotBeABaseURL && chr == '#') {\n url.scheme = base.scheme;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n url.cannotBeABaseURL = true;\n state = FRAGMENT;\n break;\n }\n state = base.scheme == 'file' ? FILE : RELATIVE;\n continue;\n\n case SPECIAL_RELATIVE_OR_AUTHORITY:\n if (chr == '/' && codePoints[pointer + 1] == '/') {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n pointer++;\n } else {\n state = RELATIVE;\n continue;\n } break;\n\n case PATH_OR_AUTHORITY:\n if (chr == '/') {\n state = AUTHORITY;\n break;\n } else {\n state = PATH;\n continue;\n }\n\n case RELATIVE:\n url.scheme = base.scheme;\n if (chr == EOF) {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr == '/' || (chr == '\\\\' && url.isSpecial())) {\n state = RELATIVE_SLASH;\n } else if (chr == '?') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.path.length--;\n state = PATH;\n continue;\n } break;\n\n case RELATIVE_SLASH:\n if (url.isSpecial() && (chr == '/' || chr == '\\\\')) {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n } else if (chr == '/') {\n state = AUTHORITY;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n state = PATH;\n continue;\n } break;\n\n case SPECIAL_AUTHORITY_SLASHES:\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n if (chr != '/' || charAt(buffer, pointer + 1) != '/') continue;\n pointer++;\n break;\n\n case SPECIAL_AUTHORITY_IGNORE_SLASHES:\n if (chr != '/' && chr != '\\\\') {\n state = AUTHORITY;\n continue;\n } break;\n\n case AUTHORITY:\n if (chr == '@') {\n if (seenAt) buffer = '%40' + buffer;\n seenAt = true;\n bufferCodePoints = arrayFrom(buffer);\n for (var i = 0; i < bufferCodePoints.length; i++) {\n var codePoint = bufferCodePoints[i];\n if (codePoint == ':' && !seenPasswordToken) {\n seenPasswordToken = true;\n continue;\n }\n var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);\n if (seenPasswordToken) url.password += encodedCodePoints;\n else url.username += encodedCodePoints;\n }\n buffer = '';\n } else if (\n chr == EOF || chr == '/' || chr == '?' || chr == '#' ||\n (chr == '\\\\' && url.isSpecial())\n ) {\n if (seenAt && buffer == '') return INVALID_AUTHORITY;\n pointer -= arrayFrom(buffer).length + 1;\n buffer = '';\n state = HOST;\n } else buffer += chr;\n break;\n\n case HOST:\n case HOSTNAME:\n if (stateOverride && url.scheme == 'file') {\n state = FILE_HOST;\n continue;\n } else if (chr == ':' && !seenBracket) {\n if (buffer == '') return INVALID_HOST;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PORT;\n if (stateOverride == HOSTNAME) return;\n } else if (\n chr == EOF || chr == '/' || chr == '?' || chr == '#' ||\n (chr == '\\\\' && url.isSpecial())\n ) {\n if (url.isSpecial() && buffer == '') return INVALID_HOST;\n if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PATH_START;\n if (stateOverride) return;\n continue;\n } else {\n if (chr == '[') seenBracket = true;\n else if (chr == ']') seenBracket = false;\n buffer += chr;\n } break;\n\n case PORT:\n if (exec(DIGIT, chr)) {\n buffer += chr;\n } else if (\n chr == EOF || chr == '/' || chr == '?' || chr == '#' ||\n (chr == '\\\\' && url.isSpecial()) ||\n stateOverride\n ) {\n if (buffer != '') {\n var port = parseInt(buffer, 10);\n if (port > 0xFFFF) return INVALID_PORT;\n url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;\n buffer = '';\n }\n if (stateOverride) return;\n state = PATH_START;\n continue;\n } else return INVALID_PORT;\n break;\n\n case FILE:\n url.scheme = 'file';\n if (chr == '/' || chr == '\\\\') state = FILE_SLASH;\n else if (base && base.scheme == 'file') {\n if (chr == EOF) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr == '?') {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.shortenPath();\n }\n state = PATH;\n continue;\n }\n } else {\n state = PATH;\n continue;\n } break;\n\n case FILE_SLASH:\n if (chr == '/' || chr == '\\\\') {\n state = FILE_HOST;\n break;\n }\n if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);\n else url.host = base.host;\n }\n state = PATH;\n continue;\n\n case FILE_HOST:\n if (chr == EOF || chr == '/' || chr == '\\\\' || chr == '?' || chr == '#') {\n if (!stateOverride && isWindowsDriveLetter(buffer)) {\n state = PATH;\n } else if (buffer == '') {\n url.host = '';\n if (stateOverride) return;\n state = PATH_START;\n } else {\n failure = url.parseHost(buffer);\n if (failure) return failure;\n if (url.host == 'localhost') url.host = '';\n if (stateOverride) return;\n buffer = '';\n state = PATH_START;\n } continue;\n } else buffer += chr;\n break;\n\n case PATH_START:\n if (url.isSpecial()) {\n state = PATH;\n if (chr != '/' && chr != '\\\\') continue;\n } else if (!stateOverride && chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (!stateOverride && chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n state = PATH;\n if (chr != '/') continue;\n } break;\n\n case PATH:\n if (\n chr == EOF || chr == '/' ||\n (chr == '\\\\' && url.isSpecial()) ||\n (!stateOverride && (chr == '?' || chr == '#'))\n ) {\n if (isDoubleDot(buffer)) {\n url.shortenPath();\n if (chr != '/' && !(chr == '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else if (isSingleDot(buffer)) {\n if (chr != '/' && !(chr == '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else {\n if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {\n if (url.host) url.host = '';\n buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter\n }\n push(url.path, buffer);\n }\n buffer = '';\n if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) {\n while (url.path.length > 1 && url.path[0] === '') {\n shift(url.path);\n }\n }\n if (chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n }\n } else {\n buffer += percentEncode(chr, pathPercentEncodeSet);\n } break;\n\n case CANNOT_BE_A_BASE_URL_PATH:\n if (chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);\n } break;\n\n case QUERY:\n if (!stateOverride && chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n if (chr == \"'\" && url.isSpecial()) url.query += '%27';\n else if (chr == '#') url.query += '%23';\n else url.query += percentEncode(chr, C0ControlPercentEncodeSet);\n } break;\n\n case FRAGMENT:\n if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);\n break;\n }\n\n pointer++;\n }\n },\n // https://url.spec.whatwg.org/#host-parsing\n parseHost: function (input) {\n var result, codePoints, index;\n if (charAt(input, 0) == '[') {\n if (charAt(input, input.length - 1) != ']') return INVALID_HOST;\n result = parseIPv6(stringSlice(input, 1, -1));\n if (!result) return INVALID_HOST;\n this.host = result;\n // opaque host\n } else if (!this.isSpecial()) {\n if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;\n result = '';\n codePoints = arrayFrom(input);\n for (index = 0; index < codePoints.length; index++) {\n result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);\n }\n this.host = result;\n } else {\n input = toASCII(input);\n if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;\n result = parseIPv4(input);\n if (result === null) return INVALID_HOST;\n this.host = result;\n }\n },\n // https://url.spec.whatwg.org/#cannot-have-a-username-password-port\n cannotHaveUsernamePasswordPort: function () {\n return !this.host || this.cannotBeABaseURL || this.scheme == 'file';\n },\n // https://url.spec.whatwg.org/#include-credentials\n includesCredentials: function () {\n return this.username != '' || this.password != '';\n },\n // https://url.spec.whatwg.org/#is-special\n isSpecial: function () {\n return hasOwn(specialSchemes, this.scheme);\n },\n // https://url.spec.whatwg.org/#shorten-a-urls-path\n shortenPath: function () {\n var path = this.path;\n var pathSize = path.length;\n if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {\n path.length--;\n }\n },\n // https://url.spec.whatwg.org/#concept-url-serializer\n serialize: function () {\n var url = this;\n var scheme = url.scheme;\n var username = url.username;\n var password = url.password;\n var host = url.host;\n var port = url.port;\n var path = url.path;\n var query = url.query;\n var fragment = url.fragment;\n var output = scheme + ':';\n if (host !== null) {\n output += '//';\n if (url.includesCredentials()) {\n output += username + (password ? ':' + password : '') + '@';\n }\n output += serializeHost(host);\n if (port !== null) output += ':' + port;\n } else if (scheme == 'file') output += '//';\n output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n if (query !== null) output += '?' + query;\n if (fragment !== null) output += '#' + fragment;\n return output;\n },\n // https://url.spec.whatwg.org/#dom-url-href\n setHref: function (href) {\n var failure = this.parse(href);\n if (failure) throw TypeError(failure);\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-origin\n getOrigin: function () {\n var scheme = this.scheme;\n var port = this.port;\n if (scheme == 'blob') try {\n return new URLConstructor(scheme.path[0]).origin;\n } catch (error) {\n return 'null';\n }\n if (scheme == 'file' || !this.isSpecial()) return 'null';\n return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');\n },\n // https://url.spec.whatwg.org/#dom-url-protocol\n getProtocol: function () {\n return this.scheme + ':';\n },\n setProtocol: function (protocol) {\n this.parse($toString(protocol) + ':', SCHEME_START);\n },\n // https://url.spec.whatwg.org/#dom-url-username\n getUsername: function () {\n return this.username;\n },\n setUsername: function (username) {\n var codePoints = arrayFrom($toString(username));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.username = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-password\n getPassword: function () {\n return this.password;\n },\n setPassword: function (password) {\n var codePoints = arrayFrom($toString(password));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.password = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-host\n getHost: function () {\n var host = this.host;\n var port = this.port;\n return host === null ? ''\n : port === null ? serializeHost(host)\n : serializeHost(host) + ':' + port;\n },\n setHost: function (host) {\n if (this.cannotBeABaseURL) return;\n this.parse(host, HOST);\n },\n // https://url.spec.whatwg.org/#dom-url-hostname\n getHostname: function () {\n var host = this.host;\n return host === null ? '' : serializeHost(host);\n },\n setHostname: function (hostname) {\n if (this.cannotBeABaseURL) return;\n this.parse(hostname, HOSTNAME);\n },\n // https://url.spec.whatwg.org/#dom-url-port\n getPort: function () {\n var port = this.port;\n return port === null ? '' : $toString(port);\n },\n setPort: function (port) {\n if (this.cannotHaveUsernamePasswordPort()) return;\n port = $toString(port);\n if (port == '') this.port = null;\n else this.parse(port, PORT);\n },\n // https://url.spec.whatwg.org/#dom-url-pathname\n getPathname: function () {\n var path = this.path;\n return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n },\n setPathname: function (pathname) {\n if (this.cannotBeABaseURL) return;\n this.path = [];\n this.parse(pathname, PATH_START);\n },\n // https://url.spec.whatwg.org/#dom-url-search\n getSearch: function () {\n var query = this.query;\n return query ? '?' + query : '';\n },\n setSearch: function (search) {\n search = $toString(search);\n if (search == '') {\n this.query = null;\n } else {\n if ('?' == charAt(search, 0)) search = stringSlice(search, 1);\n this.query = '';\n this.parse(search, QUERY);\n }\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-searchparams\n getSearchParams: function () {\n return this.searchParams.facade;\n },\n // https://url.spec.whatwg.org/#dom-url-hash\n getHash: function () {\n var fragment = this.fragment;\n return fragment ? '#' + fragment : '';\n },\n setHash: function (hash) {\n hash = $toString(hash);\n if (hash == '') {\n this.fragment = null;\n return;\n }\n if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1);\n this.fragment = '';\n this.parse(hash, FRAGMENT);\n },\n update: function () {\n this.query = this.searchParams.serialize() || null;\n }\n};\n\n// `URL` constructor\n// https://url.spec.whatwg.org/#url-class\nvar URLConstructor = function URL(url /* , base */) {\n var that = anInstance(this, URLPrototype);\n var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;\n var state = setInternalState(that, new URLState(url, false, base));\n if (!DESCRIPTORS) {\n that.href = state.serialize();\n that.origin = state.getOrigin();\n that.protocol = state.getProtocol();\n that.username = state.getUsername();\n that.password = state.getPassword();\n that.host = state.getHost();\n that.hostname = state.getHostname();\n that.port = state.getPort();\n that.pathname = state.getPathname();\n that.search = state.getSearch();\n that.searchParams = state.getSearchParams();\n that.hash = state.getHash();\n }\n};\n\nvar URLPrototype = URLConstructor.prototype;\n\nvar accessorDescriptor = function (getter, setter) {\n return {\n get: function () {\n return getInternalURLState(this)[getter]();\n },\n set: setter && function (value) {\n return getInternalURLState(this)[setter](value);\n },\n configurable: true,\n enumerable: true\n };\n};\n\nif (DESCRIPTORS) {\n defineProperties(URLPrototype, {\n // `URL.prototype.href` accessors pair\n // https://url.spec.whatwg.org/#dom-url-href\n href: accessorDescriptor('serialize', 'setHref'),\n // `URL.prototype.origin` getter\n // https://url.spec.whatwg.org/#dom-url-origin\n origin: accessorDescriptor('getOrigin'),\n // `URL.prototype.protocol` accessors pair\n // https://url.spec.whatwg.org/#dom-url-protocol\n protocol: accessorDescriptor('getProtocol', 'setProtocol'),\n // `URL.prototype.username` accessors pair\n // https://url.spec.whatwg.org/#dom-url-username\n username: accessorDescriptor('getUsername', 'setUsername'),\n // `URL.prototype.password` accessors pair\n // https://url.spec.whatwg.org/#dom-url-password\n password: accessorDescriptor('getPassword', 'setPassword'),\n // `URL.prototype.host` accessors pair\n // https://url.spec.whatwg.org/#dom-url-host\n host: accessorDescriptor('getHost', 'setHost'),\n // `URL.prototype.hostname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hostname\n hostname: accessorDescriptor('getHostname', 'setHostname'),\n // `URL.prototype.port` accessors pair\n // https://url.spec.whatwg.org/#dom-url-port\n port: accessorDescriptor('getPort', 'setPort'),\n // `URL.prototype.pathname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-pathname\n pathname: accessorDescriptor('getPathname', 'setPathname'),\n // `URL.prototype.search` accessors pair\n // https://url.spec.whatwg.org/#dom-url-search\n search: accessorDescriptor('getSearch', 'setSearch'),\n // `URL.prototype.searchParams` getter\n // https://url.spec.whatwg.org/#dom-url-searchparams\n searchParams: accessorDescriptor('getSearchParams'),\n // `URL.prototype.hash` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hash\n hash: accessorDescriptor('getHash', 'setHash')\n });\n}\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\nredefine(URLPrototype, 'toJSON', function toJSON() {\n return getInternalURLState(this).serialize();\n}, { enumerable: true });\n\n// `URL.prototype.toString` method\n// https://url.spec.whatwg.org/#URL-stringification-behavior\nredefine(URLPrototype, 'toString', function toString() {\n return getInternalURLState(this).serialize();\n}, { enumerable: true });\n\nif (NativeURL) {\n var nativeCreateObjectURL = NativeURL.createObjectURL;\n var nativeRevokeObjectURL = NativeURL.revokeObjectURL;\n // `URL.createObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL\n if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));\n // `URL.revokeObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL\n if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));\n}\n\nsetToStringTag(URLConstructor, 'URL');\n\n$({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {\n URL: URLConstructor\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\n$({ target: 'URL', proto: true, enumerable: true }, {\n toJSON: function toJSON() {\n return call(URL.prototype.toString, this);\n }\n});\n","require('../modules/es.symbol');\nrequire('../modules/es.symbol.description');\nrequire('../modules/es.symbol.async-iterator');\nrequire('../modules/es.symbol.has-instance');\nrequire('../modules/es.symbol.is-concat-spreadable');\nrequire('../modules/es.symbol.iterator');\nrequire('../modules/es.symbol.match');\nrequire('../modules/es.symbol.match-all');\nrequire('../modules/es.symbol.replace');\nrequire('../modules/es.symbol.search');\nrequire('../modules/es.symbol.species');\nrequire('../modules/es.symbol.split');\nrequire('../modules/es.symbol.to-primitive');\nrequire('../modules/es.symbol.to-string-tag');\nrequire('../modules/es.symbol.unscopables');\nrequire('../modules/es.error.cause');\nrequire('../modules/es.error.to-string');\nrequire('../modules/es.aggregate-error');\nrequire('../modules/es.aggregate-error.cause');\nrequire('../modules/es.array.at');\nrequire('../modules/es.array.concat');\nrequire('../modules/es.array.copy-within');\nrequire('../modules/es.array.every');\nrequire('../modules/es.array.fill');\nrequire('../modules/es.array.filter');\nrequire('../modules/es.array.find');\nrequire('../modules/es.array.find-index');\nrequire('../modules/es.array.flat');\nrequire('../modules/es.array.flat-map');\nrequire('../modules/es.array.for-each');\nrequire('../modules/es.array.from');\nrequire('../modules/es.array.includes');\nrequire('../modules/es.array.index-of');\nrequire('../modules/es.array.is-array');\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.array.join');\nrequire('../modules/es.array.last-index-of');\nrequire('../modules/es.array.map');\nrequire('../modules/es.array.of');\nrequire('../modules/es.array.reduce');\nrequire('../modules/es.array.reduce-right');\nrequire('../modules/es.array.reverse');\nrequire('../modules/es.array.slice');\nrequire('../modules/es.array.some');\nrequire('../modules/es.array.sort');\nrequire('../modules/es.array.species');\nrequire('../modules/es.array.splice');\nrequire('../modules/es.array.unscopables.flat');\nrequire('../modules/es.array.unscopables.flat-map');\nrequire('../modules/es.array-buffer.constructor');\nrequire('../modules/es.array-buffer.is-view');\nrequire('../modules/es.array-buffer.slice');\nrequire('../modules/es.data-view');\nrequire('../modules/es.date.get-year');\nrequire('../modules/es.date.now');\nrequire('../modules/es.date.set-year');\nrequire('../modules/es.date.to-gmt-string');\nrequire('../modules/es.date.to-iso-string');\nrequire('../modules/es.date.to-json');\nrequire('../modules/es.date.to-primitive');\nrequire('../modules/es.date.to-string');\nrequire('../modules/es.escape');\nrequire('../modules/es.function.bind');\nrequire('../modules/es.function.has-instance');\nrequire('../modules/es.function.name');\nrequire('../modules/es.global-this');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.json.to-string-tag');\nrequire('../modules/es.map');\nrequire('../modules/es.math.acosh');\nrequire('../modules/es.math.asinh');\nrequire('../modules/es.math.atanh');\nrequire('../modules/es.math.cbrt');\nrequire('../modules/es.math.clz32');\nrequire('../modules/es.math.cosh');\nrequire('../modules/es.math.expm1');\nrequire('../modules/es.math.fround');\nrequire('../modules/es.math.hypot');\nrequire('../modules/es.math.imul');\nrequire('../modules/es.math.log10');\nrequire('../modules/es.math.log1p');\nrequire('../modules/es.math.log2');\nrequire('../modules/es.math.sign');\nrequire('../modules/es.math.sinh');\nrequire('../modules/es.math.tanh');\nrequire('../modules/es.math.to-string-tag');\nrequire('../modules/es.math.trunc');\nrequire('../modules/es.number.constructor');\nrequire('../modules/es.number.epsilon');\nrequire('../modules/es.number.is-finite');\nrequire('../modules/es.number.is-integer');\nrequire('../modules/es.number.is-nan');\nrequire('../modules/es.number.is-safe-integer');\nrequire('../modules/es.number.max-safe-integer');\nrequire('../modules/es.number.min-safe-integer');\nrequire('../modules/es.number.parse-float');\nrequire('../modules/es.number.parse-int');\nrequire('../modules/es.number.to-exponential');\nrequire('../modules/es.number.to-fixed');\nrequire('../modules/es.number.to-precision');\nrequire('../modules/es.object.assign');\nrequire('../modules/es.object.create');\nrequire('../modules/es.object.define-getter');\nrequire('../modules/es.object.define-properties');\nrequire('../modules/es.object.define-property');\nrequire('../modules/es.object.define-setter');\nrequire('../modules/es.object.entries');\nrequire('../modules/es.object.freeze');\nrequire('../modules/es.object.from-entries');\nrequire('../modules/es.object.get-own-property-descriptor');\nrequire('../modules/es.object.get-own-property-descriptors');\nrequire('../modules/es.object.get-own-property-names');\nrequire('../modules/es.object.get-prototype-of');\nrequire('../modules/es.object.has-own');\nrequire('../modules/es.object.is');\nrequire('../modules/es.object.is-extensible');\nrequire('../modules/es.object.is-frozen');\nrequire('../modules/es.object.is-sealed');\nrequire('../modules/es.object.keys');\nrequire('../modules/es.object.lookup-getter');\nrequire('../modules/es.object.lookup-setter');\nrequire('../modules/es.object.prevent-extensions');\nrequire('../modules/es.object.seal');\nrequire('../modules/es.object.set-prototype-of');\nrequire('../modules/es.object.to-string');\nrequire('../modules/es.object.values');\nrequire('../modules/es.parse-float');\nrequire('../modules/es.parse-int');\nrequire('../modules/es.promise');\nrequire('../modules/es.promise.all-settled');\nrequire('../modules/es.promise.any');\nrequire('../modules/es.promise.finally');\nrequire('../modules/es.reflect.apply');\nrequire('../modules/es.reflect.construct');\nrequire('../modules/es.reflect.define-property');\nrequire('../modules/es.reflect.delete-property');\nrequire('../modules/es.reflect.get');\nrequire('../modules/es.reflect.get-own-property-descriptor');\nrequire('../modules/es.reflect.get-prototype-of');\nrequire('../modules/es.reflect.has');\nrequire('../modules/es.reflect.is-extensible');\nrequire('../modules/es.reflect.own-keys');\nrequire('../modules/es.reflect.prevent-extensions');\nrequire('../modules/es.reflect.set');\nrequire('../modules/es.reflect.set-prototype-of');\nrequire('../modules/es.reflect.to-string-tag');\nrequire('../modules/es.regexp.constructor');\nrequire('../modules/es.regexp.dot-all');\nrequire('../modules/es.regexp.exec');\nrequire('../modules/es.regexp.flags');\nrequire('../modules/es.regexp.sticky');\nrequire('../modules/es.regexp.test');\nrequire('../modules/es.regexp.to-string');\nrequire('../modules/es.set');\nrequire('../modules/es.string.at-alternative');\nrequire('../modules/es.string.code-point-at');\nrequire('../modules/es.string.ends-with');\nrequire('../modules/es.string.from-code-point');\nrequire('../modules/es.string.includes');\nrequire('../modules/es.string.iterator');\nrequire('../modules/es.string.match');\nrequire('../modules/es.string.match-all');\nrequire('../modules/es.string.pad-end');\nrequire('../modules/es.string.pad-start');\nrequire('../modules/es.string.raw');\nrequire('../modules/es.string.repeat');\nrequire('../modules/es.string.replace');\nrequire('../modules/es.string.replace-all');\nrequire('../modules/es.string.search');\nrequire('../modules/es.string.split');\nrequire('../modules/es.string.starts-with');\nrequire('../modules/es.string.substr');\nrequire('../modules/es.string.trim');\nrequire('../modules/es.string.trim-end');\nrequire('../modules/es.string.trim-start');\nrequire('../modules/es.string.anchor');\nrequire('../modules/es.string.big');\nrequire('../modules/es.string.blink');\nrequire('../modules/es.string.bold');\nrequire('../modules/es.string.fixed');\nrequire('../modules/es.string.fontcolor');\nrequire('../modules/es.string.fontsize');\nrequire('../modules/es.string.italics');\nrequire('../modules/es.string.link');\nrequire('../modules/es.string.small');\nrequire('../modules/es.string.strike');\nrequire('../modules/es.string.sub');\nrequire('../modules/es.string.sup');\nrequire('../modules/es.typed-array.float32-array');\nrequire('../modules/es.typed-array.float64-array');\nrequire('../modules/es.typed-array.int8-array');\nrequire('../modules/es.typed-array.int16-array');\nrequire('../modules/es.typed-array.int32-array');\nrequire('../modules/es.typed-array.uint8-array');\nrequire('../modules/es.typed-array.uint8-clamped-array');\nrequire('../modules/es.typed-array.uint16-array');\nrequire('../modules/es.typed-array.uint32-array');\nrequire('../modules/es.typed-array.at');\nrequire('../modules/es.typed-array.copy-within');\nrequire('../modules/es.typed-array.every');\nrequire('../modules/es.typed-array.fill');\nrequire('../modules/es.typed-array.filter');\nrequire('../modules/es.typed-array.find');\nrequire('../modules/es.typed-array.find-index');\nrequire('../modules/es.typed-array.for-each');\nrequire('../modules/es.typed-array.from');\nrequire('../modules/es.typed-array.includes');\nrequire('../modules/es.typed-array.index-of');\nrequire('../modules/es.typed-array.iterator');\nrequire('../modules/es.typed-array.join');\nrequire('../modules/es.typed-array.last-index-of');\nrequire('../modules/es.typed-array.map');\nrequire('../modules/es.typed-array.of');\nrequire('../modules/es.typed-array.reduce');\nrequire('../modules/es.typed-array.reduce-right');\nrequire('../modules/es.typed-array.reverse');\nrequire('../modules/es.typed-array.set');\nrequire('../modules/es.typed-array.slice');\nrequire('../modules/es.typed-array.some');\nrequire('../modules/es.typed-array.sort');\nrequire('../modules/es.typed-array.subarray');\nrequire('../modules/es.typed-array.to-locale-string');\nrequire('../modules/es.typed-array.to-string');\nrequire('../modules/es.unescape');\nrequire('../modules/es.weak-map');\nrequire('../modules/es.weak-set');\nrequire('../modules/web.atob');\nrequire('../modules/web.btoa');\nrequire('../modules/web.dom-collections.for-each');\nrequire('../modules/web.dom-collections.iterator');\nrequire('../modules/web.dom-exception.constructor');\nrequire('../modules/web.dom-exception.stack');\nrequire('../modules/web.dom-exception.to-string-tag');\nrequire('../modules/web.immediate');\nrequire('../modules/web.queue-microtask');\nrequire('../modules/web.structured-clone');\nrequire('../modules/web.timers');\nrequire('../modules/web.url');\nrequire('../modules/web.url.to-json');\nrequire('../modules/web.url-search-params');\n\nmodule.exports = require('../internals/path');\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"../assets/images/ic-player-frame-jump.ttf?rxg7gj\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(\"../assets/fonts/fontello.ttf?13010392\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_2___ = new URL(\"../assets/fonts/seek-icons.ttf?13010392\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\nvar ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"@charset \\\"UTF-8\\\";@keyframes op-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@-webkit-keyframes op-slideOutDown{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}to{visibility:hidden;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}}@keyframes op-slideOutDown{from{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}to{visibility:hidden;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}}@-webkit-keyframes op-slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);opacity:1}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes op-slideInUp{from{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);opacity:1}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@font-face{font-family:\\\"frameIcon\\\";src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_0___ + \") format('truetype');font-weight:normal;font-style:normal}@font-face{font-family:'op-icons';src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_1___ + \") format('truetype');font-weight:normal;font-style:normal}@font-face{font-family:'op-seek-icons';src:url(\" + ___CSS_LOADER_URL_REPLACEMENT_2___ + \") format('truetype');font-weight:normal;font-style:normal}:root{--op-accent-color:#50e3c2}.op-wrapper.ovenplayer{position:relative;max-height:100%;overflow:hidden;zoom:1 !important;width:100%;display:block;font-family:Helvetica,Arial,sans-serif;background-color:#000;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:14px;font-weight:100;outline:0;-webkit-touch-callout:none;user-select:none}.op-wrapper.ovenplayer *{box-sizing:inherit}.op-wrapper.ovenplayer object{width:100%;height:100%;position:absolute}.op-wrapper.ovenplayer:before,.op-wrapper.ovenplayer:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-wrapper.ovenplayer *,.op-wrapper.ovenplayer *:before,.op-wrapper.ovenplayer *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-wrapper.ovenplayer.op-fullscreen{width:100% !important;height:100% !important;top:0;right:0;bottom:0;left:0;z-index:9999;margin:0;position:fixed}.op-wrapper.ovenplayer.op-fullscreen .op-watermark-container,.op-wrapper.ovenplayer.op-fullscreen .op-thumbnail-container{width:100vw;max-width:calc(100vh * 16 / 9);height:calc(100vw * 9 / 16);max-height:100vh;top:50%;left:50%;transform:translate(-50%, -50%)}.op-wrapper.ovenplayer.op-autohide{cursor:none}.op-wrapper.ovenplayer.op-autohide .op-bottom-panel{-webkit-animation-name:op-slideOutDown;animation-name:op-slideOutDown;-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.op-wrapper.ovenplayer.op-autohide .op-progressbar-container,.op-wrapper.ovenplayer.op-autohide .op-controls .op-button{cursor:none}.op-wrapper.ovenplayer.op-autohide .op-caption-text-container{bottom:25px}.op-wrapper.ovenplayer.op-no-controls .op-controls-container{display:none !important}.op-wrapper.ovenplayer .op-ratio{padding-bottom:56.25%}.op-wrapper.ovenplayer ::-webkit-scrollbar{width:5px;height:8px}.op-wrapper.ovenplayer ::-webkit-scrollbar-button:start:decrement,.op-wrapper.ovenplayer ::-webkit-scrollbar-button:end:increment{display:block;height:3px;background:#2f2f3e}.op-wrapper.ovenplayer ::-webkit-scrollbar-track{background:#2f2f3e;-webkit-border-radius:10px;border-radius:10px}.op-wrapper.ovenplayer ::-webkit-scrollbar-thumb{height:50px;width:50px;background:#606071;-webkit-border-radius:8px;border-radius:8px}.op-wrapper.ovenplayer .op-clear{color:inherit;background-color:transparent;padding:0;margin:0;float:none;font-family:Helvetica,Arial,sans-serif;font-size:1em;line-height:1em;list-style:none;text-transform:none;vertical-align:baseline;border:0;font-variant:inherit;font-stretch:inherit;-webkit-tap-highlight-color:rgba(255,255,255,0)}.op-player{position:absolute;top:0;height:100%;width:100%}.op-player .op-core-ui-wrapper{position:relative;height:100%}.op-player .op-media-element-container{position:absolute;left:0px;top:0px;width:100%;height:100%}.op-player .op-media-element-container video{position:absolute;left:0;top:0;width:100%;height:100%}.op-player .op-media-element-container object{width:100%;height:100%}.op-ads{position:absolute;height:100%;width:100%;padding-bottom:34px;top:0}.op-ads>div{position:absolute !important;width:100% !important;height:100% !important}.op-ads>div iframe{pointer-events:auto}.op-ads video.op-ads-vast-video{background-color:#000;position:absolute;width:100%;height:100%;left:0;top:0;z-index:1}.op-ads .op-ads-button{bottom:36px;cursor:default;margin-right:4px;pointer-events:auto;position:absolute;right:0;z-index:1;width:auto !important;height:auto !important;border-radius:4px;background-color:rgba(18,18,28,0.7);min-width:155px;display:none}.op-ads .op-ads-button .op-ads-textview{color:#e6e6e6;font-weight:normal;font-size:11px;padding:6px 12px;text-align:center;display:inline-block;width:100%;vertical-align:middle}.op-ads .op-ads-button .videoAdUiAction{padding:8px 24px;cursor:pointer;direction:ltr;font-weight:normal;font-size:20px;border:1px solid rgba(255,255,255,0.5)}.op-ads .op-ads-button .videoAdUiAction:hover{border-radius:4px;border:1px solid #fff}.op-ads .op-ads-button .videoAdUiAction i{display:inline-block;width:auto}.op-button{display:inline-block;border:none;background:transparent;padding:0;color:inherit;text-align:inherit;overflow:hidden;font-weight:100;text-indent:0 !important}.op-button:focus,.op-button{outline:0}i.op-con{font-family:\\\"op-icons\\\",\\\"op-seek-icons\\\";font-style:normal;font-weight:normal;speak:none;font-size:inherit;width:auto;font-size:30px;line-height:30px;display:block;text-decoration:inherit;text-align:center;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;cursor:pointer}i.op-con.disable{color:#4f4f4f}i.op-con.op-close-icon::before{content:\\\"\\\\e900\\\"}i.op-con.op-pause-big::before{content:\\\"\\\\e911\\\"}i.op-con.op-fullscreen-compress::before{content:\\\"\\\\e901\\\"}i.op-con.op-fullscreen-expand::before{content:\\\"\\\\e902\\\"}i.op-con.op-arrow-left::before{content:\\\"\\\\e903\\\"}i.op-con.op-arrow-right::before{content:\\\"\\\\e909\\\"}i.op-con.op-empty-video::before{content:\\\"\\\\e904\\\"}i.op-con.op-play::before{content:\\\"\\\\e906\\\"}i.op-con.op-replay::before{content:\\\"\\\\e908\\\"}i.op-con.op-seek-back::before{content:\\\"\\\\e920\\\"}i.op-con.op-seek-forward::before{content:\\\"\\\\e921\\\"}i.op-con.op-playlist-icon::before{content:\\\"\\\\e907\\\"}i.op-con.op-replay-big::before{content:\\\"\\\\e908\\\"}i.op-con.op-setting::before{content:\\\"\\\\e90A\\\"}i.op-con.op-pause::before{content:\\\"\\\\e90C\\\"}i.op-con.op-volume-small{display:none;margin-top:-1px}i.op-con.op-volume-small::before{content:\\\"\\\\e90D\\\"}i.op-con.op-volume-mute{display:none}i.op-con.op-volume-mute::before{content:\\\"\\\\e90E\\\"}i.op-con.op-volume-max::before{content:\\\"\\\\e90F\\\"}i.op-con.op-play-big::before{content:\\\"\\\\e910\\\"}i.op-con.op-warning::before{content:\\\"\\\\e912\\\"}.op-badge{display:inline-block;padding:.75em .714em .714em .68em;font-size:1em;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.286em;background-color:#12121c}.op-playlist{position:absolute;width:100%;height:100%;left:0;top:0;padding:2.857em;background:#000;z-index:6}.op-playlist .op-badge{position:absolute;top:.857em;right:.857em;opacity:.7}.op-playlist .btn-left{float:left;font-size:2.857em}.op-playlist .btn-right{float:right;font-size:2.857em}.op-playlist .op-playlist-header{font-size:2.857em;font-weight:bold}.op-playlist .op-playlist-header:after{display:block;content:'';clear:both}.op-playlist .op-playlist-header .op-con.op-close-icon{float:right}.op-playlist .op-playlist-body{height:100%;overflow:hidden;position:relative}.op-playlist .op-playlist-body .op-playlist-body-arrows{margin-top:-15px;position:absolute;top:50%;height:30px;-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%;left:0}.op-playlist .op-playlist-body .op-playlist-body-container{width:100%;height:100%;position:relative;margin-right:auto;margin-left:auto;max-width:992px}.op-playlist .op-playlist-body .op-playlist-body-container .op-playlist-body-center{margin:0;position:absolute;top:50%;padding-right:3em;padding-left:3em;-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%}.op-playlist .op-playlist-body .op-playlist-body-row{margin-right:-15px;margin-left:-15px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card{padding-right:15px;padding-left:15px;margin:15px 0;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%;cursor:pointer}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card.active{color:#50e3c2;color:var(--op-accent-color)}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card.active .op-playlist-card-thumbnail{border-color:#50e3c2;border-color:var(--op-accent-color)}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:.214em solid transparent;background-color:#000}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail img{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail.empty{background-color:#bababa}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail.empty>i{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:#fff !important;font-size:1.6em !important}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-thumbnail::before{padding-top:56.25%;display:block;content:\\\"\\\"}.op-playlist .op-playlist-body .op-playlist-body-row .op-playlist-card .op-playlist-card-title{margin-top:.857em;font-size:1.429em;padding:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.op-message-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:4}.op-message-box .op-message-container{position:absolute;top:45%;margin-top:-35px;width:100%;padding:0 12px;text-align:center}.op-message-box .op-message-container .op-message-text{display:inline-block;background-color:rgba(18,18,28,0.3);padding:.8em 1.2em;word-wrap:break-word;max-width:80%;border-radius:4px;cursor:pointer}.op-message-box .op-message-container .op-message-text .op-message-description{font-size:12px;margin-top:12px;color:#999}.op-message-box .op-message-container .op-message-icon{display:inline-block;margin-top:12px;width:100%}.op-message-box .op-message-container .op-message-icon i.op-con{cursor:pointer;font-size:80px;width:80px;height:80px;line-height:80px;display:inline-block;text-shadow:2px 2px 7px rgba(0,0,0,0.8),0 0 1px #000}.op-message-box.op-message-box-default-cursor .op-message-container .op-message-text{cursor:default}.op-message-box.op-message-box-default-cursor .op-message-container .op-message-icon i.op-con{cursor:default}.op-bigbutton-container{cursor:pointer;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);text-align:center;z-index:5}.op-bigbutton-container .op-bigbutton{width:80px;height:80px;display:block;font-size:80px;line-height:80px;text-shadow:2px 2px 7px rgba(0,0,0,0.8),0 0 1px #000}.op-thumbnail-container{position:absolute;width:100%;height:100%;top:0;left:0;z-index:2;pointer-events:none}.op-thumbnail-container .op-thumbnail-wrapper{position:absolute;left:0;top:0;width:100%;height:100%}.op-thumbnail-container .op-thumbnail-wrapper img{width:100%;height:100%}.op-thumbnail-container .op-thumbnail-wrapper .op-thumbnail-header{position:absolute;left:1rem;top:1rem;padding:0 .5rem;font-size:2.857em;font-weight:bold;line-height:1.4;text-shadow:2px 2px 7px rgba(0,0,0,0.8),0 0 1px #000}.op-thumbnail-container .op-thumbnail-wrapper .op-thumbnail-header:after{display:block;content:'';clear:both}.op-watermark-container{position:absolute;width:100%;height:100%;top:0;left:0;z-index:3}.op-watermark-container .op-watermark{position:absolute;display:inline-block}.op-watermark-container .op-watermark img{width:100%;height:100%}.op-watermark-container .op-watermark .op-watermark-text{font-size:14px}.op-setting-panel{position:absolute;bottom:55px;right:12px;overflow-y:auto;max-height:100%;width:260px;user-select:none;background-color:rgba(28,28,28,0.9);text-shadow:0 0 2px rgba(0,0,0,0.5);z-index:8}.op-setting-panel.background{display:none}.op-setting-panel .op-setting-title,.op-setting-panel .op-setting-item{width:100%;height:38px;line-height:38px;cursor:pointer;outline:none;text-align:left}.op-setting-panel .op-setting-title-container .op-setting-title .op-setting-title-title{padding-left:12px;font-weight:bold}.op-setting-panel .op-setting-title-container .op-setting-title .op-setting-title-previcon{padding:0 0 0 12px;margin-right:-6px}.op-setting-panel .op-setting-item-container .op-setting-item:hover{background-color:rgba(255,255,255,0.1)}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-title{padding-left:12px}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-nexticon{float:right;padding-right:12px;margin-left:-6px}.op-setting-panel .op-setting-item-container .op-setting-item span.op-setting-item-value{float:right;padding-right:12px}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-checked{padding-left:12px;visibility:hidden}.op-setting-panel .op-setting-item-container .op-setting-item .op-setting-item-checked.op-show{visibility:visible}.op-controls-container{display:none}.op-controls-container .op-bottom-panel{position:absolute;left:0px;bottom:0px;width:100%;z-index:5;-webkit-animation-name:op-slideInUp;animation-name:op-slideInUp;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.op-controls-container .op-bottom-panel .op-gradient-bottom{position:absolute;width:100%;height:100%;background-color:rgba(18,18,18,0.5);pointer-events:none}.op-controls-container .op-bottom-panel .op-progressbar-container{display:block;position:relative;width:100%;height:4px;bottom:50px}.op-controls-container .op-bottom-panel .op-progressbar-container.op-progressbar-container-disabled{cursor:default}.op-controls-container .op-bottom-panel .op-progressbar-container .op-progressbar-padding{position:absolute;width:100%;height:15px;bottom:-5px;cursor:pointer}.op-controls-container .op-bottom-panel .op-controls{position:relative;width:100%;height:50px;text-align:left;overflow:hidden}.op-controls-container .op-bottom-panel .op-controls:after{content:'';clear:both}.op-controls-container .op-bottom-panel .op-controls .op-setting-button{position:relative;margin-right:12px}.op-controls-container .op-bottom-panel .op-controls .op-playlist-button{position:relative;margin-right:12px}.op-controls-container .op-bottom-panel .op-controls .op-navigators{float:left;height:30px;line-height:30px}.op-controls-container .op-bottom-panel .op-controls .op-left-controls{position:absolute;top:0;left:0;padding:14px 0 10px 0}.op-controls-container .op-bottom-panel .op-controls .op-left-controls:after{content:'';clear:both}.op-controls-container .op-bottom-panel .op-controls .op-right-controls{position:absolute;top:0;right:0;padding:14px 0 10px 0}.op-controls-container .op-bottom-panel .op-controls .op-right-controls:after{content:'';clear:both}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons{position:relative;display:inline-block;margin-left:14px;overflow:hidden;font-weight:100;height:30px}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button{margin-right:6px;position:relative;text-align:center;color:#fff}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon{position:relative}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon.reverse:after{content:'\\\\e900'}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon:after{font-family:'frameIcon' !important;speak:none;content:'\\\\e901';font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;font-size:2.4em;left:0;line-height:30px;height:30px}.op-controls-container .op-bottom-panel .op-controls .op-frame-buttons .op-frame-button .frame-icon .btn-text{font-weight:bold;font-size:.8em;line-height:30px;height:30px}.op-progressbar{position:absolute;bottom:0;left:0;width:100%;height:100%;outline:none;margin-top:10px}.op-progressbar .op-play-background-color{background-color:#50e3c2;background-color:var(--op-accent-color)}.op-progressbar .op-progress-list{cursor:pointer;position:relative;height:100%;background:rgba(255,255,255,0.2)}.op-progressbar .op-progress-list .op-load-progress,.op-progressbar .op-progress-list .op-play-progress,.op-progressbar .op-progress-list .op-hover-progress{position:absolute;left:0;bottom:0;width:100%;height:100%}.op-progressbar .op-progress-list .op-play-progress{width:0}.op-progressbar .op-progress-list .op-load-progress{width:0;background-color:rgba(255,255,255,0.5)}.op-progressbar .op-progress-list .op-hover-progress{left:0;width:0;background-color:rgba(255,255,255,0.6)}.op-progressbar .op-progressbar-knob-container{position:absolute;top:-5px;left:0}.op-progressbar .op-progressbar-knob-container .op-progressbar-knob{width:14px;height:14px;border-radius:7px}.op-progressbar .op-progressbar-time{display:none;position:absolute;bottom:15px;left:auto;width:auto;background-color:rgba(28,28,28,0.9);border-radius:2px;padding:5px 9px;font-size:.8em;line-height:15px;user-select:none;white-space:nowrap;opacity:.7}.op-progressbar-hover .op-progressbar-time{display:inline-block}.op-on-error .op-progressbar-time{display:none}.op-progressbar-section-start,.op-progressbar-section-end{display:none;position:absolute;width:3px;height:14px;bottom:-5px;background-color:#50e3c2;background-color:var(--op-accent-color)}.op-progressbar-preview{position:absolute;display:none;bottom:50px;border:2px solid #fff;border-radius:2px;background-color:#000;z-index:9}.op-play-controller{margin-left:15px}.op-seek-button{position:relative;top:0px}.op-seek-button.op-seek-button-back{margin-left:12px}.op-seek-button.op-seek-button-forward{margin-left:6px}.op-seek-button i{padding-top:1px;font-size:26px}.op-seek-button span{position:absolute;top:10.5px;left:0;right:0;text-align:center;font-size:10px;line-height:10px;cursor:pointer}.op-volume-controller{display:inline-block;position:relative;margin-left:12px}.op-volume-controller:after{content:'';clear:both}.op-volume-controller .op-volume-button{float:left}@-webkit-keyframes slide{100%{left:0}}@keyframes slide{100%{left:0}}.op-volume-controller .op-volume-slider-container{float:left;opacity:0;position:relative;width:0px;margin-right:0;line-height:30px;height:30px;cursor:pointer;user-select:none;outline:none}.op-volume-controller .op-volume-slider-container.active{width:70px;opacity:1;margin-left:8px;-moz-transition:opacity .4s cubic-bezier(0, 0, .2, 1);-webkit-transition:opacity .4s cubic-bezier(0, 0, .2, 1);transition:opacity .4s cubic-bezier(0, 0, .2, 1)}.op-volume-controller .op-volume-slider-container .op-volume-silder{height:100%;position:relative}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-bg,.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-value{position:absolute;display:block;left:0;top:50%;height:4px;margin-top:-2px;border-radius:10px}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-bg{width:100%;background:#fff}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-value{width:100%;background:#50e3c2;background:var(--op-accent-color);border-radius:10px 0 0 10px}.op-volume-controller .op-volume-slider-container .op-volume-silder .op-volume-slider-handle{position:absolute;top:50%;left:30px;width:12px;height:12px;border-radius:10px;margin-top:-6px;background:#fff}.op-time-display{float:left;position:relative;margin-left:14px;height:30px;line-height:30px;white-space:nowrap;vertical-align:top;font-size:14px;user-select:none}.op-time-display .op-live-badge{opacity:1;width:auto;display:inline-block}.op-time-display .op-live-badge:before{background:#ff0000;display:inline-block;position:relative;top:-2px;width:6px;height:6px;margin-right:5px;content:'';border-radius:6px}.op-time-display .op-live-badge.op-live-badge-delayed:before{background:#fff}.op-time-display .op-live-badge .op-live-badge-lowlatency{display:inline-block;margin-right:5px}.op-time-display .op-live-badge .op-live-text{cursor:pointer}.op-context-panel{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;overflow:hidden;width:200px;padding:6px 0;z-index:8;background:rgba(28,28,28,0.9);text-shadow:0 0 2px rgba(0,0,0,0.5);font-weight:lighter;user-select:none}.op-context-panel:before,.op-context-panel:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-context-panel *,.op-context-panel *:before,.op-context-panel *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.op-context-panel .op-context-item{width:100%;height:38px;padding-left:12px;line-height:38px;cursor:pointer;outline:none;font-size:.8em;font-weight:lighter;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.op-context-panel .op-context-item:hover{background-color:rgba(255,255,255,0.1)}.op-fullscreen-button{position:relative;margin-right:15px}.op-fullscreen-button .op-fullscreen-compress{display:none}.op-spinner-container{position:absolute;top:50%;width:64px;left:50%;margin-left:-32px;margin-top:-32px;z-index:7;display:none}.op-spinner-container .op-spinner{display:inline-block;position:relative;width:64px;height:64px;border:4px solid transparent;border-top:4px solid #50e3c2;border-top:4px solid var(--op-accent-color);border-radius:50%;animation:spin 1.2s cubic-bezier(.5, 0, .5, 1) infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.op-caption-viewer .op-caption-text-container{position:absolute;bottom:60px;width:100%;padding:0 12px;text-align:center;-moz-transition:bottom .25s cubic-bezier(0, 0, .2, 1);-webkit-transition:bottom .25s cubic-bezier(0, 0, .2, 1);transition:bottom .25s cubic-bezier(0, 0, .2, 1)}.op-caption-viewer .op-caption-text-container .op-caption-text{color:#fff;font-size:1em;line-height:1.2em;text-shadow:2px 2px 2px gray;padding:.1em .3em;user-select:none;word-break:break-word;white-space:pre-line;border:none;background:none}.op-caption-button{width:36px}.op-caption-button>i{font-size:18px;-moz-transition:color .25s cubic-bezier(0, 0, .2, 1);-webkit-transition:color .25s cubic-bezier(0, 0, .2, 1);transition:color .25s cubic-bezier(0, 0, .2, 1)}.op-caption-active .op-caption-button>i{color:#F36446}.op-wrapper.ovenplayer.large{font-size:14px}.op-wrapper.ovenplayer.large .op-caption-text{font-size:2em;line-height:2em}.op-wrapper.ovenplayer.medium{font-size:12px}.op-wrapper.ovenplayer.medium .op-caption-text{font-size:1.4em;line-height:1.4em}.op-wrapper.ovenplayer.small{font-size:10px}.op-wrapper.ovenplayer.small .op-caption-text{font-size:1.4em;line-height:1.4em}.op-wrapper.ovenplayer.small .op-playlist{padding:1rem}.op-wrapper.ovenplayer.small .op-playlist .op-playlist-card{margin:5px 0}.op-wrapper.ovenplayer.xsmall{font-size:10px}.op-wrapper.ovenplayer.xsmall .op-bigbutton-container .op-bigbutton{width:60px;height:60px;font-size:60px;line-height:60px}.op-wrapper.ovenplayer.xsmall .op-caption-text{font-size:1.4em;line-height:1.4em}.op-wrapper.ovenplayer.xsmall .op-playlist{padding:1rem}.op-wrapper.ovenplayer.xsmall .op-playlist .op-playlist-header{font-size:2em}.op-wrapper.ovenplayer.xsmall .op-playlist .op-playlist-card{margin:5px 0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%;padding:0 6em}.op-wrapper.ovenplayer.xsmall .op-playlist .op-playlist-card .op-playlist-card-title{margin-top:0}.op-wrapper.ovenplayer.xsmall .op-message-box .op-message-container{top:50%;font-weight:bold}.op-wrapper.ovenplayer.xsmall .op-message-box .op-message-container .op-message-icon{margin-top:0}.op-wrapper.ovenplayer.xsmall .op-message-box .op-message-container .op-message-icon .op-con{font-size:40px;width:40px;height:40px;line-height:40px}.op-wrapper.ovenplayer.xsmall .op-ads-button{bottom:22px}.op-wrapper.ovenplayer.xsmall .op-ads-button .videoAdUiAction{padding:4px;font-size:14px}.op-wrapper.ovenplayer.xxsmall .op-left-controls{max-width:240px;overflow:hidden}.op-wrapper.ovenplayer.xxsmall .op-live-badge-lowlatency{max-width:75px}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel{height:34px}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel .op-controls{top:4px}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel .op-controls .op-left-controls{height:30px;padding:0}.op-wrapper.ovenplayer.linear-ad .op-bottom-panel .op-controls .op-right-controls{height:30px;padding:0}.op-wrapper.ovenplayer.linear-ad .op-ads{top:0;bottom:0}.op-wrapper.ovenplayer.linear-ad .op-button i.op-con{width:24px;height:24px;font-size:24px}.op-wrapper.ovenplayer.linear-ad .op-controls-container .op-bottom-panel .op-progressbar-container{bottom:50px}@keyframes fade{from{opacity:.3}55%{opacity:1}75%{opacity:1}to{opacity:.3}}@-webkit-keyframes bounceIn{from,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215, .61, .355, 1);animation-timing-function:cubic-bezier(.215, .61, .355, 1)}0%{opacity:0;-webkit-transform:scale3d(.5, .5, .5);transform:scale3d(.5, .5, .5)}20%{-webkit-transform:scale3d(1.1, 1.1, 1.1);transform:scale3d(1.1, 1.1, 1.1)}40%{-webkit-transform:scale3d(.9, .9, .9);transform:scale3d(.9, .9, .9)}60%{opacity:1;-webkit-transform:scale3d(1.03, 1.03, 1.03);transform:scale3d(1.03, 1.03, 1.03)}80%{-webkit-transform:scale3d(.97, .97, .97);transform:scale3d(.97, .97, .97)}to{opacity:1;-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}}@keyframes bounceIn{from,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215, .61, .355, 1);animation-timing-function:cubic-bezier(.215, .61, .355, 1)}0%{opacity:0;-webkit-transform:scale3d(.3, .3, .3);transform:scale3d(.3, .3, .3)}20%{-webkit-transform:scale3d(1.1, 1.1, 1.1);transform:scale3d(1.1, 1.1, 1.1)}40%{-webkit-transform:scale3d(.9, .9, .9);transform:scale3d(.9, .9, .9)}60%{opacity:1;-webkit-transform:scale3d(1.03, 1.03, 1.03);transform:scale3d(1.03, 1.03, 1.03)}80%{-webkit-transform:scale3d(.97, .97, .97);transform:scale3d(.97, .97, .97)}to{opacity:1;-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}}.op-player .bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.op-player .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}.op-player .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media (prefers-reduced-motion){.op-player .animated{-webkit-animation:unset !important;animation:unset !important;-webkit-transition:none !important;transition:none !important}}@media only screen and (max-width:399px){.op-seek-button{display:none !important}}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/stylesheet/ovenplayer.less\"],\"names\":[],\"mappings\":\"AAAA,gBAAS,CAMT,sBACE,GACE,sBAAW,CAGb,KACE,wBAAW,CAAA,CAIf,mCACE,KACE,sCAAA,CACA,8BAAW,CAGb,GACE,iBAAA,CACA,yCAAA,CACA,iCAAW,CAAA,CAIf,2BACE,KACE,sCAAA,CACA,8BAAW,CAGb,GACE,iBAAA,CACA,yCAAA,CACA,iCAAW,CAAA,CAIf,gCACE,KACE,yCAAA,CACA,iCAAA,CACA,SAAA,CAGF,GACE,sCAAA,CACA,8BAAW,CAAA,CAIf,wBACE,KACE,yCAAA,CACA,iCAAA,CACA,SAAA,CAGF,GACE,sCAAA,CACA,8BAAW,CAAA,CAIf,WACE,uBAAA,CACA,8DAAA,CACA,kBAAA,CACA,iBAAA,CAGF,WACE,sBAAA,CACA,8DAAA,CACA,kBAAA,CACA,iBAAA,CAGF,WACE,2BAAA,CACA,8DAAA,CACA,kBAAA,CACA,iBAAA,CAOF,MACE,yBAAA,CAGF,uBACE,iBAAA,CACA,eAAA,CAEA,eAAA,CACA,iBAAA,CACA,UAAA,CACA,aAAA,CACA,sCAAA,CACA,qBAAA,CACA,0BAAA,CACA,6BAAA,CACA,qBAAA,CACA,UAAA,CACA,cAAA,CACA,eAAA,CACA,SAAA,CAEA,0BAAA,CACA,gBAAA,CAnBF,yBAsBI,kBAAA,CAtBJ,8BA0BI,UAAA,CACA,WAAA,CACA,iBAAA,CAGF,2DAEE,0BAAA,CACA,6BAAA,CACA,qBAAA,CAGF,wFAGE,0BAAA,CACA,6BAAA,CACA,qBAAA,CAGF,qCACE,qBAAA,CACA,sBAAA,CACA,KAAA,CACA,OAAA,CACA,QAAA,CACA,MAAA,CACA,YAAA,CACA,QAAA,CACA,cAAA,CATF,0HAaI,WAAA,CACA,8BAAA,CACA,2BAAA,CACA,gBAAA,CACA,OAAA,CACA,QAAA,CACA,+BAAW,CAKf,mCACE,WAAA,CADF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,CAGF,gCAAA,qBAEI,kCAAA,CACA,0BAAA,CACA,kCAAA,CACA,0BAAA,CAAA,CAwBN,yCACE,gBACE,uBAAA,CAAA\",\"sourcesContent\":[\"@charset \\\"UTF-8\\\";\\n\\n/**\\n * @brief Animation\\n * */\\n\\n@keyframes op-spinner {\\n 0% {\\n transform: rotate(0deg);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n}\\n\\n@-webkit-keyframes op-slideOutDown {\\n from {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n\\n to {\\n visibility: hidden;\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n }\\n}\\n\\n@keyframes op-slideOutDown {\\n from {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n\\n to {\\n visibility: hidden;\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n }\\n}\\n\\n@-webkit-keyframes op-slideInUp {\\n from {\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n opacity: 1;\\n }\\n\\n to {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n}\\n\\n@keyframes op-slideInUp {\\n from {\\n -webkit-transform: translate3d(0, 100%, 0);\\n transform: translate3d(0, 100%, 0);\\n opacity: 1;\\n }\\n\\n to {\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n }\\n}\\n\\n@font-face {\\n font-family: \\\"frameIcon\\\";\\n src: url(\\\"../assets/images/ic-player-frame-jump.ttf?rxg7gj\\\") format('truetype');\\n font-weight: normal;\\n font-style: normal;\\n}\\n\\n@font-face {\\n font-family: 'op-icons';\\n src: url('../assets/fonts/fontello.ttf?13010392') format('truetype');\\n font-weight: normal;\\n font-style: normal;\\n}\\n\\n@font-face {\\n font-family: 'op-seek-icons';\\n src: url('../assets/fonts/seek-icons.ttf?13010392') format('truetype');\\n font-weight: normal;\\n font-style: normal;\\n}\\n\\n/**\\n * @brief common style\\n * */\\n\\n:root {\\n --op-accent-color: #50e3c2;\\n}\\n\\n.op-wrapper.ovenplayer {\\n position: relative;\\n max-height: 100%;\\n\\n overflow: hidden;\\n zoom: 1 !important;\\n width: 100%;\\n display: block;\\n font-family: Helvetica, Arial, sans-serif;\\n background-color: #000;\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n color: #fff;\\n font-size: 14px;\\n font-weight: 100;\\n outline: 0;\\n\\n -webkit-touch-callout: none;\\n user-select: none;\\n\\n * {\\n box-sizing: inherit;\\n }\\n\\n object {\\n width: 100%;\\n height: 100%;\\n position: absolute;\\n }\\n\\n &:before,\\n &:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n & *,\\n & *:before,\\n & *:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n &.op-fullscreen {\\n width: 100% !important;\\n height: 100% !important;\\n top: 0;\\n right: 0;\\n bottom: 0;\\n left: 0;\\n z-index: 9999;\\n margin: 0;\\n position: fixed;\\n\\n .op-watermark-container,\\n .op-thumbnail-container {\\n width: 100vw;\\n max-width: calc(100vh * 16 / 9);\\n height: calc(100vw * 9 / 16);\\n max-height: 100vh;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n }\\n\\n }\\n\\n &.op-autohide {\\n cursor: none;\\n\\n .op-bottom-panel {\\n\\n -webkit-animation-name: op-slideOutDown;\\n animation-name: op-slideOutDown;\\n\\n -webkit-animation-duration: 0.2s;\\n animation-duration: 0.2s;\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both;\\n }\\n\\n .op-progressbar-container,\\n .op-controls .op-button {\\n cursor: none;\\n }\\n\\n .op-caption-text-container {\\n bottom: 25px;\\n }\\n }\\n\\n &.op-no-controls {\\n\\n .op-controls-container {\\n display: none !important;\\n }\\n }\\n\\n .op-ratio {\\n padding-bottom: 56.25%;\\n /*16:9*/\\n }\\n\\n & ::-webkit-scrollbar {\\n width: 5px;\\n height: 8px;\\n }\\n\\n & ::-webkit-scrollbar-button:start:decrement,\\n ::-webkit-scrollbar-button:end:increment {\\n display: block;\\n height: 3px;\\n background: #2f2f3e;\\n }\\n\\n & ::-webkit-scrollbar-track {\\n background: #2f2f3e;\\n -webkit-border-radius: 10px;\\n border-radius: 10px;\\n }\\n\\n & ::-webkit-scrollbar-thumb {\\n height: 50px;\\n width: 50px;\\n background: #606071;\\n -webkit-border-radius: 8px;\\n border-radius: 8px;\\n }\\n\\n .op-clear {\\n color: inherit;\\n background-color: transparent;\\n padding: 0;\\n margin: 0;\\n float: none;\\n font-family: Helvetica, Arial, sans-serif;\\n font-size: 1em;\\n line-height: 1em;\\n list-style: none;\\n text-transform: none;\\n vertical-align: baseline;\\n border: 0;\\n font-variant: inherit;\\n font-stretch: inherit;\\n -webkit-tap-highlight-color: rgba(255, 255, 255, 0);\\n }\\n}\\n\\n.op-player {\\n position: absolute;\\n top: 0;\\n height: 100%;\\n width: 100%;\\n\\n\\n\\n .op-core-ui-wrapper {\\n position: relative;\\n height: 100%;\\n }\\n\\n .op-media-element-container {\\n /* display: block;\\n height: 100%;\\n width: auto;\\n position : relative;*/\\n\\n\\n position: absolute;\\n left: 0px;\\n top: 0px;\\n width: 100%;\\n height: 100%;\\n\\n video {\\n position: absolute;\\n left: 0;\\n top: 0;\\n width: 100%;\\n height: 100%;\\n }\\n\\n object {\\n width: 100%;\\n height: 100%;\\n }\\n }\\n\\n .op-ui {\\n\\n /*position : absolute;\\n bottom : 0px;\\n left : 0px;\\n width: 100%;\\n height: 100%;*/\\n .op-controls-container {}\\n\\n .op-helpers-container {}\\n }\\n}\\n\\n.op-ads {\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n padding-bottom: 34px;\\n //pointer-events: none;\\n top: 0;\\n\\n &>div {\\n position: absolute !important;\\n width: 100% !important;\\n height: 100% !important;\\n\\n iframe {\\n pointer-events: auto;\\n }\\n }\\n\\n video.op-ads-vast-video {\\n background-color: rgb(0, 0, 0);\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n left: 0;\\n top: 0;\\n z-index: 1;\\n }\\n\\n .op-ads-button {\\n bottom: 36px;\\n cursor: default;\\n margin-right: 4px;\\n pointer-events: auto;\\n position: absolute;\\n right: 0;\\n z-index: 1;\\n width: auto !important;\\n height: auto !important;\\n border-radius: 4px;\\n background-color: rgba(18, 18, 28, 0.7);\\n min-width: 155px;\\n display: none;\\n\\n .op-ads-textview {\\n color: #e6e6e6;\\n //font-family: arial,sans-serif;\\n font-weight: normal;\\n font-size: 11px;\\n padding: 6px 12px;\\n text-align: center;\\n display: inline-block;\\n width: 100%;\\n vertical-align: middle;\\n }\\n\\n .videoAdUiAction {\\n padding: 8px 24px;\\n cursor: pointer;\\n direction: ltr;\\n font-weight: normal;\\n font-size: 20px;\\n border: 1px solid rgba(255, 255, 255, 0.5);\\n\\n &:hover {\\n border-radius: 4px;\\n border: 1px solid rgba(255, 255, 255, 1);\\n }\\n\\n i {\\n display: inline-block;\\n width: auto;\\n }\\n }\\n }\\n\\n}\\n\\n/**\\n * @brief common components\\n * */\\n\\n.op-button {\\n display: inline-block;\\n border: none;\\n background: transparent;\\n padding: 0;\\n color: inherit;\\n text-align: inherit;\\n overflow: hidden;\\n font-weight: 100;\\n text-indent: 0 !important;\\n\\n &:focus,\\n & {\\n outline: 0;\\n }\\n}\\n\\ni.op-con {\\n font-family: \\\"op-icons\\\", \\\"op-seek-icons\\\";\\n font-style: normal;\\n font-weight: normal;\\n speak: none;\\n\\n font-size: inherit;\\n width: auto;\\n font-size: 30px;\\n line-height: 30px;\\n\\n display: block;\\n text-decoration: inherit;\\n text-align: center;\\n\\n /* For safety - reset parent styles, that can break glyph codes*/\\n font-variant: normal;\\n text-transform: none;\\n\\n /* Font smoothing. That was taken from TWBS */\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n\\n cursor: pointer;\\n\\n &.disable {\\n color: #4f4f4f;\\n }\\n\\n &.op-close-icon {\\n &::before {\\n content: \\\"\\\\e900\\\";\\n }\\n }\\n\\n &.op-pause-big {\\n &::before {\\n content: \\\"\\\\e911\\\";\\n }\\n }\\n\\n &.op-fullscreen-compress {\\n &::before {\\n content: \\\"\\\\e901\\\";\\n }\\n }\\n\\n &.op-fullscreen-expand {\\n &::before {\\n content: \\\"\\\\e902\\\";\\n }\\n }\\n\\n &.op-arrow-left {\\n &::before {\\n content: \\\"\\\\e903\\\";\\n }\\n }\\n\\n &.op-arrow-right {\\n &::before {\\n content: \\\"\\\\e909\\\";\\n }\\n }\\n\\n &.op-empty-video {\\n &::before {\\n content: \\\"\\\\e904\\\";\\n }\\n }\\n\\n &.op-play {\\n &::before {\\n content: \\\"\\\\e906\\\";\\n }\\n }\\n\\n &.op-replay {\\n &::before {\\n content: \\\"\\\\e908\\\";\\n }\\n }\\n\\n &.op-seek-back {\\n &::before {\\n content: \\\"\\\\e920\\\";\\n }\\n }\\n\\n &.op-seek-forward {\\n &::before {\\n content: \\\"\\\\e921\\\";\\n }\\n }\\n\\n &.op-playlist-icon {\\n &::before {\\n content: \\\"\\\\e907\\\";\\n }\\n }\\n\\n &.op-replay-big {\\n &::before {\\n content: \\\"\\\\e908\\\";\\n }\\n }\\n\\n &.op-setting {\\n &::before {\\n content: \\\"\\\\e90A\\\";\\n }\\n }\\n\\n &.op-pause {\\n &::before {\\n content: \\\"\\\\e90C\\\";\\n }\\n }\\n\\n &.op-volume-small {\\n display: none;\\n margin-top: -1px;\\n\\n &::before {\\n content: \\\"\\\\e90D\\\";\\n }\\n }\\n\\n &.op-volume-mute {\\n display: none;\\n\\n &::before {\\n content: \\\"\\\\e90E\\\";\\n }\\n }\\n\\n &.op-volume-max {\\n &::before {\\n content: \\\"\\\\e90F\\\";\\n }\\n }\\n\\n &.op-play-big {\\n &::before {\\n content: \\\"\\\\e910\\\";\\n }\\n }\\n\\n &.op-warning {\\n &::before {\\n content: \\\"\\\\e912\\\";\\n }\\n }\\n}\\n\\n.op-badge {\\n display: inline-block;\\n padding: .75em .714em .714em .680em;\\n font-size: 1em;\\n line-height: 1;\\n text-align: center;\\n white-space: nowrap;\\n vertical-align: baseline;\\n border-radius: 0.286em;\\n background-color: #12121c;\\n}\\n\\n.op-playlist {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n left: 0;\\n top: 0;\\n padding: 2.857em;\\n background: #000;\\n z-index: 6;\\n\\n .op-badge {\\n position: absolute;\\n top: 0.857em;\\n right: 0.857em;\\n opacity: 0.7;\\n }\\n\\n .btn-left {\\n float: left;\\n font-size: 2.857em;\\n }\\n\\n .btn-right {\\n float: right;\\n font-size: 2.857em;\\n }\\n\\n .op-playlist-header {\\n font-size: 2.857em;\\n font-weight: bold;\\n\\n &:after {\\n display: block;\\n content: '';\\n clear: both;\\n }\\n\\n .op-con.op-close-icon {\\n float: right;\\n }\\n }\\n\\n .op-playlist-body {\\n height: 100%;\\n overflow: hidden;\\n position: relative;\\n\\n .op-playlist-body-arrows {\\n margin-top: -15px;\\n position: absolute;\\n top: 50%;\\n height: 30px;\\n -ms-transform: translateY(-50%);\\n transform: translateY(-50%);\\n width: 100%;\\n left: 0;\\n }\\n\\n .op-playlist-body-container {\\n width: 100%;\\n height: 100%;\\n position: relative;\\n margin-right: auto;\\n margin-left: auto;\\n max-width: 992px;\\n\\n .op-playlist-body-center {\\n margin: 0;\\n position: absolute;\\n top: 50%;\\n padding-right: 3em;\\n padding-left: 3em;\\n -ms-transform: translateY(-50%);\\n transform: translateY(-50%);\\n width: 100%;\\n }\\n }\\n\\n .op-playlist-body-row {\\n margin-right: -15px;\\n margin-left: -15px;\\n display: -ms-flexbox;\\n display: flex;\\n -ms-flex-wrap: wrap;\\n flex-wrap: wrap;\\n\\n\\n .op-playlist-card {\\n padding-right: 15px;\\n padding-left: 15px;\\n margin: 15px 0;\\n -ms-flex-preferred-size: 0;\\n flex-basis: 0;\\n -ms-flex-positive: 1;\\n flex-grow: 1;\\n -ms-flex: 0 0 33.333333%;\\n flex: 0 0 33.333333%;\\n max-width: 33.333333%;\\n cursor: pointer;\\n\\n &.active {\\n color: #50e3c2;\\n color: var(--op-accent-color);\\n\\n .op-playlist-card-thumbnail {\\n border-color: #50e3c2;\\n border-color: var(--op-accent-color);\\n }\\n }\\n\\n .op-playlist-card-thumbnail {\\n position: relative;\\n display: block;\\n width: 100%;\\n padding: 0;\\n overflow: hidden;\\n border: 0.214em solid transparent;\\n background-color: #000;\\n\\n img {\\n position: absolute;\\n top: 0;\\n bottom: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n border: 0;\\n }\\n\\n &.empty {\\n background-color: #bababa;\\n\\n &>i {\\n margin: 0;\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n color: #fff !important;\\n font-size: 1.6em !important;\\n }\\n }\\n\\n &::before {\\n padding-top: 56.25%;\\n display: block;\\n content: \\\"\\\";\\n }\\n }\\n\\n .op-playlist-card-title {\\n margin-top: 0.857em;\\n font-size: 1.429em;\\n padding: 2px 0;\\n white-space: nowrap;\\n overflow: hidden;\\n text-overflow: ellipsis;\\n }\\n\\n }\\n }\\n\\n }\\n}\\n\\n\\n/**\\n * @brief Message Box\\n * */\\n\\n.op-message-box {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n z-index: 4;\\n\\n .op-message-container {\\n position: absolute;\\n top: 45%;\\n margin-top: -35px;\\n width: 100%;\\n padding: 0 12px;\\n text-align: center;\\n\\n .op-message-text {\\n display: inline-block;\\n background-color: rgba(18, 18, 28, .3);\\n padding: 0.8em 1.2em;\\n word-wrap: break-word;\\n max-width: 80%;\\n border-radius: 4px;\\n cursor: pointer;\\n\\n .op-message-description {\\n font-size: 12px;\\n margin-top: 12px;\\n color: #999;\\n }\\n }\\n\\n\\n .op-message-icon {\\n display: inline-block;\\n margin-top: 12px;\\n width: 100%;\\n\\n i.op-con {\\n cursor: pointer;\\n font-size: 80px;\\n width: 80px;\\n height: 80px;\\n line-height: 80px;\\n display: inline-block;\\n text-shadow: 2px 2px 7px rgb(0 0 0 / 80%), 0px 0px 1px rgb(0 0 0);\\n }\\n }\\n\\n /*.op-message-button{\\n display: inline-block;\\n padding : 1em;\\n margin-left : 0.4em;\\n background-color: rgba(28,28,28,.4);\\n cursor : pointer;\\n }*/\\n }\\n}\\n\\n.op-message-box.op-message-box-default-cursor .op-message-container .op-message-text {\\n cursor: default;\\n}\\n\\n.op-message-box.op-message-box-default-cursor .op-message-container .op-message-icon i.op-con {\\n cursor: default;\\n}\\n\\n/**\\n * @brief Big button\\n * */\\n\\n.op-bigbutton-container {\\n cursor: pointer;\\n position: absolute;\\n top: 50%;\\n left: 50%;\\n transform: translate(-50%, -50%);\\n text-align: center;\\n z-index: 5;\\n\\n .op-bigbutton {\\n width: 80px;\\n height: 80px;\\n display: block;\\n font-size: 80px;\\n line-height: 80px;\\n text-shadow: 2px 2px 7px rgb(0 0 0 / 80%), 0px 0px 1px rgb(0 0 0);\\n }\\n}\\n\\n/**\\n * @brief Thumbnail\\n * */\\n\\n.op-thumbnail-container {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n //padding-bottom: 56.25%;\\n top: 0;\\n left: 0;\\n //transform: translate(-50%, -50%);\\n z-index: 2;\\n pointer-events: none;\\n\\n .op-thumbnail-wrapper {\\n position: absolute;\\n left: 0;\\n top: 0;\\n width: 100%;\\n height: 100%;\\n\\n img {\\n width: 100%;\\n height: 100%;\\n }\\n\\n .op-thumbnail-header {\\n position: absolute;\\n left: 1rem;\\n top: 1rem;\\n padding: 0 0.5rem;\\n font-size: 2.857em;\\n font-weight: bold;\\n line-height: 1.4;\\n text-shadow: 2px 2px 7px rgb(0 0 0 / 80%), 0px 0px 1px rgb(0 0 0);\\n\\n &:after {\\n display: block;\\n content: '';\\n clear: both;\\n }\\n }\\n }\\n}\\n\\n/**\\n * @brief WaterMark\\n * */\\n\\n.op-watermark-container {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n //padding-bottom: 56.25%;\\n top: 0;\\n left: 0;\\n //transform: translate(-50%, -50%);\\n z-index: 3;\\n\\n .op-watermark {\\n position: absolute;\\n display: inline-block;\\n\\n img {\\n width: 100%;\\n height: 100%;\\n }\\n\\n .op-watermark-text {\\n font-size: 14px;\\n }\\n }\\n}\\n\\n/**\\n * @brief Setting panel\\n * */\\n\\n.op-setting-panel {\\n position: absolute;\\n bottom: 55px;\\n right: 12px;\\n overflow-y: auto;\\n max-height: 100%;\\n width: 260px;\\n //font-size: 0.8em;\\n user-select: none;\\n background-color: rgba(28, 28, 28, .9);\\n text-shadow: 0 0 2px rgba(0, 0, 0, .5);\\n z-index: 8;\\n\\n &.background {\\n //opacity: 0;\\n //background-color: rgba(28,28,28,.0);\\n display: none;\\n }\\n\\n .op-setting-title,\\n .op-setting-item {\\n width: 100%;\\n height: 38px;\\n line-height: 38px;\\n cursor: pointer;\\n outline: none;\\n text-align: left;\\n }\\n\\n .op-setting-title-container {\\n .op-setting-title {\\n .op-setting-title-title {\\n padding-left: 12px;\\n font-weight: bold;\\n //font-size: 0.9rem;\\n }\\n\\n .op-setting-title-previcon {\\n padding: 0 0 0 12px;\\n margin-right: -6px;\\n }\\n\\n }\\n }\\n\\n .op-setting-item-container {\\n .op-setting-item {\\n &:hover {\\n background-color: rgba(255, 255, 255, .1);\\n }\\n\\n .op-setting-item-title {\\n padding-left: 12px;\\n }\\n\\n .op-setting-item-nexticon {\\n float: right;\\n padding-right: 12px;\\n margin-left: -6px;\\n }\\n\\n span.op-setting-item-value {\\n float: right;\\n padding-right: 12px;\\n }\\n\\n .op-setting-item-checked {\\n padding-left: 12px;\\n visibility: hidden;\\n }\\n\\n .op-setting-item-checked.op-show {\\n visibility: visible;\\n }\\n }\\n }\\n}\\n\\n\\n\\n/**\\n * @brief Controls (container)\\n * */\\n\\n.op-controls-container {\\n display: none;\\n\\n .op-bottom-panel {\\n position: absolute;\\n left: 0px;\\n bottom: 0px;\\n width: 100%;\\n z-index: 5;\\n\\n .op-gradient-bottom {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n background-color: rgba(18, 18, 18, 0.5);\\n pointer-events: none;\\n /*-moz-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);\\n -webkit-transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);\\n transition: opacity .25s cubic-bezier(0.0,0.0,0.2,1);*/\\n }\\n\\n -webkit-animation-name: op-slideInUp;\\n animation-name: op-slideInUp;\\n\\n -webkit-animation-duration: 0.5s;\\n animation-duration: 0.5s;\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both;\\n\\n .op-progressbar-container {\\n display: block;\\n position: relative;\\n width: 100%;\\n height: 4px;\\n bottom: 50px;\\n\\n &.op-progressbar-container-disabled {\\n cursor: default;\\n }\\n\\n .op-progressbar-padding {\\n position: absolute;\\n width: 100%;\\n height: 15px;\\n bottom: -5px;\\n cursor: pointer;\\n }\\n }\\n\\n\\n /*contols container*/\\n .op-controls {\\n position: relative;\\n width: 100%;\\n height: 50px;\\n text-align: left;\\n overflow: hidden;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n\\n .op-setting-button {\\n position: relative;\\n margin-right: 12px;\\n }\\n\\n .op-playlist-button {\\n position: relative;\\n margin-right: 12px;\\n }\\n\\n .op-navigators {\\n float: left;\\n height: 30px;\\n line-height: 30px;\\n }\\n\\n .op-left-controls {\\n position: absolute;\\n top: 0;\\n left: 0;\\n padding: 14px 0 10px 0;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n }\\n\\n .op-right-controls {\\n position: absolute;\\n top: 0;\\n right: 0;\\n padding: 14px 0 10px 0;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n }\\n\\n /*maybe not use*/\\n .op-frame-buttons {\\n position: relative;\\n display: inline-block;\\n margin-left: 14px;\\n overflow: hidden;\\n font-weight: 100;\\n height: 30px;\\n\\n .op-frame-button {\\n margin-right: 6px;\\n position: relative;\\n text-align: center;\\n color: #fff;\\n\\n .frame-icon {\\n position: relative;\\n\\n &.reverse {\\n &:after {\\n content: '\\\\e900';\\n }\\n }\\n\\n &:after {\\n font-family: 'frameIcon' !important;\\n speak: none;\\n content: '\\\\e901';\\n font-style: normal;\\n font-weight: normal;\\n font-variant: normal;\\n text-transform: none;\\n\\n /* Better Font Rendering =========== */\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n position: absolute;\\n font-size: 2.4em;\\n left: 0;\\n line-height: 30px;\\n height: 30px;\\n }\\n\\n .btn-text {\\n font-weight: bold;\\n font-size: 0.8em;\\n line-height: 30px;\\n height: 30px;\\n }\\n\\n }\\n\\n }\\n\\n }\\n }\\n }\\n\\n}\\n\\n\\n/**\\n * @brief Progressbar\\n * */\\n\\n.op-progressbar {\\n position: absolute;\\n bottom: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n outline: none;\\n margin-top: 10px;\\n\\n .op-play-background-color {\\n background-color: #50e3c2; // for ie 11\\n background-color: var(--op-accent-color);\\n }\\n\\n .op-progress-list {\\n cursor: pointer;\\n position: relative;\\n height: 100%;\\n background: rgba(255, 255, 255, 0.2);\\n\\n .op-load-progress,\\n .op-play-progress,\\n .op-hover-progress {\\n position: absolute;\\n left: 0;\\n bottom: 0;\\n width: 100%;\\n height: 100%;\\n }\\n\\n .op-play-progress {\\n width: 0;\\n }\\n\\n .op-load-progress {\\n width: 0;\\n background-color: rgba(255, 255, 255, .5);\\n }\\n\\n .op-hover-progress {\\n left: 0;\\n width: 0;\\n background-color: rgba(255, 255, 255, .6);\\n }\\n\\n }\\n\\n .op-progressbar-knob-container {\\n position: absolute;\\n top: -5px;\\n left: 0;\\n\\n .op-progressbar-knob {\\n width: 14px;\\n height: 14px;\\n border-radius: 7px;\\n }\\n }\\n\\n .op-progressbar-time {\\n display: none;\\n position: absolute;\\n bottom: 15px;\\n left: auto;\\n width: auto;\\n background-color: rgba(28, 28, 28, 0.9);\\n border-radius: 2px;\\n padding: 5px 9px;\\n font-size: 0.8em;\\n line-height: 15px;\\n user-select: none;\\n white-space: nowrap;\\n opacity: 0.7;\\n }\\n\\n\\n}\\n\\n.op-progressbar-hover .op-progressbar-time {\\n display: inline-block;\\n}\\n\\n.op-on-error .op-progressbar-time {\\n display: none;\\n}\\n\\n.op-progressbar-section-start,\\n.op-progressbar-section-end {\\n display: none;\\n position: absolute;\\n width: 3px;\\n height: 14px;\\n bottom: -5px;\\n background-color: #50e3c2;\\n background-color: var(--op-accent-color);\\n}\\n\\n.op-progressbar-preview {\\n position: absolute;\\n display: none;\\n bottom: 50px;\\n border: 2px solid #fff;\\n border-radius: 2px;\\n background-color: #000;\\n z-index: 9;\\n}\\n\\n.op-play-controller {\\n margin-left: 15px;\\n}\\n\\n/**\\n * @brief Seek button\\n * */\\n\\n.op-seek-button {\\n //display: none;\\n position: relative;\\n top: 0px;\\n\\n &.op-seek-button-back {\\n margin-left: 12px;\\n }\\n\\n &.op-seek-button-forward {\\n margin-left: 6px;\\n }\\n\\n i {\\n padding-top: 1px;\\n font-size: 26px;\\n }\\n\\n span {\\n position: absolute;\\n top: 10.5px;\\n left: 0;\\n right: 0;\\n text-align: center;\\n font-size: 10px;\\n line-height: 10px;\\n cursor: pointer;\\n }\\n}\\n\\n\\n/**\\n * @brief Volume button\\n * */\\n.op-volume-controller {\\n display: inline-block;\\n position: relative;\\n margin-left: 12px;\\n\\n &:after {\\n content: '';\\n clear: both;\\n }\\n\\n .op-volume-button {\\n float: left;\\n }\\n\\n @-webkit-keyframes slide {\\n 100% {\\n left: 0;\\n }\\n }\\n\\n @keyframes slide {\\n 100% {\\n left: 0;\\n }\\n }\\n\\n .op-volume-slider-container {\\n /*display: inline-block;*/\\n float: left;\\n opacity: 0;\\n position: relative;\\n width: 0px;\\n margin-right: 0;\\n line-height: 30px;\\n height: 30px;\\n cursor: pointer;\\n user-select: none;\\n outline: none;\\n\\n &.active {\\n width: 70px;\\n opacity: 1;\\n margin-left: 8px;\\n -moz-transition: opacity .4s cubic-bezier(0.0, 0.0, 0.2, 1);\\n -webkit-transition: opacity .4s cubic-bezier(0.0, 0.0, 0.2, 1);\\n transition: opacity .4s cubic-bezier(0.0, 0.0, 0.2, 1);\\n }\\n\\n .op-volume-silder {\\n height: 100%;\\n position: relative;\\n\\n .op-volume-slider-bg,\\n .op-volume-slider-value {\\n position: absolute;\\n display: block;\\n left: 0;\\n top: 50%;\\n height: 4px;\\n margin-top: -2px;\\n border-radius: 10px;\\n }\\n\\n .op-volume-slider-bg {\\n width: 100%;\\n background: #fff;\\n }\\n\\n .op-volume-slider-value {\\n width: 100%;\\n background: #50e3c2;\\n background: var(--op-accent-color);\\n border-radius: 10px 0 0 10px;\\n //-moz-transition: width .2s cubic-bezier(0.0,0.0,0.2,1);\\n //-webkit-transition: width .2s cubic-bezier(0.0,0.0,0.2,1);\\n //transition: width .2s cubic-bezier(0.0,0.0,0.2,1);\\n }\\n\\n .op-volume-slider-handle {\\n position: absolute;\\n top: 50%;\\n left: 30px;\\n width: 12px;\\n height: 12px;\\n border-radius: 10px;\\n margin-top: -6px;\\n background: #fff;\\n //-moz-transition: left .2s cubic-bezier(0.0,0.0,0.2,1);\\n //-webkit-transition: left .2s cubic-bezier(0.0,0.0,0.2,1);\\n //transition: left .2s cubic-bezier(0.0,0.0,0.2,1);\\n }\\n }\\n }\\n}\\n\\n\\n/**\\n * @brief Time Display\\n * */\\n\\n.op-time-display {\\n float: left;\\n position: relative;\\n margin-left: 14px;\\n height: 30px;\\n line-height: 30px;\\n white-space: nowrap;\\n vertical-align: top;\\n font-size: 14px;\\n user-select: none;\\n /*흠 이부분 어떻게 처리하지*/\\n\\n .op-time-current,\\n .op-time-separator,\\n .op-time-duration {}\\n\\n .op-live-badge {\\n opacity: 1;\\n width: auto;\\n display: inline-block;\\n\\n &:before {\\n background: #ff0000;\\n display: inline-block;\\n position: relative;\\n top: -2px;\\n width: 6px;\\n height: 6px;\\n margin-right: 5px;\\n content: '';\\n border-radius: 6px;\\n }\\n\\n &.op-live-badge-delayed:before {\\n background: #fff;\\n }\\n\\n .op-live-badge-lowlatency {\\n display: inline-block;\\n margin-right: 5px;\\n }\\n\\n .op-live-text {\\n cursor: pointer;\\n }\\n }\\n\\n}\\n\\n\\n/**\\n * @brief Context Panel\\n * */\\n\\n.op-context-panel {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n display: block;\\n position: absolute;\\n overflow: hidden;\\n width: 200px;\\n padding: 6px 0;\\n z-index: 8;\\n background: rgba(28, 28, 28, 0.9);\\n text-shadow: 0 0 2px rgba(0, 0, 0, .5);\\n font-weight: lighter;\\n user-select: none;\\n\\n &:before,\\n &:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n & *,\\n & *:before,\\n & *:after {\\n -moz-box-sizing: border-box;\\n -webkit-box-sizing: border-box;\\n box-sizing: border-box;\\n }\\n\\n .op-context-item {\\n width: 100%;\\n height: 38px;\\n padding-left: 12px;\\n line-height: 38px;\\n cursor: pointer;\\n outline: none;\\n font-size: 0.8em;\\n font-weight: lighter;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n\\n &:hover {\\n background-color: rgba(255, 255, 255, .1);\\n }\\n }\\n\\n}\\n\\n\\n\\n\\n\\n\\n/**\\n * @brief FullScreen button\\n * */\\n\\n.op-fullscreen-button {\\n position: relative;\\n margin-right: 15px;\\n\\n .op-fullscreen-compress {\\n display: none;\\n }\\n}\\n\\n/**\\n * @brief spinner\\n * */\\n\\n.op-spinner-container {\\n position: absolute;\\n top: 50%;\\n width: 64px;\\n left: 50%;\\n margin-left: -32px;\\n margin-top: -32px;\\n z-index: 7;\\n display: none;\\n\\n\\n .op-spinner {\\n display: inline-block;\\n position: relative;\\n width: 64px;\\n height: 64px;\\n\\n border: 4px solid transparent;\\n border-top: 4px solid #50e3c2;\\n border-top: 4px solid var(--op-accent-color);\\n border-radius: 50%;\\n\\n animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\\n\\n @keyframes spin {\\n 0% {\\n transform: rotate(0deg);\\n }\\n\\n 100% {\\n transform: rotate(360deg);\\n }\\n }\\n }\\n\\n}\\n\\n\\n/**\\n * @brief caption.\\n * */\\n\\n.op-caption-viewer {\\n\\n .op-caption-text-container {\\n position: absolute;\\n bottom: 60px;\\n width: 100%;\\n padding: 0 12px;\\n text-align: center;\\n -moz-transition: bottom .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n -webkit-transition: bottom .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n transition: bottom .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n\\n .op-caption-text {\\n color: #fff;\\n font-size: 1em;\\n line-height: 1.2em;\\n text-shadow: 2px 2px 2px gray;\\n padding: .1em .3em;\\n user-select: none;\\n word-break: break-word;\\n white-space: pre-line;\\n border: none;\\n background: none;\\n }\\n }\\n}\\n\\n.op-caption-button {\\n width: 36px;\\n}\\n\\n.op-caption-button>i {\\n font-size: 18px;\\n -moz-transition: color .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n -webkit-transition: color .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n transition: color .25s cubic-bezier(0.0, 0.0, 0.2, 1);\\n}\\n\\n.op-caption-active .op-caption-button>i {\\n color: #F36446;\\n}\\n\\n\\n\\n/*Responsive */\\n\\n.op-wrapper.ovenplayer.large {\\n font-size: 14px;\\n\\n .op-caption-text {\\n font-size: 2em;\\n line-height: 2em;\\n }\\n\\n}\\n\\n.op-wrapper.ovenplayer.medium {\\n font-size: 12px;\\n\\n .op-caption-text {\\n font-size: 1.4em;\\n line-height: 1.4em;\\n }\\n}\\n\\n.op-wrapper.ovenplayer.small {\\n font-size: 10px;\\n\\n .op-caption-text {\\n font-size: 1.4em;\\n line-height: 1.4em;\\n }\\n\\n .op-playlist {\\n padding: 1rem;\\n\\n .op-playlist-card {\\n margin: 5px 0;\\n }\\n }\\n\\n}\\n\\n.op-wrapper.ovenplayer.xsmall {\\n font-size: 10px;\\n\\n .op-bigbutton-container {\\n\\n .op-bigbutton {\\n width: 60px;\\n height: 60px;\\n font-size: 60px;\\n line-height: 60px;\\n }\\n }\\n\\n .op-caption-text {\\n font-size: 1.4em;\\n line-height: 1.4em;\\n }\\n\\n .op-playlist {\\n padding: 1rem;\\n\\n .op-playlist-header {\\n font-size: 2em;\\n }\\n\\n .op-playlist-card {\\n margin: 5px 0;\\n -ms-flex: 0 0 100%;\\n flex: 0 0 100%;\\n max-width: 100%;\\n padding: 0 6em;\\n\\n .op-playlist-card-title {\\n margin-top: 0;\\n }\\n }\\n }\\n\\n .op-message-box {\\n .op-message-container {\\n top: 50%;\\n font-weight: bold;\\n\\n .op-message-icon {\\n margin-top: 0;\\n\\n .op-con {\\n font-size: 40px;\\n width: 40px;\\n height: 40px;\\n line-height: 40px;\\n }\\n }\\n }\\n }\\n\\n .op-ads-button {\\n bottom: 22px;\\n\\n .videoAdUiAction {\\n padding: 4px;\\n font-size: 14px;\\n }\\n }\\n}\\n\\n.op-wrapper.ovenplayer.xxsmall {\\n\\n .op-left-controls {\\n max-width: 240px; // for small layout\\n overflow: hidden; // for small layout\\n }\\n\\n .op-live-badge-lowlatency {\\n max-width: 75px;\\n }\\n}\\n\\n/*AD MODE*/\\n.op-wrapper.ovenplayer.linear-ad {\\n\\n .op-bottom-panel {\\n height: 34px;\\n\\n .op-controls {\\n\\n top: 4px;\\n\\n .op-left-controls {\\n height: 30px;\\n padding: 0;\\n }\\n\\n .op-right-controls {\\n height: 30px;\\n padding: 0;\\n }\\n }\\n }\\n\\n .op-ads {\\n top: 0;\\n bottom: 0;\\n }\\n\\n .op-button {\\n i.op-con {\\n width: 24px;\\n height: 24px;\\n font-size: 24px;\\n }\\n }\\n\\n .op-right-controls {\\n .op-button {\\n //margin-top: -2px;\\n }\\n }\\n\\n .op-controls-container .op-bottom-panel .op-progressbar-container {\\n bottom: 50px;\\n }\\n}\\n\\n/**\\n * @brief Animation\\n * */\\n\\n.op-player {\\n @keyframes fade {\\n from {\\n opacity: 0.3;\\n }\\n\\n /*5% { opacity: 0.3; }*/\\n /*40% { opacity: 1; }*/\\n /*50% { opacity: 1; }*/\\n 55% {\\n opacity: 1;\\n }\\n\\n 75% {\\n opacity: 1;\\n }\\n\\n to {\\n opacity: 0.3;\\n }\\n }\\n\\n @-webkit-keyframes bounceIn {\\n\\n from,\\n 20%,\\n 40%,\\n 60%,\\n 80%,\\n to {\\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n }\\n\\n 0% {\\n opacity: 0;\\n -webkit-transform: scale3d(0.5, 0.5, 0.5);\\n transform: scale3d(0.5, 0.5, 0.5);\\n }\\n\\n 20% {\\n -webkit-transform: scale3d(1.1, 1.1, 1.1);\\n transform: scale3d(1.1, 1.1, 1.1);\\n }\\n\\n 40% {\\n -webkit-transform: scale3d(0.9, 0.9, 0.9);\\n transform: scale3d(0.9, 0.9, 0.9);\\n }\\n\\n 60% {\\n opacity: 1;\\n -webkit-transform: scale3d(1.03, 1.03, 1.03);\\n transform: scale3d(1.03, 1.03, 1.03);\\n }\\n\\n 80% {\\n -webkit-transform: scale3d(0.97, 0.97, 0.97);\\n transform: scale3d(0.97, 0.97, 0.97);\\n }\\n\\n to {\\n opacity: 1;\\n -webkit-transform: scale3d(1, 1, 1);\\n transform: scale3d(1, 1, 1);\\n }\\n }\\n\\n @keyframes bounceIn {\\n\\n from,\\n 20%,\\n 40%,\\n 60%,\\n 80%,\\n to {\\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\\n }\\n\\n 0% {\\n opacity: 0;\\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\\n transform: scale3d(0.3, 0.3, 0.3);\\n }\\n\\n 20% {\\n -webkit-transform: scale3d(1.1, 1.1, 1.1);\\n transform: scale3d(1.1, 1.1, 1.1);\\n }\\n\\n 40% {\\n -webkit-transform: scale3d(0.9, 0.9, 0.9);\\n transform: scale3d(0.9, 0.9, 0.9);\\n }\\n\\n 60% {\\n opacity: 1;\\n -webkit-transform: scale3d(1.03, 1.03, 1.03);\\n transform: scale3d(1.03, 1.03, 1.03);\\n }\\n\\n 80% {\\n -webkit-transform: scale3d(0.97, 0.97, 0.97);\\n transform: scale3d(0.97, 0.97, 0.97);\\n }\\n\\n to {\\n opacity: 1;\\n -webkit-transform: scale3d(1, 1, 1);\\n transform: scale3d(1, 1, 1);\\n }\\n }\\n\\n .bounceIn {\\n -webkit-animation-duration: 0.75s;\\n animation-duration: 0.75s;\\n -webkit-animation-name: bounceIn;\\n animation-name: bounceIn;\\n }\\n\\n @-webkit-keyframes fadeIn {\\n from {\\n opacity: 0;\\n }\\n\\n to {\\n opacity: 1;\\n }\\n }\\n\\n @keyframes fadeIn {\\n from {\\n opacity: 0;\\n }\\n\\n to {\\n opacity: 1;\\n }\\n }\\n\\n .fadeIn {\\n -webkit-animation-name: fadeIn;\\n animation-name: fadeIn;\\n }\\n\\n .animated {\\n -webkit-animation-duration: 1s;\\n animation-duration: 1s;\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both;\\n }\\n\\n @media (prefers-reduced-motion) {\\n .animated {\\n -webkit-animation: unset !important;\\n animation: unset !important;\\n -webkit-transition: none !important;\\n transition: none !important;\\n }\\n }\\n\\n\\n /* Pulse Shrink */\\n /*.op-button {\\n //display: inline-block;\\n //vertical-align: middle;\\n transform: translateZ(0);\\n box-shadow: 0 0 1px rgba(0, 0, 0, 0);\\n backface-visibility: hidden;\\n -moz-osx-font-smoothing: grayscale;\\n transition-duration: 0.3s;\\n transition-property: transform;\\n }\\n .op-button:hover,\\n .op-button:focus,\\n .op-button:active {\\n transform: scale(1.1);\\n }*/\\n}\\n\\n\\n@media only screen and (max-width: 399px) {\\n .op-seek-button {\\n display: none !important;\\n }\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n\n content += cssWithMappingToString(item);\n\n if (needLayer) {\n content += \"}\";\n }\n\n if (item[2]) {\n content += \"}\";\n }\n\n if (item[4]) {\n content += \"}\";\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n\n\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n\n if (!url) {\n return url;\n }\n\n url = String(url.__esModule ? url.default : url); // If url is already wrapped in quotes, remove them\n\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n\n if (options.hash) {\n url += options.hash;\n } // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n\n\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n\n return url;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar stylesInDOM = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n\n return updater;\n}\n\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n\n stylesInDOM.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n/* istanbul ignore next */\n\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n}\n/* istanbul ignore next */\n\n\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n}\n\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\n\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\n\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n\n var needLayer = typeof obj.layer !== \"undefined\";\n\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n\n css += obj.css;\n\n if (needLayer) {\n css += \"}\";\n }\n\n if (obj.media) {\n css += \"}\";\n }\n\n if (obj.supports) {\n css += \"}\";\n }\n\n var sourceMap = obj.sourceMap;\n\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n options.styleTagTransform(css, styleElement, options.options);\n}\n\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n\n styleElement.parentNode.removeChild(styleElement);\n}\n/* istanbul ignore next */\n\n\nfunction domAPI(options) {\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\n\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n\n styleElement.appendChild(document.createTextNode(css));\n }\n}\n\nmodule.exports = styleTagTransform;","var global =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n (typeof global !== 'undefined' && global)\n\nvar support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob:\n 'FileReader' in global &&\n 'Blob' in global &&\n (function() {\n try {\n new Blob()\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n}\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n}\n\nif (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n}\n\nexport function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1])\n }, this)\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n}\n\nHeaders.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue + ', ' + value : value\n}\n\nHeaders.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n}\n\nHeaders.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n}\n\nHeaders.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n}\n\nHeaders.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n}\n\nHeaders.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n}\n\nHeaders.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push(name)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.values = function() {\n var items = []\n this.forEach(function(value) {\n items.push(value)\n })\n return iteratorFor(items)\n}\n\nHeaders.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) {\n items.push([name, value])\n })\n return iteratorFor(items)\n}\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n}\n\nfunction Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n this._bodyText = body = Object.prototype.toString.call(body)\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this)\n if (isConsumed) {\n return isConsumed\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return methods.indexOf(upcased) > -1 ? upcased : method\n}\n\nexport function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {}\n var body = options.body\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n this.signal = input.signal\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n } else {\n this.url = String(input)\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.signal = options.signal || this.signal\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime())\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime()\n }\n }\n }\n}\n\nRequest.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n}\n\nfunction decode(body) {\n var form = new FormData()\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers()\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ')\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n}\n\nBody.call(Request.prototype)\n\nexport function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = options.status === undefined ? 200 : options.status\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n}\n\nBody.call(Response.prototype)\n\nResponse.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n}\n\nResponse.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n}\n\nvar redirectStatuses = [301, 302, 303, 307, 308]\n\nResponse.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n}\n\nexport var DOMException = global.DOMException\ntry {\n new DOMException()\n} catch (err) {\n DOMException = function(message, name) {\n this.message = message\n this.name = name\n var error = Error(message)\n this.stack = error.stack\n }\n DOMException.prototype = Object.create(Error.prototype)\n DOMException.prototype.constructor = DOMException\n}\n\nexport function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest()\n\n function abortXhr() {\n xhr.abort()\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n setTimeout(function() {\n resolve(new Response(body, options))\n }, 0)\n }\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'))\n }, 0)\n }\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new DOMException('Aborted', 'AbortError'))\n }, 0)\n }\n\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob'\n } else if (\n support.arrayBuffer &&\n request.headers.get('Content-Type') &&\n request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1\n ) {\n xhr.responseType = 'arraybuffer'\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]))\n })\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr)\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr)\n }\n }\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n}\n\nfetch.polyfill = true\n\nif (!global.fetch) {\n global.fetch = fetch\n global.Headers = Headers\n global.Request = Request\n global.Response = Response\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t983: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// no jsonp function","// startup\n// Load entry module and return exports\n// This entry module used 'module' so it can't be inlined\n__webpack_require__(8594);\n__webpack_require__(7147);\nvar __webpack_exports__ = __webpack_require__(8445);\n"],"names":["root","factory","exports","module","define","amd","self","version","__VERSION__","trim","string","replace","extractExtension","path","substr","azuredFormat","extension","test","getAzureFileFormat","split","lastIndexOf","length","toLowerCase","naturalHms","second","secNum","parseInt","hours","Math","floor","minutes","seconds","hmsToSecond","str","frameRate","_","arr","arrLength","sec","slice","parseFloat","secIndex","_entry","data","entry","array","idx","indexOf","line","index","start","end","text","join","VTTCue","window","directionSetting","alignSetting","findAlignSetting","value","extend","obj","i","arguments","cobj","p","startTime","endTime","cue","this","isIE8","navigator","userAgent","baseObj","document","createElement","enumerable","hasBeenReset","_id","_pauseOnExit","_startTime","_endTime","_text","_region","_vertical","_snapToLines","_line","_lineAlign","_position","_positionAlign","_size","_align","Object","defineProperty","get","set","TypeError","setting","findDirectionSetting","SyntaxError","Error","displayState","undefined","prototype","getCueAsHTML","WebVTT","convertCueToDOMTree","scrollSetting","isValidPercentValue","_width","_lines","_regionAnchorX","_regionAnchorY","_viewportAnchorX","_viewportAnchorY","_scroll","defineProperties","findScrollSetting","makeColorSet","color","opacity","substring","fontScale","observe","subject","topic","fontColor","Services","prefs","getCharPref","fontOpacity","getIntPref","WebVTTSet","fontSet","backgroundColor","backgroundOpacity","backgroundSet","edgeType","edgeColor","edgeSet","forEach","pref","addObserver","_objCreate","create","F","o","ParsingError","errorData","message","name","code","parseTimeStamp","input","computeSeconds","h","m","s","f","match","Settings","values","parseOptions","callback","keyValueDelim","groupDelim","groups","kv","parseCue","regionList","oInput","consumeTimeStamp","ts","Errors","BadTimeStamp","skipWhitespace","settings","k","v","id","region","alt","vals","vals0","integer","percent","consumeCueSettings","constructor","BadSignature","dflt","defaultKey","has","a","n","ESCAPE","TAG_NAME","c","b","u","ruby","rt","lang","TAG_ANNOTATION","NEEDS_PARENT","parseContent","nextToken","result","unescape1","e","unescape","shouldAdd","current","element","localName","type","annotation","tagName","t","rootDiv","tagStack","appendChild","createTextNode","pop","parentNode","node","createProcessingInstruction","className","push","strongRTLChars","StyleBox","CueStyleBox","styleOptions","textShadow","call","cueDiv","styles","position","left","right","top","bottom","display","writingMode","vertical","unicodeBidi","applyStyles","div","textAlign","align","font","whiteSpace","direction","charCode","nodeStack","childNodes","pushNodes","nextTextNode","textContent","innerText","charCodeAt","j","determineBidi","stylesunicodeBidi","textPos","positionAlign","size","formatStyle","width","height","move","box","BoxPosition","lh","offsetHeight","offsetWidth","offsetTop","rects","getClientRects","getBoundingClientRect","max","lineHeight","moveBoxToLinePosition","styleBox","containerBox","boxPositions","boxPosition","linePos","snapToLines","track","textTrackList","mediaElement","trackList","count","mode","computeLinePos","axis","step","round","maxPosition","initialAxis","abs","ceil","reverse","calculatedPercentage","lineAlign","bestPosition","specifiedPosition","percentage","overlapsOppositeAxis","within","overlapsAny","intersectPercentage","findBestPosition","toCSSCompatValues","prop","hasOwnProperty","style","val","unit","toMove","overlaps","b2","boxes","container","min","reference","getSimpleBoxPosition","StringDecoder","decode","decodeURIComponent","encodeURIComponent","cuetext","processCues","cues","overlay","firstChild","removeChild","paddedOverlay","margin","shouldCompute","fontSize","Parser","decoder","state","buffer","TextDecoder","reportOrThrowError","onparsingerror","parse","flushing","collectNextLine","pos","stream","alreadyCollectedLine","xy","anchor","VTTRegion","lines","regionAnchorX","regionAnchorY","viewportAnchorX","viewportAnchorY","scroll","onregion","parseRegion","hasSubstring","oncue","flush","onflush","analUserAgent","screenSize","screen","nameOffset","verOffset","ix","nVer","appVersion","nAgt","browser","appName","majorVersion","toUpperCase","isNaN","mobile","cookieEnabled","cookie","os","clientStrings","r","cs","osVersion","exec","browserVersion","browserMajorVersion","ua","cookies","reCloseSync","reLineEnding","reBrokenTag","reStartTime","reBr","strip_tags","allowed","$0","$1","_sort","langItem","sort","res","that","convertToVTTCues","map","load","language","successCallback","errorCallback","fetch","file","then","response","ok","body","vttCues","OvenPlayerConsole","log","parser","parsedData","sami","options","definedLangs","duration","errors","getLanguage","key","makeEndTime","_ref","fixedLang","error","item","lineNum","nextStartTagIdx","ret","startTagIdx","tempRet","_ref1","_ref2","context","search","contents","nav","browserLanguagePropertyKeys","Array","isArray","languages","getBrowserLanguage","convertedLanguageNames","keys","filter","concat","reClassName","splice","KRCC","RegExp","KOCC","KR","ENCC","EGCC","EN","JPCC","SmiParser","captions","list","SrtParser","catch","status","STATE_IDLE","STATE_COMPLETE","STATE_PAUSED","STATE_PLAYING","STATE_ERROR","STATE_LOADING","STATE_STALLED","STATE_AD_LOADED","STATE_AD_PLAYING","STATE_AD_PAUSED","STATE_AD_COMPLETE","STATE_AD_ERROR","PROVIDER_HTML5","PROVIDER_WEBRTC","PROVIDER_DASH","PROVIDER_HLS","READY","DESTROY","PLAYLIST_CHANGED","ALL_PLAYLIST_ENDED","NETWORK_UNSTABLED","ERROR","PLAYER_STATE","PLAYER_PAUSE","PLAYER_PLAY","PLAYER_CLICKED","PLAYER_RESIZED","PLAYER_FULLSCREEN_CHANGED","PLAYER_WARNING","AD_CHANGED","AD_TIME","CONTENT_BUFFER","CONTENT_TIME","CONTENT_VOLUME","CONTENT_MUTE","CONTENT_META","CONTENT_SOURCE_CHANGED","CONTENT_LEVEL_CHANGED","CONTENT_CAPTION_CUE_CHANGED","CONTENT_CAPTION_CHANGED","CONTENT_TIME_MODE_CHANGED","OME_P2P_MODE","AUDIO_TRACK_CHANGED","ERRORS","codes","SYSTEM_TEXT","isSupport","kind","object","_events","triggerEvents","events","args","event","listener","apply","on","trigger","allEvents","all","off","names","l","retain","_listener","once","onceCallback","La$","selectorOrElement","$element","returnNode","selector","nodeList","querySelectorAll","show","hide","addClass","classList","add","after","htmlString","insertAdjacentHTML","append","before","children","contains","elChild","empty","innerHTML","find","css","removeClass","remove","removeAttribute","attrName","html","hasClass","is","$targetElement","offset","rect","scrollTop","scrollLeft","clientWidth","clientHeight","attr","getAttribute","replaceWith","parentElement","hasChildNodes","closest","selectorString","el","matches","nodeType","closestElement","isRtmp","isWebRTC","isHls","isDash","checkAndGetContainerElement","containerElement","getElementById","userAgentObject","supportList","checkSupport","source","video","canPlayType","mimeType","aac","mp4","f4v","m4v","mov","mp3","mpeg","ogv","ogg","oga","vorbis","webm","f4a","m3u8","m3u","hls","MediaSource","WebKitMediaSource","mediaSource","sourceBuffer","isTypeSupported","sourceBufferValidAPI","getMediaSource","SourceBuffer","WebKitSourceBuffer","appendBuffer","support","ActiveXObject","mimeTypes","testFlash","findProviderNameBySource","soruce_","findProviderNamesByPlaylist","playlistItem","supportNames","sources","supported","TEMP_VIDEO_URL","errorTrigger","provider","setState","pause","pickCurrentSource","playerConfig","sourceIndex","getSourceIndex","default","elVideo","adTagUrl","adContainer","ADMANGER_LOADING_ERROR","ADS_MANAGER_LOADED","AD_ERROR","adsManagerLoaded","adsErrorOccurred","spec","started","active","isVideoEnded","OnManagerLoaded","OnAdError","adDisplayContainer","adsLoader","adsManager","adsRequest","autoplayAllowed","autoplayRequiresMuted","getBrowser","isMobile","google","ima","AdsManagerLoadedEvent","Type","AdErrorEvent","setLocale","setDisableCustomPlaybackForIOS10Plus","adErrorEvent","console","getError","getVastErrorCode","getMessage","innerError","getInnerError","getErrorCode","play","adsManagerLoadedEvent","adsRenderingSettings","AdsRenderingSettings","restoreCustomPlaybackStateOnAdBreakComplete","destroy","getAdsManager","adsSpec","lowLevelEvents","intervalTimer","AD_BUFFERING","AdEvent","CONTENT_PAUSE_REQUESTED","CONTENT_RESUME_REQUESTED","ALL_ADS_COMPLETED","CLICK","SKIPPED","COMPLETE","FIRST_QUARTILE","LOADED","MIDPOINT","PAUSED","RESUMED","STARTED","USER_CLOSE","THIRD_QUARTILE","isAllAdCompelete","currentAd","adEvent","getPosition","remainingTime","getRemainingTime","ad","getAd","remaining","isLinear","adObject","getDuration","skipTimeOffset","getSkipTimeOffset","setInterval","skippable","getAdSkippableState","clearInterval","eventName","removeEventListener","addEventListener","setAdCompleteCallback","_adCompleteCallback","isAllAdComplete","isLinearAd","AdsEventsListener","adConatinerElment","setAttribute","getContainer","AdDisplayContainer","AdsLoader","mute","setVolume","volume","setAutoPlayToAdsRequest","setAdWillAutoPlay","setAdWillPlayMuted","timer","iconClass","onClickCallback","setMute","isActive","Promise","resolve","reject","resume","initialize","retryCount","checkAdsManagerIsReady","init","ViewMode","NORMAL","setTimeout","temporarySupportCheckVideo","src","getName","clearAndReport","_autoplayAllowed","_autoplayRequiresMuted","playPromise","checkAutoplaySupport","isAutoStart","AdsRequest","forceNonLinearFullSlot","requestAds","videoEndedCallback","completeContentCallback","contentComplete","$ads","LA$","Ad","sequence","system","title","description","advertiser","pricing","survey","errorURLTemplates","impressionURLTemplates","creatives","extensions","AdExtension","attributes","AdExtensionChild","CompanionAd","staticResource","htmlResource","iframeResource","altText","companionClickThroughURLTemplate","companionClickTrackingURLTemplates","trackingEvents","Creative","adId","apiFramework","CreativeCompanion","variations","resolveURLTemplates","ASSETURI","encodeURIComponentRFC3986","CONTENTPLAYHEAD","ERRORCODE","CACHEBUSTING","leftpad","random","toString","TIMESTAMP","Date","toISOString","RANDOM","range","util","Image","isNumeric","isFinite","flatten","reduce","parserUtils","nodeName","location","protocol","videoClickTrackingURLTemplates","videoCustomClickURLTemplates","videoClickThroughURLTemplate","parseCreativeCompanion","companionClickTrackingURLTemplate","CreativeLinear","skipDelay","mediaFiles","adParameters","icons","Icon","program","xPosition","yPosition","iconClickThroughURLTemplate","iconClickTrackingURLTemplates","iconViewTrackingURLTemplate","MediaFile","fileURL","deliveryType","codec","bitrate","minBitrate","maxBitrate","scalable","maintainAspectRatio","parseCreativeLinear","charAt","parseXPosition","parseYPosition","domain","CreativeNonLinear","NonLinearAd","expandedWidth","expandedHeight","minSuggestedDuration","nonlinearClickThroughURLTemplate","nonlinearClickTrackingURLTemplates","parseCreativeNonLinear","parseAd","parseWrapper","parseInLine","parseCreativeAdIdAttribute","parseExtensions","model","currency","nextWrapperURL","nodeValue","EventHandlers","EventEmitter","$getMaxListeners","_maxListeners","defaultMaxListeners","emitNone","arrayClone","emitOne","emitTwo","emitThree","emitMany","_addListener","newListener","emit","_eventsCount","unshift","warned","emitter","warn","emitWarning","_onceWrap","removeListener","listenerCount","usingDomains","Domain","getPrototypeOf","setMaxListeners","getMaxListeners","domainEmitter","domainThrown","addListener","prependListener","prependOnceListener","spliceOne","removeAllListeners","listeners","unwrapListeners","eventNames","Reflect","ownKeys","flashURLHandler","async","request","open","timeout","withCredentials","send","onprogress","onload","loadXML","responseText","XDomainRequest","nodeURLHandler","xhr","XMLHttpRequest","OvenPlayerSDK","playerList","XHRURLHandler","overrideMimeType","onreadystatechange","readyState","responseXML","statusText","urlHandler","VASTResponse","ads","DEFAULT_EVENT_DATA","VASTParser","remainingAds","parentURLs","rootErrorURLTemplates","maxWrapperDepth","URLTemplateFilters","fetchingOptions","assign","url","wrapperDepth","originalUrl","rootURL","wrapperLimit","urlhandler","shift","resolveAds","buildVASTResponse","initParsingStatus","fetchVAST","isRootVAST","getErrorURLTemplates","completeWrapperResolving","resolveAll","wrapperSequence","documentElement","trackVastError","resolveWrappers","errorCode","errorMessage","ERRORMESSAGE","storage","DEFAULT_STORAGE","getItem","setItem","removeItem","clear","Storage","initStorage","localStorage","sessionStorage","isStorageDisabled","VASTClient","cappingFreeLunch","cappingMinimumTimeInterval","defaultOptions","vastParser","lastSuccessfulAd","totalCalls","totalCallsTimeout","getRemainingAds","now","getAndParseVAST","VASTTracker","creative","variation","muted","impressed","_alreadyTriggeredQuartiles","emitAlwaysEvents","_initLinearTracking","_initVariationTracking","linear","setDuration","clickThroughURLTemplate","clickTrackingURLTemplates","assetDuration","quartiles","firstQuartile","midpoint","thirdQuartile","isQuartileReached","progress","paused","fullscreen","expanded","trackURLs","progressFormatted","close","elAdVideo","textView","adButton","vastClient","vastTracker","checkMainContentLoaded","metaLoaded","$textView","$adButton","$elAdVideo","processEndOfAd","skipButtonClicked","skip","errorWithCode","canplay","ended","complete","click","setPaused","timeupdate","setProgress","target","currentTime","volumechange","setMuted","loadedmetadata","getState","trackImpression","videoURL","onExtendedLoad","getAdClient","Vast","Ima","stalled","setCanSeek","durationchange","loadeddata","getSources","getCurrentSource","metadata","isLive","Infinity","setMetaLoaded","loadstart","getConfig","showBigPlayButton","autoStart","playing","timeRanges","buffered","num","setBuffer","bufferPercent","sectionStart","seek","sectionEnd","stop","isSeeking","toFixed","compareStalledTime","seeking","setSeeking","seeked","waiting","convertedErroCode","EventsListener","playbackRate","defaultPlaybackRate","getPlaybackRate","_load","lastPlayPosition","currentSource","framerate","getVolume","setTimecodeMode","previousSource","getMse","mse","getMediaElement","canSeek","isLoaded","newState","prevState","newstate","prevstate","newBuffer","getBuffer","getDvrWindow","dvrWindow","isMute","getMute","preload","promise","setPlaybackRate","label","gridThumbnail","lowLatency","setCurrentSource","needProviderChange","setSourceIndex","getQualityLevels","qualityLevels","getCurrentQuality","currentQuality","setCurrentQuality","qualityIndex","getAudioTracks","audioTracks","getCurrentAudioTrack","currentAudioTrack","setCurrentAudioTrack","audioTrackIndex","isAutoQuality","setAutoQuality","isAuto","getFramerate","setFramerate","seekFrame","frameCount","fps","newPosition","super","method","Provider","superDestroy_func","webSocketUrl","loadCallback","connectedCallback","internalErrorCallback","defaultConnectionConfig","ws","wsConnected","mainStream","mainPeerConnectionInfo","clientPeerConnections","wsClosedByPlayer","recoverPacketLoss","playlistFromOme","autoQuality","webrtcConfig","generatePublicCandidate","currentBrowser","existingHandler","getPeerConnectionById","peerConnection","extractLossPacketsOnNetworkStatus","peerConnectionInfo","statisticsTimer","clearTimeout","lostPacketsArr","slotLength","prevPacketsLost","avg8Losses","avgMoreThanThresholdCount","threshold","getStats","stats","autoFallback","isRemote","actualPacketLost","packetsLost","memo","closePeer","createMainPeerConnection","peerId","sdp","candidates","iceServers","peerConnectionConfig","iceTransportPolicy","iceServer","regIceServer","urls","hasWebsocketUrl","socketUrl","generateDomainFromUrl","cloneIceServer","ip","findIp","username","user_name","credential","RTCPeerConnection","tempError","setRemoteDescription","RTCSessionDescription","createAnswer","desc","opusFormatNumber","getOpusFormatNumber","stereo","checkOpusIsStereo","mungeSdpForceStereoOpus","sendMessage","peer_id","command","setLocalDescription","addIceCandidate","onicecandidate","candidate","onconnectionstatechange","connectionState","onicecandidateerror","onicegatheringstatechange","oniceconnectionstatechange","iceConnectionState","ontrack","streams","playoutDelayHint","hint","receivers","getReceivers","receiver","jitterBufferDelayHint","createClientPeerConnection","hostId","clientId","addStream","createOffer","sessionDescription","copyCandidate","basicCandidate","cloneCandidate","newDomain","RTCIceCandidate","cloneCandidatePromise","initWebSocket","WebSocket","onopen","onmessage","JSON","ice_servers","renditions","rendition","video_track","auto","rendition_name","onclose","onerror","clientPeerConnection","stringify","onbeforeunload","connect","webrtcLoader","superPlay_func","sourceFile","audioCtx","connectionTimeout","timeoutMaxRetry","connectionCheckTimer","connected","loadWebRTCLoader","performance","WebRTCLoader","srcObject","AudioContext","webkitAudioContext","currentDevice","called","unlockAudio","createMediaStreamSource","destroyWebRtcLoader","config","removeStream","bytes","si","postpix","thresh","units","dash","seekPosition_sec","sourceOfFile","dashjs","Version","coveredSetAutoSwitchQualityFor","updateSettings","streaming","abr","autoSwitchBitrate","coveredGetAutoSwitchQualityFor","getSettings","MediaPlayer","op_dash","lowLatencyEnabled","lowLatencyMpdLiveDelay","liveDelay","debug","logLevel","Debug","LOG_LEVEL_NONE","dashConfigFromPlayerConfig","dashConfig","attachSource","QUALITY_CHANGE_REQUESTED","mediaType","QUALITY_CHANGE_RENDERED","newQuality","PLAYBACK_METADATA_LOADED","getQualityFor","getBitrateInfoListFor","subQualityList","sizeHumanizer","isDynamic","mutedPlay","setQualityFor","reset","superStop_func","loadRetryer","firstLoaded","hlsConfig","hlsConfigFromPlayerConfig","Hls","op_hls","attachMedia","loadSource","Events","MANIFEST_LOADED","levels","qualityLevel","firstLevel","audioTrack","LEVEL_LOADED","details","live","LEVEL_SWITCHED","level","autoLevelEnabled","AUDIO_TRACK_SWITCHED","LEVEL_UPDATED","totalduration","networkDetails","stopLoad","fatal","errorType","currentLevel","playlistManager","playlist","currentIndex","supportChecker","SupportChecker","makePrettySource","source_","host","application","mimetypeRegEx","initPlaylist","prettiedPlaylist","tracks","prettySource","defaultSource","isCurrentProtocolOnly","highPriorityType","extractOnlyOneProtocol","getPlaylist","getCurrentPlayList","getCurrentPlaylistIndex","setCurrentPlaylist","getCurrentSources","getCurrentAdTag","PlaylistManager","providerController","supportChacker","Providers","registeProvider","ProviderLoader","html5","HTML5","webrtc","WebRTC","Dash","loadProviders","supportedProviderNames","providerName","findByName","getProviderBySource","supportedProviderName","isSameProvider","newSource","ProviderController","mediaManager","browserInfo","$container","videoElement","createMedia","isLoop","createAdContainer","MediaManager","currentProvider","captionManager","runNextPlaylist","nextPlaylistIndex","hasNextPlaylist","initProvider","api","playlistIndex","captionList","currentCaptionIndex","captionLoader","CaptionLoader","isFisrtLoad","bindTrack","tracksCount","trackId","prefix","defaulttrack","changeCurrentCaption","meta","currentCues","flushCaptionList","lastCaptionIndex","getCaptionList","getCurrentCaption","setCurrentCaption","_index","addCaption","removeCaption","CaptionManager","currentSourceIndex","externalCallbackCreep","triggerEventFromExternal","ApiRtmpExpansion","mediaContainer","lowercaseVal","Number","serialize","deserialize","playbackRates","loop","controls","timecode","hidePlaylistIcon","rtmpBufferTime","rtmpBufferTimeMax","adClient","currentProtocolOnly","systemText","loadingRetryCount","expandFullScreenUI","fullscreenOption","userCustumSystemText","currentSystemText","rate","configPlaylist","feedData","composeSourceOptions","qualityLabel","newLabel","Configurator","getSystemText","getProviderName","getProvider","getMseInstance","isShow","isTimecodeMode","setPlaylist","getCurrentPlaylist","getVersion","playerInstance","API","getPlayerList","getPlayerByContainerId","containerId","getContainerId","getPlayerByIndex","removePlayer","generateWebrtcUrls","isDebugMode","uiText","elements","isRoot","settingItemTemplate","useCheck","panelType","isCheck","hasNext","playlistItemTemplate","image","TextViewTemplate","ViewTemplate","HelpersTemplate","BigButtonTemplate","playerState","ThumbnailTemplate","WaterMarkTemplate","waterMark","MessageBoxTemplate","dontClose","SpinnerTemplate","ContextPanelTemplate","CaptionViewerTemplate","ControlsTemplate","hasPlaylist","VolumeButtonTemplate","ProgressBarTemplate","PlayButtonTemplate","SettingButtonTemplate","FrameButtonsTemplate","TimeDisplayTemplate","isP2P","low_latency_p2p","low_latency_live","FullScreenButtonTemplate","PanelsTemplate","SpeedPanelTemplate","SourcePanelTemplate","QualityPanelTemplate","AudioTrackPanelTemplate","CaptionPanelTemplate","TimeDisplayPanelTemplate","PlaylistPanelTemplate","templateName","onRendered","onDestroyed","$template","viewEvents","createAndSelectElement","newElement","ui","Templates","eventString","explodedText","$target","wrappedFunc","eventOption","passive","nodeLength","withTimer","clickCallback","autoDestroyTimer","$current","template","stopPropagation","preventDefault","OvenTemplate","thumbnail","firstRun","bigButton","messageBox","spinner","mutedMessage","hasThumbnail","hasWaterMark","dont_show_message","qualityLevelChanging","newQualityLevel","createBigButton","currentState","currentPlaylistIndex","BigButton","createThumbnail","poster","Thumbnail","$spinner","Spinner","getContainerElement","isDisable","deleteTimer","hideGap","CaptionViewer","textElem","waterMarkOption","y","x","WaterMark","MessageBox","UI_ICONS","createMessage","settingPanelList","refreshFront","setFront","settingPanel","removeLastItem","settingPanelObject","PANEL_TITLE","$root","panelManager","PanelManager","extractSubPanelData","panel","getTime","playBackRates","currentPlaybackRate","speedUnit","displayModes","isFront","currentTarget","SpeedPanel","SourcePanel","$panel","QualityPanel","AudioTrackPanel","CaptionPanel","TimeDisplayPanel","newQualityObject","initialDuration","volumeButton","playButton","settingButton","progressBar","timeDisplay","fullScreenButton","uiInited","webrtc_is_p2p_mode","isAndroid","isIOS","lastContentMeta","setMouseDown","$playlistPanel","totalCount","pageSize","page","pagedList","pagenate","totalPageCount","originalItemIndex","findCurrentPage","evt","gtarget","PlaylistPanel","initProgressBar","isAd","disableSeekUI","currentPlayingPosition","mouseDown","lastGridThumbnail","durationForCalc","$progressBar","$progressLoad","$progressPlay","$progressHover","$knobContainer","$knob","knobWidth","$time","$preview","hlsLive","nativeHlsLive","positionElements","progressBarWidth","knobPostion","drawHoverProgress","hoverPosition","calculatePercentage","progressBarOffsetX","pointerOffsetX","pageX","touches","clientX","getNativeHlsDvrWindow","seekable","drawTimeIndicator","timeElemWidth","positionOfPixel","calculateMagnetic","elementWidth","magneticPosition","interval","thumbnailInterval","originalThumbnailWidth","originalThumbnailHeight","columnCount","rowCount","scale","resizeScale","thumbnailNumber","imageNumber","rowNumber","columnNumber","previewMagneticPosition","time","liveSyncDuration","liveMaxLatencyDuration","maxLiveSyncPlaybackRate","loadPosition","ProgressBar","initSettingButton","$parent","panelData","currentCaption","speed","quality","caption","generateMainData","Panels","SettingButton","initFullscreenButton","$iconExpand","$iconCompress","isFullScreen","isIos","fullscreenChangedEventName","isForceMode","fullScreenEventTypes","onfullscreenchange","onmozfullscreenchange","onwebkitfullscreenchange","MSFullscreenChange","checkFullScreen","fullScreen","fullScreenElement","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","resetFullscreenButtonState","afterFullScreenChangedCallback","forcedFakeFullscreenToggle","toggleFullScreen","rootElement","videoElements","adVideoElement","videoTitle","webkitEnterFullScreen","requestFullscreen","fullScreenOption","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen","requestFullScreen","exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","mozCancelFullScreen","msExitFullscreen","FullScreenButton","makeControlUI","$position","$duration","$liveBadge","convertHumanizeTime","MAX_SAFE_INTEGER","isTimecode","TimeDisplay","initTimeDisplay","resetControlUI","$iconPlay","$iconPause","$iconReplay","$buttonBack","$buttonForward","$textBack","$textForward","seekInterval","seekControlInterval","showSeekControl","PlayButton","$sliderContainer","$slider","$sliderHandle","$sliderValue","$volumeIconBig","$volumeIconSmall","$volumeIconMute","maxRange","setVolumeUI","setVolumeIcon","handlePosition","sliderWidth","VolumeButton","metadata_for_when_after_playing","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","OvenPlayer","$playerRoot","viewTemplate","helper","contextPanel","autoHideTimer","isShiftPressed","currentPlayerSize","resizeSensor","setHide","autoHide","togglePlayPause","isRewind","currentPosition","isUp","newVolume","currentVolumn","calcPlayerWidth","playerWidth","frameMode","keyCode","pageY","panelWidth","panelHeight","ContextPanel","ResizeSensor","detach","getMediaElementContainer","setApi","Controls","showControlBar","Helpers","aspectRatio","ratio","showControls","player","View","global","selectors","_qsa","styleSheet","cssText","scrollBy","querySelector","getElementsByClassName","classNames","String","Node","DOMException","useCapture","_timeStamp","_currentTarget","attachEvent","detachEvent","Element","Event","CAPTURING_PHASE","AT_TARGET","BUBBLING_PHASE","srcElement","eventPhase","bubbles","cancelable","timeStamp","cancelBubble","returnValue","defaultPrevented","Window","HTMLDocument","CustomEvent","params","detail","createEvent","initCustomEvent","addEvent","fn","removeEvent","DOMTokenListShim","removeTokenFromString","token","tokens","some","underlying_string","token_list","toggle","force","addToElementPrototype","getClassList","elem","getRelList","relList","DOMTokenList","previousSibling","ELEMENT_NODE","nextSibling","msMatchesSelector","oMatchesSelector","mozMatchesSelector","webkitMatchesSelector","ownerDocument","ParentNode","prepend","nodes","convertNodesIntoANode","insertBefore","mixin","Document","DocumentFragment","ChildNode","parent","viablePreviousSibling","viableNextSibling","replaceChild","DocumentType","CharacterData","ps","getOwnPropertyDescriptor","ex","createDocumentFragment","returnExportsGlobal","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","EventQueue","q","ev","attachResizeEvent","resized","resizedAttached","styleChild","currentStyle","getComputedStyle","getPropertyValue","expand","expandChild","shrink","lastWidth","lastHeight","cachedWidth","cachedHeight","dirty","dirtyChecking","onScroll","cb","elementType","isCollectionTyped","_isCollectionTyped","jQuery","Elements","_element","Function","Symbol","ArrayBuffer","DataView","isView","d","g","propertyIsEnumerable","pow","w","A","S","O","M","E","B","N","I","T","Int8Array","D","R","V","Map","P","getInt8","U","W","z","L","$","C","K","J","G","H","Q","X","Y","Z","nn","rn","tn","_wrapped","en","Uint8Array","byteOffset","VERSION","valueOf","toJSON","un","an","hn","cn","sn","pn","vn","yn","dn","gn","bn","mn","jn","_n","wn","An","xn","Sn","On","Mn","En","Bn","Nn","toPath","In","Tn","kn","Dn","Rn","Fn","Vn","Pn","qn","iteratee","Un","Wn","zn","Ln","$n","Cn","Kn","Jn","templateSettings","evaluate","interpolate","escape","Gn","Hn","Qn","Xn","Yn","Zn","nr","rr","placeholder","tr","er","ur","or","ir","ar","fr","cr","lr","sr","pr","vr","hr","yr","dr","gr","br","mr","jr","_r","wr","Ar","xr","Sr","Or","Mr","Er","Br","Nr","Ir","Tr","kr","Dr","Rr","Fr","Vr","Pr","qr","Ur","Wr","zr","Lr","$r","Cr","Kr","Jr","Gr","Hr","Qr","Xr","_chain","chain","Yr","Zr","__proto__","restArguments","isObject","isNull","isUndefined","isBoolean","isElement","isString","isNumber","isDate","isRegExp","isError","isSymbol","isArrayBuffer","isDataView","isFunction","isArguments","isTypedArray","isEmpty","isMatch","isEqual","isMap","isWeakMap","isSet","isWeakSet","allKeys","pairs","invert","functions","methods","extendOwn","defaults","clone","tap","mapObject","identity","constant","noop","property","propertyOf","matcher","times","variable","uniqueId","partial","bind","bindAll","memoize","cache","delay","defer","throttle","leading","trailing","cancel","debounce","wrap","negate","compose","findKey","findIndex","findLastIndex","sortedIndex","detect","findWhere","each","collect","foldl","inject","reduceRight","foldr","select","every","any","includes","include","invoke","pluck","where","shuffle","sample","sortBy","criteria","groupBy","indexBy","countBy","partition","toArray","pick","omit","first","head","take","initial","last","rest","tail","drop","compact","Boolean","without","uniq","unique","union","intersection","difference","unzip","transpose","zip","chunk","isCallable","tryToString","argument","isConstructor","wellKnownSymbol","definePropertyModule","UNSCOPABLES","ArrayPrototype","configurable","unicode","isPrototypeOf","it","Prototype","fails","isExtensible","NAME","Constructor","NATIVE_ARRAY_BUFFER","DESCRIPTORS","hasOwn","classof","createNonEnumerableProperty","redefine","setPrototypeOf","uid","Int8ArrayPrototype","Uint8ClampedArray","Uint8ClampedArrayPrototype","TypedArray","TypedArrayPrototype","ObjectPrototype","TO_STRING_TAG","TYPED_ARRAY_TAG","TYPED_ARRAY_CONSTRUCTOR","NATIVE_ARRAY_BUFFER_VIEWS","opera","TYPED_ARRAY_TAG_REQUIRED","TypedArrayConstructorsList","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigIntArrayConstructorsList","BigInt64Array","BigUint64Array","klass","aTypedArray","aTypedArrayConstructor","exportTypedArrayMethod","KEY","forced","ARRAY","TypedArrayConstructor","error2","exportTypedArrayStaticMethod","uncurryThis","FunctionName","redefineAll","anInstance","toIntegerOrInfinity","toLength","toIndex","IEEE754","getOwnPropertyNames","arrayFill","arraySlice","setToStringTag","InternalStateModule","PROPER_FUNCTION_NAME","PROPER","CONFIGURABLE_FUNCTION_NAME","CONFIGURABLE","getInternalState","setInternalState","ARRAY_BUFFER","WRONG_INDEX","NativeArrayBuffer","$ArrayBuffer","ArrayBufferPrototype","$DataView","DataViewPrototype","RangeError","fill","packIEEE754","pack","unpackIEEE754","unpack","packInt8","number","packInt16","packInt32","unpackInt32","packFloat32","packFloat64","addGetter","view","isLittleEndian","intIndex","store","byteLength","conversion","INCORRECT_ARRAY_BUFFER_NAME","NaN","testView","$setInt8","setInt8","setUint8","unsafe","bufferLength","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","toObject","toAbsoluteIndex","lengthOfArrayLike","copyWithin","len","to","from","inc","argumentsLength","endPos","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","callWithSafeIterationClosing","isArrayIteratorMethod","createProperty","getIterator","getIteratorMethod","arrayLike","IS_CONSTRUCTOR","mapfn","mapping","iterator","next","iteratorMethod","done","toIndexedObject","createMethod","IS_INCLUDES","$this","fromIndex","IndexedObject","arraySpeciesCreate","TYPE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","specificCreate","boundFunction","filterReject","$lastIndexOf","NEGATIVE_ZERO","FORCED","searchElement","V8_VERSION","SPECIES","METHOD_NAME","foo","aCallable","IS_RIGHT","fin","mergeSort","comparefn","middle","insertionSort","merge","llength","rlength","lindex","rindex","originalArray","arraySpeciesConstructor","itoc","ctoi","anObject","iteratorClose","ENTRIES","ITERATOR","SAFE_CLOSING","iteratorWithReturn","SKIP_CLOSING","ITERATION_SUPPORT","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","CORRECT_ARGUMENTS","tag","tryGet","callee","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","iterate","defineIterator","setSpecies","fastKey","internalStateGetterFor","getterFor","getConstructor","wrapper","CONSTRUCTOR_NAME","ADDER","iterable","AS_ENTRIES","previous","getEntry","removed","prev","setStrong","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","iterated","getWeakData","ArrayIterationModule","uncaughtFrozenStore","frozen","UncaughtFrozenStore","entries","findUncaughtFrozen","isForced","InternalMetadataModule","checkCorrectnessOfIteration","inheritIfRequired","common","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","uncurriedNativeMethod","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","getOwnPropertyDescriptorModule","exceptions","MATCH","regexp","error1","requireObjectCoercible","quot","attribute","p1","IteratorPrototype","createPropertyDescriptor","Iterators","returnThis","IteratorConstructor","ENUMERABLE_NEXT","bitmap","writable","toPropertyKey","propertyKey","padStart","DatePrototype","n$DateToISOString","getUTCDate","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","date","year","milliseconds","sign","ordinaryToPrimitive","IS_PURE","createIteratorConstructor","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","Iterable","DEFAULT","IS_SET","CurrentIteratorPrototype","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","proto","wrappedWellKnownSymbolModule","EXISTS","IndexSizeError","DOMStringSizeError","HierarchyRequestError","WrongDocumentError","InvalidCharacterError","NoDataAllowedError","NoModificationAllowedError","NotFoundError","NotSupportedError","InUseAttributeError","InvalidStateError","InvalidModificationError","NamespaceError","InvalidAccessError","ValidationError","TypeMismatchError","SecurityError","NetworkError","AbortError","URLMismatchError","QuotaExceededError","TimeoutError","InvalidNodeTypeError","DataCloneError","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","documentCreateElement","DOMTokenListPrototype","firefox","UA","Pebble","process","getBuiltIn","Deno","versions","v8","webkit","normalizeStringArgument","nativeErrorToString","INCORRECT_TO_STRING","setGlobal","copyConstructorProperties","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","noTargetGet","sham","regexpExec","RegExpPrototype","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","flags","uncurriedNativeRegExpMethod","nativeMethod","arg2","forceStringMethod","$exec","flattenIntoArray","original","sourceLen","depth","mapper","thisArg","elementLen","targetIndex","mapFn","preventExtensions","NATIVE_BIND","FunctionPrototype","factories","construct","argsLength","partArgs","getDescriptor","aFunction","namespace","getMethod","usingIterator","func","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","matched","captures","namedCaptures","replacement","tailPos","symbols","ch","capture","check","globalThis","LN2","mantissaLength","exponent","mantissa","exponentLength","eMax","eBias","nBits","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","cause","hiddenKeys","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","onFreeze","NATIVE_WEAK_MAP","shared","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","wmget","wmhas","wmset","facade","STATE","enforce","constructorRegExp","isConstructorModern","isConstructorLegacy","feature","detection","normalize","POLYFILL","NATIVE","isInteger","USE_SYMBOL_AS_UID","$Symbol","Result","stopped","ResultPrototype","unboundFunction","iterFn","IS_ITERATOR","INTERRUPTED","condition","callFn","innerResult","PrototypeOfArrayIteratorPrototype","arrayIterator","$expm1","expm1","exp","EPSILON","EPSILON32","MAX32","MIN32","fround","$abs","$sign","LOG10E","log10","log1p","notify","macrotask","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","IS_NODE","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","queueMicrotask","exit","enter","nextTick","characterData","task","getOwnPropertySymbols","symbol","URL","searchParams","pathname","href","URLSearchParams","hash","PromiseCapability","$$resolve","$$reject","$default","globalIsFinite","whitespaces","n$ParseFloat","trimmedString","$parseInt","hex","radix","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","$assign","alphabet","chr","activeXDocument","definePropertiesModule","enumBugKeys","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","temp","parentWindow","NullProtoObject","iframeDocument","iframe","contentWindow","Properties","V8_PROTOTYPE_DEFINE_BUG","props","IE8_DOM_DEFINE","$defineProperty","$getOwnPropertyDescriptor","Attributes","$getOwnPropertyNames","windowNames","getWindowNames","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","$propertyIsEnumerable","NASHORN_BUG","WEBKIT","__defineSetter__","aPossiblePrototype","setter","CORRECT_SETTER","TO_ENTRIES","newPromiseCapability","promiseCapability","Queue","enforceInternalState","TEMPLATE","simple","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","sticky","charsAdded","strCopy","multiline","ignoreCase","dotAll","$RegExp","MISSED_STICKY","TAG","SHARED","copyright","license","aConstructor","defaultConstructor","CONVERT_TO_STRING","codeAt","$repeat","repeat","IS_END","maxLength","fillString","fillLen","stringFiller","intMaxLength","stringLength","fillStr","maxInt","regexNonASCII","regexSeparators","OVERFLOW_ERROR","fromCharCode","digitToBasic","digit","adapt","delta","numPoints","firstTime","baseMinusTMin","base","encode","output","counter","extra","ucs2decode","currentValue","inputLength","bias","basicLength","handledCPCount","handledCPCountPlusOne","qMinusT","baseMinusT","encoded","labels","whitespace","ltrim","rtrim","channel","port","validateArgumentsLength","setImmediate","clearImmediate","Dispatch","MessageChannel","queue","run","runner","post","postMessage","handler","port2","port1","importScripts","toPositiveInteger","BYTES","TO_PRIMITIVE","exoticToPrim","toPrimitive","TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS","ArrayBufferViewCore","ArrayBufferModule","isIntegralNumber","toOffset","typedArrayFrom","nativeDefineProperty","nativeGetOwnPropertyDescriptor","BYTES_PER_ELEMENT","WRONG_LENGTH","fromList","isTypedArrayIndex","wrappedGetOwnPropertyDescriptor","wrappedDefineProperty","CLAMPED","GETTER","SETTER","NativeTypedArrayConstructor","TypedArrayConstructorPrototype","addElement","getter","typedArrayOffset","$length","$len","arrayFromConstructorAndList","typedArraySpeciesConstructor","speciesConstructor","postfix","NATIVE_SYMBOL","passed","required","WellKnownSymbolsStore","symbolFor","createWellKnownSymbol","withoutSetter","installErrorCause","clearErrorStack","ERROR_STACK_INSTALLABLE","FULL_NAME","IS_AGGREGATE_ERROR","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","wrapErrorConstructorWithCause","AGGREGATE_ERROR","$AggregateError","AggregateError","isInstance","AggregateErrorPrototype","errorsArray","arrayBufferModule","un$ArrayBufferSlice","viewSource","viewTarget","addToUnscopables","at","relativeIndex","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","MAXIMUM_ALLOWED_INDEX_EXCEEDED","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","isConcatSpreadable","spreadable","arg","$every","$filter","$findIndex","FIND_INDEX","SKIPS_HOLES","$find","FIND","flatMap","flat","depthArg","$includes","$IndexOf","un$IndexOf","ARRAY_ITERATOR","Arguments","un$Join","ES3_STRINGS","separator","$map","of","$reduceRight","CHROME_VERSION","$reduce","un$Reverse","un$Slice","HAS_SPECIES_SUPPORT","$some","internalSort","FF","IE_OR_EDGE","V8","un$Sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","itemsLength","items","arrayLength","getSortCompare","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","deleteCount","insertCount","actualDeleteCount","actualStart","getYear","getFullYear","setFullYear","setYear","yi","toGMTString","toUTCString","pv","dateToPrimitive","INVALID_DATE","un$DateToString","WebAssembly","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","WEB_ASSEMBLY","errorToString","ErrorPrototype","numberToString","HAS_INSTANCE","FUNCTION_NAME_EXISTS","nameRE","regExpExec","$stringify","tester","low","hi","fix","replacer","space","collection","$acosh","acosh","sqrt","MAX_VALUE","$asinh","asinh","$atanh","atanh","cbrt","LOG2E","clz32","$cosh","cosh","$hypot","hypot","value1","value2","sum","aLen","larg","$imul","imul","UINT16","xl","yl","log2","sinh","tanh","trunc","thisNumberValue","NUMBER","NativeNumber","NumberPrototype","toNumeric","primValue","toNumber","third","maxCode","digits","NumberWrapper","isSafeInteger","MIN_SAFE_INTEGER","un$ToExponential","toExponential","ROUNDS_PROPERLY","THROWS_ON_INFINITY_FRACTION","PROPER_NON_FINITE_THIS_CHECK","fractionDigits","un$ToFixed","acc","multiply","c2","divide","dataToString","fractDigits","x2","un$ToPrecision","toPrecision","precision","__defineGetter__","$entries","$freeze","freeze","fromEntries","getOwnPropertyDescriptors","nativeGetPrototypeOf","$isFrozen","isFrozen","$isSealed","isSealed","nativeKeys","__lookupGetter__","__lookupSetter__","$preventExtensions","$seal","seal","$values","$parseFloat","newPromiseCapabilityModule","perform","allSettled","capability","promiseResolve","alreadyCalled","reason","PROMISE_ANY_ERROR","alreadyResolved","alreadyRejected","NativePromise","real","onFinally","Internal","OwnPromiseCapability","PromiseWrapper","nativeThen","microtask","hostReportErrors","IS_BROWSER","PROMISE","getInternalPromiseState","NativePromisePrototype","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","dispatchEvent","NATIVE_REJECTION_EVENT","PromiseRejectionEvent","UNHANDLED_REJECTION","SUBCLASSING","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","INCORRECT_ITERATION","isThenable","callReaction","reaction","exited","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","initEvent","isUnhandled","unwrap","internalReject","internalResolve","executor","onFulfilled","onRejected","$promiseResolve","race","functionApply","thisArgument","argumentsList","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","Target","newTarget","$args","deleteProperty","objectGetPrototypeOf","isDataDescriptor","objectPreventExtensions","objectSetPrototypeOf","existingDescriptor","ownDescriptor","regExpFlags","NativeRegExp","getFlags","stringIndexOf","IS_NCG","CORRECT_NEW","RegExpWrapper","pattern","rawFlags","handled","thisIsRegExp","patternIsRegExp","flagsAreUndefined","rawPattern","named","brackets","ncg","groupid","groupname","handleNCG","handleDotAll","proxy","objectDefinePropertyModule","un$Test","$toString","TO_STRING","n$ToString","NOT_GENERIC","INCORRECT_NAME","rf","createHTML","forcedStringHTMLMethod","big","blink","bold","codePointAt","notARegExp","correctIsRegExpLogic","un$EndsWith","endsWith","CORRECT_IS_REGEXP_LOGIC","searchString","endPosition","fixed","fontcolor","fontsize","$fromCodePoint","fromCodePoint","italics","STRING_ITERATOR","point","link","advanceStringIndex","MATCH_ALL","REGEXP_STRING_ITERATOR","REGEXP_STRING","un$MatchAll","matchAll","WORKS_WITH_NON_GLOBAL_REGEX","$RegExpStringIterator","$global","fullUnicode","$matchAll","flagsValue","rx","fixRegExpWellKnownSymbolLogic","nativeMatch","maybeCallNative","matchStr","$padEnd","padEnd","$padStart","rawTemplate","literalSegments","getSubstitution","REPLACE","searchValue","replaceAll","replaceValue","IS_REG_EXP","functionalReplace","searchLength","advanceBy","endOfLastMatch","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","UNSAFE_SUBSTITUTE","results","accumulatedResult","nextSourcePosition","replacerArgs","sameValue","SEARCH","nativeSearch","searcher","previousLastIndex","small","callRegExpExec","MAX_UINT32","$push","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SPLIT","nativeSplit","internalSplit","limit","lim","lastLength","lastLastIndex","separatorCopy","splitter","unicodeMatching","un$StartsWith","startsWith","strike","sub","intLength","intEnd","intStart","sup","$trimEnd","forcedStringTrimMethod","trimEnd","trimRight","$trimStart","trimStart","trimLeft","$trim","defineWellKnownSymbol","NativeSymbol","SymbolPrototype","EmptyStringDescriptionStore","SymbolWrapper","symbolToString","symbolValueOf","nativeObjectCreate","getOwnPropertyNamesExternal","HIDDEN","QObject","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","StringToSymbolRegistry","SymbolToStringRegistry","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","$getOwnPropertySymbols","IS_OBJECT_PROTOTYPE","keyFor","sym","useSetter","useSimple","$replacer","u$ArrayCopyWithin","$fill","fromSpeciesAndList","predicate","createTypedArrayConstructor","$indexOf","ArrayIterators","arrayValues","arrayKeys","arrayEntries","GENERIC","ITERATOR_IS_VALUES","typedArrayValues","$join","$set","WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS","TO_OBJECT_BUG","ACCEPT_INCORRECT_ARGUMENTS","mod","expected","begin","beginIndex","$toLocaleString","toLocaleString","TO_LOCALE_STRING_BUG","Uint8ArrayPrototype","arrayToString","IS_NOT_ARRAY_METHOD","hex2","hex4","part","InternalWeakMap","collectionWeak","IS_IE11","$WeakMap","WeakMapPrototype","nativeDelete","nativeHas","nativeGet","nativeSet","disallowed","finalEq","$atob","NO_SPACES_IGNORE","atob","NO_ARG_RECEIVING_CHECK","bs","bc","$btoa","btoa","block","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","tryNodeRequire","DOMExceptionConstants","DOM_EXCEPTION","NativeDOMException","NativeDOMExceptionPrototype","HAS_STACK","codeFor","$DOMException","DOMExceptionPrototype","createGetterDescriptor","INCORRECT_CONSTRUCTOR","INCORRECT_CODE","MISSED_CONSTANTS","FORCED_CONSTRUCTOR","PolyfilledDOMException","PolyfilledDOMExceptionPrototype","constantName","ERROR_HAS_STACK","DOM_EXCEPTION_HAS_STACK","structuredCloneImplementation","getBuiltin","EvalError","ReferenceError","URIError","PerformanceMark","CompileError","LinkError","RuntimeError","Set","MapPrototype","mapHas","mapGet","mapSet","setAdd","booleanValueOf","numberValueOf","stringValueOf","PERFORMANCE_MARK","DATA_CLONE_ERROR","TRANSFERRING","checkBasicSemantic","set1","set2","nativeStructuredClone","structuredClone","FORCED_REPLACEMENT","structuredCloneFromMark","nativeRestrictedStructuredClone","throwUncloneable","throwUnpolyfillable","structuredCloneInternal","cloned","dataTransfer","deep","DOMQuad","p2","p3","p4","DataTransfer","files","ImageData","colorSpace","fromPoint","fromRect","fromMatrix","File","PROPER_TRANSFER","transfer","tryToTransfer","rawTransfer","transferredArray","transferred","canvas","OffscreenCanvas","getContext","transferFromImageBitmap","transferToImageBitmap","MSIE","scheduler","boundArgs","USE_NATIVE_URL","arraySort","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","n$Fetch","N$Request","Headers","RequestPrototype","HeadersPrototype","plus","sequences","percentSequence","percentDecode","replacements","URLSearchParamsIterator","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","getAll","found","headersHas","headersSet","wrapRequestOptions","headers","RequestConstructor","Request","EOF","arrayFrom","toASCII","URLSearchParamsModule","getInternalURLState","getInternalSearchParamsState","NativeURL","INVALID_SCHEME","INVALID_HOST","INVALID_PORT","ALPHA","ALPHANUMERIC","DIGIT","HEX_START","OCT","DEC","HEX","FORBIDDEN_HOST_CODE_POINT","FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT","LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE","TAB_AND_NEW_LINE","serializeHost","compress","ignore0","ipv6","maxIndex","currStart","currLength","findLongestZeroSequence","C0ControlPercentEncodeSet","fragmentPercentEncodeSet","pathPercentEncodeSet","userinfoPercentEncodeSet","percentEncode","specialSchemes","ftp","http","https","wss","isWindowsDriveLetter","normalized","startsWithWindowsDriveLetter","isSingleDot","segment","SCHEME_START","SCHEME","NO_SCHEME","SPECIAL_RELATIVE_OR_AUTHORITY","PATH_OR_AUTHORITY","RELATIVE","RELATIVE_SLASH","SPECIAL_AUTHORITY_SLASHES","SPECIAL_AUTHORITY_IGNORE_SLASHES","AUTHORITY","HOST","HOSTNAME","PORT","FILE","FILE_SLASH","FILE_HOST","PATH_START","PATH","CANNOT_BE_A_BASE_URL_PATH","QUERY","FRAGMENT","URLState","isBase","baseState","failure","urlString","stateOverride","codePoints","bufferCodePoints","pointer","seenAt","seenBracket","seenPasswordToken","scheme","password","fragment","cannotBeABaseURL","isSpecial","includesCredentials","codePoint","encodedCodePoints","parseHost","shortenPath","numbersSeen","ipv4Piece","swaps","swap","address","pieceIndex","parseIPv6","partsLength","numbers","ipv4","parts","parseIPv4","cannotHaveUsernamePasswordPort","pathSize","setHref","getOrigin","URLConstructor","origin","getProtocol","setProtocol","getUsername","setUsername","getPassword","setPassword","getHost","setHost","getHostname","setHostname","hostname","getPort","setPort","getPathname","setPathname","getSearch","setSearch","getSearchParams","getHash","setHash","URLPrototype","accessorDescriptor","nativeCreateObjectURL","createObjectURL","nativeRevokeObjectURL","revokeObjectURL","___CSS_LOADER_URL_IMPORT_0___","___CSS_LOADER_URL_IMPORT_1___","___CSS_LOADER_URL_IMPORT_2___","___CSS_LOADER_EXPORT___","___CSS_LOADER_URL_REPLACEMENT_0___","___CSS_LOADER_URL_REPLACEMENT_1___","___CSS_LOADER_URL_REPLACEMENT_2___","cssWithMappingToString","needLayer","modules","media","dedupe","supports","layer","alreadyImportedModules","_k","__esModule","needQuotes","cssMapping","base64","sourceMapping","sourceURLs","sourceRoot","stylesInDOM","getIndexByIdentifier","identifier","modulesToDom","idCountMap","identifiers","indexByIdentifier","sourceMap","references","updater","addElementStyle","byIndex","newObj","lastIdentifiers","newList","newLastIdentifiers","_i","styleTarget","HTMLIFrameElement","contentDocument","getTarget","styleElement","nonce","removeStyleElement","Blob","viewClasses","isArrayBufferView","normalizeName","normalizeValue","iteratorFor","header","consumed","bodyUsed","fileReaderReady","reader","readBlobAsArrayBuffer","blob","FileReader","readAsArrayBuffer","bufferClone","buf","Body","_initBody","_bodyInit","_bodyText","_bodyBlob","FormData","_bodyFormData","_bodyArrayBuffer","rejected","arrayBuffer","readAsText","chars","readArrayBufferAsText","formData","json","oldValue","upcased","credentials","signal","referrer","reParamSearch","form","Response","bodyInit","redirectStatuses","redirect","err","aborted","abortXhr","abort","rawHeaders","getAllResponseHeaders","responseURL","ontimeout","onabort","fixUrl","responseType","setRequestHeader","polyfill","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","definition","baseURI","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file