PageSourceSearch

https://m.fredit.co.kr/_ustra/d726151.js

js fredit.co.kr collected 2026-09-24 09:26:48 UTC 53,445 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[519],{111:function(e,t,n){"use strict";n(2),n(8),n(9),n(16),n(11),n(10),n(44),n(101),n(149);var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var s,i=1,t=arguments.length;i<t;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(e[p]=s[p]);return e},r.apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),c=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return c(t,e),t},f=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,c){function l(e){try{d(r.next(e))}catch(e){c(e)}}function f(e){try{d(r.throw(e))}catch(e){c(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,f)}d((r=r.apply(e,t||[])).next())}))},d=this&&this.__generator||function(e,body){var t,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=body.call(e,o)}catch(e){c=[6,e],n=0}finally{t=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}},h=this&&this.__values||function(e){var s="function"==typeof Symbol&&Symbol.iterator,t=s&&e[s],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")},v=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.callback=t.addModules=t.createStore=t.getStoreModules=t.ModuleTree=void 0;var y=v(n(21)),m=l(n(243));Object.defineProperty(t,"ModuleTree",{enumerable:!0,get:function(){return m.ModuleTree}});var k=n(100),j=n(105);y.default.use(m.default),k.config.rawError=!0;t.getStoreModules=function(e){var t,n,r=e.store._modules.root._children,o={},c=function(t){o[t]=function(n){return n||(n=e.store),k.getModule(r[t]._rawModule,e.store)}};try{for(var l=h(Object.keys(r)),f=l.next();!f.done;f=l.next()){c(f.value)}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return o};var w=m.default.Store.prototype.registerModule;function O(path,e,t){void 0===t&&(t={});var n=Array.isArray(path)?!!path.reduce((function(e,path){return e&&e[path]}),this.state):path in this.state;return w.call(this,path,e,r({preserveState:n},t))}t.createStore=function(e,n,o){void 0===o&&(o={actions:{}});try{return o.actions=o.actions||{},o.actions=r(r({},o.actions),(c=function(e){var n=t.getStoreModules(e);return Object.keys(n).sort((function(a,b){return("core"===a?0:"auth"===a?1:"interfaces"===a?2:10)-("core"===b?0:"auth"===b?1:"interfaces"===b?2:10)}))},{nuxtServerInit:function(e,n){return f(void 0,void 0,void 0,(function(){var r,o,l,f,v,y,m,k,j,w;return d(this,(function(d){switch(d.label){case 0:r=t.getStoreModules(n),d.label=1;case 1:d.trys.push([1,11,12,13]),o=h(c(n)),l=o.next(),d.label=2;case 2:return l.done?[3,10]:(f=l.value,v={actionContext:e,context:n},"function"!=typeof r[f]?[3,9]:(y=r[f](n.store),[4,_(x.beforeServerInitCallbacks(n),f,y)]));case 3:if(d.sent(),!y||!y.nuxtServerInit)return[3,7];e.state=y.state,d.label=4;case 4:return d.trys.push([4,6,,7]),[4,y.nuxtServerInit(v)];case 5:return d.sent(),[3,7];case 6:return m=d.sent(),n.$logger().error("nuxtServerInit error",m),n.$ustra.definedStore.core.setServerError({status:500,message:m.message}),[2];case 7:return[4,_(x.afterServerInitCallbacks(n),f,y)];case 8:d.sent(),d.label=9;case 9:return l=o.next(),[3,2];case 10:return[3,13];case 11:return k=d.sent(),j={error:k},[3,13];case 12:try{l&&!l.done&&(w=o.return)&&w.call(o)}finally{if(j)throw j.error}
1return[7];case 13:return[4,_(x.afterServerInitCallbacks(n),null,null,!0)];case 14:return d.sent(),x.clear(n),[2]}}))}))},nuxtClientInit:function(e,n){return f(void 0,void 0,void 0,(function(){var r,o,l,f,v,y,m,k,j,w;return d(this,(function(d){switch(d.label){case 0:r=t.getStoreModules(n),d.label=1;case 1:d.trys.push([1,11,12,13]),o=h(c(n)),l=o.next(),d.label=2;case 2:return l.done?[3,10]:(f=l.value,v={actionContext:e,context:n},"function"!=typeof r[f]?[3,9]:(y=r[f](n.store),[4,_(x.beforeClientInitCallbacks(n),f,y)]));case 3:if(d.sent(),!y||!y.nuxtClientInit)return[3,7];e.state=y.state,d.label=4;case 4:return d.trys.push([4,6,,7]),[4,y.nuxtClientInit(v)];case 5:return d.sent(),[3,7];case 6:return m=d.sent(),n.$logger().error("nuxtClientInit error",m),n.$ustra.definedStore.core.setServerError({status:500,message:m.message}),[2];case 7:return[4,_(x.afterClientInitCallbacks(n),f,y)];case 8:d.sent(),d.label=9;case 9:return l=o.next(),[3,2];case 10:return[3,13];case 11:return k=d.sent(),j={error:k},[3,13];case 12:try{l&&!l.done&&(w=o.return)&&w.call(o)}finally{if(j)throw j.error}return[7];case 13:return[4,_(x.afterClientInitCallbacks(n),null,null,!0)];case 14:return d.sent(),x.clear(n),[2]}}))}))}})),new m.Store(r({modules:n},o))}catch(e){throw j.logger().error(e),e}var c};t.addModules=function(e,n){for(var r in e.store&&e.store._actions.nuxtServerInit||(e.store=function(e){var n,r,o=t.createStore(e,{});o.$router=e.app.router,o.registerModule=O,o.app=e.app,e.app.store=o;try{for(var c=h(Object.keys(o.app)),l=c.next();!l.done;l=c.next()){var f=l.value;f.startsWith("$")&&(o[f]=o.app[f])}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return o.__created_by_ustra__=!0,o}(e)),n)e.store.registerModule(r,n[r])};var x={get:function(e){return e.$ustra._context_store_callbacks||(e.$ustra._context_store_callbacks={beforeClientInitCallbacks:[],afterClientInitCallbacks:[],beforeServerInitCallbacks:[],afterServerInitCallbacks:[]}),e.$ustra._context_store_callbacks},clear:function(e){delete e.$ustra._context_store_callbacks},beforeClientInitCallbacks:function(e){return x.get(e).beforeClientInitCallbacks},afterClientInitCallbacks:function(e){return x.get(e).afterClientInitCallbacks},beforeServerInitCallbacks:function(e){return x.get(e).beforeServerInitCallbacks},afterServerInitCallbacks:function(e){return x.get(e).afterServerInitCallbacks}},_=function(e,t,n,r){return void 0===r&&(r=!1),f(void 0,void 0,void 0,(function(){var o,c,l,f,v;return d(this,(function(d){switch(d.label){case 0:d.trys.push([0,5,6,7]),o=h(e),c=o.next(),d.label=1;case 1:return c.done?[3,4]:[4,(0,c.value)(t,n,r)];case 2:d.sent(),d.label=3;case 3:return c=o.next(),[3,1];case 4:return[3,7];case 5:return l=d.sent(),f={error:l},[3,7];case 6:try{c&&!c.done&&(v=o.return)&&v.call(o)}finally{if(f)throw f.error}return[7];case 7:return[2]}}
1))}))};t.callback={registerBeforeClientInit:function(e,t){x.beforeClientInitCallbacks(e).push(t)},registerAfterClientInit:function(e,t){x.afterClientInitCallbacks(e).push(t)},registerBeforeServerInit:function(e,t){x.beforeServerInitCallbacks(e).push(t)},registerAfterServerInit:function(e,t){x.afterServerInitCallbacks(e).push(t)}}},1129:function(e,t,n){"use strict";n(29);var r,o=this&&this.__extends||(r=function(e,b){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},r(e,b)},function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}r(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)});Object.defineProperty(t,"__esModule",{value:!0}),t.RedirectError=void 0;var c=function(e){function t(t){var n=e.call(this,"RedirectError : "+t.path)||this;return n.args=null,n.name="RedirectError",n.args=t,n}return o(t,e),t.isEquals=function(e){return e instanceof t||"RedirectError"===e.name},t}(Error);t.RedirectError=c},1170:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n){t.forEach((function(t){for(var r in e.mediaGroups[t])for(var o in e.mediaGroups[t][r]){var c=e.mediaGroups[t][r][o];n(c,t,r,o)}}))}},15:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"k",(function(){return l})),n.d(t,"j",(function(){return f})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return y})),n.d(t,"f",(function(){return m})),n.d(t,"c",(function(){return k})),n.d(t,"h",(function(){return j})),n.d(t,"d",(function(){return w})),n.d(t,"a",(function(){return O}));var a,b,r=n(3),o=function(b,e,t){return void 0===t&&(t=" "),(function(e,t){for(var n="";t--;)n+=e;return n}(t,e)+b.toString()).slice(-e)},c=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},l=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||c(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},f=function(e){e=l(e);for(var t="",i=0;i<e.length;i++)t+=o(e[i].toString(16),2,"0");return t},d=function(e){e=l(e);for(var t="",i=0;i<e.length;i++)t+=o(e[i].toString(2),8,"0");return t},h=n.n(r).a.BigInt||Number,v=[h("0x1"),h("0x100"),h("0x10000"),h("0x1000000"),h("0x100000000"),h("0x10000000000"),h("0x1000000000000"),h("0x100000000000000"),h("0x10000000000000000")],y=(a=new Uint16Array([65484]),255===(b=new Uint8Array(a.buffer,a.byteOffset,a.byteLength))[0]||b[0],function(e,t){var n=void 0===t?{}:t,r=n.signed,o=void 0!==r&&r,c=n.le,f=void 0!==c&&c;e=l(e);var d=f?"reduce":"reduceRight",y=(e[d]?e[d]:Array.prototype[d]).call(e,(function(t,n,i){var r=f?i:Math.abs(i+1-e.length);return t+h(n)*v[r]}),h(0));if(o){var m=v[e.length]/h(2)-h(1);(y=h(y))>m&&(y-=m,y-=m,y-=h(2))}return Number(y)}),m=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=h(e);for(var o,c=(o=e,Math.ceil(function(e){return e.toString(2).length}(o)/8)),l=new Uint8Array(new ArrayBuffer(c)),i=0;i<c;i++){var f=r?i:Math.abs(i+1-l.length);l[f]=Number(e/v[i]&h(255)),e<0&&(l[f]=Math.abs(~l[f]),l[f]-=0===i?1:2)}return l},k=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,l(e));try{return decodeURIComponent(escape(t))}catch(e){}return t},j=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var view=new Uint8Array(e.length),i=0;i<e.length;i++)view[i]=e.charCodeAt(i);return view},w=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter((function(b){return b&&(b.byteLength||b.length)&&"string"!=typeof b})),t.length<=1)return l(t[0]);var r=t.reduce((function(e,t,i){return e+(t.byteLength||t.length)}),0),o=new Uint8Array(r),c=0;return t.forEach((function(e){e=l(e),o.set(e,c),c+=e.byteLength})),o},O=function(a,b,e){var t=void 0===e?{}:e,n=t.offset,r=void 0===n?0:n,o=t.mask,mask=void 0===o?[]:o;a=l(a);var c=(b=l(b)).every?b.every:Array.prototype.every;return b.length&&a.length-r>=b.length&&c.call(b,(function(e,i){return e===(mask[i]?mask[i]&a[r+i]:a[r+i])}))}},166:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.setClientInitMethod=t.getClientInitMethod=void 0;var o=r(n(1995));t.Storage=o.default;t.getClientInitMethod=function(e){var t,n;return(null===(n=null===(t=e.constructor)||void 0===t?void 0:t.actions)||void 0===n?void 0:n.nuxtClientInit)?e.constructor.actions.nuxtClientInit:e.nuxtClientInit};t.setClientInitMethod=function(e,t){var n;e.constructor.actions=(null===(n=e.constructor)||void 0===n?void 0:n.actions)||{},e.constructor.actions.nuxtClientInit=t,e.nuxtClientInit=t}},1995:function(e,t,n){"use strict";n(2),n(8),n(9),n(16),n(11),n(10);var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,c){function l(e){try{d(r.next(e))}catch(e){c(e)}}function f(e){try{d(r.throw(e))}catch(e){c(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,f)}d((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,body){var t,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=body.call(e,o)}catch(e){c=[6,e],n=0}finally{t=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}};Object.defineProperty(t,"__esModule",{value:!0});var c=n(629),l=n(637),f=n(396),d=n(70),h=n(166),v=function(e,t,param){var n=h.getClientInitMethod(e);n=c.wrap(n,(function(n){for(var c=[],l=1;l<arguments.length;l++)c[l-1]=arguments[l];return r(void 0,void 0,void 0,(function(){var l,f,d;return o(this,(function(h){switch(h.label){case 0:return h.trys.push([0,5,6,8]),l=e.constructor._vmdModuleName,f=c[0],c.length>1&&!f.actionContext&&(f=c[1]),param.initValue?[4,m(param.type,param.storage,param.propertyKey,param.defaultValue).then((function(e){return r(void 0,void 0,void 0,(function(){return o(this,(function(n){switch(n.label){case 0:return param.initValue?[4,param.initValue.call(this,f.actionContext.rootState[l][param.propertyKey],e,param.defaultValue)]:[3,2];case 1:e=n.sent(),n.label=2;case 2:return f.actionContext.commit(l+"/"+t,e),[2]}}))}))}))]:[3,2];case 1:return h.sent(),[3,4];case 2:return[4,m(param.type,param.storage,param.propertyKey,param.defaultValue).then((function(e){f.actionContext.commit(l+"/"+t,e)}))];case 3:h.sent(),h.label=4;case 4:return[3,8];case 5:return d=h.sent(),console.warn("storage decorator error",d),[3,8];case 6:return[4,n()];case 7:return h.sent(),[7];case 8:return[2]}}
1))}))})),h.setClientInitMethod(e,n)},y=function(e,t){return t||("native"===e?d.$ustra().mobile.bridge.staticFunctions.storage():"local"===e?f.localStorage:l.sessionStorage)},m=function(e,t,n,c){return void 0===c&&(c=void 0),r(void 0,void 0,void 0,(function(){var r;return o(this,(function(o){switch(o.label){case 0:return[4,y(e,t).getItem(n)];case 1:return r=o.sent(),void 0!==c&&(r=r||c),[2,r]}}))}))},k=function(e,t,n,r){y(e,t).setItem(n,r)};t.default=function(param){return function(param){return function(e,t,n){var r,o,l,f,d=((null===(r=e.constructor)||void 0===r?void 0:r.mutations)?null===(o=e.constructor)||void 0===o?void 0:o.mutations[t]:void 0)||n.value,h=c.wrap(d,(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t[0];e(),k(param.type,param.storage,param.propertyKey,r)}));(null===(l=e.constructor)||void 0===l?void 0:l.mutations)&&(null===(f=e.constructor)||void 0===f?void 0:f.mutations[t])?e.constructor.mutations[t]=h:n.value=h,v(e,t,param)}}(param)}},2005:function(e,t,n){"use strict";var r=n(12);n(18),n(2),n(38);var o,c=this&&this.__extends||(o=function(e,b){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},o(e,b)},function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),l=this&&this.__decorate||function(e,t,n,desc){var o,c=arguments.length,l=c<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,n):desc;if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(l=(c<3?o(l):c>3?o(t,n,l):o(t,n))||l);return c>3&&l&&Object.defineProperty(t,n,l),l},f=this&&this.__metadata||function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreModule=void 0;var d=n(100),h=n(1106),v=n(1115),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.serverError=null,t.configOption={},t.mediaState={},t}var n,r;return c(t,e),t.prototype.setServerError=function(e){this.serverError=e},t.prototype.setConfigOption=function(e){this.configOption=e},t.prototype.setMediaState=function(e){this.mediaState=e},l([d.Mutation,f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",void 0)],t.prototype,"setServerError",null),l([d.Mutation,f("design:type",Function),f("design:paramtypes",["function"==typeof(n=void 0!==h.ConfigOption&&h.ConfigOption)?n:Object]),f("design:returntype",void 0)],t.prototype,"setConfigOption",null),l([d.Mutation,f("design:type",Function),f("design:paramtypes",["function"==typeof(r=void 0!==v.MediaQueryState&&v.MediaQueryState)?r:Object]),f("design:returntype",void 0)],t.prototype,"setMediaState",null),t=l([d.Module({name:"core",namespaced:!0,stateFactory:!0})],t)}(d.VuexModule);t.CoreModule=y},2006:function(e,t,n){"use strict";var r=n(12);n(18),n(2),n(38),n(8),n(9),n(16),n(11),n(10);var o,c=this&&this.__extends||(o=function(e,b){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},o(e,b)},function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),l=this&&this.__decorate||function(e,t,n,desc){var o,c=arguments.length,l=c<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,n):desc;if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(l=(c<3?o(l):c>3?o(t,n,l):o(t,n))||l);return c>3&&l&&Object.defineProperty(t,n,l),l},f=this&&this.__metadata||function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},d=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Prom
1ise))((function(o,c){function l(e){try{d(r.next(e))}catch(e){c(e)}}function f(e){try{d(r.throw(e))}catch(e){c(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,f)}d((r=r.apply(e,t||[])).next())}))},h=this&&this.__generator||function(e,body){var t,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=body.call(e,o)}catch(e){c=[6,e],n=0}finally{t=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.InterfaceModule=void 0;var v=n(100),y=n(111),m=n(63),k=n(166),j=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.interfaces=[],t}var n;return c(t,e),t.prototype.setInterfaces=function(e){this.interfaces=e},t.prototype.nuxtClientInit=function(e){var t;return d(this,void 0,void 0,(function(){var n,r;return h(this,(function(o){switch(o.label){case 0:return(n=null===(t=e.context.$ustra.env.appProp.nuxt.interfaces)||void 0===t?void 0:t.initialDataApiUrl)&&(!this.interfaces||this.interfaces.length<1)?[4,e.context.$ustra.api.call({url:n,method:m.HttpMethod.POST,excludeAuthValidation:!0})]:[3,3];case 1:return r=o.sent(),[4,this.setInterfaces(r.data.body)];case 2:o.sent(),o.label=3;case 3:return[2]}}
1))}))},l([v.Mutation,k.Storage({type:"session",propertyKey:"ustra:interfaces",defaultValue:[]}),f("design:type",Function),f("design:paramtypes",[Array]),f("design:returntype",void 0)],t.prototype,"setInterfaces",null),l([v.Action,f("design:type",Function),f("design:paramtypes",["function"==typeof(n=void 0!==y.CombinedContext&&y.CombinedContext)?n:Object]),f("design:returntype",Promise)],t.prototype,"nuxtClientInit",null),t=l([v.Module({name:"interfaces",namespaced:!0,stateFactory:!0})],t)}(v.VuexModule);t.InterfaceModule=j},2110:function(e,t,n){"use strict";var r=n(12);n(18),n(2),n(38),n(8),n(9),n(16),n(11),n(10),n(267),n(79);var o,c=this&&this.__extends||(o=function(e,b){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},o(e,b)},function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),l=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),f=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),d=this&&this.__decorate||function(e,t,n,desc){var o,c=arguments.length,l=c<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,n):desc;if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(l=(c<3?o(l):c>3?o(t,n,l):o(t,n))||l);return c>3&&l&&Object.defineProperty(t,n,l),l},h=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&l(t,e,n);return f(t,e),t},v=this&&this.__metadata||function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,c){function l(e){try{d(r.next(e))}catch(e){c(e)}}function f(e){try{d(r.throw(e))}catch(e){c(e)}}function d(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,f)}d((r=r.apply(e,t||[])).next())}))},m=this&&this.__generator||function(e,body){var t,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function c(c){return function(l){return function(c){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,n&&(r=2&c[0]?n.return:c[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,c[1])).done)return r;switch(n=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=body.call(e,o)}catch(e){c=[6,e],n=0}finally{t=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,l])}}},k=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthModule=void 0;var j=n(100),w=n(105),O=n(2111),x=n(637),_=n(396),C=k(n(211)),T=h(n(650)),S=h(n(93)),I=n(111),M=function(path){return new C.default({samesite:"None",secure:!0,path:path||"/",httponly:!1,valueConverter:null,keyConverter:null,pure:!0,maxAge:null})},A=function(e){return"session"===e?x.sessionStorage:"local"===e?_.localStorage:O.contextPathSessionStorage},P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.token={accessToken:null,refreshToken:null},t.needAuthCheckClient=!1,t.remainAutoLogoutSec=-1,t.autoLogoutTimer=null,t.authInfo=null,t.roles=[],t.deviceId=null,t.tokenClaim=null,t.authProp=null,t}var n,r;return c(t,e),Object.defineProperty(t.prototype,"accessToken",{get:function(){try{return this.token&&this.token.accessToken?this.token.accessToken:A(this.authProp.jwt.tokenStorageType).getItem(this.authProp.jwt.accessTokenKey)}catch(e){return null}}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){try{return this.token&&this.token.refreshToken?this.token.refreshToken:A(this.authProp.jwt.tokenStorageType).getItem(this.authProp.jwt.refreshTokenKey)}catch(e){return null}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clientData",{get:function(){return this.tokenClaim&&this.tokenClaim.clientData?JSON.parse(this.tokenClaim.clientData):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authenticated",{get:function(){return!this.authInfo&&!!(this.tokenClaim&&this.tokenClaim.sub&&this.tokenClaim.cp)},enumerable:!1,configurable:!0}),t.prototype.reloadToken=function(e){var t,n,r;return y(this,void 0,void 0,(function(){var o,c,l,f,d;return m(this,(function(h){switch(h.label){case 0:return o=this.authProp,c=M(o.jwt.cookiePath),w.webUtils.isBrowser()?e&&e.accessToken?(A(this.authProp.jwt.tokenStorageType).setItem(o.jwt.accessTokenKey,e.accessToken),A(this.authProp.jwt.tokenStorageType).setItem(o.jwt.refreshTokenKey,e.refreshToken),o.jwt.useCookie&&(e.accessToken?e.init&&(console.log("cookieStorage set"),c.setItem(o.jwt.accessTokenKey,e.accessToken)):c.removeItem(o.jwt.accessTokenKey),e.refreshToken?e.init&&c.setItem(o.jwt.refreshTokenKey,e.refreshToken):c.removeItem(o.jwt.refreshTokenKey))):(A(this.authProp.jwt.tokenStorageType).removeItem(o.jwt.accessTokenKey),A(this.authProp.jwt.tokenStorageType).removeItem(o.jwt.refreshTokenKey),c.removeItem(o.jwt.accessTokenKey),c.removeItem(o.jwt.refreshTokenKey)):o.jwt.useCookie&&(e.accessToken?(c.removeItem(o.jwt.accessTokenKey,e.context.req,e.context.res),c.setItem(o.jwt.accessTokenKey,e.accessToken,e.context.req,e.context.res)):c.removeItem(o.jwt.accessTokenKey,e.context.req,e.context.res),e.refreshToken?(c.removeItem(o.jwt.refreshTokenKey,e.context.req,e.context.res),c.setItem(o.jwt.refreshTokenKey,e.refreshToken,e.context.req,e.context.res)):c.removeItem(o.jwt.refreshTokenKey,e.context.req,e.context.res)),l=e.context,f=-1,o.autoLogoutSeconds>0&&l.isClient&&this.authenticated&&(f=o.autoLogoutSeconds),[4,this.setToken(e)];case 1:return h.sent(),this.authInfo?[4,this.setTokenClaim(null)]:[3,3];case 2:return h.sent(),[3,8];case 3:return e.accessToken?[4,T.getJweOrJweClaim(e.accessToken,S.getGlobalObject().__ustra_jwt_token_key__,"none"===this.authProp.jwt.encryption.type||this.authProp.jwt.encryption.withJws)]:[3,6];case 4:return d=h.sent(),[4,this.setTokenClaim(d)];case 5:return h.sent(),[3,8];case 6:return[4,this.setTokenClaim({})];case 7:h.sent(),h.label=8;case 8:return l.isClient?[4,this.setRemainAutoLogoutSec(f)]:[3,11];case 9:return h.sent(),e&&l&&(null===(t=this.tokenClaim)||void 0===t?void 0:t.sub)?[4,l.$ustra.auth.consumeAuthenticationProvider(null===(n=this.tokenClaim)||void 0===n?void 0:n.sub,e.refreshToken,null===(r=this.tokenClaim)||void 0===r?void 0:r.procId)]:[3,11];case 10:h.sent(),h.label=11;case 11:return[2]}}
1))}))},t.prototype.setNeedAuthCheckClient=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.needAuthCheckClient=e,[2]}))}))},t.prototype.setRemainAutoLogoutSec=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.remainAutoLogoutSec=e,[2]}))}))},t.prototype.setAutoLogoutTimer=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.autoLogoutTimer=e,[2]}))}))},t.prototype.setToken=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return e&&delete e.context,this.token=e,[2]}))}))},t.prototype.setAuthInfo=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.authInfo=e,[2]}))}))},t.prototype.setRoles=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.roles=e,[2]}))}))},t.prototype.setDeviceId=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.deviceId=e,[2]}))}))},t.prototype.setTokenClaim=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.tokenClaim=e,[2]}))}))},t.prototype.setAuthProp=function(e){return y(this,void 0,void 0,(function(){return m(this,(function(t){return this.authProp=e,[2]}))}))},t.prototype.applyToken=function(e){return y(this,void 0,void 0,(function(){var t,n,r,o,c,l,f;return m(this,(function(d){switch(d.label){case 0:return t=this.authProp,n=M(t.jwt.cookiePath),w.webUtils.isBrowser()?(r=null,o=null,t.jwt.useCookie&&(r=n.getItem(t.jwt.accessTokenKey),o=n.getItem(t.jwt.refreshTokenKey)),c=r||A(this.authProp.jwt.tokenStorageType).getItem(t.jwt.accessTokenKey),l=o||A(this.authProp.jwt.tokenStorageType).getItem(t.jwt.refreshTokenKey),[4,this.reloadToken({accessToken:c,refreshToken:l,context:e,init:!0})]):[3,3];case 1:return d.sent(),[4,this.startAutoLogoutTimer(e)];case 2:return d.sent(),[3,5];case 3:return t.jwt.useCookie&&((null==(f=e.$ustra.auth.serverToken)?void 0:f.accessToken)||(null==f?void 0:f.refreshToken))?[4,this.reloadToken({accessToken:f.accessToken,refreshToken:f.refreshToken,context:e})]:[3,5];case 4:d.sent(),d.label=5;case 5:return[2]}}
1))}))},t.prototype.startAutoLogoutTimer=function(e){return y(this,void 0,void 0,(function(){var t,n=this;return m(this,(function(r){if(this.remainAutoLogoutSec>0){if(this.autoLogoutTimer)return[2];t=function(){return y(n,void 0,void 0,(function(){return m(this,(function(t){switch(t.label){case 0:return this.remainAutoLogoutSec>=0?this.remainAutoLogoutSec<1?(e.$ustra.auth.doFailureAuth(e.route,!1,"expired"),[2]):[4,this.setRemainAutoLogoutSec(Math.max(this.remainAutoLogoutSec-1,0))]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},this.setAutoLogoutTimer(setInterval(t,1e3))}else this.autoLogoutTimer&&clearTimeout(this.autoLogoutTimer),this.setAutoLogoutTimer(null);return[2]}))}))},t.prototype.nuxtServerInit=function(e){var t;return y(this,void 0,void 0,(function(){var n,r;return m(this,(function(o){switch(o.label){case 0:return[4,this.setAuthProp(e.context.$ustra.env.appProp.app.auth)];case 1:return o.sent(),(n=e.context.req.headers["x-device-id"])?[4,this.setDeviceId(n)]:[3,3];case 2:case 4:return o.sent(),[2];case 3:return(r=null===(t=e.context.req.cookies)||void 0===t?void 0:t["x-device-id"])?[4,this.setDeviceId(r)]:[3,5];case 5:return[2]}}
1))}))},t.prototype.nuxtClientInit=function(e){var t;return y(this,void 0,void 0,(function(){var n,r;return m(this,(function(o){switch(o.label){case 0:return[4,this.setAuthProp(e.context.$ustra.env.appProp.app.auth)];case 1:return o.sent(),n=M((null===(t=e.context.$ustra.env.appProp.app.auth.jwt)||void 0===t?void 0:t.cookiePath)||"/"),this.deviceId?[3,4]:(r=_.localStorage.getItem("x-device-id"))?[4,this.setDeviceId(r)]:[3,3];case 2:o.sent(),n.setItem("x-device-id",r),o.label=3;case 3:return[3,5];case 4:_.localStorage.setItem("x-device-id",this.deviceId),n.setItem("x-device-id",this.deviceId),o.label=5;case 5:return this.accessToken?[4,this.reloadToken({accessToken:this.accessToken,refreshToken:this.refreshToken,context:e.context,init:!0})]:[3,7];case 6:return o.sent(),[3,9];case 7:return[4,this.applyToken(e.context)];case 8:o.sent(),o.label=9;case 9:return this.needAuthCheckClient&&!this.authenticated?(e.context.$ustra.nuxt.onReady((function(){return e.context.$ustra.auth.doFailureAuth(e.context.route,!1)})),[2]):[4,this.startAutoLogoutTimer(e.context)];case 10:return o.sent(),[2]}}))}))},d([j.Action,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"reloadToken",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Boolean]),v("design:returntype",Promise)],t.prototype,"setNeedAuthCheckClient",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Number]),v("design:returntype",Promise)],t.prototype,"setRemainAutoLogoutSec",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setAutoLogoutTimer",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setToken",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setAuthInfo",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setRoles",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setDeviceId",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setTokenClaim",null),d([j.Mutation,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"setAuthProp",null),d([j.Action,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"applyToken",null),d([j.Action,v("design:type",Function),v("design:paramtypes",[Object]),v("design:returntype",Promise)],t.prototype,"startAutoLogoutTimer",null),d([j.Action,v("design:type",Function),v("design:paramtypes",["function"==typeof(n=void 0!==I.CombinedContext&&I.CombinedContext)?n:Object]),v("design:returntype",Promise)],t.prototype,"nuxtServerInit",null),d([j.Action,v("design:type",Function),v("design:paramtypes",["function"==typeof(r=void 0!==I.CombinedContext&&I.CombinedContext)?r:Object]),v("design:returntype",Promise)],t.prototype,"nuxtClientInit",null),t=d([j.Module({name:"auth",namespaced:!0,stateFactory:!0})],t)}(j.VuexModule);t.AuthModule=P},2119:function(e,t,n){"use strict";var r=n(12);n(18),n(2),n(38),n(208),n(118);var o,c=this&&this.__extends||(o=function(e,b){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p])},o(e,b)},function(e,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),l=this&&this.__decorate||function(e,t,n,desc){var o,c=arguments.length,l=c<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,n):desc;if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(l=(c<3?o(l):c>3?o(t,n,l):o(t,n))||l);return c>3&&l&&Object.defineProperty(t,n,l),l},f=this&&this.__metadata||function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.ModalModule=void 0;var d=n(100),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openStateModals=[],t.globalModals={},t}return c(t,e),Object.defineProperty(t.prototype,"currentModalComponent",{get:function(){return this.openStateModals.length<1?null:this.openStateModals[this.openStateModals.length-1]},enumerable:!1,configurable:!0}),t.prototype.addModal=function(option){this.openStateModals.push(option.modalComponent)},t.prototype.removeModal=function(){this.openStateModals.pop()},t.prototype.removeModalById=function(e){var t=this.openStateModals.findIndex((function(t){return t.uid===e}));t>-1&&this.openStateModals.splice(t,1)},l([d.Action,f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",void 0)],t.prototype,"addModal",null),l([d.Action,f("design:type",Function),f("design:paramtypes",[]),f("design:returntype",void 0)],t.prototype,"removeModal",null),l([d.Action,f("design:type",Function),f("design:paramtypes",[Object]),f("design:returntype",void 0)],t.prototype,"removeModalById",null),t=l([d.Module({name:"modal",namespaced:!0,stateFactory:!0})],t)}(d.VuexModule);t.ModalModule=h},2159:function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,o,c){if(n)e(n);else if(o.statusCode>=400&&o.statusCode<=599){var l=c;if(t)if(r.TextDecoder){var f=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],o=n[1];return"charset"===r.trim()?o.trim():e}),"utf-8")}(o.headers&&o.headers["content-type"]);try{l=new TextDecoder(f).decode(c)}catch(e){}}else l=String.fromCharCode.apply(null,new Uint8Array(c));e({cause:l})}else e(null,c)}}},246:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(15),o=Object(r.k)([73,68,51]),c=function e(t,n){return void 0===n&&(n=0),(t=Object(r.k)(t)).length-n<10||!Object(r.a)(t,o,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=Object(r.k)(e))[t+5],o=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?o+20:o+10}(t,n),e(t,n))}},297:function(e,t,n){"use strict";var r=n(666),o=n.n(r),c=n(3),l=n.n(c),f="http://example.com";t.a=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=l.a.location&&l.a.location.href||"");var n="function"==typeof l.a.URL,r=/^\/\//.test(e),c=!l.a.location&&!/\/\//i.test(e);if(n?e=new l.a.URL(e,l.a.location||f):/\/\//i.test(e)||(e=o.a.buildAbsoluteURL(l.a.location&&l.a.location.href||"",e)),n){var d=new URL(t,e);return c?d.href.slice(f.length):r?d.href.slice(d.protocol.length):d.href}return o.a.buildAbsoluteURL(e,t)}},344:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return P}));var r,o=n(15),c=(new Uint8Array([79,112,117,115,72,101,97,100]),function(path){return"string"==typeof path?Object(o.h)(path):path}),l=function(e){e=Object(o.k)(e);for(var t=[],i=0;e.length>i;){var n=e[i],c=0,l=0,f=e[++l];for(l++;128&f;)c=(127&f)<<7,f=e[l],l++;c+=127&f;for(var d=0;d<r.length;d++){var h=r[d],v=h.id,y=h.parser;if(n===v){t.push(y(e.subarray(l,l+c)));break}}i+=c+l}return t};r=[{id:3,parser:function(e){var desc={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&desc.flags&&(desc.dependsOnEsId=e[desc.size]<<8|e[desc.size+1],desc.size+=2),64&desc.flags){var t=e[desc.size];desc.url=Object(o.c)(e.subarray(desc.size+1,desc.size+1+t)),desc.size+=t}return 32&desc.flags&&(desc.ocrEsId=e[desc.size]<<8|e[desc.size+1],desc.size+=2),desc.descriptors=l(e.subarray(desc.size))||[],desc}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:l(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var f=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(p){return c(p)})):[c(e)]}(n),t=Object(o.k)(t);var l=[];if(!n.length)return l;for(var i=0;i<t.length;){var f=(t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3])>>>0,d=t.subarray(i+4,i+8);if(0===f)break;var h=i+f;if(h>t.length){if(r)break;h=t.length}var data=t.subarray(i+8,h);Object(o.a)(d,n[0])&&(1===n.length?l.push(data):l.push.apply(l,e(data,n.slice(1),r))),i=h}return l},d={EBML:Object(o.k)([26,69,223,163]),DocType:Object(o.k)([66,130]),Segment:Object(o.k)([24,83,128,103]),SegmentInfo:Object(o.k)([21,73,169,102]),Tracks:Object(o.k)([22,84,174,107]),Track:Object(o.k)([174]),TrackNumber:Object(o.k)([215]),DefaultDuration:Object(o.k)([35,227,131]),TrackEntry:Object(o.k)([174]),TrackType:Object(o.k)([131]),FlagDefault:Object(o.k)([136]),CodecID:Object(o.k)([134]),CodecPr
1ivate:Object(o.k)([99,162]),VideoTrack:Object(o.k)([224]),AudioTrack:Object(o.k)([225]),Cluster:Object(o.k)([31,67,182,117]),Timestamp:Object(o.k)([231]),TimestampScale:Object(o.k)([42,215,177]),BlockGroup:Object(o.k)([160]),BlockDuration:Object(o.k)([155]),Block:Object(o.k)([161]),SimpleBlock:Object(o.k)([163])},h=[128,64,32,16,8,4,2,1],v=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var c=function(e){for(var t=1,i=0;i<h.length&&!(e&h[i]);i++)t++;return t}(e[t]),l=e.subarray(t,t+c);return n&&((l=Array.prototype.slice.call(e,t,t+c))[0]^=h[c-1]),{length:c,value:Object(o.b)(l,{signed:r}),bytes:l}},y=function e(path){return"string"==typeof path?path.match(/.{1,2}/g).map((function(p){return e(p)})):"number"==typeof path?Object(o.f)(path):path},m=function e(t,n,r){if(r>=n.length)return n.length;var c=v(n,r,!1);if(Object(o.a)(t.bytes,c.bytes))return r;var l=v(n,r+c.length);return e(t,n,r+l.length+l.value+c.length)},k=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(p){return y(p)})):[y(e)]}(n),t=Object(o.k)(t);var r=[];if(!n.length)return r;for(var i=0;i<t.length;){var c=v(t,i,!1),l=v(t,i+c.length),f=i+c.length+l.length;127===l.value&&(l.value=m(c,t,f),l.value!==t.length&&(l.value-=f));var d=f+l.value>t.length?t.length:f+l.value,data=t.subarray(f,d);Object(o.a)(n[0],c.bytes)&&(1===n.length?r.push(data):r=r.concat(e(data,n.slice(1)))),i+=c.length+l.length+data.length}return r},j=n(246),w=Object(o.k)([0,0,0,1]),O=Object(o.k)([0,0,1]),x=Object(o.k)([0,0,3]),_=function(e){for(var t=[],i=1;i<e.length-2;)Object(o.a)(e.subarray(i,i+3),x)&&(t.push(i+2),i++),i++;if(0===t.length)return e;var n=e.length-t.length,r=new Uint8Array(n),c=0;for(i=0;i<n;c++,i++)c===t[0]&&(c++,t.shift()),r[i]=e[c];return r},C=function(e,t,n,r){void 0===r&&(r=1/0),e=Object(o.k)(e),n=[].concat(n);for(var c,i=0,l=0;i<e.length&&(l<r||c);){var f=void 0;if(Object(o.a)(e.subarray(i),w)?f=4:Object(o.a)(e.subarray(i),O)&&(f=3),f){if(l++,c)return _(e.subarray(c,i));var d=void 0;"h264"===t?d=31&e[i+f]:"h265"===t&&(d=e[i+f]>>1&63),-1!==n.indexOf(d)&&(c=i+f),i+=f+("h264"===t?1:2)}else i++}return e.subarray(0,0)},T={webm:Object(o.k)([119,101,98,109]),matroska:Object(o.k)([109,97,116,114,111,115,107,97]),flac:Object(o.k)([102,76,97,67]),ogg:Object(o.k)([79,103,103,83]),ac3:Object(o.k)([11,119]),riff:Object(o.k)([82,73,70,70]),avi:Object(o.k)([65,86,73]),wav:Object(o.k)([87,65,86,69]),"3gp":Object(o.k)([102,116,121,112,51,103]),mp4:Object(o.k)([102,116,121,112]),fmp4:Object(o.k)([115,116,121,112]),mov:Object(o.k)([102,116,121,112,113,116]),moov:Object(o.k)([109,111,111,118]),moof:Object(o.k)([109,111,111,102])},S={aac:function(e){var t=Object(j.a)(e);return Object(o.a)(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=Object(j.a)(e);return Object(o.a)(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=k(e,[d.EBML,d.DocType])[0];return Object(o.a)(t,T.webm)},mkv:function(e){var t=k(e,[d.EBML,d.DocType])[0];return Object(o.a)(t,T.matroska)},mp4:function(e){return!S["3gp"](e)&&!S.mov(e)&&(!(!Object(o.a)(e,T.mp4,{offset:4})&&!Object(o.a)(e,T.fmp4,{offset:4}))||(!(!Object(o.a)(e,T.moof,{offset:4})&&!Object(o.a)(e,T.moov,{offset:4}))||void 0))},mov:function(e){return Object(o.a)(e,T.mov,{offset:4})},"3gp":function(e){return Object(o.a)(e,T["3gp"],{offset:4})},ac3:function(e){var t=Object(j.a)(e);return Object(o.a)(e,T.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var i=0;i+188<e.length&&i<188;){if(71===e[i]&&71===e[i+188])return!0;i+=1}return!1},flac:function(e){var t=Object(j.a)(e);return Object(o.a)(e,T.flac,{offset:t})},ogg:function(e){return Object(o.a)(e,T.ogg)},avi:function(e){return Object(o.a)(e,T.riff)&&Object(o.a)(e,T.avi,{offset:8})},wav:function(e){return Object(o.a)(e,T.riff)&&Object(o.a)(e,T.wav,{offset:8})},h264:function(e){return function(e,t,n){return C(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return C(e,"h265",t,n)}(e,[32,33],3).length}},I=Object.keys(S).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);I.forEach((function(e){var t=S[e];S[e]=function(e){return t(Object(o.k)(e))}}));var M=S,A=function(e){e=Object(o.k)(e);for(var i=0;i<I.length;i++){var t=I[i];if(M[t](e))return t}return""},P=function(e){return f(e,["moof"]).length>0}},555:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(3),o=n.n(r);function c(t){for(var s,n=(s=t,o.a.atob?o.a.atob(s):e.from(s,"base64").toString("binary")),r=new 
1Uint8Array(n.length),i=0;i<n.length;i++)r[i]=n.charCodeAt(i);return r}}).call(this,n(51).Buffer)},561:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,i=0;i<n;++i)t[i].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),o=t.length,c=0;c<o;++c)t[c].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(data){e.push(data)}))},e}()},664:function(e,t,n){"use strict";var r=n(3),o=n(2157),c=n(2158);f.httpHandler=n(2159);function l(e,t,n){var r=e;return c(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=o({},t,{uri:e}),r.callback=n,r}function f(e,t,n){return d(t=l(e,t,n))}function d(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,body){t||(t=!0,e.callback(n,r,body))};function r(){var body=void 0;if(body=h.response?h.response:h.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(h),w)try{body=JSON.parse(body)}catch(e){}return body}function o(e){return clearTimeout(v),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,O)}function c(){if(!d){var t;clearTimeout(v),t=e.useXDR&&void 0===h.status?200:1223===h.status?204:h.status;var o=O,c=null;return 0!==t?(o={body:r(),statusCode:t,method:m,headers:{},url:y,rawRequest:h},h.getAllResponseHeaders&&(o.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]})),t):t}(h.getAllResponseHeaders()))):c=new Error("Internal XMLHttpRequest Error"),n(c,o,o.body)}}var l,d,h=e.xhr||null;h||(h=e.cors||e.useXDR?new f.XDomainRequest:new f.XMLHttpRequest);var v,y=h.url=e.uri||e.url,m=h.method=e.method||"GET",body=e.body||e.data,k=h.headers=e.headers||{},j=!!e.sync,w=!1,O={body:void 0,headers:{},statusCode:0,method:m,url:y,rawRequest:h};if("json"in e&&!1!==e.json&&(w=!0,k.accept||k.Accept||(k.Accept="application/json"),"GET"!==m&&"HEAD"!==m&&(k["content-type"]||k["Content-Type"]||(k["Content-Type"]="application/json"),body=JSON.stringify(!0===e.json?body:e.json))),h.onreadystatechange=function(){4===h.readyState&&setTimeout(c,0)},h.onload=c,h.onerror=o,h.onprogress=function(){},h.onabort=function(){d=!0},h.ontimeout=o,h.open(m,y,!j,e.username,e.password),j||(h.withCredentials=!!e.withCredentials),!j&&e.timeout>0&&(v=setTimeout((function(){if(!d){d=!0,h.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}}),e.timeout)),h.setRequestHeader)for(l in k)k.hasOwnProperty(l)&&h.setRequestHeader(l,k[l]);else if(e.headers&&!function(e){for(var i in e)if(e.hasOwnProperty(i))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(h.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(h),h.send(body||null),h}e.exports=f,e.exports.default=f,f.XMLHttpRequest=r.XMLHttpRequest||function(){},f.XDomainRequest="withCredentials"in new f.XMLHttpRequest?f.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var i=0;i<e.length;i++)t(e[i])}(["get","put","post","patch","head","delete"],(function(e){f["delete"===e?"del":e]=function(t,n,r){return(n=l(t,n,r)).method=e.toUpperCase(),d(n)}}))},667:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,o=/^application\/dash\+xml/i,c=function(e){return r.test(e)?"hls":o.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null}},69:function(e,t,n){"use strict";n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return y}
1)),n.d(t,"e",(function(){return m})),n.d(t,"c",(function(){return k})),n.d(t,"g",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return O}));var r=n(3),o=n.n(r),c={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},l=["video","audio","text"],f=["Video","Audio","Text"],d=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},h=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),l.forEach((function(r){var o=c[r].exec(e.toLowerCase());if(o&&!(o.length<=1)){t=r;var l=e.substring(0,o[1].length),details=e.replace(l,"");n.push({type:l,details:details,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},v=function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var o=n[r];if(o.default&&o.playlists)return h(o.playlists[0].attributes.CODECS)}return null},y=function(e){return void 0===e&&(e=""),c.audio.test(e.trim().toLowerCase())},m=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return d(e.trim())})),r="video";1===n.length&&y(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),c.text.test(t.trim().toLowerCase()))&&(r="application");var o="mp4";return n.every((function(e){return c.mp4.test(e)}))?o="mp4":n.every((function(e){return c.webm.test(e)}))?o="webm":n.every((function(e){return c.ogg.test(e)}))&&(o="ogg"),r+"/"+o+';codecs="'+e+'"'}},k=function(e){return void 0===e&&(e=""),o.a.MediaSource&&o.a.MediaSource.isTypeSupported&&o.a.MediaSource.isTypeSupported(m(e))||!1},j=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var i=0;i<f.length;i++){if(c["muxer"+f[i]].test(e))return!0}return!1}))},w="mp4a.40.2",O="avc1.4d400d"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.