/*******************************************************************************
 * This source code is the proprietary property of Bitmovin, Inc. Unauthorized
 * copying, distribution, or use of this code, or any portion thereof, is
 * strictly prohibited. © 2026 Bitmovin, Inc. All rights reserved. This
 * source code is subject to the terms and conditions of the accompanying
 * license agreement.
 *
 * Bitmovin Player X Version 10.2.0-beta.12
 *******************************************************************************/
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["dash-parsing"]=r():(e.bitmovin=e.bitmovin||{},e.bitmovin.playerx=e.bitmovin.playerx||{},e.bitmovin.playerx["dash-parsing"]=r())}(self,(()=>(()=>{"use strict";var e={97085:(e,r)=>{function a(e,r,a){const s=r;return s._name=e,{onAdd:s,dependencies:a}}Object.defineProperty(r,"__esModule",{value:!0}),r.createPackage=void 0,r.createPackage=a},91270:(e,r)=>{function a(e,r){const a=r;return a._name=e,a}function s(e){return(...r)=>{const[s,o]=e(...r);return a(s,o)}}function o(e){var r;return null!==(r=e._name)&&void 0!==r?r:e.name}Object.defineProperty(r,"__esModule",{value:!0}),r.getTaskName=r.createTaskClosure=r.createTask=void 0,r.createTask=a,r.createTaskClosure=s,r.getTaskName=o},78246:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.FrameworkError=void 0;class a extends Error{constructor(e){super(e),this.name="FrameworkError"}}r.FrameworkError=a},11137:(e,r,a)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.DashParsingPackage=void 0;const s=a(97085),o=a(65117),t=a(41445),n=a(77704);r.DashParsingPackage=(0,s.createPackage)("DashParsingPackage",((e,r)=>{r.registry.maybeSet(n.DashParsingExportNames.ParsingTask,o.DashParsingTask),r.registry.maybeSet(n.DashParsingExportNames.Errors,{DashParsingError:t.DashParsingError})}),[]),r.default=r.DashParsingPackage},65117:(e,r,a)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.DashParsingTask=void 0;const s=a(91270),o=a(77704);r.DashParsingTask=(0,s.createTask)(o.DashParsingExportNames.ParsingTask,((e,r)=>(new DOMParser).parseFromString(e,"application/xml")))},41445:(e,r,a)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.DashParsingError=void 0;const s=a(78246);class o extends s.FrameworkError{constructor(e){super(e)}}r.DashParsingError=o},77704:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.DashParsingExportNames=void 0,function(e){e.ParsingTask="dash-parsing-task",e.Errors="dash-parsing-errors"}(r.DashParsingExportNames||(r.DashParsingExportNames={}))}},r={};function a(s){var o=r[s];if(void 0!==o)return o.exports;var t=r[s]={exports:{}};return e[s](t,t.exports,a),t.exports}return a(11137)})()));