@mibmo/jellyfin-tizen 10.11.4 → 10.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/tizen-adapter.js +1 -1
  3. package/www/12011.da8ef78a097e995f6a54.chunk.js +1 -0
  4. package/www/24468.0965909e13c9a8e197d0.chunk.js +1 -0
  5. package/www/32721.7df69cb5f2d12904581b.chunk.js +2 -0
  6. package/www/{38122.c2d024b452ef9603b24b.chunk.js → 38122.5484b7a8e84127a41eab.chunk.js} +1 -1
  7. package/www/{44599.02f9e6e763d7854b5e82.chunk.js → 44599.b42aefaa4c79d0e2b43b.chunk.js} +1 -1
  8. package/www/{6496.106e03ed2cb3c2498e7b.chunk.js → 6496.a2625db83f5e6116653d.chunk.js} +1 -1
  9. package/www/68603.927deb4f3fa3d339662d.chunk.js +1 -0
  10. package/www/{70538.23ea077c9a932337681d.chunk.js → 70538.d6c399619eb76106c279.chunk.js} +2 -2
  11. package/www/81954.300ea98bc9f7b1557160.chunk.js +1 -0
  12. package/www/8575.9930ac44b80fc0c13f36.chunk.js +1 -0
  13. package/www/99883.9ffc7cabe8574ec089b7.chunk.js +1 -0
  14. package/www/assets/img/devices/firetv.svg +1 -0
  15. package/www/devices.01bfe1e86e6bdfcde095.chunk.js +1 -0
  16. package/www/index.2619e1ebaee8f0dd41ff.chunk.js +1 -0
  17. package/www/index.html +1 -1
  18. package/www/libraries.38e69a6fc429a33d86f9.chunk.js +1 -0
  19. package/www/library.6e684507234df3a63964.chunk.js +1 -0
  20. package/www/lyrics.c31f5e5752833ba34655.chunk.js +1 -0
  21. package/www/{main.jellyfin.28c121270fe02d9f8014.css → main.jellyfin.7eaf27d20464cbe82c37.css} +2 -2
  22. package/www/main.jellyfin.bundle.js +1 -1
  23. package/www/playback-video.643576d4f0393b6775e4.chunk.js +2 -0
  24. package/www/plugins.56e584230d162132aeb5.chunk.js +1 -0
  25. package/www/runtime.bundle.js +1 -1
  26. package/www/{session-login.c08895ee559e30dd0241.chunk.js → session-login.772912551717410a1de5.chunk.js} +2 -2
  27. package/www/{session-selectServer.d08dd2225623662430d8.chunk.js → session-selectServer.11b3f8f84ec57fe3334e.chunk.js} +1 -1
  28. package/www/12011.78b1d210ff9a6b27c9ec.chunk.js +0 -1
  29. package/www/24468.cc4786b370fe6972ab57.chunk.js +0 -1
  30. package/www/32721.1565fbee2f79c634a171.chunk.js +0 -2
  31. package/www/68603.dd143553b71a7dcbae51.chunk.js +0 -1
  32. package/www/81954.221ec67f79242f490c86.chunk.js +0 -1
  33. package/www/8575.22b3385f8c1742fe35c4.chunk.js +0 -1
  34. package/www/99883.23415867662c89aaf373.chunk.js +0 -1
  35. package/www/devices.77000b3a9001dd7234e5.chunk.js +0 -1
  36. package/www/index.9d491a5deddd76357735.chunk.js +0 -1
  37. package/www/libraries.4988e265e604bcb0e445.chunk.js +0 -1
  38. package/www/library.0578cfcc17ad4ce09d2b.chunk.js +0 -1
  39. package/www/lyrics.05d5ed668649f4fe72bd.chunk.js +0 -1
  40. package/www/playback-video.1bb437c4ee35983c6b77.chunk.js +0 -2
  41. package/www/plugins.79d12abe5ee75e209e7e.chunk.js +0 -1
  42. /package/www/{32721.1565fbee2f79c634a171.chunk.js.LICENSE.txt → 32721.7df69cb5f2d12904581b.chunk.js.LICENSE.txt} +0 -0
  43. /package/www/{70538.23ea077c9a932337681d.chunk.js.LICENSE.txt → 70538.d6c399619eb76106c279.chunk.js.LICENSE.txt} +0 -0
  44. /package/www/{playback-video.1bb437c4ee35983c6b77.chunk.js.LICENSE.txt → playback-video.643576d4f0393b6775e4.chunk.js.LICENSE.txt} +0 -0
  45. /package/www/{session-login.c08895ee559e30dd0241.chunk.js.LICENSE.txt → session-login.772912551717410a1de5.chunk.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! For license information please see 70538.23ea077c9a932337681d.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[70538],{70538:function(e,t,n){n.r(t),n.d(t,{default:function(){return O},show:function(){return I}}),n(29305),n(32733),n(84701),n(2623),n(44962),n(17731),n(10849),n(70389),n(36947),n(26437),n(52697),n(78557),n(90076),n(50987),n(83994),n(82367);var r,o,a,i=n(22696),l=n.n(i),u=n(81273),s=n(75384),c=n(79754),d=n(36300),f=n(8566),p=n(10838),v=n(46782),b=n(5898),y=n(67430),h='<div class="formDialogHeader"> <button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1" title="${ButtonBack}"><span class="material-icons arrow_back" aria-hidden="true"></span></button> <h3 class="formDialogHeaderTitle"> ${HeaderUploadSubtitle} </h3> </div> <div class="formDialogContent"> <div class="dialogContentInner"> <form class="uploadSubtitleForm"> <div class="flex align-items-center" style="margin:1.5em 0"> <h2 style="margin:0">${HeaderAddUpdateSubtitle}</h2> <button is="emby-button" type="button" class="raised raised-mini btnBrowse"> <span class="material-icons folder" aria-hidden="true"></span> <span>${Browse}</span> </button> </div> <div> <div class="subtitleEditor-dropZone fieldDescription"> <div id="labelDropSubtitle">${LabelDropSubtitleHere}</div> <output id="subtitleOutput" class="flex align-items-center justify-content-center" style="position:absolute;top:0;left:0;right:0;bottom:0;width:100%"></output> <input type="file" accept=".sub,.srt,.vtt,.ass,.ssa,.mks" id="uploadSubtitle" name="uploadSubtitle" style="position:absolute;top:0;left:0;right:0;bottom:0;width:100%;opacity:0"/> </div> <div id="fldUpload" class="hide"> <br/> <div class="checkboxContainer"> <label> <input type="checkbox" is="emby-checkbox" id="chkIsForced"/> <span>${LabelIsForced}</span> </label> <label> <input type="checkbox" is="emby-checkbox" id="chkIsHearingImpaired"/> <span>${LabelIsHearingImpaired}</span> </label> </div> <div class="selectContainer flex-grow"> <select is="emby-select" id="selectLanguage" required="required" label="${LabelLanguage}"></select> </div> <button is="emby-button" type="submit" class="raised button-submit block"> <span>${Upload}</span> </button> </div> </div> </form> </div> </div> ',m=n(71866),g=(n(10353),n(63001),n(76562));function S(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var u=r&&r.prototype instanceof l?r:l,s=Object.create(u.prototype);return w(s,"_invoke",function(n,r,o){var a,l,u,s=0,c=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,u=e,f.n=n,i}};function p(n,r){for(l=n,u=r,t=0;!d&&s&&!o&&t<c.length;t++){var o,a=c[t],p=f.p,v=a[2];n>3?(o=v===r)&&(u=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<v&&(o=n<3||a[0]>r||r>v)&&(a[4]=n,a[5]=r,f.n=v,l=0))}if(o||n>1)return i;throw d=!0,r}return function(o,c,v){if(s>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),l=c,u=v;(t=l<2?e:u)||!d;){a||(l?l<3?(l>1&&(f.n=-1),p(l,u)):f.n=u:f.v=u);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(d=f.n<0)?u:n.call(r,f))!==i)break}catch(t){a=e,l=1,u=t}finally{s=1}}return{value:t,done:d}}}(n,o,a),!0),s}var i={};function l(){}function u(){}function s(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(w(t={},r,(function(){return this})),t),d=s.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,w(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return u.prototype=s,w(d,"constructor",s),w(s,"constructor",u),u.displayName="GeneratorFunction",w(s,o,"GeneratorFunction"),w(d),w(d,o,"Generator"),w(d,r,(function(){return this})),w(d,"toString",(function(){return"[object Generator]"})),(S=function(){return{w:a,m:f}})()}function w(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}w=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var a=function(t,n){w(e,t,(function(e){return this._invoke(t,n,e)}))};a("next",0),a("throw",1),a("return",2)}},w(e,t,n,r)}function L(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}var k=!1;function A(e){f.Ay.hide();var t=e.target.error;t.code!==t.ABORT_ERR&&(0,m.A)(b.Ay.translate("MessageFileReadError"))}function F(e){return e&&[".sub",".srt",".vtt",".ass",".ssa",".mks"].some((function(t){return e.name.endsWith(t)}))}function q(e){return D.apply(this,arguments)}function D(){var e;return e=S().m((function e(t){var n,i,l,p,v,h,w,L;return S().w((function(e){for(;;)switch(e.n){case 0:if(F(n=a)){e.n=1;break}return(0,m.A)(b.Ay.translate("MessageSubtitleFileTypeAllowed")),t.preventDefault(),e.a(2);case 1:return f.Ay.show(),i=d.Ay.parentWithClass(this,"dialog"),l=i.querySelector("#selectLanguage").value,p=i.querySelector("#chkIsForced").checked,v=i.querySelector("#chkIsHearingImpaired").checked,h=(0,u.L)((0,s.C)(y.tF.getApiClient(o))),e.n=2,(0,g.We)(n);case 2:w=e.v,L=n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase(),h.uploadSubtitle({itemId:r,uploadSubtitleDto:{Data:w,Language:l,IsForced:p,Format:L,IsHearingImpaired:v}}).then((function(){i.querySelector("#uploadSubtitle").value="",f.Ay.hide(),k=!0,c.default.close(i)})),t.preventDefault();case 3:return e.a(2)}}),e,this)})),D=function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){L(a,r,o,i,l,"next",e)}function l(e){L(a,r,o,i,l,"throw",e)}i(void 0)}))},D.apply(this,arguments)}function I(e){return new Promise((function(t){k=!1,function(e,t){r=(e=e||{}).itemId,o=e.serverId;var n={removeOnClose:!0,scrollY:!1};v.A.tv?n.size="fullscreen":n.size="small";var i,u=c.default.createDialog(n);u.classList.add("formDialog"),u.classList.add("subtitleUploaderDialog"),u.innerHTML=b.Ay.translateHtml(h,"core"),v.A.tv&&p.default.centerFocus.on(u,!1),u.addEventListener("close",(function(){v.A.tv&&p.default.centerFocus.off(u,!1),f.Ay.hide(),t(k)})),c.default.open(u),(i=u).querySelector(".uploadSubtitleForm").addEventListener("submit",q),i.querySelector("#uploadSubtitle").addEventListener("change",(function(){!function(e,t){var n=t[0];if(!F(n))return e.querySelector("#subtitleOutput").innerHTML="",e.querySelector("#fldUpload").classList.add("hide"),e.querySelector("#labelDropSubtitle").classList.remove("hide"),void(a=null);a=n;var r,o=new FileReader;o.onerror=A,o.onloadstart=function(){e.querySelector("#fldUpload").classList.add("hide")},o.onabort=function(){f.Ay.hide(),console.debug("File read cancelled")},o.onload=(r=n,function(){var t='<div><span class="material-icons subtitles" aria-hidden="true" style="transform: translateY(25%);"></span><span>'.concat(l()(r.name),"</span></div>");e.querySelector("#subtitleOutput").innerHTML=t,e.querySelector("#fldUpload").classList.remove("hide"),e.querySelector("#labelDropSubtitle").classList.add("hide")}),o.readAsDataURL(n)}(i,this.files)})),i.querySelector(".btnBrowse").addEventListener("click",(function(){i.querySelector("#uploadSubtitle").click()}));var s=u.querySelector("#selectLanguage");e.languages&&(s.innerHTML=e.languages.list||null,s.value=e.languages.value||null),u.querySelector(".btnCancel").addEventListener("click",(function(){c.default.close(u)}))}(e,t)}))}var O={show:I}},76562:function(e,t,n){function r(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(e){var n,r,o,a=null===(o=null===(r=null===(n=e.target)||void 0===n?void 0:n.result)||void 0===r?void 0:r.split)||void 0===o?void 0:o.call(r,",")[1];t(a)},r.onerror=n,r.readAsDataURL(e)}))}function o(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(e){var n,r=null===(n=e.target)||void 0===n?void 0:n.result;t(r)},r.onerror=n,r.readAsText(e)}))}function a(e,t){void 0===t&&(t=1);var n=Math.log(e)/Math.log(1024)|0;return(e/Math.pow(1024,n)).toFixed(t)+" "+(n?"KMGTPEZY"[--n]+"iB":"Bytes")}n.d(t,{Qv:function(){return o},We:function(){return r},iJ:function(){return a}})}}]);
