(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+924":function(e,t,n){"use strict";n.d(t,"d",function(){return i}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n("9AQC");function i(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t?e:e.length<=t?e:e.substr(0,t)+"..."}function o(e,t){var n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);var i=Math.max(t-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return function(t){for(var n=0,r=e.length;n0){r+='\n';for(var s=1;s"+a.cells[s].textContent+"\n";r+="\n"}}r+="";var l="data:text/xml;base64,"+t.btoa(r);e.download?(t.downloadFromDataURL(e.fileName,l),n.next()):n.next(l),n.complete()})},e.prototype.btoa=function(e){return btoa(unescape(encodeURIComponent(e)))},e.decorators=[{type:r.Injectable}],e.ctorParameters=function(){return[]},e}(),d=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{providers:[c]}]}],e}()},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"//lp":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("AytR"),i=(n("7wD8"),n("67Y/")),o=n("GUC0"),a=n.n(o),s=function(){function e(e,t){this.http=e,this._usuarioService=t,this.totalAgencias=0}return e.prototype.getAgencias=function(e){var t=r.b+"/agencias/"+e;return t+="?token="+this._usuarioService.token,this.http.get(t)},e.prototype.getAgencia=function(e){var t=r.b+"/agencias/agencia/"+e;return t+="?token="+this._usuarioService.token,this.http.get(t).pipe(Object(i.a)(function(e){return e.agencia}))},e.prototype.guardarAgencia=function(e){var t=r.b+"/agencias/agencia";return e._id?(t+="/"+e._id,t+="?token="+this._usuarioService.token,this.http.put(t,e).pipe(Object(i.a)(function(t){return a()("Agencia Actualizada",e.nombreComercial,"success"),t.agencia}))):(t+="?token="+this._usuarioService.token,this.http.post(t,e).pipe(Object(i.a)(function(t){return a()("Agencia Creada",e.nombreComercial,"success"),t.agencia})))},e.prototype.borrarAgencia=function(e){var t=r.b+"/agencias/agencia/"+e;return t+="?token="+this._usuarioService.token,this.http.delete(t).pipe(Object(i.a)(function(e){return a()("Agencia Borrada","Eliminado correctamente","success")}))},e.prototype.habilitarDeshabilitarAgencia=function(e,t){var n=r.b+"/agencias/agenciaDes/"+e._id;return n+="?token="+this._usuarioService.token,this.http.put(n,{activo:t}).pipe(Object(i.a)(function(t){return a()("Correcto","Cambio de estado de la Agencia "+e.nombreComercial+"realizado con exito","success"),!0}))},e}()},"/VYK":function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return m});var r=n("dWZg"),i=n("CcnG"),o=n("n6gG"),a=n("G5J1"),s=n("K9Ia"),l=n("bne5"),u=n("Rney"),c=n("ny24"),d=Object(r.f)({passive:!0}),f=function(){function e(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}return e.prototype.monitor=function(e){var t=this;if(!this._platform.isBrowser)return a.a;var n=Object(o.e)(e),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new s.a,l="cdk-text-field-autofilled",u=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(l)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(l)&&(n.classList.remove(l),t._ngZone.run(function(){return i.next({target:e.target,isAutofilled:!1})})):(n.classList.add(l),t._ngZone.run(function(){return i.next({target:e.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",u,d),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",u,d)}}),i.asObservable()},e.prototype.stopMonitoring=function(e){var t=Object(o.e)(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))},e.prototype.ngOnDestroy=function(){var e=this;this._monitoredElements.forEach(function(t,n){return e.stopMonitoring(n)})},e.decorators=[{type:i.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:r.a},{type:i.NgZone}]},e.ngInjectableDef=Object(i.defineInjectable)({factory:function(){return new e(Object(i.inject)(r.a),Object(i.inject)(i.NgZone))},token:e,providedIn:"root"}),e}(),h=function(){function e(e,t){this._elementRef=e,this._autofillMonitor=t,this.cdkAutofill=new i.EventEmitter}return e.prototype.ngOnInit=function(){var e=this;this._autofillMonitor.monitor(this._elementRef).subscribe(function(t){return e.cdkAutofill.emit(t)})},e.prototype.ngOnDestroy=function(){this._autofillMonitor.stopMonitoring(this._elementRef)},e.decorators=[{type:i.Directive,args:[{selector:"[cdkAutofill]"}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:f}]},e.propDecorators={cdkAutofill:[{type:i.Output}]},e}(),p=function(){function e(e,t,n){this._elementRef=e,this._platform=t,this._ngZone=n,this._destroyed=new s.a,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}return Object.defineProperty(e.prototype,"minRows",{get:function(){return this._minRows},set:function(e){this._minRows=e,this._setMinHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxRows",{get:function(){return this._maxRows},set:function(e){this._maxRows=e,this._setMaxHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){e=Object(o.c)(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())},enumerable:!0,configurable:!0}),e.prototype._setMinHeight=function(){var e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)},e.prototype._setMaxHeight=function(){var e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)},e.prototype.ngAfterViewInit=function(){var e=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){Object(l.a)(window,"resize").pipe(Object(u.a)(16),Object(c.a)(e._destroyed)).subscribe(function(){return e.resizeToFitContent(!0)})}))},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}},e.prototype.ngDoCheck=function(){this._platform.isBrowser&&this.resizeToFitContent()},e.prototype.resizeToFitContent=function(e){var t=this;if(void 0===e&&(e=!1),this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,r=n.value;if(e||this._minRows!==this._previousMinRows||r!==this._previousValue){var i=n.placeholder;n.classList.add("cdk-textarea-autosize-measuring"),n.placeholder="";var o=n.scrollHeight-4;n.style.height=o+"px",n.classList.remove("cdk-textarea-autosize-measuring"),n.placeholder=i,this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return t._scrollToCaretPosition(n)}):setTimeout(function(){return t._scrollToCaretPosition(n)})}),this._previousValue=r,this._previousMinRows=this._minRows}}},e.prototype.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)},e.prototype._noopInputHandler=function(){},e.prototype._scrollToCaretPosition=function(e){var t=e.selectionStart,n=e.selectionEnd;this._destroyed.isStopped||document.activeElement!==e||e.setSelectionRange(t,n)},e.decorators=[{type:i.Directive,args:[{selector:"textarea[cdkTextareaAutosize]",exportAs:"cdkTextareaAutosize",host:{class:"cdk-textarea-autosize",rows:"1","(input)":"_noopInputHandler()"}}]}],e.ctorParameters=function(){return[{type:i.ElementRef},{type:r.a},{type:i.NgZone}]},e.propDecorators={minRows:[{type:i.Input,args:["cdkAutosizeMinRows"]}],maxRows:[{type:i.Input,args:["cdkAutosizeMaxRows"]}],enabled:[{type:i.Input,args:["cdkTextareaAutosize"]}]},e}(),m=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{declarations:[h,p],imports:[r.b],exports:[h,p]}]}],e}()},"/WYv":function(e,t,n){"use strict";function r(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return r})},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(e,t){},"0/uQ":function(e,t,n){"use strict";var r=n("6blF"),i=n("/WYv"),o=n("2ePl"),a=n("xTla");var s=n("En8+");var l=n("IUTb"),u=n("pugT"),c=n("S5XQ");var d=n("u67D");var f=n("JcRv");var h=n("Fxb1");function p(e,t){if(!t)return e instanceof r.a?e:new r.a(Object(h.a)(e));if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return t?new r.a(function(n){var r=new u.a;return r.add(t.schedule(function(){var i=e[a.a]();r.add(i.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}):new r.a(Object(f.a)(e))}(e,t);if(Object(i.a)(e))return function(e,t){return t?new r.a(function(n){var r=new u.a;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}):new r.a(Object(c.a)(e))}(e,t);if(Object(o.a)(e))return Object(l.a)(e,t);if(function(e){return e&&"function"==typeof e[s.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return t?new r.a(function(n){var r,i=new u.a;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(function(){r=e[s.a](),i.add(t.schedule(function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),i}):new r.a(Object(d.a)(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}n.d(t,"a",function(){return p})},"0CBe":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("AytR"),i=function(){function e(){}return e.prototype.transform=function(e,t){void 0===t&&(t="usuario");var n=r.b+"/documentos/documentoxtipo";if(!e)return n+"/usuarios/xxx";if(e.indexOf("https")>=0)return e;switch(t){case"usuario":n+="/usuarios/"+e;break;case"cliente":n+="/clientes/"+e;break;case"operador":n+="/operadores/"+e;break;case"camion":n+="/camiones/"+e;break;case"viaje":n+="/viajes/"+e;break;case"solicitud":n+="/solicitudes/"+e;break;case"xml":n+="/cfdi/"+e;break;case"pdf":n+="/cfdiP/"+e;break;case"temp":n+="/temp/"+e;break;default:n+="/usuarios/xxx"}return n},e}()},"0ERz":function(e,t,n){var r;e.exports=function(){function e(e){this.mode=n.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,r=this.data.length;t65536?(i[0]=240|(1835008&o)>>>18,i[1]=128|(258048&o)>>>12,i[2]=128|(4032&o)>>>6,i[3]=128|63&o):o>2048?(i[0]=224|(61440&o)>>>12,i[1]=128|(4032&o)>>>6,i[2]=128|63&o):o>128?(i[0]=192|(1984&o)>>>6,i[1]=128|63&o):i[0]=o,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=a.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(var n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=a.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(var i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var l=0;l<2;l++)if(null==this.modules[r][s-l]){var u=!1;o>>i&1));var c=a.getMask(t,r,s-l);c&&(u=!u),this.modules[r][s-l]=u,-1==--i&&(o++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,r){for(var i=c.getRSBlocks(e,n),o=new d,s=0;s8*u)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*u+")");for(o.getLengthInBits()+4<=8*u&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*u||(o.put(t.PAD0,8),o.getLengthInBits()>=8*u));)o.put(t.PAD1,8);return t.createBytes(o,i)},t.createBytes=function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),s=new Array(t.length),l=0;l=0?m.get(g):0}}for(var A=0,f=0;f=0;)t^=a.G15<=0;)t^=a.G18<>>=1;return t},getPatternPosition:function(e){return a.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case o.PATTERN000:return(t+n)%2==0;case o.PATTERN001:return t%2==0;case o.PATTERN010:return n%3==0;case o.PATTERN011:return(t+n)%3==0;case o.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case o.PATTERN101:return t*n%2+t*n%3==0;case o.PATTERN110:return(t*n%2+t*n%3)%2==0;case o.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new u([1],0),n=0;n5&&(n+=3+o-5)}for(var r=0;r=256;)e-=255;return s.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},l=0;l<8;l++)s.EXP_TABLE[l]=1<>>7-e%8&1)},put:function(e,t){for(var n=0;n>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var f=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function h(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}var p=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,n=this._el,r=e.getModuleCount();function i(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}Math.floor(t.width/r),Math.floor(t.height/r),this.clear();var o=i("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:t.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(o),o.appendChild(i("rect",{fill:t.colorLight,width:"100%",height:"100%"})),o.appendChild(i("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a'],s=0;s");for(var l=0;l');a.push("")}a.push(""),n.innerHTML=a.join("");var u=n.childNodes[0],c=(t.width-u.offsetWidth)/2,d=(t.height-u.offsetHeight)/2;c>0&&d>0&&(u.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}():function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var t=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,r,i,o,a,s,l,u,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*t;else void 0===u&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);n.apply(this,arguments)}}var r=function(e,t){this._bIsPainted=!1,this._android=h(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return r.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),l=Math.round(a);t.style.display="none",this.clear();for(var u=0;uf.length)throw new Error("Too long data");return n}(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},r.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},r.prototype.clear=function(){this._oDrawing.clear()},r.CorrectLevel=i,r}()},"0fyx":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("AytR"),i=(n("7wD8"),n("67Y/")),o=function(){function e(e,t,n){this.http=e,this.router=t,this._usuarioService=n}return e.prototype.getManiobras=function(e){var t=r.b+"/maniobras/locations";return t+="?token="+this._usuarioService.token,t+="&cargadescarga="+e.cargadescarga,t+="&ubicacion="+e.ubicacion,e.naviera&&(t+="&naviera="+e.naviera),this.http.get(t).pipe(Object(i.a)(function(e){return e}))},e.prototype.getTotalesManiobrasUbicacion=function(){var e=r.b+"/maniobras/locations-totales";return e+="?token="+this._usuarioService.token,this.http.get(e).pipe(Object(i.a)(function(e){return e}))},e}()},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0np6":function(e,t,n){"use strict";var r=function(){return function(e,t){this.id=e,this.descripcion=t}}(),i=function(){return function(e,t){this.id=e,this.descripcion=t}}();n.d(t,"g",function(){return o}),n.d(t,"k",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"h",function(){return u}),n.d(t,"i",function(){return c}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return f}),n.d(t,"e",function(){return h}),n.d(t,"l",function(){return p}),n.d(t,"m",function(){return m}),n.d(t,"n",function(){return g}),n.d(t,"j",function(){return A}),n.d(t,"o",function(){return v}),n.d(t,"p",function(){return b}),n.d(t,"s",function(){return y}),n.d(t,"f",function(){return _}),n.d(t,"q",function(){return w}),n.d(t,"r",function(){return C}),n.d(t,"t",function(){return E}),n.d(t,"u",function(){return S}),n.d(t,"v",function(){return k});var o="https://2199e7fcc6ee44ec9dbb6ea6e2ff54a3@sentry.io/2275987",a="TLR1308235K8",s={APROBACION:"APROBACION",APROBADO:"APROBADO",TRANSITO:"TRANSITO",ESPERA:"ESPERA",REVISION:"REVISION",LAVADO_REPARACION:"LAVADO_REPARACION",DISPONIBLE:"DISPONIBLE",XCARGAR:"XCARGAR",CARGADO:"CARGADO"},l=["APROBACION","APROBADO","TRANSITO","ESPERA","REVISION","LAVADO_REPARACION","DISPONIBLE","XCARGAR","CARGADO"],u={POLIGONO:"POLIGONO INDUSTRIAL",UMAN:"UMAN",SKY:"SKY PARK",PARAISO:"PARA\xcdSO"},c=["POLIGONO INDUSTRIAL","UMAN","SKY PARK","PARA\xcdSO"],d={VACIO:"VACIO",VACIO_IMPORT:"VACIO_IMPORT",VACIO_EXPORT:"VACIO_EXPORT",LLENO_IMPORT:"LLENO_IMPORT",LLENO_EXPORT:"LLENO_EXPORT"},f=["VACIO","VACIO_IMPORT","VACIO_EXPORT","LLENO_IMPORT","LLENO_EXPORT"],h=["A","B","C","D","Z","W"],p={ADMIN_ROLE:"ADMIN_ROLE",PATIOADMIN_ROLE:"PATIOADMIN_ROLE",PATIO_ROLE:"PATIO_ROLE",PATIO_AUX_ROLE:"PATIO_AUX_ROLE",NAVIERA_ROLE:"NAVIERA_ROLE",TRANSPORTISTA_ROLE:"TRANSPORTISTA_ROLE",AA_ROLE:"AA_ROLE",CLIENT_ROLE:"CLIENT_ROLE"},m=[{_id:"ADMIN_ROLE",descripcion:"ADMINISTRADOR"},{_id:"PATIOADMIN_ROLE",descripcion:"ADMIN CONTAINER PARK"},{_id:"PATIO_ROLE",descripcion:"PATIO COINTAINER PARK"},{_id:"PATIO_AUX_ROLE",descripcion:"AUXILIAR PATIO COINTAINER PARK"},{_id:"NAVIERA_ROLE",descripcion:"NAVIERA"},{_id:"TRANSPORTISTA_ROLE",descripcion:"TRANSPORTISTA"},{_id:"AA_ROLE",descripcion:"AGENCIA ADUANAL"},{_id:"CLIENT_ROLE",descripcion:"CLIENTE"}],g={NA:"NA",ESPERA:"ESPERA",NULL:"NULL"},A=[{_id:"ASIGNACION_EQUIPO",descripcion:"ASIGANCION_EQUIPO"},{_id:"ASIGNACION_TRANSPORTISTA",descripcion:"ASIGNACION_TRANSPORTISTA"}],v=[new r("BASICO","Basico"),new r("ESPECIAL","Especial")],b=[new i("LAVADO","Lavado"),new i("REPARACION","Reparacion"),new i("ACONDICIONAMIENTO","Acondicionamiento")],y=["TRASLADO","RETENCION"],_=["IVA","IEPS","ISR"],w=[{valor:"I",descripcion:"Insumo"},{valor:"M",descripcion:"Mano de Obra"}],C=["LAVADO_BASICO","LAVADO_ESPECIAL","ACONDICIONAMIENTO_BASICO","ACONDICIONAMIENTO_CAMBIO_GRADO","REPARACION","INDEFINIDO"],E=[{seccion:"TECHO",zonas:["1","2","3","4","5","6","7","8","9","10"]},{seccion:"PISO",zonas:["1","2","3","4","5","6","7","8","9","10"]},{seccion:"PANEL IZQUIERDO",zonas:["1","2","3","4","5","6","7","8","9","10"]},{seccion:"PANEL DERECHO",zonas:["1","2","3","4","5","6","7","8","9","10"]},{seccion:"PUERTA",zonas:["IZQUIERDA","DERECHA"]},{seccion:"FRONTAL",zonas:["1","RIEL SUPERIOR","RIEL INFERIOR"]},{seccion:"MARCO",zonas:["1"]}],S=["CLIENTE","NAVIERA","AGENCIA","REIM","POR DEFINIR"],k=["CONSUMO_INTERNO","MERMA","DESPERDICIO","AJUSTE_INVENTARIO","DEVOLUCION_PROVEEDOR","PERDIDA_DANIO"]},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n("wd/R"))},"0z79":function(e,t,n){var r=n("AdPF"),i=n("CUme"),o=n("cpc2"),a=n("Yvos"),s=n("HjK1")("engine.io-client:polling-xhr");function l(){}function u(e){if(i.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,global.location){var t="https:"===location.protocol,n=location.port;n||(n=t?443:80),this.xd=e.hostname!==global.location.hostname||n!==e.port,this.xs=e.secure!==t}}function c(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function d(){for(var e in c.requests)c.requests.hasOwnProperty(e)&&c.requests[e].abort()}e.exports=u,e.exports.Request=c,a(u,i),u.prototype.supportsBinary=!0,u.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new c(e)},u.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,r=this.request({method:"POST",data:e,isBinary:n}),i=this;r.on("success",t),r.on("error",function(e){i.onError("xhr post error",e)}),this.sendXhr=r},u.prototype.doPoll=function(){s("xhr poll");var e=this.request(),t=this;e.on("data",function(e){t.onData(e)}),e.on("error",function(e){t.onError("xhr poll error",e)}),this.pollXhr=e},o(c.prototype),c.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new r(e),n=this;try{s("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var i in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(i)&&t.setRequestHeader(i,this.extraHeaders[i])}catch(o){}if("POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(o){}try{t.setRequestHeader("Accept","*/*")}catch(o){}"withCredentials"in t&&(t.withCredentials=!0),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){n.onLoad()},t.onerror=function(){n.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");n.supportsBinary&&"application/octet-stream"===e&&(t.responseType="arraybuffer")}catch(o){}4===t.readyState&&(200===t.status||1223===t.status?n.onLoad():setTimeout(function(){n.onError(t.status)},0))},s("xhr data %s",this.data),t.send(this.data)}catch(o){return void setTimeout(function(){n.onError(o)},0)}global.document&&(this.index=c.requestsCount++,c.requests[this.index]=this)},c.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},c.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},c.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},c.prototype.cleanup=function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l,e)try{this.xhr.abort()}catch(t){}global.document&&delete c.requests[this.index],this.xhr=null}},c.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(n){}e="application/octet-stream"===t&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=e&&this.onData(e)},c.prototype.hasXDR=function(){return void 0!==global.XDomainRequest&&!this.xs&&this.enablesXDR},c.prototype.abort=function(){this.cleanup()},c.requestsCount=0,c.requests={},global.document&&(global.attachEvent?global.attachEvent("onunload",d):global.addEventListener&&global.addEventListener("beforeunload",d,!1))},1:function(e,t){},"14A5":function(e,t){var n=void 0!==n?n:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,r=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),i=r&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),o=n&&n.prototype.append&&n.prototype.getBlob;function a(e){return e.map(function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e})}function s(e,t){t=t||{};var r=new n;return a(e).forEach(function(e){r.append(e)}),t.type?r.getBlob(t.type):r.getBlob()}function l(e,t){return new Blob(a(e),t||{})}"undefined"!=typeof Blob&&(s.prototype=Blob.prototype,l.prototype=Blob.prototype),e.exports=r?i?Blob:l:o?s:void 0},"15JJ":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("mrSG"),i=n("MGBS"),o=n("rPjj"),a=n("zotm"),s=n("67Y/"),l=n("0/uQ");function u(e,t){return"function"==typeof t?function(n){return n.pipe(u(function(n,r){return Object(l.a)(e(n,r)).pipe(Object(s.a)(function(e,i){return t(n,e,r,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project))},e}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return r.c(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(a.a)(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(i.a)},"1n7x":function(e,t,n){var r;r=function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var n,r="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},i=Object.assign||function(e){for(var t=1;t0;null)r[i].parentNode.removeChild(r[i])}for(var o in t.style)n.style[o]=t.style[o];return n},s=function(e,t){if("number"===o(e))return 72*e/96/t;var n={};for(var r in e)n[r]=72*e[r]/96/t;return n},l=function(e,t){return Math.floor(e*t/72*96)},u="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=(function(e,t){e.exports=function(){function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=0,r=void 0,i=void 0,o=function(e,t){h[n]=e,h[n+1]=t,2===(n+=2)&&(i?i(p):b())},a="undefined"!=typeof window?window:void 0,s=a||{},l=s.MutationObserver||s.WebKitMutationObserver,c="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(p,1)}}var h=new Array(1e3);function p(){for(var e=0;el){var c=u;u=l,l=c}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;if(e="l",l>u){c=u;u=l,l=c}}return{width:u,height:l,unit:t,k:s}};var f={toContainer:d.prototype.toContainer};d.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},d.prototype.toContainer=function(){return f.toContainer.call(this).then(function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,n=[].concat(this.opt.pagebreak.mode),r={avoidAll:-1!==n.indexOf("avoid-all"),css:-1!==n.indexOf("css"),legacy:-1!==n.indexOf("legacy")},i={},o=this;["before","after","avoid"].forEach(function(t){var n=r.avoidAll&&"avoid"===t;i[t]=n?[]:[].concat(o.opt.pagebreak[t]||[]),i[t].length>0&&(i[t]=Array.prototype.slice.call(e.querySelectorAll(i[t].join(", "))))});var s=e.querySelectorAll(".html2pdf__page-break");s=Array.prototype.slice.call(s);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,function(e){var n={before:!1,after:r.legacy&&-1!==s.indexOf(e),avoid:r.avoidAll};if(r.css){var o=window.getComputedStyle(e),l=["always","page","left","right"];n={before:n.before||-1!==l.indexOf(o.breakBefore||o.pageBreakBefore),after:n.after||-1!==l.indexOf(o.breakAfter||o.pageBreakAfter),avoid:n.avoid||-1!==["avoid","avoid-page"].indexOf(o.breakInside||o.pageBreakInside)}}Object.keys(n).forEach(function(t){n[t]=n[t]||-1!==i[t].indexOf(e)});var u=e.getBoundingClientRect();if(n.avoid&&!n.before){var c=Math.floor(u.top/t),d=Math.floor(u.bottom/t),f=Math.abs(u.bottom-u.top)/t;d!==c&&f<=1&&(n.before=!0)}if(n.before){var h=a("div",{style:{display:"block",height:t-u.top%t+"px"}});e.parentNode.insertBefore(h,e)}if(n.after){h=a("div",{style:{display:"block",height:t-u.bottom%t+"px"}});e.parentNode.insertBefore(h,e.nextSibling)}})})};var h=[],p={toContainer:d.prototype.toContainer,toPdf:d.prototype.toPdf};d.prototype.toContainer=function(){return p.toContainer.call(this).then(function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),n=s(e.getBoundingClientRect(),this.prop.pageSize.k);h=[],Array.prototype.forEach.call(t,function(e){for(var t=e.getClientRects(),r=0;r0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}e.exports=c,c.priorWebsocketSuccess=!1,i(c.prototype),c.protocol=s.protocol,c.Socket=c,c.Transport=n("Gbct"),c.transports=n("akSB"),c.parser=n("Wm4p"),c.prototype.createTransport=function(e){o('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.query);t.EIO=s.protocol,t.transport=e;var n=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new r[e]({query:t,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0})},c.prototype.open=function(){var e;if(this.rememberUpgrade&&c.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout(function(){t.emit("error","No transports available")},0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},c.prototype.setTransport=function(e){o("setting transport %s",e.name);var t=this;this.transport&&(o("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",function(){t.onDrain()}).on("packet",function(e){t.onPacket(e)}).on("error",function(e){t.onError(e)}).on("close",function(){t.onClose("transport close")})},c.prototype.probe=function(e){o('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,r=this;function i(){if(r.onlyBinaryUpgrades){var i=!this.supportsBinary&&r.transport.supportsBinary;n=n||i}n||(o('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",function(i){if(!n)if("pong"===i.type&&"probe"===i.data){if(o('probe transport "%s" pong',e),r.upgrading=!0,r.emit("upgrading",t),!t)return;c.priorWebsocketSuccess="websocket"===t.name,o('pausing current transport "%s"',r.transport.name),r.transport.pause(function(){n||"closed"!==r.readyState&&(o("changing transport and sending upgrade packet"),f(),r.setTransport(t),t.send([{type:"upgrade"}]),r.emit("upgrade",t),t=null,r.upgrading=!1,r.flush())})}else{o('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,r.emit("upgradeError",a)}}))}function a(){n||(n=!0,f(),t.close(),t=null)}function s(n){var i=new Error("probe error: "+n);i.transport=t.name,a(),o('probe transport "%s" failed because of error: %s',e,n),r.emit("upgradeError",i)}function l(){s("transport closed")}function u(){s("socket closed")}function d(e){t&&e.name!==t.name&&(o('"%s" works - aborting "%s"',e.name,t.name),a())}function f(){t.removeListener("open",i),t.removeListener("error",s),t.removeListener("close",l),r.removeListener("close",u),r.removeListener("upgrading",d)}c.priorWebsocketSuccess=!1,t.once("open",i),t.once("error",s),t.once("close",l),this.once("close",u),this.once("upgrading",d),t.open()},c.prototype.onOpen=function(){if(o("socket open"),this.readyState="open",c.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){o("starting upgrade probes");for(var e=0,t=this.upgrades.length;e=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},3:function(e,t){},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3KC0":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("CcnG"),i=n("YeHE"),o=n("bfU7"),a=n("K81y"),s=n("meT2"),l=n("3yoT"),u=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{imports:[l.a],providers:[{provide:a.a,useClass:a.a},{provide:o.a,useClass:o.a},{provide:s.a,useClass:s.a},{provide:i.a,useClass:i.a}]}]}],e}()},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3qUI":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("t/Na"),i=n("67Y/"),o=n("AytR"),a=(n("7wD8"),function(){function e(e,t,n){this.http=e,this.router=t,this._usuarioService=n}return e.prototype.getTemporales=function(e){var t=o.b+"/temporales";t+="?token="+this._usuarioService.token,e.viaje&&(t+="&viaje="+e.viaje),e.transportista&&(t+="&transportista="+e.transportista),e.contenedor&&(t+="&contenedor="+e.contenedor),t+="&page="+e.page,t+="&size="+e.size,t+="&fInicial="+e.fInicial,t+="&fFinal="+e.fFinal;var n=new r.j;return this.http.get(t,{params:n}).pipe(Object(i.a)(function(e){return e}))},e.prototype.enviarCorreoTemporal=function(e){var t=o.b+"/temporales/enviar-correo-temporal";t+="?token="+this._usuarioService.token,t+="&maniobraId="+e;var n=new r.j;return this.http.get(t,{params:n}).pipe(Object(i.a)(function(e){return e}))},e.prototype.exportarXLSX=function(e){var t=o.b+"/inventario-ctm/export-inventory?token="+this._usuarioService.token+"&naviera="+e;window.open(t,"_blank")},e}())},"3yoT":function(e,t,n){"use strict";var r=n("SF+E");n.d(t,"b",function(){return r.a});var i=n("ISLE");n.d(t,"a",function(){return i.a});n("curK")},4:function(e,t){},"4MV3":function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4c35":function(e,t,n){"use strict";n.d(t,"f",function(){return f}),n.d(t,"d",function(){return s}),n.d(t,"i",function(){return l}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return c}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"g",function(){return p});var r=n("mrSG"),i=n("CcnG");function o(){throw Error("Host already has a portal attached")}var a=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&o(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),s=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return Object(r.c)(t,e),t}(a),l=function(e){function t(t,n,r){var i=e.call(this)||this;return i.templateRef=t,i.viewContainerRef=n,i.context=r,i}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(a),u=function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&o(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof l?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}(),c=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.outletElement=t,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return Object(r.c)(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),this.setDisposeFn(function(){var e=n.indexOf(r);-1!==e&&n.remove(e)}),r},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(u),d=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(r.c)(t,e),t.decorators=[{type:i.Directive,args:[{selector:"[cdk-portal], [cdkPortal], [portal]",exportAs:"cdkPortal"}]}],t.ctorParameters=function(){return[{type:i.TemplateRef},{type:i.ViewContainerRef}]},t}(l),f=function(e){function t(t,n){var r=e.call(this)||this;return r._componentFactoryResolver=t,r._viewContainerRef=n,r._isInitialized=!1,r.attached=new i.EventEmitter,r}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=n.createComponent(r,n.length,t.injector||n.injector);return e.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.decorators=[{type:i.Directive,args:[{selector:"[cdkPortalOutlet], [cdkPortalHost], [portalHost]",exportAs:"cdkPortalOutlet, cdkPortalHost",inputs:["portal: cdkPortalOutlet"]}]}],t.ctorParameters=function(){return[{type:i.ComponentFactoryResolver},{type:i.ViewContainerRef}]},t.propDecorators={attached:[{type:i.Output}]},t}(u),h=function(){function e(){}return e.decorators=[{type:i.NgModule,args:[{exports:[d,f],declarations:[d,f]}]}],e}(),p=function(){function e(e,t){this._parentInjector=e,this._customTokens=t}return e.prototype.get=function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)},e}()},"4dOw":function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"4tE/":function(e,t,n){"use strict";n.d(t,"a",function(){return I}),n.d(t,"d",function(){return M}),n.d(t,"e",function(){return U}),n.d(t,"c",function(){return R}),n.d(t,"b",function(){return F}),n.d(t,"f",function(){return j});var r=n("mrSG"),i=n("lLAP"),o=n("n6gG"),a=n("CcnG"),s=n("Wf4p"),l=n("Fzqc"),u=n("YSh2"),c=n("eDkP"),d=n("4c35"),f=n("Ip0R"),h=n("t9fZ"),p=n("15JJ"),m=n("VnD/"),g=n("67Y/"),A=n("xMyE"),v=n("vubp"),b=n("qAlS"),y=n("gIcY"),_=n("seP3"),w=n("pugT"),C=n("K9Ia"),E=n("lYZG"),S=n("p0ib"),k=n("F/XL"),O=n("bne5"),B=0,x=function(){return function(e,t){this.source=e,this.option=t}}(),T=function(){return function(){}}(),D=Object(s.F)(T),I=new a.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});var M=function(e){function t(t,n,r){var i=e.call(this)||this;return i._changeDetectorRef=t,i._elementRef=n,i.showPanel=!1,i._isOpen=!1,i.displayWith=null,i.optionSelected=new a.EventEmitter,i.opened=new a.EventEmitter,i.closed=new a.EventEmitter,i._classList={},i.id="mat-autocomplete-"+B++,i._autoActiveFirstOption=!!r.autoActiveFirstOption,i}return Object(r.c)(t,e),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._isOpen&&this.showPanel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoActiveFirstOption",{get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=Object(o.c)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{set:function(e){var t=this;e&&e.length&&(e.split(" ").forEach(function(e){return t._classList[e.trim()]=!0}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._keyManager=new i.b(this.options).withWrap(),this._setVisibility()},t.prototype._setScrollTop=function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)},t.prototype._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0},t.prototype._setVisibility=function(){this.showPanel=!!this.options.length,this._classList["mat-autocomplete-visible"]=this.showPanel,this._classList["mat-autocomplete-hidden"]=!this.showPanel,this._changeDetectorRef.markForCheck()},t.prototype._emitSelectEvent=function(e){var t=new x(this,e);this.optionSelected.emit(t)},t.decorators=[{type:a.Component,args:[{selector:"mat-autocomplete",template:'
',styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}@media (-ms-high-contrast:active){.mat-autocomplete-panel{outline:solid 1px}}"],encapsulation:a.ViewEncapsulation.None,changeDetection:a.ChangeDetectionStrategy.OnPush,exportAs:"matAutocomplete",inputs:["disableRipple"],host:{class:"mat-autocomplete"},providers:[{provide:s.l,useExisting:t}]}]}],t.ctorParameters=function(){return[{type:a.ChangeDetectorRef},{type:a.ElementRef},{type:void 0,decorators:[{type:a.Inject,args:[I]}]}]},t.propDecorators={template:[{type:a.ViewChild,args:[a.TemplateRef]}],panel:[{type:a.ViewChild,args:["panel"]}],options:[{type:a.ContentChildren,args:[s.s,{descendants:!0}]}],optionGroups:[{type:a.ContentChildren,args:[s.r]}],displayWith:[{type:a.Input}],autoActiveFirstOption:[{type:a.Input}],panelWidth:[{type:a.Input}],optionSelected:[{type:a.Output}],opened:[{type:a.Output}],closed:[{type:a.Output}],classList:[{type:a.Input,args:["class"]}]},t}(D),L=function(){function e(e){this.elementRef=e}return e.decorators=[{type:a.Directive,args:[{selector:"[matAutocompleteOrigin]",exportAs:"matAutocompleteOrigin"}]}],e.ctorParameters=function(){return[{type:a.ElementRef}]},e}(),F=new a.InjectionToken("mat-autocomplete-scroll-strategy");function R(e){return function(){return e.scrollStrategies.reposition()}}var N={provide:F,deps:[c.c],useFactory:R},P={provide:y.r,useExisting:Object(a.forwardRef)(function(){return j}),multi:!0};var j=function(){function e(e,t,n,r,i,o,a,s,l,u){var c=this;this._element=e,this._overlay=t,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=i,this._dir=a,this._formField=s,this._document=l,this._viewportRuler=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=w.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new C.a,this._windowBlurHandler=function(){c._canOpenOnNextFocus=document.activeElement!==c._element.nativeElement||c.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(E.a)(function(){return c.autocomplete&&c.autocomplete.options?S.a.apply(void 0,c.autocomplete.options.map(function(e){return e.onSelectionChange})):c._zone.onStable.asObservable().pipe(Object(h.a)(1),Object(p.a)(function(){return c.optionSelections}))}),"undefined"!=typeof window&&r.runOutsideAngular(function(){window.addEventListener("blur",c._windowBlurHandler)}),this._scrollStrategy=o}return Object.defineProperty(e.prototype,"autocompleteDisabled",{get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=Object(o.c)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){"undefined"!=typeof window&&window.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._overlayAttached&&this.autocomplete.showPanel},enumerable:!0,configurable:!0}),e.prototype.openPanel=function(){this._attachOverlay(),this._floatLabel()},e.prototype.closePanel=function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())},e.prototype.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()},Object.defineProperty(e.prototype,"panelClosingActions",{get:function(){var e=this;return Object(S.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(m.a)(function(){return e._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(m.a)(function(){return e._overlayAttached})):Object(k.a)()).pipe(Object(g.a)(function(e){return e instanceof s.u?e:null}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeOption",{get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null},enumerable:!0,configurable:!0}),e.prototype._getOutsideClickStream=function(){var e=this;return this._document?Object(S.a)(Object(O.a)(this._document,"click"),Object(O.a)(this._document,"touchend")).pipe(Object(m.a)(function(t){var n=t.target,r=e._formField?e._formField._elementRef.nativeElement:null;return e._overlayAttached&&n!==e._element.nativeElement&&(!r||!r.contains(n))&&!!e._overlayRef&&!e._overlayRef.overlayElement.contains(n)})):Object(k.a)(null)},e.prototype.writeValue=function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this._element.nativeElement.disabled=e},e.prototype._handleKeydown=function(e){var t=e.keyCode;if(t===u.h&&e.preventDefault(),this.activeOption&&t===u.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,r=t===u.q||t===u.e;this.panelOpen||t===u.p?this.autocomplete._keyManager.onKeydown(e):r&&this._canOpen()&&this.openPanel(),(r||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}},e.prototype._handleInput=function(e){var t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&document.activeElement===e.target&&this.openPanel())},e.prototype._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0},e.prototype._floatLabel=function(e){void 0===e&&(e=!1),this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)},e.prototype._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)},e.prototype._scrollToOption=function(){var e=this.autocomplete._keyManager.activeItemIndex||0,t=Object(s.C)(e,this.autocomplete.options,this.autocomplete.optionGroups),n=Object(s.D)(e+t,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)},e.prototype._subscribeToClosingActions=function(){var e=this,t=this._zone.onStable.asObservable().pipe(Object(h.a)(1)),n=this.autocomplete.options.changes.pipe(Object(A.a)(function(){return e._positionStrategy.reapplyLastPosition()}),Object(v.a)(0));return Object(S.a)(t,n).pipe(Object(p.a)(function(){return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelOpen&&e._overlayRef.updatePosition(),e.panelClosingActions}),Object(h.a)(1)).subscribe(function(t){return e._setValueAndClose(t)})},e.prototype._destroyPanel=function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)},e.prototype._setTriggerValue=function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n},e.prototype._setValueAndClose=function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()},e.prototype._clearPreviousSelectedOption=function(e){this.autocomplete.options.forEach(function(t){t!=e&&t.selected&&t.deselect()})},e.prototype._attachOverlay=function(){var e=this;if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");var t=this._overlayRef;t?(t.getConfig().positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new d.i(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe(function(t){(t.keyCode===u.h||t.keyCode===u.q&&t.altKey)&&(e._resetActiveItem(),e._closeKeyEventStream.next())}),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(function(){e.panelOpen&&t&&t.updateSize({width:e._getPanelWidth()})})));t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()},e.prototype._getOverlayConfig=function(){return new c.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})},e.prototype._getOverlayPosition=function(){return this._positionStrategy=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"}]),this._positionStrategy},e.prototype._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element},e.prototype._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()},e.prototype._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width},e.prototype._resetActiveItem=function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)},e.prototype._canOpen=function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled},e.decorators=[{type:a.Directive,args:[{selector:"input[matAutocomplete], textarea[matAutocomplete]",host:{"[attr.autocomplete]":"autocompleteAttribute","[attr.role]":'autocompleteDisabled ? null : "combobox"',"[attr.aria-autocomplete]":'autocompleteDisabled ? null : "list"',"[attr.aria-activedescendant]":"(panelOpen && activeOption) ? activeOption.id : null","[attr.aria-expanded]":"autocompleteDisabled ? null : panelOpen.toString()","[attr.aria-owns]":"(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id","[attr.aria-haspopup]":"!autocompleteDisabled","(focusin)":"_handleFocus()","(blur)":"_onTouched()","(input)":"_handleInput($event)","(keydown)":"_handleKeydown($event)"},exportAs:"matAutocompleteTrigger",providers:[P]}]}],e.ctorParameters=function(){return[{type:a.ElementRef},{type:c.c},{type:a.ViewContainerRef},{type:a.NgZone},{type:a.ChangeDetectorRef},{type:void 0,decorators:[{type:a.Inject,args:[F]}]},{type:l.b,decorators:[{type:a.Optional}]},{type:_.c,decorators:[{type:a.Optional},{type:a.Host}]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[f.DOCUMENT]}]},{type:b.d}]},e.propDecorators={autocomplete:[{type:a.Input,args:["matAutocomplete"]}],connectedTo:[{type:a.Input,args:["matAutocompleteConnectedTo"]}],autocompleteAttribute:[{type:a.Input,args:["autocomplete"]}],autocompleteDisabled:[{type:a.Input,args:["matAutocompleteDisabled"]}]},e}(),U=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{imports:[s.t,c.g,s.n,f.CommonModule],exports:[M,s.t,j,L,s.n],declarations:[M,j,L],providers:[N]}]}],e}()},"4vMS":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("t/Na"),i=n("AytR"),o=(n("7wD8"),n("67Y/")),a=n("Iab2"),s=function(){function e(e,t,n){this.http=e,this.router=t,this._usuarioService=n}return e.prototype.getReportReparacionesMantenimientos=function(e){var t=i.b+"/reportes/reparacion-mantenimiento";t+="?viaje="+e.viaje,e.fechaLlegada&&(t+="&fechaLlegada="+e.fechaLlegada),t+="&page="+e.page,t+="&size="+e.size,t+="&sortActive="+e.sortActive,t+="&sortOrder="+e.sortOrder,e.contenedor&&(t+="&contenedor="+e.contenedor),t+="&token="+this._usuarioService.token;var n=new r.j;return this.http.get(t,{params:n}).pipe(Object(o.a)(function(e){return e}))},e.prototype.getReparacionOfMantenimiento=function(e,t){var n=i.b+"/mantenimientos/mantenimiento-reparaciones-reparacion";return n+="?mantenimiento="+e,n+="&reparacionmantenimientoid="+t,n+="&token="+this._usuarioService.token,this.http.get(n).pipe(Object(o.a)(function(e){return e}))},e.prototype.getReparacionesMantenimientosByIds=function(e){var t=i.b+"/mantenimientos/mantenimiento-reparaciones-reparacion-more";return t+="?token="+this._usuarioService.token,this.http.post(t,{reparacionesMantenimientos:e}).pipe(Object(o.a)(function(e){return e}))},e.prototype.updateMontosReparacionMantenimiento=function(e){var t=i.b+"/mantenimientos/mantenimiento-reparaciones-reparacion/"+e.mantenimientoId+"/update";return t+="?reparacionmantenimientoid="+e.reparacionMantenimientoId,t+="&token="+this._usuarioService.token,this.http.put(t,e).pipe(Object(o.a)(function(e){return e}))},e.prototype.quitarReparacionCotizacion=function(e,t,n){var r=i.b+"/cotizaciones/cotizacion/"+e+"/mantenimiento/"+t+"/reparacion/"+n;return r+="?token="+this._usuarioService.token,this.http.delete(r).pipe(Object(o.a)(function(e){return e}))},e.prototype.getReportTiemposCargaExcel=function(e){var t=i.b+"/reportes/tiempo-carga-excel";t+="?token="+this._usuarioService.token,t+="&page="+e.page,t+="&size="+e.size,t+="&sortActive="+e.sortActive,t+="&sortOrder="+e.sortOrder,t+="&fInicial="+e.fInicial,t+="&fFinal="+e.fFinal,e.contenedor&&(t+="&contenedor="+e.contenedor),e.viaje&&(t+="&viaje="+e.viaje),e.booking&&(t+="&booking="+e.booking),this.http.get(t,{responseType:"blob"}).subscribe(function(e){var t=window.URL.createObjectURL(e);Object(a.saveAs)(t,"REPORTE_TIEMPO_TOMA_VACIOS.xlsx"),swal("Reporte generado","","success")},function(e){swal("No se pudo obtener el reporte, intente de nuevo","","error")})},e}()},5:function(e,t){},"5DIa":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("AytR"),i=n("7wD8"),o=n("CcnG"),a=n("t/Na"),s=n("ZYCi"),l=function(){function e(e,t,n){this.http=e,this.router=t,this.usuarioService=n}return e.prototype.getSolicitudesPendientes=function(){var e=r.b+"/dashboard/notificaciones-solicitudes-pendientes";return e+="?token="+this.usuarioService.token,this.http.get(e)},e.ngInjectableDef=o.defineInjectable({factory:function(){return new e(o.inject(a.c),o.inject(s.l),o.inject(i.a))},token:e,providedIn:"root"}),e}()},"5M3R":function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n("Nq7k")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},"5RHE":function(e,t,n){var r,i;r=function(){"use strict";function r(e){return(r="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})(e)}!function(e){if("object"!==r(e.console)){e.console={};for(var t,n,i=e.console,o=function(){},a=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=a.pop();)i[t]||(i[t]={});for(;n=s.pop();)i[n]||(i[n]=o)}var l,u,c,d,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===e.btoa&&(e.btoa=function(e){var t,n,r,i,o,a=0,s=0,l="",u=[];if(!e)return e;for(;t=(o=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,n=o>>12&63,r=o>>6&63,i=63&o,u[s++]=f.charAt(t)+f.charAt(n)+f.charAt(r)+f.charAt(i),a>16&255,n=a>>8&255,r=255&a,u[l++]=64==i?String.fromCharCode(t):64==o?String.fromCharCode(t,n):String.fromCharCode(t,n,r),s>>0,r=new Array(n),i=1>>0,i=0;i>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],i=0;i>16&255,i=u>>8&255,o=255&u}if(void 0===i||void 0===a&&n===i&&i===o)if("string"==typeof n)t=n+" "+s[0];else switch(e.precision){case 2:t=b(n/255)+" "+s[0];break;case 3:default:t=y(n/255)+" "+s[0]}else if(void 0===a||"object"===r(a)){if(a&&!isNaN(a.a)&&0===a.a)return t=["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof n)t=[n,i,o,s[1]].join(" ");else switch(e.precision){case 2:t=[b(n/255),b(i/255),b(o/255),s[1]].join(" ");break;default:case 3:t=[y(n/255),y(i/255),y(o/255),s[1]].join(" ")}}else if("string"==typeof n)t=[n,i,o,a,s[2]].join(" ");else switch(e.precision){case 2:t=[b(n/255),b(i/255),b(o/255),b(a/255),s[2]].join(" ");break;case 3:default:t=[y(n/255),y(i/255),y(o/255),y(a/255),s[2]].join(" ")}return t},me=h.__private__.getFilters=function(){return u},ge=h.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||me(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,o=t.length,a={};!0===n&&(n=["FlateEncode"]);var l=e.additionalKeyValues||[],u=(a=void 0!==s.API.processDataByFilters?s.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());0!==a.data.length&&(l.push({key:"Length",value:a.data.length}),!0===i&&l.push({key:"Length1",value:o})),0!=u.length&&(u.split("/").length-1==1?l.push({key:"Filter",value:u}):l.push({key:"Filter",value:"["+u+"]"})),H("<<");for(var c=0;c>"),0!==a.data.length&&(H("stream"),H(a.data),H("endstream"))},Ae=h.__private__.putPage=function(e){e.mediaBox;var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;ue(r,!0),re[B].mediaBox.topRightX,re[B].mediaBox.bottomLeftX,re[B].mediaBox.topRightY,re[B].mediaBox.bottomLeftY,H("<>"),H("endobj");var o=n.join("\n");return ue(i,!0),ge({data:o,filters:me()}),H("endobj"),r},ve=h.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=ne;e++)re[e].objId=le(),re[e].contentsObjId=le();for(e=1;e<=ne;e++)n.push(Ae({number:e,data:P[e],objId:re[e].objId,contentsObjId:re[e].contentsObjId,mediaBox:re[e].mediaBox,cropBox:re[e].cropBox,bleedBox:re[e].bleedBox,trimBox:re[e].trimBox,artBox:re[e].artBox,userUnit:re[e].userUnit,rootDictionaryObjId:de,resourceDictionaryObjId:fe}));ue(de,!0),H("<>"),H("endobj"),oe.publish("postPutPages")},be=function(e,t,n){te.hasOwnProperty(t)||(te[t]={}),te[t][n]=e},ye=function(e,t,n,r,i){i=i||!1;var o="F"+(Object.keys(ee).length+1).toString(10),a={id:o,postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i,metadata:{}};return oe.publish("addFont",{font:a,instance:this}),void 0!==o&&(ee[o]=a,be(o,t,n)),o},_e=h.__private__.pdfEscape=h.pdfEscape=function(e,t){return function(e,t){var n,r,i,o,a,s,l,u,c;if(i=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&ee[M].metadata&&ee[M].metadata[i]&&ee[M].metadata[i].encoding&&(o=ee[M].metadata[i].encoding,!a&&ee[M].encoding&&(a=ee[M].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(l=!1,s=[],n=0,r=e.length;n>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(c),s.push(u-(c<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},we=h.__private__.beginPage=function(e,t){var r,i="string"==typeof t&&t.toLowerCase();if("string"==typeof e&&(r=A(e.toLowerCase()))&&(e=r[0],t=r[1]),Array.isArray(e)&&(t=e[1],e=e[0]),(isNaN(e)||isNaN(t))&&(e=n[0],t=n[1]),i){switch(i.substr(0,1)){case"l":e>"),H("endobj")},Be=h.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||de;switch(se(),H("<<"),H("/Type /Catalog"),H("/Pages "+t+" 0 R"),T||(T="fullwidth"),T){case"fullwidth":H("/OpenAction [3 0 R /FitH null]");break;case"fullheight":H("/OpenAction [3 0 R /FitV null]");break;case"fullpage":H("/OpenAction [3 0 R /Fit]");break;case"original":H("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+T;"%"===n.substr(n.length-1)&&(T=parseInt(T)/100),"number"==typeof T&&H("/OpenAction [3 0 R /XYZ null null "+b(T)+"]")}switch(I||(I="continuous"),I){case"continuous":H("/PageLayout /OneColumn");break;case"single":H("/PageLayout /SinglePage");break;case"two":case"twoleft":H("/PageLayout /TwoColumnLeft");break;case"tworight":H("/PageLayout /TwoColumnRight")}D&&H("/PageMode /"+D),oe.publish("putCatalog"),H(">>"),H("endobj")},Te=h.__private__.putTrailer=function(){H("trailer"),H("<<"),H("/Size "+(Z+1)),H("/Root "+Z+" 0 R"),H("/Info "+(Z-1)+" 0 R"),H("/ID [ <"+_+"> <"+_+"> ]"),H(">>")},De=h.__private__.putHeader=function(){H("%PDF-"+p),H("%\xba\xdf\xac\xe0")},Ie=h.__private__.putXRef=function(){var e=1,t="0000000000";for(H("xref"),H("0 "+(Z+1)),H("0000000000 65535 f "),e=1;e<=Z;e++)"function"==typeof $[e]?H((t+$[e]()).slice(-10)+" 00000 n "):void 0!==$[e]?H((t+$[e]).slice(-10)+" 00000 n "):H("0000000000 00000 n ")},Me=h.__private__.buildDocument=function(){N=!1,U=Z=0,j=[],$=[],ie=[],de=le(),fe=le(),oe.publish("buildDocument"),De(),ve(),function(){oe.publish("putAdditionalObjects");for(var e=0;e>"),H("endobj")));var t}(),oe.publish("putResources"),ue(fe,!0),H("<<"),function(){for(var e in H("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),H("/Font <<"),ee)ee.hasOwnProperty(e)&&(!1===d||!0===d&&f.hasOwnProperty(e))&&H("/"+e+" "+ee[e].objectNumber+" 0 R");H(">>"),H("/XObject <<"),oe.publish("putXobjectDict"),H(">>")}(),H(">>"),H("endobj"),oe.publish("postPutResources"),Oe(),Be();var e=U;return Ie(),Te(),H("startxref"),H(""+e),H("%%EOF"),N=!0,j.join("\n")},Le=h.__private__.getBlob=function(e){return new Blob([Q(e)],{type:"application/pdf"})},Fe=h.output=h.__private__.output=((F=function(e,t){t=t||{};var n=Me();switch("string"==typeof t?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return n;case"save":h.save(t.filename);break;case"arraybuffer":return Q(n);case"blob":return Le(n);case"bloburi":case"bloburl":if(void 0!==o.URL&&"function"==typeof o.URL.createObjectURL)return o.URL&&o.URL.createObjectURL(Le(n))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+t.filename+";base64,"+btoa(n);case"dataurlnewwindow":var r='',i=o.open();if(null!==i&&i.document.write(r),i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return o.document.location.href="data:application/pdf;filename="+t.filename+";base64,"+btoa(n);default:return null}}).foo=function(){try{return F.apply(this,arguments)}catch(e){var t=e.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var n="Error in function "+t.split("\n")[0].split("<")[0]+": "+e.message;if(!o.console)throw new Error(n);o.console.error(n,e),o.alert&&alert(n)}},(F.foo.bar=F).foo),Re=function(e){return!0===Array.isArray(ae)&&-1":")"),te=1):(J=Ge(t),Z=Xe(n),$=(u?"<":"(")+w[q]+(u?">":")")),void 0!==Q&&void 0!==Q[q]&&(ne=Q[q]+" Tw\n"),0!==x.length&&0===q?e.push(ne+x.join(" ")+" "+J.toFixed(2)+" "+Z.toFixed(2)+" Tm\n"+$):1===te||0===te&&0===q?e.push(ne+J.toFixed(2)+" "+Z.toFixed(2)+" Td\n"+$):e.push(ne+$);e=0===te?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var re="BT\n/"+M+" "+V+" Tf\n"+(V*d).toFixed(2)+" TL\n"+et+"\n";return re+=c,re+=e,H(re+="ET"),f[M]=!0,h},h.__private__.lstext=h.lstext=function(e,t,n,r){return console.warn("jsPDF.lstext is deprecated"),this.text(e,t,n,{charSpace:r})},h.__private__.clip=h.clip=function(e){H("evenodd"===e?"W*":"W"),H("n")},h.__private__.clip_fixed=h.clip_fixed=function(e){console.log("clip_fixed is deprecated"),h.clip(e)};var Ue=h.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(e)&&(t=!0),t},He=h.__private__.getStyle=function(e){var t="S";return"F"===e?t="f":"FD"===e||"DF"===e?t="B":"f"!==e&&"f*"!==e&&"B"!==e&&"B*"!==e||(t=e),t};h.__private__.line=h.line=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[n-e,r-t]],e,t)},h.__private__.lines=h.lines=function(e,t,n,r,i,o){var a,s,l,u,c,d,f,h,p,m,g,A;if("number"==typeof e&&(A=n,n=t,t=e,e=A),r=r||[1,1],o=o||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!Ue(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(H(y(Ge(t))+" "+y(Xe(n))+" m "),a=r[0],s=r[1],u=e.length,m=t,g=n,l=0;l=a.length-1;if(E&&!S){b+=" ";continue}if(E||S){if(S)A=C;else if(e.multiline&&u<(f+2)*(y+2)+2)continue e}else{if(!e.multiline)continue e;if(u<(f+2)*(y+2)+2)continue e;A=C}for(var k="",O=g;O<=A;O++)k+=a[O]+" ";switch(k=" "==k.substr(k.length-1)?k.substr(0,k.length-1):k,v=w(k,e,l).width,e.textAlign){case"right":p=c-v-2;break;case"center":p=(c-v)/2;break;case"left":default:p=2}t+=s(p)+" "+s(m)+" Td\n",t+="("+o(k)+") Tj\n",t+=-s(p)+" 0 Td\n",m=-(l+2),v=0,g=A+1,y++,b=""}break}return i.text=t,i.fontSize=l,i},w=function(e,t,r){var i=n.internal.getFont(t.fontName,t.fontStyle),o=n.getStringUnitWidth(e,{font:i,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:n.getStringUnitWidth("3",{font:i,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:o}},C={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},E=function(){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];r.objId=void 0,r.hasAnnotation&&S.call(n,r)}},S=function(e){var t={type:"reference",object:e};void 0===n.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===t.type&&e.object===t.object})&&n.internal.getPageInfo(e.page).pageContext.annotations.push(t)},k=function(){if(void 0===n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},O=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},B=function(e){var t=!e;for(var i in e||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(i)){var o=e[i],a=[],s=o.Rect;if(o.Rect&&(o.Rect=b.call(this,o.Rect)),n.internal.newObjectDeferredBegin(o.objId,!0),o.DA=G.createDefaultAppearanceStream(o),"object"===r(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var l=y.call(this,o);a.push({key:"AP",value:"<>"}),n.internal.acroformPlugin.xForms.push(l)}if(o.appearanceStreamContent){var u="";for(var c in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(c)){var d=o.appearanceStreamContent[c];if(u+="/"+c+" ",u+="<<",1<=Object.keys(d).length||Array.isArray(d))for(var i in d){var f;d.hasOwnProperty(i)&&("function"==typeof(f=d[i])&&(f=f.call(this,o)),u+="/"+i+" "+f+" ",0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f))}else"function"==typeof(f=d)&&(f=f.call(this,o)),u+="/"+i+" "+f,0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}n.internal.putStream({additionalKeyValues:a}),n.internal.out("endobj")}t&&x.call(this,n.internal.acroformPlugin.xForms)},x=function(e){for(var t in e)if(e.hasOwnProperty(t)){var i=t,o=e[t];n.internal.newObjectDeferredBegin(o&&o.objId,!0),"object"===r(o)&&"function"==typeof o.putStream&&o.putStream(),delete e[i]}},T=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,R.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(C)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");i=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new F,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",O),n.internal.events.subscribe("buildDocument",E),n.internal.events.subscribe("putCatalog",k),n.internal.events.subscribe("postPutPages",B),n.internal.acroformPlugin.isInitialized=!0}},D=e.__acroform__.arrayToPdfArray=function(e){if(Array.isArray(e)){for(var t="[",n=0;n>"),n.join("\n")}},set:function(e){"object"===r(e)&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};u(H,R);var Y=function(){H.call(this),this.pushButton=!0};u(Y,H);var Q=function(){H.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};u(Q,H);var z=function(){var e,t;R.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e,t=[];for(e in t.push("<<"),i)t.push("/"+e+" ("+i[e]+")");return t.push(">>"),t.join("\n")},set:function(e){"object"===r(e)&&(i=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(e){"string"==typeof e&&(i.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+e}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=G.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};u(z,R),Q.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e&&"getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},Q.prototype.createOption=function(e){this.Kids.length;var t=new z;return t.Parent=this,t.optionName=e,this.Kids.push(t),X.call(this,t),t};var V=function(){H.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=G.CheckBox.createAppearanceStream()};u(V,H);var W=function(){R.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,13):this.Ff=v(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,21):this.Ff=v(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,23):this.Ff=v(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,24):this.Ff=v(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,25):this.Ff=v(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,26):this.Ff=v(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};u(W,R);var K=function(){W.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(g(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=A(this.Ff,14):this.Ff=v(this.Ff,14)}}),this.password=!0};u(K,W);var G={CheckBox:{createAppearanceStream:function(){return{N:{On:G.CheckBox.YesNormal},D:{On:G.CheckBox.YesPushDown,Off:G.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=f(e),r=[],i=n.internal.getFont(e.fontName,e.fontStyle).id,o=n.__private__.encodeColorString(e.color),a=_(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+s(G.internal.getWidth(e))+" "+s(G.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+i+" "+s(a.fontSize)+" Tf "+o),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=f(e),r=n.internal.getFont(e.fontName,e.fontStyle).id,i=n.__private__.encodeColorString(e.color),o=[],a=G.internal.getHeight(e),l=G.internal.getWidth(e),u=_(e,e.caption);return o.push("1 g"),o.push("0 0 "+s(l)+" "+s(a)+" re"),o.push("f"),o.push("q"),o.push("0 0 1 rg"),o.push("0 0 "+s(l-1)+" "+s(a-1)+" re"),o.push("W"),o.push("n"),o.push("0 g"),o.push("BT"),o.push("/"+r+" "+s(u.fontSize)+" Tf "+i),o.push(u.text),o.push("ET"),o.push("Q"),t.stream=o.join("\n"),t},OffPushDown:function(e){var t=f(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(G.internal.getWidth(e))+" "+s(G.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:G.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=G.RadioButton.Circle.YesNormal,t.D[e]=G.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=f(e),n=[],r=G.internal.getWidth(e)<=G.internal.getHeight(e)?G.internal.getWidth(e)/4:G.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=G.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+l(G.internal.getWidth(e)/2)+" "+l(G.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=f(e),n=[],r=G.internal.getWidth(e)<=G.internal.getHeight(e)?G.internal.getWidth(e)/4:G.internal.getHeight(e)/4,i=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),o=Number((i*G.internal.Bezier_C).toFixed(5)),a=Number((r*G.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l(G.internal.getWidth(e)/2)+" "+l(G.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+l(G.internal.getWidth(e)/2)+" "+l(G.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=f(e),n=[],r=G.internal.getWidth(e)<=G.internal.getHeight(e)?G.internal.getWidth(e)/4:G.internal.getHeight(e)/4,i=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),o=Number((i*G.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l(G.internal.getWidth(e)/2)+" "+l(G.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:G.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=G.RadioButton.Cross.YesNormal,t.D[e]=G.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=f(e),n=[],r=G.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+s(G.internal.getWidth(e)-2)+" "+s(G.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),n.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),n.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),n.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=f(e),n=G.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+s(G.internal.getWidth(e))+" "+s(G.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s(G.internal.getWidth(e)-2)+" "+s(G.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(s(n.x1.x)+" "+s(n.x1.y)+" m"),r.push(s(n.x2.x)+" "+s(n.x2.y)+" l"),r.push(s(n.x4.x)+" "+s(n.x4.y)+" m"),r.push(s(n.x3.x)+" "+s(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=f(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(G.internal.getWidth(e))+" "+s(G.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=n.internal.getFont(e.fontName,e.fontStyle).id,r=n.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};G.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=G.internal.getWidth(e),n=G.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},G.internal.getWidth=function(e){var t=0;return"object"===r(e)&&(t=c(e.Rect[2])),t},G.internal.getHeight=function(e){var t=0;return"object"===r(e)&&(t=c(e.Rect[3])),t};var X=e.addField=function(e){if(T.call(this),!(e instanceof R))throw new Error("Invalid argument passed to jsPDF.addField.");return(function(e){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||T.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)}).call(this,e),e.page=n.internal.getCurrentPageInfo().pageNumber,this};e.addButton=function(e){if(e instanceof H==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return X.call(this,e)},e.addTextField=function(e){if(e instanceof W==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return X.call(this,e)},e.addChoiceField=function(e){if(e instanceof N==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return X.call(this,e)},"object"==r(t)&&void 0===t.ChoiceField&&void 0===t.ListBox&&void 0===t.ComboBox&&void 0===t.EditBox&&void 0===t.Button&&void 0===t.PushButton&&void 0===t.RadioButton&&void 0===t.CheckBox&&void 0===t.TextField&&void 0===t.PasswordField?(t.ChoiceField=N,t.ListBox=P,t.ComboBox=j,t.EditBox=U,t.Button=H,t.PushButton=Y,t.RadioButton=Q,t.CheckBox=V,t.TextField=W,t.PasswordField=K,t.AcroForm={Appearance:G}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),e.AcroFormChoiceField=N,e.AcroFormListBox=P,e.AcroFormComboBox=j,e.AcroFormEditBox=U,e.AcroFormButton=H,e.AcroFormPushButton=Y,e.AcroFormRadioButton=Q,e.AcroFormCheckBox=V,e.AcroFormTextField=W,e.AcroFormPasswordField=K,e.AcroFormAppearance=G,e.AcroForm={ChoiceField:N,ListBox:P,ComboBox:j,EditBox:U,Button:H,PushButton:Y,RadioButton:Q,CheckBox:V,TextField:W,PasswordField:K,Appearance:G}})((window.tmp=he).API,"undefined"!=typeof window&&window||"undefined"!=typeof global&&global),function(e){var t="addImage_",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.getImageFileTypeByImageData=function(t,r){var i,o;r=r||"UNKNOWN";var a,s,l,u="UNKNOWN";for(l in e.isArrayBufferView(t)&&(t=e.arrayBufferToBinaryString(t)),n)for(a=n[l],i=0;i>"}),"trns"in t&&t.trns.constructor==Array){for(var s="",l=0,u=t.trns.length;l>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==a?n+=r[(252&(t=i[s]))>>2]+r[(3&t)<<4]+"==":2==a&&(n+=r[(64512&(t=i[s]<<8|i[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+"="),n},e.createImageInfo=function(e,t,n,r,i,o,a,s,l,u,c,d,f){var h={alias:s,w:t,h:n,cs:r,bpc:i,i:a,data:e};return o&&(h.f=o),l&&(h.dp=l),u&&(h.trns=u),c&&(h.pal=c),d&&(h.smask=d),f&&(h.p=f),h},e.addImage=function(n,i,o,f,h,p,m,g,A){var v="";if("string"!=typeof i){var b=p;p=h,h=f,f=o,o=i,i=b}if("object"===r(n)&&!u(n)&&"imageData"in n){var y=n;n=y.imageData,i=y.format||i||"UNKNOWN",o=y.x||o||0,f=y.y||f||0,h=y.w||h,p=y.h||p,m=y.alias||m,g=y.compression||g,A=y.rotation||y.angle||A}var _=this.internal.getFilters();if(void 0===g&&-1!==_.indexOf("FlateEncode")&&(g="SLOW"),"string"==typeof n&&(n=unescape(n)),isNaN(o)||isNaN(f))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var w,C,E,S,k,O,B,x=(function(){var e=this.internal.collections[t+"images"];return e||(this.internal.collections[t+"images"]=e={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s)),e}).call(this);if(!((w=d(n,x))||(u(n)&&(n=c(n,i)),(null==(B=m)||0===B.length)&&(m="string"==typeof(O=n)?e.sHashCode(O):e.isArrayBufferView(O)?e.sHashCode(e.arrayBufferToBinaryString(O)):null),w=d(m,x)))){if(this.isString(n)&&(""!==(v=this.convertStringToImageData(n))?n=v:void 0!==(v=e.loadFile(n))&&(n=v)),i=this.getImageFileTypeByImageData(n,i),!l(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(C=n,n=this.binaryStringToUint8Array(n))),!(w=this["process"+i.toUpperCase()](n,(k=0,(S=x)&&(k=Object.keys?Object.keys(S).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(S)),k),m,((E=g)&&"string"==typeof E&&(E=E.toUpperCase()),E in e.image_compression?E:e.image_compression.NONE),C)))throw new Error("An unknown error occurred whilst processing the image")}return(function(e,t,n,r,i,o,a,s){var l=(function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}).call(this,n,r,i),u=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;if(n=l[0],r=l[1],a[o]=i,s){s*=Math.PI/180;var d=Math.cos(s),f=Math.sin(s),h=function(e){return e.toFixed(4)},p=[h(d),h(f),h(-1*f),h(d),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,u(e),c(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([u(n),"0","0",u(r),"0","0","cm"].join(" "))):this.internal.write([u(n),"0","0",u(r),u(e),c(t+r),"cm"].join(" ")),this.internal.write("/I"+i.i+" Do"),this.internal.write("Q")}).call(this,o,f,h,p,w,w.i,x,A),this},e.convertStringToImageData=function(t){var n,r="";if(this.isString(t)){var i;n=null!==(i=this.extractImageFromDataUrl(t))?i.data:t;try{r=atob(n)}catch(t){throw e.validateStringAsBase64(n)?new Error("atob-Error in jsPDF.convertStringToImageData "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var f=function(e,t){return e.subarray(t,t+5)};e.processJPEG=function(e,t,n,r,o,a){var s,l=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(s=function(e){var t;if("JPEG"!==i(e))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),r=4,o=e.length;r>",u.content=g;var f=u.objId+" 0 R";g="<>";else if(l.options.pageNumber)switch(g="<>",this.internal.write(g))}}this.internal.write("]")}}]),o.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},o.link=function(e,t,n,r,i){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:e,y:t,w:n,h:r,options:i,type:"link"})},o.textWithLink=function(e,t,n,r){var i=this.getTextWidth(e),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*o,this.link(t,n-o,i,o,r),i},o.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},a=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return a(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return a(e)&&0<=i.indexOf(e.charCodeAt(0))},u=(e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return a(e)&&o(e)&&1<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasFinalForm=function(e){return a(e)&&o(e)&&2<=t[e.charCodeAt(0)].length}),c=(e.__arabicParser__.arabicLetterHasInitialForm=function(e){return a(e)&&o(e)&&3<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasMedialForm=function(e){return a(e)&&o(e)&&4==t[e.charCodeAt(0)].length}),d=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,i=0,o="",a=0;for(t=0;t>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},a=he.API,(s=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},s.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new s,this.canvas.pdf=this}]),l=he.API,c={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},d=1,f=function(e,t,n,r,i){c={x:e,y:t,w:n,h:r,ln:i}},h=function(){return c},p={left:0,top:0,bottom:0},l.setHeaderFunction=function(e){u=e},l.getTextDimensions=function(e,t){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(t=t||{}).scaleFactor||this.internal.scaleFactor),i=0,o=0,a=0;if("string"==typeof e)0!=(i=this.getStringUnitWidth(e)*n)&&(o=1);else{if("[object Array]"!==Object.prototype.toString.call(e))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s=this.internal.pageSize.getHeight()-u.bottom&&(this.cellAddPage(),l=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(o,!0)),t=h().y+h().h,l&&(t=23)}if(void 0!==i[0])if(this.printingHeaderRow?this.rect(e,t,n,r,"FD"):this.rect(e,t,n,r),"right"===a){i instanceof Array||(i=[i]);for(var c=0;c=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:i,counterclockwise:o})},u.prototype.arcTo=function(e,t,n,r,i){throw new Error("arcTo not implemented.")},u.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},u.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},u.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");f.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},u.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},u.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n"},A=function(e){var t,n,r,i,o,a=String,s="length",l="charCodeAt",u="slice",c="replace";for(e[u](-2),e=e[u](0,-2)[c](/\s/g,"")[c]("z","!!!!!"),r=[],i=0,o=(e+=t="uuuuu"[u](e[s]%5||5))[s];i>24,255&n>>16,255&n>>8,255&n);return function(e,n){for(var r=t[s];0")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r>8&255,n>>16&255,n>>24&255]),e.length+2),e=String.fromCharCode.apply(null,i)},m.processDataByFilters=function(e,t){var n=0,r=e||"",i=[];for("string"==typeof(t=t||[])&&(t=[t]),n=0;n>"),this.internal.out("endobj"),B=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+x+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==O&&void 0!==B&&this.internal.out("/Names <>")}),this},(T=he.API).events.push(["postPutResources",function(){var e=this,t=/^(\d+) 0 obj$/;if(0> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),r=0;r>","endobj"),e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),T.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n>>24&255,f[d++]=s>>>16&255,f[d++]=s>>>8&255,f[d++]=255&s,D.arrayBufferToBinaryString(f)},L=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},F=function(e,t){for(var n,r=1,i=0,o=e.length,a=0;0>>0},R=function(e,t,n,r){for(var i,o,a,s=e.length/t,l=new Uint8Array(e.length+s),u=Q(),c=0;c>>1)&255;return o},H=function(e,t,n){var r,i,o,a,s=[],l=0,u=e.length;for(s[0]=4;l>>p&255,p+=o.bits;A[b]=_>>>p&255}if(16===o.bits){m=(k=new Uint32Array(o.decodePixels().buffer)).length,g=new Uint8Array(m*(32/o.pixelBitlength)*o.colors),A=new Uint8Array(m*(32/o.pixelBitlength));for(var _,w=1>>0&255,w&&(g[y++]=_>>>16&255,_=k[b++],g[y++]=_>>>0&255),A[C++]=_>>>16&255;h=8}r!==D.image_compression.NONE&&I()?(e=M(g,o.width*o.colors,o.colors,r),c=M(A,o.width,1,r)):(e=g,c=A,f=null)}if(3===o.colorType&&(d=this.color_spaces.INDEXED,u=o.palette,o.transparency.indexed)){var E=o.transparency.indexed,S=0;for(b=0,m=E.length;br&&(i.push(e.slice(l,o)),s=0,l=o),s+=t[o],o++;return l!==o&&i.push(e.slice(l,o)),i},$=function(e,t,n){n||(n={});var r,i,o,a,s,l,u=[],c=[u],d=n.textIndent||0,f=0,h=0,p=e.split(" "),m=X.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var g=Array(l).join(" "),A=[];p.map(function(e){1<(e=e.split(/\s*\n/)).length?A=A.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):A.push(e[0])}),p=A,l=J.apply(this,[g,n])}for(o=0,a=p.length;o>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},se=he.API,ce=ue=le="",se.addMetadata=function(e,t){return ue=t||"http://jspdf.default.namespaceuri/",le=e,this.internal.events.subscribe("postPutResources",function(){if(le){var e='',t=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(le)),i=unescape(encodeURIComponent("")),o=unescape(encodeURIComponent("")),a=n.length+r.length+i.length+t.length+o.length;ce=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+i+o),this.internal.write("endstream"),this.internal.write("endobj")}else ce=""}),this.internal.events.subscribe("putCatalog",function(){ce&&this.internal.write("/Metadata "+ce+" 0 R")}),this},function(e,t){var n=e.API,r=n.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=e.length;a<"+i+">");return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(t){!function(t,n,r,o){if(t.metadata instanceof e.API.TTFFont&&"Identity-H"===t.encoding){for(var a=t.metadata.Unicode.widths,s=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),l="",u=0;u>"),n("endobj");var h=r();n("<<"),n("/Type /Font"),n("/BaseFont /"+t.fontName),n("/FontDescriptor "+f+" 0 R"),n("/W "+e.API.PDFObject.convert(a)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+t.encoding+")"),n(">>"),n(">>"),n("endobj"),t.objectNumber=r(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+d+" 0 R"),n("/BaseFont /"+t.fontName),n("/Encoding /"+t.encoding),n("/DescendantFonts ["+h+" 0 R]"),n(">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]),n.events.push(["putFont",function(t){!function(t,n,r,o){if(t.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===t.encoding){t.metadata.Unicode.widths;for(var a=t.metadata.rawData,s="",l=0;l>"),n("endobj"),t.objectNumber=r(),l=0;l>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]);var o=function(e){var t,n,i=e.text||"",o=e.x,a=e.y,s=e.options||{},l=e.mutex||{},u=l.pdfEscape,c=l.activeFontKey,d=l.fonts,f=(l.activeFontSize,""),h=0,p="",m=d[n=c].encoding;if("Identity-H"!==d[n].encoding)return{text:i,x:o,y:a,options:s,mutex:l};for(p=i,n=c,"[object Array]"===Object.prototype.toString.call(i)&&(p=i[0]),h=0;hl-u.top-u.bottom&&r.pagesplit){var p=function(e,t,n,i,o){var a=document.createElement("canvas");a.height=o,a.width=i;var s=a.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,i,o),s.drawImage(e,t,n,i,o,0,0,i,o),a},m=(function(){for(var r,o,c=0,m=0,g={},A=!1;;){var v;if(m=0,g.top=0!==c?u.top:n,g.left=0!==c?u.left:t,A=(s-u.left-u.right)*a=e.width)break;this.addPage()}else b=[v=p(e,0,c,r,o),g.left,g.top,v.width/a,v.height/a,f,null,h],this.addImage.apply(this,b);if((c+=o)>=e.height)break;this.addPage()}i(d,c,null,b)}).bind(this);if("CANVAS"===e.nodeName){var g=new Image;g.onload=m,g.src=e.toDataURL("image/png"),e=g}else m()}else{var A=Math.random().toString(35),v=[e,t,n,d,c,f,A,h];this.addImage.apply(this,v),i(d,c,A,v)}}).bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if("undefined"==typeof rasterizeHTML)return null;var u="drawDocument";return"string"==typeof e&&(u=/^http/.test(e)?"drawURL":"drawHTML"),r.width=r.width||s*a,rasterizeHTML[u](e,void 0,r).then(function(e){r.onrendered(e.image)},function(e){i(null,e)})},function(e){var t,n,i,o,a,s,l,u,c,d,f,h,p,m,g,A,v,b,y,_;t=function(){return function(t){return e.prototype=t,new e};function e(){}}(),d=function(e){var t,n,r,i,o,a,s;for(n=0,r=e.length,t=void 0,a=i=!1;!i&&n!==r;)(t=e[n]=e[n].trimLeft())&&(i=!0),n++;for(n=r-1;r&&!a&&-1!==n;)(t=e[n]=e[n].trimRight())&&(a=!0),n--;for(o=/\s+$/g,s=!0,n=0;n!==r;)"\u2028"!=e[n]&&(t=e[n].replace(/\s+/g," "),s&&(t=t.trimLeft()),t&&(s=o.test(t)),e[n]=t),n++;return e},h=function(e){var t,n,r;for(t=void 0,n=(r=e.split(",")).shift();!t&&n;)t=i[n.trim().toLowerCase()],n=r.shift();return t},p=function(e){var t;return-1<(e="auto"===e?"0px":e).indexOf("em")&&!isNaN(Number(e.replace("em","")))&&(e=18.719*Number(e.replace("em",""))+"px"),-1i.pdf.margins_doc.top&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top,i.executeWatchFunctions(a));var x=c(a),T=i.x,D=12/i.pdf.internal.scaleFactor,I=(x["margin-left"]+x["padding-left"])*D,M=(x["margin-right"]+x["padding-right"])*D,L=(x["margin-top"]+x["padding-top"])*D,F=(x["margin-bottom"]+x["padding-bottom"])*D;void 0!==x.float&&"right"===x.float?T+=i.settings.width-a.width-M:T+=I,i.pdf.addImage(O,T,i.y+L,a.width,a.height),O=void 0,"right"===x.float||"left"===x.float?(i.watchFunctions.push((function(e,t,n,r){return i.y>=t?(i.x+=e,i.settings.width+=n,!0):!!(r&&1===r.nodeType&&!w[r.nodeName]&&i.x+r.width>i.pdf.margins_doc.left+i.pdf.margins_doc.width)&&(i.x+=e,i.y=t,i.settings.width+=n,!0)}).bind(this,"left"===x.float?-a.width-I-M:0,i.y+a.height+L+F,a.width)),i.watchFunctions.push((function(e,t,n){return!(i.y]*?>/gi,""),c="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(u=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",u.innerHTML='