1
+ /*! For license information please see 70538.d6c399619eb76106c279.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[70538],{70538:function(e,t,n){n.r(t),n.d(t,{default:function(){return O},show:function(){return D}}),n(29305),n(32733),n(84701),n(2623),n(44962),n(17731),n(10849),n(70389),n(36947),n(26437),n(52697),n(78557),n(90076),n(50987),n(83994),n(82367);var r,o,a,i=n(22696),l=n.n(i),u=n(81273),s=n(75384),c=n(79754),d=n(36300),f=n(8566),p=n(10838),b=n(46782),v=n(5898),y=n(67430),h='<div class="formDialogHeader"> <button is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1" title="${ButtonBack}"><span class="material-icons arrow_back" aria-hidden="true"></span></button> <h3 class="formDialogHeaderTitle"> ${HeaderUploadSubtitle} </h3> </div> <div class="formDialogContent"> <div class="dialogContentInner"> <form class="uploadSubtitleForm"> <div class="flex align-items-center" style="margin:1.5em 0"> <h2 style="margin:0">${HeaderAddUpdateSubtitle}</h2> <button is="emby-button" type="button" class="raised raised-mini btnBrowse"> <span class="material-icons folder" aria-hidden="true"></span> <span>${Browse}</span> </button> </div> <div> <div class="subtitleEditor-dropZone fieldDescription"> <div id="labelDropSubtitle">${LabelDropSubtitleHere}</div> <output id="subtitleOutput" class="flex align-items-center justify-content-center" style="position:absolute;top:0;left:0;right:0;bottom:0;width:100%"></output> <input type="file" accept=".sub,.srt,.vtt,.ass,.ssa,.mks" id="uploadSubtitle" name="uploadSubtitle" style="position:absolute;top:0;left:0;right:0;bottom:0;width:100%;opacity:0"/> </div> <div id="fldUpload" class="hide"> <br/> <div class="checkboxContainer"> <label> <input type="checkbox" is="emby-checkbox" id="chkIsForced"/> <span>${LabelIsForced}</span> </label> <label> <input type="checkbox" is="emby-checkbox" id="chkIsHearingImpaired"/> <span>${LabelIsHearingImpaired}</span> </label> </div> <div class="selectContainer flex-grow"> <select is="emby-select" id="selectLanguage" required="required" label="${LabelLanguage}"></select> </div> <button is="emby-button" type="submit" class="raised button-submit block"> <span>${Upload}</span> </button> </div> </div> </form> </div> </div> ',m=n(71866),g=(n(10353),n(63001),n(76562));function S(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var u=r&&r.prototype instanceof l?r:l,s=Object.create(u.prototype);return w(s,"_invoke",function(n,r,o){var a,l,u,s=0,c=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,l=0,u=e,f.n=n,i}};function p(n,r){for(l=n,u=r,t=0;!d&&s&&!o&&t<c.length;t++){var o,a=c[t],p=f.p,b=a[2];n>3?(o=b===r)&&(u=a[(l=a[4])?5:(l=3,3)],a[4]=a[5]=e):a[0]<=p&&((o=n<2&&p<a[1])?(l=0,f.v=r,f.n=a[1]):p<b&&(o=n<3||a[0]>r||r>b)&&(a[4]=n,a[5]=r,f.n=b,l=0))}if(o||n>1)return i;throw d=!0,r}return function(o,c,b){if(s>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,b),l=c,u=b;(t=l<2?e:u)||!d;){a||(l?l<3?(l>1&&(f.n=-1),p(l,u)):f.n=u:f.v=u);try{if(s=2,a){if(l||(o="next"),t=a[o]){if(!(t=t.call(a,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,l<2&&(l=0)}else 1===l&&(t=a.return)&&t.call(a),l<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),l=1);a=e}else if((t=(d=f.n<0)?u:n.call(r,f))!==i)break}catch(t){a=e,l=1,u=t}finally{s=1}}return{value:t,done:d}}}(n,o,a),!0),s}var i={};function l(){}function u(){}function s(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(w(t={},r,(function(){return this})),t),d=s.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,w(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return u.prototype=s,w(d,"constructor",s),w(s,"constructor",u),u.displayName="GeneratorFunction",w(s,o,"GeneratorFunction"),w(d),w(d,o,"Generator"),w(d,r,(function(){return this})),w(d,"toString",(function(){return"[object Generator]"})),(S=function(){return{w:a,m:f}})()}function w(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}w=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var a=function(t,n){w(e,t,(function(e){return this._invoke(t,n,e)}))};a("next",0),a("throw",1),a("return",2)}},w(e,t,n,r)}function L(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}var k=!1;function A(e){f.Ay.hide();var t=e.target.error;t.code!==t.ABORT_ERR&&(0,m.A)(v.Ay.translate("MessageFileReadError"))}function F(e){return e&&[".sub",".srt",".vtt",".ass",".ssa",".mks"].some((function(t){return e.name.endsWith(t)}))}function q(e){return I.apply(this,arguments)}function I(){var e;return e=S().m((function e(t){var n,i,l,p,b,h,w,L;return S().w((function(e){for(;;)switch(e.n){case 0:if(t.preventDefault(),F(n=a)){e.n=1;break}return(0,m.A)(v.Ay.translate("MessageSubtitleFileTypeAllowed")),e.a(2);case 1:return f.Ay.show(),i=d.Ay.parentWithClass(this,"dialog"),l=i.querySelector("#selectLanguage").value,p=i.querySelector("#chkIsForced").checked,b=i.querySelector("#chkIsHearingImpaired").checked,h=(0,u.L)((0,s.C)(y.tF.getApiClient(o))),e.n=2,(0,g.We)(n);case 2:w=e.v,L=n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase(),h.uploadSubtitle({itemId:r,uploadSubtitleDto:{Data:w,Language:l,IsForced:p,Format:L,IsHearingImpaired:b}}).then((function(){i.querySelector("#uploadSubtitle").value="",f.Ay.hide(),k=!0,c.default.close(i)}));case 3:return e.a(2)}}),e,this)})),I=function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){L(a,r,o,i,l,"next",e)}function l(e){L(a,r,o,i,l,"throw",e)}i(void 0)}))},I.apply(this,arguments)}function D(e){return new Promise((function(t){k=!1,function(e,t){r=(e=e||{}).itemId,o=e.serverId;var n={removeOnClose:!0,scrollY:!1};b.A.tv?n.size="fullscreen":n.size="small";var i,u=c.default.createDialog(n);u.classList.add("formDialog"),u.classList.add("subtitleUploaderDialog"),u.innerHTML=v.Ay.translateHtml(h,"core"),b.A.tv&&p.default.centerFocus.on(u,!1),u.addEventListener("close",(function(){b.A.tv&&p.default.centerFocus.off(u,!1),f.Ay.hide(),t(k)})),c.default.open(u),(i=u).querySelector(".uploadSubtitleForm").addEventListener("submit",q),i.querySelector("#uploadSubtitle").addEventListener("change",(function(){!function(e,t){var n=t[0];if(!F(n))return e.querySelector("#subtitleOutput").innerHTML="",e.querySelector("#fldUpload").classList.add("hide"),e.querySelector("#labelDropSubtitle").classList.remove("hide"),void(a=null);a=n;var r,o=new FileReader;o.onerror=A,o.onloadstart=function(){e.querySelector("#fldUpload").classList.add("hide")},o.onabort=function(){f.Ay.hide(),console.debug("File read cancelled")},o.onload=(r=n,function(){var t='<div><span class="material-icons subtitles" aria-hidden="true" style="transform: translateY(25%);"></span><span>'.concat(l()(r.name),"</span></div>");e.querySelector("#subtitleOutput").innerHTML=t,e.querySelector("#fldUpload").classList.remove("hide"),e.querySelector("#labelDropSubtitle").classList.add("hide")}),o.readAsDataURL(n)}(i,this.files)})),i.querySelector(".btnBrowse").addEventListener("click",(function(){i.querySelector("#uploadSubtitle").click()}));var s=u.querySelector("#selectLanguage");e.languages&&(s.innerHTML=e.languages.list||null,s.value=e.languages.value||null),u.querySelector(".btnCancel").addEventListener("click",(function(){c.default.close(u)}))}(e,t)}))}var O={show:D}},76562:function(e,t,n){function r(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(e){var n,r,o,a=null===(o=null===(r=null===(n=e.target)||void 0===n?void 0:n.result)||void 0===r?void 0:r.split)||void 0===o?void 0:o.call(r,",")[1];t(a)},r.onerror=n,r.readAsDataURL(e)}))}function o(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(e){var n,r=null===(n=e.target)||void 0===n?void 0:n.result;t(r)},r.onerror=n,r.readAsText(e)}))}function a(e,t){void 0===t&&(t=1);var n=Math.log(e)/Math.log(1024)|0;return(e/Math.pow(1024,n)).toFixed(t)+" "+(n?"KMGTPEZY"[--n]+"iB":"Bytes")}n.d(t,{Qv:function(){return o},We:function(){return r},iJ:function(){return a}})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[25091,81954],{15088:function(e,t,r){r.r(t),r.d(t,{default:function(){return A}}),r(29305),r(32733),r(84701),r(81678),r(44962),r(4754),r(94),r(36947),r(36457),r(26437),r(52697),r(78557),r(90076),r(21359),r(61642),r(83994),r(82367),r(96054),r(23630);var n=r(89166),i=r(25091),s=r(46782),o=(r(79845),r(73233));function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function c(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}function u(){var e=this.tabControllers;e&&(e.forEach((function(e){e.destroy&&e.destroy()})),this.tabControllers=null),this.view=null,this.params=null,this.currentTabController=null,this.initialTabIndex=null}var d=function(){return e=function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.tabControllers=[],this.view=t,this.params=r;var n=this,o=parseInt(r.tab||this.getDefaultTabIndex(r.parentId),10);function a(){return t.querySelectorAll(".tabContent")}function l(e){var t=parseInt(e.detail.selectedTabIndex,10),r=e.detail.previousIndex,i=null==r?null:n.tabControllers[r];null!=i&&i.onPause&&i.onPause(),function(e,t){(function(e){return n.validateTabLoad?n.validateTabLoad(e):Promise.resolve()})(e).then((function(){n.getTabController(e).then((function(r){var i=!r.refreshed;r.onResume({autoFocus:null==t&&s.A.tv,refresh:i}),r.refreshed=!0,o=e,n.currentTabController=r}))}))}(t,r)}this.initialTabIndex=o,t.addEventListener("viewbeforehide",this.onPause.bind(this)),t.addEventListener("viewbeforeshow",(function(){i.setTabs(t,o,n.getTabs,a,null,l,!1)})),t.addEventListener("viewshow",(function(e){n.onResume(e.detail)})),t.addEventListener("viewdestroy",u.bind(this))},(t=[{key:"onResume",value:function(){this.setTitle(),(0,n.gJ)();var e=this.currentTabController;e?null!=e&&e.onResume&&e.onResume({}):i.selectedTabIndex(this.initialTabIndex)}},{key:"onPause",value:function(){var e=this.currentTabController;null!=e&&e.onPause&&e.onPause()}},{key:"setTitle",value:function(){o.default.setTitle("")}}])&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),f=r(5898);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function b(e){var t=function(e){if("object"!=v(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(t)?t:t+""}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function(){return!!e})()}function y(e,t,r,n){var i=p(g(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof i?function(e){return i.apply(r,e)}:i}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},p.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}r(10353),r(41765);var w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,r){return t=g(t),function(e,t){if(t&&("object"==v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,m()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(t,e),n=t,(i=[{key:"setTitle",value:function(){o.default.setTitle(null)}},{key:"onPause",value:function(){y(t,"onPause",this,3)([this]),document.querySelector(".skinHeader").classList.remove("noHomeButtonHeader")}},{key:"onResume",value:function(e){y(t,"onResume",this,3)([this,e]),document.querySelector(".skinHeader").classList.add("noHomeButtonHeader")}},{key:"getDefaultTabIndex",value:function(){return 0}},{key:"getTabs",value:function(){return[{name:f.Ay.translate("Home")},{name:f.Ay.translate("Favorites")}]}},{key:"getTabController",value:function(e){if(null==e)throw new Error("index cannot be null");var t="";switch(e){case 0:t="hometab";break;case 1:t="favorites"}var n=this;return r(7062)("./".concat(t)).then((function(t){var r=t.default,i=n.tabControllers[e];return i||(i=new r(n.view.querySelector(".tabContent[data-index='"+e+"']"),n.params),n.tabControllers[e]=i),i}))}}])&&h(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(d),A=w},25091:function(e,t,r){r.r(t),r.d(t,{getTabsElement:function(){return h},selectedTabIndex:function(){return v},setTabs:function(){return f}}),r(44962),r(86584),r(78557),r(90076),r(83994),r(82367);var n,i,s,o=r(36300),a=r(34789),l=r(44797),c=(r(79845),r(10353),document.querySelector(".skinHeader"));function u(){this.selectedIndex(this.readySelectedIndex),this.readySelectedIndex=null}function d(e){function t(e){if(o.Ay.parentWithTag(e,"input"))return!1;var t=e.classList;return!t||!t.contains("scrollX")&&!t.contains("animatedScrollX")}for(var r=e;null!=r;){if(!t(r))return!1;r=r.parentNode}return!0}function f(e,t,o,f,v,h,b){if(i||(i=c.querySelector(".headerTabs")),!e)return n&&(document.body.classList.remove("withSectionTabs"),i.innerHTML="",i.classList.add("hide"),n=null),{tabsContainer:i,replaced:!1};var m=i;if(n||m.classList.remove("hide"),n!==e){var y=0,p='<div is="emby-tabs"'+(null==t?"":' data-index="'+t+'"')+' class="tabs-viewmenubar"><div class="emby-tabs-slider" style="white-space:nowrap;">'+o().map((function(e){var t,r="emby-tab-button";return!1===e.enabled&&(r+=" hide"),e.cssClass&&(r+=" "+e.cssClass),t=e.href?'<a href="'+e.href+'" is="emby-linkbutton" class="'+r+'" data-index="'+y+'"><div class="emby-button-foreground">'+e.name+"</div></a>":'<button type="button" is="emby-button" class="'+r+'" data-index="'+y+'"><div class="emby-button-foreground">'+e.name+"</div></button>",y++,t})).join("")+"</div></div>";return m.innerHTML=p,window.CustomElements.upgradeSubtree(m),document.body.classList.add("withSectionTabs"),n=e,function(e,t){if(a.A.touch){var n=function(r,n){d(n)&&e.contains(n)&&t.selectNext()},i=function(r,n){d(n)&&e.contains(n)&&t.selectPrevious()};r.e(19842).then(r.bind(r,19842)).then((function(t){var r=new(0,t.default)(e.parentNode.parentNode);l.A.on(r,"swipeleft",n),l.A.on(r,"swiperight",i),e.addEventListener("viewdestroy",(function(){r.destroy()}))}))}}(e,s=m.querySelector('[is="emby-tabs"]')),f&&s.addEventListener("beforetabchange",(function(e){var t=f();if(null!=e.detail.previousIndex){var r=t[e.detail.previousIndex];r&&r.classList.remove("is-active")}var n=t[e.detail.selectedTabIndex];n&&n.classList.add("is-active")})),v&&s.addEventListener("beforetabchange",v),h&&s.addEventListener("tabchange",h),!1!==b&&(s.selectedIndex?s.selectedIndex(t):(s.readySelectedIndex=t,s.addEventListener("ready",u))),{tabsContainer:m,tabs:s,replaced:!0}}return s.selectedIndex(t),{tabsContainer:m,tabs:s,replaced:!1}}function v(e){null!=e?s.selectedIndex(e):s.triggerTabChange()}function h(){return document.querySelector(".tabs-viewmenubar")}},32203:function(e,t,r){r.d(t,{Bq:function(){return l},Jd:function(){return a},yq:function(){return o}});var n=r(65369),i=r(11444),s="assets/img/devices/";function o(e){var t;switch(e.AppName||e.Client){case"Samsung Smart TV":return s+"samsungtv.svg";case"Xbox One":return s+"xbox.svg";case"Sony PS4":return s+"playstation.svg";case"Kodi":case"Kodi JellyCon":return s+"kodi.svg";case"Jellyfin Android":case"AndroidTV":case"Android TV":return s+"android.svg";case"Jellyfin Mobile (iOS)":case"Jellyfin Mobile (iPadOS)":case"Jellyfin iOS":case"Jellyfin iPadOS":case"Jellyfin tvOS":case"Swiftfin iPadOS":case"Swiftfin iOS":case"Swiftfin tvOS":case"Infuse":case"Infuse-Direct":case"Infuse-Library":return s+"apple.svg";case"Home Assistant":return s+"home-assistant.svg";case"Jellyfin for WebOS":case"LG Smart TV":return s+"webos.svg";case"Jellyfin Roku":return s+"roku.svg";case"Finamp":return s+"finamp.svg";case"Jellyfin Web":return function(e){switch(e){case"Opera":case"Opera TV":case"Opera Android":return s+"opera.svg";case"Chrome":case"Chrome Android":return s+"chrome.svg";case"Firefox":case"Firefox Android":return s+"firefox.svg";case"Safari":case"Safari iPad":case"Safari iPhone":return s+"safari.svg";case"Edge Chromium":case"Edge Chromium Android":case"Edge Chromium iPad":case"Edge Chromium iPhone":return s+"edgechromium.svg";case"Edge":return s+"edge.svg";case"Internet Explorer":return s+"msie.svg";case"Titan OS":return s+"titanos.svg";case"Vega OS":return s+"firetv.svg";default:return s+"html5.svg"}}(e.Name||e.DeviceName);default:if(null===(t=e.Capabilities)||void 0===t?void 0:t.IconUrl)try{return new URL(e.Capabilities.IconUrl).toString()}catch(t){console.error("[getDeviceIcon] device capabilities has invalid IconUrl",e,t)}return s+"other.svg"}}function a(e){switch(e){case n.X.Movies:return"movie";case n.X.Music:return"music_note";case n.X.Homevideos:case n.X.Photos:return"photo";case n.X.Livetv:return"live_tv";case n.X.Tvshows:return"tv";case n.X.Trailers:return"theaters";case n.X.Musicvideos:return"music_video";case n.X.Books:return"book";case n.X.Boxsets:return"video_library";case n.X.Playlists:return"queue";case"channels":return"videocam";case void 0:return"quiz";default:return"folder"}}function l(e,t){switch(e){case i.D.MusicAlbum:return"album";case i.D.MusicArtist:case i.D.Person:return"person";case i.D.Audio:return"audiotrack";case i.D.Movie:return"movie";case i.D.Episode:case i.D.Series:return"tv";case i.D.Program:return"live_tv";case i.D.Book:return"book";case i.D.Folder:return"folder";case i.D.BoxSet:return"video_library";case i.D.Playlist:return"queue";case i.D.Photo:return"photo";case i.D.PhotoAlbum:return"photo_album";default:return t}}t.Ay={getDeviceIcon:o,getLibraryIcon:a,getItemTypeIcon:l}},41765:function(e,t,r){r(44962),r(78557),r(90076),r(83994),r(82367);var n=r(4113),i=r(36300),s=r(46782),o=r(38490),a=r(9164),l=r(34789),c=(r(69177),Object.create(HTMLDivElement.prototype));function u(e){var t=e.detail.command;"end"===t?(a.A.focusLast(this,"."+this.getAttribute("data-navcommands")),e.preventDefault(),e.stopPropagation()):"pageup"===t?(a.A.moveFocus(e.target,this,"."+this.getAttribute("data-navcommands"),-12),e.preventDefault(),e.stopPropagation()):"pagedown"===t&&(a.A.moveFocus(e.target,this,"."+this.getAttribute("data-navcommands"),12),e.preventDefault(),e.stopPropagation())}c.createdCallback=function(){this.classList.add("emby-scroller")},c.scrollToBeginning=function(){this.scroller&&this.scroller.slideTo(0,!0)},c.toStart=function(e,t){this.scroller&&this.scroller.toStart(e,t)},c.toCenter=function(e,t){this.scroller&&this.scroller.toCenter(e,t)},c.scrollToPosition=function(e,t){this.scroller&&this.scroller.slideTo(e,t)},c.getScrollPosition=function(){if(this.scroller)return this.scroller.getScrollPosition()},c.getScrollSize=function(){if(this.scroller)return this.scroller.getScrollSize()},c.getScrollEventName=function(){if(this.scroller)return this.scroller.getScrollEventName()},c.getScrollSlider=function(){if(this.scroller)return this.scroller.getScrollSlider()},c.addScrollEventListener=function(e,t){this.scroller&&i.Ay.addEventListener(this.scroller.getScrollFrame(),this.scroller.getScrollEventName(),e,t)},c.removeScrollEventListener=function(e,t){this.scroller&&i.Ay.removeEventListener(this.scroller.getScrollFrame(),this.scroller.getScrollEventName(),e,t)},c.attachedCallback=function(){this.getAttribute("data-navcommands")&&o.default.on(this,u);var e="false"!==this.getAttribute("data-horizontal"),t=this.querySelector(".scrollSlider");e&&(t.style["white-space"]="nowrap");var c,d,f=s.A.desktop&&e&&"false"!==this.getAttribute("data-scrollbuttons"),v={horizontal:e,mouseDragging:1,mouseWheel:"false"!==this.getAttribute("data-mousewheel"),touchDragging:1,slidee:t,scrollBy:200,speed:e?270:240,elasticBounds:1,dragHandle:1,autoImmediate:!0,skipSlideToWhenVisible:"true"===this.getAttribute("data-skipfocuswhenvisible"),dispatchScrollEvent:f||"true"===this.getAttribute("data-scrollevent"),hideScrollbar:f||"true"===this.getAttribute("data-hidescrollbar"),allowNativeSmoothScroll:"true"===this.getAttribute("data-allownativesmoothscroll")&&!f,allowNativeScroll:!f,forceHideScrollbars:f,requireAnimation:f&&l.A.edge};this.scroller=new n.A(this,v),this.scroller.init(),this.scroller.reload(),s.A.tv&&this.getAttribute("data-centerfocus")&&(c=this.scroller,i.Ay.addEventListener(this,"focus",(function(e){var t=a.A.focusableParent(e.target);t&&c.toCenter(t)}),{capture:!0,passive:!0})),f&&(d=this,r.e(49275).then(r.bind(r,49275)).then((function(){d.insertAdjacentHTML("beforebegin",'<div is="emby-scrollbuttons" class="emby-scrollbuttons padded-right"></div>')})))},c.pause=function(){var e=this.headroom;e&&e.pause()},c.resume=function(){var e=this.headroom;e&&e.resume()},c.detachedCallback=function(){this.getAttribute("data-navcommands")&&o.default.off(this,u);var e=this.headroom;e&&(e.destroy(),this.headroom=null);var t=this.scroller;t&&(t.destroy(),this.scroller=null)},document.registerElement("emby-scroller",{prototype:c,extends:"div"})},79845:function(e,t,r){r(96054),r(69177);var n=r(36300),i=r(4113),s=r(34789),o=r(9164),a=r(46782),l=Object.create(HTMLDivElement.prototype),c="emby-tab-button",u=c+"-active";function d(e){e.classList.add(u)}function f(e,t,r){var n;e.dispatchEvent(new CustomEvent("beforetabchange",{detail:{selectedTabIndex:t,previousIndex:r}})),null!=r&&r!==t&&(n=null)&&n.classList.remove("is-active")}function v(e){var t=this,r=t.querySelector("."+u),i=n.Ay.parentWithClass(e.target,c);if(i&&i!==r){r&&r.classList.remove(u);var s=r?parseInt(r.getAttribute("data-index"),10):null;d(i);var o=parseInt(i.getAttribute("data-index"),10);f(t,o,s),setTimeout((function(){t.selectedTabIndex=o,t.dispatchEvent(new CustomEvent("tabchange",{detail:{selectedTabIndex:o,previousIndex:s}}))}),120),t.scroller&&t.scroller.toCenter(i,!1)}}function h(e){var t=n.Ay.parentWithClass(e.target,c);t&&this.scroller&&this.scroller.toCenter(t,!1)}function b(e){var t=e.target.parentNode.querySelector(".lastFocused");t&&t.classList.remove("lastFocused"),e.target.classList.add("lastFocused")}function m(e){return e.querySelector("."+u)}function y(e,t){for(var r=e[t];r;){if(r.classList.contains(c)&&!r.classList.contains("hide"))return r;r=r[t]}return null}l.createdCallback=function(){this.classList.contains("emby-tabs")||(this.classList.add("emby-tabs"),this.classList.add("focusable"),n.Ay.addEventListener(this,"click",v,{passive:!0}),a.A.tv&&n.Ay.addEventListener(this,"focusin",h,{passive:!0}),n.Ay.addEventListener(this,"focusout",b))},l.focus=function(){var e=this.querySelector("."+u),t=this.querySelector(".lastFocused");t?o.A.focus(t):e?o.A.focus(e):o.A.autoFocus(this)},l.refresh=function(){this.scroller&&this.scroller.reload()},l.attachedCallback=function(){!function(e){if(!e.scroller){var t=e.querySelector(".emby-tabs-slider");t?(e.scroller=new i.A(e,{horizontal:1,itemNav:0,mouseDragging:1,touchDragging:1,slidee:t,smart:!0,releaseSwing:!0,scrollBy:200,speed:120,elasticBounds:1,dragHandle:1,dynamicHandle:1,clickBar:1,hiddenScroll:!0,requireAnimation:!s.A.safari,allowNativeSmoothScroll:!0}),e.scroller.init()):(e.classList.add("scrollX"),e.classList.add("hiddenScrollX"),e.classList.add("smoothScrollX"))}}(this);var e=this.querySelector("."+u),t=e?parseInt(e.getAttribute("data-index"),10):parseInt(this.getAttribute("data-index")||"0",10);if(-1!==t){this.selectedTabIndex=t;var r=this.querySelectorAll("."+c)[t];r&&d(r)}this.readyFired||(this.readyFired=!0,this.dispatchEvent(new CustomEvent("ready",{})))},l.detachedCallback=function(){this.scroller&&(this.scroller.destroy(),this.scroller=null),n.Ay.removeEventListener(this,"click",v,{passive:!0}),a.A.tv&&n.Ay.removeEventListener(this,"focusin",h,{passive:!0})},l.selectedIndex=function(e,t){var r=this;if(null==e)return r.selectedTabIndex||0;var n=r.selectedIndex();r.selectedTabIndex=e;var i=r.querySelectorAll("."+c);if(n===e||!1===t){f(r,e,n),r.dispatchEvent(new CustomEvent("tabchange",{detail:{selectedTabIndex:e}}));var s=i[n];d(i[e]),n!==e&&s&&s.classList.remove(u)}else v.call(r,{target:i[e]})},l.selectNext=function(){var e=y(m(this),"nextSibling");e&&v.call(this,{target:e})},l.selectPrevious=function(){var e=y(m(this),"previousSibling");e&&v.call(this,{target:e})},l.triggerBeforeTabChange=function(){f(this,this.selectedIndex())},l.triggerTabChange=function(){this.dispatchEvent(new CustomEvent("tabchange",{detail:{selectedTabIndex:this.selectedIndex()}}))},l.setTabEnabled=function(e,t){var r=this.querySelector('.emby-tab-button[data-index="'+e+'"]');t?r.classList.remove("hide"):r.classList.remove("add")},document.registerElement("emby-tabs",{prototype:l,extends:"div"})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8575],{713:function(e,n,r){r.d(n,{j:function(){return o},p:function(){return a}});var t=r(82885),i=r(14229),o=function(e){return i.u.some((function(n){return n.path===e}))},a=function(e,n){var r,o,a,l,s,u;if(!n)return 0;var c=null!==(o=null===(r=i.u.find((function(n){return n.path===e})))||void 0===r?void 0:r.views)&&void 0!==o?o:[],d=t.get("landing-"+n,!1);return null!==(u=null!==(l=null===(a=c.find((function(e){return e.view===d})))||void 0===a?void 0:a.index)&&void 0!==l?l:null===(s=c.find((function(e){return e.isDefault})))||void 0===s?void 0:s.index)&&void 0!==u?u:0}},8575:function(e,n,r){r.r(n),r.d(n,{Component:function(){return Se}});var t=r(62540),i=r(63696),o=r(93663),a=r(92779),l=r(25295),s=r(87404),u=r(13258),c=r(78057),d=r(75785),f=r(15815),v=r(69410),p=r(70140),h=r(70267),y=r(87119),x=r(87214),b=r(76617),m=r(5824),A=r(9055),g=r(43361),j=r(75487),w=r(72073),S=r(5898),D=function(){var e=(0,s.zy)(),n=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,i,o=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=o.next()).done;)a.push(t.value)}catch(e){i={error:e}}finally{try{t&&!t.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}((0,A.ok)(),1)[0],r="/search"===e.pathname,i=(0,A.PI)(function(e){var n=e.get("parentId")||e.get("topParentId"),r=e.get("collectionType"),t={};return n&&(t.parentId=n),r&&(t.collectionType=r),t}(n)),o={pathname:"/search",search:i?"?".concat(i):void 0};return(0,t.jsx)(w.A,{title:S.Ay.translate("Search"),children:(0,t.jsx)(j.A,{size:"large","aria-label":S.Ay.translate("Search"),color:"inherit",component:A.N_,disabled:r,to:o,children:(0,t.jsx)(g.A,{})})})},I=r(65369),P=r(26749),k=r(36237),O=r(63703),C=r(3889),T=r(46550),M=r(68849),N=r(84917),B=r(42663),E=r(57323),G=r(66563),R=r(94200),U=r(91002),F=r(72648),L=r(53455),X=r(82225),_={Id:"favorites",Name:"Favorites"},z=function(e){var n=e.item;if(n.Id===_.Id)return(0,t.jsx)(k.A,{});switch(n.CollectionType){case I.X.Movies:return(0,t.jsx)(C.A,{});case I.X.Music:return(0,t.jsx)(T.A,{});case I.X.Homevideos:case I.X.Photos:return(0,t.jsx)(M.A,{});case I.X.Livetv:return(0,t.jsx)(N.A,{});case I.X.Tvshows:return(0,t.jsx)(B.A,{});case I.X.Trailers:return(0,t.jsx)(E.A,{});case I.X.Musicvideos:return(0,t.jsx)(G.A,{});case I.X.Books:return(0,t.jsx)(R.A,{});case I.X.Boxsets:return(0,t.jsx)(L.A,{});case I.X.Playlists:return(0,t.jsx)(U.A,{});case void 0:return(0,t.jsx)(F.A,{});default:return(0,t.jsx)(X.A,{})}},H=r(713),V=r(37632),q=r(59721),K=r(44790),J=r(60434),W=r(48402),Y=r(85637),Q=function(){return Q=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},Q.apply(this,arguments)},Z=function(e){var n=e.userViews,r=e.selectedId,i=e.onMenuClose,o=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(e);i<t.length;i++)n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]])}return r}(e,["userViews","selectedId","onMenuClose"]);return(0,t.jsx)(W.A,Q({},o,{keepMounted:!0,onClose:i,children:n.map((function(e){return(0,t.jsxs)(Y.A,{component:A.N_,to:h.appRouter.getRouteUrl(e,{context:e.CollectionType}).substring(1),onClick:i,selected:e.Id===r,children:[(0,t.jsx)(K.A,{children:(0,t.jsx)(z,{item:e})}),(0,t.jsx)(J.A,{children:e.Name})]},e.Id)}))}))},$=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,i,o=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=o.next()).done;)a.push(t.value)}catch(e){i={error:e}}finally{try{t&&!t.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},ee="user-view-overflow-menu",ne="/home",re="/list",te=function(){var e=(0,s.zy)(),n=$((0,A.ok)(),1)[0],r=n.get("topParentId")||n.get("parentId"),o=n.get("collectionType"),a=(0,V.A)().activeTab,u=(0,l.A)((function(e){return e.breakpoints.up("xl")})),c=(0,l.A)((function(e){return e.breakpoints.up("lg")})),d=(0,i.useMemo)((function(){return u?8:c?5:3}),[u,c]),f=(0,v.gf)().user,p=(0,q.D)(null==f?void 0:f.Id),y=p.data,x=p.isPending,b=(0,i.useMemo)((function(){var e;return null===(e=null==y?void 0:y.Items)||void 0===e?void 0:e.slice(0,d)}),[d,y]),m=(0,i.useMemo)((function(){var e;return null===(e=null==y?void 0:y.Items)||void 0===e?void 0:e.slice(d)}),[d,y]),g=$((0,i.useState)(null),2),j=g[0],w=g[1],D=Boolean(j),C=(0,i.useCallback)((function(e){w(e.currentTarget)}),[]),T=(0,i.useCallback)((function(){w(null)}),[]),M=(0,i.useMemo)((function(){return function(e,n,r,t,i){if((0,H.j)(n)||[ne,re].includes(n))return t===I.X.Livetv?null==e?void 0:e.find((function(e){return e.CollectionType===I.X.Livetv})):n===ne&&1===i?_:null==e?void 0:e.find((function(e){return e.Id===r}))}(null==y?void 0:y.Items,e.pathname,r,o,a)}),[a,o,r,e.pathname,y]);return x?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O.A,{variant:"text",color:(null==M?void 0:M.Id)===_.Id?"primary":"inherit",startIcon:(0,t.jsx)(k.A,{}),component:A.N_,to:"/home?tab=1",children:S.Ay.translate(_.Name)}),null==b?void 0:b.map((function(e){return(0,t.jsx)(O.A,{variant:"text",color:e.Id===(null==M?void 0:M.Id)?"primary":"inherit",startIcon:(0,t.jsx)(z,{item:e}),component:A.N_,to:h.appRouter.getRouteUrl(e,{context:e.CollectionType}).substring(1),children:e.Name},e.Id)})),m&&m.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O.A,{variant:"text",color:"inherit",endIcon:(0,t.jsx)(P.A,{}),"aria-controls":ee,"aria-haspopup":"true",onClick:C,children:S.Ay.translate("ButtonMore")}),(0,t.jsx)(Z,{anchorEl:j,id:ee,open:D,onMenuClose:T,userViews:m,selectedId:null==M?void 0:M.Id})]})]})},ie=function(e){var n=e.isDrawerAvailable,r=e.isDrawerOpen,i=e.onDrawerButtonClick,o=(0,s.zy)();if("/video"===o.pathname)return null;var a=window.NativeShell&&h.appRouter.canGoBack(o.pathname),l=h.PUBLIC_PATHS.includes(o.pathname);return(0,t.jsx)(y.A,{buttons:!l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.A,{}),(0,t.jsx)(b.A,{}),(0,t.jsx)(D,{})]}),isDrawerAvailable:n,isDrawerOpen:r,onDrawerButtonClick:i,isBackButtonAvailable:a,isUserMenuAvailable:!l,children:!n&&(0,t.jsxs)(p.A,{direction:"row",spacing:.5,children:[(0,t.jsx)(x.A,{}),!l&&(0,t.jsx)(te,{})]})})},oe=r(64174),ae=r(24786),le=r(77285),se=r(89970),ue=r(74156),ce=r(44185),de=r(28335),fe=r(35117),ve=r(79772),pe=r(80099),he=r(95858),ye=r(60182),xe=r(42458),be=function(){var e=(0,v.gf)().user,n=(0,s.zy)(),r=(0,q.D)(null==e?void 0:e.Id).data,i=(null==r?void 0:r.Items)||[],o=(0,ye.IB)(),a="/home"===n.pathname&&(!n.search||"?tab=0"===n.search);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(de.A,{sx:{paddingTop:0},children:[(0,t.jsx)(fe.Ay,{disablePadding:!0,children:(0,t.jsx)(xe.A,{})}),(0,t.jsx)(fe.Ay,{disablePadding:!0,children:(0,t.jsxs)(he.A,{to:"/home",selected:a,children:[(0,t.jsx)(K.A,{children:(0,t.jsx)(se.A,{})}),(0,t.jsx)(J.A,{primary:S.Ay.translate("Home")})]})}),(0,t.jsx)(fe.Ay,{disablePadding:!0,children:(0,t.jsxs)(he.A,{to:"/home?tab=1",children:[(0,t.jsx)(K.A,{children:(0,t.jsx)(k.A,{})}),(0,t.jsx)(J.A,{primary:S.Ay.translate("Favorites")})]})})]}),!!o.menuLinks&&o.menuLinks.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ue.A,{}),(0,t.jsx)(de.A,{children:o.menuLinks.map((function(e){var n;return(0,t.jsx)(fe.Ay,{disablePadding:!0,children:(0,t.jsxs)(ve.A,{component:"a",href:e.url,target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(K.A,{children:(0,t.jsx)(ce.A,{children:null!==(n=e.icon)&&void 0!==n?n:"link"})}),(0,t.jsx)(J.A,{primary:e.name})]})},"".concat(e.name,"_").concat(e.url))}))})]}),i.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ue.A,{}),(0,t.jsx)(de.A,{"aria-labelledby":"libraries-subheader",subheader:(0,t.jsx)(pe.A,{component:"div",id:"libraries-subheader",children:S.Ay.translate("HeaderLibraries")}),children:i.map((function(e){return(0,t.jsx)(fe.Ay,{disablePadding:!0,children:(0,t.jsxs)(he.A,{to:h.appRouter.getRouteUrl(e,{context:e.CollectionType}).substring(1),children:[(0,t.jsx)(K.A,{children:(0,t.jsx)(z,{item:e})}),(0,t.jsx)(J.A,{primary:e.Name})]})},e.Id)}))})]})]})},me=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,i,o=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=o.next()).done;)a.push(t.value)}catch(e){i={error:e}}finally{try{t&&!t.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ae=function(e,n,r){if(r||2===arguments.length)for(var t,i=0,o=n.length;i<o;i++)!t&&i in n||(t||(t=Array.prototype.slice.call(n,0,i)),t[i]=n[i]);return e.concat(t||Array.prototype.slice.call(n))},ge=["video"],je=Ae(Ae([],me(ae.ASYNC_USER_ROUTES),!1),me(le.LEGACY_USER_ROUTES),!1).filter((function(e){return!ge.includes(e.path)})),we=function(e){var n=e.open,r=void 0!==n&&n,i=e.onClose,o=e.onOpen;return(0,t.jsx)(oe.A,{open:r,onClose:i,onOpen:o,children:(0,t.jsx)(be,{})})},Se=function(){var e=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,i,o=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=o.next()).done;)a.push(t.value)}catch(e){i={error:e}}finally{try{t&&!t.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}((0,i.useState)(!1),2),n=e[0],r=e[1],p=(0,v.gf)().user,h=(0,s.zy)(),y=(0,l.A)((function(e){return e.breakpoints.up("md")})),x=function(e){return je.some((function(n){return n.path===e||"/".concat(n.path)===e}))}(h.pathname)&&Boolean(p)&&!y,b=n&&x,m=(0,i.useCallback)((function(){r(!n)}),[n,r]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.A,{sx:{position:"relative",display:"flex",height:"100%"},children:[(0,t.jsxs)(i.StrictMode,{children:[(0,t.jsx)(d.A,{elevate:!1,children:(0,t.jsx)(o.A,{position:"fixed",sx:{width:"100%",ml:0},children:(0,t.jsx)(ie,{isDrawerAvailable:!y&&x,isDrawerOpen:b,onDrawerButtonClick:m})})}),x&&(0,t.jsx)(we,{open:b,onClose:m,onOpen:m})]}),(0,t.jsx)(a.A,{component:"main",sx:{width:"100%",flexGrow:1},children:(0,t.jsx)(u.A,{children:(0,t.jsx)(s.sv,{})})})]}),(0,t.jsx)(f.A,{}),(0,t.jsx)(c.A,{})]})}},14229:function(e,n,r){r.d(n,{u:function(){return i}});var t=r(46850),i=[{path:"/livetv",views:[{index:0,label:"Programs",view:t.D.Programs,isDefault:!0},{index:1,label:"Guide",view:t.D.Guide},{index:2,label:"Channels",view:t.D.Channels},{index:3,label:"Recordings",view:t.D.Recordings},{index:4,label:"Schedule",view:t.D.Schedule},{index:5,label:"Series",view:t.D.SeriesTimers}]},{path:"/movies",views:[{index:0,label:"Movies",view:t.D.Movies,isDefault:!0},{index:1,label:"Suggestions",view:t.D.Suggestions},{index:2,label:"Favorites",view:t.D.Favorites},{index:3,label:"Collections",view:t.D.Collections},{index:4,label:"Genres",view:t.D.Genres}]},{path:"/music",views:[{index:0,label:"Albums",view:t.D.Albums,isDefault:!0},{index:1,label:"Suggestions",view:t.D.Suggestions},{index:2,label:"HeaderAlbumArtists",view:t.D.AlbumArtists},{index:3,label:"Artists",view:t.D.Artists},{index:4,label:"Playlists",view:t.D.Playlists},{index:5,label:"Songs",view:t.D.Songs},{index:6,label:"Genres",view:t.D.Genres}]},{path:"/tv",views:[{index:0,label:"Shows",view:t.D.Series,isDefault:!0},{index:1,label:"Suggestions",view:t.D.Suggestions},{index:2,label:"TabUpcoming",view:t.D.Upcoming},{index:3,label:"Genres",view:t.D.Genres},{index:4,label:"TabNetworks",view:t.D.Networks},{index:5,label:"Episodes",view:t.D.Episodes}]},{path:"/homevideos",views:[{index:0,label:"Photos",view:t.D.Photos,isDefault:!0},{index:1,label:"HeaderPhotoAlbums",view:t.D.PhotoAlbums,isDefault:!0},{index:2,label:"HeaderVideos",view:t.D.Videos}]}]},37632:function(e,n,r){var t=r(87404),i=r(9055),o=r(713);n.A=function(){var e=(0,t.zy)(),n=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,i,o=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=o.next()).done;)a.push(t.value)}catch(e){i={error:e}}finally{try{t&&!t.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}((0,i.ok)(),2),r=n[0],a=n[1],l=r.get("tab"),s="/livetv"===e.pathname?"livetv":r.get("topParentId");return{searchParams:r,setSearchParams:a,libraryId:s,activeTab:null!==l?parseInt(l,10):(0,o.p)(e.pathname,s)}}},42305:function(e,n,r){r.d(n,{L:function(){return s}});var t=r(8280),i=r(80401),o=r(48272),a=r(69410),l=function(e){return(0,t.j)({queryKey:["SystemInfo"],queryFn:function(n){var r=n.signal;return function(e,n){return r=void 0,t=void 0,a=function(){return function(e,n){var r,t,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(o=0)),o;)try{if(r=1,t&&(i=2&l[0]?t.return:l[0]?t.throw||((i=t.return)&&i.call(t),0):t.next)&&!(i=i.call(t,l[1])).done)return i;switch(t=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,t=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],t=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(r){switch(r.label){case 0:return[4,(0,o.c)(e).getSystemInfo(n)];case 1:return[2,r.sent().data]}}))},new((i=void 0)||(i=Promise))((function(e,n){function o(e){try{s(a.next(e))}catch(e){n(e)}}function l(e){try{s(a.throw(e))}catch(e){n(e)}}function s(n){var r;n.done?e(n.value):(r=n.value,r instanceof i?r:new i((function(e){e(r)}))).then(o,l)}s((a=a.apply(r,t||[])).next())}));var r,t,i,a}(e,{signal:r,headers:{"Cache-Control":"no-cache"}})},staleTime:1e3,enabled:!!e})},s=function(){var e=(0,a.gf)().api;return(0,i.I)(l(e))}},42458:function(e,n,r){var t=r(62540),i=r(92779),o=r(44790),a=r(60434),l=(r(63696),r(42305)),s=r(95858),u=r(90830);n.A=function(){var e=(0,l.L)().data;return(0,t.jsxs)(s.A,{to:"/",children:[(0,t.jsx)(o.A,{sx:{minWidth:56},children:(0,t.jsx)(i.A,{component:"img",src:u,sx:{height:"2.5rem"}})}),(0,t.jsx)(a.A,{primary:(null==e?void 0:e.ServerName)||"Jellyfin",secondary:null==e?void 0:e.Version,slotProps:{primary:{variant:"h6"}}})]})}},46850:function(e,n,r){var t;r.d(n,{D:function(){return t}}),function(e){e.Albums="albums",e.AlbumArtists="albumartists",e.Artists="artists",e.Channels="channels",e.Collections="collections",e.Episodes="episodes",e.Favorites="favorites",e.Genres="genres",e.Guide="guide",e.Movies="movies",e.Networks="networks",e.Playlists="playlists",e.Programs="programs",e.Recordings="recordings",e.Schedule="schedule",e.Series="series",e.SeriesTimers="seriestimers",e.Songs="songs",e.Suggestions="suggestions",e.Upcoming="upcoming",e.PhotoAlbums="photoalbums",e.Photos="photos",e.Videos="videos",e.Books="books"}(t||(t={}))},59721:function(e,n,r){r.d(n,{D:function(){return u},q:function(){return s}});var t=r(41364),i=r(8280),o=r(80401),a=r(69410),l=function(){return l=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},l.apply(this,arguments)},s=function(e,n,r){return(0,i.j)({queryKey:["User",n,"Views",r],queryFn:function(i){var o=i.signal;return function(e,n,r,i){return o=void 0,a=void 0,u=function(){return function(e,n){var r,t,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(l){return function(s){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(o=0)),o;)try{if(r=1,t&&(i=2&l[0]?t.return:l[0]?t.throw||((i=t.return)&&i.call(t),0):t.next)&&!(i=i.call(t,l[1])).done)return i;switch(t=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,t=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=n.call(e,o)}catch(e){l=[6,e],t=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(o){switch(o.label){case 0:return[4,(0,t.a)(e).getUserViews(l(l({},r),{userId:n}),i)];case 1:return[2,o.sent().data]}}))},new((s=void 0)||(s=Promise))((function(e,n){function r(e){try{i(u.next(e))}catch(e){n(e)}}function t(e){try{i(u.throw(e))}catch(e){n(e)}}function i(n){var i;n.done?e(n.value):(i=n.value,i instanceof s?i:new s((function(e){e(i)}))).then(r,t)}i((u=u.apply(o,a||[])).next())}));var o,a,s,u}(e,n,r,{signal:o})},staleTime:1e3,enabled:!!e&&!!n})},u=function(e,n){var r=(0,a.gf)().api;return(0,o.I)(s(r,e,n))}},64174:function(e,n,r){r.d(n,{d:function(){return u}});var t=r(62540),i=r(92779),o=r(19983),a=r(54710),l=r(25295),s=(r(63696),r(34789)),u=240;n.A=function(e){var n=e.children,r=e.open,c=void 0!==r&&r,d=e.onClose,f=e.onOpen;return(0,l.A)((function(e){return e.breakpoints.up("md")}))?(0,t.jsx)(o.Ay,{sx:{width:u,flexShrink:0,"& .MuiDrawer-paper":{width:u,paddingBottom:"4.2rem",boxSizing:"border-box"}},variant:"permanent",anchor:"left",children:n}):(0,t.jsx)(a.A,{anchor:"left",open:c,onClose:d,onOpen:f,disableDiscovery:s.A.iOS,ModalProps:{keepMounted:!0},children:(0,t.jsx)(i.A,{role:"presentation",onClick:d,onKeyDown:d,children:n})})}},75785:function(e,n,r){var t=r(21122),i=r(63696);n.A=function(e){var n=e.children,r=e.elevate,o=void 0!==r&&r,a=(0,t.A)({disableHysteresis:!0,threshold:0}),l=o||a;return i.cloneElement(n,{color:l?"default":"transparent",elevation:l?4:0})}},87214:function(e,n,r){var t=r(62540),i=r(90830),o=r(63703),a=(r(63696),r(9055)),l=r(42305);n.A=function(){var e=(0,l.L)(),n=e.data,r=e.isPending;return(0,t.jsx)(o.A,{variant:"text",size:"large",color:"inherit",startIcon:(0,t.jsx)("img",{src:i,alt:"","aria-hidden":!0,style:{maxHeight:"1.25em",maxWidth:"1.25em"}}),component:a.N_,to:"/",children:r?"":(null==n?void 0:n.ServerName)||"Jellyfin"})}},90830:function(e,n,r){e.exports=r.p+"icon-transparent.baba78f2a106d9baee83.png"},95858:function(e,n,r){var t=r(62540),i=r(79772),o=(r(63696),r(87404)),a=r(9055),l=function(){return l=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},l.apply(this,arguments)},s=function(e,n){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var t,i,o=r.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(t=o.next()).done;)a.push(t.value)}catch(e){i={error:e}}finally{try{t&&!t.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};n.A=function(e){var n=e.children,r=e.to,u=e.includePaths,c=void 0===u?[]:u,d=e.excludePaths,f=void 0===d?[]:d,v=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(e);i<t.length;i++)n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]])}return r}(e,["children","to","includePaths","excludePaths"]),p=(0,o.zy)(),h=s((0,a.ok)(),1)[0],y=s(r.split("?"),2),x=y[0],b=y[1],m=new URLSearchParams("?".concat(b)),A=function(e,n,r){if(r||2===arguments.length)for(var t,i=0,o=n.length;i<o;i++)!t&&i in n||(t||(t=Array.prototype.slice.call(n,0,i)),t[i]=n[i]);return e.concat(t||Array.prototype.slice.call(n))}([x],s(c),!1).includes(p.pathname)&&!f.includes(p.pathname+p.search)&&(!b||function(e,n){var r,t;try{for(var i=function(e){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&e[n],t=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(n.get(a[0])!==a[1])return!1}}catch(e){r={error:e}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(r)throw r.error}}return!0}(m,h));return(0,t.jsx)(i.A,l({component:a.N_,to:r,selected:A},v,{children:n}))}}}]);